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.
highlightChanges(HighlightChangesOptions)Highlights changes of shared workbook.

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.

highlightChanges(HighlightChangesOptions)

Highlights changes of shared workbook.

highlightChanges(options: HighlightChangesOptions) : void;

Parameters:

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