|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |
java.lang.objectcom.spire.xls.core.spreadsheet.xlsobject
com.spire.xls.core.spreadsheet.xlspagesetupbase
public class xlspagesetupbase
summary description for pagesetupbaseimpl.
constructor summary | |
---|---|
xlspagesetupbase(java.lang.object parent)
|
method summary | |
---|---|
byte |
getalignwithmargins()
indicates whether align header footer margins with page margins.default value is 1 |
boolean |
getautofirstpagenumber()
indicates whether firstpagenumber is set to auto or not. |
java.awt.image.bufferedimage |
getbackgoundimage()
gets / sets background image. |
boolean |
getblackandwhite()
true if elements of the document will be printed in black and white. |
double |
getbottommargin()
returns or sets the size of the bottom margin, in inches. |
java.lang.string |
getcenterfooter()
returns or sets the center part of the footer. |
java.awt.image.bufferedimage |
getcenterfooterimage()
gets / set image for center part of the footer. |
int |
getcenterfooterpictureheight()
gets or set height of picture for center part of the footer. |
int |
getcenterfooterpicturewidth()
gets or set width of picture for center part of the footer. |
java.lang.string |
getcenterheader()
returns or sets the center part of the header. |
java.awt.image.bufferedimage |
getcenterheaderimage()
gets / set image for center part of the header. |
int |
getcenterheaderpictureheight()
gets or set height of picture for center part of the header. |
int |
getcenterheaderpicturewidth()
gets or set width of picture for center part of the header. |
boolean |
getcenterhorizontally()
true if the sheet is centered horizontally on the page when it is printed. |
boolean |
getcentervertically()
true if the sheet is centered vertically on the page when it is printed. |
int |
getcopies()
number of copies to print. |
byte |
getdifferentfirst()
indicates whether different first page header and footer.default value is 0 |
byte |
getdifferentoddeven()
indicates whether different odd and even page headers and footers.default value is 0 |
boolean |
getdraft()
true if the sheet will be printed without graphics. |
java.lang.string |
getevenfooterstring()
gets oddeven page footer string. |
java.lang.string |
getevenheaderstring()
gets even page header string. |
java.lang.string |
getfirstfooterstring()
gets first page footer string. |
java.lang.string |
getfirstheaderstring()
represents first page header string. |
int |
getfirstpagenumber()
returns or sets the first page number that will be used when this sheet is printed. |
int |
getfittopagestall()
returns or sets the number of pages tall the worksheet will be scaled to when it is printed. |
int |
getfittopageswide()
returns or sets the number of pages wide the worksheet will be scaled to when it is printed. |
double |
getfootermargininch()
returns or sets the distance from the bottom of the page to the footer, in inches. |
java.lang.string |
getfullfooterstring()
gets footer full string. |
java.lang.string |
getfullheaderstring()
represents full header string. |
double |
getheadermargininch()
returns or sets the distance from the top of the page to the header, in inches. |
int |
gethresolution()
gets or sets horizontal resolution in dpi. |
java.lang.string |
getleftfooter()
returns or sets the left part of the footer. |
java.awt.image.bufferedimage |
getleftfooterimage()
gets / set image for left part of the footer. |
int |
getleftfooterpictureheight()
gets or set height of picture for left part of the footer. |
int |
getleftfooterpicturewidth()
gets or set width of picture for left part of the footer. |
java.lang.string |
getleftheader()
returns or sets the left part of the header. |
java.awt.image.bufferedimage |
getleftheaderimage()
gets / set image for left part of the header. |
int |
getleftheaderpictureheight()
gets or set height of picture for left part of the header. |
int |
getleftheaderpicturewidth()
gets or set width of picture for left part of the header. |
double |
getleftmargin()
returns the size of the left margin, in inches. |
java.lang.string |
getoddfooterstring()
gets odd page footer string. |
java.lang.string |
getoddheaderstring()
gets odd page header string. |
ordertype |
getorder()
returns order that microsoft excel uses to number pages when printing a large worksheet. |
pageorientationtype |
getorientation()
portrait or landscape printing mode. |
double |
getpageheight()
returns page width in points. |
double |
getpagewidth()
returns page width in points. |
papersizetype |
getpapersize()
returns the size of the paper. |
printcommenttype |
getprintcomments()
returns or sets the way comments are printed with the sheet. |
printerrorstype |
getprinterrors()
sets or returns an excelprinterrors constant specifying the type of print error displayed. |
boolean |
getprintnotes()
true if cell notes are printed as end notes with the sheet. |
int |
getprintquality()
returns or sets the print quality. |
java.lang.string |
getrightfooter()
returns or sets the right part of the footer. |
java.awt.image.bufferedimage |
getrightfooterimage()
gets / set image for right part of the footer. |
int |
getrightfooterpictureheight()
gets or set height of picture for right part of the footer. |
int |
getrightfooterpicturewidth()
gets or set width of picture for right part of the footer. |
java.lang.string |
getrightheader()
returns or sets the right part of the header. |
java.awt.image.bufferedimage |
getrightheaderimage()
gets / set image for right part of the header. |
int |
getrightheaderpictureheight()
gets or set height of picture for right part of the header. |
int |
getrightheaderpicturewidth()
gets or set width of picture for right part of the header. |
double |
getrightmargin()
returns the size of the right margin, in inches. |
byte |
getscalewithdoc()
indicates whether scale header and footer with document scaling.default value is 1 |
double |
gettopmargin()
returns the size of the top margin, in inches. |
int |
getvresolution()
gets vertical resolution in dpi. |
int |
getzoom()
returns a percentage (between 10 and 400 percent) by which microsoft excel will scale the worksheet for printing. |
void |
setalignwithmargins(byte value)
indicates whether align header footer margins with page margins.default value is 1 |
void |
setautofirstpagenumber(boolean value)
indicates whether firstpagenumber is set to auto or not. |
void |
setbackgoundimage(java.awt.image.bufferedimage image)
gets / sets background image. |
void |
setblackandwhite(boolean value)
true if elements of the document will be printed in black and white. |
void |
setbottommargin(double bottommargin)
sets the size of the bottom margin, in inches. |
void |
setcenterfooter(java.lang.string centerfooter)
sets the center part of the footer. |
void |
setcenterfooterimage(java.awt.image.bufferedimage image)
sets image for center part of the footer. |
void |
setcenterfooterpictureheight(int value)
gets or set height of picture for center part of the footer. |
void |
setcenterfooterpicturewidth(int value)
gets or set width of picture for center part of the footer. |
void |
setcenterheader(java.lang.string value)
returns or sets the center part of the header. |
void |
setcenterheaderimage(java.awt.image.bufferedimage image)
gets / set image for center part of the header. |
void |
setcenterheaderimage(java.awt.image.bufferedimage image,
float scale)
|
void |
setcenterheaderpictureheight(int value)
gets or set height of picture for center part of the header. |
void |
setcenterheaderpicturewidth(int value)
gets or set width of picture for center part of the header. |
void |
setcenterhorizontally(boolean value)
true if the sheet is centered horizontally on the page when it is printed. |
void |
setcentervertically(boolean value)
true if the sheet is centered vertically on the page when it is printed. |
void |
setcopies(int value)
number of copies to print. |
void |
setdifferentfirst(byte value)
indicates whether different first page header and footer.default value is 0 |
void |
setdifferentoddeven(byte differentoddeven)
indicates whether different odd and even page headers and footers. |
void |
setdraft(boolean value)
true if the sheet will be printed without graphics. |
void |
setevenfooterstring(java.lang.string evenfooterstring)
sets odd even page footer string. |
void |
setevenheaderstring(java.lang.string evenheaderstring)
sets even page header string. |
void |
setfirstfooterstring(java.lang.string value)
gets first page footer string. |
void |
setfirstheaderstring(java.lang.string value)
represents first page header string. |
void |
setfirstpagenumber(int value)
returns or sets the first page number that will be used when this sheet is printed. |
void |
setfittopagestall(int value)
returns or sets the number of pages tall the worksheet will be scaled to when it is printed. |
void |
setfittopageswide(int value)
returns or sets the number of pages wide the worksheet will be scaled to when it is printed. |
void |
setfootermargininch(double value)
returns or sets the distance from the bottom of the page to the footer, in inches. |
void |
setfullfooterstring(java.lang.string value)
gets footer full string. |
void |
setfullheaderstring(java.lang.string value)
represents full header string. |
void |
setheadermargininch(double value)
returns or sets the distance from the top of the page to the header, in inches. |
void |
sethresolution(int value)
gets or sets horizontal resolution in dpi. |
void |
setleftfooter(java.lang.string value)
returns or sets the left part of the footer. |
void |
setleftfooterimage(java.awt.image.bufferedimage value)
set image for left part of the footer. |
void |
setleftfooterpictureheight(int value)
gets or set height of picture for left part of the footer. |
void |
setleftfooterpicturewidth(int value)
gets or set width of picture for left part of the footer. |
void |
setleftheader(java.lang.string leftheader)
sets the left part of the header. |
void |
setleftheaderimage(java.awt.image.bufferedimage bufferedimage)
sets image for left part of the header. |
void |
setleftheaderimage(java.awt.image.bufferedimage bufferedimage,
float scale)
sets image for left part of the header. |
void |
setleftheaderpictureheight(int value)
gets or set height of picture for left part of the header. |
void |
setleftheaderpicturewidth(int value)
gets or set width of picture for left part of the header. |
void |
setleftmargin(double leftmargin)
sets the value of the left margin, in inches. |
void |
setoddfooterstring(java.lang.string oddfooterstring)
sets odd page footer string. |
void |
setoddheaderstring(java.lang.string oddheaderstring)
sets odd page header string. |
void |
setorder(ordertype value)
sets the order that microsoft excel uses to number pages when printing a large worksheet. |
void |
setorientation(pageorientationtype orientation)
sets portrait or landscape printing mode. |
void |
setpapersize(papersizetype papersize)
sets the size of the paper. |
void |
setprintcomments(printcommenttype value)
returns or sets the way comments are printed with the sheet. |
void |
setprinterrors(printerrorstype value)
sets or returns an excelprinterrors constant specifying the type of print error displayed. |
void |
setprintnotes(boolean value)
true if cell notes are printed as end notes with the sheet. |
void |
setprintquality(int value)
returns or sets the print quality. |
void |
setrightfooter(java.lang.string value)
returns or sets the right part of the footer. |
void |
setrightfooterimage(java.awt.image.bufferedimage image)
set image for right part of the footer. |
void |
setrightfooterpictureheight(int value)
gets or set height of picture for right part of the footer. |
void |
setrightfooterpicturewidth(int value)
gets or set width of picture for right part of the footer. |
void |
setrightheader(java.lang.string value)
returns or sets the right part of the header. |
void |
setrightheaderimage(java.awt.image.bufferedimage bufferedimage)
set image for right part of the header. |
void |
setrightheaderimage(java.awt.image.bufferedimage bufferedimage,
float scale)
set image for right part of the header. |
void |
setrightheaderpictureheight(int value)
gets or set height of picture for right part of the header. |
void |
setrightheaderpicturewidth(int value)
gets or set width of picture for right part of the header. |
void |
setrightmargin(double rightmargin)
sets the size of the right margin, in inches. |
void |
setscalewithdoc(byte value)
indicates whether scale header and footer with document scaling.default value is 1 |
void |
settopmargin(double topmargin)
sets the size of the top margin, in inches. |
void |
setvresolution(int value)
sets vertical resolution in dpi. |
void |
setzoom(int value)
sets a percentage (between 10 and 400 percent) by which microsoft excel will scale the worksheet for printing. |
methods inherited from class com.spire.xls.core.spreadsheet.xlsobject |
---|
dispose |
methods inherited from interface com.spire.xls.core.interfacess.ipagesetupbase |
---|
getbackgoundinnerimage, setbackgoundinnerimage |
constructor detail |
---|
public xlspagesetupbase(java.lang.object parent)
method detail |
---|
public boolean getautofirstpagenumber()
getautofirstpagenumber
in interface ipagesetupbase
public void setautofirstpagenumber(boolean value)
setautofirstpagenumber
in interface ipagesetupbase
public boolean getblackandwhite()
getblackandwhite
in interface ipagesetupbase
public void setblackandwhite(boolean value)
setblackandwhite
in interface ipagesetupbase
public double getbottommargin()
getbottommargin
in interface ipagesetupbase
public void setbottommargin(double bottommargin)
setbottommargin
in interface ipagesetupbase
public java.lang.string getcenterfooter()
getcenterfooter
in interface ipagesetupbase
public void setcenterfooter(java.lang.string centerfooter)
setcenterfooter
in interface ipagesetupbase
public java.awt.image.bufferedimage getcenterfooterimage()
getcenterfooterimage
in interface ipagesetupbase
public void setcenterfooterimage(java.awt.image.bufferedimage image)
setcenterfooterimage
in interface ipagesetupbase
image
- public java.lang.string getcenterheader()
getcenterheader
in interface ipagesetupbase
public void setcenterheader(java.lang.string value)
setcenterheader
in interface ipagesetupbase
public java.awt.image.bufferedimage getcenterheaderimage()
getcenterheaderimage
in interface ipagesetupbase
public void setcenterheaderimage(java.awt.image.bufferedimage image)
ipagesetupbase
setcenterheaderimage
in interface ipagesetupbase
public void setcenterheaderimage(java.awt.image.bufferedimage image, float scale)
public boolean getcenterhorizontally()
getcenterhorizontally
in interface ipagesetupbase
public void setcenterhorizontally(boolean value)
setcenterhorizontally
in interface ipagesetupbase
public boolean getcentervertically()
getcentervertically
in interface ipagesetupbase
public void setcentervertically(boolean value)
setcentervertically
in interface ipagesetupbase
public int getcopies()
getcopies
in interface ipagesetupbase
public void setcopies(int value)
setcopies
in interface ipagesetupbase
public boolean getdraft()
getdraft
in interface ipagesetupbase
public void setdraft(boolean value)
setdraft
in interface ipagesetupbase
public int getfirstpagenumber()
getfirstpagenumber
in interface ipagesetupbase
public void setfirstpagenumber(int value)
setfirstpagenumber
in interface ipagesetupbase
public double getfootermargininch()
getfootermargininch
in interface ipagesetupbase
public void setfootermargininch(double value)
setfootermargininch
in interface ipagesetupbase
public int getfittopagestall()
public void setfittopagestall(int value)
public int getfittopageswide()
public void setfittopageswide(int value)
public double getheadermargininch()
getheadermargininch
in interface ipagesetupbase
public void setheadermargininch(double value)
setheadermargininch
in interface ipagesetupbase
public int gethresolution()
public void sethresolution(int value)
public java.lang.string getfullheaderstring()
public void setfullheaderstring(java.lang.string value)
public java.lang.string getfullfooterstring()
public void setfullfooterstring(java.lang.string value)
public java.lang.string getfirstheaderstring()
public void setfirstheaderstring(java.lang.string value)
public java.lang.string getfirstfooterstring()
public void setfirstfooterstring(java.lang.string value)
public java.lang.string getoddheaderstring()
public void setoddheaderstring(java.lang.string oddheaderstring)
public java.lang.string getoddfooterstring()
public void setoddfooterstring(java.lang.string oddfooterstring)
public java.lang.string getevenheaderstring()
public void setevenheaderstring(java.lang.string evenheaderstring)
public java.lang.string getevenfooterstring()
public void setevenfooterstring(java.lang.string evenfooterstring)
public byte getalignwithmargins()
public void setalignwithmargins(byte value)
public byte getdifferentoddeven()
public void setdifferentoddeven(byte differentoddeven)
public byte getscalewithdoc()
public void setscalewithdoc(byte value)
public byte getdifferentfirst()
public void setdifferentfirst(byte value)
public int getvresolution()
public void setvresolution(int value)
public java.lang.string getleftfooter()
getleftfooter
in interface ipagesetupbase
public void setleftfooter(java.lang.string value)
setleftfooter
in interface ipagesetupbase
public java.awt.image.bufferedimage getleftfooterimage()
getleftfooterimage
in interface ipagesetupbase
public void setleftfooterimage(java.awt.image.bufferedimage value)
setleftfooterimage
in interface ipagesetupbase
value
- public java.lang.string getleftheader()
getleftheader
in interface ipagesetupbase
public void setleftheader(java.lang.string leftheader)
setleftheader
in interface ipagesetupbase
public java.awt.image.bufferedimage getleftheaderimage()
getleftheaderimage
in interface ipagesetupbase
public void setleftheaderimage(java.awt.image.bufferedimage bufferedimage)
setleftheaderimage
in interface ipagesetupbase
bufferedimage
- public void setleftheaderimage(java.awt.image.bufferedimage bufferedimage, float scale)
bufferedimage
- scale
- public double getleftmargin()
getleftmargin
in interface ipagesetupbase
public void setleftmargin(double leftmargin)
setleftmargin
in interface ipagesetupbase
public ordertype getorder()
getorder
in interface ipagesetupbase
public void setorder(ordertype value)
setorder
in interface ipagesetupbase
public pageorientationtype getorientation()
getorientation
in interface ipagesetupbase
public void setorientation(pageorientationtype orientation)
setorientation
in interface ipagesetupbase
public papersizetype getpapersize()
getpapersize
in interface ipagesetupbase
public void setpapersize(papersizetype papersize)
setpapersize
in interface ipagesetupbase
public printcommenttype getprintcomments()
getprintcomments
in interface ipagesetupbase
public void setprintcomments(printcommenttype value)
setprintcomments
in interface ipagesetupbase
public printerrorstype getprinterrors()
getprinterrors
in interface ipagesetupbase
public void setprinterrors(printerrorstype value)
setprinterrors
in interface ipagesetupbase
public boolean getprintnotes()
getprintnotes
in interface ipagesetupbase
public void setprintnotes(boolean value)
setprintnotes
in interface ipagesetupbase
public int getprintquality()
getprintquality
in interface ipagesetupbase
public void setprintquality(int value)
setprintquality
in interface ipagesetupbase
public java.lang.string getrightfooter()
getrightfooter
in interface ipagesetupbase
public void setrightfooter(java.lang.string value)
setrightfooter
in interface ipagesetupbase
public java.awt.image.bufferedimage getrightfooterimage()
getrightfooterimage
in interface ipagesetupbase
public void setrightfooterimage(java.awt.image.bufferedimage image)
setrightfooterimage
in interface ipagesetupbase
image
- public java.lang.string getrightheader()
getrightheader
in interface ipagesetupbase
public void setrightheader(java.lang.string value)
setrightheader
in interface ipagesetupbase
public java.awt.image.bufferedimage getrightheaderimage()
getrightheaderimage
in interface ipagesetupbase
public void setrightheaderimage(java.awt.image.bufferedimage bufferedimage)
setrightheaderimage
in interface ipagesetupbase
bufferedimage
- public void setrightheaderimage(java.awt.image.bufferedimage bufferedimage, float scale)
bufferedimage
- scale
- public double getrightmargin()
getrightmargin
in interface ipagesetupbase
public void setrightmargin(double rightmargin)
setrightmargin
in interface ipagesetupbase
public double gettopmargin()
gettopmargin
in interface ipagesetupbase
public void settopmargin(double topmargin)
settopmargin
in interface ipagesetupbase
public int getzoom()
getzoom
in interface ipagesetupbase
public void setzoom(int value)
setzoom
in interface ipagesetupbase
public int getcenterfooterpicturewidth()
public void setcenterfooterpicturewidth(int value)
public int getcenterfooterpictureheight()
public void setcenterfooterpictureheight(int value)
public int getcenterheaderpicturewidth()
public void setcenterheaderpicturewidth(int value)
public int getcenterheaderpictureheight()
public void setcenterheaderpictureheight(int value)
public int getleftfooterpicturewidth()
public void setleftfooterpicturewidth(int value)
public int getleftfooterpictureheight()
public void setleftfooterpictureheight(int value)
public int getleftheaderpicturewidth()
public void setleftheaderpicturewidth(int value)
public int getleftheaderpictureheight()
public void setleftheaderpictureheight(int value)
public int getrightfooterpicturewidth()
public void setrightfooterpicturewidth(int value)
public int getrightfooterpictureheight()
public void setrightfooterpictureheight(int value)
public int getrightheaderpicturewidth()
public void setrightheaderpicturewidth(int value)
public int getrightheaderpictureheight()
public void setrightheaderpictureheight(int value)
public java.awt.image.bufferedimage getbackgoundimage()
public void setbackgoundimage(java.awt.image.bufferedimage image)
image
- public double getpagewidth()
public double getpageheight()
|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |