FieldIndex

Overview

FieldIndex is a class in Aspose.Words FOSS for .NET. Inherits from: Field, IFieldCodeTokenInfoProvider.

Implements the INDEX field.

This class provides 4 methods for working with FieldIndex objects in .NET programs. Available methods include: GetFieldCode, Remove, Unlink, Update. All public members are accessible to any .NET application after installing the Aspose.Words FOSS for .NET package. Properties: BookmarkName, CrossReferenceSeparator, DisplayResult, End, EntryType, Format, and 20 more.

Properties

NameTypeAccessDescription
BookmarkNamestringRead/WriteGets or sets the name of the bookmark that marks the portion of the document used to build the index.
NumberOfColumnsstringRead/WriteGets or sets the number of columns per page used when building the index.
SequenceSeparatorstringRead/WriteGets or sets the character sequence that is used to separate sequence numbers and page numbers.
PageNumberSeparatorstringRead/WriteGets or sets the character sequence that is used to separate an index entry and its page number.
HasPageNumberSeparatorboolReadGets a value indicating whether a page number separator is overridden through the field’s code.
EntryTypestringRead/WriteGets or sets an index entry type used to build the index.
PageRangeSeparatorstringRead/WriteGets or sets the character sequence that is used to separate the start and end of a page range.
HeadingstringRead/WriteGets or sets a heading that appears at the start of each set of entries for any given letter.
CrossReferenceSeparatorstringRead/WriteGets or sets the character sequence that is used to separate cross references and other entries.
PageNumberListSeparatorstringRead/WriteGets or sets the character sequence that is used to separate two page numbers in a page number list.
LetterRangestringRead/WriteGets or sets a range of letters to which limit the index.
RunSubentriesOnSameLineboolRead/WriteGets or sets whether run subentries into the same line as the main entry.
SequenceNamestringRead/WriteGets or sets the name of a sequence whose number is included with the page number.
HasSequenceNameboolReadGets a value indicating whether a sequence should be used while the field’s result building.
UseYomiboolRead/WriteGets or sets whether to enable the use of yomi text for index entries.
LanguageIdstringRead/WriteGets or sets the language ID used to generate the index.
StartFieldStartReadGets the node that represents the start of the field.
SeparatorFieldSeparatorReadGets the node that represents the field separator.
EndFieldEndReadGets the node that represents the field end.
TypeFieldTypeReadGets the Microsoft Word field type.
ResultstringRead/WriteGets or sets text that is between the field separator and field end.
DisplayResultstringReadGets the text that represents the displayed field result.
IsLockedboolRead/WriteGets or sets whether the field is locked (should not recalculate its result).
IsDirtyboolRead/WriteGets or sets whether the current result of the field is no longer correct (stale) due to other modifications made to the document.
FormatFieldFormatReadGets a FieldFormat object that provides typed access to field’s formatting.
LocaleIdintRead/WriteGets or sets the LCID of the field.

Methods

SignatureDescription
GetFieldCode()Returns text between field start and field separator (or field end if there is no separator).
Remove()Removes the field from the document.
Update()Performs the field update.
Unlink()Performs the field unlink.

See Also