int |
PdfDocumentBase.deletePage(int pageNumber) |
Deletes a page.
|
java.lang.String |
PdfDocumentBase.dumpOutlines() |
Returns a text dump of the bookmark (outline) tree, for diagnostics.
|
java.lang.String |
PdfDocumentBase.getAuthor() |
Returns the author from the document properties.
|
java.lang.String |
PdfDocumentBase.getCreationDate() |
Returns the creation date from the document properties.
|
java.lang.String |
PdfDocumentBase.getCreator() |
Returns the creator from the document properties: the application the original document
was created with.
|
java.lang.String |
PdfDocumentBase.getKeywords() |
Returns the keywords from the document properties.
|
java.lang.String |
PdfDocumentBase.getMetadata() |
Returns the XMP metadata of the document, for example to check its PDF/A conformance
declaration.
|
java.lang.String |
PdfDocumentBase.getModDate() |
Returns the modification date from the document properties.
|
int |
PdfDocumentBase.getNumberOfPages() |
Returns the number of pages, including the pages of an appended document.
|
float[] |
PdfDocumentBase.getPageBox(int pageIndex,
java.lang.String boxName) |
Returns a page boundary box.
|
java.lang.String |
PdfDocumentBase.getPageContent(int pageIndex) |
Returns the decoded content stream of a page: the PDF drawing operators, for diagnostics or
simple text checks.
|
PageSize |
PdfDocumentBase.getPageSize(int pageIndex) |
Returns the size of a page: the size of its crop box (the area viewers show), or of its media
box if it has no crop box.
|
java.lang.String |
PdfDocumentBase.getPdfFormatVersion() |
Returns the PDF version of the document, from its file header.
|
int |
PdfDocumentBase.getPermissions() |
Returns the access permissions of the document, as a combination of the
Constants.Allow* flags.
|
java.lang.String |
PdfDocumentBase.getProducer() |
Returns the producer from the document properties: the software that wrote the PDF.
|
java.lang.String |
PdfDocumentBase.getSubject() |
Returns the subject from the document properties.
|
java.lang.String |
PdfDocumentBase.getTitle() |
Returns the title from the document properties.
|
void |
PdfDocumentBase.read() |
Loads and parses the document.
|
void |
PdfDocumentBase.setCreator(java.lang.String creator) |
Sets the creator in the document properties.
|
void |
PdfDocumentBase.setKeywords(java.lang.String keywords) |
Sets the keywords in the document properties.
|
void |
PdfDocumentBase.setModDate() |
Sets the modification date in the document properties to the current time.
|
void |
PdfDocumentBase.setSubject(java.lang.String subject) |
Sets the subject in the document properties.
|
void |
PdfDocumentBase.setTitle(java.lang.String title) |
Sets the title in the document properties.
|
void |
PdfDocumentBase.write(java.io.OutputStream out,
java.lang.String password,
int permissions) |
Writes the document with all changes and closes the stream, optionally encrypted.
|