Document Properties |
The Document type exposes the following members.
Name | Description | |
---|---|---|
![]() |
AutoUpdateStylesByTemplate |
Gets or sets a value indicating whether updating the styles in this document to match
the styles in the attached template each time you open .
|
![]() |
Background |
Gets document's background
|
![]() |
Bookmarks |
Gets document bookmarks.
|
![]() |
BuiltinDocumentProperties |
Gets document built-in properties object.
|
![]() |
ChildObjects |
Gets the child entities.
(Overrides
DocumentObject
ChildObjects
.)
|
![]() |
Comments |
Gets comments item of the document.
|
![]() |
Count |
Gets count of child object.
(Inherited from
DocumentContainer
.)
|
![]() |
CustomDocumentProperties |
Gets document custom properties object.
|
![]() |
DetectedFormatType |
Returns the detected format type of the document which was loaded. .
|
![]() |
DigitalSignatures |
Gets the collection of digital signatures in the current document.
|
![]() |
Document |
Gets the document.
(Inherited from
OwnerHolder
.)
|
![]() |
DocumentObjectType |
Gets the type of the document object.
(Overrides
DocumentObject
DocumentObjectType
.)
|
![]() |
EmbedFontsInFile |
Gets or sets a value indicating whether save fonts that are used in the document in the file.
Only support for the DOCX file format.
|
![]() |
EmbedSystemFonts |
Gets or sets a value indicating whether save system fonts that are used in the document in the file.
|
![]() |
EndnoteOptions |
Gets or sets options that control numbering and positioning of endnotes in this document.
|
![]() |
Endnotes |
Gets document endnotes.
|
![]() |
FieldOptions |
Gets or sets the options for the field.
|
![]() |
Fields |
Gets fields of the documnet.
|
![]() |
FirstChild |
Gets the first child of the Element.
(Inherited from
DocumentObject
.)
|
![]() |
FootnoteOptions |
Gets or sets options that control numbering and positioning of footnotes in this document.
|
![]() |
Footnotes |
Gets document footnotes.
|
![]() |
ForceTableRelayout |
Gets or sets a value indicating whether to force a table relayout.
|
![]() |
HasChanges |
Gets a value indicating whether the document has tracked changes.
|
![]() |
HtmlBaseUrl |
Gets or sets the Base path which is used to convert the relative path to absolute path.
|
![]() |
HTMLCustomComment |
Gets or sets a value specifying whether parsing and writing comment of document in HTML. Supported HTML Tag : span ,when the value of class attribute is comment Supported HTML Tag Attribytes : data-comment / data-user / data-cid / data-date. |
![]() |
HtmlExportOptions |
Gets the save options.
|
![]() |
HTMLIdentifierPunctuations |
Set the custom punctuation as sentence indentifier.
Full stop, qusetion mark, exclamatory mark are default values.
|
![]() |
HTMLSentenceIdentifier |
Gets or sets a value specifying whether to add identifier to a sentence when writing to HTML. Writed HTML Attribyte : sentence. Writed HTML Value Of Attribyte : start / end / (start,end). |
![]() |
HTMLTrackChanges |
Gets or sets a value specifying whether parsing and writing custom Change_Tracking HTML Tags are supported. Supported HTML Tag : insert / delete. Supported HTML Tag Attribytes : data-username / data-time. |
![]() |
IsComposite |
Indicating whether this instance is composite.
(Inherited from
DocumentObject
.)
|
![]() |
IsContainMacro |
Indicates whether the document has macros.
|
![]() |
IsUpdateFields |
Gets or sets a value indicating whether to update fields in the document.
|
![]() |
JPEGQuality |
Gets/sets the quality (Q%) of the image of JPEG format, this property
is only used for doc to pdf. The default value is 80.
|
![]() |
KeepSameFormat |
Gets or sets a value that indicates whether to keep same formatting when this document is merged to other document.
|
![]() |
LastChild |
Gets the last child of the Element.
(Inherited from
DocumentObject
.)
|
![]() |
LastParagraph |
Gets last section object.
|
![]() |
LastSection |
Gets last section of the document.
|
![]() |
LayoutOptions |
Gets the layout options.
The related layout settings are only supported for new engines.
|
![]() |
ListStyles |
Gets document list styles.
|
![]() |
MailMerge |
Gets mail merge engine.
|
![]() |
NextSibling |
Gets the next sibling.
(Inherited from
DocumentObject
.)
|
![]() |
Owner |
Gets the owner of this entity.
(Inherited from
DocumentObject
.)
|
![]() |
PageCount |
Gets total number of pages for document.
|
![]() |
PreviousSibling |
Gets the previous sibling.
(Inherited from
DocumentObject
.)
|
![]() |
PrintDialog |
Set print parnameters
|
![]() |
PrintDocument |
Gets the PrintDocument
|
![]() |
PrivateFontList |
Gets the private font list.
|
![]() |
Properties |
Gets the document properties.
|
![]() |
ProtectionType |
Gets or sets the type of protection of the document.
|
![]() |
QuiteMode |
Get / sets whether is quite mode.
|
![]() |
ReplaceFirst |
Gets or sets a value indicating whether need first replacing.
|
![]() |
Sections |
Gets document sections.
|
![]() |
Styles |
Gets document styles.
|
![]() |
TextBoxes |
Get/set textbox items of main document
|
![]() |
TOC |
Gets or sets the TOC element of the word document.
|
![]() |
TrackChanges |
Gets or sets a value that determines whether changes are tracked
when the document is edited in applications like Microsoft Word or WPS.
|
![]() |
UseNewEngine |
Obsolete.
Gets a value indicating whether the new engine layout is enabled.
The Spire.Doc product conversion feature has enabled the new engine way layout by default.
If you want to switch to the old engine layout, use the Document constructor
with the \"useNewEngine\" parameter and set the parameter \"useNewEngine\" to false.
|
![]() |
Variables |
Gets or sets the document variables.
|
![]() |
ViewSetup |
Gets view setup options in Microsoft word.
|
![]() |
Watermark |
Gets or sets document's watermark.
|
![]() |
WidgetCollection | (Overrides DocumentContainer WidgetCollection .) |
![]() |
XDLSHolder | (Inherited from DocumentSerializable .) |
![]() |
XHTMLValidateOption |
Gets or sets the HTML validate option.the default value is None.
|