RevisionLogCollection

RevisionLogCollection class

Represents all revision logs.

class RevisionLogCollection;

Properties

PropertyTypeDescription
daysPreservingHistorynumberGets and sets the number of days the spreadsheet application will keep the change history for this workbook.

Methods

MethodDescription
get(number)Gets RevisionLog by index.
getDaysPreservingHistory()@deprecated. Please use the ‘daysPreservingHistory’ property instead. Gets and sets the number of days the spreadsheet application will keep the change history for this workbook.
setDaysPreservingHistory(number)@deprecated. Please use the ‘daysPreservingHistory’ property instead. Gets and sets the number of days the spreadsheet application will keep the change history for this workbook.
highlightChanges(HighlightChangesOptions)Highlights changes of shared workbook.
getCount()@deprecated. Please use the ‘count’ property instead. Gets the number of elements contained in.
isNull()Checks whether the implementation object is null.

daysPreservingHistory

Gets and sets the number of days the spreadsheet application will keep the change history for this workbook.

daysPreservingHistory : number;

get(number)

Gets RevisionLog by index.

get(index: number) : RevisionLog;

Parameters:

ParameterTypeDescription
indexnumberThe index.

Returns

Returns RevisionLog object.

getDaysPreservingHistory()

@deprecated. Please use the ‘daysPreservingHistory’ property instead. Gets and sets the number of days the spreadsheet application will keep the change history for this workbook.

getDaysPreservingHistory() : number;

setDaysPreservingHistory(number)

@deprecated. Please use the ‘daysPreservingHistory’ property instead. Gets and sets the number of days the spreadsheet application will keep the change history for this workbook.

setDaysPreservingHistory(value: number) : void;

Parameters:

ParameterTypeDescription
valuenumberThe value to set.

highlightChanges(HighlightChangesOptions)

Highlights changes of shared workbook.

highlightChanges(options: HighlightChangesOptions) : void;

Parameters:

ParameterTypeDescription
optionsHighlightChangesOptionsSet the options for filtering which changes should be tracked.

getCount()

@deprecated. Please use the ‘count’ property instead. Gets the number of elements contained in.

getCount() : number;

isNull()

Checks whether the implementation object is null.

isNull() : boolean;