com.spire.xls.core.spreadsheet
Class XlsPageSetup
java.lang.Object
com.spire.xls.core.spreadsheet.XlsObject
com.spire.xls.core.spreadsheet.XlsPageSetupBase
com.spire.xls.core.spreadsheet.XlsPageSetup
- All Implemented Interfaces:
- IPageSetupBase
- Direct Known Subclasses:
- PageSetup
public class XlsPageSetup
- extends XlsPageSetupBase
Constructor Summary |
XlsPageSetup(java.lang.Object parent)
Sets application and parent fields. |
Method Summary |
int |
getDefaultRowHeight()
Gets or sets default row height. |
java.lang.String |
getPrintArea()
Returns or sets the range to be printed, as a string using A1-style
references in the language of the macro. |
java.lang.String |
getPrintTitleColumns()
Returns or sets the columns that contain the cells to be repeated
on the left side of each page, as a string in A1-style notation
in the language of the macro. |
java.lang.String |
getPrintTitleRows()
Returns or sets the rows that contain the cells to be repeated at
the top of each page, as a string in A1-style notation in the
language of the macro. |
boolean |
isFitToPage()
Indicates whether fit to page mode is selected. |
void |
isFitToPage(boolean value)
Indicates whether fit to page mode is selected. |
boolean |
isPrintGridlines()
True if cell gridlines are printed on the page. |
void |
isPrintGridlines(boolean value)
True if cell gridlines are printed on the page. |
boolean |
isPrintHeadings()
True if row and column headings are printed with this page. |
void |
isPrintHeadings(boolean value)
True if row and column headings are printed with this page. |
boolean |
isSummaryColumnRight()
Indicates whether summary columns will appear right of the detail in outlines. |
void |
isSummaryColumnRight(boolean value)
Indicates whether summary columns will appear right of the detail in outlines. |
boolean |
isSummaryRowBelow()
Indicates whether summary rows will appear below detail in outlines. |
void |
isSummaryRowBelow(boolean value)
Indicates whether summary rows will appear below detail in outlines. |
void |
setDefaultRowHeight(int value)
Gets or sets default row height. |
void |
setPrintArea(java.lang.String value)
Returns or sets the range to be printed, as a string using A1-style
references in the language of the macro. |
void |
setPrintTitleColumns(java.lang.String value)
Returns or sets the columns that contain the cells to be repeated
on the left side of each page, as a string in A1-style notation
in the language of the macro. |
void |
setPrintTitleRows(java.lang.String value)
Returns or sets the rows that contain the cells to be repeated at
the top of each page, as a string in A1-style notation in the
language of the macro. |
Methods inherited from class com.spire.xls.core.spreadsheet.XlsPageSetupBase |
getAlignWithMargins, getAutoFirstPageNumber, getBackgoundImage, getBlackAndWhite, getBottomMargin, getCenterFooter, getCenterFooterImage, getCenterFooterPictureHeight, getCenterFooterPictureWidth, getCenterHeader, getCenterHeaderImage, getCenterHeaderPictureHeight, getCenterHeaderPictureWidth, getCenterHorizontally, getCenterVertically, getCopies, getDifferentFirst, getDifferentOddEven, getDraft, getEvenFooterString, getEvenHeaderString, getFirstFooterString, getFirstHeaderString, getFirstPageNumber, getFitToPagesTall, getFitToPagesWide, getFooterMarginInch, getFullFooterString, getFullHeaderString, getHeaderMarginInch, getHResolution, getLeftFooter, getLeftFooterImage, getLeftFooterPictureHeight, getLeftFooterPictureWidth, getLeftHeader, getLeftHeaderImage, getLeftHeaderPictureHeight, getLeftHeaderPictureWidth, getLeftMargin, getOddFooterString, getOddHeaderString, getOrder, getOrientation, getPageHeight, getPageWidth, getPaperSize, getPrintComments, getPrintErrors, getRightFooter, getRightFooterImage, getRightFooterPictureHeight, getRightFooterPictureWidth, getRightHeader, getRightHeaderImage, getRightHeaderPictureHeight, getRightHeaderPictureWidth, getRightMargin, getScaleWithDoc, getTopMargin, getVResolution, getZoom, setAlignWithMargins, setAutoFirstPageNumber, setBackgoundImage, setBlackAndWhite, setBottomMargin, setCenterFooter, setCenterFooterImage, setCenterFooterPictureHeight, setCenterFooterPictureWidth, setCenterHeader, setCenterHeaderImage, setCenterHeaderImage, setCenterHeaderPictureHeight, setCenterHeaderPictureWidth, setCenterHorizontally, setCenterVertically, setCopies, setDifferentFirst, setDifferentOddEven, setDraft, setEvenFooterString, setEvenHeaderString, setFirstFooterString, setFirstHeaderString, setFirstPageNumber, setFitToPagesTall, setFitToPagesWide, setFooterMarginInch, setFullFooterString, setFullHeaderString, setHeaderMarginInch, setHResolution, setLeftFooter, setLeftFooterImage, setLeftFooterPictureHeight, setLeftFooterPictureWidth, setLeftHeader, setLeftHeaderImage, setLeftHeaderImage, setLeftHeaderPictureHeight, setLeftHeaderPictureWidth, setLeftMargin, setOddFooterString, setOddHeaderString, setOrder, setOrientation, setPaperSize, setPrintComments, setPrintErrors, setRightFooter, setRightFooterImage, setRightFooterPictureHeight, setRightFooterPictureWidth, setRightHeader, setRightHeaderImage, setRightHeaderImage, setRightHeaderPictureHeight, setRightHeaderPictureWidth, setRightMargin, setScaleWithDoc, setTopMargin, setVResolution, setZoom |
XlsPageSetup
public XlsPageSetup(java.lang.Object parent)
- Sets application and parent fields.
- Parameters:
parent
- Parent object for the page setup.
isPrintGridlines
public boolean isPrintGridlines()
- True if cell gridlines are printed on the page. Applies only to
worksheets. Read / write Boolean.
isPrintGridlines
public void isPrintGridlines(boolean value)
- True if cell gridlines are printed on the page. Applies only to
worksheets. Read / write Boolean.
isPrintHeadings
public boolean isPrintHeadings()
- True if row and column headings are printed with this page. Applies
only to worksheets. Read / write Boolean.
isPrintHeadings
public void isPrintHeadings(boolean value)
- True if row and column headings are printed with this page. Applies
only to worksheets. Read / write Boolean.
getPrintArea
public java.lang.String getPrintArea()
- Returns or sets the range to be printed, as a string using A1-style
references in the language of the macro. Read / write String.
setPrintArea
public void setPrintArea(java.lang.String value)
- Returns or sets the range to be printed, as a string using A1-style
references in the language of the macro. Read / write String.
getPrintTitleColumns
public java.lang.String getPrintTitleColumns()
- Returns or sets the columns that contain the cells to be repeated
on the left side of each page, as a string in A1-style notation
in the language of the macro. Read / write String.
setPrintTitleColumns
public void setPrintTitleColumns(java.lang.String value)
- Returns or sets the columns that contain the cells to be repeated
on the left side of each page, as a string in A1-style notation
in the language of the macro. Read / write String.
getPrintTitleRows
public java.lang.String getPrintTitleRows()
- Returns or sets the rows that contain the cells to be repeated at
the top of each page, as a string in A1-style notation in the
language of the macro. Read / write String.
setPrintTitleRows
public void setPrintTitleRows(java.lang.String value)
- Returns or sets the rows that contain the cells to be repeated at
the top of each page, as a string in A1-style notation in the
language of the macro. Read / write String.
isSummaryRowBelow
public boolean isSummaryRowBelow()
- Indicates whether summary rows will appear below detail in outlines.
isSummaryRowBelow
public void isSummaryRowBelow(boolean value)
- Indicates whether summary rows will appear below detail in outlines.
isSummaryColumnRight
public boolean isSummaryColumnRight()
- Indicates whether summary columns will appear right of the detail in outlines.
isSummaryColumnRight
public void isSummaryColumnRight(boolean value)
- Indicates whether summary columns will appear right of the detail in outlines.
isFitToPage
public boolean isFitToPage()
- Indicates whether fit to page mode is selected.
isFitToPage
public void isFitToPage(boolean value)
- Indicates whether fit to page mode is selected.
getDefaultRowHeight
public int getDefaultRowHeight()
- Gets or sets default row height.
setDefaultRowHeight
public void setDefaultRowHeight(int value)
- Gets or sets default row height.