public class SignatureForm extends Element implements SignatureProperties, BorderProperties
Modifier and Type | Field and Description |
---|---|
static int |
INSET_BOTTOM
Minimal distance from bottom boundary to text (inset)
|
static int |
INSET_LEFT
Distance from left boundary to text (inset)
|
static int |
INSET_RIGHT
Minimal distance from right boundary to text (inset)
|
static int |
INSET_TOP
Distance from top boundary to text (inset)
|
BOX, CHART, CROSSTAB, CROSSTABSECTION, DATABASE_PICTURE, FIELD, FIELDPART, FORMFIELD, INTERACTIVE_SORTING, JAVABEAN, LINE, PARAGRAPH, PICTURE, SIGNATURE, SUBREPORT, TEXT, TEXTPART
POSITION_LEFT, POSITION_RIGHT
LINE_STYLE_DASHED, LINE_STYLE_DOTTED, LINE_STYLE_DOUBLE, LINE_STYLE_SINGLE, NO_LINE
ALIGN_HORIZONTAL_CENTER, ALIGN_HORIZONTAL_DEFAULT, ALIGN_HORIZONTAL_JUSTIFIED, ALIGN_HORIZONTAL_LEFT, ALIGN_HORIZONTAL_RIGHT
Modifier and Type | Method and Description |
---|---|
boolean |
getDivideField()
Returns the flag indicating whether the signature field must be divided into two parts.
|
boolean |
getShowSubjectName()
Returns the flag indicating whether the subject common name must be written in a signature field.
|
java.util.List<? extends ReportComponent> |
getSubComponents()
Returns all
ReportComponent s that are descendants of this one. |
int |
getTextPosition()
Returns the position of text-items in the divided signature field:
POSITION_LEFT ,
POSITION_RIGHT . |
boolean |
getWriteCertificateDate()
Returns the flag indicating whether the date of signing must be written in certificate details.
|
boolean |
getWriteCertificateDistinguishedName()
Returns the flag indicating whether the subject distinguished name must be written in certificate details.
|
boolean |
getWriteCertificateLabels()
Returns the flag indicating whether the labels of signature items must be written in certificate details.
|
boolean |
getWriteCertificateLocation()
Returns the flag indicating whether the subject location must be written in certificate details.
|
boolean |
getWriteCertificateReason()
Returns the flag indicating whether the reason of signing must be written in certificate details.
|
boolean |
getWriteCertificateSubjectName()
Returns the flag indicating whether the subject common name must be written in certificate details.
|
void |
setDivideField(boolean val)
Sets the flag indicating that the signature field must be divided into two parts.
|
void |
setShowSubjectName(boolean val)
Sets the flag indicating that the subject common name must be written in a signature field.
|
void |
setTextPosition(int pos)
Sets the position of text-items in the divided signature field:
POSITION_LEFT ,
POSITION_RIGHT . |
void |
setWriteCertificateDate(boolean val)
Sets the flag indicating that the date of signing must be written in certificate details.
|
void |
setWriteCertificateDistinguishedName(boolean val)
Sets the flag indicating that subject distinguished name must be written in certificate details.
|
void |
setWriteCertificateLabels(boolean val)
Sets the flag indicating that the labels of signature items must be written in certificate details.
|
void |
setWriteCertificateLocation(boolean val)
Sets the flag indicating whether the subject location must be written in certificate details.
|
void |
setWriteCertificateReason(boolean val)
Sets the flag indicating that the reason of signing must be written in certificate details.
|
void |
setWriteCertificateSubjectName(boolean val)
Sets the flag indicating that subject common name must be written in certificate details.
|
addListener, copy, getBottomLineStyle, getBottomLineStyleFormula, getCanGrowCount, getCanGrowFormula, getCloseBorderOnPageBreakFormula, getDropShadowFormula, getEngine, getField, getForeColor, getForeColorFormula, getHorAlign, getHorAlignFormula, getHyperlinkUrl, getHyperlinkUrlFormula, getLeftLineStyle, getLeftLineStyleFormula, getParent, getPropertyFormulas, getRightLineStyle, getRightLineStyleFormula, getSuppressIfDuplicatedFormula, getTightHorizontalFormula, getToolTipsText, getToolTipsTextFormula, getTopLineStyle, getTopLineStyleFormula, indexOf, isCanGrow, isCloseBorderOnPageBreak, isDropShadow, isSuppressIfDuplicated, isTightHorizontal, paramString, removeListener, setBottomLineStyle, setBottomLineStyleFormula, setCanGrow, setCanGrowCount, setCanGrowFormula, setCloseBorderOnPageBreak, setCloseBorderOnPageBreakFormula, setDropShadow, setDropShadowFormula, setField, setForeColor, setForeColorFormula, setHorAlign, setHorAlignFormula, setHyperlinkUrl, setHyperlinkUrlFormula, setIndex, setLeftLineStyle, setLeftLineStyleFormula, setRightLineStyle, setRightLineStyleFormula, setSuppressIfDuplicated, setSuppressIfDuplicatedFormula, setTightHorizontal, setTightHorizontalFormula, setToolTipsText, setToolTipsTextFormula, setTopLineStyle, setTopLineStyleFormula
getBackColor, getBackColorFormula, getHeight, getKeepTogetherFormula, getSuppressFormula, getType, getWidth, getX, getY, isKeepTogether, isSuppress, setBackColor, setBackColorFormula, setHeight, setKeepTogether, setKeepTogetherFormula, setSuppress, setSuppressFormula, setWidth, setX, setY
getBackColor, getBackColorFormula, getBottomLineStyle, getBottomLineStyleFormula, getCloseBorderOnPageBreakFormula, getDropShadowFormula, getForeColor, getForeColorFormula, getLeftLineStyle, getLeftLineStyleFormula, getRightLineStyle, getRightLineStyleFormula, getTightHorizontalFormula, getTopLineStyle, getTopLineStyleFormula, isCloseBorderOnPageBreak, isDropShadow, isTightHorizontal, setBackColor, setBackColorFormula, setBottomLineStyle, setBottomLineStyleFormula, setCloseBorderOnPageBreak, setCloseBorderOnPageBreakFormula, setDropShadow, setDropShadowFormula, setForeColor, setForeColorFormula, setLeftLineStyle, setLeftLineStyleFormula, setRightLineStyle, setRightLineStyleFormula, setTightHorizontal, setTightHorizontalFormula, setTopLineStyle, setTopLineStyleFormula
getKeepTogetherFormula, getSuppressFormula, isKeepTogether, isSuppress, setKeepTogether, setKeepTogetherFormula, setSuppress, setSuppressFormula
isDOMParser, parseDOM, parseElement, parseEndElement, parseText
public static final int INSET_LEFT
public static final int INSET_RIGHT
public static final int INSET_TOP
public static final int INSET_BOTTOM
public boolean getDivideField()
getDivideField
in interface SignatureProperties
public boolean getShowSubjectName()
getShowSubjectName
in interface SignatureProperties
public int getTextPosition()
POSITION_LEFT
,
POSITION_RIGHT
.
If both certificate details and common name are present,
this value describes the position of certificate details.getTextPosition
in interface SignatureProperties
public boolean getWriteCertificateDate()
getWriteCertificateDate
in interface SignatureProperties
public boolean getWriteCertificateDistinguishedName()
getWriteCertificateDistinguishedName
in interface SignatureProperties
public boolean getWriteCertificateLabels()
getWriteCertificateLabels
in interface SignatureProperties
public boolean getWriteCertificateLocation()
getWriteCertificateLocation
in interface SignatureProperties
public boolean getWriteCertificateReason()
getWriteCertificateReason
in interface SignatureProperties
public boolean getWriteCertificateSubjectName()
getWriteCertificateSubjectName
in interface SignatureProperties
public void setDivideField(boolean val)
setDivideField
in interface SignatureProperties
val
- if true the the signature field must be divided into two parts.public void setShowSubjectName(boolean val)
setShowSubjectName
in interface SignatureProperties
val
- if true the subject common name will be written in a signature fields.public void setTextPosition(int pos)
POSITION_LEFT
,
POSITION_RIGHT
.
If both certificate details and common name are present,
this value describes the position of certificate details.setTextPosition
in interface SignatureProperties
pos
- the position of text-items in the divided signature field.public void setWriteCertificateDate(boolean val)
setWriteCertificateDate
in interface SignatureProperties
val
- if true the date of signing will be written in certificate details.public void setWriteCertificateDistinguishedName(boolean val)
setWriteCertificateDistinguishedName
in interface SignatureProperties
val
- if true the subject distinguished name will be written in certificate details.public void setWriteCertificateLabels(boolean val)
setWriteCertificateLabels
in interface SignatureProperties
val
- if true the labels of signature items will be written in certificate details.public void setWriteCertificateLocation(boolean val)
setWriteCertificateLocation
in interface SignatureProperties
val
- if true the subject location will be written in certificate details.public void setWriteCertificateReason(boolean val)
setWriteCertificateReason
in interface SignatureProperties
val
- if true the reason of signing will be written in certificate details.public void setWriteCertificateSubjectName(boolean val)
setWriteCertificateSubjectName
in interface SignatureProperties
val
- if true the subject common name will be written in certificate details.public java.util.List<? extends ReportComponent> getSubComponents()
ReportComponent
s that are descendants of this one. E.G. this will return all Element
of a Section
. But it's as well useful for CrossTab
s or Text
elements which have
additional elements.getSubComponents
in class ReportComponent
null
if the component has no descendantsCopyright © 1999-2018 by i-net software GmbH