ipagesetupbase-ag凯发旗舰厅



com.spire.xls.core.interfacess
interface ipagesetupbase

all known subinterfaces:
ichartpagesetup
all known implementing classes:
chartpagesetup, pagesetup, xlschartpagesetup, xlspagesetup, xlspagesetupbase

public interface ipagesetupbase

method summary
 boolean getautofirstpagenumber()
          indicates whether firstpagenumber is set to auto or not.
 com.spire.ms.system.drawing.image getbackgoundinnerimage()
          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.
 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.
 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.
 boolean getdraft()
          true if the sheet will be printed without graphics.
 int getfirstpagenumber()
          returns or sets the first page number that will be used when this sheet is printed.
 double getfootermargininch()
          returns or sets the distance from the bottom of the page to the footer, in inches.
 double getheadermargininch()
          returns or sets the distance from the top of the page to the header, in inches.
 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.
 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.
 double getleftmargin()
          returns or sets the size of the left margin, in inches.
 ordertype getorder()
          returns or sets the order that microsoft excel uses to number pages when printing a large worksheet.
 pageorientationtype getorientation()
          portrait or landscape printing mode.
 papersizetype getpapersize()
          returns or sets 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.
 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.
 double getrightmargin()
          returns or sets the size of the right margin, in inches.
 double gettopmargin()
          returns or sets the size of the top margin, in inches.
 int getzoom()
          returns or sets a percentage (between 10 and 400 percent) by which microsoft excel will scale the worksheet for printing.
 void setautofirstpagenumber(boolean value)
          indicates whether firstpagenumber is set to auto or not.
 void setbackgoundinnerimage(com.spire.ms.system.drawing.image value)
          gets / sets background image.
 void setblackandwhite(boolean value)
          true if elements of the document will be printed in black and white.
 void setbottommargin(double value)
          returns or sets the size of the bottom margin, in inches.
 void setcenterfooter(java.lang.string value)
          returns or sets the center part of the footer.
 void setcenterfooterimage(java.awt.image.bufferedimage value)
          gets / set image 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 value)
          gets / set image 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 setdraft(boolean value)
          true if the sheet will be printed without graphics.
 void setfirstpagenumber(int value)
          returns or sets the first page number that will be used when this sheet is printed.
 void setfootermargininch(double value)
          returns or sets the distance from the bottom of the page to the footer, in inches.
 void setheadermargininch(double value)
          returns or sets the distance from the top of the page to the header, in inches.
 void setleftfooter(java.lang.string value)
          returns or sets the left part of the footer.
 void setleftfooterimage(java.awt.image.bufferedimage value)
          gets / set image for left part of the footer.
 void setleftheader(java.lang.string value)
          returns or sets the left part of the header.
 void setleftheaderimage(java.awt.image.bufferedimage value)
          gets / set image for left part of the header.
 void setleftmargin(double value)
          returns or sets the size of the left margin, in inches.
 void setorder(ordertype value)
          returns or sets the order that microsoft excel uses to number pages when printing a large worksheet.
 void setorientation(pageorientationtype value)
          portrait or landscape printing mode.
 void setpapersize(papersizetype value)
          returns or 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 value)
          gets / set image 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 value)
          gets / set image for right part of the header.
 void setrightmargin(double value)
          returns or sets the size of the right margin, in inches.
 void settopmargin(double value)
          returns or sets the size of the top margin, in inches.
 void setzoom(int value)
          returns or sets a percentage (between 10 and 400 percent) by which microsoft excel will scale the worksheet for printing.
 
method detail

getautofirstpagenumber

boolean getautofirstpagenumber()
indicates whether firstpagenumber is set to auto or not.

setautofirstpagenumber

void setautofirstpagenumber(boolean value)
indicates whether firstpagenumber is set to auto or not.

getblackandwhite

boolean getblackandwhite()
true if elements of the document will be printed in black and white. read / write boolean.

setblackandwhite

void setblackandwhite(boolean value)
true if elements of the document will be printed in black and white. read / write boolean.

getbottommargin

double getbottommargin()
returns or sets the size of the bottom margin, in inches. read / write double.

setbottommargin

void setbottommargin(double value)
returns or sets the size of the bottom margin, in inches. read / write double.

getcenterfooter

java.lang.string getcenterfooter()
returns or sets the center part of the footer. read / write string.

setcenterfooter

void setcenterfooter(java.lang.string value)
returns or sets the center part of the footer. read / write string.

getcenterfooterimage

java.awt.image.bufferedimage getcenterfooterimage()
gets / set image for center part of the footer.

setcenterfooterimage

void setcenterfooterimage(java.awt.image.bufferedimage value)
gets / set image for center part of the footer.

getcenterheader

java.lang.string getcenterheader()
returns or sets the center part of the header. read / write string.

setcenterheader

void setcenterheader(java.lang.string value)
returns or sets the center part of the header. read / write string.

getcenterheaderimage

java.awt.image.bufferedimage getcenterheaderimage()
gets / set image for center part of the header.

setcenterheaderimage

void setcenterheaderimage(java.awt.image.bufferedimage value)
gets / set image for center part of the header.

getcenterhorizontally

boolean getcenterhorizontally()
true if the sheet is centered horizontally on the page when it is printed. read / write boolean.

setcenterhorizontally

void setcenterhorizontally(boolean value)
true if the sheet is centered horizontally on the page when it is printed. read / write boolean.

getcentervertically

boolean getcentervertically()
true if the sheet is centered vertically on the page when it is printed. read / write boolean.

setcentervertically

void setcentervertically(boolean value)
true if the sheet is centered vertically on the page when it is printed. read / write boolean.

getcopies

int getcopies()
number of copies to print.

setcopies

void setcopies(int value)
number of copies to print.

getdraft

boolean getdraft()
true if the sheet will be printed without graphics. read / write boolean.

setdraft

void setdraft(boolean value)
true if the sheet will be printed without graphics. read / write boolean.

getfirstpagenumber

int getfirstpagenumber()
returns or sets the first page number that will be used when this sheet is printed. if xlautomatic, microsoft excel chooses the first page number. the default is xlautomatic. read / write long.

setfirstpagenumber

void setfirstpagenumber(int value)
returns or sets the first page number that will be used when this sheet is printed. if xlautomatic, microsoft excel chooses the first page number. the default is xlautomatic. read / write long.

getfootermargininch

double getfootermargininch()
returns or sets the distance from the bottom of the page to the footer, in inches. read / write double.

setfootermargininch

void setfootermargininch(double value)
returns or sets the distance from the bottom of the page to the footer, in inches. read / write double.

getheadermargininch

double getheadermargininch()
returns or sets the distance from the top of the page to the header, in inches. read / write double.

setheadermargininch

void setheadermargininch(double value)
returns or sets the distance from the top of the page to the header, in inches. read / write double.

getleftfooter

java.lang.string getleftfooter()
returns or sets the left part of the footer. read / write string. &l left aligns the characters that follow. &c centers the characters that follow. &r right aligns the characters that follow. &e turns double-underline printing on or off. &x turns superscript printing on or off. &y turns subscript printing on or off. &b turns bold printing on or off. &i turns italic printing on or off. &u turns underline printing on or off. &s turns strikethrough printing on or off. &d prints the current date. &t prints the current time. &f prints the name of the document. &a prints the name of the workbook tab. &p prints the page number. &p number prints the page number plus the specified number. &p-number prints the page number minus the specified number. && prints a single ampersand. & "fontname" prints the characters that follow in the specified font. be sure to include the double quotation marks. &nn prints the characters that follow in the specified font size. use a two-digit number to specify a size in points. &n prints the total number of pages in the document.

setleftfooter

void setleftfooter(java.lang.string value)
returns or sets the left part of the footer. read / write string. &l left aligns the characters that follow. &c centers the characters that follow. &r right aligns the characters that follow. &e turns double-underline printing on or off. &x turns superscript printing on or off. &y turns subscript printing on or off. &b turns bold printing on or off. &i turns italic printing on or off. &u turns underline printing on or off. &s turns strikethrough printing on or off. &d prints the current date. &t prints the current time. &f prints the name of the document. &a prints the name of the workbook tab. &p prints the page number. &p number prints the page number plus the specified number. &p-number prints the page number minus the specified number. && prints a single ampersand. & "fontname" prints the characters that follow in the specified font. be sure to include the double quotation marks. &nn prints the characters that follow in the specified font size. use a two-digit number to specify a size in points. &n prints the total number of pages in the document.

getleftfooterimage

java.awt.image.bufferedimage getleftfooterimage()
gets / set image for left part of the footer.

setleftfooterimage

void setleftfooterimage(java.awt.image.bufferedimage value)
gets / set image for left part of the footer.

