Word.Interfaces.DocumentLoadOptions interface
The Document object is the top level object. A Document object contains one or more sections, content controls, and the body that contains the contents of the document.
$all | Specifying |
body | Gets the body object of the main document. The body is the text that excludes headers, footers, footnotes, textboxes, etc. |
change |
Specifies the ChangeTracking mode. |
properties | Gets the properties of the document. |
saved | Indicates whether the changes in the document have been saved. A value of true indicates that the document hasn't changed since it was saved. |
Specifying $all
for the load options loads all the scalar properties (such as Range.address
) but not the navigational properties (such as Range.format.fill.color
).
$all?: boolean;
Property Value
boolean
Gets the body object of the main document. The body is the text that excludes headers, footers, footnotes, textboxes, etc.
body?: Word.Interfaces.BodyLoadOptions;
Property Value
Remarks
Specifies the ChangeTracking mode.
changeTrackingMode?: boolean;
Property Value
boolean
Remarks
Gets the properties of the document.
properties?: Word.Interfaces.DocumentPropertiesLoadOptions;
Property Value
Remarks
Indicates whether the changes in the document have been saved. A value of true indicates that the document hasn't changed since it was saved.
saved?: boolean;
Property Value
boolean
Remarks
Office Add-ins feedback
Office Add-ins is an open source project. Select a link to provide feedback: