FieldIndex class

FieldIndex class

Implements the INDEX field. To learn more, visit the Working with Fields documentation article.

Remarks

Builds an index using the index entries specified by XE fields, and inserts that index at this place in the document.

Inheritance: FieldIndexField

Constructors

NameDescription
FieldIndex()The default constructor.

Properties

NameDescription
bookmarkNameGets or sets the name of the bookmark that marks the portion of the document used to build the index.
crossReferenceSeparatorGets or sets the character sequence that is used to separate cross references and other entries.
displayResultGets the text that represents the displayed field result.
(Inherited from Field)
endGets the node that represents the field end.
(Inherited from Field)
entryTypeGets or sets an index entry type used to build the index.
formatGets a FieldFormat object that provides typed access to field’s formatting.
(Inherited from Field)
hasPageNumberSeparatorGets a value indicating whether a page number separator is overridden through the field’s code.
hasSequenceNameGets a value indicating whether a sequence should be used while the field’s result building.
headingGets or sets a heading that appears at the start of each set of entries for any given letter.
isDirtyGets or sets whether the current result of the field is no longer correct (stale) due to other modifications made to the document.
(Inherited from Field)
isLockedGets or sets whether the field is locked (should not recalculate its result).
(Inherited from Field)
languageIdGets or sets the language ID used to generate the index.
letterRangeGets or sets a range of letters to which limit the index.
localeIdGets or sets the LCID of the field.
(Inherited from Field)
numberOfColumnsGets or sets the number of columns per page used when building the index.
pageNumberListSeparatorGets or sets the character sequence that is used to separate two page numbers in a page number list.
pageNumberSeparatorGets or sets the character sequence that is used to separate an index entry and its page number.
pageRangeSeparatorGets or sets the character sequence that is used to separate the start and end of a page range.
resultGets or sets text that is between the field separator and field end.
(Inherited from Field)
runSubentriesOnSameLineGets or sets whether run subentries into the same line as the main entry.
separatorGets the node that represents the field separator. Can be null.
(Inherited from Field)
sequenceNameGets or sets the name of a sequence whose number is included with the page number.
sequenceSeparatorGets or sets the character sequence that is used to separate sequence numbers and page numbers.
startGets the node that represents the start of the field.
(Inherited from Field)
typeGets the Microsoft Word field type.
(Inherited from Field)
useYomiGets or sets whether to enable the use of yomi text for index entries.

Methods

NameDescription
asField()
(Inherited from Field)
asFieldAddIn()
(Inherited from Field)
asFieldAddressBlock()
(Inherited from Field)
asFieldAdvance()
(Inherited from Field)
asFieldAsk()
(Inherited from Field)
asFieldAuthor()
(Inherited from Field)
asFieldAutoNum()
(Inherited from Field)
asFieldAutoNumLgl()
(Inherited from Field)
asFieldAutoNumOut()
(Inherited from Field)
asFieldAutoText()
(Inherited from Field)
asFieldAutoTextList()
(Inherited from Field)
asFieldBarcode()
(Inherited from Field)
asFieldBibliography()
(Inherited from Field)
asFieldBidiOutline()
(Inherited from Field)
asFieldCitation()
(Inherited from Field)
asFieldComments()
(Inherited from Field)
asFieldCompare()
(Inherited from Field)
asFieldCreateDate()
(Inherited from Field)
asFieldData()
(Inherited from Field)
asFieldDatabase()
(Inherited from Field)
asFieldDate()
(Inherited from Field)
asFieldDde()
(Inherited from Field)
asFieldDdeAuto()
(Inherited from Field)
asFieldDisplayBarcode()
(Inherited from Field)
asFieldDocProperty()
(Inherited from Field)
asFieldDocVariable()
(Inherited from Field)
asFieldEQ()
(Inherited from Field)
asFieldEditTime()
(Inherited from Field)
asFieldEmbed()
(Inherited from Field)
asFieldFileName()
(Inherited from Field)
asFieldFileSize()
(Inherited from Field)
asFieldFillIn()
(Inherited from Field)
asFieldFootnoteRef()
(Inherited from Field)
asFieldFormCheckBox()
(Inherited from Field)
asFieldFormDropDown()
(Inherited from Field)
asFieldFormText()
(Inherited from Field)
asFieldFormula()
(Inherited from Field)
asFieldGlossary()
(Inherited from Field)
asFieldGoToButton()
(Inherited from Field)
asFieldGreetingLine()
(Inherited from Field)
asFieldHyperlink()
(Inherited from Field)
asFieldIf()
(Inherited from Field)
asFieldImport()
(Inherited from Field)
asFieldInclude()
(Inherited from Field)
asFieldIncludePicture()
(Inherited from Field)
asFieldIncludeText()
(Inherited from Field)
asFieldIndex()
(Inherited from Field)
asFieldInfo()
(Inherited from Field)
asFieldKeywords()
(Inherited from Field)
asFieldLastSavedBy()
(Inherited from Field)
asFieldLink()
(Inherited from Field)
asFieldListNum()
(Inherited from Field)
asFieldMacroButton()
(Inherited from Field)
asFieldMergeBarcode()
(Inherited from Field)
asFieldMergeField()
(Inherited from Field)
asFieldMergeRec()
(Inherited from Field)
asFieldMergeSeq()
(Inherited from Field)
asFieldNext()
(Inherited from Field)
asFieldNextIf()
(Inherited from Field)
asFieldNoteRef()
(Inherited from Field)
asFieldNumChars()
(Inherited from Field)
asFieldNumPages()
(Inherited from Field)
asFieldNumWords()
(Inherited from Field)
asFieldOcx()
(Inherited from Field)
asFieldPage()
(Inherited from Field)
asFieldPageRef()
(Inherited from Field)
asFieldPrint()
(Inherited from Field)
asFieldPrintDate()
(Inherited from Field)
asFieldPrivate()
(Inherited from Field)
asFieldQuote()
(Inherited from Field)
asFieldRD()
(Inherited from Field)
asFieldRef()
(Inherited from Field)
asFieldRevNum()
(Inherited from Field)
asFieldSaveDate()
(Inherited from Field)
asFieldSection()
(Inherited from Field)
asFieldSectionPages()
(Inherited from Field)
asFieldSeq()
(Inherited from Field)
asFieldSet()
(Inherited from Field)
asFieldShape()
(Inherited from Field)
asFieldSkipIf()
(Inherited from Field)
asFieldStyleRef()
(Inherited from Field)
asFieldSubject()
(Inherited from Field)
asFieldSymbol()
(Inherited from Field)
asFieldTA()
(Inherited from Field)
asFieldTC()
(Inherited from Field)
asFieldTemplate()
(Inherited from Field)
asFieldTime()
(Inherited from Field)
asFieldTitle()
(Inherited from Field)
asFieldToa()
(Inherited from Field)
asFieldToc()
(Inherited from Field)
asFieldUnknown()
(Inherited from Field)
asFieldUserAddress()
(Inherited from Field)
asFieldUserInitials()
(Inherited from Field)
asFieldUserName()
(Inherited from Field)
asFieldXE()
(Inherited from Field)
getFieldCode()Returns text between field start and field separator (or field end if there is no separator). Both field code and field result of child fields are included.
(Inherited from Field)
getFieldCode(includeChildFieldCodes)Returns text between field start and field separator (or field end if there is no separator).
(Inherited from Field)
remove()Removes the field from the document. Returns a node right after the field. If the field’s end is the last child of its parent node, returns its parent paragraph. If the field is already removed, returns null.
(Inherited from Field)
unlink()Performs the field unlink.
(Inherited from Field)
update()Performs the field update. Throws if the field is being updated already.
(Inherited from Field)
update(ignoreMergeFormat)Performs a field update. Throws if the field is being updated already.
(Inherited from Field)

See Also