Package net.sf.jasperreports.engine
Interface PrintPageFormat
- All Known Implementing Classes:
JRXlsAbstractExporter.SheetInfo.SheetPrintSettings,SimplePrintPageFormat
public interface PrintPageFormat
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
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.
-
Method Details
-
getPageWidth
Integer getPageWidth()- Returns:
- Returns the page width
-
getPageHeight
Integer getPageHeight()- Returns:
- Returns the page height.
-
getTopMargin
Integer getTopMargin()- Returns:
- Returns the top page margin
-
getLeftMargin
Integer getLeftMargin()- Returns:
- Returns the left page margin
-
getBottomMargin
Integer getBottomMargin()- Returns:
- Returns the bottom page margin
-
getRightMargin
Integer getRightMargin()- Returns:
- Returns the right page margin
-
getDpi
int getDpi()Returns 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.
-
getBackcolor
Color getBackcolor()Returns 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.
- See Also:
-
getOrientation
OrientationEnum getOrientation()Returns the page orientation.
-