Package | Description |
---|---|
org.eclipse.nebula.paperclips.core |
Core classes for creating printable documents.
|
Modifier and Type | Method and Description |
---|---|
PrintJob |
PrintJob.setMargins(int margins)
Sets the top, left, right, and bottom margins to the argument.
|
PrintJob |
PrintJob.setMargins(Margins margins)
Sets the page margins.
|
PrintJob |
PrintJob.setOrientation(int orientation)
Sets the page orientation.
|
Modifier and Type | Method and Description |
---|---|
static PageEnumeration |
PaperClips.getPageEnumeration(PrintJob printJob,
org.eclipse.swt.printing.Printer printer,
org.eclipse.swt.graphics.GC gc)
Returns a
PageEnumeration for the passed in PrintJob on the given
Printer, using the given GC. |
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.
|
static void |
PaperClips.print(PrintJob printJob,
org.eclipse.swt.printing.Printer printer)
Prints the print job to the given printer.
|
static void |
PaperClips.print(PrintJob printJob,
org.eclipse.swt.printing.PrinterData printerData)
Prints the print job to the given printer.
|
Constructor and Description |
---|
PageEnumeration(PrintJob job,
org.eclipse.swt.printing.Printer printer,
org.eclipse.swt.graphics.GC gc) |