|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.spire.doc.OwnerHolder
com.spire.doc.documents.xml.DocumentSerializable
com.spire.doc.DocumentObject
com.spire.doc.DocumentBase
com.spire.doc.fields.ParagraphBase
com.spire.doc.fields.TableOfContent
public class TableOfContent
Constructor Summary | |
---|---|
TableOfContent(IDocument doc)
Initializes a new instance of the |
|
TableOfContent(IDocument doc,
java.lang.String switches)
Initializes a new instance of the |
Method Summary | |
---|---|
DocumentObjectType |
getDocumentObjectType()
Gets the type of the document object. |
boolean |
getIncludePageNumbers()
Gets or sets a value indicating whether to show page numbers. |
int |
getLowerHeadingLevel()
Gets or sets the starting heading level of the table of content. |
boolean |
getRightAlignPageNumbers()
Gets or sets a value indicating whether to show page numbers from right side. |
java.lang.String |
getTableID()
Gets or sets the table ID. |
java.lang.String |
getTOCLevelStyle(int levelNumber)
Gets the style name for TOC level. |
int |
getUpperHeadingLevel()
Gets or sets the ending heading level of the table of content. |
boolean |
getUseAbsolutePos()
|
boolean |
getUseHeadingStyles()
Gets or sets a value indicating whether to use default heading styles. |
boolean |
getUseHyperlinks()
Gets or sets a value indicating whether to use hyperlinks.Default value is true. |
boolean |
getUseOutlineLevels()
Gets or sets a value indicating whether use outline levels.Default value is false. |
boolean |
getUseTableEntryFields()
Gets or sets a value indicating whether to use table entry fields.Default value is false. |
void |
setIncludePageNumbers(boolean value)
Gets or sets a value indicating whether to show page numbers. |
void |
setLowerHeadingLevel(int value)
Gets or sets the starting heading level of the table of content. |
void |
setRightAlignPageNumbers(boolean value)
Gets or sets a value indicating whether to show page numbers from right side. |
void |
setTableID(java.lang.String value)
Gets or sets the table ID. |
void |
setTOCLevelStyle(int levelNumber,
java.lang.String styleName)
Sets the style for TOC level. |
void |
setUpperHeadingLevel(int value)
Gets or sets the ending heading level of the table of content. |
void |
setUseAbsolutePos(boolean value)
|
void |
setUseHeadingStyles(boolean value)
Gets or sets a value indicating whether to use default heading styles. |
void |
setUseHyperlinks(boolean value)
Gets or sets a value indicating whether to use hyperlinks.Default value is true. |
void |
setUseOutlineLevels(boolean value)
Gets or sets a value indicating whether use outline levels.Default value is false. |
void |
setUseTableEntryFields(boolean value)
Gets or sets a value indicating whether to use table entry fields.Default value is false. |
Methods inherited from class com.spire.doc.fields.ParagraphBase |
---|
applyCharacterFormat, applyStyle, getCharacterFormat, getChildObjects, getDeleteRevision, getInsertRevision, getNextWidgetSibling, getOwnerParagraph, getPreviousWidgetSibling, getStyleName, isDeleteRevision, isInsertRevision |
Methods inherited from class com.spire.doc.DocumentObject |
---|
deepClone, getFirstChild, getLastChild, getNextSibling, getOwner, getPreviousSibling, isComposite, prependChild, toString |
Methods inherited from class com.spire.doc.OwnerHolder |
---|
getDocument |
Methods inherited from interface com.spire.doc.interfaces.IDocumentObject |
---|
deepClone, getDocument, getNextSibling, getOwner, getPreviousSibling, isComposite |
Constructor Detail |
---|
public TableOfContent(IDocument doc)
doc
- The doc.public TableOfContent(IDocument doc, java.lang.String switches)
doc
- The doc.switches
- The switches.Method Detail |
---|
public boolean getUseAbsolutePos()
public void setUseAbsolutePos(boolean value)
public boolean getUseHeadingStyles()
public void setUseHeadingStyles(boolean value)
public int getUpperHeadingLevel()
public void setUpperHeadingLevel(int value)
public int getLowerHeadingLevel()
public void setLowerHeadingLevel(int value)
public boolean getUseTableEntryFields()
public void setUseTableEntryFields(boolean value)
public java.lang.String getTableID()
public void setTableID(java.lang.String value)
public boolean getRightAlignPageNumbers()
public void setRightAlignPageNumbers(boolean value)
public boolean getIncludePageNumbers()
public void setIncludePageNumbers(boolean value)
public boolean getUseHyperlinks()
public void setUseHyperlinks(boolean value)
public boolean getUseOutlineLevels()
public void setUseOutlineLevels(boolean value)
public DocumentObjectType getDocumentObjectType()
getDocumentObjectType
in interface IDocumentObject
getDocumentObjectType
in class DocumentObject
public void setTOCLevelStyle(int levelNumber, java.lang.String styleName)
levelNumber
- The level number.styleName
- Name of the style.public java.lang.String getTOCLevelStyle(int levelNumber)
levelNumber
- The level number.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |