Uses of Interface
net.sf.paperclips.Print
-
Packages that use Print Package Description net.sf.paperclips Core classes for creating printable documents.net.sf.paperclips.decorator 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
AlignPrint
A wrapper print that aligns its target vertically and/or horizontally.class
BackgroundPrint
A decorator that paints a background color behind it's target.class
BigPrint
A wrapper for prints whose minimum size is too large to fit on one page.class
BorderPrint
A decorator that draws a border around the target print.class
BreakPrint
A print which inserts a page break (or a column break, if inside a ColumnPrint).class
ColumnPrint
A wrapper Print which splits its child print into multiple columns.class
DebugPrint
Deprecated.Reminder to remove references to DebugPrint when you're done debugging a print job.class
EmptyPrint
A Print which displays nothing but takes up space.class
FactoryPrint
Deprecated.This class will be removed in a future release.class
GridPrint
A Print which arranges child prints into a grid.class
ImagePrint
A Print for displaying images.class
LayerPrint
A Print which displays its child Prints on top each other.class
LineBreakPrint
A class for adding line breaks corresponding to a particular font size.class
LinePrint
A Print for drawing horizontal and vertical lines.class
NoBreakPrint
A print wrapper which prevents its target from being broken into multiple pieces when printed.class
PageNumberPrint
Displays the page number and page count within the context of aPagePrint
.class
PagePrint
A decorator Print which displays page headers and footers around a document body, with page numbering capabilities.class
RotatePrint
A decorator print that rotates it's target by increments of 90 degrees.class
ScalePrint
A decorator print that scales it's target larger or smaller.class
SeriesPrint
A Print which displays its child prints in series.class
SidewaysPrint
A decorator print that rotates it's target by increments of 90 degrees.class
StyledTextPrint
A class for printing styled text.class
TextPrint
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.Print
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.Print
PageNumberPageDecoration. createPrint(PageNumber pageNumber)
Print
SimplePageDecoration. createPrint(PageNumber pageNumber)
Print
PagePrint. getBody()
Returns the page body.Print
GridCell. getContent()
Returns the content print of the cell.Print
PrintJob. getDocument()
Returns the document to be printed.Print[]
SeriesPrint. getItems()
Returns an array of items in the series.Print
FactoryPrint. getPrint()
Deprecated.Returns the Print created by this factory.Print
AlignPrint. getTarget()
Returns the wrapped print being alignedPrint
BackgroundPrint. getTarget()
Returns the wrapped print to which the background color is being applied.Print
BigPrint. getTarget()
Returns the wrapped print which is being split across pages.Print
BorderPrint. getTarget()
Returns the wrapped print to which the border is being applied.Print
ColumnPrint. getTarget()
Returns the target print being split into columns.Print
LayerEntry. getTarget()
Returns the target print of this entry.Print
NoBreakPrint. getTarget()
Returns the print which will not be broken across pages.Print
RotatePrint. getTarget()
Returns the print to be rotated.Print
ScalePrint. getTarget()
Returns the print being scaled.Print
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.UseGridPrint.add(int, Print, int)
instead.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.UseGridPrint.addFooter(int, Print, int)
instead.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.UseGridPrint.addHeader(int, Print, int)
instead.StyledTextPrint
StyledTextPrint. append(Print element)
Appends the given element to the document.static void
PrintUtil. print(java.lang.String jobName, Print print)
Deprecated.UsePaperClips.print(PrintJob, PrinterData)
instead.static void
PrintUtil. print(java.lang.String jobName, Print print, int margins)
Deprecated.UsePaperClips.print(PrintJob, PrinterData)
instead.static void
PrintUtil. print(Print print)
Deprecated.usePaperClips.print(PrintJob, PrinterData)
instead.static void
PrintUtil. print(Print print, int margins)
Deprecated.usePaperClips.print(PrintJob, PrinterData)
instead.static void
PrintUtil. printTo(java.lang.String jobName, org.eclipse.swt.printing.PrinterData printerData, Print print)
Deprecated.UsePaperClips.print(PrintJob, PrinterData)
instead.static void
PrintUtil. printTo(java.lang.String jobName, org.eclipse.swt.printing.PrinterData printerData, Print print, int margins)
Deprecated.UsePaperClips.print(PrintJob, PrinterData)
instead.static void
PrintUtil. printTo(java.lang.String jobName, org.eclipse.swt.printing.Printer printer, Print print)
Deprecated.UsePaperClips.print(PrintJob, PrinterData)
instead.static void
PrintUtil. printTo(java.lang.String jobName, org.eclipse.swt.printing.Printer printer, Print print, int margins)
Deprecated.UsePaperClips.print(PrintJob, PrinterData)
instead.static void
PrintUtil. printTo(org.eclipse.swt.printing.Printer printer, Print print)
Deprecated.UsePaperClips.print(PrintJob, PrinterData)
instead.static void
PrintUtil. printTo(org.eclipse.swt.printing.Printer printer, Print print, int margins)
Deprecated.UsePaperClips.print(PrintJob, PrinterData)
instead.void
PagePrint. setBody(Print body)
Sets the page body to the argument.Constructors in net.sf.paperclips with parameters of type Print 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.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.PagePrint(Print body)
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.PrintJob(java.lang.String name, Print document)
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, java.lang.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 Print Modifier and Type Method Description Print
BackgroundDecorator. decorate(Print target)
Print
BorderDecorator. decorate(Print target)
Print
CompoundDecorator. decorate(Print target)
Print
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 Print
BackgroundDecorator. decorate(Print target)
Print
BorderDecorator. decorate(Print target)
Print
CompoundDecorator. decorate(Print target)
Print
PrintDecorator. decorate(Print target)
Wraps the target in a decoration.
-