|
|||||||||
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.pagesetup
public class pagesetup
method summary | |
---|---|
boolean |
getbidi()
gets whether section contains right-to-left text. |
borders |
getborders()
gets page borders collection |
characterspacing |
getcharacterspacingcontrol()
gets character spacing control. |
float |
getclientheight()
gets width of client area. |
float |
getclientwidth()
gets width of client area. |
float |
getdefaulttabwidth()
gets the length of the auto tab. |
boolean |
getdifferentfirstpageheaderfooter()
|
boolean |
getdifferentoddandevenpagesheaderfooter()
setting to specify that the current section has a different header/footer for first page. |
boolean |
getequalcolumnwidth()
gets a value indicating whether equal column width. |
float |
getfooterdistance()
gets footer height in points. |
float |
getgutter()
gets or sets extra space added to the margin for document binding in points. |
float |
getheaderdistance()
gets height of header in points. |
float |
getlinenumberingdistancefromtext()
gets distance from text in lines numbering |
linenumberingrestartmode |
getlinenumberingrestartmode()
return line numbering mode |
int |
getlinenumberingstartvalue()
gets line numbering start value |
int |
getlinenumberingstep()
gets line numbering step |
marginsf |
getmargins()
gets page margins in points. |
pageorientation |
getorientation()
gets orientation of a page. |
boolean |
getpageborderincludefooter()
gets a value indicating whether the page border include the footer. |
boolean |
getpageborderincludeheader()
gets a value indicating whether the page border include the header. |
pageborderoffsetfrom |
getpageborderoffsetfrom()
gets the position of page border |
pagebordersapplytype |
getpagebordersapplytype()
gets the value that determine on which pages border is applied |
pagenumberstyle |
getpagenumberstyle()
gets the page number style. |
java.awt.geom.dimension2d |
getpagesize()
gets page size in points. |
int |
getpagestartingnumber()
gets the page starting number. |
boolean |
getrestartpagenumbering()
gets a value indicating whether to restart page numbering. |
pagealignment |
getverticalalignment()
gets vertical alignment. |
void |
insertpagenumbers(boolean fromtoppage,
pagenumberalignment horizontalalignment)
inserts the page numbers. |
boolean |
isfrontpageborder()
gets a value indicating whether this instance is front page border. |
void |
isfrontpageborder(boolean value)
sets a value indicating whether this instance is front page border. |
void |
setbidi(boolean value)
sets whether section contains right-to-left text. |
void |
setcharacterspacingcontrol(characterspacing value)
sets character spacing control. |
void |
setcolumnslinebetween(boolean value)
sets the value specifies if a vertical line is draw between each of the text columns in the this section. |
void |
setdefaulttabwidth(float value)
sets the length of the auto tab. |
void |
setdifferentfirstpageheaderfooter(boolean value)
setting to specify that the current section has a different header/footer for first page. |
void |
setdifferentoddandevenpagesheaderfooter(boolean value)
true if the document has different headers and footers for odd-numbered and even-numbered pages. |
void |
setequalcolumnwidth(boolean value)
sets a value indicating whether equal column width. |
void |
setfooterdistance(float value)
sets footer height in points. |
void |
setgutter(float value)
sets extra space added to the margin for document binding in points. |
void |
setheaderdistance(float value)
sets height of header in points. |
void |
setlinenumberingdistancefromtext(float value)
sets distance from text in lines numbering |
void |
setlinenumberingrestartmode(linenumberingrestartmode value)
sets line numbering mode |
void |
setlinenumberingstartvalue(int value)
sets line numbering start value |
void |
setlinenumberingstep(int value)
sets line numbering step |
void |
setmargins(marginsf value)
sets page margins in points. |
void |
setorientation(pageorientation value)
sets orientation of a page. |
void |
setpageborderincludefooter(boolean value)
sets a value indicating whether the page border include the footer. |
void |
setpageborderincludeheader(boolean value)
sets a value indicating whether the page border include the header. |
void |
setpageborderoffsetfrom(pageborderoffsetfrom value)
sets the position of page border |
void |
setpagebordersapplytype(pagebordersapplytype value)
sets the value that determine on which pages border is applied |
void |
setpagenumberstyle(pagenumberstyle value)
sets the page number style. |
void |
setpagesize(java.awt.geom.dimension2d value)
sets page size in points. |
void |
setpagestartingnumber(int value)
sets the page starting number. |
void |
setrestartpagenumbering(boolean value)
sets a value indicating whether to restart page numbering. |
void |
setverticalalignment(pagealignment value)
sets vertical alignment. |
java.lang.string |
tostring()
|
methods inherited from class com.spire.doc.ownerholder |
---|
getdocument |
method detail |
---|
public float getgutter()
public void setgutter(float value)
value
- the gutter size.public float getdefaulttabwidth()
public void setdefaulttabwidth(float value)
value
- the length of the auto tab.public java.awt.geom.dimension2d getpagesize()
public void setpagesize(java.awt.geom.dimension2d value)
value
- sizefpublic pageorientation getorientation()
public void setorientation(pageorientation value)
value
- pageorientationpublic pagealignment getverticalalignment()
public void setverticalalignment(pagealignment value)
value
- pagealignmentpublic marginsf getmargins()
public void setmargins(marginsf value)
value
- marginsfpublic float getheaderdistance()
public void setheaderdistance(float value)
value
- floatpublic float getfooterdistance()
public void setfooterdistance(float value)
value
- floatpublic float getclientwidth()
public float getclientheight()
public boolean getdifferentfirstpageheaderfooter()
public void setdifferentfirstpageheaderfooter(boolean value)
value
- a boolean valuepublic boolean getdifferentoddandevenpagesheaderfooter()
public void setdifferentoddandevenpagesheaderfooter(boolean value)
value
- booleanpublic linenumberingrestartmode getlinenumberingrestartmode()
public void setlinenumberingrestartmode(linenumberingrestartmode value)
value
- a line numbering modepublic int getlinenumberingstep()
public void setlinenumberingstep(int value)
value
- line numbering steppublic int getlinenumberingstartvalue()
public void setlinenumberingstartvalue(int value)
value
- line numbering start valuepublic float getlinenumberingdistancefromtext()
public void setlinenumberingdistancefromtext(float value)
value
- distance from text in lines numberingpublic pagebordersapplytype getpagebordersapplytype()
public void setpagebordersapplytype(pagebordersapplytype value)
value
- the pagebordersapplytypepublic pageborderoffsetfrom getpageborderoffsetfrom()
public void setpageborderoffsetfrom(pageborderoffsetfrom value)
value
- pageborderoffsetfrompublic boolean isfrontpageborder()
public void isfrontpageborder(boolean value)
value
- a boolean valuepublic boolean getpageborderincludeheader()
public void setpageborderincludeheader(boolean value)
value
- a boolean valuepublic boolean getpageborderincludefooter()
public void setpageborderincludefooter(boolean value)
value
- a boolean valuepublic borders getborders()
public boolean getbidi()
public void setbidi(boolean value)
value
- booleanpublic boolean getequalcolumnwidth()
public void setequalcolumnwidth(boolean value)
value
- true if equal column width; otherwise, falsepublic pagenumberstyle getpagenumberstyle()
public void setpagenumberstyle(pagenumberstyle value)
value
- the page number style.public int getpagestartingnumber()
public void setpagestartingnumber(int value)
value
- the page starting number.public boolean getrestartpagenumbering()
public void setrestartpagenumbering(boolean value)
value
- if restart page numbering, set to truepublic void setcolumnslinebetween(boolean value)
value
- booleanpublic characterspacing getcharacterspacingcontrol()
public void setcharacterspacingcontrol(characterspacing value)
value
- characterspacingpublic void insertpagenumbers(boolean fromtoppage, pagenumberalignment horizontalalignment)
fromtoppage
- if it specifies the top of page, set to truehorizontalalignment
- the horizontal alignment.public java.lang.string tostring()
tostring
in class java.lang.object
|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |