Uses of Class
com.aowagie.text.DocumentException
Packages that use DocumentException
Package
Description
-
Uses of DocumentException in com.aowagie.text
Subclasses of DocumentException in com.aowagie.textModifier and TypeClassDescriptionclassSignals an attempt to create anElementthat hasn't got the right form.Methods in com.aowagie.text that throw DocumentExceptionModifier and TypeMethodDescriptionbooleanAdds anElementto theDocument.booleanSignals that anElementwas added to theDocument.booleanSignals that anElementwas added to theDocument.SimpleTable.createPdfPTable()Creates a PdfPTable object based on this TableAttributes object.voidImage.makeMask()Make thisImagea mask.voidImgWMF.readWMF(PdfTemplate template) Reads the WMF into a template.voidImage.setImageMask(Image mask) Sets the explicit masking.voidTable.setWidths(int[] widths) Sets the widths of the different columns (percentages). -
Uses of DocumentException in com.aowagie.text.pdf
Methods in com.aowagie.text.pdf that throw DocumentExceptionModifier and TypeMethodDescriptionvoidMultiColumnText.addElement(Element element) Add an element to be rendered in a column.voidAdds anImageto the page.voidAdds anImageto the page.voidPdfContentByte.addImage(Image image, float a, float b, float c, float d, float e, float f, boolean inlineImage) Adds anImageto the page.voidAlways throws an error.voidvoidPdfSignatureAppearance.close(PdfDictionary update) This is the last method to be called when using external signatures.voidPdfStamper.close()Closes the document.voidCloses the document.static BaseFontBaseFont.createFont()Creates a new font.static BaseFontBaseFont.createFont(String name, String encoding, boolean embedded) Creates a new font.static BaseFontBaseFont.createFont(String name, String encoding, boolean embedded, boolean forceRead) Creates a new font.static BaseFontBaseFont.createFont(String name, String encoding, boolean embedded, boolean cached, byte[] ttfAfm, byte[] pfb) Creates a new font.static BaseFontBaseFont.createFont(String name, String encoding, boolean embedded, boolean cached, byte[] ttfAfm, byte[] pfb, boolean noThrow) Creates a new font.static BaseFontBaseFont.createFont(String name, String encoding, boolean embedded, boolean cached, byte[] ttfAfm, byte[] pfb, boolean noThrow, boolean forceRead) Creates a new font.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.static PdfStamperPdfStamper.createSignature(PdfReader reader, OutputStream os, char pdfVersion, File tempFile, boolean append, Calendar globalDate) Applies a digital signature to a document, possibly as a new revision, making possible multiple signatures.voidAcroFields.decodeGenericDictionary(PdfDictionary merged, com.aowagie.text.pdf.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.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.PdfSignatureAppearance.getAppearance()Gets the main appearance layer.com.aowagie.text.pdf.PdfAppearanceTextField.getAppearance()Get thePdfAppearanceof a text or combo fieldprotected PdfFormFieldTextField.getChoiceField(boolean isList) TextField.getComboField()Gets a new combo field.static String[][]BaseFont.getFullFontName(String name, String encoding, byte[] ttfAfm) Gets the full name of the font.static PdfWriterPdfWriter.getInstance(Document document, OutputStream os) Use this method to get an instance of thePdfWriter.TextField.getListField()Gets a new list field.TextField.getTextField()Gets a new text field.intColumnText.go()Outputs the lines to the document.intColumnText.go(boolean simulate) Outputs the lines to the document.protected intColumnText.goComposite(boolean simulate) voidAcroFields.mergeXfaData(Node n) Merges an XML data structure into this form.voidMultiColumnText.nextColumn()Moves the text insertion point to the beginning of the next column, issuing a page break if needed.voidPdfSignatureAppearance.preClose()voidThis is the first method to be called when using external signatures.voidThis is the first method to be called when using external signatures.voidThis is the first method to be called when using external signatures.booleanAcroFields.regenerateField(String name) Regenerates the field appearance.voidPdfWriter.setAdditionalAction(PdfName actionType, PdfAction action) voidPdfStamper.setEncryption(byte[] userPassword, byte[] ownerPassword, int permissions, int encryptionType) Sets the encryption options for this document.voidPdfStamper.setEncryption(Certificate[] certs, int[] permissions, int encryptionType) Sets the certificate encryption options for this document.voidPdfWriter.setEncryption(byte[] userPassword, byte[] ownerPassword, int permissions, int encryptionType) voidPdfWriter.setEncryption(Certificate[] certs, int[] permissions, int encryptionType) booleanSets the field value.booleanSets the field value and the display string.voidAcroFields.setFields(com.aowagie.text.pdf.FdfReader fdf) Sets the fields by FDF merging.voidAcroFields.setFields(com.aowagie.text.pdf.XfdfReader xfdf) Sets the fields by XFDF merging.voidPdfWriter.setInitialLeading(float leading) Sets the initial leading for the PDF document.booleanAcroFields.setListSelection(String name, String[] value) Sets different values in a list selection.voidPdfWriter.setPageAction(PdfName actionType, PdfAction action) voidPdfWriter.setThumbnail(Image image) Use this method to set the thumbnail image for the current page.voidPdfPTable.setTotalWidth(float[] columnWidth) Sets the full width of the table from the absolute column width.voidPdfWriter.setUserunit(float userunit) Use this method to set the user unit.voidPdfPTable.setWidthPercentage(float[] columnWidth, Rectangle pageSize) Sets the percentage width of the table from the absolute column width.voidPdfPTable.setWidths(float[] relativeWidths) Sets the relative widths of the table.voidPdfPTable.setWidths(int[] relativeWidths) Sets the relative widths of the table.floatMultiColumnText.write(PdfContentByte canvas, com.aowagie.text.pdf.PdfDocument document, float documentY) Write out the columns.Constructors in com.aowagie.text.pdf that throw DocumentExceptionModifierConstructorDescriptionPdfStamper(PdfReader reader, OutputStream os) Starts the process of adding extra content to an existing PDF document.PdfStamper(PdfReader reader, OutputStream os, Calendar globalDate) Starts the process of adding extra content to an existing PDF document. -
Uses of DocumentException in com.aowagie.text.pdf.codec.wmf
Methods in com.aowagie.text.pdf.codec.wmf that throw DocumentException -
Uses of DocumentException in com.aowagie.text.pdf.interfaces
Methods in com.aowagie.text.pdf.interfaces that throw DocumentExceptionModifier and TypeMethodDescriptionvoidPdfEncryptionSettings.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.