Uses of Interface
org.eclipse.nebula.paperclips.core.PrintPiece
-
Packages that use PrintPiece Package Description org.eclipse.nebula.paperclips.core Core classes for creating printable documents.org.eclipse.nebula.paperclips.core.border.internal org.eclipse.nebula.paperclips.core.grid.internal org.eclipse.nebula.paperclips.core.internal org.eclipse.nebula.paperclips.core.internal.piece org.eclipse.nebula.paperclips.core.internal.util org.eclipse.nebula.paperclips.core.page org.eclipse.nebula.paperclips.core.text org.eclipse.nebula.paperclips.core.text.internal org.eclipse.nebula.paperclips.snippets org.eclipse.nebula.paperclips.widgets SWT controls for viewing Prints on-screen. -
-
Uses of PrintPiece in org.eclipse.nebula.paperclips.core
Classes in org.eclipse.nebula.paperclips.core that implement PrintPiece Modifier and Type Class Description class
AbstractPiece
An abstract PrintPiece class.(package private) class
BackgroundPiece
(package private) class
BigPiece
class
CompositePiece
A composite PrintPiece for displaying child PrintPieces.(package private) class
DebugPiece
(package private) class
ImagePiece
(package private) class
LinePiece
(package private) class
NullPrintPiece
(package private) class
ScalePiece
Fields in org.eclipse.nebula.paperclips.core declared as PrintPiece Modifier and Type Field Description private PrintPiece
BigIterator. currentPiece
(package private) PrintPiece
CompositeEntry. piece
private PrintPiece
BackgroundPiece. target
private PrintPiece
BigPiece. target
private PrintPiece
DebugPiece. target
private PrintPiece
ScalePiece. target
Methods in org.eclipse.nebula.paperclips.core that return PrintPiece Modifier and Type Method Description private PrintPiece
PageEnumeration. createPagePiece(PrintPiece page)
(package private) PrintPiece
ColumnIterator. createResult(PrintPiece[] pieces, int[] colSizes)
private PrintPiece[]
ColumnIterator. disposePieces(java.util.List<PrintPiece> pieces)
static PrintPiece[]
PaperClips. getPages(PrintJob printJob, org.eclipse.swt.printing.Printer printer)
Processes the print job and returns an array of pages for the given printer device.private static PrintPiece[]
PaperClips. getPages(PrintJob printJob, org.eclipse.swt.printing.Printer printer, org.eclipse.swt.graphics.GC gc)
PrintPiece
AlignIterator. next(int width, int height)
PrintPiece
BackgroundIterator. next(int width, int height)
PrintPiece
BigIterator. next(int width, int height)
PrintPiece
BreakIterator. next(int width, int height)
PrintPiece
ColumnIterator. next(int width, int height)
PrintPiece
DebugIterator. next(int width, int height)
PrintPiece
EmptyIterator. next(int width, int height)
PrintPiece
ImageIterator. next(int width, int height)
PrintPiece
LineIterator. next(int width, int height)
PrintPiece
NoBreakIterator. next(int width, int height)
static PrintPiece
PaperClips. next(PrintIterator iterator, int width, int height)
Calls iterator.next(width, height) and returns the result.PrintPiece
PrintIterator. next(int width, int height)
Returns the next PrintPiece for the Print.PrintPiece
RotateIterator. next(int width, int height)
PrintPiece
ScaleIterator. next(int width, int height)
PrintPiece
SeriesIterator. next(int width, int height)
PrintPiece
SidewaysIterator. next(int width, int height)
(package private) PrintPiece[]
ColumnIterator. nextColumns(PrintIterator iterator, int[] colSizes, int height)
Iterates across the given column sizes and returns an array of PrintPieces to fill those columns, or null if there was insufficient room to continue iterating.private PrintPiece
ColumnIterator. nextCompressed(int[] colSizes, PrintIterator iter, PrintPiece[] columns)
PrintPiece
PageEnumeration. nextPage()
Returns the next page.Methods in org.eclipse.nebula.paperclips.core with parameters of type PrintPiece Modifier and Type Method Description private PrintPiece
PageEnumeration. createPagePiece(PrintPiece page)
(package private) PrintPiece
ColumnIterator. createResult(PrintPiece[] pieces, int[] colSizes)
private void
ColumnIterator. disposePieces(PrintPiece[] pieces)
private static void
PaperClips. disposeUnusedPages(PrintPiece[] pages, int startPage, int endPage)
private int
ColumnIterator. getMaxHeight(PrintPiece[] pieces)
private PrintPiece
ColumnIterator. nextCompressed(int[] colSizes, PrintIterator iter, PrintPiece[] columns)
private static boolean
PageEnumeration. notDebugPiece(PrintPiece page)
private static boolean
PageEnumeration. notNull(PrintPiece page)
private static void
PaperClips. printPages(org.eclipse.swt.printing.Printer printer, org.eclipse.swt.graphics.GC gc, PrintPiece[] pages, int startPage, int endPage, int collatedCopies, int noncollatedCopies)
Method parameters in org.eclipse.nebula.paperclips.core with type arguments of type PrintPiece Modifier and Type Method Description private PrintPiece[]
ColumnIterator. disposePieces(java.util.List<PrintPiece> pieces)
Constructors in org.eclipse.nebula.paperclips.core with parameters of type PrintPiece Constructor Description BackgroundPiece(PrintPiece target, org.eclipse.swt.graphics.RGB background, org.eclipse.swt.graphics.Device device)
BigPiece(PrintPiece target, org.eclipse.swt.graphics.Point size, int xOffset, int yOffset)
CompositeEntry(PrintPiece piece, org.eclipse.swt.graphics.Point offset)
Constructs a CompositeEntry with the given PrintPiece and offset.DebugPiece(PrintPiece target)
ScalePiece(org.eclipse.swt.graphics.Device device, PrintPiece target, double scale, int maxWidth, int maxHeight)
-
Uses of PrintPiece in org.eclipse.nebula.paperclips.core.border.internal
Classes in org.eclipse.nebula.paperclips.core.border.internal that implement PrintPiece Modifier and Type Class Description class
BorderPiece
Fields in org.eclipse.nebula.paperclips.core.border.internal declared as PrintPiece Modifier and Type Field Description private PrintPiece
BorderPiece. target
Methods in org.eclipse.nebula.paperclips.core.border.internal that return PrintPiece Modifier and Type Method Description private PrintPiece
BorderIterator. getTallestPieceNotCompletelyConsumingTarget(int width, int height)
PrintPiece
BorderIterator. next(int width, int height)
private PrintPiece
BorderIterator. next(int width, int height, boolean bottomBorderOpen)
Constructors in org.eclipse.nebula.paperclips.core.border.internal with parameters of type PrintPiece Constructor Description BorderPiece(PrintPiece target, BorderPainter border, boolean topOpen, boolean bottomOpen)
-
Uses of PrintPiece in org.eclipse.nebula.paperclips.core.grid.internal
Classes in org.eclipse.nebula.paperclips.core.grid.internal that implement PrintPiece Modifier and Type Class Description (package private) class
GridLookPainterPiece
Methods in org.eclipse.nebula.paperclips.core.grid.internal that return PrintPiece Modifier and Type Method Description private PrintPiece
GridIterator. createResult(int[] colSizes, PrintPiece headerPiece, int[] headerRows, int[][] headerColSpans, int firstRow, boolean topOpen, PrintPiece bodyPiece, int[] bodyRows, int[][] bodyColSpans, boolean bottomOpen, PrintPiece footerPiece, int[] footerRows, int[][] footerColSpans)
private static PrintPiece
GridIterator. createRowResult(PrintPiece[] pieces, int[] xOffsets, int[] yOffsets)
private static PrintPiece[]
GridIterator. layoutCellsWithFillVertAlignment(GridCellIterator[] cells, int height, int[] cellWidths, PrintPiece[] cellPieces)
private static PrintPiece[]
GridIterator. layoutCellsWithNonFillVertAlignment(GridCellIterator[] cells, int height, boolean bottomOpen, int[] cellWidths)
PrintPiece
GridIterator. next(int width, int height)
private PrintPiece
GridIterator. nextBodyPiece(int[] colSizes, int height, java.util.List<java.lang.Integer> rowHeights, java.util.List<int[]> colSpans, boolean footerPresent)
private PrintPiece
GridIterator. nextFooterPiece(int[] colSizes, int height, int[] rowHeights, int[][] colSpans)
private PrintPiece
GridIterator. nextHeaderOrFooterPiece(int[] colSizes, int height, int[] rowHeights, int[][] colSpans, int rowSpacing, GridCellIterator[][] headerOrFooter)
private PrintPiece
GridIterator. nextHeaderPiece(int[] colSizes, int height, int[] rowHeights, int[][] colSpans)
private PrintPiece
GridIterator. nextRow(GridCellIterator[] cells, int[] columnWidths, int height, boolean bottomOpen)
Methods in org.eclipse.nebula.paperclips.core.grid.internal with parameters of type PrintPiece Modifier and Type Method Description private void
GridIterator. applyCellAlignment(GridCellIterator[] cells, int[] cellWidths, PrintPiece[] pieces, int rowHeight, int[] xOffsets, int[] yOffsets)
private static int
GridIterator. calculateRowHeight(PrintPiece[] cellPieces, GridCellIterator[] cells)
private PrintPiece
GridIterator. createResult(int[] colSizes, PrintPiece headerPiece, int[] headerRows, int[][] headerColSpans, int firstRow, boolean topOpen, PrintPiece bodyPiece, int[] bodyRows, int[][] bodyColSpans, boolean bottomOpen, PrintPiece footerPiece, int[] footerRows, int[][] footerColSpans)
private static PrintPiece
GridIterator. createRowResult(PrintPiece[] pieces, int[] xOffsets, int[] yOffsets)
private static PrintPiece[]
GridIterator. layoutCellsWithFillVertAlignment(GridCellIterator[] cells, int height, int[] cellWidths, PrintPiece[] cellPieces)
-
Uses of PrintPiece in org.eclipse.nebula.paperclips.core.internal
Classes in org.eclipse.nebula.paperclips.core.internal that implement PrintPiece Modifier and Type Class Description class
RotatePiece
Fields in org.eclipse.nebula.paperclips.core.internal declared as PrintPiece Modifier and Type Field Description private PrintPiece
RotatePiece. target
Methods in org.eclipse.nebula.paperclips.core.internal that return PrintPiece Modifier and Type Method Description PrintPiece
LayerIterator. next(int width, int height)
private PrintPiece[]
LayerIterator. nextPieces(int width, int height)
Constructors in org.eclipse.nebula.paperclips.core.internal with parameters of type PrintPiece Constructor Description RotatePiece(org.eclipse.swt.graphics.Device device, PrintPiece target, int angle, org.eclipse.swt.graphics.Point size)
-
Uses of PrintPiece in org.eclipse.nebula.paperclips.core.internal.piece
Classes in org.eclipse.nebula.paperclips.core.internal.piece that implement PrintPiece Modifier and Type Class Description class
EmptyPiece
A blank PrintPiece of a predetermined size -
Uses of PrintPiece in org.eclipse.nebula.paperclips.core.internal.util
Methods in org.eclipse.nebula.paperclips.core.internal.util with parameters of type PrintPiece Modifier and Type Method Description static void
PaperClipsUtil. dispose(PrintPiece piece)
Disposes the print piece if not null.static void
PaperClipsUtil. dispose(PrintPiece[] pieces)
Disposes the print pieces that are not null.static void
PaperClipsUtil. dispose(PrintPiece[] pages, int start, int end)
Disposes the print pieces in the array from start (inclusive) to end (exclusive).static void
PaperClipsUtil. dispose(PrintPiece p1, PrintPiece p2)
Disposes the arguments that are not null.static void
PaperClipsUtil. dispose(PrintPiece piece, PrintPiece[] pieces)
Disposes the print pieces that are not null.Method parameters in org.eclipse.nebula.paperclips.core.internal.util with type arguments of type PrintPiece Modifier and Type Method Description static void
PaperClipsUtil. dispose(java.util.List<PrintPiece> pages)
Disposes the print pieces in the list. -
Uses of PrintPiece in org.eclipse.nebula.paperclips.core.page
Classes in org.eclipse.nebula.paperclips.core.page that implement PrintPiece Modifier and Type Class Description (package private) class
PageNumberPiece
Methods in org.eclipse.nebula.paperclips.core.page that return PrintPiece Modifier and Type Method Description private PrintPiece
PageIterator. createResult(int height, PrintPiece headerPiece, PrintPiece bodyPiece, PrintPiece footerPiece)
private PrintPiece
PageIterator. getDecorationPrintPiece(Print decoration, int width, int height)
PrintPiece
PageIterator. next(int width, int height)
PrintPiece
PageNumberIterator. next(int width, int height)
Methods in org.eclipse.nebula.paperclips.core.page with parameters of type PrintPiece Modifier and Type Method Description private CompositeEntry
PageIterator. createEntry(PrintPiece piece, int y)
private PrintPiece
PageIterator. createResult(int height, PrintPiece headerPiece, PrintPiece bodyPiece, PrintPiece footerPiece)
private int
PageIterator. heightOf(PrintPiece piece)
-
Uses of PrintPiece in org.eclipse.nebula.paperclips.core.text
Methods in org.eclipse.nebula.paperclips.core.text that return PrintPiece Modifier and Type Method Description private PrintPiece
StyledTextIterator. createRowResult(int rowAscent, java.util.List<PrintPiece> rowElements)
private PrintPiece
TextIterator. internalNext(int width, int height)
PrintPiece
LineBreakIterator. next(int width, int height)
PrintPiece
StyledTextIterator. next(int width, int height)
PrintPiece
TextIterator. next(int width, int height)
private PrintPiece
StyledTextIterator. nextRow(int width, int height)
Methods in org.eclipse.nebula.paperclips.core.text with parameters of type PrintPiece Modifier and Type Method Description private int
StyledTextIterator. getAscent(PrintPiece piece)
private int
StyledTextIterator. getDescent(PrintPiece piece)
Method parameters in org.eclipse.nebula.paperclips.core.text with type arguments of type PrintPiece Modifier and Type Method Description private PrintPiece
StyledTextIterator. createRowResult(int rowAscent, java.util.List<PrintPiece> rowElements)
-
Uses of PrintPiece in org.eclipse.nebula.paperclips.core.text.internal
Subinterfaces of PrintPiece in org.eclipse.nebula.paperclips.core.text.internal Modifier and Type Interface Description interface
TextPrintPiece
Classes in org.eclipse.nebula.paperclips.core.text.internal that implement PrintPiece Modifier and Type Class Description class
TextPiece
-
Uses of PrintPiece in org.eclipse.nebula.paperclips.snippets
Methods in org.eclipse.nebula.paperclips.snippets with parameters of type PrintPiece Modifier and Type Method Description static org.eclipse.swt.graphics.ImageData
ImageCaptureExample. captureImageData(org.eclipse.swt.printing.Printer printer, PrintPiece page, org.eclipse.swt.graphics.Point imageSize)
Captures the page to an image and returns it. -
Uses of PrintPiece in org.eclipse.nebula.paperclips.widgets
Classes in org.eclipse.nebula.paperclips.widgets that implement PrintPiece Modifier and Type Class Description (package private) class
RotateClockwisePrintPiece
Fields in org.eclipse.nebula.paperclips.widgets declared as PrintPiece Modifier and Type Field Description (package private) PrintPiece
PrintPieceCanvas. piece
private PrintPiece
PrintViewer.BackgroundUpdater. piece
private PrintPiece
RotateClockwisePrintPiece. target
Fields in org.eclipse.nebula.paperclips.widgets with type parameters of type PrintPiece Modifier and Type Field Description private java.util.List<PrintPiece>
PrintPreview. pages
Methods in org.eclipse.nebula.paperclips.widgets that return PrintPiece Modifier and Type Method Description PrintPiece
PrintPieceCanvas. getPrintPiece()
Returns the PrintPiece being displayed by this PrintCanvas.Methods in org.eclipse.nebula.paperclips.widgets with parameters of type PrintPiece Modifier and Type Method Description private void
PrintPreview. disposeResources(org.eclipse.swt.graphics.Image printerImage, org.eclipse.swt.graphics.GC printerGC, org.eclipse.swt.graphics.Transform printerTransform, org.eclipse.swt.graphics.Image displayImage, PrintPiece page)
private void
PrintPreview. paintPage(org.eclipse.swt.widgets.Event event, PrintPiece page, org.eclipse.swt.graphics.Point location)
void
PrintPieceCanvas. setPrintPiece(PrintPiece piece)
Displays the given Print in this PrintCanvas.private void
PrintViewer. setPrintPiece(PrintPiece piece, boolean updateMinHeight)
Constructors in org.eclipse.nebula.paperclips.widgets with parameters of type PrintPiece Constructor Description RotateClockwisePrintPiece(org.eclipse.swt.graphics.Device device, PrintPiece target)
-