Uses of Class
com.lowagie.text.DocumentException
Packages that use DocumentException
Package
Description
-
Uses of DocumentException in com.lowagie.text
Subclasses of DocumentException in com.lowagie.textMethods in com.lowagie.text that throw DocumentExceptionModifier and TypeMethodDescriptionbooleanDeprecated.Adds anElementto theDocument.booleanDeprecated.Signals that anElementwas added to theDocument.booleanSignals that anElementwas added to theDocument.SimpleTable.createPdfPTable()Deprecated.Creates aPdfTableobject based on this TableAttributes object.voidImage.makeMask()Deprecated.Make thisImagea mask.voidImgWMF.readWMF(PdfTemplate template) Deprecated.Reads the WMF into a template.voidImage.setImageMask(Image mask) Deprecated.Sets the explicit masking.voidTable.setWidths(int[] widths) Deprecated.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 -
Uses of DocumentException in com.lowagie.text.html.simpleparser
Methods in com.lowagie.text.html.simpleparser that throw DocumentExceptionModifier and TypeMethodDescriptionbooleanDeprecated.voidHTMLWorker.clearTextWrap()Deprecated. -
Uses of DocumentException in com.lowagie.text.pdf
Subclasses of DocumentException in com.lowagie.text.pdfModifier and TypeClassDescriptionclassDeprecated.classDeprecated.Methods in com.lowagie.text.pdf that throw DocumentExceptionModifier and TypeMethodDescriptionbooleanDeprecated.Signals that anElementwas added to theDocument.protected voidDeprecated.Adds an image to the document.Deprecated.Adds a nested table.PdfWriter.addDirectImageSimple(Image image) Deprecated.Use this method to adds an image to the document but not to the page resources.PdfWriter.addDirectImageSimple(Image image, PdfIndirectReference fixedRef) Deprecated.Adds an image to the document but not to the page resources.voidPdfCopyFields.addDocument(PdfReader reader) Deprecated.Concatenates a PDF document.voidPdfCopyFields.addDocument(PdfReader reader, String ranges) Deprecated.Concatenates a PDF document selecting the pages to keep.voidPdfCopyFields.addDocument(PdfReader reader, List<Integer> pagesToKeep) Deprecated.Concatenates a PDF document selecting the pages to keep.(package private) voidPdfCopyFieldsImp.addDocument(PdfReader reader) Deprecated.(package private) voidPdfCopyFieldsImp.addDocument(PdfReader reader, List<Integer> pagesToKeep) Deprecated.voidPdfCopyForms.addDocument(PdfReader reader) Deprecated.Concatenates a PDF document.voidPdfCopyForms.addDocument(PdfReader reader, String ranges) Deprecated.Concatenates a PDF document selecting the pages to keep.voidPdfCopyForms.addDocument(PdfReader reader, List<Integer> pagesToKeep) Deprecated.Concatenates a PDF document selecting the pages to keep.voidMultiColumnText.addElement(Element element) Deprecated.Add an element to be rendered in a column.voidDeprecated.Adds anImageto the page.voidDeprecated.Adds anImageto the page.voidDeprecated.Adds anImageto the page.voidPdfContentByte.addImage(Image image, float a, float b, float c, float d, float e, float f, boolean inlineImage) Deprecated.Adds anImageto the page.voidDeprecated.Always throws an error.voidDeprecated.voidType3Glyph.addImage(Image image, float a, float b, float c, float d, float e, float f, boolean inlineImage) Deprecated.private voidPdfDocument.addPdfTable(Table t) Deprecated.Adds a new table to the document.(package private) voidDeprecated.Adds aPdfPTableto the document.voidDeprecated.Adds aPdfWriterto thePdfDocument.private floatPushbuttonField.calculateFontSize(float w, float h) Deprecated.voidPdfWriter.clearTextWrap()Deprecated.Use this method to clear text wrapping around images (if applicable).voidPdfSignatureAppearance.close(PdfDictionary update) Deprecated.This is the last method to be called when using external signatures.voidPdfStamper.close()Deprecated.Closes the document.voidPdfCopyForms.copyDocumentFields(PdfReader reader) Deprecated.Copies the form fields of this PDFDocument onto the PDF-Document which was addedvoidPdfCopyFormsImp.copyDocumentFields(PdfReader reader) Deprecated.This method feeds in the source documentstatic BaseFontBaseFont.createFont()Deprecated.Creates a new font.static BaseFontBaseFont.createFont(String name, String encoding, boolean embedded) Deprecated.Creates a new font.static BaseFontBaseFont.createFont(String name, String encoding, boolean embedded, boolean forceRead) Deprecated.Creates a new font.static BaseFontBaseFont.createFont(String name, String encoding, boolean embedded, boolean cached, byte[] ttfAfm, byte[] pfb) Deprecated.Creates a new font.static BaseFontBaseFont.createFont(String name, String encoding, boolean embedded, boolean cached, byte[] ttfAfm, byte[] pfb, boolean noThrow) Deprecated.Creates a new font.static BaseFontBaseFont.createFont(String name, String encoding, boolean embedded, boolean cached, byte[] ttfAfm, byte[] pfb, boolean noThrow, boolean forceRead) Deprecated.Creates a new font.static PdfStamperPdfStamper.createSignature(PdfReader reader, OutputStream os, char pdfVersion) Deprecated.Applies a digital signature to a document.static PdfStamperPdfStamper.createSignature(PdfReader reader, OutputStream os, char pdfVersion, File tempFile) Deprecated.Applies a digital signature to a document.static PdfStamperPdfStamper.createSignature(PdfReader reader, OutputStream os, char pdfVersion, File tempFile, boolean append) Deprecated.Applies a digital signature to a document, possibly as a new revision, making possible multiple signatures.protected voidTrueTypeFontSubSet.createTableDirectory()Deprecated.voidAcroFields.decodeGenericDictionary(PdfDictionary merged, BaseField tx) Deprecated.protected voidPdfDocument.doFooter()Deprecated.protected voidPdfDocument.doHeader()Deprecated.static voidPdfEncryptor.encrypt(PdfReader reader, OutputStream os, boolean strength, String userPassword, String ownerPassword, int permissions) Deprecated.Entry point to encrypt a PDF document.static voidPdfEncryptor.encrypt(PdfReader reader, OutputStream os, boolean strength, String userPassword, String ownerPassword, int permissions, Map<String, String> newInfo) Deprecated.Entry point to encrypt a PDF document.static voidPdfEncryptor.encrypt(PdfReader reader, OutputStream os, byte[] userPassword, byte[] ownerPassword, int permissions, boolean strength128Bits) Deprecated.Entry point to encrypt a PDF document.static voidPdfEncryptor.encrypt(PdfReader reader, OutputStream os, byte[] userPassword, byte[] ownerPassword, int permissions, boolean strength128Bits, Map<String, String> newInfo) Deprecated.Entry point to encrypt a PDF document.static voidPdfEncryptor.encrypt(PdfReader reader, OutputStream os, int type, String userPassword, String ownerPassword, int permissions) Deprecated.Entry point to encrypt a PDF document.static voidPdfEncryptor.encrypt(PdfReader reader, OutputStream os, int type, String userPassword, String ownerPassword, int permissions, Map<String, String> newInfo) Deprecated.Entry point to encrypt a PDF document.static String[]BaseFont.enumerateTTCNames(byte[] ttcArray) Deprecated.Enumerates the postscript font names present inside a True Type Collection.static String[]BaseFont.enumerateTTCNames(String ttcFile) Deprecated.Enumerates the postscript font names present inside a True Type Collection.(package private) voidTrueTypeFont.fillTables()Deprecated.Reads the tables 'head', 'hhea', 'OS/2' and 'post' filling several variables.(package private) voidEnumerateTTC.findNames()Deprecated.protected voidTrueTypeFontSubSet.flatGlyphs()Deprecated.protected floatPdfDocument.flushLines()Deprecated.Writes all the lines to the text-object.static Object[]BaseFont.getAllFontNames(String name, String encoding, byte[] ttfAfm) Deprecated.Gets all the names from the font.static String[][]BaseFont.getAllNameEntries(String name, String encoding, byte[] ttfAfm) Deprecated.Gets all the entries of the namestable from the font.(package private) String[][]TrueTypeFont.getAllNames()Deprecated.Extracts all the names of the names-Table(package private) PdfAppearanceAcroFields.getAppearance(PdfDictionary merged, String[] values, String fieldName) Deprecated.(package private) PdfAppearanceAcroFields.getAppearance(PdfDictionary merged, String text, String fieldName) Deprecated.PdfSignatureAppearance.getAppearance()Deprecated.Gets the main appearance layer.PushbuttonField.getAppearance()Deprecated.Gets the button appearance.TextField.getAppearance()Deprecated.Get thePdfAppearanceof a text or combo field(package private) StringTrueTypeFont.getBaseFont()Deprecated.Gets the Postscript font name.protected PdfFormFieldTextField.getChoiceField(boolean isList) Deprecated.TextField.getComboField()Deprecated.Gets a new combo field.PushbuttonField.getField()Deprecated.Gets the pushbutton field.protected PdfFormFieldRadioCheckField.getField(boolean isKid) Deprecated.Gets a radio or check field.RadioCheckField.getFullField()Deprecated.Gets the full parent field (There are no kids) This is the case for non-autofill fields and non-radiobutton fieldsstatic String[][]BaseFont.getFullFontName(String name, String encoding, byte[] ttfAfm) Deprecated.Gets the full name of the font.(package private) abstract PdfStreamBaseFont.getFullFontStream()Deprecated.Returns a PdfStream object with the full font program (if possible).TrueTypeFont.getFullFontStream()Deprecated.Returns a PdfStream object with the full font program.TrueTypeFontUnicode.getFullFontStream()Deprecated.Returns a PdfStream object with the full font program.Type1Font.getFullFontStream()Deprecated.If the embedded flag isfalseor if the font is one of the 14 built in types, it returnsnull, otherwise the font is read and output in a PdfStream object.static PdfWriterPdfWriter.getInstance(Document document, OutputStream os) Deprecated.Use this method to get an instance of thePdfWriter.static PdfWriterPdfWriter.getInstance(Document document, OutputStream os, DocListener listener) Deprecated.Use this method to get an instance of thePdfWriter.RadioCheckField.getKidField()Deprecated.Gets the child field.(package private) PdfAppearanceTextField.getListAppearance()Deprecated.Get thePdfAppearanceof a list fieldTextField.getListField()Deprecated.Gets a new list field.(package private) String[][]TrueTypeFont.getNames(int id) Deprecated.Extracts the names of the font in all the languages available.protected BaseFontBaseField.getRealFont()Deprecated.TextField.getTextField()Deprecated.Gets a new text field.intColumnText.go()Deprecated.Outputs the lines to the document.intColumnText.go(boolean simulate) Deprecated.Outputs the lines to the document.protected intColumnText.goComposite(boolean simulate) Deprecated.protected voidPdfDocument.initPage()Deprecated.Initializes a page.voidAcroFields.mergeXfaData(Node n) Deprecated.Merges an XML data structure into this form.protected voidPdfDocument.newLine()Deprecated.Adds the current line to the list of lines and also adds an empty line.private voidMultiColumnText.newPage()Deprecated.voidMultiColumnText.nextColumn()Deprecated.Moves the text insertion point to the beginning of the next column, issuing a page break if needed.voidPdfSignatureAppearance.preClose()Deprecated.This is the first method to be called when using external signatures.voidDeprecated.This is the first method to be called when using external signatures.(package private) voidTrueTypeFont.process(byte[] ttfAfm, boolean preload) Deprecated.Reads the font data.(package private) byte[]TrueTypeFontSubSet.process()Deprecated.Does the actual work of subsetting the font.voidType1Font.process(RandomAccessFileOrArray rf) Deprecated.Reads the font metricsprivate voidTrueTypeFont.readBbox()Deprecated.(package private) voidTrueTypeFont.readCMaps()Deprecated.Reads the several maps from the table 'cmap'.(package private) voidTrueTypeFontUnicode.readCMaps()Deprecated.protected voidTrueTypeFont.readGlyphWidths()Deprecated.Reads the glyphs widths.protected voidTrueTypeFontSubSet.readLoca()Deprecated.booleanAcroFields.regenerateField(String name) Deprecated.Regenerates the field appearance.voidPdfStamperImp.removeEncryption()Deprecated.Removes the encryption from the document (and also inherently the permissions)protected voidPdfDocument.renderCells(PdfDocument.RenderingContext ctx, List cells, boolean hasToFit) Deprecated.(package private) intPdfPages.reorderPages(int[] order) Deprecated.intPdfWriter.reorderPages(int[] order) Deprecated.Use this method to reorder the pages in the document.voidPdfWriter.setAdditionalAction(PdfName actionType, PdfAction action) Deprecated.voidPdfCopyFields.setEncryption(boolean strength, String userPassword, String ownerPassword, int permissions) Deprecated.Sets the encryption options for this document.voidPdfCopyFields.setEncryption(byte[] userPassword, byte[] ownerPassword, int permissions, boolean strength128Bits) Deprecated.Sets the encryption options for this document.voidPdfCopyFields.setEncryption(byte[] userPassword, byte[] ownerPassword, int permissions, int encryptionType) Deprecated.voidPdfCopyFields.setEncryption(Certificate[] certs, int[] permissions, int encryptionType) Deprecated.voidPdfCopyForms.setEncryption(boolean strength, String userPassword, String ownerPassword, int permissions) Deprecated.Sets the encryption options for this document.voidPdfCopyForms.setEncryption(byte[] userPassword, byte[] ownerPassword, int permissions, boolean strength128Bits) Deprecated.Sets the encryption options for this document.voidPdfCopyForms.setEncryption(byte[] userPassword, byte[] ownerPassword, int permissions, int encryptionType) Deprecated.voidPdfCopyForms.setEncryption(Certificate[] certs, int[] permissions, int encryptionType) Deprecated.voidPdfStamper.setEncryption(boolean strength, String userPassword, String ownerPassword, int permissions) Deprecated.Sets the encryption options for this document.voidPdfStamper.setEncryption(byte[] userPassword, byte[] ownerPassword, int permissions, boolean strength128Bits) Deprecated.Sets the encryption options for this document.voidPdfStamper.setEncryption(byte[] userPassword, byte[] ownerPassword, int permissions, int encryptionType) Deprecated.Sets the encryption options for this document.voidPdfStamper.setEncryption(int encryptionType, String userPassword, String ownerPassword, int permissions) Deprecated.Sets the encryption options for this document.voidPdfStamper.setEncryption(Certificate[] certs, int[] permissions, int encryptionType) Deprecated.Sets the certificate encryption options for this document.voidPdfWriter.setEncryption(byte[] userPassword, byte[] ownerPassword, int permissions, int encryptionType) Deprecated.voidPdfWriter.setEncryption(Certificate[] certs, int[] permissions, int encryptionType) Deprecated.booleanDeprecated.Sets the field value.booleanDeprecated.Sets the field value and the display string.voidDeprecated.Sets the fields by FDF merging.voidAcroFields.setFields(FieldReader fieldReader) Deprecated.Allows merging the fields by a field reader.voidAcroFields.setFields(XfdfReader fieldReader) Deprecated.Allows merging the fields by a field reader.voidPdfWriter.setInitialLeading(float leading) Deprecated.Sets the initial leading for the PDF document.booleanAcroFields.setListSelection(String name, String[] value) Deprecated.Sets different values in a list selection.voidPdfWriter.setPageAction(PdfName actionType, PdfAction action) Deprecated.(package private) voidPdfDocument.setThumbnail(Image image) Deprecated.voidPdfStamper.setThumbnail(Image image, int page) Deprecated.Sets the thumbnail image for a page.(package private) voidPdfStamperImp.setThumbnail(Image image, int page) Deprecated.voidPdfWriter.setThumbnail(Image image) Deprecated.Use this method to set the thumbnail image for the current page.voidPdfPTable.setTotalWidth(float[] columnWidth) Deprecated.Sets the full width of the table from the absolute column width.voidPdfWriter.setUserunit(float userunit) Deprecated.Use this method to set the user unit.voidPdfPTable.setWidthPercentage(float[] columnWidth, Rectangle pageSize) Deprecated.Sets the percentage width of the table from the absolute column width.voidPdfPTable.setWidths(float[] relativeWidths) Deprecated.Sets the relative widths of the table.voidPdfPTable.setWidths(int[] relativeWidths) Deprecated.Sets the relative widths of the table.floatMultiColumnText.write(PdfContentByte canvas, PdfDocument document, float documentY) Deprecated.Write out the columns.(package private) abstract voidBaseFont.writeFont(PdfWriter writer, PdfIndirectReference ref, Object[] params) Deprecated.Outputs to the writer the font dictionaries and streams.(package private) voidCJKFont.writeFont(PdfWriter writer, PdfIndirectReference ref, Object[] params) Deprecated.(package private) voidDocumentFont.writeFont(PdfWriter writer, PdfIndirectReference ref, Object[] params) Deprecated.Outputs to the writer the font dictionaries and streams.(package private) voidTrueTypeFont.writeFont(PdfWriter writer, PdfIndirectReference ref, Object[] params) Deprecated.Outputs to the writer the font dictionaries and streams.(package private) voidTrueTypeFontUnicode.writeFont(PdfWriter writer, PdfIndirectReference ref, Object[] params) Deprecated.Outputs to the writer the font dictionaries and streams.(package private) voidType1Font.writeFont(PdfWriter writer, PdfIndirectReference ref, Object[] params) Deprecated.Outputs to the writer the font dictionaries and streams.(package private) voidType3Font.writeFont(PdfWriter writer, PdfIndirectReference ref, Object[] params) Deprecated.(package private) voidPdfDocument.writeLineToContent(PdfLine line, PdfContentByte text, PdfContentByte graphics, Object[] currentValues, float ratio) Deprecated.Writes a text line to the document.Constructors in com.lowagie.text.pdf that throw DocumentExceptionModifierConstructorDescription(package private)Deprecated.Creates a CJK font.(package private)EnumerateTTC(byte[] ttcArray) Deprecated.(package private)EnumerateTTC(String ttcFile) Deprecated.PdfCopy(Document document, OutputStream os) Deprecated.ConstructorDeprecated.Creates a new instance.PdfCopyFields(OutputStream os, char pdfVersion) Deprecated.Creates a new instance.(package private)Deprecated.(package private)PdfCopyFieldsImp(OutputStream os, char pdfVersion) Deprecated.Deprecated.Creates a new instance.(package private)Deprecated.This sets up the output documentPdfSmartCopy(Document document, OutputStream os) Deprecated.Creates a PdfSmartCopy instance.PdfStamper(PdfReader reader, OutputStream os) Deprecated.Starts the process of adding extra content to an existing PDF document.PdfStamper(PdfReader reader, OutputStream os, char pdfVersion) Deprecated.Starts the process of adding extra content to an existing PDF document.PdfStamper(PdfReader reader, OutputStream os, char pdfVersion, boolean append) Deprecated.Starts the process of adding extra content to an existing PDF document, possibly as a new revision.(package private)PdfStamperImp(PdfReader reader, OutputStream os, char pdfVersion, boolean append) Deprecated.Creates new PdfStamperImp.StreamFont(byte[] contents, int[] lengths, int compressionLevel) Generates the PDF stream with the Type1 and Truetype fonts returning a PdfStream.StreamFont(byte[] contents, String subType, int compressionLevel) Generates the PDF stream for a font.(package private)TrueTypeFont(String ttFile, String enc, boolean emb, byte[] ttfAfm, boolean justNames, boolean forceRead) Deprecated.Creates a new TrueType font.(package private)TrueTypeFontUnicode(String ttFile, String enc, boolean emb, byte[] ttfAfm, boolean forceRead) Deprecated.Creates a new TrueType font addressed by Unicode characters.(package private)Deprecated.Creates a new Type1 font.UnembedFontPdfSmartCopy(Document document, OutputStream os) Deprecated. -
Uses of DocumentException in com.lowagie.text.pdf.codec.wmf
Methods in com.lowagie.text.pdf.codec.wmf that throw DocumentException -
Uses of DocumentException in com.lowagie.text.pdf.events
Constructors in com.lowagie.text.pdf.events that throw DocumentExceptionModifierConstructorDescriptionFieldPositioningEvents(PdfWriter writer, PdfFormField parent, String text) Deprecated.Creates a new event.FieldPositioningEvents(PdfWriter writer, String text) Deprecated.Creates a new event. -
Uses of DocumentException in com.lowagie.text.pdf.interfaces
Methods in com.lowagie.text.pdf.interfaces that throw DocumentExceptionModifier and TypeMethodDescriptionvoidPdfDocumentActions.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.voidPdfEncryptionSettings.setEncryption(byte[] userPassword, byte[] ownerPassword, int permissions, int encryptionType) Sets the encryption options for this document.voidPdfEncryptionSettings.setEncryption(Certificate[] certs, int[] permissions, int encryptionType) Sets the certificate encryption options for this document.voidPdfPageActions.setPageAction(PdfName actionType, PdfAction action) Sets the open and close page additional action.