Uses of Class
com.lowagie.text.DocumentException

Packages that use DocumentException
com.lowagie.rups.model   
com.lowagie.text   
com.lowagie.text.html   
com.lowagie.text.html.simpleparser   
com.lowagie.text.pdf   
com.lowagie.text.pdf.codec.wmf   
com.lowagie.text.pdf.events   
com.lowagie.text.pdf.interfaces   
com.lowagie.text.rtf   
com.lowagie.text.rtf.graphic   
 

Uses of DocumentException in com.lowagie.rups.model
 

Methods in com.lowagie.rups.model that throw DocumentException
protected  void PdfFile.readFile(RandomAccessFileOrArray pdf)
          Does the actual reading of the file into PdfReader and PDFFile.
 

Constructors in com.lowagie.rups.model that throw DocumentException
PdfFile(byte[] file)
          Constructs a PdfFile object.
PdfFile(File file)
          Constructs a PdfFile object.
 

Uses of DocumentException in com.lowagie.text
 

Subclasses of DocumentException in com.lowagie.text
 class BadElementException
          Signals an attempt to create an Element that hasn't got the right form.
 

Methods in com.lowagie.text that throw DocumentException
 boolean ElementListener.add(Element element)
          Signals that an Element was added to the Document.
 boolean DocWriter.add(Element element)
          Signals that an Element was added to the Document.
 boolean Document.add(Element element)
          Adds an Element to the Document.
 PdfPTable SimpleTable.createPdfPTable()
          Creates a PdfPTable object based on this TableAttributes object.
 void Image.makeMask()
          Make this Image a mask.
 void ImgWMF.readWMF(PdfTemplate template)
          Reads the WMF into a template.
 void Image.setImageMask(Image mask)
          Sets the explicit masking.
 void Table.setWidths(int[] widths)
          Sets the widths of the different columns (percentages).
 

Uses of DocumentException in com.lowagie.text.html
 

Methods in com.lowagie.text.html that throw DocumentException
 boolean HtmlWriter.add(Element element)
          Signals that an Element was added to the Document.
 

Uses of DocumentException in com.lowagie.text.html.simpleparser
 

Methods in com.lowagie.text.html.simpleparser that throw DocumentException
 boolean HTMLWorker.add(Element element)
           
 void HTMLWorker.clearTextWrap()
           
 

Uses of DocumentException in com.lowagie.text.pdf
 

Subclasses of DocumentException in com.lowagie.text.pdf
 class BadPdfFormatException
          Signals that a bad PDF format has been used to construct a PdfObject.
 class PdfException
          Signals that an unspecified problem while constructing a PDF document.
 

Methods in com.lowagie.text.pdf that throw DocumentException
 boolean PdfDocument.add(Element element)
          Signals that an Element was added to the Document.
