Skip to main content
Click a category to expand it, then click an operation to see its input fields.
editor.doc.metadata.attach(...)
FieldTypeReqDescription
idstring
namespacestring
payloadany
targetSelectionTargetSelectionTarget
target.endSelectionPointSelectionPoint
target.kind"selection"Constant: "selection"
target.startSelectionPointSelectionPoint
Full reference →
editor.doc.metadata.list(...)
FieldTypeReqDescription
limitinteger
namespacestring
offsetinteger
withinSelectionTargetSelectionTarget
within.endSelectionPointSelectionPoint
within.kind"selection"Constant: "selection"
within.startSelectionPointSelectionPoint
Full reference →
editor.doc.metadata.get(...)
FieldTypeReqDescription
idstring
Full reference →
editor.doc.metadata.update(...)
FieldTypeReqDescription
idstring
payloadany
Full reference →
editor.doc.metadata.remove(...)
FieldTypeReqDescription
idstring
Full reference →
editor.doc.metadata.resolve(...)
FieldTypeReqDescription
idstring
Full reference →
editor.doc.blocks.list(...)
FieldTypeReqDescription
includeTextboolean
limitnumber
nodeTypes”paragraph” | “heading” | “listItem” | …[]
offsetnumber
Full reference →
editor.doc.blocks.delete(...)
FieldTypeReqDescription
targetDeletableBlockNodeAddressDeletableBlockNodeAddress
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType”paragraph” | “heading” | “listItem” | …"paragraph", "heading", "listItem", "table", "sdt"
Full reference →
editor.doc.blocks.deleteRange(...)
FieldTypeReqDescription
endBlockNodeAddressBlockNodeAddress
end.kind"block"Constant: "block"
end.nodeIdstring
end.nodeType”paragraph” | “heading” | “listItem” | …"paragraph", "heading", "listItem", "table", "tableRow", "tableCell", "tableOfContents", "image", "sdt"
startBlockNodeAddressBlockNodeAddress
start.kind"block"Constant: "block"
start.nodeIdstring
start.nodeType”paragraph” | “heading” | “listItem” | …"paragraph", "heading", "listItem", "table", "tableRow", "tableCell", "tableOfContents", "image", "sdt"
Full reference →
editor.doc.bookmarks.list(...)
FieldTypeReqDescription
inStoryLocatorStoryLocator
limitinteger
offsetinteger
Full reference →
editor.doc.bookmarks.get(...)
FieldTypeReqDescription
target{ kind: "entity", entityType: "bookmark" }
target.entityType"bookmark"Constant: "bookmark"
target.kind"entity"Constant: "entity"
target.namestring
target.storyStoryLocatorStoryLocator
Full reference →
editor.doc.bookmarks.insert(...)
FieldTypeReqDescription
atTextTargetTextTarget
at.kind"text"Constant: "text"
at.segmentsTextSegment[]
at.storyStoryLocatorStoryLocator
namestring
tableColumnobject
tableColumn.colFirstinteger
tableColumn.colLastinteger
Full reference →
editor.doc.bookmarks.rename(...)
FieldTypeReqDescription
newNamestring
target{ kind: "entity", entityType: "bookmark" }
target.entityType"bookmark"Constant: "bookmark"
target.kind"entity"Constant: "entity"
target.namestring
target.storyStoryLocatorStoryLocator
Full reference →
editor.doc.bookmarks.remove(...)
FieldTypeReqDescription
target{ kind: "entity", entityType: "bookmark" }
target.entityType"bookmark"Constant: "bookmark"
target.kind"entity"Constant: "entity"
target.namestring
target.storyStoryLocatorStoryLocator
Full reference →
editor.doc.capabilities(...)No input fields.Full reference →
editor.doc.captions.list(...)
FieldTypeReqDescription
labelstring
limitinteger
offsetinteger
Full reference →
editor.doc.captions.get(...)
FieldTypeReqDescription
target{ kind: "block", nodeType: "paragraph" }
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"paragraph"Constant: "paragraph"
Full reference →
editor.doc.captions.insert(...)
FieldTypeReqDescription
adjacentToBlockNodeAddressBlockNodeAddress
adjacentTo.kind"block"Constant: "block"
adjacentTo.nodeIdstring
adjacentTo.nodeType”paragraph” | “heading” | “listItem” | …"paragraph", "heading", "listItem", "table", "tableRow", "tableCell", "tableOfContents", "image", "sdt"
labelstring
position”above” | “below”"above", "below"
textstring
Full reference →
editor.doc.captions.update(...)
FieldTypeReqDescription
patchobject
patch.textstring
target{ kind: "block", nodeType: "paragraph" }
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"paragraph"Constant: "paragraph"
Full reference →
editor.doc.captions.remove(...)
FieldTypeReqDescription
target{ kind: "block", nodeType: "paragraph" }
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"paragraph"Constant: "paragraph"
Full reference →
editor.doc.captions.configure(...)
FieldTypeReqDescription
chapterStylestring
format”decimal” | “lowerRoman” | “upperRoman” | …"decimal", "lowerRoman", "upperRoman", "lowerLetter", "upperLetter"
includeChapterboolean
labelstring
Full reference →
editor.doc.citations.list(...)
FieldTypeReqDescription
limitinteger
offsetinteger
Full reference →
editor.doc.citations.get(...)
FieldTypeReqDescription
target{ kind: "inline", nodeType: "citation" }
target.anchorInlineAnchorInlineAnchor
target.anchor.endPositionPosition
target.anchor.end.blockIdstring
target.anchor.end.offsetinteger
target.anchor.startPositionPosition
target.anchor.start.blockIdstring
target.anchor.start.offsetinteger
target.kind"inline"Constant: "inline"
target.nodeType"citation"Constant: "citation"
Full reference →
editor.doc.citations.insert(...)
FieldTypeReqDescription
atTextTargetTextTarget
at.kind"text"Constant: "text"
at.segmentsTextSegment[]
at.storyStoryLocatorStoryLocator
sourceIdsstring[]
Full reference →
editor.doc.citations.update(...)
FieldTypeReqDescription
patchobject
patch.sourceIdsstring[]
target{ kind: "inline", nodeType: "citation" }
target.anchorInlineAnchorInlineAnchor
target.anchor.endPositionPosition
target.anchor.end.blockIdstring
target.anchor.end.offsetinteger
target.anchor.startPositionPosition
target.anchor.start.blockIdstring
target.anchor.start.offsetinteger
target.kind"inline"Constant: "inline"
target.nodeType"citation"Constant: "citation"
Full reference →
editor.doc.citations.remove(...)
FieldTypeReqDescription
target{ kind: "inline", nodeType: "citation" }
target.anchorInlineAnchorInlineAnchor
target.anchor.endPositionPosition
target.anchor.end.blockIdstring
target.anchor.end.offsetinteger
target.anchor.startPositionPosition
target.anchor.start.blockIdstring
target.anchor.start.offsetinteger
target.kind"inline"Constant: "inline"
target.nodeType"citation"Constant: "citation"
Full reference →
editor.doc.citations.sources.list(...)
FieldTypeReqDescription
limitinteger
offsetinteger
typestring
Full reference →
editor.doc.citations.sources.get(...)
FieldTypeReqDescription
target{ kind: "entity", entityType: "citationSource" }
target.entityType"citationSource"Constant: "citationSource"
target.kind"entity"Constant: "entity"
target.sourceIdstring
Full reference →
editor.doc.citations.sources.insert(...)
FieldTypeReqDescription
fieldsobject
fields.authorsobject[]
fields.citystring
fields.doistring
fields.editionstring
fields.editorobject[]
fields.issuestring
fields.journalNamestring
fields.mediumstring
fields.pagesstring
fields.publisherstring
fields.shortTitlestring
fields.standardNumberstring
fields.titlestring
fields.translatorobject[]
fields.urlstring
fields.volumestring
fields.yearstring
type”book” | “journalArticle” | “conferenceProceedings” | …"book", "journalArticle", "conferenceProceedings", "report", "website", "patent", "case", "statute", "thesis", "film", "interview", "misc"
Full reference →
editor.doc.citations.sources.update(...)
FieldTypeReqDescription
patchobject
patch.authorsobject[]
patch.citystring
patch.doistring
patch.editionstring
patch.editorobject[]
patch.issuestring
patch.journalNamestring
patch.mediumstring
patch.pagesstring
patch.publisherstring
patch.shortTitlestring
patch.standardNumberstring
patch.titlestring
patch.translatorobject[]
patch.urlstring
patch.volumestring
patch.yearstring
target{ kind: "entity", entityType: "citationSource" }
target.entityType"citationSource"Constant: "citationSource"
target.kind"entity"Constant: "entity"
target.sourceIdstring
Full reference →
editor.doc.citations.sources.remove(...)
FieldTypeReqDescription
target{ kind: "entity", entityType: "citationSource" }
target.entityType"citationSource"Constant: "citationSource"
target.kind"entity"Constant: "entity"
target.sourceIdstring
Full reference →
editor.doc.citations.bibliography.get(...)
FieldTypeReqDescription
target{ kind: "block", nodeType: "bibliography" }
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"bibliography"Constant: "bibliography"
Full reference →
editor.doc.citations.bibliography.insert(...)
FieldTypeReqDescription
at{ kind: "documentStart" } | { kind: "documentEnd" } | { kind: "before" } | { kind: "after" }One of: object(kind=“documentStart”), object(kind=“documentEnd”), object(kind=“before”), object(kind=“after”)
stylestring
Full reference →
editor.doc.citations.bibliography.rebuild(...)
FieldTypeReqDescription
target{ kind: "block", nodeType: "bibliography" }
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"bibliography"Constant: "bibliography"
Full reference →
editor.doc.citations.bibliography.configure(...)
FieldTypeReqDescription
stylestring
target{ kind: "block", nodeType: "bibliography" }
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"bibliography"Constant: "bibliography"
Full reference →
editor.doc.citations.bibliography.remove(...)
FieldTypeReqDescription
target{ kind: "block", nodeType: "bibliography" }
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"bibliography"Constant: "bibliography"
Full reference →
editor.doc.comments.create(...)
FieldTypeReqDescription
parentCommentIdstring
target{ kind: "text" } | { kind: "selection" } | { kind: "trackedChange" }One of: TextAddress, TextTarget, SelectionTarget, CommentTrackedChangeTarget
textstring
Full reference →
editor.doc.comments.patch(...)
FieldTypeReqDescription
commentIdstring
isInternalboolean
status”resolved” | “active”"resolved", "active"
target{ kind: "text" } | { kind: "selection" } | { kind: "trackedChange" }One of: TextAddress, TextTarget, SelectionTarget, CommentTrackedChangeTarget
textstring
Full reference →
editor.doc.comments.delete(...)
FieldTypeReqDescription
commentIdstring
Full reference →
editor.doc.comments.get(...)
FieldTypeReqDescription
commentIdstring
Full reference →
editor.doc.comments.list(...)
FieldTypeReqDescription
includeResolvedboolean
limitinteger
offsetinteger
Full reference →
editor.doc.create.contentControl(...)
FieldTypeReqDescription
aliasstring
atSelectionTargetSelectionTarget
at.endSelectionPointSelectionPoint
at.kind"selection"Constant: "selection"
at.startSelectionPointSelectionPoint
contentstring
controlTypestring
kind”block” | “inline”"block", "inline"
lockMode”unlocked” | “sdtLocked” | “contentLocked” | …"unlocked", "sdtLocked", "contentLocked", "sdtContentLocked"
tagstring
target{ nodeType: "sdt" }
target.kind”block” | “inline”"block", "inline"
target.nodeIdstring
target.nodeType"sdt"Constant: "sdt"
Full reference →
editor.doc.contentControls.list(...)
FieldTypeReqDescription
controlTypestring
limitinteger
offsetinteger
tagstring
Full reference →
editor.doc.contentControls.get(...)
FieldTypeReqDescription
target{ nodeType: "sdt" }
target.kind”block” | “inline”"block", "inline"
target.nodeIdstring
target.nodeType"sdt"Constant: "sdt"
Full reference →
editor.doc.contentControls.listInRange(...)
FieldTypeReqDescription
endBlockIdstring
limitinteger
offsetinteger
startBlockIdstring
Full reference →
editor.doc.contentControls.selectByTag(...)
FieldTypeReqDescription
limitinteger
offsetinteger
tagstring
Full reference →
editor.doc.contentControls.selectByTitle(...)
FieldTypeReqDescription
limitinteger
offsetinteger
titlestring
Full reference →
editor.doc.contentControls.listChildren(...)
FieldTypeReqDescription
limitinteger
offsetinteger
target{ nodeType: "sdt" }
target.kind”block” | “inline”"block", "inline"
target.nodeIdstring
target.nodeType"sdt"Constant: "sdt"
Full reference →
editor.doc.contentControls.getParent(...)
FieldTypeReqDescription
target{ nodeType: "sdt" }
target.kind”block” | “inline”"block", "inline"
target.nodeIdstring
target.nodeType"sdt"Constant: "sdt"
Full reference →
editor.doc.contentControls.wrap(...)
FieldTypeReqDescription
aliasstring
kind”block” | “inline”"block", "inline"
lockMode”unlocked” | “sdtLocked” | “contentLocked” | …"unlocked", "sdtLocked", "contentLocked", "sdtContentLocked"
tagstring
target{ nodeType: "sdt" }
target.kind”block” | “inline”"block", "inline"
target.nodeIdstring
target.nodeType"sdt"Constant: "sdt"
Full reference →
editor.doc.contentControls.unwrap(...)
FieldTypeReqDescription
target{ nodeType: "sdt" }
target.kind”block” | “inline”"block", "inline"
target.nodeIdstring
target.nodeType"sdt"Constant: "sdt"
Full reference →
editor.doc.contentControls.delete(...)
FieldTypeReqDescription
target{ nodeType: "sdt" }
target.kind”block” | “inline”"block", "inline"
target.nodeIdstring
target.nodeType"sdt"Constant: "sdt"
Full reference →
editor.doc.contentControls.copy(...)
FieldTypeReqDescription
destination{ nodeType: "sdt" }
destination.kind”block” | “inline”"block", "inline"
destination.nodeIdstring
destination.nodeType"sdt"Constant: "sdt"
target{ nodeType: "sdt" }
target.kind”block” | “inline”"block", "inline"
target.nodeIdstring
target.nodeType"sdt"Constant: "sdt"
Full reference →
editor.doc.contentControls.move(...)
FieldTypeReqDescription
destination{ nodeType: "sdt" }
destination.kind”block” | “inline”"block", "inline"
destination.nodeIdstring
destination.nodeType"sdt"Constant: "sdt"
target{ nodeType: "sdt" }
target.kind”block” | “inline”"block", "inline"
target.nodeIdstring
target.nodeType"sdt"Constant: "sdt"
Full reference →
editor.doc.contentControls.patch(...)
FieldTypeReqDescription
aliasany
appearance”boundingBox” | “tags” | “hidden”"boundingBox", "tags", "hidden"
colorstring
placeholderstring
showingPlaceholderboolean
tabIndexinteger
tagany
target{ nodeType: "sdt" }
target.kind”block” | “inline”"block", "inline"
target.nodeIdstring
target.nodeType"sdt"Constant: "sdt"
temporaryboolean
Full reference →
editor.doc.contentControls.setLockMode(...)
FieldTypeReqDescription
lockMode”unlocked” | “sdtLocked” | “contentLocked” | …"unlocked", "sdtLocked", "contentLocked", "sdtContentLocked"
target{ nodeType: "sdt" }
target.kind”block” | “inline”"block", "inline"
target.nodeIdstring
target.nodeType"sdt"Constant: "sdt"
Full reference →
editor.doc.contentControls.setType(...)
FieldTypeReqDescription
controlTypestring
target{ nodeType: "sdt" }
target.kind”block” | “inline”"block", "inline"
target.nodeIdstring
target.nodeType"sdt"Constant: "sdt"
Full reference →
editor.doc.contentControls.getContent(...)
FieldTypeReqDescription
target{ nodeType: "sdt" }
target.kind”block” | “inline”"block", "inline"
target.nodeIdstring
target.nodeType"sdt"Constant: "sdt"
Full reference →
editor.doc.contentControls.replaceContent(...)
FieldTypeReqDescription
contentstring
format”text” | “html”"text", "html"
target{ nodeType: "sdt" }
target.kind”block” | “inline”"block", "inline"
target.nodeIdstring
target.nodeType"sdt"Constant: "sdt"
Full reference →
editor.doc.contentControls.clearContent(...)
FieldTypeReqDescription
target{ nodeType: "sdt" }
target.kind”block” | “inline”"block", "inline"
target.nodeIdstring
target.nodeType"sdt"Constant: "sdt"
Full reference →
editor.doc.contentControls.appendContent(...)
FieldTypeReqDescription
contentstring
format”text” | “html”"text", "html"
target{ nodeType: "sdt" }
target.kind”block” | “inline”"block", "inline"
target.nodeIdstring
target.nodeType"sdt"Constant: "sdt"
Full reference →
editor.doc.contentControls.prependContent(...)
FieldTypeReqDescription
contentstring
format”text” | “html”"text", "html"
target{ nodeType: "sdt" }
target.kind”block” | “inline”"block", "inline"
target.nodeIdstring
target.nodeType"sdt"Constant: "sdt"
Full reference →
editor.doc.contentControls.insertBefore(...)
FieldTypeReqDescription
contentstring
format”text” | “html”"text", "html"
target{ nodeType: "sdt" }
target.kind”block” | “inline”"block", "inline"
target.nodeIdstring
target.nodeType"sdt"Constant: "sdt"
Full reference →
editor.doc.contentControls.insertAfter(...)
FieldTypeReqDescription
contentstring
format”text” | “html”"text", "html"
target{ nodeType: "sdt" }
target.kind”block” | “inline”"block", "inline"
target.nodeIdstring
target.nodeType"sdt"Constant: "sdt"
Full reference →
editor.doc.contentControls.getBinding(...)
FieldTypeReqDescription
target{ nodeType: "sdt" }
target.kind”block” | “inline”"block", "inline"
target.nodeIdstring
target.nodeType"sdt"Constant: "sdt"
Full reference →
editor.doc.contentControls.setBinding(...)
FieldTypeReqDescription
prefixMappingsstring
storeItemIdstring
target{ nodeType: "sdt" }
target.kind”block” | “inline”"block", "inline"
target.nodeIdstring
target.nodeType"sdt"Constant: "sdt"
xpathstring
Full reference →
editor.doc.contentControls.clearBinding(...)
FieldTypeReqDescription
target{ nodeType: "sdt" }
target.kind”block” | “inline”"block", "inline"
target.nodeIdstring
target.nodeType"sdt"Constant: "sdt"
Full reference →
editor.doc.contentControls.getRawProperties(...)
FieldTypeReqDescription
target{ nodeType: "sdt" }
target.kind”block” | “inline”"block", "inline"
target.nodeIdstring
target.nodeType"sdt"Constant: "sdt"
Full reference →
editor.doc.contentControls.patchRawProperties(...)
FieldTypeReqDescription
patchesobject[]
target{ nodeType: "sdt" }
target.kind”block” | “inline”"block", "inline"
target.nodeIdstring
target.nodeType"sdt"Constant: "sdt"
Full reference →
editor.doc.contentControls.validateWordCompatibility(...)
FieldTypeReqDescription
target{ nodeType: "sdt" }
target.kind”block” | “inline”"block", "inline"
target.nodeIdstring
target.nodeType"sdt"Constant: "sdt"
Full reference →
editor.doc.contentControls.normalizeWordCompatibility(...)
FieldTypeReqDescription
target{ nodeType: "sdt" }
target.kind”block” | “inline”"block", "inline"
target.nodeIdstring
target.nodeType"sdt"Constant: "sdt"
Full reference →
editor.doc.contentControls.normalizeTagPayload(...)
FieldTypeReqDescription
target{ nodeType: "sdt" }
target.kind”block” | “inline”"block", "inline"
target.nodeIdstring
target.nodeType"sdt"Constant: "sdt"
Full reference →
editor.doc.contentControls.text.setMultiline(...)
FieldTypeReqDescription
multilineboolean
target{ nodeType: "sdt" }
target.kind”block” | “inline”"block", "inline"
target.nodeIdstring
target.nodeType"sdt"Constant: "sdt"
Full reference →
editor.doc.contentControls.text.setValue(...)
FieldTypeReqDescription
target{ nodeType: "sdt" }
target.kind”block” | “inline”"block", "inline"
target.nodeIdstring
target.nodeType"sdt"Constant: "sdt"
valuestring
Full reference →
editor.doc.contentControls.text.clearValue(...)
FieldTypeReqDescription
target{ nodeType: "sdt" }
target.kind”block” | “inline”"block", "inline"
target.nodeIdstring
target.nodeType"sdt"Constant: "sdt"
Full reference →
editor.doc.contentControls.date.setValue(...)
FieldTypeReqDescription
target{ nodeType: "sdt" }
target.kind”block” | “inline”"block", "inline"
target.nodeIdstring
target.nodeType"sdt"Constant: "sdt"
valuestring
Full reference →
editor.doc.contentControls.date.clearValue(...)
FieldTypeReqDescription
target{ nodeType: "sdt" }
target.kind”block” | “inline”"block", "inline"
target.nodeIdstring
target.nodeType"sdt"Constant: "sdt"
Full reference →
editor.doc.contentControls.date.setDisplayFormat(...)
FieldTypeReqDescription
formatstring
target{ nodeType: "sdt" }
target.kind”block” | “inline”"block", "inline"
target.nodeIdstring
target.nodeType"sdt"Constant: "sdt"
Full reference →
editor.doc.contentControls.date.setDisplayLocale(...)
FieldTypeReqDescription
localestring
target{ nodeType: "sdt" }
target.kind”block” | “inline”"block", "inline"
target.nodeIdstring
target.nodeType"sdt"Constant: "sdt"
Full reference →
editor.doc.contentControls.date.setStorageFormat(...)
FieldTypeReqDescription
formatstring
target{ nodeType: "sdt" }
target.kind”block” | “inline”"block", "inline"
target.nodeIdstring
target.nodeType"sdt"Constant: "sdt"
Full reference →
editor.doc.contentControls.date.setCalendar(...)
FieldTypeReqDescription
calendarstring
target{ nodeType: "sdt" }
target.kind”block” | “inline”"block", "inline"
target.nodeIdstring
target.nodeType"sdt"Constant: "sdt"
Full reference →
editor.doc.contentControls.checkbox.getState(...)
FieldTypeReqDescription
target{ nodeType: "sdt" }
target.kind”block” | “inline”"block", "inline"
target.nodeIdstring
target.nodeType"sdt"Constant: "sdt"
Full reference →
editor.doc.contentControls.checkbox.setState(...)
FieldTypeReqDescription
checkedboolean
target{ nodeType: "sdt" }
target.kind”block” | “inline”"block", "inline"
target.nodeIdstring
target.nodeType"sdt"Constant: "sdt"
Full reference →
editor.doc.contentControls.checkbox.toggle(...)
FieldTypeReqDescription
target{ nodeType: "sdt" }
target.kind”block” | “inline”"block", "inline"
target.nodeIdstring
target.nodeType"sdt"Constant: "sdt"
Full reference →
editor.doc.contentControls.checkbox.setSymbolPair(...)
FieldTypeReqDescription
checkedSymbolobject
target{ nodeType: "sdt" }
target.kind”block” | “inline”"block", "inline"
target.nodeIdstring
target.nodeType"sdt"Constant: "sdt"
uncheckedSymbolobject
Full reference →
editor.doc.contentControls.choiceList.getItems(...)
FieldTypeReqDescription
target{ nodeType: "sdt" }
target.kind”block” | “inline”"block", "inline"
target.nodeIdstring
target.nodeType"sdt"Constant: "sdt"
Full reference →
editor.doc.contentControls.choiceList.setItems(...)
FieldTypeReqDescription
itemsobject[]
target{ nodeType: "sdt" }
target.kind”block” | “inline”"block", "inline"
target.nodeIdstring
target.nodeType"sdt"Constant: "sdt"
Full reference →
editor.doc.contentControls.choiceList.setSelected(...)
FieldTypeReqDescription
target{ nodeType: "sdt" }
target.kind”block” | “inline”"block", "inline"
target.nodeIdstring
target.nodeType"sdt"Constant: "sdt"
valuestring
Full reference →
editor.doc.contentControls.repeatingSection.listItems(...)
FieldTypeReqDescription
target{ nodeType: "sdt" }
target.kind”block” | “inline”"block", "inline"
target.nodeIdstring
target.nodeType"sdt"Constant: "sdt"
Full reference →
editor.doc.contentControls.repeatingSection.insertItemBefore(...)
FieldTypeReqDescription
indexinteger
target{ nodeType: "sdt" }
target.kind”block” | “inline”"block", "inline"
target.nodeIdstring
target.nodeType"sdt"Constant: "sdt"
Full reference →
editor.doc.contentControls.repeatingSection.insertItemAfter(...)
FieldTypeReqDescription
indexinteger
target{ nodeType: "sdt" }
target.kind”block” | “inline”"block", "inline"
target.nodeIdstring
target.nodeType"sdt"Constant: "sdt"
Full reference →
editor.doc.contentControls.repeatingSection.cloneItem(...)
FieldTypeReqDescription
indexinteger
target{ nodeType: "sdt" }
target.kind”block” | “inline”"block", "inline"
target.nodeIdstring
target.nodeType"sdt"Constant: "sdt"
Full reference →
editor.doc.contentControls.repeatingSection.deleteItem(...)
FieldTypeReqDescription
indexinteger
target{ nodeType: "sdt" }
target.kind”block” | “inline”"block", "inline"
target.nodeIdstring
target.nodeType"sdt"Constant: "sdt"
Full reference →
editor.doc.contentControls.repeatingSection.setAllowInsertDelete(...)
FieldTypeReqDescription
allowboolean
target{ nodeType: "sdt" }
target.kind”block” | “inline”"block", "inline"
target.nodeIdstring
target.nodeType"sdt"Constant: "sdt"
Full reference →
editor.doc.contentControls.group.wrap(...)
FieldTypeReqDescription
target{ nodeType: "sdt" }
target.kind”block” | “inline”"block", "inline"
target.nodeIdstring
target.nodeType"sdt"Constant: "sdt"
Full reference →
editor.doc.contentControls.group.ungroup(...)
FieldTypeReqDescription
target{ nodeType: "sdt" }
target.kind”block” | “inline”"block", "inline"
target.nodeIdstring
target.nodeType"sdt"Constant: "sdt"
Full reference →
editor.doc.get(...)
FieldTypeReqDescription
optionsobject
options.includeContextboolean
options.includeProvenanceboolean
options.includeResolvedboolean
Full reference →
editor.doc.find(...)
FieldTypeReqDescription
inStoryLocatorStoryLocator
limitinteger
offsetinteger
optionsobject
options.includeContextboolean
options.includeProvenanceboolean
options.includeResolvedboolean
select{ type: "text" } | { type: "node" }One of: object(type=“text”), object(type=“node”)
withinBlockNodeAddressBlockNodeAddress
within.kind"block"Constant: "block"
within.nodeIdstring
within.nodeType”paragraph” | “heading” | “listItem” | …"paragraph", "heading", "listItem", "table", "tableRow", "tableCell", "tableOfContents", "image", "sdt"
Full reference →
editor.doc.getNode(...)No input fields.Full reference →
editor.doc.getNodeById(...)
FieldTypeReqDescription
nodeIdstring
nodeType”paragraph” | “heading” | “listItem” | …"paragraph", "heading", "listItem", "table", "tableRow", "tableCell", "tableOfContents", "image", "sdt"
Full reference →
editor.doc.getText(...)
FieldTypeReqDescription
inStoryLocatorStoryLocator
Full reference →
editor.doc.getMarkdown(...)
FieldTypeReqDescription
inStoryLocatorStoryLocator
Full reference →
editor.doc.getHtml(...)
FieldTypeReqDescription
inStoryLocatorStoryLocator
unflattenListsboolean
Full reference →
editor.doc.markdownToFragment(...)
FieldTypeReqDescription
markdownstring
Full reference →
editor.doc.info(...)No input fields.Full reference →
editor.doc.extract(...)No input fields.Full reference →
editor.doc.clearContent(...)No input fields.Full reference →
editor.doc.insert(...)No input fields.Full reference →
editor.doc.replace(...)No input fields.Full reference →
editor.doc.delete(...)No input fields.Full reference →
editor.doc.create.paragraph(...)
FieldTypeReqDescription
at{ kind: "documentStart" } | { kind: "documentEnd" } | { kind: "before" } | { kind: "after" }One of: object(kind=“documentStart”), object(kind=“documentEnd”), object(kind=“before”), object(kind=“after”)
inStoryLocatorStoryLocator
textstring
Full reference →
editor.doc.create.heading(...)
FieldTypeReqDescription
at{ kind: "documentStart" } | { kind: "documentEnd" } | { kind: "before" } | { kind: "after" }One of: object(kind=“documentStart”), object(kind=“documentEnd”), object(kind=“before”), object(kind=“after”)
inStoryLocatorStoryLocator
levelinteger
textstring
Full reference →
editor.doc.create.sectionBreak(...)
FieldTypeReqDescription
at{ kind: "documentStart" } | { kind: "documentEnd" } | { kind: "before" } | { kind: "after" }One of: object(kind=“documentStart”), object(kind=“documentEnd”), object(kind=“before”), object(kind=“after”)
breakType”continuous” | “nextPage” | “evenPage” | …"continuous", "nextPage", "evenPage", "oddPage"
headerFooterMarginsobject
headerFooterMargins.footernumber
headerFooterMargins.headernumber
pageMarginsobject
pageMargins.bottomnumber
pageMargins.gutternumber
pageMargins.leftnumber
pageMargins.rightnumber
pageMargins.topnumber
Full reference →
editor.doc.create.table(...)
FieldTypeReqDescription
at{ kind: "documentStart" } | { kind: "documentEnd" } | { kind: "before" } | { kind: "after" }One of: object(kind=“documentStart”), object(kind=“documentEnd”), object(kind=“before”), object(kind=“after”), object(kind=“before”), object(kind=“after”)
columnsinteger
rowsinteger
Full reference →
editor.doc.create.tableOfContents(...)
FieldTypeReqDescription
at{ kind: "documentStart" } | { kind: "documentEnd" } | { kind: "before" } | { kind: "after" }One of: object(kind=“documentStart”), object(kind=“documentEnd”), object(kind=“before”), object(kind=“after”)
configobject
config.hideInWebViewboolean
config.hyperlinksboolean
config.includePageNumbersboolean
config.omitPageNumberLevelsobject
config.omitPageNumberLevels.frominteger
config.omitPageNumberLevels.tointeger
config.outlineLevelsobject
config.outlineLevels.frominteger
config.outlineLevels.tointeger
config.rightAlignPageNumbersboolean
config.separatorstring
config.tabLeader”none” | “dot” | “hyphen” | …"none", "dot", "hyphen", "underscore", "middleDot"
config.tcFieldIdentifierstring
config.tcFieldLevelsobject
config.tcFieldLevels.frominteger
config.tcFieldLevels.tointeger
config.useAppliedOutlineLevelboolean
Full reference →
editor.doc.create.image(...)
FieldTypeReqDescription
altstring
at{ kind: "documentStart" } | { kind: "documentEnd" } | { kind: "before" } | …One of: object(kind=“documentStart”), object(kind=“documentEnd”), object(kind=“before”), object(kind=“after”), object(kind=“inParagraph”)
inStoryLocatorStoryLocator
sizeobject
size.heightnumber
size.widthnumber
srcstring
titlestring
Full reference →
editor.doc.crossRefs.list(...)
FieldTypeReqDescription
limitinteger
offsetinteger
Full reference →
editor.doc.crossRefs.get(...)
FieldTypeReqDescription
target{ kind: "inline", nodeType: "crossRef" }
target.anchorInlineAnchorInlineAnchor
target.anchor.endPositionPosition
target.anchor.end.blockIdstring
target.anchor.end.offsetinteger
target.anchor.startPositionPosition
target.anchor.start.blockIdstring
target.anchor.start.offsetinteger
target.kind"inline"Constant: "inline"
target.nodeType"crossRef"Constant: "crossRef"
Full reference →
editor.doc.crossRefs.insert(...)
FieldTypeReqDescription
atTextTargetTextTarget
at.kind"text"Constant: "text"
at.segmentsTextSegment[]
at.storyStoryLocatorStoryLocator
display”content” | “pageNumber” | “noteNumber” | …"content", "pageNumber", "noteNumber", "labelAndNumber", "aboveBelow", "numberOnly", "numberFullContext", "styledContent", "styledPageNumber"
target{ kind: "bookmark" } | { kind: "heading" } | { kind: "note" } | …One of: object(kind=“bookmark”), object(kind=“heading”), object(kind=“note”), object(kind=“caption”), object(kind=“numberedItem”), object(kind=“styledParagraph”)
Full reference →
editor.doc.crossRefs.rebuild(...)
FieldTypeReqDescription
target{ kind: "inline", nodeType: "crossRef" }
target.anchorInlineAnchorInlineAnchor
target.anchor.endPositionPosition
target.anchor.end.blockIdstring
target.anchor.end.offsetinteger
target.anchor.startPositionPosition
target.anchor.start.blockIdstring
target.anchor.start.offsetinteger
target.kind"inline"Constant: "inline"
target.nodeType"crossRef"Constant: "crossRef"
Full reference →
editor.doc.crossRefs.remove(...)
FieldTypeReqDescription
target{ kind: "inline", nodeType: "crossRef" }
target.anchorInlineAnchorInlineAnchor
target.anchor.endPositionPosition
target.anchor.end.blockIdstring
target.anchor.end.offsetinteger
target.anchor.startPositionPosition
target.anchor.start.blockIdstring
target.anchor.start.offsetinteger
target.kind"inline"Constant: "inline"
target.nodeType"crossRef"Constant: "crossRef"
Full reference →
editor.doc.customXml.parts.list(...)
FieldTypeReqDescription
limitinteger
offsetinteger
rootNamespacestring
schemaRefstring
Full reference →
editor.doc.customXml.parts.get(...)
FieldTypeReqDescription
targetobjectOne of: object, object
Full reference →
editor.doc.customXml.parts.create(...)
FieldTypeReqDescription
contentstring
schemaRefsstring[]
Full reference →
editor.doc.customXml.parts.patch(...)
FieldTypeReqDescription
contentstring
schemaRefsstring[]
targetobjectOne of: object, object
Full reference →
editor.doc.customXml.parts.remove(...)
FieldTypeReqDescription
targetobjectOne of: object, object
Full reference →
editor.doc.diff.capture(...)No input fields.Full reference →
editor.doc.diff.compare(...)
FieldTypeReqDescription
targetSnapshotobject
targetSnapshot.coverage{ body: true }
targetSnapshot.coverage.bodytrueConstant: true
targetSnapshot.coverage.commentsboolean
targetSnapshot.coverage.headerFootersboolean
targetSnapshot.coverage.numberingboolean
targetSnapshot.coverage.stylesboolean
targetSnapshot.engine”super-editor”"super-editor"
targetSnapshot.fingerprintstring
targetSnapshot.payloadobject
targetSnapshot.version”sd-diff-snapshot/v1” | “sd-diff-snapshot/v2”"sd-diff-snapshot/v1", "sd-diff-snapshot/v2"
Full reference →
editor.doc.diff.apply(...)
FieldTypeReqDescription
diffobject
diff.baseFingerprintstring
diff.coverage{ body: true }
diff.coverage.bodytrueConstant: true
diff.coverage.commentsboolean
diff.coverage.headerFootersboolean
diff.coverage.numberingboolean
diff.coverage.stylesboolean
diff.engine”super-editor”"super-editor"
diff.payloadobject
diff.summaryobject
diff.summary.bodyobject
diff.summary.body.hasChangesboolean
diff.summary.changedComponents”body” | “comments” | “styles” | …[]
diff.summary.commentsobject
diff.summary.comments.hasChangesboolean
diff.summary.hasChangesboolean
diff.summary.headerFootersobject
diff.summary.headerFooters.hasChangesboolean
diff.summary.numberingobject
diff.summary.numbering.hasChangesboolean
diff.summary.partsobject
diff.summary.parts.hasChangesboolean
diff.summary.stylesobject
diff.summary.styles.hasChangesboolean
diff.targetFingerprintstring
diff.version”sd-diff-payload/v1” | “sd-diff-payload/v2”"sd-diff-payload/v1", "sd-diff-payload/v2"
Full reference →
editor.doc.fields.list(...)
FieldTypeReqDescription
limitinteger
offsetinteger
Full reference →
editor.doc.fields.get(...)
FieldTypeReqDescription
target{ kind: "field" }
target.blockIdstring
target.kind"field"Constant: "field"
target.nestingDepthinteger
target.occurrenceIndexinteger
Full reference →
editor.doc.fields.insert(...)
FieldTypeReqDescription
atTextTargetTextTarget
at.kind"text"Constant: "text"
at.segmentsTextSegment[]
at.storyStoryLocatorStoryLocator
instructionstring
mode"raw"Constant: "raw"
Full reference →
editor.doc.fields.rebuild(...)
FieldTypeReqDescription
target{ kind: "field" }
target.blockIdstring
target.kind"field"Constant: "field"
target.nestingDepthinteger
target.occurrenceIndexinteger
Full reference →
editor.doc.fields.remove(...)
FieldTypeReqDescription
mode"raw"Constant: "raw"
target{ kind: "field" }
target.blockIdstring
target.kind"field"Constant: "field"
target.nestingDepthinteger
target.occurrenceIndexinteger
Full reference →
editor.doc.footnotes.list(...)
FieldTypeReqDescription
limitinteger
offsetinteger
type”footnote” | “endnote”"footnote", "endnote"
Full reference →
editor.doc.footnotes.get(...)
FieldTypeReqDescription
target{ kind: "entity", entityType: "footnote" }
target.entityType"footnote"Constant: "footnote"
target.kind"entity"Constant: "entity"
target.noteIdstring
Full reference →
editor.doc.footnotes.insert(...)
FieldTypeReqDescription
atTextTargetTextTarget
at.kind"text"Constant: "text"
at.segmentsTextSegment[]
at.storyStoryLocatorStoryLocator
contentstring
type”footnote” | “endnote”"footnote", "endnote"
Full reference →
editor.doc.footnotes.update(...)
FieldTypeReqDescription
patchobject
patch.contentstring
target{ kind: "entity", entityType: "footnote" }
target.entityType"footnote"Constant: "footnote"
target.kind"entity"Constant: "entity"
target.noteIdstring
Full reference →
editor.doc.footnotes.remove(...)
FieldTypeReqDescription
target{ kind: "entity", entityType: "footnote" }
target.entityType"footnote"Constant: "footnote"
target.kind"entity"Constant: "entity"
target.noteIdstring
Full reference →
editor.doc.footnotes.configure(...)
FieldTypeReqDescription
numberingobject
numbering.format”decimal” | “lowerRoman” | “upperRoman” | …"decimal", "lowerRoman", "upperRoman", "lowerLetter", "upperLetter", "symbol"
numbering.position”pageBottom” | “beneathText” | “sectionEnd” | …"pageBottom", "beneathText", "sectionEnd", "documentEnd"
numbering.restartPolicy”continuous” | “eachSection” | “eachPage”"continuous", "eachSection", "eachPage"
numbering.startinteger
scope{ kind: "document" } | { kind: "section" }One of: object(kind=“document”), object(kind=“section”)
type”footnote” | “endnote”"footnote", "endnote"
Full reference →
editor.doc.formatRange(...)No input fields.Full reference →
editor.doc.format.apply(...)No input fields.Full reference →
editor.doc.format.bold(...)No input fields.Full reference →
editor.doc.format.italic(...)No input fields.Full reference →
editor.doc.format.strike(...)No input fields.Full reference →
editor.doc.format.underline(...)No input fields.Full reference →
editor.doc.format.highlight(...)No input fields.Full reference →
editor.doc.format.color(...)No input fields.Full reference →
editor.doc.format.fontSize(...)No input fields.Full reference →
editor.doc.format.fontFamily(...)No input fields.Full reference →
editor.doc.format.letterSpacing(...)No input fields.Full reference →
editor.doc.format.vertAlign(...)No input fields.Full reference →
editor.doc.format.position(...)No input fields.Full reference →
editor.doc.format.dstrike(...)No input fields.Full reference →
editor.doc.format.smallCaps(...)No input fields.Full reference →
editor.doc.format.caps(...)No input fields.Full reference →
editor.doc.format.shading(...)No input fields.Full reference →
editor.doc.format.border(...)No input fields.Full reference →
editor.doc.format.outline(...)No input fields.Full reference →
editor.doc.format.shadow(...)No input fields.Full reference →
editor.doc.format.emboss(...)No input fields.Full reference →
editor.doc.format.imprint(...)No input fields.Full reference →
editor.doc.format.charScale(...)No input fields.Full reference →
editor.doc.format.kerning(...)No input fields.Full reference →
editor.doc.format.vanish(...)No input fields.Full reference →
editor.doc.format.webHidden(...)No input fields.Full reference →
editor.doc.format.specVanish(...)No input fields.Full reference →
editor.doc.format.rtl(...)No input fields.Full reference →
editor.doc.format.cs(...)No input fields.Full reference →
editor.doc.format.bCs(...)No input fields.Full reference →
editor.doc.format.iCs(...)No input fields.Full reference →
editor.doc.format.eastAsianLayout(...)No input fields.Full reference →
editor.doc.format.em(...)No input fields.Full reference →
editor.doc.format.fitText(...)No input fields.Full reference →
editor.doc.format.snapToGrid(...)No input fields.Full reference →
editor.doc.format.lang(...)No input fields.Full reference →
editor.doc.format.oMath(...)No input fields.Full reference →
editor.doc.format.rStyle(...)No input fields.Full reference →
editor.doc.format.rFonts(...)No input fields.Full reference →
editor.doc.format.fontSizeCs(...)No input fields.Full reference →
editor.doc.format.ligatures(...)No input fields.Full reference →
editor.doc.format.numForm(...)No input fields.Full reference →
editor.doc.format.numSpacing(...)No input fields.Full reference →
editor.doc.format.stylisticSets(...)No input fields.Full reference →
editor.doc.format.contextualAlternates(...)No input fields.Full reference →
editor.doc.headerFooters.list(...)
FieldTypeReqDescription
kind”header” | “footer”"header", "footer"
limitinteger
offsetinteger
sectionSectionAddressSectionAddress
section.kind"section"Constant: "section"
section.sectionIdstring
Full reference →
editor.doc.headerFooters.get(...)
FieldTypeReqDescription
target{ kind: "headerFooterSlot" }
target.headerFooterKind”header” | “footer”"header", "footer"
target.kind"headerFooterSlot"Constant: "headerFooterSlot"
target.sectionSectionAddressSectionAddress
target.section.kind"section"Constant: "section"
target.section.sectionIdstring
target.variant”default” | “first” | “even”"default", "first", "even"
Full reference →
editor.doc.headerFooters.resolve(...)
FieldTypeReqDescription
target{ kind: "headerFooterSlot" }
target.headerFooterKind”header” | “footer”"header", "footer"
target.kind"headerFooterSlot"Constant: "headerFooterSlot"
target.sectionSectionAddressSectionAddress
target.section.kind"section"Constant: "section"
target.section.sectionIdstring
target.variant”default” | “first” | “even”"default", "first", "even"
Full reference →
editor.doc.headerFooters.refs.set(...)
FieldTypeReqDescription
refIdstring
target{ kind: "headerFooterSlot" }
target.headerFooterKind”header” | “footer”"header", "footer"
target.kind"headerFooterSlot"Constant: "headerFooterSlot"
target.sectionSectionAddressSectionAddress
target.section.kind"section"Constant: "section"
target.section.sectionIdstring
target.variant”default” | “first” | “even”"default", "first", "even"
Full reference →
editor.doc.headerFooters.refs.clear(...)
FieldTypeReqDescription
target{ kind: "headerFooterSlot" }
target.headerFooterKind”header” | “footer”"header", "footer"
target.kind"headerFooterSlot"Constant: "headerFooterSlot"
target.sectionSectionAddressSectionAddress
target.section.kind"section"Constant: "section"
target.section.sectionIdstring
target.variant”default” | “first” | “even”"default", "first", "even"
Full reference →
editor.doc.headerFooters.refs.setLinkedToPrevious(...)
FieldTypeReqDescription
linkedboolean
target{ kind: "headerFooterSlot" }
target.headerFooterKind”header” | “footer”"header", "footer"
target.kind"headerFooterSlot"Constant: "headerFooterSlot"
target.sectionSectionAddressSectionAddress
target.section.kind"section"Constant: "section"
target.section.sectionIdstring
target.variant”default” | “first” | “even”"default", "first", "even"
Full reference →
editor.doc.headerFooters.parts.list(...)
FieldTypeReqDescription
kind”header” | “footer”"header", "footer"
limitinteger
offsetinteger
Full reference →
editor.doc.headerFooters.parts.create(...)
FieldTypeReqDescription
kind”header” | “footer”"header", "footer"
sourceRefIdstring
Full reference →
editor.doc.headerFooters.parts.delete(...)
FieldTypeReqDescription
target{ kind: "headerFooterPart" }
target.kind"headerFooterPart"Constant: "headerFooterPart"
target.refIdstring
Full reference →
editor.doc.history.get(...)No input fields.Full reference →
editor.doc.history.undo(...)No input fields.Full reference →
editor.doc.history.redo(...)No input fields.Full reference →
editor.doc.images.list(...)
FieldTypeReqDescription
limitinteger
offsetinteger
Full reference →
editor.doc.images.get(...)
FieldTypeReqDescription
imageIdstring
Full reference →
editor.doc.images.delete(...)
FieldTypeReqDescription
imageIdstring
Full reference →
editor.doc.images.move(...)
FieldTypeReqDescription
imageIdstring
to{ kind: "documentStart" } | { kind: "documentEnd" } | { kind: "before" } | …One of: object(kind=“documentStart”), object(kind=“documentEnd”), object(kind=“before”), object(kind=“after”), object(kind=“inParagraph”)
Full reference →
editor.doc.images.convertToInline(...)
FieldTypeReqDescription
imageIdstring
Full reference →
editor.doc.images.convertToFloating(...)
FieldTypeReqDescription
imageIdstring
Full reference →
editor.doc.images.setSize(...)
FieldTypeReqDescription
imageIdstring
sizeobject
size.heightnumber
size.unit”px” | “pt” | “twip”"px", "pt", "twip"
size.widthnumber
Full reference →
editor.doc.images.setWrapType(...)
FieldTypeReqDescription
imageIdstring
type”None” | “Square” | “Through” | …"None", "Square", "Through", "Tight", "TopAndBottom", "Inline"
Full reference →
editor.doc.images.setWrapSide(...)
FieldTypeReqDescription
imageIdstring
side”bothSides” | “left” | “right” | …"bothSides", "left", "right", "largest"
Full reference →
editor.doc.images.setWrapDistances(...)
FieldTypeReqDescription
distancesobject
distances.distBottomnumber
distances.distLeftnumber
distances.distRightnumber
distances.distTopnumber
imageIdstring
Full reference →
editor.doc.images.setPosition(...)
FieldTypeReqDescription
imageIdstring
positionobject
position.alignHstring
position.alignVstring
position.hRelativeFromstring
position.marginOffsetobject
position.marginOffset.horizontalnumber
position.marginOffset.topnumber
position.vRelativeFromstring
Full reference →
editor.doc.images.setAnchorOptions(...)
FieldTypeReqDescription
imageIdstring
optionsobject
options.allowOverlapboolean
options.behindDocboolean
options.layoutInCellboolean
options.lockAnchorboolean
options.simplePosboolean
Full reference →
editor.doc.images.setZOrder(...)
FieldTypeReqDescription
imageIdstring
zOrderobject
zOrder.relativeHeightinteger
Full reference →
editor.doc.images.scale(...)
FieldTypeReqDescription
factornumber
imageIdstring
Full reference →
editor.doc.images.setLockAspectRatio(...)
FieldTypeReqDescription
imageIdstring
lockedboolean
Full reference →
editor.doc.images.rotate(...)
FieldTypeReqDescription
anglenumber
imageIdstring
Full reference →
editor.doc.images.flip(...)
FieldTypeReqDescription
horizontalboolean
imageIdstring
verticalboolean
Full reference →
editor.doc.images.crop(...)
FieldTypeReqDescription
cropobject
crop.bottomnumber
crop.leftnumber
crop.rightnumber
crop.topnumber
imageIdstring
Full reference →
editor.doc.images.resetCrop(...)
FieldTypeReqDescription
imageIdstring
Full reference →
editor.doc.images.replaceSource(...)
FieldTypeReqDescription
imageIdstring
resetSizeboolean
srcstring
Full reference →
editor.doc.images.setAltText(...)
FieldTypeReqDescription
descriptionstring
imageIdstring
Full reference →
editor.doc.images.setDecorative(...)
FieldTypeReqDescription
decorativeboolean
imageIdstring
Full reference →
editor.doc.images.setName(...)
FieldTypeReqDescription
imageIdstring
namestring
Full reference →
editor.doc.images.insertCaption(...)
FieldTypeReqDescription
imageIdstring
textstring
Full reference →
editor.doc.images.updateCaption(...)
FieldTypeReqDescription
imageIdstring
textstring
Full reference →
editor.doc.images.removeCaption(...)
FieldTypeReqDescription
imageIdstring
Full reference →
editor.doc.index.list(...)
FieldTypeReqDescription
limitinteger
offsetinteger
Full reference →
editor.doc.index.get(...)
FieldTypeReqDescription
target{ kind: "block", nodeType: "index" }
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"index"Constant: "index"
Full reference →
editor.doc.index.insert(...)
FieldTypeReqDescription
at{ kind: "documentStart" } | { kind: "documentEnd" } | { kind: "before" } | { kind: "after" }One of: object(kind=“documentStart”), object(kind=“documentEnd”), object(kind=“before”), object(kind=“after”)
configobject
config.accentedSortingboolean
config.columnsinteger
config.entryPageSeparatorstring
config.entryTypeFilterstring
config.headingSeparatorstring
config.letterRangeobject
config.letterRange.fromstring
config.letterRange.tostring
config.pageRangeBookmarkstring
config.pageRangeSeparatorstring
config.runInboolean
config.sequenceIdstring
Full reference →
editor.doc.index.configure(...)
FieldTypeReqDescription
patchobject
patch.accentedSortingboolean
patch.columnsinteger
patch.entryPageSeparatorstring
patch.entryTypeFilterstring
patch.headingSeparatorstring
patch.letterRangeobject
patch.letterRange.fromstring
patch.letterRange.tostring
patch.pageRangeBookmarkstring
patch.pageRangeSeparatorstring
patch.runInboolean
patch.sequenceIdstring
target{ kind: "block", nodeType: "index" }
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"index"Constant: "index"
Full reference →
editor.doc.index.rebuild(...)
FieldTypeReqDescription
target{ kind: "block", nodeType: "index" }
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"index"Constant: "index"
Full reference →
editor.doc.index.remove(...)
FieldTypeReqDescription
target{ kind: "block", nodeType: "index" }
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"index"Constant: "index"
Full reference →
editor.doc.index.entries.list(...)
FieldTypeReqDescription
entryTypestring
limitinteger
offsetinteger
Full reference →
editor.doc.index.entries.get(...)
FieldTypeReqDescription
target{ kind: "inline", nodeType: "indexEntry" }
target.anchorInlineAnchorInlineAnchor
target.anchor.endPositionPosition
target.anchor.end.blockIdstring
target.anchor.end.offsetinteger
target.anchor.startPositionPosition
target.anchor.start.blockIdstring
target.anchor.start.offsetinteger
target.kind"inline"Constant: "inline"
target.nodeType"indexEntry"Constant: "indexEntry"
Full reference →
editor.doc.index.entries.insert(...)
FieldTypeReqDescription
atTextTargetTextTarget
at.kind"text"Constant: "text"
at.segmentsTextSegment[]
at.storyStoryLocatorStoryLocator
entryobject
entry.boldboolean
entry.crossReferencestring
entry.entryTypestring
entry.italicboolean
entry.pageRangeBookmarkstring
entry.subEntrystring
entry.textstring
entry.yomistring
Full reference →
editor.doc.index.entries.update(...)
FieldTypeReqDescription
patchobject
patch.boldboolean
patch.crossReferencestring
patch.entryTypestring
patch.italicboolean
patch.pageRangeBookmarkstring
patch.subEntrystring
patch.textstring
patch.yomistring
target{ kind: "inline", nodeType: "indexEntry" }
target.anchorInlineAnchorInlineAnchor
target.anchor.endPositionPosition
target.anchor.end.blockIdstring
target.anchor.end.offsetinteger
target.anchor.startPositionPosition
target.anchor.start.blockIdstring
target.anchor.start.offsetinteger
target.kind"inline"Constant: "inline"
target.nodeType"indexEntry"Constant: "indexEntry"
Full reference →
editor.doc.index.entries.remove(...)
FieldTypeReqDescription
target{ kind: "inline", nodeType: "indexEntry" }
target.anchorInlineAnchorInlineAnchor
target.anchor.endPositionPosition
target.anchor.end.blockIdstring
target.anchor.end.offsetinteger
target.anchor.startPositionPosition
target.anchor.start.blockIdstring
target.anchor.start.offsetinteger
target.kind"inline"Constant: "inline"
target.nodeType"indexEntry"Constant: "indexEntry"
Full reference →
editor.doc.lists.list(...)
FieldTypeReqDescription
kind”ordered” | “bullet”"ordered", "bullet"
levelinteger
limitinteger
offsetinteger
ordinalinteger
withinBlockNodeAddressBlockNodeAddress
within.kind"block"Constant: "block"
within.nodeIdstring
within.nodeType”paragraph” | “heading” | “listItem” | …"paragraph", "heading", "listItem", "table", "tableRow", "tableCell", "tableOfContents", "image", "sdt"
Full reference →
editor.doc.lists.get(...)
FieldTypeReqDescription
addressListItemAddressListItemAddress
address.kind"block"Constant: "block"
address.nodeIdstring
address.nodeType"listItem"Constant: "listItem"
Full reference →
editor.doc.lists.insert(...)
FieldTypeReqDescription
position”before” | “after”"before", "after"
targetListItemAddressListItemAddress
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"listItem"Constant: "listItem"
textstring
Full reference →
editor.doc.lists.create(...)No input fields.Full reference →
editor.doc.lists.attach(...)
FieldTypeReqDescription
attachToListItemAddressListItemAddress
attachTo.kind"block"Constant: "block"
attachTo.nodeIdstring
attachTo.nodeType"listItem"Constant: "listItem"
levelinteger
targetBlockAddressOrRangeBlockAddressOrRange
Full reference →
editor.doc.lists.detach(...)
FieldTypeReqDescription
targetListItemAddressListItemAddress
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"listItem"Constant: "listItem"
Full reference →
editor.doc.lists.delete(...)
FieldTypeReqDescription
targetListItemAddressListItemAddress
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"listItem"Constant: "listItem"
Full reference →
editor.doc.lists.indent(...)
FieldTypeReqDescription
targetListItemAddressListItemAddress
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"listItem"Constant: "listItem"
Full reference →
editor.doc.lists.outdent(...)
FieldTypeReqDescription
targetListItemAddressListItemAddress
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"listItem"Constant: "listItem"
Full reference →
editor.doc.lists.join(...)
FieldTypeReqDescription
direction”withPrevious” | “withNext”"withPrevious", "withNext"
targetListItemAddressListItemAddress
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"listItem"Constant: "listItem"
Full reference →
editor.doc.lists.canJoin(...)
FieldTypeReqDescription
direction”withPrevious” | “withNext”"withPrevious", "withNext"
targetListItemAddressListItemAddress
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"listItem"Constant: "listItem"
Full reference →
editor.doc.lists.separate(...)
FieldTypeReqDescription
copyOverridesboolean
targetListItemAddressListItemAddress
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"listItem"Constant: "listItem"
Full reference →
editor.doc.lists.merge(...)
FieldTypeReqDescription
direction”withPrevious” | “withNext”"withPrevious", "withNext"
targetListItemAddressListItemAddress
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"listItem"Constant: "listItem"
Full reference →
editor.doc.lists.split(...)
FieldTypeReqDescription
restartNumberingboolean
targetListItemAddressListItemAddress
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"listItem"Constant: "listItem"
Full reference →
editor.doc.lists.setLevel(...)
FieldTypeReqDescription
levelinteger
targetListItemAddressListItemAddress
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"listItem"Constant: "listItem"
Full reference →
editor.doc.lists.setValue(...)
FieldTypeReqDescription
targetListItemAddressListItemAddress
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"listItem"Constant: "listItem"
valueinteger | null
Full reference →
editor.doc.lists.continuePrevious(...)
FieldTypeReqDescription
targetListItemAddressListItemAddress
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"listItem"Constant: "listItem"
Full reference →
editor.doc.lists.canContinuePrevious(...)
FieldTypeReqDescription
targetListItemAddressListItemAddress
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"listItem"Constant: "listItem"
Full reference →
editor.doc.lists.setLevelRestart(...)
FieldTypeReqDescription
levelinteger
restartAfterLevelinteger | null
scope”definition” | “instance”"definition", "instance"
targetListItemAddressListItemAddress
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"listItem"Constant: "listItem"
Full reference →
editor.doc.lists.convertToText(...)
FieldTypeReqDescription
includeMarkerboolean
targetListItemAddressListItemAddress
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"listItem"Constant: "listItem"
Full reference →
editor.doc.lists.applyTemplate(...)
FieldTypeReqDescription
levelsinteger[]
targetListItemAddressListItemAddress
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"listItem"Constant: "listItem"
template{ version: 1 }
template.levelsobject[]
template.version1Constant: 1
Full reference →
editor.doc.lists.applyPreset(...)
FieldTypeReqDescription
levelsinteger[]
preset”decimal” | “decimalParenthesis” | “lowerLetter” | …"decimal", "decimalParenthesis", "lowerLetter", "upperLetter", "lowerRoman", "upperRoman", "disc", "circle", "square", "dash"
targetListItemAddressListItemAddress
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"listItem"Constant: "listItem"
Full reference →
editor.doc.lists.setType(...)
FieldTypeReqDescription
continuity”preserve” | “none”"preserve", "none"
kind”ordered” | “bullet”"ordered", "bullet"
targetListItemAddressListItemAddress
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"listItem"Constant: "listItem"
Full reference →
editor.doc.lists.captureTemplate(...)
FieldTypeReqDescription
levelsinteger[]
targetListItemAddressListItemAddress
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"listItem"Constant: "listItem"
Full reference →
editor.doc.lists.setLevelNumbering(...)
FieldTypeReqDescription
levelinteger
lvlTextstring
numFmtstring
startinteger
targetListItemAddressListItemAddress
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"listItem"Constant: "listItem"
Full reference →
editor.doc.lists.setLevelBullet(...)
FieldTypeReqDescription
levelinteger
markerTextstring
targetListItemAddressListItemAddress
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"listItem"Constant: "listItem"
Full reference →
editor.doc.lists.setLevelPictureBullet(...)
FieldTypeReqDescription
levelinteger
pictureBulletIdinteger
targetListItemAddressListItemAddress
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"listItem"Constant: "listItem"
Full reference →
editor.doc.lists.setLevelAlignment(...)
FieldTypeReqDescription
alignment”left” | “center” | “right”"left", "center", "right"
levelinteger
targetListItemAddressListItemAddress
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"listItem"Constant: "listItem"
Full reference →
editor.doc.lists.setLevelIndents(...)
FieldTypeReqDescription
firstLineinteger
hanginginteger
leftinteger
levelinteger
targetListItemAddressListItemAddress
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"listItem"Constant: "listItem"
Full reference →
editor.doc.lists.setLevelTrailingCharacter(...)
FieldTypeReqDescription
levelinteger
targetListItemAddressListItemAddress
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"listItem"Constant: "listItem"
trailingCharacter”tab” | “space” | “nothing”"tab", "space", "nothing"
Full reference →
editor.doc.lists.setLevelMarkerFont(...)
FieldTypeReqDescription
fontFamilystring
levelinteger
targetListItemAddressListItemAddress
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"listItem"Constant: "listItem"
Full reference →
editor.doc.lists.clearLevelOverrides(...)
FieldTypeReqDescription
levelinteger
targetListItemAddressListItemAddress
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"listItem"Constant: "listItem"
Full reference →
editor.doc.lists.getStyle(...)
FieldTypeReqDescription
levelsinteger[]
targetListItemAddressListItemAddress
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"listItem"Constant: "listItem"
Full reference →
editor.doc.lists.applyStyle(...)
FieldTypeReqDescription
levelsinteger[]
style{ version: 1 }
style.levelsobject[]
style.version1Constant: 1
targetListItemAddressListItemAddress
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"listItem"Constant: "listItem"
Full reference →
editor.doc.lists.restartAt(...)
FieldTypeReqDescription
startAtinteger
targetListItemAddressListItemAddress
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"listItem"Constant: "listItem"
Full reference →
editor.doc.lists.setLevelNumberStyle(...)
FieldTypeReqDescription
levelinteger
numberStylestring
targetListItemAddressListItemAddress
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"listItem"Constant: "listItem"
Full reference →
editor.doc.lists.setLevelText(...)
FieldTypeReqDescription
levelinteger
targetListItemAddressListItemAddress
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"listItem"Constant: "listItem"
textstring
Full reference →
editor.doc.lists.setLevelStart(...)
FieldTypeReqDescription
levelinteger
startAtinteger
targetListItemAddressListItemAddress
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"listItem"Constant: "listItem"
Full reference →
editor.doc.lists.setLevelLayout(...)
FieldTypeReqDescription
layoutobject
layout.alignedAtinteger
layout.alignment”left” | “center” | “right”"left", "center", "right"
layout.followCharacter”tab” | “space” | “nothing”"tab", "space", "nothing"
layout.tabStopAtinteger | null
layout.textIndentAtinteger
levelinteger
targetListItemAddressListItemAddress
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"listItem"Constant: "listItem"
Full reference →
editor.doc.mutations.preview(...)
FieldTypeReqDescription
atomictrueConstant: true
changeMode”direct” | “tracked”"direct", "tracked"
expectedRevisionstring
inStoryLocatorStoryLocator
steps{ op: "text.rewrite" } | { op: "text.insert" } | { op: "text.delete" } | …[]
Full reference →
editor.doc.mutations.apply(...)
FieldTypeReqDescription
atomictrueConstant: true
changeMode”direct” | “tracked”"direct", "tracked"
expectedRevisionstring
inStoryLocatorStoryLocator
steps{ op: "text.rewrite" } | { op: "text.insert" } | { op: "text.delete" } | …[]
Full reference →
editor.doc.format.paragraph.resetDirectFormatting(...)
FieldTypeReqDescription
target{ kind: "block", nodeType: "paragraph" } | { kind: "block", nodeType: "heading" } | { kind: "block", nodeType: "listItem" }One of: ParagraphAddress, HeadingAddress, ListItemAddress
Full reference →
editor.doc.format.paragraph.setAlignment(...)
FieldTypeReqDescription
alignment”left” | “center” | “right” | …"left", "center", "right", "justify"
target{ kind: "block", nodeType: "paragraph" } | { kind: "block", nodeType: "heading" } | { kind: "block", nodeType: "listItem" }One of: ParagraphAddress, HeadingAddress, ListItemAddress
Full reference →
editor.doc.format.paragraph.clearAlignment(...)
FieldTypeReqDescription
target{ kind: "block", nodeType: "paragraph" } | { kind: "block", nodeType: "heading" } | { kind: "block", nodeType: "listItem" }One of: ParagraphAddress, HeadingAddress, ListItemAddress
Full reference →
editor.doc.format.paragraph.setIndentation(...)
FieldTypeReqDescription
firstLineinteger
hanginginteger
leftinteger
rightinteger
target{ kind: "block", nodeType: "paragraph" } | { kind: "block", nodeType: "heading" } | { kind: "block", nodeType: "listItem" }One of: ParagraphAddress, HeadingAddress, ListItemAddress
Full reference →
editor.doc.format.paragraph.clearIndentation(...)
FieldTypeReqDescription
target{ kind: "block", nodeType: "paragraph" } | { kind: "block", nodeType: "heading" } | { kind: "block", nodeType: "listItem" }One of: ParagraphAddress, HeadingAddress, ListItemAddress
Full reference →
editor.doc.format.paragraph.setSpacing(...)
FieldTypeReqDescription
afterinteger
beforeinteger
lineinteger
lineRule”auto” | “exact” | “atLeast”"auto", "exact", "atLeast"
target{ kind: "block", nodeType: "paragraph" } | { kind: "block", nodeType: "heading" } | { kind: "block", nodeType: "listItem" }One of: ParagraphAddress, HeadingAddress, ListItemAddress
Full reference →
editor.doc.format.paragraph.clearSpacing(...)
FieldTypeReqDescription
target{ kind: "block", nodeType: "paragraph" } | { kind: "block", nodeType: "heading" } | { kind: "block", nodeType: "listItem" }One of: ParagraphAddress, HeadingAddress, ListItemAddress
Full reference →
editor.doc.format.paragraph.setKeepOptions(...)
FieldTypeReqDescription
keepLinesboolean
keepNextboolean
target{ kind: "block", nodeType: "paragraph" } | { kind: "block", nodeType: "heading" } | { kind: "block", nodeType: "listItem" }One of: ParagraphAddress, HeadingAddress, ListItemAddress
widowControlboolean
Full reference →
editor.doc.format.paragraph.setOutlineLevel(...)
FieldTypeReqDescription
outlineLevelinteger | nullOne of: integer, null
target{ kind: "block", nodeType: "paragraph" } | { kind: "block", nodeType: "heading" } | { kind: "block", nodeType: "listItem" }One of: ParagraphAddress, HeadingAddress, ListItemAddress
Full reference →
editor.doc.format.paragraph.setFlowOptions(...)
FieldTypeReqDescription
contextualSpacingboolean
pageBreakBeforeboolean
suppressAutoHyphensboolean
target{ kind: "block", nodeType: "paragraph" } | { kind: "block", nodeType: "heading" } | { kind: "block", nodeType: "listItem" }One of: ParagraphAddress, HeadingAddress, ListItemAddress
Full reference →
editor.doc.format.paragraph.setTabStop(...)
FieldTypeReqDescription
alignment”left” | “center” | “right” | …"left", "center", "right", "decimal", "bar"
leader”none” | “dot” | “hyphen” | …"none", "dot", "hyphen", "underscore", "heavy", "middleDot"
positioninteger
target{ kind: "block", nodeType: "paragraph" } | { kind: "block", nodeType: "heading" } | { kind: "block", nodeType: "listItem" }One of: ParagraphAddress, HeadingAddress, ListItemAddress
Full reference →
editor.doc.format.paragraph.clearTabStop(...)
FieldTypeReqDescription
positioninteger
target{ kind: "block", nodeType: "paragraph" } | { kind: "block", nodeType: "heading" } | { kind: "block", nodeType: "listItem" }One of: ParagraphAddress, HeadingAddress, ListItemAddress
Full reference →
editor.doc.format.paragraph.clearAllTabStops(...)
FieldTypeReqDescription
target{ kind: "block", nodeType: "paragraph" } | { kind: "block", nodeType: "heading" } | { kind: "block", nodeType: "listItem" }One of: ParagraphAddress, HeadingAddress, ListItemAddress
Full reference →
editor.doc.format.paragraph.setBorder(...)
FieldTypeReqDescription
colorstring
side”top” | “bottom” | “left” | …"top", "bottom", "left", "right", "between", "bar"
sizeinteger
spaceinteger
stylestring
target{ kind: "block", nodeType: "paragraph" } | { kind: "block", nodeType: "heading" } | { kind: "block", nodeType: "listItem" }One of: ParagraphAddress, HeadingAddress, ListItemAddress
Full reference →
editor.doc.format.paragraph.clearBorder(...)
FieldTypeReqDescription
side”top” | “bottom” | “left” | …"top", "bottom", "left", "right", "between", "bar", "all"
target{ kind: "block", nodeType: "paragraph" } | { kind: "block", nodeType: "heading" } | { kind: "block", nodeType: "listItem" }One of: ParagraphAddress, HeadingAddress, ListItemAddress
Full reference →
editor.doc.format.paragraph.setShading(...)
FieldTypeReqDescription
colorstring
fillstring
patternstring
target{ kind: "block", nodeType: "paragraph" } | { kind: "block", nodeType: "heading" } | { kind: "block", nodeType: "listItem" }One of: ParagraphAddress, HeadingAddress, ListItemAddress
Full reference →
editor.doc.format.paragraph.clearShading(...)
FieldTypeReqDescription
target{ kind: "block", nodeType: "paragraph" } | { kind: "block", nodeType: "heading" } | { kind: "block", nodeType: "listItem" }One of: ParagraphAddress, HeadingAddress, ListItemAddress
Full reference →
editor.doc.format.paragraph.setDirection(...)
FieldTypeReqDescription
alignmentPolicy”preserve” | “matchDirection”"preserve", "matchDirection"
direction”ltr” | “rtl”"ltr", "rtl"
target{ kind: "block", nodeType: "paragraph" } | { kind: "block", nodeType: "heading" } | { kind: "block", nodeType: "listItem" }One of: ParagraphAddress, HeadingAddress, ListItemAddress
Full reference →
editor.doc.format.paragraph.clearDirection(...)
FieldTypeReqDescription
target{ kind: "block", nodeType: "paragraph" } | { kind: "block", nodeType: "heading" } | { kind: "block", nodeType: "listItem" }One of: ParagraphAddress, HeadingAddress, ListItemAddress
Full reference →
editor.doc.styles.paragraph.setStyle(...)
FieldTypeReqDescription
styleIdstring
target{ kind: "block", nodeType: "paragraph" } | { kind: "block", nodeType: "heading" } | { kind: "block", nodeType: "listItem" }One of: ParagraphAddress, HeadingAddress, ListItemAddress
Full reference →
editor.doc.styles.paragraph.clearStyle(...)
FieldTypeReqDescription
target{ kind: "block", nodeType: "paragraph" } | { kind: "block", nodeType: "heading" } | { kind: "block", nodeType: "listItem" }One of: ParagraphAddress, HeadingAddress, ListItemAddress
Full reference →
editor.doc.permissionRanges.list(...)
FieldTypeReqDescription
limitinteger
offsetinteger
Full reference →
editor.doc.permissionRanges.get(...)
FieldTypeReqDescription
idstring
Full reference →
editor.doc.permissionRanges.create(...)
FieldTypeReqDescription
idstring
principalobject
principal.idstring
principal.kind”everyone” | “editor”"everyone", "editor"
targetSelectionTargetSelectionTarget
target.endSelectionPointSelectionPoint
target.kind"selection"Constant: "selection"
target.startSelectionPointSelectionPoint
Full reference →
editor.doc.permissionRanges.remove(...)
FieldTypeReqDescription
idstring
Full reference →
editor.doc.permissionRanges.updatePrincipal(...)
FieldTypeReqDescription
idstring
principalobject
principal.idstring
principal.kind”everyone” | “editor”"everyone", "editor"
Full reference →
editor.doc.protection.get(...)No input fields.Full reference →
editor.doc.protection.setEditingRestriction(...)
FieldTypeReqDescription
formattingRestrictedboolean
mode”readOnly”"readOnly"
Full reference →
editor.doc.protection.clearEditingRestriction(...)No input fields.Full reference →
editor.doc.query.match(...)
FieldTypeReqDescription
inStoryLocatorStoryLocator
includeNodesboolean
limitinteger
mode”strict” | “candidates”"strict", "candidates"
offsetinteger
require”any” | “first” | “exactlyOne” | …"any", "first", "exactlyOne", "all"
select{ type: "text" } | { type: "node" }One of: object(type=“text”), object(type=“node”)
withinBlockNodeAddressBlockNodeAddress
within.kind"block"Constant: "block"
within.nodeIdstring
within.nodeType”paragraph” | “heading” | “listItem” | …"paragraph", "heading", "listItem", "table", "tableRow", "tableCell", "tableOfContents", "image", "sdt"
Full reference →
editor.doc.ranges.resolve(...)
FieldTypeReqDescription
end{ kind: "document" } | { kind: "point" } | { kind: "ref" }One of: object(kind=“document”), object(kind=“point”), object(kind=“ref”)
expectedRevisionstring
start{ kind: "document" } | { kind: "point" } | { kind: "ref" }One of: object(kind=“document”), object(kind=“point”), object(kind=“ref”)
Full reference →
editor.doc.sections.list(...)
FieldTypeReqDescription
limitinteger
offsetinteger
Full reference →
editor.doc.sections.get(...)
FieldTypeReqDescription
addressSectionAddressSectionAddress
address.kind"section"Constant: "section"
address.sectionIdstring
Full reference →
editor.doc.sections.setBreakType(...)
FieldTypeReqDescription
breakType”continuous” | “nextPage” | “evenPage” | …"continuous", "nextPage", "evenPage", "oddPage"
targetSectionAddressSectionAddress
target.kind"section"Constant: "section"
target.sectionIdstring
Full reference →
editor.doc.sections.setPageMargins(...)
FieldTypeReqDescription
bottomnumber
gutternumber
leftnumber
rightnumber
targetSectionAddressSectionAddress
target.kind"section"Constant: "section"
target.sectionIdstring
topnumber
Full reference →
editor.doc.sections.setHeaderFooterMargins(...)
FieldTypeReqDescription
footernumber
headernumber
targetSectionAddressSectionAddress
target.kind"section"Constant: "section"
target.sectionIdstring
Full reference →
editor.doc.sections.setPageSetup(...)
FieldTypeReqDescription
heightnumber
orientation”portrait” | “landscape”"portrait", "landscape"
paperSizestring
targetSectionAddressSectionAddress
target.kind"section"Constant: "section"
target.sectionIdstring
widthnumber
Full reference →
editor.doc.sections.setColumns(...)
FieldTypeReqDescription
countinteger
equalWidthboolean
gapnumber
targetSectionAddressSectionAddress
target.kind"section"Constant: "section"
target.sectionIdstring
Full reference →
editor.doc.sections.setLineNumbering(...)
FieldTypeReqDescription
countByinteger
distancenumber
enabledboolean
restart”continuous” | “newPage” | “newSection”"continuous", "newPage", "newSection"
startinteger
targetSectionAddressSectionAddress
target.kind"section"Constant: "section"
target.sectionIdstring
Full reference →
editor.doc.sections.setPageNumbering(...)
FieldTypeReqDescription
chapterSeparator”hyphen” | “period” | “colon” | …"hyphen", "period", "colon", "emDash", "enDash"
chapterStyleinteger
format”decimal” | “lowerLetter” | “upperLetter” | …"decimal", "lowerLetter", "upperLetter", "lowerRoman", "upperRoman", "numberInDash"
startinteger
targetSectionAddressSectionAddress
target.kind"section"Constant: "section"
target.sectionIdstring
Full reference →
editor.doc.sections.setTitlePage(...)
FieldTypeReqDescription
enabledboolean
targetSectionAddressSectionAddress
target.kind"section"Constant: "section"
target.sectionIdstring
Full reference →
editor.doc.sections.setOddEvenHeadersFooters(...)
FieldTypeReqDescription
enabledboolean
Full reference →
editor.doc.sections.setVerticalAlign(...)
FieldTypeReqDescription
targetSectionAddressSectionAddress
target.kind"section"Constant: "section"
target.sectionIdstring
value”top” | “center” | “bottom” | …"top", "center", "bottom", "both"
Full reference →
editor.doc.sections.setSectionDirection(...)
FieldTypeReqDescription
direction”ltr” | “rtl”"ltr", "rtl"
targetSectionAddressSectionAddress
target.kind"section"Constant: "section"
target.sectionIdstring
Full reference →
editor.doc.sections.setHeaderFooterRef(...)
FieldTypeReqDescription
kind”header” | “footer”"header", "footer"
refIdstring
targetSectionAddressSectionAddress
target.kind"section"Constant: "section"
target.sectionIdstring
variant”default” | “first” | “even”"default", "first", "even"
Full reference →
editor.doc.sections.clearHeaderFooterRef(...)
FieldTypeReqDescription
kind”header” | “footer”"header", "footer"
targetSectionAddressSectionAddress
target.kind"section"Constant: "section"
target.sectionIdstring
variant”default” | “first” | “even”"default", "first", "even"
Full reference →
editor.doc.sections.setLinkToPrevious(...)
FieldTypeReqDescription
kind”header” | “footer”"header", "footer"
linkedboolean
targetSectionAddressSectionAddress
target.kind"section"Constant: "section"
target.sectionIdstring
variant”default” | “first” | “even”"default", "first", "even"
Full reference →
editor.doc.sections.setPageBorders(...)
FieldTypeReqDescription
bordersanyOne of: any, any, any, any, any, any, any
borders.bottomanyOne of: any, any, any, any, any, any
borders.bottom.colorstring
borders.bottom.frameboolean
borders.bottom.shadowboolean
borders.bottom.sizenumber
borders.bottom.spacenumber
borders.bottom.stylestring
borders.display”allPages” | “firstPage” | “notFirstPage”"allPages", "firstPage", "notFirstPage"
borders.leftanyOne of: any, any, any, any, any, any
borders.left.colorstring
borders.left.frameboolean
borders.left.shadowboolean
borders.left.sizenumber
borders.left.spacenumber
borders.left.stylestring
borders.offsetFrom”page” | “text”"page", "text"
borders.rightanyOne of: any, any, any, any, any, any
borders.right.colorstring
borders.right.frameboolean
borders.right.shadowboolean
borders.right.sizenumber
borders.right.spacenumber
borders.right.stylestring
borders.topanyOne of: any, any, any, any, any, any
borders.top.colorstring
borders.top.frameboolean
borders.top.shadowboolean
borders.top.sizenumber
borders.top.spacenumber
borders.top.stylestring
borders.zOrder”front” | “back”"front", "back"
targetSectionAddressSectionAddress
target.kind"section"Constant: "section"
target.sectionIdstring
Full reference →
editor.doc.sections.clearPageBorders(...)
FieldTypeReqDescription
targetSectionAddressSectionAddress
target.kind"section"Constant: "section"
target.sectionIdstring
Full reference →
editor.doc.selection.current(...)
FieldTypeReqDescription
includeTextboolean
Full reference →
editor.doc.styles.apply(...)No input fields.Full reference →
editor.doc.authorities.list(...)
FieldTypeReqDescription
limitinteger
offsetinteger
Full reference →
editor.doc.authorities.get(...)
FieldTypeReqDescription
target{ kind: "block", nodeType: "tableOfAuthorities" }
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"tableOfAuthorities"Constant: "tableOfAuthorities"
Full reference →
editor.doc.authorities.insert(...)
FieldTypeReqDescription
at{ kind: "documentStart" } | { kind: "documentEnd" } | { kind: "before" } | { kind: "after" }One of: object(kind=“documentStart”), object(kind=“documentEnd”), object(kind=“before”), object(kind=“after”)
configobject
config.categoryinteger
config.entryPageSeparatorstring
config.includeHeadingsboolean
config.pageRangeSeparatorstring
config.tabLeaderstring
config.usePassimboolean
Full reference →
editor.doc.authorities.configure(...)
FieldTypeReqDescription
patchobject
patch.categoryinteger
patch.entryPageSeparatorstring
patch.includeHeadingsboolean
patch.pageRangeSeparatorstring
patch.tabLeaderstring
patch.usePassimboolean
target{ kind: "block", nodeType: "tableOfAuthorities" }
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"tableOfAuthorities"Constant: "tableOfAuthorities"
Full reference →
editor.doc.authorities.rebuild(...)
FieldTypeReqDescription
target{ kind: "block", nodeType: "tableOfAuthorities" }
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"tableOfAuthorities"Constant: "tableOfAuthorities"
Full reference →
editor.doc.authorities.remove(...)
FieldTypeReqDescription
target{ kind: "block", nodeType: "tableOfAuthorities" }
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"tableOfAuthorities"Constant: "tableOfAuthorities"
Full reference →
editor.doc.authorities.entries.list(...)
FieldTypeReqDescription
categorystring | integerOne of: string, integer
limitinteger
offsetinteger
Full reference →
editor.doc.authorities.entries.get(...)
FieldTypeReqDescription
target{ kind: "inline", nodeType: "authorityEntry" }
target.anchorInlineAnchorInlineAnchor
target.anchor.endPositionPosition
target.anchor.end.blockIdstring
target.anchor.end.offsetinteger
target.anchor.startPositionPosition
target.anchor.start.blockIdstring
target.anchor.start.offsetinteger
target.kind"inline"Constant: "inline"
target.nodeType"authorityEntry"Constant: "authorityEntry"
Full reference →
editor.doc.authorities.entries.insert(...)
FieldTypeReqDescription
atTextTargetTextTarget
at.kind"text"Constant: "text"
at.segmentsTextSegment[]
at.storyStoryLocatorStoryLocator
entryobject
entry.boldboolean
entry.categorystring | integerOne of: string, integer
entry.italicboolean
entry.longCitationstring
entry.shortCitationstring
Full reference →
editor.doc.authorities.entries.update(...)
FieldTypeReqDescription
patchobject
patch.boldboolean
patch.categorystring | integerOne of: string, integer
patch.italicboolean
patch.longCitationstring
patch.shortCitationstring
target{ kind: "inline", nodeType: "authorityEntry" }
target.anchorInlineAnchorInlineAnchor
target.anchor.endPositionPosition
target.anchor.end.blockIdstring
target.anchor.end.offsetinteger
target.anchor.startPositionPosition
target.anchor.start.blockIdstring
target.anchor.start.offsetinteger
target.kind"inline"Constant: "inline"
target.nodeType"authorityEntry"Constant: "authorityEntry"
Full reference →
editor.doc.authorities.entries.remove(...)
FieldTypeReqDescription
target{ kind: "inline", nodeType: "authorityEntry" }
target.anchorInlineAnchorInlineAnchor
target.anchor.endPositionPosition
target.anchor.end.blockIdstring
target.anchor.end.offsetinteger
target.anchor.startPositionPosition
target.anchor.start.blockIdstring
target.anchor.start.offsetinteger
target.kind"inline"Constant: "inline"
target.nodeType"authorityEntry"Constant: "authorityEntry"
Full reference →
editor.doc.toc.list(...)
FieldTypeReqDescription
limitinteger
offsetinteger
Full reference →
editor.doc.toc.get(...)
FieldTypeReqDescription
target{ kind: "block", nodeType: "tableOfContents" }
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"tableOfContents"Constant: "tableOfContents"
Full reference →
editor.doc.toc.configure(...)
FieldTypeReqDescription
patchobject
patch.hideInWebViewboolean
patch.hyperlinksboolean
patch.includePageNumbersboolean
patch.omitPageNumberLevelsobject
patch.omitPageNumberLevels.frominteger
patch.omitPageNumberLevels.tointeger
patch.outlineLevelsobject
patch.outlineLevels.frominteger
patch.outlineLevels.tointeger
patch.rightAlignPageNumbersboolean
patch.separatorstring
patch.tabLeader”none” | “dot” | “hyphen” | …"none", "dot", "hyphen", "underscore", "middleDot"
patch.tcFieldIdentifierstring
patch.tcFieldLevelsobject
patch.tcFieldLevels.frominteger
patch.tcFieldLevels.tointeger
patch.useAppliedOutlineLevelboolean
target{ kind: "block", nodeType: "tableOfContents" }
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"tableOfContents"Constant: "tableOfContents"
Full reference →
editor.doc.toc.update(...)
FieldTypeReqDescription
mode”all” | “pageNumbers”"all", "pageNumbers"
target{ kind: "block", nodeType: "tableOfContents" }
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"tableOfContents"Constant: "tableOfContents"
Full reference →
editor.doc.toc.remove(...)
FieldTypeReqDescription
target{ kind: "block", nodeType: "tableOfContents" }
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"tableOfContents"Constant: "tableOfContents"
Full reference →
editor.doc.toc.markEntry(...)
FieldTypeReqDescription
levelinteger
omitPageNumberboolean
tableIdentifierstring
target{ kind: "inline-insert" }
target.anchor{ nodeType: "paragraph" }
target.anchor.nodeIdstring
target.anchor.nodeType"paragraph"Constant: "paragraph"
target.kind"inline-insert"Constant: "inline-insert"
target.position”start” | “end”"start", "end"
textstring
Full reference →
editor.doc.toc.unmarkEntry(...)
FieldTypeReqDescription
target{ kind: "inline", nodeType: "tableOfContentsEntry" }
target.kind"inline"Constant: "inline"
target.nodeIdstring
target.nodeType"tableOfContentsEntry"Constant: "tableOfContentsEntry"
Full reference →
editor.doc.toc.listEntries(...)
FieldTypeReqDescription
levelRangeobject
levelRange.frominteger
levelRange.tointeger
limitinteger
offsetinteger
tableIdentifierstring
Full reference →
editor.doc.toc.getEntry(...)
FieldTypeReqDescription
target{ kind: "inline", nodeType: "tableOfContentsEntry" }
target.kind"inline"Constant: "inline"
target.nodeIdstring
target.nodeType"tableOfContentsEntry"Constant: "tableOfContentsEntry"
Full reference →
editor.doc.toc.editEntry(...)
FieldTypeReqDescription
patchobject
patch.levelinteger
patch.omitPageNumberboolean
patch.tableIdentifierstring
patch.textstring
target{ kind: "inline", nodeType: "tableOfContentsEntry" }
target.kind"inline"Constant: "inline"
target.nodeIdstring
target.nodeType"tableOfContentsEntry"Constant: "tableOfContentsEntry"
Full reference →
editor.doc.tables.convertFromText(...)
FieldTypeReqDescription
columnsinteger
delimiter”tab” | “comma” | “paragraph” | objectOne of: enum, object
inferColumnsboolean
nodeIdstring
targetBlockNodeAddressBlockNodeAddress
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType”paragraph” | “heading” | “listItem” | …"paragraph", "heading", "listItem", "table", "tableRow", "tableCell", "tableOfContents", "image", "sdt"
Full reference →
editor.doc.tables.delete(...)
FieldTypeReqDescription
nodeIdstring
targetTableAddressTableAddress
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"table"Constant: "table"
Full reference →
editor.doc.tables.clearContents(...)
FieldTypeReqDescription
nodeIdstring
targetTableAddressTableAddress
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"table"Constant: "table"
Full reference →
editor.doc.tables.move(...)
FieldTypeReqDescription
destination{ kind: "documentStart" } | { kind: "documentEnd" } | { kind: "before" } | { kind: "after" }One of: object(kind=“documentStart”), object(kind=“documentEnd”), object(kind=“before”), object(kind=“after”), object(kind=“before”), object(kind=“after”)
nodeIdstring
targetTableAddressTableAddress
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"table"Constant: "table"
Full reference →
editor.doc.tables.split(...)
FieldTypeReqDescription
nodeIdstring
rowIndexinteger
targetTableAddressTableAddress
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"table"Constant: "table"
Full reference →
editor.doc.tables.convertToText(...)
FieldTypeReqDescription
delimiter”tab” | “comma” | “paragraph”"tab", "comma", "paragraph"
nodeIdstring
targetTableAddressTableAddress
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"table"Constant: "table"
Full reference →
editor.doc.tables.setLayout(...)
FieldTypeReqDescription
alignment”left” | “center” | “right”"left", "center", "right"
autoFitMode”fixedWidth” | “fitContents” | “fitWindow”"fixedWidth", "fitContents", "fitWindow"
leftIndentPtnumber
nodeIdstring
preferredWidthnumber
tableDirection”ltr” | “rtl”"ltr", "rtl"
targetTableAddressTableAddress
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"table"Constant: "table"
Full reference →
editor.doc.tables.insertRow(...)No input fields.Full reference →
editor.doc.tables.deleteRow(...)No input fields.Full reference →
editor.doc.tables.setRowHeight(...)No input fields.Full reference →
editor.doc.tables.distributeRows(...)
FieldTypeReqDescription
nodeIdstring
targetTableAddressTableAddress
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"table"Constant: "table"
Full reference →
editor.doc.tables.setRowOptions(...)No input fields.Full reference →
editor.doc.tables.insertColumn(...)
FieldTypeReqDescription
columnIndexinteger
countinteger
nodeIdstring
position”left” | “right” | “first” | …"left", "right", "first", "last"
targetTableAddressTableAddress
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"table"Constant: "table"
Full reference →
editor.doc.tables.deleteColumn(...)
FieldTypeReqDescription
columnIndexinteger
nodeIdstring
targetTableAddressTableAddress
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"table"Constant: "table"
Full reference →
editor.doc.tables.setColumnWidth(...)
FieldTypeReqDescription
columnIndexinteger
nodeIdstring
targetTableAddressTableAddress
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"table"Constant: "table"
widthPtnumber
Full reference →
editor.doc.tables.distributeColumns(...)
FieldTypeReqDescription
columnRangeobject
columnRange.endinteger
columnRange.startinteger
nodeIdstring
targetTableAddressTableAddress
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"table"Constant: "table"
Full reference →
editor.doc.tables.insertCell(...)
FieldTypeReqDescription
mode”shiftRight” | “shiftDown”"shiftRight", "shiftDown"
nodeIdstring
targetTableCellAddressTableCellAddress
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"tableCell"Constant: "tableCell"
Full reference →
editor.doc.tables.deleteCell(...)
FieldTypeReqDescription
mode”shiftLeft” | “shiftUp”"shiftLeft", "shiftUp"
nodeIdstring
targetTableCellAddressTableCellAddress
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"tableCell"Constant: "tableCell"
Full reference →
editor.doc.tables.mergeCells(...)
FieldTypeReqDescription
endobject
end.columnIndexinteger
end.rowIndexinteger
nodeIdstring
startobject
start.columnIndexinteger
start.rowIndexinteger
targetTableAddressTableAddress
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"table"Constant: "table"
Full reference →
editor.doc.tables.unmergeCells(...)No input fields.Full reference →
editor.doc.tables.splitCell(...)
FieldTypeReqDescription
columnsinteger
nodeIdstring
rowsinteger
targetTableCellAddressTableCellAddress
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"tableCell"Constant: "tableCell"
Full reference →
editor.doc.tables.setCellProperties(...)
FieldTypeReqDescription
fitTextboolean
nodeIdstring
preferredWidthPtnumber
targetTableCellAddressTableCellAddress
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"tableCell"Constant: "tableCell"
verticalAlign”top” | “center” | “bottom”"top", "center", "bottom"
wrapTextboolean
Full reference →
editor.doc.tables.setCellText(...)No input fields.Full reference →
editor.doc.tables.sort(...)
FieldTypeReqDescription
keysobject[]
nodeIdstring
targetTableAddressTableAddress
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"table"Constant: "table"
Full reference →
editor.doc.tables.setAltText(...)
FieldTypeReqDescription
descriptionstring
nodeIdstring
targetTableAddressTableAddress
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"table"Constant: "table"
titlestring
Full reference →
editor.doc.tables.setStyle(...)
FieldTypeReqDescription
nodeIdstring
styleIdstring
targetTableAddressTableAddress
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"table"Constant: "table"
Full reference →
editor.doc.tables.clearStyle(...)
FieldTypeReqDescription
nodeIdstring
targetTableAddressTableAddress
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"table"Constant: "table"
Full reference →
editor.doc.tables.setStyleOption(...)
FieldTypeReqDescription
enabledboolean
flag”headerRow” | “lastRow” | “totalRow” | …"headerRow", "lastRow", "totalRow", "firstColumn", "lastColumn", "bandedRows", "bandedColumns"
nodeIdstring
targetTableAddressTableAddress
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"table"Constant: "table"
Full reference →
editor.doc.tables.setBorder(...)
FieldTypeReqDescription
colorstring
edge”top” | “bottom” | “left” | …"top", "bottom", "left", "right", "insideH", "insideV", "diagonalDown", "diagonalUp"
lineStylestring
lineWeightPtnumber
nodeIdstring
targetTableOrCellAddressTableOrCellAddress
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType”table” | “tableCell”"table", "tableCell"
Full reference →
editor.doc.tables.clearBorder(...)
FieldTypeReqDescription
edge”top” | “bottom” | “left” | …"top", "bottom", "left", "right", "insideH", "insideV", "diagonalDown", "diagonalUp"
nodeIdstring
targetTableOrCellAddressTableOrCellAddress
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType”table” | “tableCell”"table", "tableCell"
Full reference →
editor.doc.tables.applyBorderPreset(...)
FieldTypeReqDescription
nodeIdstring
preset”box” | “all” | “none” | …"box", "all", "none", "grid", "custom"
targetTableAddressTableAddress
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"table"Constant: "table"
Full reference →
editor.doc.tables.setShading(...)
FieldTypeReqDescription
colorstring | nullOne of: string, null
nodeIdstring
targetTableOrCellAddressTableOrCellAddress
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType”table” | “tableCell”"table", "tableCell"
Full reference →
editor.doc.tables.clearShading(...)
FieldTypeReqDescription
nodeIdstring
targetTableOrCellAddressTableOrCellAddress
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType”table” | “tableCell”"table", "tableCell"
Full reference →
editor.doc.tables.setTablePadding(...)
FieldTypeReqDescription
bottomPtnumber
leftPtnumber
nodeIdstring
rightPtnumber
targetTableAddressTableAddress
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"table"Constant: "table"
topPtnumber
Full reference →
editor.doc.tables.setCellPadding(...)
FieldTypeReqDescription
bottomPtnumber
leftPtnumber
nodeIdstring
rightPtnumber
targetTableCellAddressTableCellAddress
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"tableCell"Constant: "tableCell"
topPtnumber
Full reference →
editor.doc.tables.setCellSpacing(...)
FieldTypeReqDescription
nodeIdstring
spacingPtnumber
targetTableAddressTableAddress
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"table"Constant: "table"
Full reference →
editor.doc.tables.clearCellSpacing(...)
FieldTypeReqDescription
nodeIdstring
targetTableAddressTableAddress
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"table"Constant: "table"
Full reference →
editor.doc.tables.applyStyle(...)
FieldTypeReqDescription
nodeIdstring
styleIdstring
styleOptionsobject
styleOptions.bandedColumnsboolean
styleOptions.bandedRowsboolean
styleOptions.firstColumnboolean
styleOptions.headerRowboolean
styleOptions.lastColumnboolean
styleOptions.lastRowboolean
styleOptions.totalRowboolean
targetBlockNodeAddressBlockNodeAddress
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType”paragraph” | “heading” | “listItem” | …"paragraph", "heading", "listItem", "table", "tableRow", "tableCell", "tableOfContents", "image", "sdt"
Full reference →
editor.doc.tables.setBorders(...)No input fields.Full reference →
editor.doc.tables.setTableOptions(...)
FieldTypeReqDescription
cellSpacingPtnumber | nullOne of: number, null
defaultCellMarginsobject
defaultCellMargins.bottomPtnumber
defaultCellMargins.leftPtnumber
defaultCellMargins.rightPtnumber
defaultCellMargins.topPtnumber
nodeIdstring
targetBlockNodeAddressBlockNodeAddress
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType”paragraph” | “heading” | “listItem” | …"paragraph", "heading", "listItem", "table", "tableRow", "tableCell", "tableOfContents", "image", "sdt"
Full reference →
editor.doc.tables.applyPreset(...)
FieldTypeReqDescription
accentColorstring
nodeIdstring
preset”grid” | “minimal” | “striped” | …"grid", "minimal", "striped", "accent"
targetTableAddressTableAddress
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"table"Constant: "table"
Full reference →
editor.doc.tables.get(...)
FieldTypeReqDescription
nodeIdstring
targetTableAddressTableAddress
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"table"Constant: "table"
Full reference →
editor.doc.tables.getCells(...)
FieldTypeReqDescription
columnIndexinteger
nodeIdstring
rowIndexinteger
targetTableAddressTableAddress
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"table"Constant: "table"
Full reference →
editor.doc.tables.getProperties(...)
FieldTypeReqDescription
nodeIdstring
targetTableAddressTableAddress
target.kind"block"Constant: "block"
target.nodeIdstring
target.nodeType"table"Constant: "table"
Full reference →
editor.doc.tables.getStyles(...)No input fields.Full reference →
editor.doc.tables.setDefaultStyle(...)
FieldTypeReqDescription
styleIdstring
Full reference →
editor.doc.tables.clearDefaultStyle(...)No input fields.Full reference →
editor.doc.templates.apply(...)
FieldTypeReqDescription
bodyPolicy"preserve"Constant: "preserve"
source{ kind: "path" } | { kind: "base64" }One of: object(kind=“path”), object(kind=“base64”)
Full reference →
editor.doc.trackChanges.list(...)
FieldTypeReqDescription
inStoryLocator | "all"One of: StoryLocator, "all"
limitinteger
offsetinteger
type”insert” | “delete” | “replacement” | …"insert", "delete", "replacement", "format"
Full reference →
editor.doc.trackChanges.get(...)
FieldTypeReqDescription
idstring
storyStoryLocatorStoryLocator
Full reference →
editor.doc.trackChanges.decide(...)
FieldTypeReqDescription
decision”accept” | “reject”"accept", "reject"
targetobject | { kind: "range" }One of: object, object(kind=“range”), object
Full reference →