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 Details

    • SheetPrintSettings

      public SheetPrintSettings()
  • Method Details

    • getPageHeight

      public Integer getPageHeight()
      Specified by:
      getPageHeight in interface PrintPageFormat
      Returns:
      Returns the page height.
    • setPageHeight

      public void setPageHeight(Integer pageHeight)
    • getPageWidth

      public Integer getPageWidth()
      Specified by:
      getPageWidth in interface PrintPageFormat
      Returns:
      Returns the page width
    • setPageWidth

      public void setPageWidth(Integer pageWidth)
    • getTopMargin

      public Integer getTopMargin()
      Specified by:
      getTopMargin in interface PrintPageFormat
      Returns:
      Returns the top page margin
    • setTopMargin

      public void setTopMargin(Integer topMargin)
    • getLeftMargin

      public Integer getLeftMargin()
      Specified by:
      getLeftMargin in interface PrintPageFormat
      Returns:
      Returns the left page margin
    • setLeftMargin

      public void setLeftMargin(Integer leftMargin)
    • getBottomMargin

      public Integer getBottomMargin()
      Specified by:
      getBottomMargin in interface PrintPageFormat
      Returns:
      Returns the bottom page margin
    • setBottomMargin

      public void setBottomMargin(Integer bottomMargin)
    • getRightMargin

      public Integer getRightMargin()
      Specified by:
      getRightMargin in interface PrintPageFormat
      Returns:
      Returns the right page margin
    • setRightMargin

      public void setRightMargin(Integer rightMargin)
    • getHeaderMargin

      public Integer getHeaderMargin()
    • setHeaderMargin

      public void setHeaderMargin(Integer headerMargin)
    • getFooterMargin

      public Integer getFooterMargin()
    • setFooterMargin

      public void setFooterMargin(Integer footerMargin)
    • getHeaderLeft

      public String getHeaderLeft()
    • setHeaderLeft

      public void setHeaderLeft(String headerLeft)
    • getHeaderCenter

      public String getHeaderCenter()
    • setHeaderCenter

      public void setHeaderCenter(String headerCenter)
    • getHeaderRight

      public String getHeaderRight()
    • setHeaderRight

      public void setHeaderRight(String headerRight)
    • getFooterLeft

      public String getFooterLeft()
    • setFooterLeft

      public void setFooterLeft(String footerLeft)
    • getFooterCenter

      public String getFooterCenter()
    • setFooterCenter

      public void setFooterCenter(String footerCenter)
    • getFooterRight

      public String getFooterRight()
    • setFooterRight

      public void setFooterRight(String footerRight)
    • getDpi

      public int getDpi()
      Description copied from interface: PrintPageFormat
      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.

      Specified by:
      getDpi in interface PrintPageFormat
    • setDpi

      public void setDpi(int dpi)
    • getBackcolor

      public Color getBackcolor()
      Description copied from interface: PrintPageFormat
      Returns the background color of the pages described by this page format, or null if 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:
      getBackcolor in interface PrintPageFormat
      See Also:
    • setBackcolor

      public void setBackcolor(Color backcolor)
    • getOrientation

      public OrientationEnum getOrientation()
      Description copied from interface: PrintPageFormat
      Returns the page orientation.
      Specified by:
      getOrientation in interface PrintPageFormat
    • setOrientation

      public void setOrientation(OrientationEnum orientation)