Save This Page
Home » iText-src-2.1.3 » com.lowagie » text » pdf » [javadoc | source]
com.lowagie.text.pdf
public static class: PdfDocument.PdfInfo [javadoc | source]
java.lang.Object
   com.lowagie.text.pdf.PdfObject
      com.lowagie.text.pdf.PdfDictionary
         com.lowagie.text.pdf.PdfDocument$PdfInfo
PdfInfo is the PDF InfoDictionary.

A document's trailer may contain a reference to an Info dictionary that provides information about the document. This optional dictionary may contain one or more keys, whose values should be strings.
This object is described in the 'Portable Document Format Reference Manual version 1.3' section 6.10 (page 120-121)

Fields inherited from com.lowagie.text.pdf.PdfDictionary:
FONT,  OUTLINES,  PAGE,  PAGES,  CATALOG,  hashMap
Fields inherited from com.lowagie.text.pdf.PdfObject:
BOOLEAN,  NUMBER,  STRING,  NAME,  ARRAY,  DICTIONARY,  STREAM,  NULL,  INDIRECT,  NOTHING,  TEXT_PDFDOCENCODING,  TEXT_UNICODE,  bytes,  type,  indRef
Constructor:
 PdfInfo() 
 PdfInfo(String author,
    String title,
    String subject) 
    Constructs a PdfInfo-object.
    Parameters:
    author - name of the author of the document
    title - title of the document
    subject - subject of the document
Method from com.lowagie.text.pdf.PdfDocument$PdfInfo Summary:
addAuthor,   addCreationDate,   addCreator,   addKeywords,   addProducer,   addSubject,   addTitle,   addkey
Methods from com.lowagie.text.pdf.PdfDictionary:
contains,   get,   getAsArray,   getAsBoolean,   getAsDict,   getAsIndirectObject,   getAsName,   getAsNumber,   getAsStream,   getAsString,   getDirectObject,   getKeys,   isCatalog,   isFont,   isOutlineTree,   isPage,   isPages,   merge,   mergeDifferent,   put,   putAll,   putEx,   remove,   size,   toPdf,   toString
Methods from com.lowagie.text.pdf.PdfObject:
canBeInObjStm,   getBytes,   getIndRef,   isArray,   isBoolean,   isDictionary,   isIndirect,   isName,   isNull,   isNumber,   isStream,   isString,   length,   setContent,   setIndRef,   toPdf,   toString,   type
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.lowagie.text.pdf.PdfDocument$PdfInfo Detail:
  void addAuthor(String author) 
    Adds the name of the author to the document.
  void addCreationDate() 
    Adds the date of creation to the document.
  void addCreator(String creator) 
    Adds the name of the creator to the document.
  void addKeywords(String keywords) 
    Adds some keywords to the document.
  void addProducer() 
    Adds the name of the producer to the document.
  void addSubject(String subject) 
    Adds the subject to the document.
  void addTitle(String title) 
    Adds the title of the document.
  void addkey(String key,
    String value)