getleftheader

java.lang.string getleftheader()
returns or sets the left part of the header. read / write string.

setleftheader

void setleftheader(java.lang.string value)
returns or sets the left part of the header. read / write string.

getleftheaderimage

java.awt.image.bufferedimage getleftheaderimage()
gets / set image for left part of the header. public bufferedimage getleftheaderimage();

setleftheaderimage

void setleftheaderimage(java.awt.image.bufferedimage value)
gets / set image for left part of the header.

getleftmargin

double getleftmargin()
returns or sets the size of the left margin, in inches. read / write double.

setleftmargin

void setleftmargin(double value)
returns or sets the size of the left margin, in inches. read / write double.

getorder

ordertype getorder()
returns or sets the order that microsoft excel uses to number pages when printing a large worksheet. read / write excelorder.

setorder

void setorder(ordertype value)
returns or sets the order that microsoft excel uses to number pages when printing a large worksheet. read / write excelorder.

getorientation

pageorientationtype getorientation()
portrait or landscape printing mode. read / write excelpageorientation.

setorientation

void setorientation(pageorientationtype value)
portrait or landscape printing mode. read / write excelpageorientation.

getpapersize

papersizetype getpapersize()
returns or sets the size of the paper. read / write excelpapersize.

setpapersize

void setpapersize(papersizetype value)
returns or sets the size of the paper. read / write excelpapersize.

getprintcomments

printcommenttype getprintcomments()
returns or sets the way comments are printed with the sheet. read / write excelprintlocation.

setprintcomments

void setprintcomments(printcommenttype value)
returns or sets the way comments are printed with the sheet. read / write excelprintlocation.

getprinterrors

printerrorstype getprinterrors()
sets or returns an excelprinterrors constant specifying the type of print error displayed. this feature allows users to suppress the display of error values when printing a worksheet. read / write.

setprinterrors

void setprinterrors(printerrorstype value)
sets or returns an excelprinterrors constant specifying the type of print error displayed. this feature allows users to suppress the display of error values when printing a worksheet. read / write.

getprintnotes

boolean getprintnotes()
true if cell notes are printed as end notes with the sheet. applies only to worksheets. read / write boolean.

setprintnotes

void setprintnotes(boolean value)
true if cell notes are printed as end notes with the sheet. applies only to worksheets. read / write boolean.

getprintquality

int getprintquality()
returns or sets the print quality. read / write ushort.

setprintquality

void setprintquality(int value)
returns or sets the print quality. read / write ushort.

getrightfooter

java.lang.string getrightfooter()
returns or sets the right part of the footer. read / write string.

setrightfooter

void setrightfooter(java.lang.string value)
returns or sets the right part of the footer. read / write string.

getrightfooterimage

java.awt.image.bufferedimage getrightfooterimage()
gets / set image for right part of the footer.

setrightfooterimage

void setrightfooterimage(java.awt.image.bufferedimage value)
gets / set image for right part of the footer.

getrightheader

java.lang.string getrightheader()
returns or sets the right part of the header. read / write string.

setrightheader

void setrightheader(java.lang.string value)
returns or sets the right part of the header. read / write string.

getrightheaderimage

java.awt.image.bufferedimage getrightheaderimage()
gets / set image for right part of the header.

setrightheaderimage

void setrightheaderimage(java.awt.image.bufferedimage value)
gets / set image for right part of the header.

getrightmargin

double getrightmargin()
returns or sets the size of the right margin, in inches. read / write double.

setrightmargin

void setrightmargin(double value)
returns or sets the size of the right margin, in inches. read / write double.

gettopmargin

double gettopmargin()
returns or sets the size of the top margin, in inches. read / write double.

settopmargin

void settopmargin(double value)
returns or sets the size of the top margin, in inches. read / write double.

getzoom

int getzoom()
returns or sets a percentage (between 10 and 400 percent) by which microsoft excel will scale the worksheet for printing. applies only to worksheets. read / write ushort.

setzoom

void setzoom(int value)
returns or sets a percentage (between 10 and 400 percent) by which microsoft excel will scale the worksheet for printing. applies only to worksheets. read / write ushort.

getbackgoundinnerimage

com.spire.ms.system.drawing.image getbackgoundinnerimage()
gets / sets background image.

setbackgoundinnerimage

void setbackgoundinnerimage(com.spire.ms.system.drawing.image value)
gets / sets background image.


网站地图