Click or drag to resize

DocumentObjectType Enumeration

Specifies the type of a Document object type.

Namespace: Spire.Doc.Documents
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
public enum DocumentObjectType
Members
Member name Value Description
Document 0 Represents a document
Section 1 Section of document
Body 2 Body of document
HeaderFooter 3 The header and footer of a document
Paragraph 4 The text body items
StructureDocumentTag 5 Represents a structured document tag in a Word document, which is used to mark up content for custom XML data storage, form controls, or other structured data purposes.
StructureDocumentTagInline 6 Represents an inline-level structured document tag
StructureDocumentTagRow 7 Represents a row-level structured document tag
StructureDocumentTagCell 8 Represents a cell-level structured document tag
SDTBlockContent 9 Block-Level Structure Document Tag Content
SDTInlineContent 10 Inline-Level Structure Document Tag Content
SDTRowContent 11 Row-Level Structure Document Tag Content
SDTCellContent 12 Cell-Level Structure Document Tag Content
Table 13 Represents a table structure that can store and manage data in rows and columns.
TableRow 14 Represents a row in a Table.
TableCell 15 Represents a cell in a table row.
TextRange 16 The range of text
Picture 17 Represents a picture or image,
FieldStart 18 Represents the starting position of a field in a document.
Field 19 Represents a field in a document.
FieldMark 20 Represents a marker or indicator used to highlight or denote specific fields within a document
FieldSeparator 21 Represents the separator of a composite field.
FieldEnd 22 Represents the end position of a field in a document.
MergeField 23 Represents a merge field in a document, which is a placeholder for data that will be inserted during a mail merge operation.
SeqField 24 Represents a field within a sequence, often used for unmbering.
EmbededField 25 Represents an embedded field
ControlField 26 Represents a control field
TextFormField 27 Represents a text input form field
DropDownFormField 28 Represents a form field that allows users to select a value from a dropdown list.
CheckBox 29 Represents a checkbox from field
BookmarkStart 30 Represents the starting of a bookmark within a document
BookmarkEnd 31 Represents the end of a bookmark in a document.
MoveFromRangeStart 32 The start of a region whose move source contents are part of a single named move.
MoveFromRangeEnd 33 The end of a region whose move source contents are part of a single named move.
MoveToRangeStart 34 The start of a region whose move destination contents are part of a single named move.
MoveToRangeEnd 35 The end of a region whose move destination contents are part of a single named move.
PermissionStart 36 Represents the start of a permission block
PermissionEnd 37 Represents the end of a permission block
Shape 38 Represents shape object
ShapeGroup 39 Represents a group of shapes that can be manipulated together as a single unit.
ShapeLine 40 Represents a line shape
ShapePath 41 Represents a path that can be used to define the outline or boundary of a shape.
ShapeRect 42 Represents a rectangle shape
Comment 43 Represents a comment annotation.
Footnote 44 Represents a footnote in a document
TextBox 45 Represents a text box
Break 46 Represents a break, such as page berak or column break
Symbol 47 Represents a special symbol character
TOC 48 Table of Contents
XmlParaItem 49 Represents an XML paragraph item
Undefined 50 Represents an undefined or unspecified object.
CommentMark 51 Represents a comment mark.
OleObject 52 Represents an OLE (Object Linking and Embedding) object
CustomXml 53 Represents a custom XML data in a document
SmartTag 54 Represents a smart tag
OfficeMath 55 Represents a mathematical object in a document, such as an equation or formula.
System 56 Reserved for internal use by Spire.Words.
Ruby 57 Phonetic Guide
SubDocument 58 Represents sub document
SpecialChar 59 Represents a special character
GlossaryDocument 60 Represents glossary document.
BuildingBlock 61 Represents a building block
FormField 62 Represents a form field
Any 63 Indicates all Element types. Allows to select all children.
See Also