|
|||||||||
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.documentcontainer
com.spire.doc.section
public class section
constructor summary | |
---|---|
section(idocument doc)
initializes a new instance of the section class. |
method summary | |
---|---|
column |
addcolumn(float width,
float spacing)
adds new column to the section. |
paragraph |
addparagraph()
adds the paragraph. |
table |
addtable()
adds the table. |
table |
addtable(boolean showborder)
adds a table. |
void |
clonesectionpropertiesto(section destsection)
clones the properties of the current to the destination section. |
section |
deepclone()
clones it self. |
body |
getbody()
gets the section body. |
sectionbreaktype |
getbreakcode()
gets break code. |
documentobjectcollection |
getchildobjects()
gets the child objects. |
columncollection |
getcolumns()
get collection of columns which logically divide page on many. |
documentobjecttype |
getdocumentobjecttype()
gets the type of the document object |
footendnoteoptions |
getendnoteoptions()
gets options that control numbering and positioning of endnotes in current section. |
footendnoteoptions |
getfootnoteoptions()
gets options that control numbering and positioning of footnote in current section. |
headersfooters |
getheadersfooters()
gets headers/footers of current section. |
pagesetup |
getpagesetup()
gets page setup of current section. |
paragraphcollection |
getparagraphs()
gets the paragraphs. |
boolean |
getprotectform()
gets a value indicating whether [protect form]. |
tablecollection |
gettables()
gets the tables. |
textdirection |
gettextdirection()
gets the text direction. |
void |
makecolumnssamewidth()
makes all columns in current section to be of equal width. |
void |
setbreakcode(sectionbreaktype value)
sets break code. |
void |
setprotectform(boolean value)
sets a value indicating whether [protect form]. |
void |
settextdirection(textdirection value)
sets the text direction. |
methods inherited from class com.spire.doc.documentobject |
---|
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 |
---|
getdocument, getnextsibling, getowner, getprevioussibling, iscomposite |
constructor detail |
---|
public section(idocument doc)
section
class.
doc
- the doc.method detail |
---|
public body getbody()
getbody
in interface isection
public footendnoteoptions getendnoteoptions()
public footendnoteoptions getfootnoteoptions()
public headersfooters getheadersfooters()
getheadersfooters
in interface isection
public pagesetup getpagesetup()
getpagesetup
in interface isection
public columncollection getcolumns()
getcolumns
in interface isection
public sectionbreaktype getbreakcode()
getbreakcode
in interface isection
public void setbreakcode(sectionbreaktype value)
setbreakcode
in interface isection
value
- sectionbreaktypepublic documentobjecttype getdocumentobjecttype()
getdocumentobjecttype
in interface idocumentobject
getdocumentobjecttype
in class documentobject
public documentobjectcollection getchildobjects()
getchildobjects
in interface icompositeobject
getchildobjects
in class documentobject
public paragraphcollection getparagraphs()
getparagraphs
in interface isection
public tablecollection gettables()
gettables
in interface isection
public textdirection gettextdirection()
public void settextdirection(textdirection value)
value
- the text direction.public boolean getprotectform()
getprotectform
in interface isection
public void setprotectform(boolean value)
setprotectform
in interface isection
value
- true if [protect form]; otherwise, falsepublic column addcolumn(float width, float spacing)
addcolumn
in interface isection
width
- the width.spacing
- the spacing.
public void makecolumnssamewidth()
makecolumnssamewidth
in interface isection
public section deepclone()
deepclone
in interface idocumentobject
deepclone
in interface isection
deepclone
in class documentobject
public void clonesectionpropertiesto(section destsection)
destsection
- the destination section.public paragraph addparagraph()
addparagraph
in interface isection
public table addtable()
addtable
in interface isection
public table addtable(boolean showborder)
showborder
- display table borders.true to display;false does not display.
|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |