|
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||
| Packages that use PDFException | |
| com.qoppa.pdf | General classes used by different objects throughout the library. |
| com.qoppa.pdf.errors | Classes related to error handling. |
| com.qoppa.pdfImages | jPDFImages main classes, used to convert PDF documents to images and images to PDF documents. |
| Uses of PDFException in com.qoppa.pdf |
| Subclasses of PDFException in com.qoppa.pdf | |
class |
PDFPermissionException
Exception thrown when there is any permission error. |
| Methods in com.qoppa.pdf that throw PDFException | |
void |
IEmbeddedFile.saveFile(File outFile)
Saves the content of the embedded file to the given output file. |
byte[] |
IEmbeddedFile.getDeflatedContents()
Get the content of the embedded file, deflated. |
int |
IEmbeddedFile.getSize()
Get the size of the file content in bytes. |
void |
IEmbeddedFile.write(OutputStream outStream)
Write the file content to an output stream. |
InputStream |
IEmbeddedFile.getInputStream()
Returns an input stream from which the file contents can be read. |
static DocumentInfo |
DocumentInfo.getDocumentInfo(String fileName,
IPassword passwords)
Static method to get the document information from a document in a file. |
static DocumentInfo |
DocumentInfo.getDocumentInfo(InputStream inStream,
IPassword password)
Static method to get the document information from a document from an InputStream. |
static DocumentInfo |
DocumentInfo.getDocumentInfo(URL url,
IPassword password)
Static method to get the document information from a document from a URL. |
abstract void |
DocumentInfo.setTitle(String title)
Sets the document's title. |
abstract void |
DocumentInfo.setAuthor(String author)
Set the document's author. |
abstract void |
DocumentInfo.setCreationDate(Date creationDate)
Set the document's creation date. |
abstract void |
DocumentInfo.setCreator(String creator)
Set the document's creator. |
abstract void |
DocumentInfo.setKeywords(String keywords)
Set the document's keywords. |
abstract void |
DocumentInfo.setModifiedDate(Date modDate)
Set the document's modified date. |
abstract void |
DocumentInfo.setProducer(String producer)
Set the document's producer. |
abstract void |
DocumentInfo.setSubject(String subject)
Set the document's subject. |
abstract void |
DocumentInfo.setXMPMetadata(String xmpString,
String charsetName)
Sets the XMP metadata block in the document. |
abstract void |
DocumentInfo.setXMPMetadata(byte[] xmpData)
Sets the XMP metadata block in the document. |
abstract void |
DocumentInfo.setCustomProperty(String key,
String value)
Sets a custom application property in the document info for the document. |
void |
Bookmark.addAction(Action action)
Adds an Action to this Bookmark |
Bookmark |
Bookmark.addChildBookmark(String title)
Add a child bookmark. |
Bookmark |
Bookmark.insertChildBookmark(String title,
int index)
Insert a child bookmark at the given index in the node's children. |
void |
Bookmark.removeChildBookmark(int index)
Removes a child bookmark from the bookmark |
| Constructors in com.qoppa.pdf that throw PDFException | |
SigningInformation(String pkcs12File,
String ksPWD,
String entryAlias,
String aliasPWD)
Constructs a SigningInformation object and gets the digital ID from a named PKCS#12 file. |
|
SigningInformation(KeyStore ks,
String entryAlias,
String aliasPWD)
Constructs a SigningInformation object and gets the digital ID from a Java KeyStore object. |
|
| Uses of PDFException in com.qoppa.pdf.errors |
| Methods in com.qoppa.pdf.errors that throw PDFException | |
static void |
PDFErrorHandling.checkForErrors_UsePDFException(String errorMsg)
This is a convenience method that gets called by the library after a rendering. |
| Uses of PDFException in com.qoppa.pdfImages |
| Methods in com.qoppa.pdfImages that throw PDFException | |
BufferedImage |
PDFImages.getPageImage(int pageIndex,
int resDPI)
Returns a BufferedImage containing a rendering of the page at the given resolution in DPI. |
BufferedImage |
PDFImages.getPageSubImage(int pageIndex,
Rectangle2D pageArea,
int dpi)
Returns a BufferedImage containing a rendering of part of the page at a given scale. |
void |
PDFImages.savePageAsPNG(int pageIndex,
OutputStream outStream,
int dpi)
Save the rendered image of the page to the given OutputStream in PNG format. |
void |
PDFImages.savePageAsPNG(int pageIndex,
String fileName,
int dpi)
Save the rendered image of the page to the given OutputStream in PNG format. |
void |
PDFImages.savePageAsJPEG(int pageIndex,
OutputStream outStream,
int resDPI,
float quality)
Save the rendered image of the page to the given OutputStream in JPEG format. |
void |
PDFImages.savePageAsJPEG(int pageIndex,
String fileName,
int resDPI,
float quality)
Save the rendered image of the page to the given file in JPEG format. |
void |
PDFImages.savePageAsTIFF(int pageIndex,
String fileName,
TIFFOptions options)
Render a page to an image and save it in TIFF format. |
void |
PDFImages.savePageAsTIFF(int pageIndex,
OutputStream outStream,
TIFFOptions options)
Render a page to an image and save it in TIFF format. |
void |
PDFImages.saveDocumentAsTIFF(String fileName,
double resDPI,
String tiffCompression)
Save the entire document as a multi-page TIFF image to the given file. |
void |
PDFImages.saveDocumentAsTIFF(String fileName,
TIFFOptions options)
Save the entire document as a multi-page TIFF image to the given file. |
void |
PDFImages.saveDocumentAsTIFF(OutputStream outStream,
TIFFOptions options)
Save the entire document as a multi-page TIFF image to an OutputStream. |
void |
PDFImages.appendTIFFAsPages(String tiffFileName)
Appends the pages in a TIFF file to the end of this document. |
void |
PDFImages.appendTIFFAsPages(InputStream inStream)
Appends the pages in a TIFF image from an input stream to the end of this document. |
void |
PDFImages.appendJPEGAsPage(String jpegFileName)
Creates a new page in the PDF document and adds the JPEG file to it. |
void |
PDFImages.appendJPEGAsPage(InputStream inStream)
Creates a new page in the PDF document and adds the JPEG image to it. |
void |
PDFImages.appendGIFAsPage(String gifFileName,
int dpi)
Creates a new page in the PDF document and adds the GIF image to it. |
void |
PDFImages.appendGIFAsPage(InputStream inStream,
int dpi)
Creates a new page in the PDF document and adds the GIF image to it. |
void |
PDFImages.appendJPEGAsPage(String jpegFileName,
int dpi)
Creates a new page in the PDF document and adds the JPEG file to it. |
void |
PDFImages.appendPNGAsPage(String pngFileName)
Creates a new page in the PDF document and adds the PNG file to it. |
void |
PDFImages.appendPNGAsPage(InputStream inStream)
Creates a new page in the PDF document adds the PNG content to it. |
void |
PDFImages.saveDocument(OutputStream outStream)
Saves this document to an output stream. |
void |
PDFImages.saveDocument(String fileName)
Saves this document to a file. |
| Constructors in com.qoppa.pdfImages that throw PDFException | |
PDFImages()
Creates a blank PDFImages object. |
|
PDFImages(String fileName,
IPassword password)
Loads a PDF document from a file. |
|
PDFImages(InputStream inStream,
IPassword password)
Loads a PDF document from an InputStream. |
|
PDFImages(URL url,
IPassword password)
Loads a PDF document from a URL. |
|
|
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||