public class PageDrawerPrinting extends SimplePrinting
PageDrawer
curY, extraordinaryFormat, firstPrintCalled, groupStart, lineFeed, PRINT_DIALOG_ALWAYS, PRINT_DIALOG_EACH_GROUP, PRINT_DIALOG_NEVER, PRINT_DIALOG_ONCE, printDialogChoice, printerJob, printService
currentFontSpec, originalFont
Constructor and Description |
---|
PageDrawerPrinting(PageDrawer pageDrawer)
Constructs a new PagerDrawerPrinting with the specified PagerDrawer which does the drawing.
|
Modifier and Type | Method and Description |
---|---|
protected MotivePageFormat |
getPageFormat(java.awt.print.PrinterJob printerJob) |
int |
print(java.awt.Graphics graphics,
java.awt.print.PageFormat pageFormat,
int pageIndex) |
afterPrinting, beforePrinting, getBottomPrintEnding, getLeftPrintStart, getRightPrintEnding, getTopPrintStart, isToManipulate, print, print, print, replaceSize, replaceSize, setBottomPrintEnding, setLeftPrintStart, setMargins, setPrinter, setPrinterDialog, setRightPrintEnding, setTopPrintStart, startGroup
changeFontIfNew, getCompletelyLoadedImage, getCompletelyLoadedImage, getPx, getPxD, getRightAllignOffset, getRightAllignStartPoint, limit, limit, resetFont, setOnBold, wrap
public PageDrawerPrinting(PageDrawer pageDrawer)
pageDrawer
- the page drawer where drawing is delegated to.protected MotivePageFormat getPageFormat(java.awt.print.PrinterJob printerJob)
getPageFormat
in class SimplePrinting
public int print(java.awt.Graphics graphics, java.awt.print.PageFormat pageFormat, int pageIndex) throws java.awt.print.PrinterException
java.awt.print.PrinterException
Copyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de