public class PadesPageOptimization
extends java.lang.Object
Constructor and Description |
---|
PadesPageOptimization()
Page optimization with default options
|
PadesPageOptimization(PadesPaperSize paperSize)
Page optimization for specific paper size.
|
PadesPageOptimization(PadesSize customPaperSize)
Page optimization for custom paper size (that its not covered by PadesPaperSize standard options).
|
Modifier and Type | Method and Description |
---|---|
PadesSize |
getCustomPaperSize() |
PadesPageOrientation |
getPageOrientation() |
PadesPaperSize |
getPaperSize() |
void |
setCustomPaperSize(PadesSize customPaperSize)
Sets a custom paper size (that its not covered by PadesPaperSize standard options)
|
void |
setPageOrientation(PadesPageOrientation pageOrientation) |
void |
setPaperSize(PadesPaperSize paperSize) |
com.lacunasoftware.restpki.PadesPageOptimizationModel |
toModel() |
public PadesPageOptimization()
public PadesPageOptimization(PadesPaperSize paperSize)
paperSize
- Paper size standard.public PadesPageOptimization(PadesSize customPaperSize)
customPaperSize
- Custom paper size width and heightpublic PadesPaperSize getPaperSize()
public void setPaperSize(PadesPaperSize paperSize)
public PadesSize getCustomPaperSize()
public void setCustomPaperSize(PadesSize customPaperSize)
customPaperSize
- Custom paper size width and heightpublic PadesPageOrientation getPageOrientation()
public void setPageOrientation(PadesPageOrientation pageOrientation)
public com.lacunasoftware.restpki.PadesPageOptimizationModel toModel()