Class RevisionPointer
java.lang.Object
com.independentsoft.office.spreadsheet.extensions.RevisionPointer
Represents the co-authoring revision pointer (
xr:revisionPtr element)
written by Excel 2016 and later into workbook.xml.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new revision pointer.RevisionPointer(InternalXMLStreamReader reader)Instantiates a new revision pointer. -
Method Summary
Modifier and TypeMethodDescriptionclone()Gets the document identifier (documentIdattribute).Gets the revision id of the last save (revIDLastSaveattribute).voidsetDocumentId(String documentId)Sets the document identifier (documentIdattribute).voidsetRevisionIdLastSave(String revisionIdLastSave)Sets the revision id of the last save (revIDLastSaveattribute).toString()
-
Field Details
-
NAMESPACE
The namespace of the revision pointer element.- See Also:
- Constant Field Values
-
-
Constructor Details
-
RevisionPointer
public RevisionPointer()Instantiates a new revision pointer. -
RevisionPointer
Instantiates a new revision pointer.Reads the attributes only and leaves the reader ON the start element, so the caller's loop advances past it.
- Parameters:
reader- the reader
-
-
Method Details
-
clone
-
toString
-
getRevisionIdLastSave
Gets the revision id of the last save (revIDLastSaveattribute).- Returns:
- the revision id of the last save
-
setRevisionIdLastSave
Sets the revision id of the last save (revIDLastSaveattribute).- Parameters:
revisionIdLastSave- the new revision id of the last save
-
getDocumentId
Gets the document identifier (documentIdattribute).- Returns:
- the document id
-
setDocumentId
Sets the document identifier (documentIdattribute).- Parameters:
documentId- the new document id
-