protected  void PdfDocument.add(Image image)
          Adds an image to the document.
 PdfName PdfWriter.addDirectImageSimple(Image image)
          Use this method to adds an image to the document but not to the page resources.
 PdfName PdfWriter.addDirectImageSimple(Image image, PdfIndirectReference fixedRef)
          Adds an image to the document but not to the page resources.
 void PdfCopyForms.addDocument(PdfReader reader)
          Concatenates a PDF document.
 void PdfCopyFields.addDocument(PdfReader reader)
          Concatenates a PDF document.
 void PdfCopyForms.addDocument(PdfReader reader, List pagesToKeep)
          Concatenates a PDF document selecting the pages to keep.
 void PdfCopyFields.addDocument(PdfReader reader, List pagesToKeep)
          Concatenates a PDF document selecting the pages to keep.
 void PdfCopyForms.addDocument(PdfReader reader, String ranges)
          Concatenates a PDF document selecting the pages to keep.
 void PdfCopyFields.addDocument(PdfReader reader, String ranges)
          Concatenates a PDF document selecting the pages to keep.
 void MultiColumnText.addElement(Element element)
          Add an element to be rendered in a column.
 void PdfContentByte.addImage(Image image)
          Adds an Image to the page.
 void PdfContentByte.addImage(Image image, boolean inlineImage)
          Adds an Image to the page.
 void PdfPatternPainter.addImage(Image image, float a, float b, float c, float d, float e, float f)
           
 void PdfImportedPage.addImage(Image image, float a, float b, float c, float d, float e, float f)
          Always throws an error.
 void PdfContentByte.addImage(Image image, float a, float b, float c, float d, float e, float f)
          Adds an Image to the page.
 void Type3Glyph.addImage(Image image, float a, float b, float c, float d, float e, float f, boolean inlineImage)
           
 void PdfContentByte.addImage(Image image, float a, float b, float c, float d, float e, float f, boolean inlineImage)
          Adds an Image to the page.
 void PdfDocument.addWriter(PdfWriter writer)
          Adds a PdfWriter to the PdfDocument.
 void PdfWriter.clearTextWrap()
          Use this method to clear text wrapping around images (if applicable).
 void PdfStamper.close()
          Closes the document.
 void PdfSignatureAppearance.close(PdfDictionary update)
          This is the last method to be called when using external signatures.
 void PdfCopyForms.copyDocumentFields(PdfReader reader)
          Copies the form fields of this PDFDocument onto the PDF-Document which was added
static BaseFont BaseFont.createFont()
          Creates a new font.
static BaseFont BaseFont.createFont(String name, String encoding, boolean embedded)
          Creates a new font.
static BaseFont BaseFont.createFont(String name, String encoding, boolean embedded, boolean forceRead)
          Creates a new font.
static BaseFont BaseFont.createFont(String name, String encoding, boolean embedded, boolean cached, byte[] ttfAfm, byte[] pfb)
          Creates a new font.
static BaseFont BaseFont.createFont(String name, String encoding, boolean embedded, boolean cached, byte[] ttfAfm, byte[] pfb, boolean noThrow)
          Creates a new font.
static BaseFont BaseFont.createFont(String name, String encoding, boolean embedded, boolean cached, byte[] ttfAfm, byte[] pfb, boolean noThrow, boolean forceRead)
          Creates a new font.
static PdfStamper PdfStamper.createSignature(PdfReader reader, OutputStream os, char pdfVersion)
          Applies a digital signature to a document.
static PdfStamper PdfStamper.createSignature(PdfReader reader, OutputStream os, char pdfVersion, File tempFile)
          Applies a digital signature to a document.
static PdfStamper PdfStamper.createSignature(PdfReader reader, OutputStream os, char pdfVersion, File tempFile, boolean append)
          Applies a digital signature to a document, possibly as a new revision, making possible multiple signatures.
 void AcroFields.decodeGenericDictionary(PdfDictionary merged, BaseField tx)
           
protected  void PdfDocument.doFooter()
           
protected  void PdfDocument.doHeader()
           
static void PdfEncryptor.encrypt(PdfReader reader, OutputStream os, boolean strength, String userPassword, String ownerPassword, int permissions)
          Entry point to encrypt a PDF document.
static void PdfEncryptor.encrypt(PdfReader reader, OutputStream os, boolean strength, String userPassword, String ownerPassword, int permissions, HashMap newInfo)
          Entry point to encrypt a PDF document.
static void PdfEncryptor.encrypt(PdfReader reader, OutputStream os, byte[] userPassword, byte[] ownerPassword, int permissions, boolean strength128Bits)
          Entry point to encrypt a PDF document.
static void PdfEncryptor.encrypt(PdfReader reader, OutputStream os, byte[] userPassword, byte[] ownerPassword, int permissions, boolean strength128Bits, HashMap newInfo)
          Entry point to encrypt a PDF document.
static void PdfEncryptor.encrypt(PdfReader reader, OutputStream os, int type, String userPassword, String ownerPassword, int permissions)
          Entry point to encrypt a PDF document.
