LibreOfficeDev 7.4 Hjelp
The following describes and lists some of the available add-in functions.
You will also find a description of the LibreOfficeDev Calc add-in interface in the Help. In addition, important functions and their parameters are described in the Help for the Shared LibraryLibreOfficeDev Calc add-in DLL.
LibreOfficeDev contains examples for the add-in interface of LibreOfficeDev Calc.
Calculates the number of days of the month in which the date entered occurs.
DAGER.I.MĂ NEDEN(Dato)
Dato angir om en gitt dato faller innunder et skuddÄr. Datoparameteren skal vÊre en gyldig dato ut fra lokalitetsinnstillingene i LibreOfficeDev
DAGER.I.MĂ NEDEN(A1) gir 29 dager hvis A1 inneholder 17/2/68, en gyldig dato i Februar 1968.
ORG.OPENOFFICE.DAYSINMONTH
Calculates the number of days of the year in which the date entered occurs.
DAGER.I.Ă RET(Dato)
Dato angir om en gitt dato faller innunder et skuddÄr. Datoparameteren skal vÊre en gyldig dato ut fra lokalitetsinnstillingene i LibreOfficeDev
DAGER.I.à RET(A1) gir 366 dager hvis A1 inneholder 29/2/68, en gyldig dato i Äret 1968.
ORG.OPENOFFICE.DAYSINYEAR
Bestemmer om et Är er et skuddÄr. Hvis ja vil funksjonen returnere verdien 1 (TRUE); hvis nei vil funksjonen returnere 0 (FALSE).
ER.SKUDDĂ R("Dato")
Date specifies whether a given date falls within a leap year. The Date parameter must be a valid date.
=ER.SKUDDĂ R(A1) gir 1, hvis A1 inneholder 29/2/1968, den gyldige datoen 29. februar 1968, i din lokalitetsinnstilling.
You may also use =ISLEAPYEAR(DATE(1968;2;29)) or =ISLEAPYEAR("1968-02-29") giving the date string in the ISO 8601 notation.
Never use =ISLEAPYEAR(2/29/68), because this would first evaluate 2 divided by 29 divided by 68, and then calculate the ISLEAPYEAR function from this small number as a serial date number.
ORG.OPENOFFICE.ISLEAPYEAR
Beregn forskjellen i mÄneder mellom to datoverdier.
MĂ NEDER(Startdato; Sluttdato; Type)
Startdato er den fĂžrste datoen
Sluttdato er den andre datoen
Type beregner typen av forskjell. Mulige verdier er 0 (intervall) og 1 (i kalendermÄneder).
ORG.OPENOFFICE.MONTHS
Krypterer en tekststreng ved Ä flytte alle tegnene 13 plasser i alfabetet. Etter siste bokstav i alfabete begynner den fra begynnelsen (rotasjon). Ved Ä bruke krypteringsfunksjonen pÄ den resultatet, kan du dekryptere tekststrengen igjen.
ROT13(Tekst)
Text is the character string to be encrypted. ROT13(ROT13(Text)) decrypts the code.
=ROT13("Gur Qbphzrag Sbhaqngvba jnf sbhaqrq va Frcgrzore 2010.") returns the string "The Document Foundation was founded in September 2010.". Notice how spaces, digits, and full stops are unaffected by ROT13.
ORG.OPENOFFICE.ROT13
Refer to the ROT13 wiki page for more details about this function.
Beregner antall uker i et Är med en bestemt dato. Antall uker er angitt som fÞlgene: en uke som gÄr over to Är blir lagt til i det Äret som den ukedagen forekommer flest ganger.
UKER.I.Ă RET(Dato)
Dato angir om en gitt dato faller innunder et skuddÄr. Datoparameteren skal vÊre en gyldig dato ut fra lokalitetsinnstillingene i LibreOfficeDev
DAGER.I.à RET(A1) gir 366 dager hvis A1 inneholder 29/2/68, en gyldig dato i Äret 1968.
ORG.OPENOFFICE.WEEKSINYEAR
Beregn forskjellen i uker mellom to datoer.
UKER(Startdato; Sluttdato; Type)
StartDate is the start date in the interval.
EndDate is the end date in the interval. The end date must be greater than the start date, or else an error is returned.
Type specifies the type of difference to be calculated. Possible values are 0 (time interval) or 1 (calendar weeks).
If Type = 0 the function will assume that 7 days is equivalent to one week without considering any specific day to mark the beginning of a week.
If Type = 1 the function will consider Monday to be the first day of the week. Therefore, except for the start date, each occurrence of a Monday in the interval is counted as an additional week.
This function considers Monday to be the first day of the week regardless of the current locale settings.
In the following examples, dates are passed as strings. However, they can also be stored in separate cells and be passed as references.
=WEEKS("01/12/2022","01/17/2022",0) returns 0 because Type was set to 0 and there are only 5 days in the interval.
=WEEKS("01/12/2022","01/19/2022",0) returns 1 because Type was set to 0 and there are 7 days in the interval.
=WEEKS("01/12/2022","01/17/2022",1) returns 1 because Type was set to 1 and the interval contains a Monday, since 01/12/2022 is a Wednesday and 01/17/2022 is a Monday.
=WEEKS("01/10/2022","01/15/2022",1) returns 0 because Type was set to 1 and the interval does not contain any Mondays, except for the start date.
ORG.OPENOFFICE.WEEKS
Beregn forskjellen i Är mellom to datoverdier.
Ă R(Startdato; Sluttdato; Type)
Startdato er den fĂžrste datoen
Sluttdato er den andre datoen
Type: Beregner typen av forskjell. Mulige verdier er 0 (interval) og 1 (i kalenderÄr).
ORG.OPENOFFICE.YEARS
Add-ins can also be implemented through the LibreOfficeDev API.