boolean |
PdfDocument.add(Element element) |
Signals that an Element was added to the Document .
|
protected void |
PdfDocument.add(Image image) |
Adds an image to the document.
|
PdfName |
PdfWriter.addDirectImageSimple(Image image) |
Use this method to adds an image to the document
but not to the page resources.
|
PdfName |
PdfWriter.addDirectImageSimple(Image image,
PdfIndirectReference fixedRef) |
Adds an image to the document but not to the page resources.
|
private void |
PdfDocument.addDiv(PdfDiv div) |
|
void |
PdfACopy.addDocument(PdfReader reader) |
|
void |
PdfCopy.addDocument(PdfReader reader) |
|
void |
PdfCopy.addDocument(PdfReader reader,
java.util.List<java.lang.Integer> pagesToKeep) |
|
void |
PdfCopyFields.addDocument(PdfReader reader) |
Deprecated.
Concatenates a PDF document.
|
void |
PdfCopyFields.addDocument(PdfReader reader,
java.lang.String ranges) |
Deprecated.
Concatenates a PDF document selecting the pages to keep.
|
void |
PdfCopyFields.addDocument(PdfReader reader,
java.util.List<java.lang.Integer> pagesToKeep) |
Deprecated.
Concatenates a PDF document selecting the pages to keep.
|
(package private) void |
PdfCopyFieldsImp.addDocument(PdfReader reader) |
Deprecated.
|
(package private) void |
PdfCopyFieldsImp.addDocument(PdfReader reader,
java.util.List<java.lang.Integer> pagesToKeep) |
Deprecated.
|
void |
PdfCopyForms.addDocument(PdfReader reader) |
Deprecated.
Concatenates a PDF document.
|
void |
PdfCopyForms.addDocument(PdfReader reader,
java.lang.String ranges) |
Deprecated.
Concatenates a PDF document selecting the pages to keep.
|
void |
PdfCopyForms.addDocument(PdfReader reader,
java.util.List<java.lang.Integer> pagesToKeep) |
Deprecated.
Concatenates a PDF document selecting the pages to keep.
|
void |
PdfContentByte.addImage(Image image) |
Adds an Image to the page.
|
void |
PdfContentByte.addImage(Image image,
boolean inlineImage) |
Adds an Image to the page.
|
void |
PdfContentByte.addImage(Image image,
double a,
double b,
double c,
double d,
double e,
double f) |
Adds an Image to the page.
|
void |
PdfContentByte.addImage(Image image,
double a,
double b,
double c,
double d,
double e,
double f,
boolean inlineImage) |
Adds an Image to the page.
|
protected void |
PdfContentByte.addImage(Image image,
double a,
double b,
double c,
double d,
double e,
double f,
boolean inlineImage,
boolean isMCBlockOpened) |
Adds an Image to the page.
|
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 |
PdfContentByte.addImage(Image image,
AffineTransform transform) |
adds an image with the given matrix.
|
void |
PdfContentByte.addImage(Image image,
java.awt.geom.AffineTransform transform) |
Deprecated.
|
void |
PdfImportedPage.addImage(Image image,
float a,
float b,
float c,
float d,
float e,
float f) |
Always throws an error.
|
void |
PdfPatternPainter.addImage(Image image,
float a,
float b,
float c,
float d,
float e,
float f) |
|
void |
Type3Glyph.addImage(Image image,
float a,
float b,
float c,
float d,
float e,
float f,
boolean inlineImage) |
|
void |
PdfCopy.addPage(Rectangle rect,
int rotation) |
Adds a blank page.
|
int |
PdfConcatenate.addPages(PdfReader reader) |
Adds the pages from an existing PDF document.
|
(package private) void |
PdfDocument.addPTable(PdfPTable ptable) |
Adds a PdfPTable to the document.
|
void |
PdfDocument.addWriter(PdfWriter writer) |
Adds a PdfWriter to the PdfDocument .
|
private float |
PushbuttonField.calculateFontSize(float w,
float h) |
|
void |
PdfWriter.clearTextWrap() |
Use this method to clear text wrapping around images (if applicable).
|
void |
PdfSignatureAppearance.close(PdfDictionary update) |
This is the last method to be called when using external signatures.
|
void |
PdfStamper.close() |
Closes the document.
|
void |
XmlSignatureAppearance.close() |
Close PdfStamper
|
void |
PdfCopy.copyDocumentFields(PdfReader reader) |
Copy document fields to a destination document.
|
void |
PdfCopyForms.copyDocumentFields(PdfReader reader) |
Deprecated.
Copies the form fields of this PDFDocument onto the PDF-Document which was added
|
void |
PdfCopyFormsImp.copyDocumentFields(PdfReader reader) |
Deprecated.
This method feeds in the source document
|
static BaseFont |
BaseFont.createFont() |
Creates a new font.
|
static BaseFont |
BaseFont.createFont(java.lang.String name,
java.lang.String encoding,
boolean embedded) |
Creates a new font.
|
static BaseFont |
BaseFont.createFont(java.lang.String name,
java.lang.String encoding,
boolean embedded,
boolean forceRead) |
Creates a new font.
|
static BaseFont |
BaseFont.createFont(java.lang.String name,
java.lang.String encoding,
boolean embedded,
boolean cached,
byte[] ttfAfm,
byte[] pfb) |
Creates a new font.
|
static BaseFont |
BaseFont.createFont(java.lang.String name,
java.lang.String encoding,
boolean embedded,
boolean cached,
byte[] ttfAfm,
byte[] pfb,
boolean noThrow) |
Creates a new font.
|
static BaseFont |
BaseFont.createFont(java.lang.String name,
java.lang.String encoding,
boolean embedded,
boolean cached,
byte[] ttfAfm,
byte[] pfb,
boolean noThrow,
boolean forceRead) |
Creates a new font.
|
static PdfAStamper |
PdfAStamper.createSignature(PdfReader reader,
java.io.OutputStream os,
char pdfVersion,
PdfAConformanceLevel conformanceLevel) |
Applies a digital signature to a document.
|
static PdfAStamper |
PdfAStamper.createSignature(PdfReader reader,
java.io.OutputStream os,
char pdfVersion,
java.io.File tempFile,
boolean append,
PdfAConformanceLevel conformanceLevel) |
Applies a digital signature to a document, possibly as a new revision, making
possible multiple signatures.
|
static PdfAStamper |
PdfAStamper.createSignature(PdfReader reader,
java.io.OutputStream os,
char pdfVersion,
java.io.File tempFile,
PdfAConformanceLevel conformanceLevel) |
Applies a digital signature to a document.
|
static PdfStamper |
PdfStamper.createSignature(PdfReader reader,
java.io.OutputStream os,
char pdfVersion) |
Applies a digital signature to a document.
|
static PdfStamper |
PdfStamper.createSignature(PdfReader reader,
java.io.OutputStream os,
char pdfVersion,
java.io.File tempFile) |
Applies a digital signature to a document.
|
static PdfStamper |
PdfStamper.createSignature(PdfReader reader,
java.io.OutputStream os,
char pdfVersion,
java.io.File tempFile,
boolean append) |
Applies a digital signature to a document, possibly as a new revision, making
possible multiple signatures.
|
protected void |
TrueTypeFontSubSet.createTableDirectory() |
|
static PdfStamper |
PdfStamper.createXmlSignature(PdfReader reader,
java.io.OutputStream os) |
|
void |
AcroFields.decodeGenericDictionary(PdfDictionary merged,
BaseField tx) |
|
static void |
PdfEncryptor.encrypt(PdfReader reader,
java.io.OutputStream os,
boolean strength,
java.lang.String userPassword,
java.lang.String ownerPassword,
int permissions) |
Entry point to encrypt a PDF document.
|
static void |
PdfEncryptor.encrypt(PdfReader reader,
java.io.OutputStream os,
boolean strength,
java.lang.String userPassword,
java.lang.String ownerPassword,
int permissions,
java.util.HashMap<java.lang.String,java.lang.String> newInfo) |
Entry point to encrypt a PDF document.
|
static void |
PdfEncryptor.encrypt(PdfReader reader,
java.io.OutputStream os,
byte[] userPassword,
byte[] ownerPassword,
int permissions,
boolean strength128Bits) |
Entry point to encrypt a PDF document.
|
static void |
PdfEncryptor.encrypt(PdfReader reader,
java.io.OutputStream os,
byte[] userPassword,
byte[] ownerPassword,
int permissions,
boolean strength128Bits,
java.util.HashMap<java.lang.String,java.lang.String> newInfo) |
Entry point to encrypt a PDF document.
|
static void |
PdfEncryptor.encrypt(PdfReader reader,
java.io.OutputStream os,
int type,
java.lang.String userPassword,
java.lang.String ownerPassword,
int permissions) |
Entry point to encrypt a PDF document.
|
static void |
PdfEncryptor.encrypt(PdfReader reader,
java.io.OutputStream os,
int type,
java.lang.String userPassword,
java.lang.String ownerPassword,
int permissions,
java.util.HashMap<java.lang.String,java.lang.String> newInfo) |
Entry point to encrypt a PDF document.
|
static java.lang.String[] |
BaseFont.enumerateTTCNames(byte[] ttcArray) |
Enumerates the postscript font names present inside a
True Type Collection.
|
static java.lang.String[] |
BaseFont.enumerateTTCNames(java.lang.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', 'post' and 'maxp' filling several variables.
|
(package private) void |
EnumerateTTC.findNames() |
|
protected void |
TrueTypeFontSubSet.flatGlyphs() |
|
private int |
FloatLayout.floatingLayout(java.util.List<Element> floatingElements,
boolean simulate) |
|
private void |
PdfDocument.flushFloatingElements() |
|
protected float |
PdfDocument.flushLines() |
Writes all the lines to the text-object.
|
static java.lang.Object[] |
BaseFont.getAllFontNames(java.lang.String name,
java.lang.String encoding,
byte[] ttfAfm) |
Gets all the names from the font.
|
static java.lang.String[][] |
BaseFont.getAllNameEntries(java.lang.String name,
java.lang.String encoding,
byte[] ttfAfm) |
Gets all the entries of the namestable from the font.
|
(package private) java.lang.String[][] |
TrueTypeFont.getAllNames() |
Extracts all the names of the names-Table
|
(package private) PdfAppearance |
AcroFields.getAppearance(PdfDictionary merged,
java.lang.String[] values,
java.lang.String fieldName) |
|
(package private) PdfAppearance |
AcroFields.getAppearance(PdfDictionary merged,
java.lang.String text,
java.lang.String fieldName) |
|
PdfAppearance |
PdfARadioCheckField.getAppearance(boolean isRadio,
boolean on) |
|
PdfTemplate |
PdfSignatureAppearance.getAppearance() |
Gets the main appearance layer.
|
PdfAppearance |
PushbuttonField.getAppearance() |
Gets the button appearance.
|
PdfAppearance |
RadioCheckField.getAppearance(boolean isRadio,
boolean on) |
Gets the field appearance.
|
PdfAppearance |
TextField.getAppearance() |
Get the PdfAppearance of a text or combo field
|
(package private) java.lang.String |
TrueTypeFont.getBaseFont() |
Gets the Postscript font name.
|
PdfFormField |
RadioCheckField.getCheckField() |
Gets the check field.
|
protected PdfFormField |
TextField.getChoiceField(boolean isList) |
|
PdfFormField |
TextField.getComboField() |
Gets a new combo field.
|
protected PdfFormField |
PdfARadioCheckField.getField(boolean isRadio) |
|
PdfFormField |
PushbuttonField.getField() |
Gets the pushbutton field.
|
protected PdfFormField |
RadioCheckField.getField(boolean isRadio) |
Gets a radio or check field.
|
static java.lang.String[][] |
BaseFont.getFullFontName(java.lang.String name,
java.lang.String encoding,
byte[] ttfAfm) |
Gets the full name of the font.
|
(package private) abstract PdfStream |
BaseFont.getFullFontStream() |
Returns a PdfStream object with the full font program (if possible).
|
PdfStream |
TrueTypeFont.getFullFontStream() |
Returns a PdfStream object with the full font program.
|
PdfStream |
TrueTypeFontUnicode.getFullFontStream() |
Returns a PdfStream object with the full font program.
|
PdfStream |
Type1Font.getFullFontStream() |
If the embedded flag is false or if the font is
one of the 14 built in types, it returns null ,
otherwise the font is read and output in a PdfStream object.
|
static PdfAWriter |
PdfAWriter.getInstance(Document document,
java.io.OutputStream os,
DocListener listener,
PdfAConformanceLevel conformanceLevel) |
Use this method to get an instance of the PdfWriter .
|
static PdfAWriter |
PdfAWriter.getInstance(Document document,
java.io.OutputStream os,
PdfAConformanceLevel conformanceLevel) |
Use this method to get an instance of the PdfWriter .
|
static PdfWriter |
PdfWriter.getInstance(Document document,
java.io.OutputStream os) |
Use this method to get an instance of the PdfWriter .
|
static PdfWriter |
PdfWriter.getInstance(Document document,
java.io.OutputStream os,
DocListener listener) |
Use this method to get an instance of the PdfWriter .
|
(package private) PdfAppearance |
TextField.getListAppearance() |
Get the PdfAppearance of a list field
|
PdfFormField |
TextField.getListField() |
Gets a new list field.
|
(package private) java.lang.String[][] |
TrueTypeFont.getNames(int id) |
Extracts the names of the font in all the languages available.
|
PdfFormField |
RadioCheckField.getRadioField() |
Gets the radio field.
|
protected BaseFont |
BaseField.getRealFont() |
|
protected BaseFont |
PdfARadioCheckField.getRealFont() |
|
protected byte[] |
TrueTypeFont.getSubSet(java.util.HashSet glyphs,
boolean subsetp) |
|
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.
|
int |
ColumnText.go(boolean simulate,
IAccessibleElement elementToGo) |
|
protected int |
ColumnText.goComposite(boolean simulate) |
|
protected void |
PdfDocument.initPage() |
Initializes a page.
|
int |
FloatLayout.layout(PdfContentByte canvas,
boolean simulate) |
|
int |
PdfDiv.layout(PdfContentByte canvas,
boolean useAscender,
boolean simulate,
float llx,
float lly,
float urx,
float ury) |
|
private void |
CJKFont.loadCMaps() |
|
void |
AcroFields.mergeXfaData(org.w3c.dom.Node n) |
Merges an XML data structure into this form.
|
protected void |
PdfDocument.newLine() |
Adds the current line to the list of lines and also adds an empty line.
|
void |
PdfSignatureAppearance.preClose(java.util.HashMap<PdfName,java.lang.Integer> exclusionSizes) |
This is the first method to be called when using external signatures.
|
(package private) void |
TrueTypeFont.process(byte[] ttfAfm,
boolean preload) |
Reads the font data.
|
(package private) byte[] |
TrueTypeFontSubSet.process() |
Does the actual work of subsetting the font.
|
(package private) void |
TrueTypeFontUnicode.process(byte[] ttfAfm,
boolean preload) |
|
void |
Type1Font.process(RandomAccessFileOrArray rf) |
Reads the font metrics
|
private 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(java.lang.String name) |
Regenerates the field appearance.
|
(package private) int |
PdfPages.reorderPages(int[] order) |
|
int |
PdfWriter.reorderPages(int[] order) |
Use this method to reorder the pages in the document.
|
void |
PdfWriter.setAdditionalAction(PdfName actionType,
PdfAction action) |
|
void |
XfaXmlLocator.setDocument(org.w3c.dom.Document document) |
Save document as single XML stream in AcroForm.
|
void |
PdfCopyFields.setEncryption(boolean strength,
java.lang.String userPassword,
java.lang.String ownerPassword,
int permissions) |
Deprecated.
Sets the encryption options for this document.
|
void |
PdfCopyFields.setEncryption(byte[] userPassword,
byte[] ownerPassword,
int permissions,
boolean strength128Bits) |
Deprecated.
Sets the encryption options for this document.
|
void |
PdfCopyFields.setEncryption(byte[] userPassword,
byte[] ownerPassword,
int permissions,
int encryptionType) |
Deprecated.
|
void |
PdfCopyFields.setEncryption(java.security.cert.Certificate[] certs,
int[] permissions,
int encryptionType) |
Deprecated.
|
void |
PdfCopyForms.setEncryption(boolean strength,
java.lang.String userPassword,
java.lang.String ownerPassword,
int permissions) |
Deprecated.
Sets the encryption options for this document.
|
void |
PdfCopyForms.setEncryption(byte[] userPassword,
byte[] ownerPassword,
int permissions,
boolean strength128Bits) |
Deprecated.
Sets the encryption options for this document.
|
void |
PdfCopyForms.setEncryption(byte[] userPassword,
byte[] ownerPassword,
int permissions,
int encryptionType) |
Deprecated.
|
void |
PdfCopyForms.setEncryption(java.security.cert.Certificate[] certs,
int[] permissions,
int encryptionType) |
Deprecated.
|
void |
PdfStamper.setEncryption(boolean strength,
java.lang.String userPassword,
java.lang.String ownerPassword,
int permissions) |
Sets the encryption options for this document.
|
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 |
PdfStamper.setEncryption(int encryptionType,
java.lang.String userPassword,
java.lang.String ownerPassword,
int permissions) |
Sets the encryption options for this document.
|
void |
PdfStamper.setEncryption(java.security.cert.Certificate[] certs,
int[] permissions,
int encryptionType) |
Sets the certificate encryption options for this document.
|
void |
PdfWriter.setEncryption(boolean strength,
java.lang.String userPassword,
java.lang.String ownerPassword,
int permissions) |
Deprecated.
|
void |
PdfWriter.setEncryption(byte[] userPassword,
byte[] ownerPassword,
int permissions,
boolean strength128Bits) |
Deprecated.
|
void |
PdfWriter.setEncryption(byte[] userPassword,
byte[] ownerPassword,
int permissions,
int encryptionType) |
Sets the encryption options for this document.
|
void |
PdfWriter.setEncryption(int encryptionType,
java.lang.String userPassword,
java.lang.String ownerPassword,
int permissions) |
Deprecated.
|
void |
PdfWriter.setEncryption(java.security.cert.Certificate[] certs,
int[] permissions,
int encryptionType) |
Sets the encryption options for this document.
|
boolean |
AcroFields.setField(java.lang.String name,
java.lang.String value) |
Sets the field value.
|
boolean |
AcroFields.setField(java.lang.String name,
java.lang.String value,
boolean saveAppearance) |
Sets the field value.
|
boolean |
AcroFields.setField(java.lang.String name,
java.lang.String value,
java.lang.String display) |
Sets the field value and the display string.
|
boolean |
AcroFields.setField(java.lang.String name,
java.lang.String value,
java.lang.String display,
boolean saveAppearance) |
Sets the field value and the display string.
|
boolean |
AcroFields.setFieldRichValue(java.lang.String name,
java.lang.String richValue) |
Sets the rich value for the given field.
|
void |
AcroFields.setFields(FdfReader fdf) |
Sets the fields by FDF merging.
|
void |
AcroFields.setFields(XfdfReader xfdf) |
Sets the fields by XFDF merging.
|
void |
PdfCopyFields.setFullCompression() |
Deprecated.
Sets the document's compression to the new 1.5 mode with object streams and xref
streams.
|
void |
PdfCopyForms.setFullCompression() |
Deprecated.
Sets the document's compression to the new 1.5 mode with object streams and xref
streams.
|
void |
PdfStamper.setFullCompression() |
Sets the document's compression to the new 1.5 mode with object streams and xref
streams.
|
void |
PdfWriter.setFullCompression() |
Use this method to set the document's compression to the
PDF 1.5 mode with object streams and xref streams.
|
void |
PdfWriter.setInitialLeading(float leading) |
Sets the initial leading for the PDF document.
|
boolean |
AcroFields.setListSelection(java.lang.String name,
java.lang.String[] value) |
Sets different values in a list selection.
|
void |
PdfWriter.setPageAction(PdfName actionType,
PdfAction action) |
|
(package private) void |
PdfDocument.setThumbnail(Image image) |
|
void |
PdfStamper.setThumbnail(Image image,
int page) |
Sets the thumbnail image for a page.
|
(package private) void |
PdfStamperImp.setThumbnail(Image image,
int page) |
|
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.
|
(package private) abstract void |
BaseFont.writeFont(PdfWriter writer,
PdfIndirectReference ref,
java.lang.Object[] params) |
Outputs to the writer the font dictionaries and streams.
|
(package private) void |
CJKFont.writeFont(PdfWriter writer,
PdfIndirectReference ref,
java.lang.Object[] params) |
|
(package private) void |
DocumentFont.writeFont(PdfWriter writer,
PdfIndirectReference ref,
java.lang.Object[] params) |
Outputs to the writer the font dictionaries and streams.
|
void |
PdfATtfUnicodeWriter.writeFont(TrueTypeFontUnicode font,
PdfIndirectReference ref,
java.lang.Object[] params,
byte[] rotbits) |
|
(package private) void |
TrueTypeFont.writeFont(PdfWriter writer,
PdfIndirectReference ref,
java.lang.Object[] params) |
Outputs to the writer the font dictionaries and streams.
|
(package private) void |
TrueTypeFontUnicode.writeFont(PdfWriter writer,
PdfIndirectReference ref,
java.lang.Object[] params) |
Outputs to the writer the font dictionaries and streams.
|
void |
TtfUnicodeWriter.writeFont(TrueTypeFontUnicode font,
PdfIndirectReference ref,
java.lang.Object[] params,
byte[] rotbits) |
|
(package private) void |
Type1Font.writeFont(PdfWriter writer,
PdfIndirectReference ref,
java.lang.Object[] params) |
Outputs to the writer the font dictionaries and streams.
|
(package private) void |
Type3Font.writeFont(PdfWriter writer,
PdfIndirectReference ref,
java.lang.Object[] params) |
|
(package private) float |
PdfDocument.writeLineToContent(PdfLine line,
PdfContentByte text,
PdfContentByte graphics,
java.lang.Object[] currentValues,
float ratio) |
Writes a text line to the document.
|