Helpo de Collabora Office 24.04
The following describes and lists some of the available add-in functions.
You will also find a description of the Collabora Office Calc add-in interface in the Help. In addition, important functions and their parameters are described in the Help for the Shared LibraryCollabora Office Calc add-in DLL.
Collabora Office contains examples for the add-in interface of Collabora Office Calc.
Kalkulas la nombron da tagoj de la monato en kiu la enigita dato troviÄas.
TAGOJENMONATO(dato)
Date is any date in the respective month of the desired year. The Date parameter must be a valid date according to the locale settings of Collabora Office.
=DAYSINMONTH(A1) returns 29 days if A1 contains 1968-02-17, a valid date for February 1968.
ORG.OPENOFFICE.DAYSINMONTH
Kalkulas la nombron da tagoj de la jaro en kiu la donita dato troviÄas.
TAGOJENJARO(dato)
Date is any date in the respective year. The Date parameter must be a valid date according to the locale settings of Collabora Office.
=DAYSINYEAR(A1) returns 366 days if A1 contains 1968-02-29, a valid date for the year 1968.
ORG.OPENOFFICE.DAYSINYEAR
Komputas Äu jaro estas superjaro. Se jes, la funkcio liveras la valoron 1 (TRUE); se ne, Äi liveras je 0 (FALSE).
ISLEAPYEAR(Date)
Date specifies whether a given date falls within a leap year. The Date parameter must be a valid date.
=ISLEAPYEAR(A1) returns 1, if A1 contains 1968-02-29, the valid date 29th of February 1968 in your locale setting.
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
Kalkulas la diferencon en monatoj inter du datoj.
MONTHS(StartDate; EndDate; Type)
StartDate is the first date
EndDate is the second date
Type calculates the type of difference. Possible values include 0 (interval) and 1 (in calendar months).
ORG.OPENOFFICE.MONTHS
Äifras Äenon movante la signojn laÅ 13 pozicioj en la alfabeto. Post la lasta litero la alfabeto rekomencas (rotacio). Aplikante la Äifran funkcion denove al la rezulta kodo, vi povas malÄifri la tekston.
ROT13(teksto)
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.
Kalkulas la diferencon en semajnoj inter du datoj.
WEEKS(StartDate; EndDate; 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
Kalkulas la nombron da semajnoj de la jaro en kiu la dato troviÄas. Kalkulas la semajnojn jene: semajnon kiu etendas en du jaroj aldonu al la jaro en kiu pliaj tagoj troviÄas.
SEMAJNOENJARO(dato)
Date is any date in the respective year. The Date parameter must be a valid date according to the locale settings of Collabora Office.
WEEKSINYEAR(A1) returns 53 if A1 contains 1970-02-17, a valid date for the year 1970.
ORG.OPENOFFICE.WEEKSINYEAR
Kalkulas la diferencon en jaroj inter du datoj.
YEARS(StartDate; EndDate; Type)
StartDate is the first date
EndDate is the second date
Type calculates the type of difference. Possible values are 0 (interval) and 1 (in calendar years).
ORG.OPENOFFICE.YEARS
Add-ins can also be implemented through the Collabora Office API.