static void PdfEncryptor.encrypt(PdfReader reader, OutputStream os, int type, String userPassword, String ownerPassword, int permissions, HashMap newInfo)
          Entry point to encrypt a PDF document.
static String[] BaseFont.enumerateTTCNames(byte[] ttcArray)
          Enumerates the postscript font names present inside a True Type Collection.
static String[] BaseFont.enumerateTTCNames(String ttcFile)
          Enumerates the postscript font names present inside a True Type Collection.
protected  float PdfDocument.flushLines()
          Writes all the lines to the text-object.
static Object[] BaseFont.getAllFontNames(String name, String encoding, byte[] ttfAfm)
          Gets all the names from the font.
static String[][] BaseFont.getAllNameEntries(String name, String encoding, byte[] ttfAfm)
          Gets all the entries of the namestable from the font.
 PdfAppearance TextField.getAppearance()
          Get the PdfAppearance of a text or combo field
 PdfAppearance PushbuttonField.getAppearance()
          Gets the button appearance.
 PdfTemplate PdfSignatureAppearance.getAppearance()
          Gets the main appearance layer.
 PdfAppearance RadioCheckField.getAppearance(boolean isRadio, boolean on)
          Gets the field appearance.
 PdfFormField RadioCheckField.getCheckField()
          Gets the check field.
protected  PdfFormField TextField.getChoiceField(boolean isList)
           
 PdfFormField TextField.getComboField()
          Gets a new combo field.
 PdfFormField PushbuttonField.getField()
          Gets the pushbutton field.
protected  PdfFormField RadioCheckField.getField(boolean isRadio)
          Gets a radio or check field.
static String[][] BaseFont.getFullFontName(String name, String encoding, byte[] ttfAfm)
          Gets the full name of the font.
static PdfWriter PdfWriter.getInstance(Document document, OutputStream os)
          Use this method to get an instance of the PdfWriter.
static PdfWriter PdfWriter.getInstance(Document document, OutputStream os, DocListener listener)
          Use this method to get an instance of the PdfWriter.
 PdfFormField TextField.getListField()
          Gets a new list field.
 PdfFormField RadioCheckField.getRadioField()
          Gets the radio field.
protected  BaseFont BaseField.getRealFont()
           
 PdfFormField TextField.getTextField()
          Gets a new text field.
 int ColumnText.go()
          Outputs the lines to the document.
 int ColumnText.go(boolean simulate)
          Outputs the lines to the document.
protected  int ColumnText.goComposite(boolean simulate)
           
protected  void PdfDocument.initPage()
          Initializes a page.
 void AcroFields.mergeXfaData(Node n)
          Merges an XML data structure into this form.
protected  void PdfDocument.newLine()
          Adds the current line to the list of lines and also adds an empty line.
 void MultiColumnText.nextColumn()
          Moves the text insertion point to the beginning of the next column, issuing a page break if needed.
 void PdfSignatureAppearance.preClose()
          This is the first method to be called when using external signatures.
 void PdfSignatureAppearance.preClose(HashMap exclusionSizes)
          This is the first method to be called when using external signatures.
 boolean AcroFields.regenerateField(String name)
          Regenerates the field appearance.
