TableOfEntries¶
Represents a table of contents, a table of authorities, or an index.
Capabilities¶
Properties¶
- TableOfEntries.Content: Gets the content range of the element, for example to replace text only inside this element.
- TableOfEntries.ElementType: Gets the element type name, such as
'Paragraph','Run'or'Table'.
References¶
- TableOfEntries.Entries: Gets the table's entries.
- TableOfEntries.FieldType: Gets the field type of the table:
'TOC'for a table of contents,'TOA'for a table of authorities, or'Index'for an index. - TableOfEntries.InstructionText: Gets or sets the field's instruction text.
- TableOfEntries.IsDirty: Indicates whether this
TableOfEntriesis invalid and should therefore be updated. - TableOfEntries.IsLocked: Indicates whether this
TableOfEntriesis locked and should therefore not be updated.
Methods¶
- TableOfEntries.Clone: Creates a copy of the element. The copy is not part of the document until it is added to a collection with the collection's
Appendmethod, such as BlockCollection.Append. - TableOfEntries.GetChildElements: Returns the child elements.
- TableOfEntries.GetParentElements: Returns the ancestors of the element, starting from the direct parent.