/** * Sets the contact info provided by the signer to enable a recipient to contact the signer to * verify the signature, e.g. a phone number. * * @param contactInfo the contact info to be used */ public void setContactInfo(String contactInfo) { dictionary.setString(COSName.CONTACT_INFO, contactInfo); }
/** * This will set the mapping name of the field. * * @param mappingName the mapping name of the field */ public void setMappingName(String mappingName) { dictionary.setString(COSName.TM, mappingName); }
/** * This will set the file name to be launched or the document to be opened * or printed, in standard Windows pathname format. If the name string includes * a backslash character (\), the backslash must itself be preceded by a backslash. * This value must be a single string; it is not a file specification. * * @param f The file name to be launched. */ public void setF( String f ) { action.setString(COSName.F, f ); }
/** * This will set a parameter string to be passed to the application designated by the F entry. * This entry should be omitted if F designates a document. * * @param p The parameter string. */ public void setP( String p ) { action.setString(COSName.P, p ); }
/** * The build date of the software module. This string is normally produced by the compiler. * * @param date is the build date of the software module */ public void setDate(String date) { dictionary.setString(COSName.DATE, date); }
/** * This will set name representing a Unix file. * * @param file The name of the file. */ public void setFileUnix( String file ) { fs.setString( COSName.UNIX, file ); }
/** * (Optional) A URL, the use for which is defined by the URLType entry. * * @param url String of the URL */ public void setURL(String url) { this.dictionary.setString(COSName.URL, url); }
/** * Set a unique name for an annotation. * * @param name The unique annotation name. */ public final void setName(String name) { annot.setString(COSName.NM, name); }
/** * This will get the value of the /NM entry in the annotation dictionary. * * @param name the /NM value of an annotation dictionary or null if the entry is to be removed. */ public void setAnnotationName(String name) { dict.setString(COSName.A, name); } }
/** * Set the dir to launch from. * * @param dir The dir of the executable/document to launch. */ public void setDirectory( String dir ) { params.setString( COSName.D, dir ); }
/** * This will set the title of the document. * * @param title The new title for the document. */ public void setTitle( String title ) { info.setString( COSName.TITLE, title ); }
/** * This will set the subject of the document. * * @param subject The new subject for the document. */ public void setSubject( String subject ) { info.setString( COSName.SUBJECT, subject ); }
/** * This will set the keywords of the document. * * @param keywords The new keywords for the document. */ public void setKeywords( String keywords ) { info.setString( COSName.KEYWORDS, keywords ); }
/** * Set the default appearance string. * * @param appearance The new default appearance string. */ public final void setDefaultAppearance(String appearance) { annot.setString(COSName.DA, appearance); }
/** * This will set the name of the referenced page. * * @param name The referenced page name. */ public void setName(String name) { ref.setString(COSName.NAME, name); }
/** * This will set the caption positioning. Allowed values are: "Inline" and "Top" * * @param captionStyle caption positioning */ public final void setCaptionStyle(String captionStyle) { annot.setString(COSName.CP, captionStyle); }
/** * The annotation modification date. * * @param date The date to store in the FDF annotation. */ public final void setDate(String date) { annot.setString(COSName.M, date); }
/** * Sets the name of the file as found in the EmbeddedFiles name tree. This is only to be used if * the target is a child of the current document. * * @param filename a filename or null if the entry is to be deleted. */ public void setFilename(String filename) { dict.setString(COSName.N, filename); }
/** * Sets the name of the optional content group. * @param name the name */ public final void setName(String name) { dict.setString(COSName.NAME, name); }