|
|||||||||
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 class. |
|
tableofcontent(idocument doc,
java.lang.string switches)
initializes a new instance of the tableofcontent class. |
method summary | |
---|---|
documentobjecttype |
getdocumentobjecttype()
gets the type of the document object. |
boolean |
getincludepagenumbers()
gets a value indicating whether to show page numbers. |
int |
getlowerheadinglevel()
gets the starting heading level of the table of content. |
boolean |
getrightalignpagenumbers()
gets a value indicating whether to show page numbers from right side. |
java.lang.string |
gettableid()
gets the table id. |
java.lang.string |
gettoclevelstyle(int levelnumber)
gets the style name for toc level. |
int |
getupperheadinglevel()
gets the ending heading level of the table of content. |
boolean |
getuseabsolutepos()
|
boolean |
getuseheadingstyles()
gets a value indicating whether to use default heading styles. |
boolean |
getusehyperlinks()
gets a value indicating whether to use hyperlinks.default value is true. |
boolean |
getuseoutlinelevels()
gets a value indicating whether use outline levels.default value is false. |
boolean |
getusetableentryfields()
gets a value indicating whether to use table entry fields.default value is false. |
void |
setincludepagenumbers(boolean value)
sets a value indicating whether to show page numbers. |
void |
setlowerheadinglevel(int value)
sets the starting heading level of the table of content. |
void |
setrightalignpagenumbers(boolean value)
sets a value indicating whether to show page numbers from right side. |
void |
settableid(java.lang.string value)
sets the table id. |
void |
settoclevelstyle(int levelnumber,
java.lang.string stylename)
sets the style for toc level. |
void |
setupperheadinglevel(int value)
sets the ending heading level of the table of content. |
void |
setuseabsolutepos(boolean value)
|
void |
setuseheadingstyles(boolean value)
sets a value indicating whether to use default heading styles. |
void |
setusehyperlinks(boolean value)
sets a value indicating whether to use hyperlinks.default value is true. |
void |
setuseoutlinelevels(boolean value)
sets a value indicating whether use outline levels.default value is false. |
void |
setusetableentryfields(boolean value)
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, getancestor, getcharacterformat, getchildobjects, getownerparagraph, getstylename, isdeleterevision, isinsertrevision |
methods inherited from class com.spire.doc.documentobject |
---|
deepclone, getfirstchild, getlastchild, getnextsibling, getowner, getprevioussibling, iscomposite, 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 |
methods inherited from interface com.spire.doc.documents.irunattrsource |
---|
clearrunattrs, fetchinheritedrunattr, getdirectrunattr, getdirectrunattrbyindex, getdirectrunattrscount, setrunattr |
constructor detail |
---|
public tableofcontent(idocument doc)
tableofcontent
class.
doc
- the doc.public tableofcontent(idocument doc, java.lang.string switches)
tableofcontent
class.
doc
- the doc.switches
- the switches.method detail |
---|
public boolean getuseabsolutepos()
public void setuseabsolutepos(boolean value)
public boolean getuseheadingstyles()
public void setuseheadingstyles(boolean value)
value
- if it uses heading styles, set to public int getupperheadinglevel()
public void setupperheadinglevel(int value)
value
- the upper heading level.public int getlowerheadinglevel()
public void setlowerheadinglevel(int value)
value
- the starting heading level.public boolean getusetableentryfields()
public void setusetableentryfields(boolean value)
value
- if it uses table entry fields, set to public java.lang.string gettableid()
public void settableid(java.lang.string value)
value
- the table id.public boolean getrightalignpagenumbers()
public void setrightalignpagenumbers(boolean value)
value
- if right align of page numbers, set to public boolean getincludepagenumbers()
public void setincludepagenumbers(boolean value)
value
- if it includes page numbers, set to public boolean getusehyperlinks()
public void setusehyperlinks(boolean value)
value
- if it uses hyperlinks, set to public boolean getuseoutlinelevels()
public void setuseoutlinelevels(boolean value)
value
- if it uses outline levels, set to 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 |