| Package | Description |
|---|---|
| com.aowagie.text | |
| com.aowagie.text.pdf | |
| com.aowagie.text.pdf.codec.wmf | |
| com.aowagie.text.pdf.interfaces |
| Modifier and Type | Class and Description |
|---|---|
class |
BadElementException
Signals an attempt to create an
Element that hasn't got the right form. |
| Modifier and Type | Method and Description |
|---|---|
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).
|
| Modifier and Type | Method and Description |
|---|---|
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 |
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 |
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 |
PdfStamper.close()
Closes the document.
|
void |
PdfStamper.close(Calendar globalDate)
Closes the document.
|
void |
PdfSignatureAppearance.close(PdfDictionary update)
This is the last method to be called when using external signatures.
|
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,
File tempFile,
boolean append)
Applies a digital signature to a document, possibly as a new revision, making
possible multiple signatures.
|
static PdfStamper |
PdfStamper.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.
|
void |
AcroFields.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.
|
com.aowagie.text.pdf.PdfAppearance |
TextField.getAppearance()
Get the
PdfAppearance of a text or combo field |
PdfTemplate |
PdfSignatureAppearance.getAppearance()
Gets the main appearance layer.
|
protected PdfFormField |
TextField.getChoiceField(boolean isList) |
PdfFormField |
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 PdfWriter |
PdfWriter.getInstance(Document document,
OutputStream os)
Use this method to get an instance of the
PdfWriter. |
PdfFormField |
TextField.getListField()
Gets a new list field.
|
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) |
void |
AcroFields.mergeXfaData(Node n)
Merges an XML data structure into this form.
|
void |
MultiColumnText.nextColumn()
Moves the text insertion point to the beginning of the next column, issuing a page break if
needed.
|
void |
PdfSignatureAppearance.preClose() |
void |
PdfSignatureAppearance.preClose(HashMap exclusionSizes)
This is the first method to be called when using external signatures.
|
void |
PdfSignatureAppearance.preClose(HashMap exclusionSizes,
Calendar globalDate)
This is the first method to be called when using external signatures.
|
boolean |
AcroFields.regenerateField(String name)
Regenerates the field appearance.
|
void |
PdfWriter.setAdditionalAction(PdfName actionType,
PdfAction action) |
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 |
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.
|
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(com.aowagie.text.pdf.FdfReader fdf)
Sets the fields by FDF merging.
|
void |
AcroFields.setFields(com.aowagie.text.pdf.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 |
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,
com.aowagie.text.pdf.PdfDocument document,
float documentY)
Write out the columns.
|
| Constructor and Description |
|---|
PdfStamper(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.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MetaDo.readAll() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
Copyright © 2021. All rights reserved.