Klasse SignatureForm
java.lang.Object
com.inet.report.ReportComponent
com.inet.report.Element
com.inet.report.SignatureForm
- Alle implementierten Schnittstellen:
BorderProperties, GeneralProperties, NodeParser, com.inet.report.ReferenceHolder, SignatureProperties, Serializable, Cloneable
This class describes the visible Signature in PDF documents, that will be shown in Adobe Reader.
The visible signature can consist of one, two or none of the standard elements
(certificate details and subject name). With two standard elements the signature
field will be divided into two parts (left and right). The same effect will be caused
through setting the flag devideField even if only one standard element is present.
- Seit:
- 9.1
- Siehe auch:
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifikator und TypKlasseBeschreibungstatic enumFOR INTERNAL USE ONLYVon Klasse geerbte verschachtelte Klassen/Schnittstellen Element
Element.BorderProps, Element.CommonProperties, Element.ElementTypes, Element.HyperlinkProps, Element.StringProps -
Feldübersicht
FelderModifikator und TypFeldBeschreibungstatic final intMinimal distance from bottom boundary to text (inset)static final intDistance from left boundary to text (inset)static final intMinimal distance from right boundary to text (inset)static final intDistance from top boundary to text (inset)Von Klasse geerbte Felder Element
BOX, CHART, CROSSTAB, CROSSTABSECTION, DATABASE_PICTURE, FIELD, FIELDPART, FORMFIELD, INTERACTIVE_SORTING, JAVABEAN, LINE, PARAGRAPH, PICTURE, SIGNATURE, SUBREPORT, TEXT, TEXTPARTVon Schnittstelle geerbte Felder BorderProperties
LINE_STYLE_DASHED, LINE_STYLE_DOTTED, LINE_STYLE_DOUBLE, LINE_STYLE_SINGLE, NO_LINEVon Schnittstelle geerbte Felder GeneralProperties
ALIGN_HORIZONTAL_CENTER, ALIGN_HORIZONTAL_DEFAULT, ALIGN_HORIZONTAL_JUSTIFIED, ALIGN_HORIZONTAL_LEFT, ALIGN_HORIZONTAL_RIGHT, ALIGN_VERTICAL_BOTTOM, ALIGN_VERTICAL_CENTER, ALIGN_VERTICAL_TOPVon Schnittstelle geerbte Felder SignatureProperties
POSITION_LEFT, POSITION_RIGHT -
Methodenübersicht
Modifikator und TypMethodeBeschreibungbooleanReturns the flag indicating whether the signature field must be divided into two parts.booleanReturns the flag indicating whether the subject common name must be written in a signature field.List<? extends ReportComponent> Returns allReportComponents that are descendants of this one.intReturns the position of text-items in the divided signature field:POSITION_LEFT,POSITION_RIGHT.booleanReturns the flag indicating whether the date of signing must be written in certificate details.booleanReturns the flag indicating whether the subject distinguished name must be written in certificate details.booleanReturns the flag indicating whether the labels of signature items must be written in certificate details.booleanReturns the flag indicating whether the subject location must be written in certificate details.booleanReturns the flag indicating whether the reason of signing must be written in certificate details.booleanReturns the flag indicating whether the subject common name must be written in certificate details.parseElement(com.inet.report.parser.XMLTag group, String tag, Attributes atts, Map<String, Object> parserMap) FOR INTERNAL USE ONLY FOR INTERNAL USE ONLY FOR INTERNAL USE ONLY Internal method for reading report XMLvoidsetDivideField(boolean val) Sets the flag indicating that the signature field must be divided into two parts.voidsetShowSubjectName(boolean val) Sets the flag indicating that the subject common name must be written in a signature field.voidsetTextPosition(int pos) Sets the position of text-items in the divided signature field:POSITION_LEFT,POSITION_RIGHT.voidsetWriteCertificateDate(boolean val) Sets the flag indicating that the date of signing must be written in certificate details.voidsetWriteCertificateDistinguishedName(boolean val) Sets the flag indicating that subject distinguished name must be written in certificate details.voidsetWriteCertificateLabels(boolean val) Sets the flag indicating that the labels of signature items must be written in certificate details.voidsetWriteCertificateLocation(boolean val) Sets the flag indicating whether the subject location must be written in certificate details.voidsetWriteCertificateReason(boolean val) Sets the flag indicating that the reason of signing must be written in certificate details.voidsetWriteCertificateSubjectName(boolean val) Sets the flag indicating that subject common name must be written in certificate details.Von Klasse geerbte Methoden Element
addListener, copy, getBottomLineStyle, getBottomLineStyleFormula, getBulletValueStack, getCanGrowCount, getCanGrowFormula, getCloseBorderOnPageBreakFormula, getDropShadowFormula, getEngine, getField, getForeColor, getForeColorFormula, getHorAlign, getHorAlignFormula, getHyperlinkUrl, getHyperlinkUrlFormula, getLeftLineStyle, getLeftLineStyleFormula, getListStack, getParent, getPropertyFormulas, getRightLineStyle, getRightLineStyleFormula, getSuppressIfDuplicatedFormula, getTightHorizontalFormula, getToolTipsText, getToolTipsTextFormula, getTopLineStyle, getTopLineStyleFormula, getTypeAsString, getVerAlign, getVerAlignFormula, indexOf, isCanGrow, isCloseBorderOnPageBreak, isCloseBorderOnPageBreakInternal, isDropShadow, isInCrossTab, isSuppressIfDuplicated, isTightHorizontal, paramString, parseText, removeListener, setBottomLineStyle, setBottomLineStyleFormula, setBulletValueStack, setCanGrow, setCanGrowCount, setCanGrowFormula, setCloseBorderOnPageBreak, setCloseBorderOnPageBreakFormula, setDropShadow, setDropShadowFormula, setField, setForeColor, setForeColorFormula, setHorAlign, setHorAlignFormula, setHyperlinkUrl, setHyperlinkUrlFormula, setIndex, setLeftLineStyle, setLeftLineStyleFormula, setListStack, setReferences, setRightLineStyle, setRightLineStyleFormula, setSuppressIfDuplicated, setSuppressIfDuplicatedFormula, setTightHorizontal, setTightHorizontalFormula, setToolTipsText, setToolTipsTextFormula, setTopLineStyle, setTopLineStyleFormula, setVerAlign, setVerAlignFormulaVon Klasse geerbte Methoden ReportComponent
addPropertyChangeListener, addPropertyChangeListener, addReferencedObject, addVetoableChangeListener, addVetoableChangeListener, getBackColor, getBackColorFormula, getCustomData, getHeight, getKeepTogetherFormula, getRealReferencedObjectCount, getReferencedObjectCount, getReferencedObjects, getStructElem, getSuppressFormula, getType, getWidth, getX, getY, isDOMParser, isKeepTogether, isSuppress, parseDOM, parseEndElement, removePropertyChangeListener, removePropertyChangeListener, removeReferencedObject, removeVetoableChangeListener, removeVetoableChangeListener, resetReferences, setBackColor, setBackColorFormula, setCustomData, setHeight, setKeepTogether, setKeepTogetherFormula, setStructElem, setSuppress, setSuppressFormula, setWidth, setX, setYVon Klasse geerbte Methoden Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitVon Schnittstelle geerbte Methoden BorderProperties
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, setTopLineStyleFormulaVon Schnittstelle geerbte Methoden GeneralProperties
getKeepTogetherFormula, getSuppressFormula, isKeepTogether, isSuppress, setKeepTogether, setKeepTogetherFormula, setSuppress, setSuppressFormula
-
Felddetails
-
INSET_LEFT
public static final int INSET_LEFTDistance from left boundary to text (inset)- Siehe auch:
-
INSET_RIGHT
public static final int INSET_RIGHTMinimal distance from right boundary to text (inset)- Siehe auch:
-
INSET_TOP
public static final int INSET_TOPDistance from top boundary to text (inset)- Siehe auch:
-
INSET_BOTTOM
public static final int INSET_BOTTOMMinimal distance from bottom boundary to text (inset)- Siehe auch:
-
-
Methodendetails
-
parseElement
public NodeParser parseElement(com.inet.report.parser.XMLTag group, String tag, Attributes atts, Map<String, Object> parserMap) throws FatalParserExceptionFOR INTERNAL USE ONLY FOR INTERNAL USE ONLY FOR INTERNAL USE ONLY Internal method for reading report XMLParses an XML node with the given information, and returns either a sub-element which was created as a result, or null if no sub-element was created, i.e. the information was applied to the ReportComponent itself. Note that the parsing is highly tolerant, i.e. exceptions are intercepted and suppressed if at all possible.
- Angegeben von:
parseElementin SchnittstelleNodeParser- Setzt außer Kraft:
parseElementin KlasseElement- Parameter:
group- XMLTag of the current node to be parsed, or null if there is no such current group. An XMLTag is a group of nodes bundled together, usually it is a Properties node such as CommonProperties, BorderProperties, etc.tag- The XMLTag to be parsedatts- The set of attributes in the current XMLTagparserMap- The map of current Parser.- Gibt zurück:
- The NodeParser sub-element if one needed to be created, or null if none was created.
- Löst aus:
FatalParserException- if an exception occurs which causes the report to not be able to be read: causes the abortion of the reading of the report.
-
getDivideField
public boolean getDivideField()Returns the flag indicating whether the signature field must be divided into two parts.- Angegeben von:
getDivideFieldin SchnittstelleSignatureProperties- Gibt zurück:
- flag indicating if the signature field will be divided into two parts.
-
getShowSubjectName
public boolean getShowSubjectName()Returns the flag indicating whether the subject common name must be written in a signature field. In this case this item will duplicate the item in certificate details.- Angegeben von:
getShowSubjectNamein SchnittstelleSignatureProperties- Gibt zurück:
- flag indicating if the subject common name will be written in a signature field.
-
getTextPosition
public int getTextPosition()Returns the position of text-items in the divided signature field:POSITION_LEFT,POSITION_RIGHT. If both certificate details and common name are present, this value describes the position of certificate details.- Angegeben von:
getTextPositionin SchnittstelleSignatureProperties- Gibt zurück:
- the position of text-items in the divided signature field.
-
getWriteCertificateDate
public boolean getWriteCertificateDate()Returns the flag indicating whether the date of signing must be written in certificate details.- Angegeben von:
getWriteCertificateDatein SchnittstelleSignatureProperties- Gibt zurück:
- flag indicating if the date of signing will be written in certificate details.
-
getWriteCertificateDistinguishedName
public boolean getWriteCertificateDistinguishedName()Returns the flag indicating whether the subject distinguished name must be written in certificate details.- Angegeben von:
getWriteCertificateDistinguishedNamein SchnittstelleSignatureProperties- Gibt zurück:
- flag indicating if the subject distinguished name will be written in certificate details.
-
getWriteCertificateLabels
public boolean getWriteCertificateLabels()Returns the flag indicating whether the labels of signature items must be written in certificate details.- Angegeben von:
getWriteCertificateLabelsin SchnittstelleSignatureProperties- Gibt zurück:
- flag indicating if the labels of signature items will be written in certificate details.
-
getWriteCertificateLocation
public boolean getWriteCertificateLocation()Returns the flag indicating whether the subject location must be written in certificate details.- Angegeben von:
getWriteCertificateLocationin SchnittstelleSignatureProperties- Gibt zurück:
- flag indicating if the subject location will be written in certificate details.
-
getWriteCertificateReason
public boolean getWriteCertificateReason()Returns the flag indicating whether the reason of signing must be written in certificate details.- Angegeben von:
getWriteCertificateReasonin SchnittstelleSignatureProperties- Gibt zurück:
- flag indicating if the reason of signing will be written in certificate details.
-
getWriteCertificateSubjectName
public boolean getWriteCertificateSubjectName()Returns the flag indicating whether the subject common name must be written in certificate details.- Angegeben von:
getWriteCertificateSubjectNamein SchnittstelleSignatureProperties- Gibt zurück:
- flag indicating if the subject common name will be written in certificate details.
-
setDivideField
public void setDivideField(boolean val) Sets the flag indicating that the signature field must be divided into two parts. At least one part must contains either certificate details items or subject common name. otherwise this flag must be set to false. If both certificate details and common name are present then this flag must be set to true.- Angegeben von:
setDivideFieldin SchnittstelleSignatureProperties- Parameter:
val- if true the the signature field must be divided into two parts.
-
setShowSubjectName
public void setShowSubjectName(boolean val) Sets the flag indicating that the subject common name must be written in a signature field. In this case this item will duplicate the item in certificate details.- Angegeben von:
setShowSubjectNamein SchnittstelleSignatureProperties- Parameter:
val- if true the subject common name will be written in a signature fields.
-
setTextPosition
public void setTextPosition(int pos) Sets the position of text-items in the divided signature field:POSITION_LEFT,POSITION_RIGHT. If both certificate details and common name are present, this value describes the position of certificate details.- Angegeben von:
setTextPositionin SchnittstelleSignatureProperties- Parameter:
pos- the position of text-items in the divided signature field.
-
setWriteCertificateDate
public void setWriteCertificateDate(boolean val) Sets the flag indicating that the date of signing must be written in certificate details.- Angegeben von:
setWriteCertificateDatein SchnittstelleSignatureProperties- Parameter:
val- if true the date of signing will be written in certificate details.
-
setWriteCertificateDistinguishedName
public void setWriteCertificateDistinguishedName(boolean val) Sets the flag indicating that subject distinguished name must be written in certificate details.- Angegeben von:
setWriteCertificateDistinguishedNamein SchnittstelleSignatureProperties- Parameter:
val- if true the subject distinguished name will be written in certificate details.
-
setWriteCertificateLabels
public void setWriteCertificateLabels(boolean val) Sets the flag indicating that the labels of signature items must be written in certificate details.- Angegeben von:
setWriteCertificateLabelsin SchnittstelleSignatureProperties- Parameter:
val- if true the labels of signature items will be written in certificate details.
-
setWriteCertificateLocation
public void setWriteCertificateLocation(boolean val) Sets the flag indicating whether the subject location must be written in certificate details.- Angegeben von:
setWriteCertificateLocationin SchnittstelleSignatureProperties- Parameter:
val- if true the subject location will be written in certificate details.
-
setWriteCertificateReason
public void setWriteCertificateReason(boolean val) Sets the flag indicating that the reason of signing must be written in certificate details.- Angegeben von:
setWriteCertificateReasonin SchnittstelleSignatureProperties- Parameter:
val- if true the reason of signing will be written in certificate details.
-
setWriteCertificateSubjectName
public void setWriteCertificateSubjectName(boolean val) Sets the flag indicating that subject common name must be written in certificate details.- Angegeben von:
setWriteCertificateSubjectNamein SchnittstelleSignatureProperties- Parameter:
val- if true the subject common name will be written in certificate details.
-
getSubComponents
Returns allReportComponents that are descendants of this one. E.G. this will return all Element of aSection. But it's as well useful forCrossTabs orTextelements which have additional elements.- Angegeben von:
getSubComponentsin KlasseReportComponent- Gibt zurück:
- a list with all sub components which can be empty as well; will be
nullif the component has no descendants
-