Uses of Class
com.gitlab.pdftk_java.com.lowagie.text.DocumentException
Packages that use DocumentException
Package
Description
-
Uses of DocumentException in com.gitlab.pdftk_java
Methods in com.gitlab.pdftk_java that throw DocumentExceptionModifier and TypeMethodDescription(package private) ErrorCodeburst.create_output_burst()(package private) ErrorCodecat.create_output_cat()(package private) ErrorCodefilter.create_output_filter()(package private) charTK_Session.prepare_writer(PdfWriter writer_p) -
Uses of DocumentException in com.gitlab.pdftk_java.com.lowagie.text
Subclasses of DocumentException in com.gitlab.pdftk_java.com.lowagie.textModifier and TypeClassDescriptionclassSignals an attempt to create anElementthat hasn't got the right form.Methods in com.gitlab.pdftk_java.com.lowagie.text that throw DocumentExceptionModifier and TypeMethodDescriptionbooleanAdds anElementto theDocument.booleanSignals that anElementwas added to theDocument.booleanSignals that anElementwas added to theDocument.voidDocListener.clearTextWrap()Clears text wrapping around images (if applicable).voidDocument.clearTextWrap()voidDocWriter.clearTextWrap()booleanDocListener.newPage()Signals that an new page has to be started.booleanDocument.newPage()Signals that an new page has to be started.booleanDocWriter.newPage()Signals that an new page has to be started. -
Uses of DocumentException in com.gitlab.pdftk_java.com.lowagie.text.pdf
Subclasses of DocumentException in com.gitlab.pdftk_java.com.lowagie.text.pdfModifier and TypeClassDescriptionclassSignals that a bad PDF format has been used to construct aPdfObject.classSignals that an unspecified problem while constructing a PDF document.Methods in com.gitlab.pdftk_java.com.lowagie.text.pdf that throw DocumentExceptionModifier and TypeMethodDescriptionbooleanSignals that anElementwas added to theDocument.(package private) voidPdfDocument.addCalculationOrder(PdfFormField formField) voidPdfWriter.addCalculationOrder(PdfFormField annot) Adds thePdfAnnotationto the calculation order array.voidPdfCopy.addPage(PdfImportedPage iPage) Add an imported page to our outputprotected voidTrueTypeFontSubSet.assembleFont()private voidPdfDocument.carriageReturn()If the current line is not empty or null, it is added to the arraylist of lines and a new empty line is added.(package private) voidTrueTypeFont.checkCff()voidPdfSignatureAppearance.close(PdfDictionary update) This is the last method to be called when using external signatures.voidPdfStamper.close()Closes the document.voidprotected voidPdfCopyFieldsImp.closeIt()static BaseFontBaseFont.createFont(String name, String encoding, boolean embedded) Creates a new font.static BaseFontBaseFont.createFont(String name, String encoding, boolean embedded, boolean cached, byte[] ttfAfm, byte[] pfb) Creates a new font.static PdfStamperPdfStamper.createSignature(PdfReader reader, OutputStream os, char pdfVersion) Applies a digital signature to a document.static PdfStamperPdfStamper.createSignature(PdfReader reader, OutputStream os, char pdfVersion, File tempFile) Applies a digital signature to a document.static PdfStamperPdfStamper.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.protected voidTrueTypeFontSubSet.createTableDirectory()voidAcroFields.decodeGenericDictionary(PdfDictionary merged, BaseField tx) 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.(package private) voidTrueTypeFont.fillTables()Reads the tables 'head', 'hhea', 'OS/2' and 'post' filling several variables.(package private) voidEnumerateTTC.findNames()protected voidTrueTypeFontSubSet.flatGlyphs()private floatPdfDocument.flushLines()Writes all the lines to the text-object.PdfDocument.getAcroForm()Gets the AcroForm object.PdfWriter.getAcroForm()Gets the AcroForm object.static Object[]BaseFont.getAllFontNames(String name, String encoding, byte[] ttfAfm) Gets all the names from the font.(package private) PdfAppearanceAcroFields.getAppearance(PdfDictionary merged, String[] values, String fieldName) (package private) PdfAppearanceAcroFields.getAppearance(PdfDictionary merged, String text, String fieldName) PdfSignatureAppearance.getAppearance()Gets the main appearance layer.TextField.getAppearance()Get thePdfAppearanceof a text or combo field(package private) StringTrueTypeFont.getBaseFont()Gets the Postscript font name.protected PdfDictionaryPdfCopy.getCatalog(PdfIndirectReference rootObj) Copy the acroform for an input document.protected PdfDictionaryPdfCopyFieldsImp.getCatalog(PdfIndirectReference rootObj) (package private) PdfDocument.PdfCatalogPdfDocument.getCatalog(PdfIndirectReference pages) Gets thePdfCatalog-object.protected PdfDictionaryPdfWriter.getCatalog(PdfIndirectReference rootObj) protected PdfFormFieldTextField.getChoiceField(boolean isList) TextField.getComboField()Gets a new combo field.protected PdfDictionaryTrueTypeFont.getFontBaseType(PdfIndirectReference fontDescriptor, String subsetPrefix, int firstChar, int lastChar, byte[] shortTag) Generates the font dictionary for this font.protected PdfDictionaryTrueTypeFont.getFontDescriptor(PdfIndirectReference fontStream, String subsetPrefix) Generates the font descriptor for this font.private PdfStreamType1Font.getFontStream()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 String[][]BaseFont.getFullFontName(String name, String encoding, byte[] ttfAfm) Gets the full name of the font.(package private) PdfAppearanceTextField.getListAppearance()Get thePdfAppearanceof a list fieldTextField.getListField()Gets a new list field.(package private) String[][]TrueTypeFont.getNames(int id) Extracts the names of the font in all the languages available.protected BaseFontBaseField.getRealFont()TextField.getTextField()Gets a new text field.private PdfStreamTrueTypeFontUnicode.getToUnicode(Object[] metrics) Creates a ToUnicode CMap to allow copy and paste from Acrobat.intColumnText.go()Outputs the lines to the document.intColumnText.go(boolean simulate) Outputs the lines to the document.intVerticalText.go()Outputs the lines to the document.intVerticalText.go(boolean simulate) Outputs the lines to the document.protected intColumnText.goComposite(boolean simulate) private voidPdfDocument.initPage()Initializes a page.private voidPdfDocument.newLine()Adds the current line to the list of lines and also adds an empty line.booleanPdfDocument.newPage()Makes a new page and sends it to thePdfWriter.voidPdfSignatureAppearance.preClose()This is the first method to be called when using external signatures.voidThis is the first method to be called when using external signatures.(package private) voidTrueTypeFont.process(byte[] ttfAfm) Reads the font data.(package private) byte[]TrueTypeFontSubSet.process()Does the actual work of subsetting the font.voidType1Font.process(RandomAccessFileOrArray rf) Reads the font metricsprivate voidTrueTypeFont.readBbox()(package private) voidTrueTypeFont.readCMaps()Reads the several maps from the table 'cmap'.protected voidTrueTypeFont.readGlyphWidths()Reads the glyphs widths.protected voidTrueTypeFontSubSet.readLoca()booleanAcroFields.regenerateField(String name) Regenerates the field appearance.(package private) intPdfPages.reorderPages(int[] order) intPdfWriter.reorderPages(int[] order) Reorder the pages in the document.protected PdfArrayPdfDocument.rotateAnnotations()voidPdfStamper.setEncryption(byte[] userPassword, byte[] ownerPassword, int permissions, boolean strength128Bits) Sets the encryption options for this document.voidPdfStamper.setEncryption(byte[] userPassword, byte[] ownerPassword, int permissions, int encryptionType) Sets the encryption options for this document.voidPdfWriter.setEncryption(byte[] userPassword, byte[] ownerPassword, int permissions, boolean strength128Bits) Sets the encryption options for this document.voidPdfWriter.setEncryption(byte[] userPassword, byte[] ownerPassword, int permissions, int encryptionType) booleanSets the field value.booleanbooleanSets the field value and the display string.booleanSets the fields by FDF merging.booleanAcroFields.setFields(XfdfReader xfdf) Sets the fields by XFDF merging.booleanAcroFields.setListSelection(String name, String[] value) Sets different values in a list selection.(package private) voidPdfDocument.setSigFlags(int f) voidPdfWriter.setSigFlags(int f) Set the signature flags.voidPdfWriter.setUserunit(float userunit) A UserUnit is a value that defines the default user space unit.voidAdds aPdfWriterto thePdfDocument.(package private) abstract voidBaseFont.writeFont(PdfWriter writer, PdfIndirectReference ref, Object[] params) Outputs to the writer the font dictionaries and streams.(package private) voidCJKFont.writeFont(PdfWriter writer, PdfIndirectReference ref, Object[] params) (package private) voidDocumentFont.writeFont(PdfWriter writer, PdfIndirectReference ref, Object[] params) Outputs to the writer the font dictionaries and streams.(package private) voidTrueTypeFont.writeFont(PdfWriter writer, PdfIndirectReference ref, Object[] params) Outputs to the writer the font dictionaries and streams.(package private) voidTrueTypeFontUnicode.writeFont(PdfWriter writer, PdfIndirectReference ref, Object[] params) Outputs to the writer the font dictionaries and streams.(package private) voidType1Font.writeFont(PdfWriter writer, PdfIndirectReference ref, Object[] params) Outputs to the writer the font dictionaries and streams.(package private) voidVerticalText.writeLine(PdfLine line, PdfContentByte text, PdfContentByte graphics) (package private) voidPdfDocument.writeLineToContent(PdfLine line, PdfContentByte text, PdfContentByte graphics, Object[] currentValues, float ratio) Writes a text line to the document.voidFdfWriter.writeTo(OutputStream os) Writes the content to a stream.(package private) voidFdfWriter.Wrt.writeTo()Constructors in com.gitlab.pdftk_java.com.lowagie.text.pdf that throw DocumentExceptionModifierConstructorDescription(package private)Creates a CJK font.(package private)EnumerateTTC(byte[] ttcArray) (package private)EnumerateTTC(String ttcFile) PdfCopy(Document document, OutputStream os) Constructor(package private)(package private)PdfCopyFieldsImp(OutputStream os, char pdfVersion) 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.PdfStamperImp(PdfReader reader, OutputStream os, char pdfVersion, boolean append) Creates new PdfStamperImp.StreamFont(byte[] contents, int[] lengths) Generates the PDF stream with the Type1 and Truetype fonts returning a PdfStream.StreamFont(byte[] contents, String subType) Generates the PDF stream for a font.(package private)TrueTypeFont(String ttFile, String enc, boolean emb, byte[] ttfAfm) (package private)TrueTypeFont(String ttFile, String enc, boolean emb, byte[] ttfAfm, boolean justNames) Creates a new TrueType font.(package private)TrueTypeFontUnicode(String ttFile, String enc, boolean emb, byte[] ttfAfm) Creates a new TrueType font addressed by Unicode characters.(package private)Creates a new Type1 font.(package private)Wrt(OutputStream os, FdfWriter fdf) -
Uses of DocumentException in com.gitlab.pdftk_java.com.lowagie.text.pdf.interfaces
Methods in com.gitlab.pdftk_java.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.