Uses of Class
org.eclipse.nebula.paperclips.core.PrintJob
| Package | Description |
|---|---|
| org.eclipse.nebula.paperclips.core |
Core classes for creating printable documents.
|
| org.eclipse.nebula.paperclips.widgets |
SWT controls for viewing Prints on-screen.
|
-
Uses of PrintJob in org.eclipse.nebula.paperclips.core
Methods in org.eclipse.nebula.paperclips.core that return PrintJob Modifier and Type Method Description PrintJobPrintJob. setMargins(int margins)Sets the top, left, right, and bottom margins to the argument.PrintJobPrintJob. setMargins(Margins margins)Sets the page margins.PrintJobPrintJob. setOrientation(int orientation)Sets the page orientation.Methods in org.eclipse.nebula.paperclips.core with parameters of type PrintJob Modifier and Type Method Description static PageEnumerationPaperClips. getPageEnumeration(PrintJob printJob, org.eclipse.swt.printing.Printer printer, org.eclipse.swt.graphics.GC gc)Returns aPageEnumerationfor 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 voidPaperClips. print(PrintJob printJob, org.eclipse.swt.printing.Printer printer)Prints the print job to the given printer.static voidPaperClips. print(PrintJob printJob, org.eclipse.swt.printing.PrinterData printerData)Prints the print job to the given printer.Constructors in org.eclipse.nebula.paperclips.core with parameters of type PrintJob Constructor Description PageEnumeration(PrintJob job, org.eclipse.swt.printing.Printer printer, org.eclipse.swt.graphics.GC gc) -
Uses of PrintJob in org.eclipse.nebula.paperclips.widgets
Methods in org.eclipse.nebula.paperclips.widgets that return PrintJob Modifier and Type Method Description PrintJobPrintPreview. getPrintJob()Returns the print job.Methods in org.eclipse.nebula.paperclips.widgets with parameters of type PrintJob Modifier and Type Method Description voidPrintPreview. setPrintJob(PrintJob printJob)Sets the print job to preview.