- AbstractBorderPainter - Class in net.sf.paperclips
-
Abstract implementation of BorderPainter providing implementation of helper
methods.
- AbstractBorderPainter() - Constructor for class net.sf.paperclips.AbstractBorderPainter
-
- AbstractIterator - Class in net.sf.paperclips
-
- AbstractIterator(Device, GC) - Constructor for class net.sf.paperclips.AbstractIterator
-
Constructs an AbstractIterator with the given Device and GC.
- AbstractIterator(AbstractIterator) - Constructor for class net.sf.paperclips.AbstractIterator
-
Copy constructor.
- AbstractPiece - Class in net.sf.paperclips
-
An abstract PrintPiece class.
- AbstractPiece(Device, GC, Point) - Constructor for class net.sf.paperclips.AbstractPiece
-
Constructs an AbstractPiece.
- AbstractPiece(AbstractIterator, Point) - Constructor for class net.sf.paperclips.AbstractPiece
-
Constructos an AbstractPiece.
- add(Print) - Method in class net.sf.paperclips.GridPrint
-
Adds the Print to the grid body, with the default alignment and a colspan
of 1.
- add(int, Print) - Method in class net.sf.paperclips.GridPrint
-
Adds the Print to the grid body, using the given colspan and alignment.
- add(int, int, Print) - Method in class net.sf.paperclips.GridPrint
-
Adds the Print to the grid body, using the given colspan and alignment.
- add(Print, int) - Method in class net.sf.paperclips.GridPrint
-
Adds the Print to the grid body, with the given colspan and the default
alignment.
- add(int, Print, int) - Method in class net.sf.paperclips.GridPrint
-
Adds the Print to the grid body, using the given colspan and alignment.
- add(int, int, Print, int) - Method in class net.sf.paperclips.GridPrint
-
Adds the Print to the grid body, using the given colspan and alignment.
- add(Print, int, int) - Method in class net.sf.paperclips.GridPrint
-
- add(Print) - Method in class net.sf.paperclips.LayerPrint
-
Adds the given Print to this LayerPrint using the default alignment.
- add(Print, int) - Method in class net.sf.paperclips.LayerPrint
-
Adds the given Print to this LayerPrint using the specified alignment.
- add(Print[]) - Method in class net.sf.paperclips.SeriesPrint
-
Adds the given prints to this SeriesPrint.
- add(Print) - Method in class net.sf.paperclips.SeriesPrint
-
Adds the given print to this SeriesPrint.
- addColumn(String) - Method in class net.sf.paperclips.GridPrint
-
Adds the column on the right edge of the grid.
- addColumn(GridColumn) - Method in class net.sf.paperclips.GridPrint
-
Adds the column on the right edge of the grid.
- addColumn(int, String) - Method in class net.sf.paperclips.GridPrint
-
Inserts the column at the specified position in the grid.
- addColumn(int, GridColumn) - Method in class net.sf.paperclips.GridPrint
-
Inserts the column at the specified position in the grid.
- addColumns(String) - Method in class net.sf.paperclips.GridPrint
-
Adds the columns on the right edge of the grid.
- addColumns(GridColumn[]) - Method in class net.sf.paperclips.GridPrint
-
Adds the columns on the right edge of the grid.
- addColumns(int, String) - Method in class net.sf.paperclips.GridPrint
-
Inserts the columns at the specified position in the grid.
- addColumns(int, GridColumn[]) - Method in class net.sf.paperclips.GridPrint
-
Inserts the columns at the specified position in the grid.
- addFooter(Print) - Method in class net.sf.paperclips.GridPrint
-
Adds the Print to the grid footer, with the default alignment and a
colspan of 1.
- addFooter(int, Print) - Method in class net.sf.paperclips.GridPrint
-
Adds the Print to the grid footer, using the given colspan and alignment.
- addFooter(int, int, Print) - Method in class net.sf.paperclips.GridPrint
-
Adds the Print to the grid footer, using the given colspan and alignment.
- addFooter(Print, int) - Method in class net.sf.paperclips.GridPrint
-
Adds the Print to the grid footer, with the given colspan and the default
alignment.
- addFooter(int, Print, int) - Method in class net.sf.paperclips.GridPrint
-
Adds the Print to the grid footer, using the given colspan and alignment.
- addFooter(int, int, Print, int) - Method in class net.sf.paperclips.GridPrint
-
Adds the Print to the grid footer, using the given colspan and alignment.
- addFooter(Print, int, int) - Method in class net.sf.paperclips.GridPrint
-
- addHeader(Print) - Method in class net.sf.paperclips.GridPrint
-
Adds the Print to the grid header, with default alignment and a colspan
of 1.
- addHeader(int, Print) - Method in class net.sf.paperclips.GridPrint
-
Adds the Print to the grid header, using the given alignment.
- addHeader(int, int, Print) - Method in class net.sf.paperclips.GridPrint
-
Adds the Print to the grid header, using the given alignment.
- addHeader(Print, int) - Method in class net.sf.paperclips.GridPrint
-
Adds the Print to the grid header, with the given colspan and the default
alignment.
- addHeader(int, Print, int) - Method in class net.sf.paperclips.GridPrint
-
Adds the Print to the grid header, using the given colspan and alignment.
- addHeader(int, int, Print, int) - Method in class net.sf.paperclips.GridPrint
-
Adds the Print to the grid header, using the given colspan and alignment.
- addHeader(Print, int, int) - Method in class net.sf.paperclips.GridPrint
-
- align - Variable in class net.sf.paperclips.GridColumn
-
The default alignment for Prints in this column.
- align(int) - Method in class net.sf.paperclips.TextStyle
-
Returns a copy of this TextStyle, with the alignment changed to the
argument.
- AlignPrint - Class in net.sf.paperclips
-
A wrapper print that aligns its target vertically and/or horizontally.
- AlignPrint(Print, int, int) - Constructor for class net.sf.paperclips.AlignPrint
-
Constructs a new AlignPrint.
- append(String) - Method in class net.sf.paperclips.StyledTextPrint
-
Appends the given text to the end of the document, using the default
style.
- append(String, TextStyle) - Method in class net.sf.paperclips.StyledTextPrint
-
Appends the given text to the end of the document, using the given style.
- append(Print) - Method in class net.sf.paperclips.StyledTextPrint
-
Appends the given element to the document.
- GapBorder - Class in net.sf.paperclips
-
A border which leaves a gap around the target Print.
- GapBorder() - Constructor for class net.sf.paperclips.GapBorder
-
Constructs a GapBorder with 0 gap around all sides.
- GapBorder(int) - Constructor for class net.sf.paperclips.GapBorder
-
Constructs a GapBorder with the given gap around all sides.
- gc - Variable in class net.sf.paperclips.AbstractIterator
-
A GC used for measuring document elements.
- gc - Variable in class net.sf.paperclips.AbstractPiece
-
- getAlign() - Method in class net.sf.paperclips.PageNumberPageDecoration
-
Returns the horizontal text alignment.
- getAlign() - Method in class net.sf.paperclips.PageNumberPrint
-
Returns the horizontal text alignment.
- getAlign() - Method in class net.sf.paperclips.TextPrint
-
- getAlignment() - Method in class net.sf.paperclips.AlignPrint
-
Returns a Point with the x and y fields set to the horizontal and
vertical alignment, respectively.
- getAlignment() - Method in class net.sf.paperclips.GridCell
-
Returns a Point representing the horizontal and vertical alignment
applied to the cell's content.
- getAlignment() - Method in class net.sf.paperclips.TextPrint
-
Returns the horizontal text alignment.
- getAlignment() - Method in class net.sf.paperclips.TextStyle
-
Returns the text alignment.
- getAngle() - Method in class net.sf.paperclips.RotatePrint
-
Returns the angle by which the target will be rotated (one of 0, 90, 180,
or 270).
- getAngle() - Method in class net.sf.paperclips.SidewaysPrint
-
Returns the angle by which the target will be rotated (one of 0, 90, 180,
or 270).
- getBackground() - Method in class net.sf.paperclips.BackgroundPrint
-
Returns the background color.
- getBackground() - Method in class net.sf.paperclips.DefaultCellBackgroundProvider
-
Returns the background color.
- getBackground() - Method in class net.sf.paperclips.TextPrint
-
Returns the background color.
- getBackground() - Method in class net.sf.paperclips.TextStyle
-
Returns the text background color.
- getBody() - Method in class net.sf.paperclips.PagePrint
-
Returns the page body.
- getBodyBackground() - Method in class net.sf.paperclips.DefaultGridLook
-
Returns the body background color.
- getBodyBackground() - Method in class net.sf.paperclips.GridPrint
-
- getBodyBackgroundProvider() - Method in class net.sf.paperclips.DefaultGridLook
-
Returns the body background color provider.
- getBodyBottom(boolean, boolean) - Method in interface net.sf.paperclips.GridMargins
-
Returns the margin, in pixels, at the bottom of the body cells.
- getBodyCells() - Method in class net.sf.paperclips.GridPrint
-
Returns an array containing the body cells in the grid.
- getBodyTop(boolean, boolean) - Method in interface net.sf.paperclips.GridMargins
-
Returns the margin, in pixels, at the top of the body cells.
- getBodyVerticalSpacing() - Method in interface net.sf.paperclips.GridMargins
-
Returns the vertical spacing, in pixels, between rows in the body.
- getBorder() - Method in class net.sf.paperclips.BorderPrint
-
Returns the border being applied to the target.
- getBottom(boolean) - Method in class net.sf.paperclips.AbstractBorderPainter
-
Returns the border inset, in pixels, from the bottom.
- getBottom(boolean) - Method in interface net.sf.paperclips.BorderPainter
-
Returns the border inset, in pixels, from the bottom.
- getCellBackground(int, int, int) - Method in interface net.sf.paperclips.CellBackgroundProvider
-
Returns the background color to display for the given grid cell.
- getCellBackground(int, int, int) - Method in class net.sf.paperclips.DefaultCellBackgroundProvider
-
Returns the value in the background property.
- getCellBorder() - Method in class net.sf.paperclips.DefaultGridLook
-
Returns the cell border.
- getCellBorder() - Method in class net.sf.paperclips.GridPrint
-
- getCellPadding() - Method in class net.sf.paperclips.DefaultGridLook
-
Returns a rectangle whose public fields denote the left (x), top (y),
right (width) and bottom (height) cell padding, expressed in points.
- getCellSpacing() - Method in class net.sf.paperclips.DefaultGridLook
-
Returns the border spacing, in points, between adjacent grid cells.
- getColor(RGB) - Method in class net.sf.paperclips.internal.ResourcePool
-
Returns a color for the passed in RGB.
- getColSpan() - Method in class net.sf.paperclips.GridCell
-
Returns the number of columns this cell spans across.
- getColumnCount() - Method in class net.sf.paperclips.ColumnPrint
-
Returns the number of columns per page.
- getColumnGroups() - Method in class net.sf.paperclips.GridPrint
-
Returns current column groups.
- getColumns() - Method in class net.sf.paperclips.GridPrint
-
Returns an array of GridColumn
s which are the columns in the
receiver.
- getColumnSpacing() - Method in class net.sf.paperclips.ColumnPrint
-
Returns the spacing between columns, in points.
- getContent() - Method in class net.sf.paperclips.GridCell
-
Returns the content print of the cell.
- getDebug() - Static method in class net.sf.paperclips.PaperClips
-
EXPERIMENTAL: Returns whether debug mode is enabled.
- getDefaultGridSpacing() - Method in class net.sf.paperclips.FactoryPrint
-
Deprecated.
Returns the default spacing, in points, for GridPrints.
- getDefaultImageDPI() - Method in class net.sf.paperclips.FactoryPrint
-
Deprecated.
Returns the default image DPI.
- getDefaultLabelFont() - Method in class net.sf.paperclips.FactoryPrint
-
Deprecated.
Returns the default label font.
- getDefaultPrinterData() - Static method in class net.sf.paperclips.PaperClips
-
Returns a PrinterData for the system-default printer, or the first
printer if no default printer is configured.
- getDefaultTextFont() - Method in class net.sf.paperclips.FactoryPrint
-
Deprecated.
Returns the default text font.
- getDocument() - Method in class net.sf.paperclips.PrintJob
-
Returns the document to be printed.
- getDPI() - Method in class net.sf.paperclips.ImagePrint
-
Returns the DPI that this image will be rendered at.
- getEntries() - Method in class net.sf.paperclips.LayerPrint
-
Returns an array of entries in this LayerPrint.
- getFont(FontData) - Method in class net.sf.paperclips.internal.ResourcePool
-
Returns a font for the passed in FontData.
- getFontData() - Method in class net.sf.paperclips.PageNumberPageDecoration
-
Returns the font.
- getFontData() - Method in class net.sf.paperclips.PageNumberPrint
-
Returns the text font.
- getFontData() - Method in class net.sf.paperclips.TextPrint
-
Returns the font that will be used to print the text.
- getFontData() - Method in class net.sf.paperclips.TextStyle
-
Returns the font applied to the text.
- getFooter() - Method in class net.sf.paperclips.PagePrint
-
Returns the page footer.
- getFooterBackground() - Method in class net.sf.paperclips.DefaultGridLook
-
Returns the footer background color.
- getFooterBackground() - Method in class net.sf.paperclips.GridPrint
-
- getFooterBackgroundProvider() - Method in class net.sf.paperclips.DefaultGridLook
-
Returns the footer background color provider.
- getFooterBottom() - Method in interface net.sf.paperclips.GridMargins
-
Returns the margin, in pixels, at the bottom of the footer cells.
- getFooterCells() - Method in class net.sf.paperclips.GridPrint
-
Returns an array containing the footer cells in the grid.
- getFooterGap() - Method in class net.sf.paperclips.DefaultGridLook
-
Returns the vertical gap between the body and footer cells.
- getFooterGap() - Method in class net.sf.paperclips.PagePrint
-
Returns the gap between the body and footer, expressed in points.
- getFooterVerticalSpacing() - Method in interface net.sf.paperclips.GridMargins
-
Returns the vertical spacing, in pixels, between rows in the footer.
- getForeground() - Method in class net.sf.paperclips.TextPrint
-
Returns the foreground color.
- getForeground() - Method in class net.sf.paperclips.TextStyle
-
Returns the text foreground color.
- getFormat() - Method in class net.sf.paperclips.PageNumberPageDecoration
-
Returns the page number format.
- getGapSize() - Method in class net.sf.paperclips.LineBorder
-
Returns the size of the gap between the line border and the target print,
expressed in points.
- getHeader() - Method in class net.sf.paperclips.PagePrint
-
Returns the page header.
- getHeaderBackground() - Method in class net.sf.paperclips.DefaultGridLook
-
Returns the header background color.
- getHeaderBackground() - Method in class net.sf.paperclips.GridPrint
-
- getHeaderBackgroundProvider() - Method in class net.sf.paperclips.DefaultGridLook
-
Returns the header background color provider.
- getHeaderCells() - Method in class net.sf.paperclips.GridPrint
-
Returns an array containing the header cells in this grid.
- getHeaderGap() - Method in class net.sf.paperclips.DefaultGridLook
-
Returns the vertical gap between the header and body cells.
- getHeaderGap() - Method in class net.sf.paperclips.PagePrint
-
Returns the gap between the header and body, expressed in points.
- getHeaderTop() - Method in interface net.sf.paperclips.GridMargins
-
Returns the margin, in pixels, at the top of the header cells.
- getHeaderVerticalSpacing() - Method in interface net.sf.paperclips.GridMargins
-
Returns the vertical spacing, in pixels, between rows in the header.
- getHeight(boolean, boolean) - Method in class net.sf.paperclips.AbstractBorderPainter
-
Returns the sum of the top and bottom border insets.
- getHeight(boolean, boolean) - Method in interface net.sf.paperclips.BorderPainter
-
Returns the sum of the top and bottom border insets.
- getHorizontalAlignment() - Method in class net.sf.paperclips.GridCell
-
Returns the horizontal alignment applied to the cell content.
- getHorizontalAlignment() - Method in class net.sf.paperclips.LayerEntry
-
Returns the horizontal alignment applied to the target.
- getHorizontalSpacing() - Method in interface net.sf.paperclips.GridMargins
-
Returns the horizontal spacing, in pixels, between grid cells.
- getHorizontalSpacing() - Method in class net.sf.paperclips.GridPrint
-
- getImageData(String) - Method in class net.sf.paperclips.FactoryPrint
-
Deprecated.
Creates and returns an ImageData using the given filename.
- getImageData() - Method in class net.sf.paperclips.ImagePrint
-
Returns the ImageData of the image being printed.
- getItems() - Method in class net.sf.paperclips.SeriesPrint
-
Returns an array of items in the series.
- getLeft() - Method in class net.sf.paperclips.AbstractBorderPainter
-
Returns the border inset, in pixels, from the left.
- getLeft() - Method in interface net.sf.paperclips.BorderPainter
-
Returns the border inset, in pixels, from the left.
- getLeft() - Method in interface net.sf.paperclips.GridMargins
-
Returns the margin, in pixels, at the left side of the grid.
- getLineWidth() - Method in class net.sf.paperclips.LineBorder
-
Returns the line width of the border, expressed in points.
- getLook() - Method in class net.sf.paperclips.GridPrint
-
Returns the grid's look.
- getMarginBounds(Margins, Printer) - Static method in class net.sf.paperclips.PaperClips
-
Returns the bounding rectangle of the printable area which is inside the
given margins on the paper.
- getMargins() - Method in interface net.sf.paperclips.GridLookPainter
-
Returns the grid margins used for the GridLook.
- getMargins() - Method in class net.sf.paperclips.PrintJob
-
Returns the page margins, expressed in points.
- getMaxHeight() - Method in class net.sf.paperclips.AbstractBorderPainter
-
Returns the sum of the maximum top and bottom border insets.
- getMaxHeight() - Method in interface net.sf.paperclips.BorderPainter
-
Returns the sum of the maximum top and bottom border insets.
- getName() - Method in class net.sf.paperclips.PrintJob
-
Returns the name of the print job.
- getOrientation() - Method in class net.sf.paperclips.LinePrint
-
Returns the line orientation (one of SWT.HORIZONTAL
or
SWT.VERTICAL
).
- getOrientation() - Method in class net.sf.paperclips.PrintJob
-
Returns the page orientation.
- getOverlap() - Method in interface net.sf.paperclips.BorderPainter
-
Returns the x and y distance that two of the same BorderPainters would
overlap to create the appearance of a single border between the two.
- getPageCount() - Method in interface net.sf.paperclips.PageNumber
-
Returns the total number of pages.
- getPageEnumeration(PrintJob, Printer, GC) - Static method in class net.sf.paperclips.PaperClips
-
Returns a
PageEnumeration
for the passed in PrintJob on the given
Printer, using the given GC.
- getPageNumber() - Method in interface net.sf.paperclips.PageNumber
-
Returns the zero-based page index.
- getPageNumber() - Method in class net.sf.paperclips.PageNumberPrint
-
Returns the page number of this Print.
- getPageNumberFormat() - Method in class net.sf.paperclips.PageNumberPrint
-
Returns the page number format.
- getPages(PrintJob, Printer) - Static method in class net.sf.paperclips.PaperClips
-
Processes the print job and returns an array of pages for the given
printer device.
- getPainter(Device, GC) - Method in class net.sf.paperclips.DefaultGridLook
-
- getPainter(Device, GC) - Method in interface net.sf.paperclips.GridLook
-
Returns a GridLookPainter for painting the GridLook.
- getPaperBounds(Printer) - Static method in class net.sf.paperclips.PaperClips
-
Returns the bounding rectangle of the paper, including non-printable
margins.
- getPrint() - Method in class net.sf.paperclips.FactoryPrint
-
Deprecated.
Returns the Print created by this factory.
- getPrintableBounds(Printer) - Static method in class net.sf.paperclips.PaperClips
-
Returns the bounding rectangle of the printable area on the paper.
- getRGB() - Method in class net.sf.paperclips.LineBorder
-
Returns the border color.
- getRGB() - Method in class net.sf.paperclips.LinePrint
-
Returns the line color.
- getRGB() - Method in class net.sf.paperclips.PageNumberPageDecoration
-
Returns the text color.
- getRGB() - Method in class net.sf.paperclips.PageNumberPrint
-
Returns the text color.
- getRGB() - Method in class net.sf.paperclips.TextPrint
-
- getRight() - Method in class net.sf.paperclips.AbstractBorderPainter
-
Returns the border inset, in pixels, from the right.
- getRight() - Method in interface net.sf.paperclips.BorderPainter
-
Returns the border inset, in pixels, from the right.
- getRight() - Method in interface net.sf.paperclips.GridMargins
-
Returns the margin, in pixels, at the right side of the grid.
- getScale() - Method in class net.sf.paperclips.ScalePrint
-
Returns the scale by which the target will be scaled, or null (indicating
automatic scale down to fit).
- getSize() - Method in class net.sf.paperclips.AbstractPiece
-
- getSize() - Method in class net.sf.paperclips.CompositePiece
-
- getSize() - Method in class net.sf.paperclips.EmptyPrint
-
Returns the size of the empty space.
- getSize() - Method in class net.sf.paperclips.ImagePrint
-
Returns the size that the image will be rendered at, in points.
- getSize() - Method in interface net.sf.paperclips.PrintPiece
-
Returns the dimensions of this PrintPiece, in pixels.
- getStrikeout() - Method in class net.sf.paperclips.TextPrint
-
Returns the strikout flag.
- getStrikeout() - Method in class net.sf.paperclips.TextStyle
-
Returns the strikeout flag.
- getString(String) - Static method in class net.sf.paperclips.Messages
-
Returns the locale-specific messages for the given key.
- getStyle() - Method in class net.sf.paperclips.TextPrint
-
Returns the text style.
- getTarget() - Method in class net.sf.paperclips.AlignPrint
-
Returns the wrapped print being aligned
- getTarget() - Method in class net.sf.paperclips.BackgroundPrint
-
Returns the wrapped print to which the background color is being applied.
- getTarget() - Method in class net.sf.paperclips.BigPrint
-
Returns the wrapped print which is being split across pages.
- getTarget() - Method in class net.sf.paperclips.BorderPrint
-
Returns the wrapped print to which the border is being applied.
- getTarget() - Method in class net.sf.paperclips.ColumnPrint
-
Returns the target print being split into columns.
- getTarget() - Method in class net.sf.paperclips.LayerEntry
-
Returns the target print of this entry.
- getTarget() - Method in class net.sf.paperclips.NoBreakPrint
-
Returns the print which will not be broken across pages.
- getTarget() - Method in class net.sf.paperclips.RotatePrint
-
Returns the print to be rotated.
- getTarget() - Method in class net.sf.paperclips.ScalePrint
-
Returns the print being scaled.
- getTarget() - Method in class net.sf.paperclips.SidewaysPrint
-
Returns the print to be rotated.
- getText() - Method in class net.sf.paperclips.TextPrint
-
Returns the text that will be printed.
- getTextStyle() - Method in class net.sf.paperclips.PageNumberPrint
-
Returns the text style that will be used to render the page number
- getThickness() - Method in class net.sf.paperclips.LinePrint
-
Returns the line thickness, in points.
- getTop(boolean) - Method in class net.sf.paperclips.AbstractBorderPainter
-
Returns the border inset, in pixels, from the top.
- getTop(boolean) - Method in interface net.sf.paperclips.BorderPainter
-
Returns the border inset, in pixels, from the top.
- getUnderline() - Method in class net.sf.paperclips.TextPrint
-
Returns the underline flag.
- getUnderline() - Method in class net.sf.paperclips.TextStyle
-
Returns the underline flag.
- getVerticalAlignment() - Method in class net.sf.paperclips.GridCell
-
Returns the vertical alignment applied to the cell content.
- getVerticalSpacing() - Method in class net.sf.paperclips.GridPrint
-
- getWidth() - Method in class net.sf.paperclips.AbstractBorderPainter
-
Returns the sum of the left and right border insets.
- getWidth() - Method in interface net.sf.paperclips.BorderPainter
-
Returns the sum of the left and right border insets.
- getWordSplitting() - Method in class net.sf.paperclips.TextPrint
-
Returns whether word splitting is enabled.
- grid(String) - Method in class net.sf.paperclips.FactoryPrint
-
Deprecated.
Returns a GridPrint with columns using the given argument.
- grid(String, int) - Method in class net.sf.paperclips.FactoryPrint
-
Deprecated.
Returns a GridPrint with the given columns and spacing.
- GridCell - Class in net.sf.paperclips
-
Instances of this class represent a single cell in a GridPrint.
- GridColumn - Class in net.sf.paperclips
-
Describes the properties of a column in a GridPrint.
- GridColumn(int, int, int) - Constructor for class net.sf.paperclips.GridColumn
-
Constructs a GridColumn.
- GridLook - Interface in net.sf.paperclips
-
A pluggable "look" for a GridPrint.
- GridLookPainter - Interface in net.sf.paperclips
-
Interface for drawing a GridLook.
- GridMargins - Interface in net.sf.paperclips
-
An interface for informing a GridPrint what cell margins to use for the
GridLook.
- GridPrint - Class in net.sf.paperclips
-
A Print which arranges child prints into a grid.
- GridPrint() - Constructor for class net.sf.paperclips.GridPrint
-
Constructs a GridPrint with no columns and a default look.
- GridPrint(GridLook) - Constructor for class net.sf.paperclips.GridPrint
-
Constructs a GridPrint with no columns and the given look.
- GridPrint(String) - Constructor for class net.sf.paperclips.GridPrint
-
Constructs a GridPrint with the given columns and a default look.
- GridPrint(String, GridLook) - Constructor for class net.sf.paperclips.GridPrint
-
Constructs a GridPrint with the given columns and look.
- GridPrint(String, int) - Constructor for class net.sf.paperclips.GridPrint
-
- GridPrint(String, int, int) - Constructor for class net.sf.paperclips.GridPrint
-
- GridPrint(GridColumn[]) - Constructor for class net.sf.paperclips.GridPrint
-
Constructs a GridPrint with the given columns and a default look.
- GridPrint(GridColumn[], GridLook) - Constructor for class net.sf.paperclips.GridPrint
-
Constructs a GridPrint with the given columns and look.
- GridPrint(GridColumn[], int) - Constructor for class net.sf.paperclips.GridPrint
-
- GridPrint(GridColumn[], int, int) - Constructor for class net.sf.paperclips.GridPrint
-
- PAGE_X_OF_Y - Static variable in class net.sf.paperclips.Messages
-
Key for "Page {x} of {y}" used by DefaultPageNumberFormat.
- PageDecoration - Interface in net.sf.paperclips
-
An interface for creating page decorations.
- PageEnumeration - Class in net.sf.paperclips
-
An enumeration of pages for given print job on the given printer device.
- PageNumber - Interface in net.sf.paperclips
-
Instances of this class represent a page index in the output of a PagePrint.
- PageNumberFormat - Interface in net.sf.paperclips
-
Interface for formatting a PageNumber instance into a printable string.
- PageNumberPageDecoration - Class in net.sf.paperclips
-
A PageDecoration which displays the page number.
- PageNumberPageDecoration() - Constructor for class net.sf.paperclips.PageNumberPageDecoration
-
Constructs a PageNumberPageDecoration with default font, alignment, and
page number format.
- PageNumberPageDecoration(int) - Constructor for class net.sf.paperclips.PageNumberPageDecoration
-
Constructs a PageNumberPageDecoration with the given alignment.
- PageNumberPrint - Class in net.sf.paperclips
-
Displays the page number and page count within the context of a
PagePrint
.
- PageNumberPrint(PageNumber) - Constructor for class net.sf.paperclips.PageNumberPrint
-
Constructs a PageNumberPrint for the given page number.
- PageNumberPrint(PageNumber, FontData) - Constructor for class net.sf.paperclips.PageNumberPrint
-
Constructs a PageNumberPrint for the given page number and font.
- PageNumberPrint(PageNumber, int) - Constructor for class net.sf.paperclips.PageNumberPrint
-
Constructs a PageNumberPrint for the given page number and alignment.
- PageNumberPrint(PageNumber, FontData, int) - Constructor for class net.sf.paperclips.PageNumberPrint
-
Constructs a PageNumberPrint for the given page number, font and
alignment.
- PageNumberPrint(PageNumber, TextStyle) - Constructor for class net.sf.paperclips.PageNumberPrint
-
Constructs a PageNumberPrint for the given page number and text style.
- PagePrint - Class in net.sf.paperclips
-
A decorator Print which displays page headers and footers around a document
body, with page numbering capabilities.
- PagePrint(PageDecoration, int, Print) - Constructor for class net.sf.paperclips.PagePrint
-
Constructs a PagePrint with the given header and body.
- PagePrint(PageDecoration, Print) - Constructor for class net.sf.paperclips.PagePrint
-
Constructs a PagePrint with the given header and body.
- PagePrint(Print) - Constructor for class net.sf.paperclips.PagePrint
-
Constructs a PagePrint with the given body.
- PagePrint(Print, PageDecoration) - Constructor for class net.sf.paperclips.PagePrint
-
Constructs a PagePrint with the given body and footer.
- PagePrint(Print, int, PageDecoration) - Constructor for class net.sf.paperclips.PagePrint
-
Constructs a PagePrint with the given body, header and footer.
- PagePrint(Print, PageDecoration, PageDecoration) - Constructor for class net.sf.paperclips.PagePrint
-
- PagePrint(PageDecoration, Print, PageDecoration) - Constructor for class net.sf.paperclips.PagePrint
-
Constructs a PagePrint with the given body, header and footer.
- PagePrint(PageDecoration, int, Print, int, PageDecoration) - Constructor for class net.sf.paperclips.PagePrint
-
Constructs a PagePrint with the given body, header and footer.
- paint(GC, int, int, int, int, boolean, boolean) - Method in class net.sf.paperclips.AbstractBorderPainter
-
Paints a border around the specified region.
- paint(GC, int, int, int[], int[], int[][], int, boolean, int[], int[][], boolean, int[], int[][]) - Method in class net.sf.paperclips.BasicGridLookPainter
-
- paint(GC, int, int, int, int, boolean, boolean) - Method in interface net.sf.paperclips.BorderPainter
-
Paints a border around the specified region.
- paint(GC, int, int) - Method in class net.sf.paperclips.CompositePiece
-
- paint(GC, int, int, int[], int[], int[][], int, boolean, int[], int[][], boolean, int[], int[][]) - Method in interface net.sf.paperclips.GridLookPainter
-
Paints the grid look onto the GC.
- paint(GC, int, int) - Method in interface net.sf.paperclips.PrintPiece
-
Draws this PrintPiece on the given graphics device, at the given
coordinates.
- paintBodyCell(GC, Rectangle, int, int, int, boolean, boolean) - Method in class net.sf.paperclips.BasicGridLookPainter
-
Paint the decorations for the described body cell.
- paintFooterCell(GC, Rectangle, int, int, int) - Method in class net.sf.paperclips.BasicGridLookPainter
-
Paint the decorations for the described footer cell.
- paintHeaderCell(GC, Rectangle, int, int, int) - Method in class net.sf.paperclips.BasicGridLookPainter
-
Paint the decorations for the described header cell.
- PaperClips - Class in net.sf.paperclips
-
This class contains static constants and methods for preparing and printing
documents.
- PaperClipsUtil - Class in net.sf.paperclips.internal
-
Convenience methods specific to PaperClips
- parse(String) - Static method in class net.sf.paperclips.GridColumn
-
Parses the given column spec and returns a GridColumn matching that spec.
- PREFERRED - Static variable in class net.sf.paperclips.GridPrint
-
Constant column size value indicating that the column should be given its
preferred size.
- PREFERRED - Static variable in class net.sf.paperclips.internal.PrintSizeStrategy
-
Compute the preferred size.
- preferredSize() - Method in interface net.sf.paperclips.PrintIterator
-
Returns the smallest size PrintPiece that this Print would be broken into
if print space was unlimited.
- print(PrintJob, PrinterData) - Static method in class net.sf.paperclips.PaperClips
-
Prints the print job to the given printer.
- print(PrintJob, Printer) - Static method in class net.sf.paperclips.PaperClips
-
Prints the print job to the given printer.
- Print - Interface in net.sf.paperclips
-
Interface for printable elements.
- print(Print) - Static method in class net.sf.paperclips.PrintUtil
-
- print(Print, int) - Static method in class net.sf.paperclips.PrintUtil
-
- print(String, Print) - Static method in class net.sf.paperclips.PrintUtil
-
- print(String, Print, int) - Static method in class net.sf.paperclips.PrintUtil
-
- PrintDecorator - Interface in net.sf.paperclips.decorator
-
Interface for wrapping a print in a decoration.
- PrintIterator - Interface in net.sf.paperclips
-
Splits a Print into multiple PrintPieces, according to the space available on
the graphics device.
- PrintJob - Class in net.sf.paperclips
-
Instances of this class represent a prepared print job.
- PrintJob(String, Print) - Constructor for class net.sf.paperclips.PrintJob
-
Constructs a PrintJob for the given document.
- PrintPiece - Interface in net.sf.paperclips
-
A piece of a Print, which is capable of drawing itself on a graphics device.
- PrintSizeStrategy - Class in net.sf.paperclips.internal
-
The static instance members of this class aid in the calculation of prints
and help abstract out the minimum/preferred size concepts to simplify
algorithms.
- printTo(Printer, Print) - Static method in class net.sf.paperclips.PrintUtil
-
- printTo(Printer, Print, int) - Static method in class net.sf.paperclips.PrintUtil
-
- printTo(String, PrinterData, Print) - Static method in class net.sf.paperclips.PrintUtil
-
- printTo(String, PrinterData, Print, int) - Static method in class net.sf.paperclips.PrintUtil
-
- printTo(String, Printer, Print) - Static method in class net.sf.paperclips.PrintUtil
-
- printTo(String, Printer, Print, int) - Static method in class net.sf.paperclips.PrintUtil
-
- PrintUtil - Class in net.sf.paperclips
-
- sameClass(Object, Object) - Static method in class net.sf.paperclips.internal.Util
-
Returns whether the objects are of the same class.
- ScalePrint - Class in net.sf.paperclips
-
A decorator print that scales it's target larger or smaller.
- ScalePrint(Print) - Constructor for class net.sf.paperclips.ScalePrint
-
Constructs a ScalePrint which scales down it's target to print at it's
preferred size.
- ScalePrint(Print, Double) - Constructor for class net.sf.paperclips.ScalePrint
-
Constructs a ScalePrint which scales it's target by the given factor.
- SeriesPrint - Class in net.sf.paperclips
-
A Print which displays its child prints in series.
- SeriesPrint() - Constructor for class net.sf.paperclips.SeriesPrint
-
- setAlign(int) - Method in class net.sf.paperclips.PageNumberPageDecoration
-
Sets the horizontal text alignment.
- setAlign(int) - Method in class net.sf.paperclips.PageNumberPrint
-
Sets the horizontal text alignment to the argument.
- setAlign(int) - Method in class net.sf.paperclips.TextPrint
-
- setAlignment(int) - Method in class net.sf.paperclips.TextPrint
-
Sets the horizontal text alignment.
- setBackground(RGB) - Method in class net.sf.paperclips.BackgroundPrint
-
Sets the background color.
- setBackground(RGB) - Method in class net.sf.paperclips.DefaultCellBackgroundProvider
-
Sets the background color to the argument.
- setBackground(RGB) - Method in class net.sf.paperclips.TextPrint
-
Sets the background color to the argument.
- setBody(Print) - Method in class net.sf.paperclips.PagePrint
-
Sets the page body to the argument.
- setBodyBackground(RGB) - Method in class net.sf.paperclips.DefaultGridLook
-
Sets the body background color.
- setBodyBackground(RGB) - Method in class net.sf.paperclips.GridPrint
-
- setBodyBackgroundProvider(CellBackgroundProvider) - Method in class net.sf.paperclips.DefaultGridLook
-
Sets the body background color provider.
- setCellBorder(Border) - Method in class net.sf.paperclips.DefaultGridLook
-
Sets the cell border.
- setCellBorder(Border) - Method in class net.sf.paperclips.GridPrint
-
- setCellClippingEnabled(boolean) - Method in class net.sf.paperclips.GridPrint
-
Sets whether individual body cells in the grid may be broken across
pages.
- setCellPadding(Rectangle) - Method in class net.sf.paperclips.DefaultGridLook
-
Sets the cell padding to the values in the public fields of the argument.
- setCellPadding(int, int) - Method in class net.sf.paperclips.DefaultGridLook
-
Sets the cell padding to the given horizontal and vertical values.
- setCellPadding(int, int, int, int) - Method in class net.sf.paperclips.DefaultGridLook
-
Sets the cell padding to the specified values.
- setCellSpacing(Point) - Method in class net.sf.paperclips.DefaultGridLook
-
Sets the border spacing, in points, between adjacent grid cells.
- setCellSpacing(int, int) - Method in class net.sf.paperclips.DefaultGridLook
-
Sets the border spacing, in points, between adjacent grid cells.
- setColumnGroups(int[][]) - Method in class net.sf.paperclips.GridPrint
-
Sets the column groups to the given two-dimension array.
- setCompressed(boolean) - Method in class net.sf.paperclips.ColumnPrint
-
Sets whether the columns are compressed to the smallest possible height
on the last page.
- setDebug(boolean) - Static method in class net.sf.paperclips.PaperClips
-
EXPERIMENTAL: Sets whether debug mode is enabled.
- setDPI(Point) - Method in class net.sf.paperclips.ImagePrint
-
Sets the ImagePrint to render the image at the DPI of the argument.
- setDPI(int, int) - Method in class net.sf.paperclips.ImagePrint
-
Sets the ImagePrint to render the image at the given DPI.
- setFontData(FontData) - Method in class net.sf.paperclips.PageNumberPageDecoration
-
Sets the font.
- setFontData(FontData) - Method in class net.sf.paperclips.PageNumberPrint
-
Sets the text font to the argument.
- setFontData(FontData) - Method in class net.sf.paperclips.TextPrint
-
Sets the font that will be used to print the text.
- setFooter(PageDecoration) - Method in class net.sf.paperclips.PagePrint
-
Sets the page footer to the argument.
- setFooterBackground(RGB) - Method in class net.sf.paperclips.DefaultGridLook
-
Sets the footer background color.
- setFooterBackground(RGB) - Method in class net.sf.paperclips.GridPrint
-
- setFooterBackgroundProvider(CellBackgroundProvider) - Method in class net.sf.paperclips.DefaultGridLook
-
Sets the footer background color provider.
- setFooterGap(int) - Method in class net.sf.paperclips.DefaultGridLook
-
Sets the vertical gap between the header and body cells.
- setFooterGap(int) - Method in class net.sf.paperclips.PagePrint
-
Sets the gap between the body and footer to the argument, expressed in
points.
- setForeground(RGB) - Method in class net.sf.paperclips.TextPrint
-
Sets the foreground color to the argument.
- setFormat(PageNumberFormat) - Method in class net.sf.paperclips.PageNumberPageDecoration
-
Sets the page number format.
- setGap(int) - Method in class net.sf.paperclips.GapBorder
-
Sets the left, right, closed top and closed bottom gaps to he argument.
- setGapSize(int) - Method in class net.sf.paperclips.LineBorder
-
Sets the size of the gap between the line border and the target print.
- setHeader(PageDecoration) - Method in class net.sf.paperclips.PagePrint
-
Sets the page header to the argument.
- setHeaderBackground(RGB) - Method in class net.sf.paperclips.DefaultGridLook
-
Sets the header background color.
- setHeaderBackground(RGB) - Method in class net.sf.paperclips.GridPrint
-
- setHeaderBackgroundProvider(CellBackgroundProvider) - Method in class net.sf.paperclips.DefaultGridLook
-
Sets the header background color provider.
- setHeaderGap(int) - Method in class net.sf.paperclips.DefaultGridLook
-
Sets the vertical gap between the header and body cells.
- setHeaderGap(int) - Method in class net.sf.paperclips.PagePrint
-
Sets the gap between the header and body to the argument, expressed in
points.
- setHorizontalSpacing(int) - Method in class net.sf.paperclips.GridPrint
-
- setLineWidth(int) - Method in class net.sf.paperclips.LineBorder
-
Sets the line width to the argument.
- setLook(GridLook) - Method in class net.sf.paperclips.GridPrint
-
Sets the grid's look.
- setMargins(Margins) - Method in class net.sf.paperclips.PrintJob
-
Sets the page margins.
- setMargins(int) - Method in class net.sf.paperclips.PrintJob
-
Sets the top, left, right, and bottom margins to the argument.
- setOrientation(int) - Method in class net.sf.paperclips.PrintJob
-
Sets the page orientation.
- setPageNumber(PageNumber) - Method in class net.sf.paperclips.PageNumberPrint
-
Sets the page number to the argument.
- setPageNumberFormat(PageNumberFormat) - Method in class net.sf.paperclips.PageNumberPrint
-
Sets the format that will be used to convert the page number to a text
string.
- setRGB(RGB) - Method in class net.sf.paperclips.LineBorder
-
Sets the border color to the argument.
- setRGB(RGB) - Method in class net.sf.paperclips.LinePrint
-
Sets the line color to the argument.
- setRGB(RGB) - Method in class net.sf.paperclips.PageNumberPageDecoration
-
Sets the text color.
- setRGB(RGB) - Method in class net.sf.paperclips.PageNumberPrint
-
Sets the text color.
- setRGB(RGB) - Method in class net.sf.paperclips.TextPrint
-
- setSize(Point) - Method in class net.sf.paperclips.ImagePrint
-
Sets the ImagePrint to render the image at the given size, in points.
- setSize(int, int) - Method in class net.sf.paperclips.ImagePrint
-
Sets the ImagePrint to render the image at the given size, in points.
- setStrikeout(boolean) - Method in class net.sf.paperclips.TextPrint
-
Sets the strikeout flag to the argument.
- setStyle(TextStyle) - Method in class net.sf.paperclips.StyledTextPrint
-
- setStyle(TextStyle) - Method in class net.sf.paperclips.TextPrint
-
Sets the text style to the argument.
- setText(String) - Method in class net.sf.paperclips.TextPrint
-
Sets the text that will be printed.
- setTextStyle(TextStyle) - Method in class net.sf.paperclips.PageNumberPrint
-
Sets the text style that will be used to render the page number
- setThickness(double) - Method in class net.sf.paperclips.LinePrint
-
Sets the line thickness, in points.
- setUnderline(boolean) - Method in class net.sf.paperclips.TextPrint
-
Sets the underline flag to the argument.
- setVerticalSpacing(int) - Method in class net.sf.paperclips.GridPrint
-
- setWordSplitting(boolean) - Method in class net.sf.paperclips.TextPrint
-
Sets whether word splitting is enabled.
- SidewaysPrint - Class in net.sf.paperclips
-
A decorator print that rotates it's target by increments of 90 degrees.
- SidewaysPrint(Print) - Constructor for class net.sf.paperclips.SidewaysPrint
-
Constructs a SidewaysPrint that rotates it's target 90 degrees
counter-clockwise.
- SidewaysPrint(Print, int) - Constructor for class net.sf.paperclips.SidewaysPrint
-
Constructs a SidewaysPrint.
- SimplePageDecoration - Class in net.sf.paperclips
-
A PageDecoration which displays the same decoration on every page (ignoring
the page number).
- SimplePageDecoration(Print) - Constructor for class net.sf.paperclips.SimplePageDecoration
-
Constructs a BasicPageDecoration.
- size - Variable in class net.sf.paperclips.GridColumn
-
The size property for this GridColumn.
- size() - Method in class net.sf.paperclips.SeriesPrint
-
Returns the number of Prints that have been added to this SeriesPrint.
- startDummyJob(Printer, String) - Static method in class net.sf.paperclips.PaperClips
-
Starts a dummy job on the given Printer if the platform requires it.
- strikeout() - Method in class net.sf.paperclips.TextStyle
-
Returns a copy of this TextStyle, with the strikeout flag set to true.
- strikeout(boolean) - Method in class net.sf.paperclips.TextStyle
-
Returns a copy of this TextStyle, with the strikeout flag set to the
argument.
- StyledTextPrint - Class in net.sf.paperclips
-
A class for printing styled text.
- StyledTextPrint() - Constructor for class net.sf.paperclips.StyledTextPrint
-
Constructs a new StyledTextPrint.
- sum(int[]) - Static method in class net.sf.paperclips.internal.PaperClipsUtil
-
Returns the sum of all elements in the array.
- sum(int[], int, int) - Static method in class net.sf.paperclips.internal.PaperClipsUtil
-
Returns the sum of all elements in the array in the range
[start, start+count)
.
- sumByIndex(int[], int[]) - Static method in class net.sf.paperclips.internal.PaperClipsUtil
-
Returns the sum of all elements in the array at the given indices.
- SWTUtil - Class in net.sf.paperclips.internal
-
Utility methods for dealing with SWT objects
- SWTUtil() - Constructor for class net.sf.paperclips.internal.SWTUtil
-