public class FieldToc extends Field
| Modifier and Type | Method and Description |
|---|---|
boolean |
getAreCustomStylesSpecified() |
java.lang.String |
getBookmarkName()
Gets the name of the bookmark that marks the portion of the document used to build the table.
|
java.lang.String |
getCaptionlessTableOfFiguresLabel()
Gets the name of the sequence identifier used when building a table of figures that does not include caption's label and number.
|
java.lang.String |
getCustomStyles()
Gets a list of styles other than the built-in heading styles to include in the table of contents.
|
java.lang.String |
getEntryIdentifier()
Gets a string that should match type identifiers of TC fields being included.
|
java.lang.String |
getEntryLevelRange()
Gets a range of levels of the table of contents entries to be included.
|
java.lang.String |
getEntrySeparator()
Gets a sequence of characters that separate an entry and its page number.
|
int |
getEntryTypeCore() |
java.lang.String |
getHeadingLevelRange()
Gets a range of heading levels to include.
|
boolean |
getHideInWebLayout()
Gets whether to hide tab leader and page numbers in Web layout view.
|
boolean |
getIncludeRefDocFields() |
boolean |
getIncludeTocEntryFields() |
boolean |
getInsertHyperlinks()
Gets whether to make the table of contents entries hyperlinks.
|
int |
getLevelForCustomStyle(Paragraph paragraph,
Style style) |
java.lang.String |
getPageNumberOmittingLevelRange()
Gets a range of levels of the table of contents entries from which to omits page numbers.
|
java.lang.String |
getPrefixedSequenceIdentifier()
Gets the identifier of a sequence for which a prefix should be added to the entry's page number.
|
boolean |
getPreserveLineBreaks()
Gets whether to preserve newline characters within table entries.
|
boolean |
getPreserveTabs()
Gets whether to preserve tab entries within table entries.
|
Bookmark |
getRangeBookmark() |
java.lang.String |
getSequenceSeparator()
Gets the character sequence that is used to separate sequence numbers and page numbers.
|
boolean |
getSkipTables() |
int |
getSwitchType(java.lang.String switchName) |
java.lang.String |
getTableOfFiguresLabel()
Gets the name of the sequence identifier used when building a table of figures.
|
boolean |
getUseParagraphOutlineLevel()
Gets whether to use the applied paragraph outline level.
|
boolean |
isBookmarkRangeSpecified() |
boolean |
isEntryLevelRangeSpecified() |
boolean |
isHeadingLevelRangeSpecified() |
boolean |
isTableOfFigures() |
void |
setBookmarkName(java.lang.String value)
Sets the name of the bookmark that marks the portion of the document used to build the table.
|
void |
setCaptionlessTableOfFiguresLabel(java.lang.String value)
Sets the name of the sequence identifier used when building a table of figures that does not include caption's label and number.
|
void |
setCustomStyles(java.lang.String value)
Sets a list of styles other than the built-in heading styles to include in the table of contents.
|
void |
setEntryIdentifier(java.lang.String value)
Sets a string that should match type identifiers of TC fields being included.
|
void |
setEntryLevelRange(java.lang.String value)
Sets a range of levels of the table of contents entries to be included.
|
void |
setEntrySeparator(java.lang.String value)
Sets a sequence of characters that separate an entry and its page number.
|
void |
setHeadingLevelRange(java.lang.String value)
Sets a range of heading levels to include.
|
void |
setHideInWebLayout(boolean value)
Sets whether to hide tab leader and page numbers in Web layout view.
|
void |
setInsertHyperlinks(boolean value)
Sets whether to make the table of contents entries hyperlinks.
|
void |
setPageNumberOmittingLevelRange(java.lang.String value)
Sets a range of levels of the table of contents entries from which to omits page numbers.
|
void |
setPrefixedSequenceIdentifier(java.lang.String value)
Sets the identifier of a sequence for which a prefix should be added to the entry's page number.
|
void |
setPreserveLineBreaks(boolean value)
Sets whether to preserve newline characters within table entries.
|
void |
setPreserveTabs(boolean value)
Sets whether to preserve tab entries within table entries.
|
void |
setSequenceSeparator(java.lang.String value)
Sets the character sequence that is used to separate sequence numbers and page numbers.
|
void |
setTableOfFiguresLabel(java.lang.String value)
Sets the name of the sequence identifier used when building a table of figures.
|
void |
setUseParagraphOutlineLevel(boolean value)
Sets whether to use the applied paragraph outline level.
|
boolean |
updatePageNumbers()
Updates the page numbers for items in this table of contents.
|
getDisplayResult, getEnd, getFieldCode, getFieldCode, getFormat, getLocaleId, getResult, getSeparator, getStart, getType, isDirty, isDirty, isLocked, isLocked, needStoreOldResultNodes, remove, setLocaleId, setResult, unlink, update, updatepublic boolean updatePageNumbers()
throws java.lang.Exception
java.lang.Exceptionpublic boolean getSkipTables()
public boolean getIncludeRefDocFields()
public int getSwitchType(java.lang.String switchName)
public boolean getIncludeTocEntryFields()
public int getEntryTypeCore()
public boolean isHeadingLevelRangeSpecified()
public boolean isEntryLevelRangeSpecified()
public boolean getAreCustomStylesSpecified()
public boolean isTableOfFigures()
public java.lang.String getBookmarkName()
public void setBookmarkName(java.lang.String value)
throws java.lang.Exception
value - The name of the bookmark that marks the portion of the document used to build the table.java.lang.Exceptionpublic java.lang.String getTableOfFiguresLabel()
public void setTableOfFiguresLabel(java.lang.String value)
throws java.lang.Exception
value - The name of the sequence identifier used when building a table of figures.java.lang.Exceptionpublic java.lang.String getCaptionlessTableOfFiguresLabel()
public void setCaptionlessTableOfFiguresLabel(java.lang.String value)
throws java.lang.Exception
value - The name of the sequence identifier used when building a table of figures that does not include caption's label and number.java.lang.Exceptionpublic boolean isBookmarkRangeSpecified()
public Bookmark getRangeBookmark() throws java.lang.Exception
java.lang.Exceptionpublic java.lang.String getSequenceSeparator()
public void setSequenceSeparator(java.lang.String value)
throws java.lang.Exception
value - The character sequence that is used to separate sequence numbers and page numbers.java.lang.Exceptionpublic java.lang.String getEntryIdentifier()
public void setEntryIdentifier(java.lang.String value)
throws java.lang.Exception
value - A string that should match type identifiers of TC fields being included.java.lang.Exceptionpublic boolean getInsertHyperlinks()
public void setInsertHyperlinks(boolean value)
throws java.lang.Exception
value - Whether to make the table of contents entries hyperlinks.java.lang.Exceptionpublic java.lang.String getEntryLevelRange()
public void setEntryLevelRange(java.lang.String value)
throws java.lang.Exception
value - A range of levels of the table of contents entries to be included.java.lang.Exceptionpublic java.lang.String getPageNumberOmittingLevelRange()
public void setPageNumberOmittingLevelRange(java.lang.String value)
throws java.lang.Exception
value - A range of levels of the table of contents entries from which to omits page numbers.java.lang.Exceptionpublic java.lang.String getHeadingLevelRange()
public void setHeadingLevelRange(java.lang.String value)
throws java.lang.Exception
value - A range of heading levels to include.java.lang.Exceptionpublic java.lang.String getEntrySeparator()
public void setEntrySeparator(java.lang.String value)
throws java.lang.Exception
value - A sequence of characters that separate an entry and its page number.java.lang.Exceptionpublic java.lang.String getPrefixedSequenceIdentifier()
public void setPrefixedSequenceIdentifier(java.lang.String value)
throws java.lang.Exception
value - The identifier of a sequence for which a prefix should be added to the entry's page number.java.lang.Exceptionpublic java.lang.String getCustomStyles()
public void setCustomStyles(java.lang.String value)
throws java.lang.Exception
value - A list of styles other than the built-in heading styles to include in the table of contents.java.lang.Exceptionpublic boolean getUseParagraphOutlineLevel()
public void setUseParagraphOutlineLevel(boolean value)
throws java.lang.Exception
value - Whether to use the applied paragraph outline level.java.lang.Exceptionpublic boolean getPreserveTabs()
public void setPreserveTabs(boolean value)
throws java.lang.Exception
value - Whether to preserve tab entries within table entries.java.lang.Exceptionpublic boolean getPreserveLineBreaks()
public void setPreserveLineBreaks(boolean value)
throws java.lang.Exception
value - Whether to preserve newline characters within table entries.java.lang.Exceptionpublic boolean getHideInWebLayout()
public void setHideInWebLayout(boolean value)
throws java.lang.Exception
value - Whether to hide tab leader and page numbers in Web layout view.java.lang.Exception