protected  void PdfDocument.renderCells(PdfDocument.RenderingContext ctx, List cells, boolean hasToFit)
           
 int PdfWriter.reorderPages(int[] order)
          Use this method to reorder the pages in the document.
 void PdfWriter.setAdditionalAction(PdfName actionType, PdfAction action)
           
 void PdfWriter.setEncryption(boolean strength, String userPassword, String ownerPassword, int permissions)
          Deprecated. As of iText 2.0.3, replaced by (@link #setEncryption(byte[], byte[], int, int)}. Scheduled for removal at or after 2.2.0
 void PdfStamper.setEncryption(boolean strength, String userPassword, String ownerPassword, int permissions)
          Sets the encryption options for this document.
 void PdfCopyForms.setEncryption(boolean strength, String userPassword, String ownerPassword, int permissions)
          Sets the encryption options for this document.
 void PdfCopyFields.setEncryption(boolean strength, String userPassword, String ownerPassword, int permissions)
          Sets the encryption options for this document.
 void PdfWriter.setEncryption(byte[] userPassword, byte[] ownerPassword, int permissions, boolean strength128Bits)
          Deprecated. As of iText 2.0.3, replaced by (@link #setEncryption(byte[], byte[], int, int)}. Scheduled for removal at or after 2.2.0
 void PdfStamper.setEncryption(byte[] userPassword, byte[] ownerPassword, int permissions, boolean strength128Bits)
          Sets the encryption options for this document.
 void PdfCopyForms.setEncryption(byte[] userPassword, byte[] ownerPassword, int permissions, boolean strength128Bits)
          Sets the encryption options for this document.
 void PdfCopyFields.setEncryption(byte[] userPassword, byte[] ownerPassword, int permissions, boolean strength128Bits)
          Sets the encryption options for this document.
 void PdfWriter.setEncryption(byte[] userPassword, byte[] ownerPassword, int permissions, int encryptionType)
           
 void PdfStamper.setEncryption(byte[] userPassword, byte[] ownerPassword, int permissions, int encryptionType)
          Sets the encryption options for this document.
 void PdfCopyForms.setEncryption(byte[] userPassword, byte[] ownerPassword, int permissions, int encryptionType)
           
 void PdfCopyFields.setEncryption(byte[] userPassword, byte[] ownerPassword, int permissions, int encryptionType)
           
 void PdfWriter.setEncryption(Certificate[] certs, int[] permissions, int encryptionType)
           
 void PdfStamper.setEncryption(Certificate[] certs, int[] permissions, int encryptionType)
          Sets the certificate encryption options for this document.
 void PdfCopyForms.setEncryption(Certificate[] certs, int[] permissions, int encryptionType)
           
 void PdfCopyFields.setEncryption(Certificate[] certs, int[] permissions, int encryptionType)
           
 void PdfWriter.setEncryption(int encryptionType, String userPassword, String ownerPassword, int permissions)
          Deprecated. As of iText 2.0.3, replaced by (@link #setEncryption(byte[], byte[], int, int)}. Scheduled for removal at or after 2.2.0
 void PdfStamper.setEncryption(int encryptionType, String userPassword, String ownerPassword, int permissions)
          Sets the encryption options for this document.
 boolean AcroFields.setField(String name, String value)
          Sets the field value.
 boolean AcroFields.setField(String name, String value, String display)
          Sets the field value and the display string.
 void AcroFields.setFields(FdfReader fdf)
          Sets the fields by FDF merging.
 void AcroFields.setFields(XfdfReader xfdf)
          Sets the fields by XFDF merging.
 void PdfWriter.setInitialLeading(float leading)
          Sets the initial leading for the PDF document.
 boolean AcroFields.setListSelection(String name, String[] value)
          Sets different values in a list selection.
 void PdfWriter.setPageAction(PdfName actionType, PdfAction action)
           
 void PdfWriter.setThumbnail(Image image)
          Use this method to set the thumbnail image for the current page.
 void PdfStamper.setThumbnail(Image image, int page)
          Sets the thumbnail image for a page.
 void PdfPTable.setTotalWidth(float[] columnWidth)
          Sets the full width of the table from the absolute column width.
 void PdfWriter.setUserunit(float userunit)
          Use this method to set the user unit.
 void PdfPTable.setWidthPercentage(float[] columnWidth, Rectangle pageSize)
          Sets the percentage width of the table from the absolute column width.
 void PdfPTable.setWidths(float[] relativeWidths)
          Sets the relative widths of the table.
 void PdfPTable.setWidths(int[] relativeWidths)
          Sets the relative widths of the table.
 float MultiColumnText.write(PdfContentByte canvas, PdfDocument document, float documentY)
          Write out the columns.
 

Constructors in com.lowagie.text.pdf that throw DocumentException
PdfCopy(Document document, OutputStream os)
          Constructor
PdfCopyFields(OutputStream os)
          Creates a new instance.
PdfCopyFields(OutputStream os, char pdfVersion)
          Creates a new instance.
PdfCopyForms(OutputStream os)
          Creates a new instance.
PdfSmartCopy(Document document, OutputStream os)
          Creates a PdfSmartCopy instance.
PdfStamper(PdfReader reader, OutputStream os)
          Starts the process of adding extra content to an existing PDF document.
PdfStamper(PdfReader reader, OutputStream os, char pdfVersion)
          Starts the process of adding extra content to an existing PDF document.
PdfStamper(PdfReader reader, OutputStream os, char pdfVersion, boolean append)
          Starts the process of adding extra content to an existing PDF document, possibly as a new revision.
 

Uses of DocumentException in com.lowagie.text.pdf.codec.wmf
 

Methods in com.lowagie.text.pdf.codec.wmf that throw DocumentException
 void MetaDo.readAll()
           
 

Uses of DocumentException in com.lowagie.text.pdf.events
 

Constructors in com.lowagie.text.pdf.events that throw DocumentException
FieldPositioningEvents(PdfWriter writer, PdfFormField parent, String text)
          Creates a new event.
FieldPositioningEvents(PdfWriter writer, String text)
          Creates a new event.
 

Uses of DocumentException in com.lowagie.text.pdf.interfaces
 

Methods in com.lowagie.text.pdf.interfaces that throw DocumentException
 void PdfDocumentActions.setAdditionalAction(PdfName actionType, PdfAction action)
          Additional-actions defining the actions to be taken in response to various trigger events affecting the document as a whole.
 void PdfEncryptionSettings.setEncryption(byte[] userPassword, byte[] ownerPassword, int permissions, int encryptionType)
          Sets the encryption options for this document.
 void PdfEncryptionSettings.setEncryption(Certificate[] certs, int[] permissions, int encryptionType)
          Sets the certificate encryption options for this document.
 void PdfPageActions.setPageAction(PdfName actionType, PdfAction action)
          Sets the open and close page additional action.
 

Uses of DocumentException in com.lowagie.text.rtf
 

Methods in com.lowagie.text.rtf that throw DocumentException
 boolean RtfWriter2.add(Element element)
          Adds an Element to the Document
 void RtfWriter2.importRtfDocument(FileInputStream documentSource)
          Adds the complete RTF document to the current RTF document being generated.
 void RtfWriter2.importRtfDocument(InputStream documentSource, EventListener[] events)
          Adds the complete RTF document to the current RTF document being generated.
 void RtfWriter2.importRtfDocumentIntoElement(Element elem, FileInputStream documentSource)
          Adds the complete RTF document to the current RTF element being generated.
 void RtfWriter2.importRtfDocumentIntoElement(Element elem, FileInputStream documentSource, EventListener[] events)
          Adds the complete RTF document to the current RTF element being generated.
 void RtfWriter2.importRtfFragment(InputStream documentSource, RtfImportMappings mappings)
          Adds a fragment of an RTF document to the current RTF document being generated.
 void RtfWriter2.importRtfFragment(InputStream documentSource, RtfImportMappings mappings, EventListener[] events)
          Adds a fragment of an RTF document to the current RTF document being generated.
 RtfBasicElement[] RtfMapper.mapElement(Element element)
          Takes an Element subclass and returns an array of RtfBasicElement subclasses, that contained the mapped RTF equivalent to the Element passed in.
 

Uses of DocumentException in com.lowagie.text.rtf.graphic
 

Constructors in com.lowagie.text.rtf.graphic that throw DocumentException
RtfImage(RtfDocument doc, Image image)
          Constructs a RtfImage for an Image.
 



Copyright © 2012. All Rights Reserved.