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) ErrorCode
burst.create_output_burst()
(package private) ErrorCode
cat.create_output_cat()
(package private) ErrorCode
filter.create_output_filter()
(package private) char
TK_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 TypeClassDescriptionclass
Signals an attempt to create anElement
that hasn't got the right form.Methods in com.gitlab.pdftk_java.com.lowagie.text that throw DocumentExceptionModifier and TypeMethodDescriptionboolean
Adds anElement
to theDocument
.boolean
Signals that anElement
was added to theDocument
.boolean
Signals that anElement
was added to theDocument
.void
DocListener.clearTextWrap()
Clears text wrapping around images (if applicable).void
Document.clearTextWrap()
void
DocWriter.clearTextWrap()
boolean
DocListener.newPage()
Signals that an new page has to be started.boolean
Document.newPage()
Signals that an new page has to be started.boolean
DocWriter.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 TypeClassDescriptionclass
Signals that a bad PDF format has been used to construct aPdfObject
.class
Signals that an unspecified problem while constructing a PDF document.Methods in com.gitlab.pdftk_java.com.lowagie.text.pdf that throw DocumentExceptionModifier and TypeMethodDescriptionboolean
Signals that anElement
was added to theDocument
.(package private) void
PdfDocument.addCalculationOrder
(PdfFormField formField) void
PdfWriter.addCalculationOrder
(PdfFormField annot) Adds thePdfAnnotation
to the calculation order array.void
PdfCopy.addPage
(PdfImportedPage iPage) Add an imported page to our outputprotected void
TrueTypeFontSubSet.assembleFont()
private void
PdfDocument.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) void
TrueTypeFont.checkCff()
void
PdfSignatureAppearance.close
(PdfDictionary update) This is the last method to be called when using external signatures.void
PdfStamper.close()
Closes the document.void
protected void
PdfCopyFieldsImp.closeIt()
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 cached, byte[] ttfAfm, byte[] pfb) 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.protected void
TrueTypeFontSubSet.createTableDirectory()
void
AcroFields.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) void
TrueTypeFont.fillTables()
Reads the tables 'head', 'hhea', 'OS/2' and 'post' filling several variables.(package private) void
EnumerateTTC.findNames()
protected void
TrueTypeFontSubSet.flatGlyphs()
private float
PdfDocument.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) PdfAppearance
AcroFields.getAppearance
(PdfDictionary merged, String[] values, String fieldName) (package private) PdfAppearance
AcroFields.getAppearance
(PdfDictionary merged, String text, String fieldName) PdfSignatureAppearance.getAppearance()
Gets the main appearance layer.TextField.getAppearance()
Get thePdfAppearance
of a text or combo field(package private) String
TrueTypeFont.getBaseFont()
Gets the Postscript font name.protected PdfDictionary
PdfCopy.getCatalog
(PdfIndirectReference rootObj) Copy the acroform for an input document.protected PdfDictionary
PdfCopyFieldsImp.getCatalog
(PdfIndirectReference rootObj) (package private) PdfDocument.PdfCatalog
PdfDocument.getCatalog
(PdfIndirectReference pages) Gets thePdfCatalog
-object.protected PdfDictionary
PdfWriter.getCatalog
(PdfIndirectReference rootObj) protected PdfFormField
TextField.getChoiceField
(boolean isList) TextField.getComboField()
Gets a new combo field.protected PdfDictionary
TrueTypeFont.getFontBaseType
(PdfIndirectReference fontDescriptor, String subsetPrefix, int firstChar, int lastChar, byte[] shortTag) Generates the font dictionary for this font.protected PdfDictionary
TrueTypeFont.getFontDescriptor
(PdfIndirectReference fontStream, String subsetPrefix) Generates the font descriptor for this font.private PdfStream
Type1Font.getFontStream()
If the embedded flag isfalse
or 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) PdfAppearance
TextField.getListAppearance()
Get thePdfAppearance
of 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 BaseFont
BaseField.getRealFont()
TextField.getTextField()
Gets a new text field.private PdfStream
TrueTypeFontUnicode.getToUnicode
(Object[] metrics) Creates a ToUnicode CMap to allow copy and paste from Acrobat.int
ColumnText.go()
Outputs the lines to the document.int
ColumnText.go
(boolean simulate) Outputs the lines to the document.int
VerticalText.go()
Outputs the lines to the document.int
VerticalText.go
(boolean simulate) Outputs the lines to the document.protected int
ColumnText.goComposite
(boolean simulate) private void
PdfDocument.initPage()
Initializes a page.private void
PdfDocument.newLine()
Adds the current line to the list of lines and also adds an empty line.boolean
PdfDocument.newPage()
Makes a new page and sends it to thePdfWriter
.void
PdfSignatureAppearance.preClose()
This is the first method to be called when using external signatures.void
This is the first method to be called when using external signatures.(package private) void
TrueTypeFont.process
(byte[] ttfAfm) Reads the font data.(package private) byte[]
TrueTypeFontSubSet.process()
Does the actual work of subsetting the font.void
Type1Font.process
(RandomAccessFileOrArray rf) Reads the font metricsprivate void
TrueTypeFont.readBbox()
(package private) void
TrueTypeFont.readCMaps()
Reads the several maps from the table 'cmap'.protected void
TrueTypeFont.readGlyphWidths()
Reads the glyphs widths.protected void
TrueTypeFontSubSet.readLoca()
boolean
AcroFields.regenerateField
(String name) Regenerates the field appearance.(package private) int
PdfPages.reorderPages
(int[] order) int
PdfWriter.reorderPages
(int[] order) Reorder the pages in the document.protected PdfArray
PdfDocument.rotateAnnotations()
void
PdfStamper.setEncryption
(byte[] userPassword, byte[] ownerPassword, int permissions, boolean strength128Bits) Sets the encryption options for this document.void
PdfStamper.setEncryption
(byte[] userPassword, byte[] ownerPassword, int permissions, int encryptionType) Sets the encryption options for this document.void
PdfWriter.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) boolean
Sets the field value.boolean
boolean
Sets the field value and the display string.boolean
Sets the fields by FDF merging.boolean
AcroFields.setFields
(XfdfReader xfdf) Sets the fields by XFDF merging.boolean
AcroFields.setListSelection
(String name, String[] value) Sets different values in a list selection.(package private) void
PdfDocument.setSigFlags
(int f) void
PdfWriter.setSigFlags
(int f) Set the signature flags.void
PdfWriter.setUserunit
(float userunit) A UserUnit is a value that defines the default user space unit.void
Adds aPdfWriter
to thePdfDocument
.(package private) abstract void
BaseFont.writeFont
(PdfWriter writer, PdfIndirectReference ref, Object[] params) Outputs to the writer the font dictionaries and streams.(package private) void
CJKFont.writeFont
(PdfWriter writer, PdfIndirectReference ref, Object[] params) (package private) void
DocumentFont.writeFont
(PdfWriter writer, PdfIndirectReference ref, Object[] params) Outputs to the writer the font dictionaries and streams.(package private) void
TrueTypeFont.writeFont
(PdfWriter writer, PdfIndirectReference ref, Object[] params) Outputs to the writer the font dictionaries and streams.(package private) void
TrueTypeFontUnicode.writeFont
(PdfWriter writer, PdfIndirectReference ref, Object[] params) Outputs to the writer the font dictionaries and streams.(package private) void
Type1Font.writeFont
(PdfWriter writer, PdfIndirectReference ref, Object[] params) Outputs to the writer the font dictionaries and streams.(package private) void
VerticalText.writeLine
(PdfLine line, PdfContentByte text, PdfContentByte graphics) (package private) void
PdfDocument.writeLineToContent
(PdfLine line, PdfContentByte text, PdfContentByte graphics, Object[] currentValues, float ratio) Writes a text line to the document.void
FdfWriter.writeTo
(OutputStream os) Writes the content to a stream.(package private) void
FdfWriter.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 TypeMethodDescriptionvoid
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.