Package | Description |
---|---|
net.sf.paperclips |
Core classes for creating printable documents.
|
Modifier and Type | Method | Description |
---|---|---|
Margins |
PrintJob.getMargins() |
Returns the page margins, expressed in points.
|
Margins |
Margins.rotate() |
Returns a Margins that is the result of rotating this Margins
counter-clockwise 90 degrees.
|
Modifier and Type | Method | Description |
---|---|---|
static org.eclipse.swt.graphics.Rectangle |
PaperClips.getMarginBounds(Margins margins,
org.eclipse.swt.printing.Printer printer) |
Returns the bounding rectangle of the printable area which is inside the
given margins on the paper.
|
PrintJob |
PrintJob.setMargins(Margins margins) |
Sets the page margins.
|