Uses of Interface
net.sf.paperclips.Print

Packages that use Print
Package
Description
Core classes for creating printable documents.
Decorators aid in applying styles uniformly across across documents.
  • Uses of Print in net.sf.paperclips

    Classes in net.sf.paperclips that implement Print
    Modifier and Type
    Class
    Description
    class 
    A wrapper print that aligns its target vertically and/or horizontally.
    class 
    A decorator that paints a background color behind it's target.
    final class 
    A wrapper for prints whose minimum size is too large to fit on one page.
    class 
    A decorator that draws a border around the target print.
    class 
    A print which inserts a page break (or a column break, if inside a ColumnPrint).
    class 
    A wrapper Print which splits its child print into multiple columns.
    class 
    Deprecated.
    Reminder to remove references to DebugPrint when you're done debugging a print job.
    class 
    A Print which displays nothing but takes up space.
    class 
    Deprecated.
    This class will be removed in a future release.
    final class 
    A Print which arranges child prints into a grid.
    class 
    A Print for displaying images.
    class 
    A Print which displays its child Prints on top each other.
    class 
    A class for adding line breaks corresponding to a particular font size.
    class 
    A Print for drawing horizontal and vertical lines.
    class 
    A print wrapper which prevents its target from being broken into multiple pieces when printed.
    class 
    Displays the page number and page count within the context of a PagePrint.
    class 
    A decorator Print which displays page headers and footers around a document body, with page numbering capabilities.
    final class 
    A decorator print that rotates it's target by increments of 90 degrees.
    class 
    A decorator print that scales it's target larger or smaller.
    class 
    A Print which displays its child prints in series.
    final class 
    A decorator print that rotates it's target by increments of 90 degrees.
    class 
    A class for printing styled text.
    class 
    A Print for displaying text.
    Methods in net.sf.paperclips that return Print
    Modifier and Type
    Method
    Description
    protected abstract Print
    FactoryPrint.createPrint()
    Deprecated.
    Compose and return a Print appropriate for the concrete class.
    PageDecoration.createPrint(PageNumber pageNumber)
    Returns a decorator Print for the page with the given page number, or null if no decoration is provided for the given page.
    PageNumberPageDecoration.createPrint(PageNumber pageNumber)
     
    SimplePageDecoration.createPrint(PageNumber pageNumber)
     
    PagePrint.getBody()
    Returns the page body.
    GridCell.getContent()
    Returns the content print of the cell.
    PrintJob.getDocument()
    Returns the document to be printed.
    SeriesPrint.getItems()
    Returns an array of items in the series.
    FactoryPrint.getPrint()
    Deprecated.
    Returns the Print created by this factory.
    AlignPrint.getTarget()
    Returns the wrapped print being aligned
    BackgroundPrint.getTarget()
    Returns the wrapped print to which the background color is being applied.
    BigPrint.getTarget()
    Returns the wrapped print which is being split across pages.
    BorderPrint.getTarget()
    Returns the wrapped print to which the border is being applied.
    ColumnPrint.getTarget()
    Returns the target print being split into columns.
    LayerEntry.getTarget()
    Returns the target print of this entry.
    NoBreakPrint.getTarget()
    Returns the print which will not be broken across pages.
    RotatePrint.getTarget()
    Returns the print to be rotated.
    ScalePrint.getTarget()
    Returns the print being scaled.
    SidewaysPrint.getTarget()
    Returns the print to be rotated.
    Methods in net.sf.paperclips with parameters of type Print
    Modifier and Type
    Method
    Description
    void
    GridPrint.add(int hAlignment, int vAlignment, Print cell)
    Adds the Print to the grid body, using the given colspan and alignment.
    void
    GridPrint.add(int hAlignment, int vAlignment, Print cell, int colspan)
    Adds the Print to the grid body, using the given colspan and alignment.
    void
    GridPrint.add(int hAlignment, Print cell)
    Adds the Print to the grid body, using the given colspan and alignment.
    void
    GridPrint.add(int hAlignment, Print cell, int colspan)
    Adds the Print to the grid body, using the given colspan and alignment.
    void
    GridPrint.add(Print cell)
    Adds the Print to the grid body, with the default alignment and a colspan of 1.
    void
    GridPrint.add(Print cell, int colspan)
    Adds the Print to the grid body, with the given colspan and the default alignment.
    void
    GridPrint.add(Print cell, int colspan, int hAlignment)
    Deprecated.
    void
    LayerPrint.add(Print print)
    Adds the given Print to this LayerPrint using the default alignment.
    void
    LayerPrint.add(Print print, int align)
    Adds the given Print to this LayerPrint using the specified alignment.
    void
    SeriesPrint.add(Print item)
    Adds the given print to this SeriesPrint.
    void
    SeriesPrint.add(Print[] items)
    Adds the given prints to this SeriesPrint.
    void
    GridPrint.addFooter(int hAlignment, int vAlignment, Print cell)
    Adds the Print to the grid footer, using the given colspan and alignment.
    void
    GridPrint.addFooter(int hAlignment, int vAlignment, Print cell, int colspan)
    Adds the Print to the grid footer, using the given colspan and alignment.
    void
    GridPrint.addFooter(int hAlignment, Print cell)
    Adds the Print to the grid footer, using the given colspan and alignment.
    void
    GridPrint.addFooter(int hAlignment, Print cell, int colspan)
    Adds the Print to the grid footer, using the given colspan and alignment.
    void
    GridPrint.addFooter(Print cell)
    Adds the Print to the grid footer, with the default alignment and a colspan of 1.
    void
    GridPrint.addFooter(Print cell, int colspan)
    Adds the Print to the grid footer, with the given colspan and the default alignment.
    void
    GridPrint.addFooter(Print cell, int colspan, int hAlignment)
    Deprecated.
    void
    GridPrint.addHeader(int hAlignment, int vAlignment, Print cell)
    Adds the Print to the grid header, using the given alignment.
    void
    GridPrint.addHeader(int hAlignment, int vAlignment, Print cell, int colspan)
    Adds the Print to the grid header, using the given colspan and alignment.
    void
    GridPrint.addHeader(int hAlignment, Print cell)
    Adds the Print to the grid header, using the given alignment.
    void
    GridPrint.addHeader(int hAlignment, Print cell, int colspan)
    Adds the Print to the grid header, using the given colspan and alignment.
    void
    GridPrint.addHeader(Print cell)
    Adds the Print to the grid header, with default alignment and a colspan of 1.
    void
    GridPrint.addHeader(Print cell, int colspan)
    Adds the Print to the grid header, with the given colspan and the default alignment.
    void
    GridPrint.addHeader(Print cell, int colspan, int hAlignment)
    Deprecated.
    StyledTextPrint.append(Print element)
    Appends the given element to the document.
    static void
    PrintUtil.print(String jobName, Print print)
    Deprecated.
    static void
    PrintUtil.print(String jobName, Print print, int margins)
    Deprecated.
    static void
    PrintUtil.print(Print print)
    Deprecated.
    static void
    PrintUtil.print(Print print, int margins)
    Deprecated.
    static void
    PrintUtil.printTo(String jobName, org.eclipse.swt.printing.PrinterData printerData, Print print)
    Deprecated.
    static void
    PrintUtil.printTo(String jobName, org.eclipse.swt.printing.PrinterData printerData, Print print, int margins)
    Deprecated.
    static void
    PrintUtil.printTo(String jobName, org.eclipse.swt.printing.Printer printer, Print print)
    Deprecated.
    static void
    PrintUtil.printTo(String jobName, org.eclipse.swt.printing.Printer printer, Print print, int margins)
    Deprecated.
    static void
    PrintUtil.printTo(org.eclipse.swt.printing.Printer printer, Print print)
    Deprecated.
    static void
    PrintUtil.printTo(org.eclipse.swt.printing.Printer printer, Print print, int margins)
    Deprecated.
    void
    PagePrint.setBody(Print body)
    Sets the page body to the argument.
    Constructors in net.sf.paperclips with parameters of type Print
    Modifier
    Constructor
    Description
     
    AlignPrint(Print target, int hAlign, int vAlign)
    Constructs a new AlignPrint.
     
    BackgroundPrint(Print target, org.eclipse.swt.graphics.RGB background)
    Constructs a BackgroundPrint with the given target and background color.
     
    BigPrint(Print target)
    Constructs a BigPrint.
     
    BorderPrint(Print target, Border border)
    Constructs a BorderPrint with the given target and border.
     
    ColumnPrint(Print target, int columns, int spacing)
    Constructs a ColumnPrint with the given target, number of columns, and column spacing (expressed in points).
     
    ColumnPrint(Print target, int columns, int spacing, boolean compressed)
    Constructs a ColumnPrint with the given target, column count, column spacing, and compression.
     
    DebugPrint(Print target)
    Deprecated.
     
     
    Constructs a NoBreakPrint with the given target.
     
    PagePrint(PageDecoration header, int headerGap, Print body)
    Constructs a PagePrint with the given header and body.
     
    PagePrint(PageDecoration header, int headerGap, Print body, int footerGap, PageDecoration footer)
    Constructs a PagePrint with the given body, header and footer.
     
    Constructs a PagePrint with the given header and body.
     
    PagePrint(PageDecoration header, Print body, PageDecoration footer)
    Constructs a PagePrint with the given body, header and footer.
     
    Constructs a PagePrint with the given body.
     
    PagePrint(Print body, int footerGap, PageDecoration footer)
    Constructs a PagePrint with the given body, header and footer.
     
    Constructs a PagePrint with the given body and footer.
     
    PagePrint(Print body, PageDecoration header, PageDecoration footer)
    Deprecated.
    PagePrint(PageDecoration, Print, PageDecoration) instead.
     
    PrintJob(String name, Print document)
    Constructs a PrintJob for the given document.
     
    Constructs a RotatePrint that rotates it's target 90 degrees counter-clockwise.
     
    RotatePrint(Print target, int angle)
    Constructs a RotatePrint.
     
    ScalePrint(Print target)
    Constructs a ScalePrint which scales down it's target to print at it's preferred size.
     
    ScalePrint(Print target, Double scale)
    Constructs a ScalePrint which scales it's target by the given factor.
     
    Constructs a SidewaysPrint that rotates it's target 90 degrees counter-clockwise.
     
    SidewaysPrint(Print target, int angle)
    Constructs a SidewaysPrint.
     
    Constructs a BasicPageDecoration.
  • Uses of Print in net.sf.paperclips.decorator

    Methods in net.sf.paperclips.decorator that return Print
    Modifier and Type
    Method
    Description
    BackgroundDecorator.decorate(Print target)
     
    BorderDecorator.decorate(Print target)
     
    CompoundDecorator.decorate(Print target)
     
    PrintDecorator.decorate(Print target)
    Wraps the target in a decoration.
    Methods in net.sf.paperclips.decorator with parameters of type Print
    Modifier and Type
    Method
    Description
    BackgroundDecorator.decorate(Print target)
     
    BorderDecorator.decorate(Print target)
     
    CompoundDecorator.decorate(Print target)
     
    PrintDecorator.decorate(Print target)
    Wraps the target in a decoration.