类 PrintManager

java.lang.Object
com.grapecity.documents.excel.PrintManager

public class PrintManager extends Object
Represents a print settings class.
  • 构造器概要

    构造器
    构造器
    说明
     
  • 方法概要

    修饰符和类型
    方法
    说明
    final void
    appendPage(org.apache.pdfbox.pdmodel.PDDocument doc, PageInfo pageInfo)
    Append the page info to the specified pdf document.
    final void
    appendPage(org.apache.pdfbox.pdmodel.PDDocument doc, PageInfo pageInfo, PdfSaveOptions options)
    Append the page info to the specified pdf document.
    final void
    draw(org.apache.pdfbox.pdmodel.PDDocument doc, org.apache.pdfbox.pdmodel.PDPage page, Point location, IRange range)
    Draw the range data to the specific location in a specified pdf page.
    final void
    draw(org.apache.pdfbox.pdmodel.PDDocument doc, org.apache.pdfbox.pdmodel.PDPage page, Point location, IRange range, PdfSaveOptions options)
    Draw the range data to the specific location in a specified pdf page.
    final void
    draw(org.apache.pdfbox.pdmodel.PDDocument doc, org.apache.pdfbox.pdmodel.PDPage page, Rectangle rect, IRange range)
    Draw the range data to the specific location in a specified pdf page.
    final void
    draw(org.apache.pdfbox.pdmodel.PDDocument doc, org.apache.pdfbox.pdmodel.PDPage page, Rectangle rect, IRange range, PdfSaveOptions options)
    Draw the range data to the specific location in a specified pdf page.
    final void
    draw(org.apache.pdfbox.pdmodel.PDDocument doc, org.apache.pdfbox.pdmodel.PDPage page, Rectangle rect, PageContentInfo pageContent)
    Draw the page info to the specific location in a specified pdf page.
    final void
    draw(org.apache.pdfbox.pdmodel.PDDocument doc, org.apache.pdfbox.pdmodel.PDPage page, Rectangle rect, PageContentInfo pageContent, PdfSaveOptions options)
    Draw the page info to the specific location in a specified pdf page.
    final void
    draw(org.apache.pdfbox.pdmodel.PDDocument doc, org.apache.pdfbox.pdmodel.PDPage page, Rectangle rect, PageInfo pageInfo)
    Draw the page info to the specific location in a specified pdf page.
    final void
    draw(org.apache.pdfbox.pdmodel.PDDocument doc, org.apache.pdfbox.pdmodel.PDPage page, Rectangle rect, PageInfo pageInfo, PdfSaveOptions options)
    Draw the page info to the specific location in a specified pdf page.
    protected void
     
    generatePageContentInfo(IRange printArea, Size availableSize, int rowStart, int columnStart, boolean rowHeaderVisible, boolean columnHeaderVisible)
    Returns a PageContentInfo object.
    final Size
    getSize(IRange range)
    Returns the size of the range.
    final Size
    getSize(PageContentInfo contentInfo)
    Returns the size of the PageContentInfo.
    final boolean
    Returns whether there has content to print.

    从类继承的方法 java.lang.Object

    clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 构造器详细资料

    • PrintManager

      public PrintManager()
  • 方法详细资料

    • finalize

      protected void finalize() throws Throwable
      覆盖:
      finalize 在类中 Object
      抛出:
      Throwable
    • generatePageContentInfo

      public final PageContentInfo generatePageContentInfo(IRange printArea, Size availableSize, int rowStart, int columnStart, boolean rowHeaderVisible, boolean columnHeaderVisible)
      Returns a PageContentInfo object.
      参数:
      printArea - The print area.
      availableSize - The size that excludes the margins.
      rowStart - The start row index which is used to calculate the RowEnd.
      columnStart - The start column index which is used to calculate the ColumnEnd.
      rowHeaderVisible - True if the row header is printed with this page.
      columnHeaderVisible - True if the column header is printed with this page.
    • appendPage

      public final void appendPage(org.apache.pdfbox.pdmodel.PDDocument doc, PageInfo pageInfo)
      Append the page info to the specified pdf document.
      参数:
      doc - The specified GcPdfDocument.
      pageInfo - The printed page info.
    • appendPage

      public final void appendPage(org.apache.pdfbox.pdmodel.PDDocument doc, PageInfo pageInfo, PdfSaveOptions options)
      Append the page info to the specified pdf document.
      参数:
      doc - The specified GcPdfDocument.
      pageInfo - The printed page info.
      options - Options for saving pdf file.
    • hasPrintContent

      public final boolean hasPrintContent(IRange range)
      Returns whether there has content to print.
      参数:
      range - The printed range of a page.
    • getSize

      public final Size getSize(PageContentInfo contentInfo)
      Returns the size of the PageContentInfo.
      参数:
      contentInfo - The PageContentInfo object.
    • getSize

      public final Size getSize(IRange range)
      Returns the size of the range.
      参数:
      range - The range object.
    • draw

      public final void draw(org.apache.pdfbox.pdmodel.PDDocument doc, org.apache.pdfbox.pdmodel.PDPage page, Point location, IRange range)
      Draw the range data to the specific location in a specified pdf page.
      参数:
      page - The page in a GcPdfDocument.
      location - The location of the range data to be drawn.
      range - The print data range.
    • draw

      public final void draw(org.apache.pdfbox.pdmodel.PDDocument doc, org.apache.pdfbox.pdmodel.PDPage page, Point location, IRange range, PdfSaveOptions options)
      Draw the range data to the specific location in a specified pdf page.
      参数:
      page - The page in a GcPdfDocument.
      location - The location of the range data to be drawn.
      range - The print data range.
      options - Options for saving pdf file.
    • draw

      public final void draw(org.apache.pdfbox.pdmodel.PDDocument doc, org.apache.pdfbox.pdmodel.PDPage page, Rectangle rect, IRange range)
      Draw the range data to the specific location in a specified pdf page.
      参数:
      page - The page in a GcPdfDocument.
      rect - The location and size of the range data to be drawn.
      range - The print data range.
    • draw

      public final void draw(org.apache.pdfbox.pdmodel.PDDocument doc, org.apache.pdfbox.pdmodel.PDPage page, Rectangle rect, IRange range, PdfSaveOptions options)
      Draw the range data to the specific location in a specified pdf page.
      参数:
      page - The page in a GcPdfDocument.
      rect - The location and size of the range data to be drawn.
      range - The print data range.
      options - Options for saving pdf file.
    • draw

      public final void draw(org.apache.pdfbox.pdmodel.PDDocument doc, org.apache.pdfbox.pdmodel.PDPage page, Rectangle rect, PageContentInfo pageContent)
      Draw the page info to the specific location in a specified pdf page.
      参数:
      page - The page in a GcPdfDocument.
      rect - The location and size of the data to be drawn.
      pageContent - The printed page content info.
    • draw

      public final void draw(org.apache.pdfbox.pdmodel.PDDocument doc, org.apache.pdfbox.pdmodel.PDPage page, Rectangle rect, PageContentInfo pageContent, PdfSaveOptions options)
      Draw the page info to the specific location in a specified pdf page.
      参数:
      page - The page in a GcPdfDocument.
      rect - The location and size of the data to be drawn.
      pageContent - The printed page content info.
      options - Options for saving pdf file.
    • draw

      public final void draw(org.apache.pdfbox.pdmodel.PDDocument doc, org.apache.pdfbox.pdmodel.PDPage page, Rectangle rect, PageInfo pageInfo)
      Draw the page info to the specific location in a specified pdf page.
      参数:
      page - The page in a GcPdfDocument.
      rect - The location and size of the data to be drawn.
      pageInfo - The printed page info.
    • draw

      public final void draw(org.apache.pdfbox.pdmodel.PDDocument doc, org.apache.pdfbox.pdmodel.PDPage page, Rectangle rect, PageInfo pageInfo, PdfSaveOptions options)
      Draw the page info to the specific location in a specified pdf page.
      参数:
      page - The page in a GcPdfDocument.
      rect - The location and size of the data to be drawn.
      pageInfo - The printed page info.
      options - Options for saving pdf file.