Class JRXlsAbstractExporter.SheetInfo.SheetPrintSettings
java.lang.Object
net.sf.jasperreports.engine.export.JRXlsAbstractExporter.SheetInfo.SheetPrintSettings
- All Implemented Interfaces:
PrintPageFormat
- Enclosing class:
JRXlsAbstractExporter.SheetInfo
public class JRXlsAbstractExporter.SheetInfo.SheetPrintSettings
extends Object
implements PrintPageFormat
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the background color of the pages described by this page format, ornullif the pages do not have a background color.intgetDpi()Returns the resolution, in dots per inch, in which the dimensions of the pages described by this page format are expressed.Returns the page orientation.voidsetBackcolor(Color backcolor) voidsetBottomMargin(Integer bottomMargin) voidsetDpi(int dpi) voidsetFooterCenter(String footerCenter) voidsetFooterLeft(String footerLeft) voidsetFooterMargin(Integer footerMargin) voidsetFooterRight(String footerRight) voidsetHeaderCenter(String headerCenter) voidsetHeaderLeft(String headerLeft) voidsetHeaderMargin(Integer headerMargin) voidsetHeaderRight(String headerRight) voidsetLeftMargin(Integer leftMargin) voidsetOrientation(OrientationEnum orientation) voidsetPageHeight(Integer pageHeight) voidsetPageWidth(Integer pageWidth) voidsetRightMargin(Integer rightMargin) voidsetTopMargin(Integer topMargin)
-
Constructor Details
-
SheetPrintSettings
public SheetPrintSettings()
-
-
Method Details
-
getPageHeight
- Specified by:
getPageHeightin interfacePrintPageFormat- Returns:
- Returns the page height.
-
setPageHeight
-
getPageWidth
- Specified by:
getPageWidthin interfacePrintPageFormat- Returns:
- Returns the page width
-
setPageWidth
-
getTopMargin
- Specified by:
getTopMarginin interfacePrintPageFormat- Returns:
- Returns the top page margin
-
setTopMargin
-
getLeftMargin
- Specified by:
getLeftMarginin interfacePrintPageFormat- Returns:
- Returns the left page margin
-
setLeftMargin
-
getBottomMargin
- Specified by:
getBottomMarginin interfacePrintPageFormat- Returns:
- Returns the bottom page margin
-
setBottomMargin
-
getRightMargin
- Specified by:
getRightMarginin interfacePrintPageFormat- Returns:
- Returns the right page margin
-
setRightMargin
-
getHeaderMargin
-
setHeaderMargin
-
getHeaderLeft
-
setHeaderLeft
-
getHeaderCenter
-
setHeaderCenter
-
getHeaderRight
-
setHeaderRight
-
getDpi
public int getDpi()Description copied from interface:PrintPageFormatReturns the resolution, in dots per inch, in which the dimensions of the pages described by this page format are expressed.Parts of a document can come from reports having different resolutions, so this is the resolution that applies to the pages of the part, which is not necessarily the resolution of the document as a whole.
- Specified by:
getDpiin interfacePrintPageFormat
-
setDpi
public void setDpi(int dpi) -
getBackcolor
Description copied from interface:PrintPageFormatReturns the background color of the pages described by this page format, ornullif the pages do not have a background color.Parts of a document can come from reports having different page background colors, so this is the color that applies to the pages of the part, which is not necessarily the color of the document as a whole.
- Specified by:
getBackcolorin interfacePrintPageFormat- See Also:
-
setBackcolor
-
getOrientation
Description copied from interface:PrintPageFormatReturns the page orientation.- Specified by:
getOrientationin interfacePrintPageFormat
-
setOrientation
-