public class SignaturePositioning
extends java.lang.Object
implements java.io.Serializable
This positioning allows to select the location where the signature block is placed in the document.
Modifier and Type | Field and Description |
---|---|
protected float |
footerLine
Provides the position of the footline.
|
protected PageAlgorithm |
pageAlgorithm
The page algorithm.
|
protected AxisAlgorithm |
widthAlgorithm
The width algorithm.
|
protected AxisAlgorithm |
xAlgorithm
The x axis algorithm.
|
protected AxisAlgorithm |
yAlgorithm
The y axis algorithm.
|
Constructor and Description |
---|
SignaturePositioning() |
SignaturePositioning(java.lang.String position) |
Modifier and Type | Method and Description |
---|---|
protected void |
checkAxisAlgorithm(AxisAlgorithm algorithm) |
protected void |
checkPageAlgorithm(PageAlgorithm algorithm) |
float |
getFooterLine() |
PageAlgorithm |
getPageAlgorithm() |
java.lang.String |
getPositionString() |
AxisAlgorithm |
getWidthAlgorithm() |
AxisAlgorithm |
getXAlgorithm() |
AxisAlgorithm |
getYAlgorithm() |
void |
setFooterLine(float footerLine) |
void |
setPageAlgorithm(PageAlgorithm pageAlgorithm) |
void |
setWidthAlgorithm(AxisAlgorithm widthAlgorithm) |
void |
setXAlgorithm(AxisAlgorithm algorithm) |
void |
setYAlgorithm(AxisAlgorithm algorithm) |
protected AxisAlgorithm xAlgorithm
May be AutoAxisAlgorithm
or AbsoluteAxisAlgorithm
protected AxisAlgorithm yAlgorithm
May be AutoAxisAlgorithm
or AbsoluteAxisAlgorithm
protected AxisAlgorithm widthAlgorithm
May be AutoAxisAlgorithm
or AbsoluteAxisAlgorithm
protected PageAlgorithm pageAlgorithm
May be AutoPageAlgorithm
, AbsolutePageAlgorithm
or
NewPageAlgorithm
protected float footerLine
Only used if the pageAlgorithm is AutoPageAlgorithm
and the
yAlgorithm is AutoAxisAlgorithm
public SignaturePositioning()
public SignaturePositioning(java.lang.String position) throws PdfAsException
PdfAsException
protected void checkAxisAlgorithm(AxisAlgorithm algorithm)
protected void checkPageAlgorithm(PageAlgorithm algorithm)
public AxisAlgorithm getXAlgorithm()
public void setXAlgorithm(AxisAlgorithm algorithm)
algorithm
- the xAlgorithm to setpublic AxisAlgorithm getYAlgorithm()
public void setYAlgorithm(AxisAlgorithm algorithm)
algorithm
- the yAlgorithm to setpublic AxisAlgorithm getWidthAlgorithm()
public void setWidthAlgorithm(AxisAlgorithm widthAlgorithm)
widthAlgorithm
- the widthAlgorithm to setpublic PageAlgorithm getPageAlgorithm()
public void setPageAlgorithm(PageAlgorithm pageAlgorithm)
pageAlgorithm
- the pageAlgorithm to setpublic float getFooterLine()
public void setFooterLine(float footerLine)
footerLine
- the footerLine to setpublic java.lang.String getPositionString()