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 PrintModifier and TypeClassDescriptionclass
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 aPagePrint
.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 PrintModifier and TypeMethodDescriptionprotected 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.Print[]
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 alignedBackgroundPrint.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 PrintModifier and TypeMethodDescriptionvoid
Adds the Print to the grid body, using the given colspan and alignment.void
Adds the Print to the grid body, using the given colspan and alignment.void
Adds the Print to the grid body, using the given colspan and alignment.void
Adds the Print to the grid body, using the given colspan and alignment.void
Adds the Print to the grid body, with the default alignment and a colspan of 1.void
Adds the Print to the grid body, with the given colspan and the default alignment.void
Deprecated.UseGridPrint.add(int, Print, int)
instead.void
Adds the given Print to this LayerPrint using the default alignment.void
Adds the given Print to this LayerPrint using the specified alignment.void
Adds the given print to this SeriesPrint.void
Adds the given prints to this SeriesPrint.void
Adds the Print to the grid footer, using the given colspan and alignment.void
Adds the Print to the grid footer, using the given colspan and alignment.void
Adds the Print to the grid footer, using the given colspan and alignment.void
Adds the Print to the grid footer, using the given colspan and alignment.void
Adds the Print to the grid footer, with the default alignment and a colspan of 1.void
Adds the Print to the grid footer, with the given colspan and the default alignment.void
Deprecated.UseGridPrint.addFooter(int, Print, int)
instead.void
Adds the Print to the grid header, using the given alignment.void
Adds the Print to the grid header, using the given colspan and alignment.void
Adds the Print to the grid header, using the given alignment.void
Adds the Print to the grid header, using the given colspan and alignment.void
Adds the Print to the grid header, with default alignment and a colspan of 1.void
Adds the Print to the grid header, with the given colspan and the default alignment.void
Deprecated.UseGridPrint.addHeader(int, Print, int)
instead.Appends the given element to the document.static void
Deprecated.UsePaperClips.print(PrintJob, PrinterData)
instead.static void
Deprecated.UsePaperClips.print(PrintJob, PrinterData)
instead.static void
Deprecated.usePaperClips.print(PrintJob, PrinterData)
instead.static void
Deprecated.usePaperClips.print(PrintJob, PrinterData)
instead.static void
Deprecated.UsePaperClips.print(PrintJob, PrinterData)
instead.static void
PrintUtil.printTo
(String jobName, org.eclipse.swt.printing.PrinterData printerData, Print print, int margins) Deprecated.UsePaperClips.print(PrintJob, PrinterData)
instead.static void
Deprecated.UsePaperClips.print(PrintJob, PrinterData)
instead.static void
PrintUtil.printTo
(String jobName, org.eclipse.swt.printing.Printer printer, Print print, int margins) Deprecated.UsePaperClips.print(PrintJob, PrinterData)
instead.static void
Deprecated.UsePaperClips.print(PrintJob, PrinterData)
instead.static void
Deprecated.UsePaperClips.print(PrintJob, PrinterData)
instead.void
Sets the page body to the argument.Constructors in net.sf.paperclips with parameters of type PrintModifierConstructorDescriptionAlignPrint
(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.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.NoBreakPrint
(Print target) 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.PagePrint
(PageDecoration header, Print body) 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.PagePrint
(Print body, PageDecoration footer) Constructs a PagePrint with the given body and footer.PagePrint
(Print body, PageDecoration header, PageDecoration footer) Deprecated.PagePrint(PageDecoration, Print, PageDecoration) instead.Constructs a PrintJob for the given document.RotatePrint
(Print target) 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.SidewaysPrint
(Print target) Constructs a SidewaysPrint that rotates it's target 90 degrees counter-clockwise.SidewaysPrint
(Print target, int angle) Constructs a SidewaysPrint.SimplePageDecoration
(Print print) Constructs a BasicPageDecoration. -
Uses of Print in net.sf.paperclips.decorator
Methods in net.sf.paperclips.decorator that return PrintModifier and TypeMethodDescriptionWraps the target in a decoration.Methods in net.sf.paperclips.decorator with parameters of type Print