RevisionLogCollection

RevisionLogCollection class

Represents all revision logs.

class RevisionLogCollection;

Methods

MethodDescription
get(number)Gets RevisionLog by index.
getDaysPreservingHistory()Gets and sets the number of days the spreadsheet application will keep the change history for this workbook.
setDaysPreservingHistory(number)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()Gets the number of elements contained in.

get(number)

Gets RevisionLog by index.

get(index: number) : RevisionLog;

Parameters:

ParameterTypeDescription
indexnumberThe index.

Returns

Returns RevisionLog object.

getDaysPreservingHistory()

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

getDaysPreservingHistory() : number;

setDaysPreservingHistory(number)

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()

Gets the number of elements contained in.

getCount() : number;