Skip to main content

CommentCollection

OfficeJS-flavored live collection: items is recomputed on every access. Not exported by name. You get it from the API.

CommentCollection properties

CommentCollection.at()

CommentCollection.getFirst()

CommentCollection.getFirstOrNullObject()

OfficeJS null-object variant; inspect isNullObject before other members.

CommentCollection.getItem()

OfficeJS spelling of at().

CommentCollection.getLast()

CommentCollection.getLastOrNullObject()

OfficeJS null-object variant; inspect isNullObject before other members.

CommentContentRange

Not exported by name. You get it from the API.

CommentContentRange properties

CommentContentRange.getTrackedChanges()

Extension: tracked changes in the comment’s own text (storyType “Comments” in Document.revisions).

CommentContentRange.insertText()

Growing the comment keeps the existing runs: the new text clones the rPr of the run it lands beside, and “Replace” seeds from the FIRST run it drops (Word’s behavior). A comment with no content run is simply rebuilt.

CommentContentRange.set()

CommentReplyCollection

OfficeJS-flavored live collection: items is recomputed on every access. Not exported by name. You get it from the API.

CommentReplyCollection properties

CommentReplyCollection.at()

CommentReplyCollection.getFirst()

CommentReplyCollection.getFirstOrNullObject()

OfficeJS null-object variant; inspect isNullObject before other members.

CommentReplyCollection.getItem()

OfficeJS spelling of at().

CommentReplyCollection.getLast()

CommentReplyCollection.getLastOrNullObject()

OfficeJS null-object variant; inspect isNullObject before other members.

RevisionCollection

OfficeJS-flavored live collection: items is recomputed on every access. Not exported by name. You get it from the API.

RevisionCollection properties

RevisionCollection.acceptAll()

RevisionCollection.at()

RevisionCollection.getFirst()

RevisionCollection.getFirstOrNullObject()

OfficeJS null-object variant; inspect isNullObject before other members.

RevisionCollection.getItem()

OfficeJS spelling of at().

RevisionCollection.getLast()

RevisionCollection.getLastOrNullObject()

OfficeJS null-object variant; inspect isNullObject before other members.

RevisionCollection.rejectAll()

TrackedChangeCollection

OfficeJS-flavored live collection: items is recomputed on every access. Not exported by name. You get it from the API.

TrackedChangeCollection properties

TrackedChangeCollection.acceptAll()

TrackedChangeCollection.at()

TrackedChangeCollection.getFirst()

TrackedChangeCollection.getFirstOrNullObject()

OfficeJS null-object variant; inspect isNullObject before other members.

TrackedChangeCollection.getItem()

OfficeJS spelling of at().

TrackedChangeCollection.getLast()

TrackedChangeCollection.getLastOrNullObject()

OfficeJS null-object variant; inspect isNullObject before other members.

TrackedChangeCollection.rejectAll()