|
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||
| Packages that use PDFException | |
| com.qoppa.pdf | General classes used by different objects throughout the library. |
| com.qoppa.pdf.annotations | Classes representing PDF annotations. |
| com.qoppa.pdf.dom | Classes representing the PDF document object model. |
| com.qoppa.pdf.errors | Classes related to error handling. |
| com.qoppa.pdf.form | Classes related to PDF Acroform and its form fields. |
| com.qoppa.pdf.source | PDFSource interface and implementations. |
| com.qoppa.pdfAssemble | jPDFAssemble main classes, used to assemble PDF documents. |
| com.qoppa.pdfFields | jPDFFields main classes, used to work with PDF interactive forms and fields. |
| com.qoppa.pdfImages | jPDFImages main classes, used to convert PDF documents to images and images to PDF documents. |
| com.qoppa.pdfPrint | jPDFPrint main classes, used to print PDF documents. |
| com.qoppa.pdfProcess | jPDFProcess main classes, used to manipulate PDF documents and pages. |
| com.qoppa.pdfSecure | jPDFSecure main classes, used encrypt and digitally sign PDF documents. |
| com.qoppa.pdfText | jPDFText main classes, used to extract text content from PDF documents. |
| com.qoppa.pdfViewer.actions | Classes that represent user actions. |
| com.qoppa.preflight.results | |
| 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.annotations |
| Methods in com.qoppa.pdf.annotations that throw PDFException | |
void |
Widget.fieldValueChanged()
|
void |
IFlattener.flattenWidget(Widget w)
|
void |
FileAttachment.setFileContents(byte[] fileContents)
Sets the file contents for the file attachment. |
void |
FileAttachment.setFileContents(File file)
Sets the file contents for the file attachment from a file. |
void |
FileAttachment.setFileContents(InputStream inStream)
Sets the file contents for this file attachment from an input stream. |
int |
FileAttachment.getFileSize()
Returns the length of the file, in bytes. |
byte[] |
FileAttachment.getDeflatedContents()
Returns the file contents in deflated format |
InputStream |
FileAttachment.getInputStream()
Returns the file contents as an input stream. |
byte[] |
FileAttachment.getCheckSum()
Returns the CRC checksum for the file contents. |
void |
FileAttachment.saveFile(File outFile)
Saves the content of the file to a file. |
| Uses of PDFException in com.qoppa.pdf.dom |
| Methods in com.qoppa.pdf.dom that throw PDFException | |
Vector |
IPDFPage.getAnnotations()
Returns a list of PDF annotations in this page. |
Vector |
IPDFPage.findTextWithContext(String searchText,
boolean caseSensitive,
boolean wholeWords)
This method searches for the given text in the page. |
Vector |
IPDFPage.findText(String searchText,
boolean caseSensitive,
boolean wholeWords)
This method searches for the given text in the page. |
TextSelection |
IPDFPage.getTextSelection(Rectangle2D selectRect)
Returns a TextSelection object containing information about any text located in an area. |
String |
IPDFDocument.getText()
Returns the text content of the entire document, as a String |
String |
IPDFDocument.getText(int pageIndex)
Returns the text content of this page as a String. |
| 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.pdf.form |
| Methods in com.qoppa.pdf.form that throw PDFException | |
void |
TextField.setValue(String value)
Sets the value for this text field. |
void |
TextField.setHorzTextAlign(int justify)
Sets the text alignment for this field. |
void |
SignatureField.setSignDateTime(Date signDateTime)
Sets the signature date and time from a Java date object. |
void |
SignatureField.setSignLocation(String signLocation)
Sets the signature location. |
void |
SignatureField.setSignName(String signName)
Sets the signature name. |
void |
SignatureField.setSignReason(String signReason)
Sets the signature reason. |
void |
RadioButtonGroupField.setValue(String value)
Sets the value for this radio button group field. |
void |
RadioButtonGroupField.setValueFromOptions(String value)
Sets the value from the options for this radio button group field if the options exist. |
void |
PushButtonField.setImage(BufferedImage bi)
Set an image to display in the button fields. |
void |
FormField.reset()
Resets the field to its default value. |
void |
FormField.flattenField()
Flattens the field into the document's content layer. |
void |
ChoiceField.setValue(String value)
Sets the selected export value for this choice field. |
void |
ChoiceField.setValues(Vector values)
Sets the list of currently selected values for this choice field. |
void |
CheckBoxField.setValue(String value)
Sets the value for the check box field. |
void |
AcroForm.exportAsXFDF(String fileName,
boolean exportEmptyFields)
Exports AcroForm field data to a file in XFDF format. |
void |
AcroForm.exportAsFDF(String fileName,
boolean exportEmptyFields)
Exports AcroForm field data to a file in FDF format. |
void |
AcroForm.exportAsXDP(String fileName,
boolean exportEmptyFields)
Exports XFA field data to a file in XDP format. |
void |
AcroForm.exportAsXDP(OutputStream outStream,
String pdfReference,
boolean exportEmptyFields)
Exports XFA field data to an OutputStream. |
void |
AcroForm.exportAsXFDF(OutputStream outStream,
String pathToPDFFile,
boolean exportEmptyFields)
Exports AcroForm field data to an output stream in XML format. |
void |
AcroForm.exportAsFDF(OutputStream outStream,
String pathToPDFFile,
boolean exportEmptyFields)
Exports AcroForm field data to an output stream in FDF format. |
void |
AcroForm.importFDF(String fileName)
Import Acroform field data from a file in FDF Format. |
void |
AcroForm.importFDF(InputStream inStream)
Imports AcroForm field data from an input stream in FDF format. |
void |
AcroForm.importXFDF(String fileName)
Imports Acroform fields data from a file in XFDF Format. |
void |
AcroForm.importXDP(String fileName)
Imports XFA field data from a file in XDP format. |
void |
AcroForm.importXDP(InputStream inStream)
Imports XFA field data from an InputStream in XDP format. |
void |
AcroForm.importXFDF(nanoxml.XMLElement topElement)
Import AcroForm field data from an xml element representing the top element of an fdf file. |
void |
AcroForm.importXFDF(InputStream inStream)
Imports AcroForm field data from an input stream in XFDF format. |
void |
AcroForm.resetFields()
Reset the form fields to their default value. |
void |
AcroForm.exportAsXML(OutputStream outStream,
boolean useHierarchy,
boolean exportEmptyFields)
Export field values in a simple XML format. |
void |
AcroForm.exportAsXML(String fileName,
boolean useHierarchy,
boolean exportEmptyFields)
Export field values in a simple XML format. |
| Uses of PDFException in com.qoppa.pdf.source |
| Constructors in com.qoppa.pdf.source that throw PDFException | |
URLPDFSource(URL url)
|
|
RAFilePDFSource(File source)
Creates a new RAFilePDFSource instance using the given
File. |
|
RAFilePDFSource(String fileName)
Creates a new RAFilePDFSource instance using the given
fileName. |
|
RAFilePDFSource(String fileName,
boolean lockFile)
Creates a new RAFilePDFSource instance using the given
fileName and boolean parameter indicating if the file should be locked. |
|
RAFilePDFSource(File source,
boolean lockFile)
Creates a new RAFilePDFSource instance using the given
File and boolean parameter indicating if the file should be
locked. |
|
MBBPDFSource(File source)
|
|
MBBPDFSource(String fileName)
|
|
FilePDFSource(File source)
|
|
FilePDFSource(String fileName)
|
|
| Uses of PDFException in com.qoppa.pdfAssemble |
| Methods in com.qoppa.pdfAssemble that throw PDFException | |
void |
PDFAssemble.appendDocument(PDFAssemble appendDoc)
Appends a PDF document to this document. |
void |
PDFAssemble.appendPage(PDFAssemble source,
int pageIndex)
Appends a page to this document. |
void |
PDFAssemble.insertPage(PDFAssemble sourceDoc,
int srcPageIndex,
int dstPageIndex)
Inserts a page into this document at the given index. |
void |
PDFAssemble.deletePage(int pageIndex)
Deletes a page from this document. |
void |
PDFAssemble.deletePages(int startIndex,
int endIndex)
Deletes a range of pages in the document. |
PDFAssemble |
PDFAssemble.extractPages(int startIndex,
int endIndex,
String outputFile)
Creates and saves a new PDF document that contains a range of pages from this document. |
PDFAssemble |
PDFAssemble.extractPages(int startIndex,
int endIndex,
OutputStream outStream)
Creates and saves a new PDF document that contains a range of pages from this document. |
Bookmark |
PDFAssemble.createRootBookmark()
Creates a new root bookmark and saves it in the document catalog. |
void |
PDFAssemble.saveDocument(String fileName)
Saves this document to a file. |
void |
PDFAssemble.saveDocument(OutputStream outStream)
Saves this document to an output stream. |
boolean |
PDFAssemble.usePermissionsPassword(String ownerPassword)
Tells the PDFDocument object that the permissions password is known, so all permissions are granted. |
void |
PDFAssemble.setInitialPageMode(String pageMode)
Changes the value of the page mode viewer preference in the document. |
void |
PDFAssemble.setInitialPageLayout(String pageLayout)
Changes the value of the page layout key for this document. |
void |
PDFAssemble.setInitialPage(int pageNumber)
Sets the initial page to display. |
void |
PDFAssemble.setInitialMagnification(String magnification)
Sets the magnification at which to display the initial view. |
void |
PDFAssemble.addGoToPage(Bookmark bookmark,
int pageNum)
Adds a GoToPage action to the Bookmark Parameter. |
void |
PDFAssemble.addGoToPage(Bookmark bookmark,
int pageNum,
int x,
int y,
double scale)
Adds a GoToPage action to the Bookmark Parameter that uses x and y coordinates and a zoom scale. |
void |
PDFAssemble.addGoToPage(Bookmark bookmark,
int pageNum,
int zoomMode)
Adds a GoToPage action to the Bookmark Parameter with a zoom mode. |
Bookmark |
PDFAssemble.createBookmark(Bookmark parent,
int pageNum)
Creates a Bookmark with a GoToPage action, and Add it as a child to the parent Bookmark parameter |
Bookmark |
PDFAssemble.createBookmark(Bookmark parent,
int pageNum,
int x,
int y,
double scale)
Creates a Bookmark with a GoToPage action that uses x and y coordinates and a zoom scale. |
Bookmark |
PDFAssemble.createBookmark(Bookmark parent,
int pageNum,
int zoomMode)
Creates a Bookmark with a GoToPage action with a zoom mode, and Add it as a child to the parent Bookmark parameter |
| Constructors in com.qoppa.pdfAssemble that throw PDFException | |
PDFAssemble()
Creates a blank PDFAssemble object. |
|
PDFAssemble(InputStream inStream,
IPassword password)
Loads a PDF document from an InputStream. |
|
PDFAssemble(String fileName,
IPassword password)
Loads a PDF document from a file. |
|
PDFAssemble(URL url,
IPassword password)
Loads a PDF document from a URL. |
|
| Uses of PDFException in com.qoppa.pdfFields |
| Methods in com.qoppa.pdfFields that throw PDFException | |
void |
PDFFields.exportAsFDF(OutputStream outStream,
String pathToPDFFile,
boolean exportEmptyFields)
Export AcroForm field data to an output stream in FDF format. |
void |
PDFFields.exportAsFDF(String fileName,
boolean exportEmptyFields)
Exports AcroForm field data to a file in FDF format. |
void |
PDFFields.exportAsXFDF(OutputStream outStream,
String pathToPDFFile,
boolean exportEmptyFields)
Export AcroForm field data to an output stream in XFDF format. |
void |
PDFFields.exportAsXFDF(String fileName,
boolean exportEmptyFields)
Exports AcroForm field data to a file in XML format. |
void |
PDFFields.exportAsXDP(String fileName,
boolean exportEmptyFields)
Exports XFA field data to a file in XDP format. |
void |
PDFFields.exportAsXDP(OutputStream outStream,
String pathToPDFFile,
boolean exportEmptyFields)
Export XFA field data to an output stream in XDP format. |
void |
PDFFields.flattenFields(boolean paintButtons,
boolean paintNonPrintableFields)
Flattens the form fields in the current PDF document. |
void |
PDFFields.importFDF(InputStream inStream)
Import AcroForm field data from an input stream in FDF format. |
void |
PDFFields.importFDF(String fileName)
Import Acroform field data from a file in FDF Format. |
void |
PDFFields.importXFDF(InputStream inStream)
Import AcroForm field data from an input stream in XML format. |
void |
PDFFields.importXDP(String fileName)
Import XFA field data from a file in XDP Format. |
void |
PDFFields.importXDP(InputStream inStream)
Import XFA field data from an input stream in XDP format. |
void |
PDFFields.importXFDF(String fileName)
Import Acroform fields data from a file in XML Format. |
void |
PDFFields.resetFields()
Reset fields values to their default value. |
void |
PDFFields.saveDocument(String fileName)
Saves this document to a file. |
void |
PDFFields.saveDocument(OutputStream outStream)
Saves this document to an output stream. |
| Constructors in com.qoppa.pdfFields that throw PDFException | |
PDFFields(InputStream inStream,
IPassword password)
Loads a PDF document from an InputStream. |
|
PDFFields(String fileName,
IPassword password)
Loads a PDF document from a file. |
|
PDFFields(URL url,
IPassword password)
Loads a PDF document from a URL. |
|
| 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. |
|
| Uses of PDFException in com.qoppa.pdfPrint |
| Methods in com.qoppa.pdfPrint that throw PDFException | |
static void |
PDFPrint.print(String fileName,
PrintSettings printSettings,
IPassword password)
Convenience method to print a PDF document from a file. |
static void |
PDFPrint.print(String fileName,
String printerName,
PrintSettings printSettings,
IPassword password)
Convenience method to print a PDF document from a file to a named printer. |
| Constructors in com.qoppa.pdfPrint that throw PDFException | |
PDFPrint(String fileName,
IPassword password)
Loads a PDF document from a file. |
|
PDFPrint(InputStream inStream,
IPassword password)
Loads a PDF document from an InputStream. |
|
PDFPrint(URL url,
IPassword password)
Loads a PDF document from a URL. |
|
| Uses of PDFException in com.qoppa.pdfProcess |
| Methods in com.qoppa.pdfProcess that throw PDFException | |
void |
PDFPage.addAnnotation(Annotation annot)
Adds a new annotation to this page. |
void |
PDFPage.addJPEGImage(File jpegFile,
int x,
int y,
AffineTransform xform)
Adds a JPEG image onto this page. |
SignatureField |
PDFPage.addSignatureField(String fieldName,
Rectangle2D bounds)
Adds a signature field to this page. |
void |
PDFPage.appendPageContent(PDFPage srcPage,
double x,
double y,
double scaleX,
double scaleY)
Deprecated. Replaced with PDFPage.appendPageContent(PDFPage, double, double, double, double, Layer) |
void |
PDFPage.appendPageContent(PDFPage srcPage,
double x,
double y,
double scaleX,
double scaleY,
Layer layer)
Adds the content of another page to this page. |
Annotation |
PDFPage.copyAnnotation(Annotation annot)
Use this method to copy a single annotation onto this page, from this or other documents. |
void |
PDFPage.copyAnnotations(PDFPage page)
Use this method to copy annotations onto this page, from this or other documents. |
Graphics2D |
PDFPage.createGraphics()
Creates a Graphics2D object to draw into this page. |
Graphics2D |
PDFPage.createGraphics(Layer layer)
Creates a graphics object that encapsulates a layer in a PDF document. |
void |
PDFPage.deleteAnnotations()
Delete all annotations from the page. |
void |
PDFPage.drawImage(Image image,
int dstX,
int dstY,
Color bgndColor,
AffineTransform xform,
ImageParam params)
Draws an image onto this page. |
void |
PDFPage.drawImage(Image image,
int dstX,
int dstY,
int dstWidth,
int dstHeight,
Color bgndColor,
AffineTransform xform,
ImageParam params)
Draws an image onto this page. |
void |
PDFPage.drawImage(Image image,
int dstX,
int dstY,
int dstWidth,
int dstHeight,
Color bgndColor,
AffineTransform xform,
ImageParam params,
Float alpha)
Draws an image onto this page. |
void |
PDFPage.drawText(String str,
Font font,
Paint textPaint,
double x,
double y,
AffineTransform xform)
Draws text onto this page. |
Vector |
PDFPage.findText(String searchText,
boolean caseSensitive,
boolean wholeWords)
Searches the page for text and returns a list of TextPosition objects for each of the occurrences of the string in the page. |
void |
PDFPage.flattenAnnotation(Annotation annot)
Flatten the given annotation. |
void |
PDFPage.flattenAnnotations(boolean paintNonPrintableAnnots)
Flattens the annotations. |
void |
PDFPage.flattenWidget(Widget widget)
Flatten a widget into the content layer of the page. |
BufferedImage |
PDFPage.getImage()
Returns a BufferedImage containing a rendering of the page at the default PDF resolution: 72 DPI. |
BufferedImage |
PDFPage.getImage(int dpi)
Returns a BufferedImage containing a rendering of the page at the given resolution in DPI. |
BufferedImage |
PDFPage.getSubImage(Rectangle2D pageArea,
int dpi)
Returns an image for part of the page. |
boolean |
PDFPage.isEmpty()
Check whether the page is empty. |
void |
PDFPage.prependPageContent(PDFPage srcPage,
double x,
double y,
double scaleX,
double scaleY)
Deprecated. Replaced with PDFPage.prependPageContent(PDFPage, double, double, double, double, Layer) |
void |
PDFPage.prependPageContent(PDFPage srcPage,
double x,
double y,
double scaleX,
double scaleY,
Layer layer)
Prepend the contents of another page to this page. |
void |
PDFPage.removeAnnotation(Annotation annot)
Removes an annotation from this page. |
void |
PDFPage.savePageAsGIF(OutputStream outStream,
int dpi)
Render the page as an image and save it to the output stream in PNG format. |
void |
PDFPage.savePageAsJPEG(OutputStream outStream,
int dpi,
float quality)
Render the page as an image and save it to the output stream in JPEG format. |
void |
PDFPage.savePageAsPNG(OutputStream outStream,
int dpi)
Render the page as an image and save it to the output stream in PNG format. |
void |
PDFPage.savePageAsTIFF(OutputStream outStream,
double resDPI,
String tiffCompression)
Save the rendering image of the page to the given OutputStream in TIFF format. |
void |
PDFPage.savePageAsTIFF(OutputStream outStream,
TIFFOptions options)
Render the page to an image and save it in TIFF format to the given OutputStream. |
void |
PDFPage.setClip(Area newClip)
Sets the clip area in the page's content stream when drawing to the page. |
void |
PDFPage.setCropBox(Rectangle2D rect)
Sets the PDF page's 'CropBox'. |
void |
PDFPage.setPageRotation(int degrees)
Changes this page's rotation. |
String |
PDFPage.useGradientPaint(GradientPaint paint)
|
String |
PDFPage.useGState(double strokeAlpha,
double fillAlpha,
String blendName)
|
void |
PDFGraphics.setBlendMode(String blendMode)
|
static PDFDocument |
PDFDocument.loadRTF(String rtfFile,
PageFormat pf)
Creates a PDFDocument from an RTF file. |
void |
PDFDocument.addAnnotations(Hashtable annotHash)
This method allows multiple annotations to be added to multiple pages. |
boolean |
PDFDocument.addEmbeddedFile(File file)
Embeds a file into this PDF document. |
Layer |
PDFDocument.addLayer(String name,
int initialState)
Creates and returns a PDF layer (Optional Content Group). |
void |
PDFDocument.appendDocument(PDFDocument appendDoc)
Appends a PDF document to this document. |
void |
PDFDocument.appendGIFAsPage(InputStream gifStream,
int dpi)
Creates a new page in the PDF document and adds the GIF image to it. |
void |
PDFDocument.appendGIFAsPage(String gifFileName,
int dpi)
Creates a new page in the PDF document and adds the GIF image to it. |
void |
PDFDocument.appendImage(File imageFile)
This method appends an image (or series of images) to the current document. |
void |
PDFDocument.appendImage(InputStream inStream,
String formatName)
This method appends an image (or series of images) to the current document. |
void |
PDFDocument.appendJPEGAsPage(InputStream inStream)
Creates a new page in the PDF document and adds the JPEG image to it. |
void |
PDFDocument.appendJPEGAsPage(String jpegFileName)
Creates a new page in the PDF document and adds the JPEG file to it. |
void |
PDFDocument.appendJPEGAsPage(String jpegFileName,
int dpi)
Creates a new page in the PDF document and adds the JPEG file to it. |
PDFPage |
PDFDocument.appendNewPage(double pageWidth,
double pageHeight)
Creates and appends a new PDFPage to this document. |
PDFPage |
PDFDocument.appendPage(PDFPage page)
Appends a page to this document. |
void |
PDFDocument.appendPNGAsPage(InputStream inStream)
Creates a new page in the PDF document and adds a PNG image, read from an input stream, to it. |
void |
PDFDocument.appendPNGAsPage(String pngFileName)
Creates a new page in the PDF document and adds the PNG file to it. |
void |
PDFDocument.appendTextAsPages(InputStream textStream,
TextToPDFSettings settings)
Creates new pages in the PDF document and adds the text, read from an input stream, to them. |
void |
PDFDocument.appendTextAsPages(String txtFileName,
TextToPDFSettings settings)
Creates new pages in the PDF document and adds the text from an text file to them. |
void |
PDFDocument.appendTIFFAsPages(InputStream inStream)
Appends the pages in a TIFF image from an input stream to the end of this document. |
void |
PDFDocument.appendTIFFAsPages(String tiffFileName)
Appends the pages in a TIFF file to the end of this document. |
void |
PDFDocument.clearSecurity(String currentPermissionsPwd)
Clears the security for this document. |
Bookmark |
PDFDocument.createRootBookmark()
Creates a new root bookmark and saves it in the document catalog. |
void |
PDFDocument.deleteAnnotations()
Delete all annotations in the document. |
void |
PDFDocument.deletePage(int pageIndex)
Deletes a page from this document. |
Font |
PDFDocument.embedFont(String fileName,
int fontFormat)
Embeds a font in the PDF file. |
void |
PDFDocument.exportAnnotsAsFDF(OutputStream outStream,
String pathToPDFFile)
Export annotations comments to an output stream in FDF format. |
void |
PDFDocument.exportAnnotsAsFDF(String fileName)
Exports annotations comments in FDF format. |
void |
PDFDocument.exportAnnotsAsXFDF(OutputStream outStream,
String pathToPDFFile)
Export annotations comments to an output stream in XFDF format. |
void |
PDFDocument.exportAnnotsAsXFDF(String fileName)
Exports annotations comments in XFDF format. |
void |
PDFDocument.flattenAnnotations(boolean paintNonPrintableAnnots)
Flattens the annotations. |
void |
PDFDocument.flattenFields(boolean paintButtons,
boolean paintNonPrintableFields)
Flattens the pdf form fields. |
String |
PDFDocument.getText()
Returns the text in the pdf document as a String. |
String |
PDFDocument.getText(int pageIndex)
Returns text contained in the specified page of the pdf document as a String. |
Vector |
PDFDocument.getWords()
Returns all words in the pdf document as a Vector of Strings. |
Vector |
PDFDocument.getWords(int pageIndex)
Returns all words contained in the specified page of the pdf document as a Vector of Strings. |
void |
PDFDocument.importAnnotsFDF(InputStream inStream)
Import annotations comments from an input stream in FDF format. |
void |
PDFDocument.importAnnotsFDF(String fileName)
Import annotations comments from a file in FDF Format. |
void |
PDFDocument.importAnnotsXFDF(InputStream inStream)
Import AcroForm field data from an input stream in XML format. |
void |
PDFDocument.importAnnotsXFDF(String fileName)
Import Acroform fields data from a file in XML Format. |
PDFPage |
PDFDocument.insertNewPage(double pageWidth,
double pageHeight,
int index)
Creates a new PDFPage and inserts it into the document at the given position. |
PDFPage |
PDFDocument.insertPage(PDFPage page,
int index)
Inserts a page into this document at the given index. |
boolean |
PDFDocument.isPortfolio()
Returns a flag indicating whether this document is a PDF Portfolio. |
void |
PDFDocument.movePage(int currentIndex,
int newIndex)
moves an existing page to a new location. |
PreflightResults |
PDFDocument.preflightDocument(VerificationProfile profile)
This method runs this document through a preflight profile and returns the results. |
PreflightResults |
PDFDocument.preflightDocument(VerificationProfile profile,
PreflightProgress progress)
This method runs this document through a preflight profile and returns the results. |
PreflightResults |
PDFDocument.preflightDocument(ConversionProfile profile,
PreflightProgress progress,
OutputStream outStream)
This method runs this document through a preflight profile and returns the results. |
PreflightResults |
PDFDocument.preflightDocument(Profile profile,
PreflightProgress progress)
This method runs this document through a preflight profile and returns the results. |
PreflightResults |
PDFDocument.preflightDocument(Profile profile)
This method runs this document through a preflight profile and returns the results. |
boolean |
PDFDocument.removeEmbeddedFile(IEmbeddedFile ef)
Remove a file embedded in this document. |
void |
PDFDocument.saveDocument(OutputStream outStream)
Saves this document to an output stream. |
void |
PDFDocument.saveDocument(String fileName)
Saves this document to a file. |
void |
PDFDocument.saveDocumentAsTIFF(OutputStream outStream,
double resDPI,
String tiffCompression)
Save the entire document as a multi-page TIFF image to the given OutputStream. |
void |
PDFDocument.saveDocumentAsTIFF(OutputStream outStream,
TIFFOptions options)
Save the entire document as a multi-page TIFF image to an OutputStream. |
void |
PDFDocument.setDocumentInfo(DocumentInfo newInfo)
Deprecated. The DocumentInfo object returned by getDocumentInfo() is now a mutable object, so any changes to the object using any of its set methods will be saved with the document. Calls to this method will have no effect. |
void |
PDFDocument.setInitialPage(int pageNumber)
Sets the initial page to display. |
void |
PDFDocument.setMagnification(String magnification)
Sets the magnification at which to display the initial view. |
void |
PDFDocument.setPageLayout(String pageLayout)
Changes the value of the page layout key for this document. |
void |
PDFDocument.setPageMode(String pageMode)
Changes the value of the page mode viewer preference in the document. |
void |
PDFDocument.setSecurity(String newPermissionsPwd,
String newOpenPwd,
PDFPermissions permissions,
String currentPermissionsPwd,
int encryptType)
Sets the security for this document. |
void |
PDFDocument.signDocument(SignatureField signField,
SigningInformation signingInfo)
Signs this document using the given signature field. |
boolean |
PDFDocument.usePermissionsPassword(String password)
Tells the PDFDocument object that the permissions password is known, so all permissions are granted. |
void |
PDFDocument.saveDocumentLinearized(OutputStream outputStream)
|
| Constructors in com.qoppa.pdfProcess that throw PDFException | |
PDFDocument()
Creates a blank PDF document. |
|
PDFDocument(InputStream inStream,
IPassword password)
Creates a PDFDocument object from a PDF InputStream. |
|
PDFDocument(PDFSource source,
IPassword password)
Create a PDFDocument object using a PDFSource interface. |
|
PDFDocument(String fileName,
IPassword password)
Loads a PDF document from a file. |
|
PDFDocument(URL url,
IPassword password)
Loads a PDF document from a URL. |
|
| Uses of PDFException in com.qoppa.pdfSecure |
| Methods in com.qoppa.pdfSecure that throw PDFException | |
void |
PDFSecure.setSecurity(String newPermPwd,
String newOpenPwd,
PDFPermissions permissions,
String currentPermPwd,
int encryptType)
Sets the security for this document. |
void |
PDFSecure.saveDocument(String fileName)
Saves this document to a file. |
void |
PDFSecure.saveDocument(OutputStream outStream)
Saves this document to an output stream. |
void |
PDFSecure.clearSecurity(String currentPermissionsPwd)
Clears the security for this document. |
void |
PDFSecure.signDocument(SignatureField signField,
SigningInformation signingInfo)
Signs this document using the given signature field. |
SignatureField |
PDFSecure.addSignatureField(int pageIndex,
String fieldName,
Rectangle2D bounds)
Adds a signature field to a page in the document. |
| Constructors in com.qoppa.pdfSecure that throw PDFException | |
PDFSecure(String fileName,
IPassword password)
Loads a PDF document from a file. |
|
PDFSecure(InputStream inStream,
IPassword password)
Loads a PDF document from an InputStream. |
|
PDFSecure(URL url,
IPassword password)
Loads a PDF document from a URL. |
|
| Uses of PDFException in com.qoppa.pdfText |
| Methods in com.qoppa.pdfText that throw PDFException | |
static DocumentInfo |
PDFText.getDocumentInfo(InputStream inStream,
IPassword password)
Returns a DocumentInfo object containing the information section of a PDF document (author, title, etc.) |
String |
PDFText.getText()
Returns the text in the pdf document as a String. |
String |
PDFText.getText(int pageIndex)
Returns text contained in the specified page of the pdf document as a String. |
Vector |
PDFText.getWords()
Returns all words in the pdf document as a Vector of Strings. |
Vector |
PDFText.getWords(int pageIndex)
Returns all words contained in the specified page of the pdf document as a Vector of Strings. |
Vector |
PDFText.getLinesWithPositions(int pageIndex)
Returns position information for all the lines of text in the specified page of the PDF document. |
Vector |
PDFText.getWordsWithPositions(int pageIndex)
Returns position information for all the words in the specified page of the PDF document. |
Vector |
PDFText.findText(int pageIndex,
String searchText,
boolean caseSensitive,
boolean wholeWords)
Searches a page for text and returns a list of TextPosition objects for each of the occurrences of the string in the page. |
void |
PDFText.usePermissionsPassword(String password)
Tells the PDFText object that the permissions password is known, so all permissions are granted. |
| Constructors in com.qoppa.pdfText that throw PDFException | |
PDFText(InputStream inStream,
IPassword password)
Creates a PDFText object from a PDF InputStream. |
|
PDFText(String fileName,
IPassword password)
Loads a PDFText object from a file. |
|
PDFText(URL url,
IPassword password)
Loads a PDFText object from a URL. |
|
| Uses of PDFException in com.qoppa.pdfViewer.actions |
| Methods in com.qoppa.pdfViewer.actions that throw PDFException | |
String |
JSAction.getJavascript()
|
| Uses of PDFException in com.qoppa.preflight.results |
| Methods in com.qoppa.preflight.results that throw PDFException | |
void |
PreflightResults.addResultAnnotations()
Adds the ResultRecords as Annotations to the document that was preflighted. |
void |
PreflightResults.appendPreflightReport(Dimension pageSize)
Appends the Preflight report to the document that was preflighted. |
void |
PreflightResults.savePreflightReport(OutputStream outStream,
Dimension pageSize)
Saves a Preflight report as a PDF document to the OutputStream. |
void |
PreflightResults.savePreflightReport(String fileName,
Dimension pageSize)
Saves this document to a file. |
|
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||