Uses of Class
com.crionics.jpdf.PdfException

Packages that use PdfException
com.crionics.jpdf jPDF Core package, contains all main classes. 
com.crionics.jpdf.action Contains the implementation classes to define PDF Actions. 
com.crionics.jpdf.annotation Contains the implementation classes to define PDF #Annotations. 
com.crionics.jpdf.creator Contains all the classes to generate PDF using Java2D 
com.crionics.jpdf.destination Contains the objects used to specify a specific page and its viewing configuration within in a PDF document. 
com.crionics.jpdf.encryption Contains the classes to manipulate PDF Permissions and Credentials 
com.crionics.jpdf.forms Contains the implementation of the tools allowing the manipulation of Form Fields. 
com.crionics.jpdf.graphic This package holds a set of classes related to graphic loading and manipulation. 
com.crionics.jpdf.outline Contains the implementation of the tools allowing the manipulation of outline (bookmarks). 
com.crionics.jpdf.viewer Contains GUI elements to integrate pdf rendering technologies in applications. 
 

Uses of PdfException in com.crionics.jpdf
 

Subclasses of PdfException in com.crionics.jpdf
 class PdfAuthException
          Exception raised when the document authentication privileges are not granted.
 class PdfEntityNotFoundException
          Exception raised when a field, an image or any other pdf entity is not found
 class PdfFileFormatException
          This exception is raised when jPDF cannot recognise the PDF file format
 

Methods in com.crionics.jpdf that throw PdfException
 void PdfDocument.addOpenAction(AbstractAction action)
          Sets the action to perform when the document is opened.
 void MergerModule.append(java.io.File fileToAppend)
          Append the current document with the specified file.
 void MergerModule.append(java.io.File[] fileToAppend)
          Append the current document with the specified files.
 void MergerModule.append(java.io.File[] fileToAppend, java.io.File fileDestination)
          Append the current document with the specified files and save the result in a new file.
 void MergerModule.append(java.io.File[] fileToAppend, java.io.File fileDestination, int idxPageOfInsertion)
          Append the current document with the specified files at the specified page position and save the result in a new file.
 void MergerModule.append(java.io.File[] fileToAppend, int idxPageOfInsertion)
          Append the current document with the specified files at the specified page position.
 void MergerModule.append(java.io.File fileToAppend, java.io.File fileDestination)
          Append the current document with the specified file and save the result in a new file.
 void MergerModule.append(java.io.File fileToAppend, java.io.File fileDestination, int idxPageOfInsertion)
          Append the current document with the specified file at the specified page position and save the result in a new file.
 void MergerModule.append(java.io.File fileToAppend, int idxPageOfInsertion)
          Append the current document with the specified file at the specified page position.
 void MergerModule.append(PdfDocument docToAppend)
          Append the current document with the specified document.
 void MergerModule.append(PdfDocument[] docToAppend)
          Append the current document with the specified documents.
 void MergerModule.append(PdfDocument[] docToAppend, java.io.File destination)
          Append the current document with the specified documents and save the result in a new file.
 void MergerModule.append(PdfDocument[] docToAppend, java.io.File destination, int idxPageOfInsertion)
          Append the current document with the specified documents at the specified page position and save the result in a new file.
 void MergerModule.append(PdfDocument[] docToAppend, int idxPageOfInsertion)
          Append the current document with the specified documents at the specified page position.
 void MergerModule.append(PdfDocument docToAppend, java.io.File destination)
          Append the current document with the specified document and save the result in a new file.
 void MergerModule.append(PdfDocument docToAppend, java.io.File destination, int idxPageOfInsertion)
          Append the current document with the specified document at the specified page position and save the result in a new file.
 void MergerModule.append(PdfDocument docToAppend, int idxPageOfInsertion)
          Append the current document with the specified document at the specified page position.
 void MergerModule.append(java.lang.String fileToAppend)
          Append the current document with the specified file.
 void MergerModule.append(java.lang.String fileToAppend, int idxPageOfInsertion)
          Append the current document with the specified file at the specified page position.
 void MergerModule.appendPage(PdfDocument docToAppend, int[] indexPageToAppend, int[] indexPageDestination)
          Add a the specified pages of a document at the specified positions in the current position.
 void MergerModule.appendPage(PdfDocument docToAppend, int indexPageToAppend, int indexPageDestination)
          Add a the specified page of a document at the specified position in the current position.
 void PdfDocument.clearOpenAction()
          Clears the list of actions to perform when the document is opened
 boolean TemplateModule.containsField(java.lang.String fieldName)
          Search for the existence of a field with the specified name
 boolean SignerModule.containsSignature(java.lang.String fieldName)
          Search for the existence of a field with the specified name
 java.awt.image.BufferedImage PrinterModule.convertToImage(int pgIdx)
          Converts a given page index to a graphical representation
 java.awt.image.BufferedImage PrinterModule.convertToImage(int pgIdx, int dpi)
          Converts a given page index to a graphical representation
 void TemplateModule.createImage(int pageIndex, AbstractImage image, java.awt.geom.AffineTransform op)
          Draws the given image on page pageIndex.
 Outline CreatorModule.createOutline()
          Creates a new outline Object in the document, where you will be able to add your the different Items.
 void TemplateModule.deleteField(java.lang.String fieldName)
          Deletes all references to the field from the document
 java.lang.String TemplateModule.extractStrings()
          Extract the strings present in all the pages and provides a raw PDF->ascii convertion mechanisum.
 java.lang.String TemplateModule.extractStrings(int pageIndex)
          Extract the strings present in a specific page and provides a raw PDF->ascii convertion mechanisum.
 boolean TemplateModule.flattenField(java.lang.String fieldName)
           
 java.lang.String PdfDocumentDescription.getAuthor()
          Returns the author of the document.
 AbstractAction PdfDocument.getBeforeClosingDocumentActions()
          Returns the actions performed when the document is closed
 java.util.Calendar PdfDocumentDescription.getCreationDate()
          Returns the creation date of the document.
 java.lang.String PdfDocumentDescription.getCreator()
          Returns the creator of the document.
 int PdfDocumentSecurity.getEncryptionKeyLength()
          Returns the key length used by the encryption.
 int PdfDocumentSecurity.getEncryptionType()
          Returns the encryption type used to cipher the document
 AbstractField TemplateModule.getField(java.lang.String fieldName)
          Retrieve a "supported" FormField from the current PDF document by its name
 java.util.List TemplateModule.getFieldList()
          Retrieve all the "supported" FormFields from the current PDF document.
 PdfGraphic TemplateModule.getGraphic(java.lang.String name)
          Retrieves a Graphical Object via its name from the document.
 java.util.List TemplateModule.getGraphicList()
          Retrieves the list of Graphical Objects present in the document.
 java.lang.String PdfDocumentDescription.getKeywords()
          Returns the keywords of the document.
 java.util.Calendar PdfDocumentDescription.getLastModifiedDate()
          Returns the last modified date of the document.
 LayerProperty CreatorModule.getLayerProperty(java.lang.String layerName)
          Returns the properties associated with the given layer name
 AbstractDestinationPage CreatorModule.getNamedDestination(java.lang.String name)
          This method gets a named destination from the document. one typical use of named destinations is to open a document on a given page.
 java.util.List CreatorModule.getNamedDestinations()
          This method returns the list of destinations defined in the document.
 AbstractAction PdfDocument.getOnBeforeDocumentOpenAction()
          Returns the actions performed when the document is opened
 Outline TemplateModule.getOutline()
          Recovers the Outline present in the current document if presents.
 Outline CreatorModule.getOutline()
          Recovers the Outline present in the current document if presents.
 Page CreatorModule.getPage(int i)
          Gets the page at index i
 java.awt.print.PageFormat PdfDocumentDescription.getPageFormat(int pageIndex)
          Returns the PageFormat of the specified page
 float PdfDocumentDescription.getPdfVersion()
          return the PDF version used by this document.
 Permissions PdfDocumentSecurity.getPermissions()
          Returns the access permissions associated with the document.
 java.lang.String PdfDocumentDescription.getProducer()
          Returns the producer of the document.
 int PdfDocumentSecurity.getSecurityType()
          Returns the security type used to authenticate credentials
 SignatureField SignerModule.getSignature(java.lang.String SignatureName)
          Retrieves the signature with the given name
 java.util.List SignerModule.getSignatureList()
          Retrieve all the signatures in the PDF document.
 int PdfDocumentDescription.getSize()
          Returns the size of the document in bytes (updates unsaved included).
 java.lang.String PdfDocumentDescription.getSubject()
          Returns the subject of the document.
 java.lang.String PdfDocumentDescription.getTitle()
          Returns the title of the document.
 boolean TemplateModule.hasFields()
          Return true if the document contains form fields
 boolean SignerModule.hasSignatures()
          Return true if the document contains form fields
 void TemplateModule.hidePage(int pageIdx)
          Hides the page in the document.
 boolean PdfDocumentSecurity.isCiphered()
          Returns the current encryption state of the document.
 java.security.KeyStore SignerModule.loadAKFKeyStore(java.io.InputStream is)
          Opens a KeyStore from the given inputstream, using the password
 java.security.KeyStore SignerModule.loadFDFKeyStore(java.io.InputStream is)
          Opens a KeyStore from the given inputstream, using the password
 java.security.KeyStore SignerModule.loadP7BKeyStore(java.io.InputStream is)
          Opens a KeyStore from the given inputstream, using the password
 void TemplateModule.movePage(int srcPageIdx, int dstPageIdx)
          Moves a page from one index to the other
 void TemplateModule.movePage(int pageIndexStartRange, int pageIndexLastOfRange, int pageIndexOfInsertion)
          Moves a group of page to a new position in the document
 void PrinterModule.print()
          Prints the current document to the default printerjob. the process shows the print preference dialog and prompts for action.
 void PrinterModule.print(java.lang.Object job)
          Prints the current document to the default printerjob. the process is silent and does NOT show the print preference dialog.
 void PrinterModule.print(java.lang.Object job, java.lang.Object printRequestAttributeSet)
          Prints the current document to the given printerjob using attributes. the silentPrinting flag tells if the process shows the print preference dialog.
 void EncryptionModule.processTo(java.io.File file, Preferences prefs)
          WARNING: This method can only be used if you have the Template or the Merger Module Converts the current document using the settings defined in the preferences and saves it to 'file'.
 void EncryptionModule.processTo(java.io.OutputStream os, Preferences prefs)
          WARNING: This method can only be used if you have the Template or the Merger Module Converts the current document using the settings defined in the preferences and saves to the given outputstream.
 void EncryptionModule.processTo(java.lang.String file, Preferences prefs)
          WARNING: This method can only be used if you have the Template or the Merger Module Converts the current document using the settings defined in the preferences and saves it to 'file'.
 void CreatorModule.removeNamedDestination(java.lang.String name)
          This method deletes the given named destination from the document.
 void PdfDocument.save()
          Incrementally updates the document. extremely fast as it only appends the changes.
 void PdfDocument.saveAs(java.io.File fileDest)
          Incrementally saves the document to a new destination.
 void PdfDocument.saveAs(java.lang.String fileDest)
          Incrementally saves the document to a new destination.
 void PdfDocument.saveAsNew(java.io.File fileDest)
          Saves the document as a new document.
 void PdfDocument.saveAsNew(java.lang.String fileDest)
          Saves the document as a new document. optimizes the pdf to remove unused incremental updates (if any).
 void PdfDocument.saveCopy(java.io.File file)
          Saves the current document along all the updates to a new location.
 void PdfDocument.saveCopy(java.io.OutputStream os)
          Saves the current document along all the updates to a new location.
 void PdfDocument.saveCopy(java.lang.String filename)
          Saves the updated document to a new location.
 void PdfDocumentDescription.setAuthor(java.lang.String author)
          Sets the author of the document.
 void Preferences.setBlackAndWhiteImageCompression(int bwAlgorithm)
          Select the compression algorithm for B&W pictures defaults to FORMAT_GZIP
Typical values are:
FORMAT_G3CCITT
FORMAT_G4CCITT
FORMAT_GZIP
FORMAT_JPEG
FORMAT_RAW
FORMAT_UNCHANGED
 void Preferences.setColorAndGrayscaleImageCompression(int colorAlgorithm)
          Select the compression algorithm for color pictures defaults to FORMAT_GZIP
Typical values are:
FORMAT_GZIP
FORMAT_JPEG
FORMAT_RAW
 void Preferences.setDefaultEncryptionKeyLength(int theKeyLength)
          Sets the key length used to cipher the document
 void Preferences.setDefaultEncryptionType(int encryptionType)
          This setting is used at document creation.
 void Preferences.setDefaultPDFFormat(int format)
          Forces the parser to generate documents using the new format introduced with Acrobat 6 (PDF 1.5).
 void Preferences.setDefaultSecurityType(int securityType)
           
 void Preferences.setDefaultSignatureType(int signLevel)
          The parameter controls what kind of PDF signature is built in the document.
 void PdfDocumentDescription.setKeywords(java.lang.String keywords)
          Sets the keywords for the document.
 void CreatorModule.setNamedDestination(java.lang.String name, AbstractDestinationPage destination)
          This method sets a named destination in the document. one typical use of named destinations is to open a document on a given page.
 void PdfDocumentDescription.setPdfVersion(float version)
          Sets the document version.
 void PdfDocumentDescription.setSubject(java.lang.String subject)
          Sets the subject of the document.
 void PdfDocumentDescription.setTitle(java.lang.String title)
          Sets the title of the document.
 void MergerModule.splitPages(java.io.File destination, int[] indexPages)
          Create a new document composed of the specified pages from the current document.
 void MergerModule.splitPages(java.io.File destination, java.util.List indexPages)
          Deprecated. Use the method MergerModule.splitPages(File, int[])
 PdfDocument MergerModule.splitPages(int[] indexPages)
          Creates a new document in Memory composed of the selected pages from the current document.
 

Constructors in com.crionics.jpdf that throw PdfException
PdfDocument()
          Creates a new PdfDocument in memory.
PdfDocument(byte[] buffer)
          Opens a the given document from a memory array
Note: When using this constructor the whole document will be held in memory.
PdfDocument(byte[] buffer, ICredentials credentials)
           
PdfDocument(byte[] buffer, Preferences prefs)
          Opens a the given document from a memory array
Note: When using this constructor the whole document will be held in memory.
PdfDocument(ByteReader reader)
          Opens the given PDF document.
PdfDocument(ByteReader reader, ICredentials credentials)
          Opens the document from the specified reader using the given reader and credentials.
PdfDocument(ByteReader reader, Preferences prefs)
          PdfDocument constructor. which takes a ByteReader and the default pdf preferences to use during the generation.
PdfDocument(java.io.File file)
          Opens the given PDF document.
PdfDocument(java.io.File file, ICredentials credentials)
           
PdfDocument(java.io.File file, Preferences prefs)
          Opens the given file using the given generation preferences.
PdfDocument(Preferences preferences)
          Creates a new PdfDocument object using the given PDF generation preferences.
PdfDocument(java.lang.String filename)
          PdfDocument constructor which takes a pdf filename as an argument.
PdfDocument(java.lang.String filename, ICredentials credentials)
          Opens the given document uctor which takes a ByteReader and the User or Owner password as arguments.
PdfDocument(java.lang.String filename, Preferences prefs)
          PdfDocument constructor which takes a pdf filename and the User or Owner password as arguments.
 

Uses of PdfException in com.crionics.jpdf.action
 

Methods in com.crionics.jpdf.action that throw PdfException
static URIAction URIAction.createInstance(PdfDocument doc)
          Allows the creation of a new Action into the Specified document.
static SubmitFormAction SubmitFormAction.createInstance(PdfDocument doc)
          Allows the creation of a new Action into the Specified document.
static ResetFormAction ResetFormAction.createInstance(PdfDocument doc)
          Allows the creation of a new Action into the Specified document.
static NamedAction NamedAction.createInstance(PdfDocument doc)
          Allows the creation of a new Action into the Specified document.
static LaunchAction LaunchAction.createInstance(PdfDocument doc)
          Allows the creation of a new Action into the Specified document.
static JavaScriptAction JavaScriptAction.createInstance(PdfDocument doc)
          Allows the creation of a new Action into the Specified document.
static HideAction HideAction.createInstance(PdfDocument doc)
          Allows the creation of a new Action into the Specified document.
static GotoAction GotoAction.createInstance(PdfDocument doc)
          Allows the creation of a new Action into the Specified document.
 LocalPageDestination GotoAction.getDestination()
          Returns the destination currently registered with this action.
 AbstractField[] SubmitFormAction.getFields()
          Recovers the Form Fields which will be submitted or not depending on the attribute SubmitFormAction.ATT_EXCLUDE.
 AbstractField[] ResetFormAction.getFields()
          Recovers the Form Fields which will be affected or not (see ResetFormAction.isExcluding()) by this action.
 java.lang.String LaunchAction.getFilename()
          Returns the application to be launched or the document to be opened or printed.
 java.lang.String JavaScriptAction.getJavaScript()
          Returns the JavaScript code present in this action.
 java.lang.String NamedAction.getName()
          Recovers the Action defined within this object.
 AbstractAction AbstractAction.getNextAction()
          Returns the next action which will be executed after the current one.
 java.util.List HideAction.getObjects()
          Recovers the Annotations and Form Fields which are affected by this action.
 java.net.URL URIAction.getURL()
          Returns the URL to be resolved.
 java.net.URL SubmitFormAction.getURL()
          Returns the URL which will be used to submit the data.
 java.lang.String LaunchAction.getWinAttributes(int attribute)
          Allows to recover Windows specific launch attributes (one of the ATT_... ).
 boolean SubmitFormAction.isAttributeSet(int attributeID)
          Returns the current setting (set or not) of the specified attribute.
 boolean LaunchAction.isDisplayedInNewWindow()
          Determines if the related PDF document should be opened in a new window or not.
 boolean ResetFormAction.isExcluding()
          Determines if the Form Fields references in this action will be affected by this action or not.
 boolean HideAction.isHiding()
          Query the hiding status of this action.
 boolean URIAction.isMap()
          Determines if the map flag is set or not.
 void SubmitFormAction.setAttribute(int attributeID, boolean flag)
          Sets/Clears the specified attribute.
 void GotoAction.setDestination(LocalPageDestination destination)
          Sets the destination currently to be registered with this action.
 void LaunchAction.setDisplayedInNewWindow(boolean flag)
          Allows to specify of the related PDF document should be opened in a new window or not.
 void ResetFormAction.setExcluding(boolean flag)
          Sets the status of the Form Fields references in this action.
 void SubmitFormAction.setFields(AbstractField[] fields)
          Sets the Form Fields which will be submitted or not depending on the attribute SubmitFormAction.ATT_EXCLUDE.
 void ResetFormAction.setFields(AbstractField[] fields)
          Sets the Form Fields which will be affected or not (see ResetFormAction.isExcluding()and ResetFormAction.setExcluding(boolean)) by this action.
 void SubmitFormAction.setFields(java.lang.String[] fieldNames)
          Sets the Form Fields which will be submitted or not depending on the attribute SubmitFormAction.ATT_EXCLUDE.
 void ResetFormAction.setFields(java.lang.String[] fieldNames)
          Sets the Form Fields which will be affected or not (see ResetFormAction.isExcluding()and ResetFormAction.setExcluding(boolean)) by this action.
 void LaunchAction.setFilename(java.lang.String filename)
          Sets the application to be launched or the document to be opened or printed.
 void HideAction.setHiding(boolean flag)
          Sets the hiding flag of the Action.
 void JavaScriptAction.setJavaScript(java.lang.String code)
          Sets the JavaScript code which will be processed when this action is evaluated.
 void URIAction.setMap(boolean flag)
          Sets a flag specifying whether to track the mouse position when the URL is resolved.
 void NamedAction.setName(java.lang.String name)
          Sets the Action to be realised by this object.
 void AbstractAction.setNextAction(AbstractAction action)
          Sets the next action to execute after the current one.
 void HideAction.setObjects(java.util.List list)
          Sets the the Annotations and Form Fields to be affected by this Action.
 void URIAction.setURL(java.net.URL url)
          Sets the URL to be resolved.
 void SubmitFormAction.setURL(java.net.URL url)
          Sets the URL which will be used to submit the data.
 void LaunchAction.setWinAttributes(int attribute, java.lang.String value)
          Allows to Sets Windows specific launch attributes (one of the ATT_... ).
 

Uses of PdfException in com.crionics.jpdf.annotation
 

Methods in com.crionics.jpdf.annotation that throw PdfException
static LinkAnnotation LinkAnnotation.createInstance(PdfDocument doc)
          Allows the creation of a new Link Annotation into the Specified document.
 AbstractAction LinkAnnotation.getAction()
          Returns the Action associated with this link annotation.
 LocalPageDestination LinkAnnotation.getDestination()
          Returns the destination currently registered with this Link Annotation.
 int LinkAnnotation.getHighlightMode()
          Returns the current visual effect to be used by a PDF Viewer application when the mouse button is pressed or held down inside the active area of the Link Annotation.
 void LinkAnnotation.setAction(AbstractAction action)
          Sets the Action to be associated with this link annotation.
 void LinkAnnotation.setDestination(LocalPageDestination destination)
          Sets the destination currently to be registered with this action.
 void LinkAnnotation.setHighlightMode(int mode)
          Sets the visual effect to be used by a PDF Viewer application when the mouse button is pressed or held down inside the active area of the Link Annotation.
 

Uses of PdfException in com.crionics.jpdf.creator
 

Methods in com.crionics.jpdf.creator that throw PdfException
static Page Page.createInstance(PdfDocument doc)
          Allows the creation of a new Page into the Specified document.
static Page Page.createInstance(PdfDocument doc, int pageIndex)
          Allows the creation of a new Page into the Specified document at the requested position.
static Page Page.createInstance(PdfDocument doc, java.awt.print.PageFormat pageFormat)
          Allows the creation of a new Page into the Specified document.
static Page Page.createInstance(PdfDocument doc, java.awt.print.PageFormat pageFormat, int pageIndex)
          Allows the creation of a new Page into the Specified document.
abstract  void JPdfGraphics2D.drawLinkArea(java.awt.geom.Rectangle2D rect, AbstractAction action)
           
 java.awt.geom.Rectangle2D Page.getBox(int type)
          Recovers the dimensions of the specified Box.
 JPdfGraphics2D Page.getGraphics()
          Returns the JPdfGraphics2D object: kind of a pencil to write on the page
 java.lang.String LayerProperty.getName()
          Returns the layer name, changing the layer name is a complex operation which is not supported at this time.
 java.awt.print.PageFormat Page.getPageFormat()
          Returns the page format.
 boolean Page.hasBox(int type)
          Determines if the specified Box has been defined for the current page.
 void JPdfScreenshotPrinter.printComponent(java.awt.Component theComponent)
          A handy method to easily print a Component
 void JPdfScreenshotPrinter.printComponents(java.awt.Component[] theComponent)
           
abstract  void JPdfGraphics2D.setLayer(java.lang.String layerName)
          PDF 1.5+ has the ability to display contents on layers.
 void LayerProperty.setVisibleForExporting(boolean visible)
           
 void LayerProperty.setVisibleForPrinting(boolean visible)
           
 void LayerProperty.setVisibleForViewing(boolean visible)
           
 boolean Page.useColor(ColorSearchPreferences prefs, java.util.List colorsFound, boolean exitOnDiscovery)
          Determines if the page contains some colored elements.
 

Uses of PdfException in com.crionics.jpdf.destination
 

Methods in com.crionics.jpdf.destination that throw PdfException
static RemotePageDestination RemotePageDestination.createInstance(PdfDocument doc)
          Allows the creation of a new Destination Object.
static LocalPageDestination LocalPageDestination.createInstance(PdfDocument doc)
          Allows the creation of a new Destination Object.
 int RemotePageDestination.getPageIndex()
          Returns the index of the Page defined into the external PDF document.
 int LocalPageDestination.getPageIndex()
          Returns the index of the Page defined into the document containing this Destination object.
 AbstractZoom LocalPageDestination.getZoom()
          Returns the zoom configuration defined into this Destination object.
 AbstractZoom RemotePageDestination.getZoom(java.awt.print.PageFormat pageformat)
          Returns the zoom configuration defined into this Destination object.
 void RemotePageDestination.setPageIndex(int index)
          Sets the index of the page present in the external PDF document, to which this destination object should be referring to.
 void LocalPageDestination.setPageIndex(int index)
          Sets the index of the [age present in the document, to which this destination object should be referring to.
 void LocalPageDestination.setZoom(AbstractZoom zoom)
          Sets the zoom configuration for this destination object.
 void RemotePageDestination.setZoom(AbstractZoom zoom, java.awt.print.PageFormat pageformat)
          Sets the zoom configuration for this destination object.
 

Uses of PdfException in com.crionics.jpdf.encryption
 

Constructors in com.crionics.jpdf.encryption that throw PdfException
CertificateCredentials(java.security.PrivateKey privateKey, java.security.cert.Certificate certificate)
          Please provide the following information to open a docuemnt protected with certificate security. 1. your X509 Certificate 2. the match private key
CertificateCredentialsCreation(java.security.PrivateKey authorPrivateKey, java.security.cert.Certificate certificate)
          Creates a new CertificateCredentialsCreation for the given author.
PasswordCredentials(java.lang.String password)
           
PasswordCredentialsCreation(java.lang.String authorPassword, java.lang.String userPassword, Permissions userPermissions)
           
 

Uses of PdfException in com.crionics.jpdf.forms
 

Methods in com.crionics.jpdf.forms that throw PdfException
 void SignatureField.addDuplicatedAppearance(int pageindex, java.awt.Point position)
          This method can be used to duplicate the Visual appearance of the signature on any pages of the current Document Instance.
static void ImageField.createInstance(PdfDocument doc, int pageIndex, AbstractImage image, java.awt.geom.AffineTransform op)
          Creates an image at position x,y on given page
static void ImageField.createInstance(PdfDocument doc, int pageIndex, AbstractImage image, int x, int y)
          Creates an image at position x,y on given page
static SignatureField SignatureField.createInstance(PdfDocument doc, java.lang.String name)
          Create a Invisible Signature in the specified document.
static TextField TextField.createInstance(PdfDocument doc, java.lang.String name, int pageIndex, java.awt.Rectangle rect)
           
static SignatureField SignatureField.createInstance(PdfDocument doc, java.lang.String name, int pageIndex, java.awt.Rectangle rect)
          Create a Blank Signature in the specified document.
static RadioButtonField RadioButtonField.createInstance(PdfDocument doc, java.lang.String name, int pageIndex, java.awt.Rectangle rect)
           
static ListBoxField ListBoxField.createInstance(PdfDocument doc, java.lang.String name, int pageIndex, java.awt.Rectangle rect)
           
static ComboBoxField ComboBoxField.createInstance(PdfDocument doc, java.lang.String name, int pageIndex, java.awt.Rectangle rect)
           
static CheckBoxField CheckBoxField.createInstance(PdfDocument doc, java.lang.String name, int pageIndex, java.awt.Rectangle rect)
           
static ButtonField ButtonField.createInstance(PdfDocument doc, java.lang.String name, int pageIndex, java.awt.Rectangle rect)
           
 java.lang.String ButtonField.getActivatedCaption()
          Returns the text string which will be visible on the button when is it activated and its highlight mode is set to ButtonField.HIGHLIGHT_PUSH.
 int AbstractField.getAssociatedPageIndex()
          Recovers the page Index where the Form Fields is present.
 java.util.ArrayList AbstractButtonField.getAvailableValues()
          Recovers the different possible values associated with this Field.
 java.awt.Color AbstractField.getBorderColor()
          gets the border color
 int AbstractField.getBorderStyle()
          returns the border style
 int AbstractField.getBorderWidth()
          Returns the border width
 java.security.cert.X509Certificate[] SignatureField.getCertificateChain()
          Returns the certificate chain.
 java.lang.String SignatureField.getContactInfo()
          Returns the signer's contact information, empty if not set
 java.lang.String TextField.getDefaultValue()
          Returns the Form Field default value.
 ChoiceEntry[] AbstractChoiceField.getDefaultValue()
          Returns the default value of this Field. listbox can have several entries
 java.lang.String AbstractButtonField.getDefaultValue()
          Returns the Form Field default value.
 byte[] SignatureField.getDigest()
          Returns the signature digest, result of the signature calculation.
 java.awt.Color AbstractField.getFillColor()
          Recovers the background color of a Form Field
 int ButtonField.getHighligthMode()
          Returns the current Highlight mode (one of the ButtonField.HIGHLIGHT_XXX Contants) used by this Form Field for its interaction with a mouse.
 java.io.InputStream SignatureField.getInputStream()
          Returns an inputstrean on the data part of the signature calculation.
 java.lang.String SignatureField.getLocation()
          Returns the signer's location, empty if not set
 int TextField.getMaxChars()
          Returns the maximum number of chars allowed for this field
 AbstractAction ButtonField.getMousePressedAction()
          Returns the action associated to the Form Field when the mouse button is held pressed while above it.
 AbstractAction ButtonField.getMouseReleasedAction()
          Returns the action associated to the Form Field when the mouse button is released while above it.
 java.lang.String AbstractField.getName()
          Returns the Form Field name.
 java.lang.String ButtonField.getNormalCaption()
          Returns the text string which will be visible on the button.
 int AbstractField.getOrientation()
          return the widget orientation in degrees
 java.awt.Rectangle AbstractField.getPosition()
          Recovers the position and size of the Form Field within the page
 ChoiceEntry[] AbstractChoiceField.getPossibleValues()
          Recover the possible values which can be used by this choice. the list is ordered as it shows on the screen.
 java.lang.String SignatureField.getReason()
          Returns the signer's reason to sign the document, empty if not set
 java.lang.String ButtonField.getRolloverCaption()
          Returns the text string which will be visible on the button when the mouse is over it.
 java.lang.String SignatureField.getSignerName()
          Returns the name of the signer, empty if not set
 java.awt.Color AbstractField.getTextColor()
          return the text color
 java.lang.String AbstractField.getTextFont()
          return the name of the font
 int TextField.getTextJustification()
          Returns the text justification, LEFT, CENTERED or RIGHT
 float AbstractField.getTextSize()
          Return the size of the font, 0 means that the text is in autosize mode
 java.lang.String AbstractField.getToolTip()
          return the tooltip for this field
 java.lang.String TextField.getValue()
          Returns the Form Field value.
 ChoiceEntry[] AbstractChoiceField.getValue()
          Returns the Form Field value.
 java.lang.String AbstractButtonField.getValue()
          Returns the Form Field value.
 boolean AbstractButtonField.getValueAsBoolean()
          Returns the state of the field.
 boolean TextField.hasValue()
          return true if the field has a value defined
 boolean SignatureField.isBlank()
          returns true if the signature has never been signed.
 boolean ComboBoxField.isEditable()
           
 boolean AbstractField.isHidden()
          Returns the Form Fields screen visibility flag value.
 boolean AbstractButtonField.isLinked()
          Determines if this Field is part of a group of Fields or not, see AbstractButtonField.getAvailableValues().
 boolean SignatureField.isLocked()
          returns true if the signature is locked and cannot be changed.
 boolean AbstractField.isPrintable()
          Returns the Form Fields printer visibility flag value.
 void ButtonField.setActivatedCaption(java.lang.String str)
          Sets the text string which will be visible on the button when is it activated.
 void AbstractField.setBorderColor(java.awt.Color color)
          sets the border color
 void AbstractField.setBorderStyle(int style)
          sets the border style
 void AbstractField.setBorderWidth(int width)
          sets the border width
 void TextField.setCheckSpelled(boolean checkSpell)
          Sets a flag which tells if the viewer should spell check the field
 void AbstractChoiceField.setDefaultValue(ChoiceEntry entry)
           
 void AbstractChoiceField.setDefaultValue(ChoiceEntry[] entries)
          Sets the default value of this Field.
 void TextField.setDefaultValue(java.lang.String value)
          Sets the Form Field default value.
 void ComboBoxField.setEditable(boolean isEditable)
          sets the field can be edited with custom user values
 void AbstractField.setFillColor(java.awt.Color bgcolor)
          Sets the background color of a Form Field
 void AbstractField.setHidden(boolean flag)
          Allows to hide/show a Form Field on a PDF Viewer.
 void ButtonField.setHighligthMode(int mode)
          Sets the Highlight mode (one of the ButtonField.HIGHLIGHT_XXX Contants) to be used by this Form Field for its interaction with a mouse.
 void TextField.setMaxChars(int max)
          Sets the maximum number of characters allowed for this field
 void ButtonField.setMousePressedAction(AbstractAction action)
          Sets the action to be associated with the Form Field when the mouse button is held pressed while above it.
 void TextField.setMultiline(boolean multiline)
          Set the setting which controls if the field accepts strings that show on more than one line
 void ListBoxField.setMultipleSelection(boolean flag)
          Set/Clear the Multi-Select Flag of this Field, which allows multiple entries to be selected at the same time on a PDF Viewer applications.
 void ButtonField.setNormalCaption(java.lang.String str)
          Sets the text string which will be visible on the button.
 void AbstractField.setOrientation(int orientation)
          sets the widget orientation on teh page (in degrees)
 void TextField.setPassword(boolean password)
          Sets the flag as a password field, clears Value and Default Value when property is set
 void AbstractField.setPosition(java.awt.Rectangle rect)
          Sets the position and size of the Form Field within the page
 void AbstractChoiceField.setPossibleValues(ChoiceEntry[] entries)
          Update the list of Values available for the ListBox.
 void AbstractField.setPrintable(boolean flag)
          Allows to hide/show a Form Field a printed page.
 void AbstractField.setReadOnly(boolean flagReadOnly)
          Sets/Clears the Form Field's ReadOnly flag.
 void SignatureField.setReason(java.lang.String reason)
          As described in the PDF spec,
 void TextField.setRichText(boolean richText)
          Sets if the field accepts rich text input.
 void ButtonField.setRolloverCaption(java.lang.String str)
          Sets thhe text string which will be visible on the button when the mouse is over it.
 void TextField.setScrollLongText(boolean scrollLongText)
          Set the setting which controls if the field to resize the its content to fit the area or the field, or allow the scrolling of its content.
 void SignatureField.setSignatureAppearance(SignatureAppearance app)
          Sets the Object which will be used to construct the visual appearance of the Signature Form Field in the document after being signed.
 void AbstractChoiceField.setSorted(boolean flag)
          Set/Clear the Sorting Flag of this Field.
 void AbstractField.setTextColor(java.awt.Color color)
          Sets the text color
 void AbstractField.setTextFont(java.awt.Font font)
          Sets the text font. for now only the 14 native fonts are supported.
 void AbstractField.setTextFont(java.lang.String font)
           
 void TextField.setTextJustification(int justification)
          Sets the text justification, must be one of the values in ITextJustification
 void AbstractField.setTextSize(float size)
          sets the text size, use 0 for auto-size mode.
 void AbstractField.setToolTip(java.lang.String tip)
          sets the widget tooltip
 void AbstractButtonField.setValue(boolean state)
          Sets the value of the Field.
 void AbstractChoiceField.setValue(ChoiceEntry entry)
           
 void AbstractChoiceField.setValue(ChoiceEntry[] entries)
          Set the current value of this Field.
 void TextField.setValue(java.lang.String value)
          Sets the Form Field value.
 void AbstractButtonField.setValue(java.lang.String value)
          Sets the Form Field value.
 void SignatureField.sign(CustomSigner signer)
          Signs an existing signature field using the given custom signer.
 void SignatureField.sign(java.security.PrivateKey privateKey, java.security.cert.Certificate[] chain)
          Signs an existing signature field using the given private key and certification chain.
 ValidationResults SignatureField.validate()
          Validates the signature using the default validators:
The byterange validity is checked to certify that the signature covers the whole documents (excluding the signature content).
 

Uses of PdfException in com.crionics.jpdf.graphic
 

Methods in com.crionics.jpdf.graphic that throw PdfException
 void PdfGraphic.addAlternateImage(AbstractImage image, boolean useForPrinting)
          Allows the creation of an alternate image for an existing one.
 AbstractImage AbstractImage.convertTo(int imageType)
          Returns a new Image Object based this instance, and of the type requested.
 void AbstractImage.flip(int axis)
          Flips the image using the specified Axis.
 int PdfGraphic.getHeight()
          Returns the height of the graphic in pixels.
 AbstractImage PdfGraphic.getImage()
          Returns the Image Object of the current graphical object.
 int PdfGraphic.getWidth()
          Returns the width of the graphic in pixels.
 void PdfGraphic.setImage(AbstractImage image)
          Updates the current image with the supplied Images Object.
 void PdfGraphic.setImage(java.io.File imageFile)
          Updates the current image, with the supplied Image File.
 void PdfGraphic.setImage(java.awt.Image image)
          Updates the current image with the supplied AWT Image.
 void PdfGraphic.setImage(java.lang.String imageFilename)
          Updates the current image with the supplied Image Filename.
 void ImageJPEG.setQuality(float q)
          Sets the Encoding Quality Factor for the JPEG.
 

Uses of PdfException in com.crionics.jpdf.outline
 

Methods in com.crionics.jpdf.outline that throw PdfException
 void AbstractOutlineItem.addAfter(AbstractOutlineItem prev)
          Sets the current item after the specified one.
 void AbstractOutlineItem.addBelow(AbstractOutlineItem parent)
          Sets the current item below the specified one, thus starting an new Tree Branch.
 void AbstractOutlineItem.addChild(AbstractOutlineItem child)
          Adds the specified item below the current one, thus starting an new Tree Branch.
 void Outline.addItem(AbstractOutlineItem item)
          Adds an Item and all its tree to the current tree present in this outline.
 void AbstractOutlineItem.addNext(AbstractOutlineItem next)
          Add the specified item after the current one.
static OutlineItemDestination OutlineItemDestination.createInstance(PdfDocument doc)
           
static OutlineItemBasic OutlineItemBasic.createInstance(PdfDocument doc)
           
static OutlineItemAction OutlineItemAction.createInstance(PdfDocument doc)
           
 AbstractAction OutlineItemAction.getAction()
          Recovers the Action (or actions if they are chained) associated with this Outline Item.
 AbstractOutlineItem AbstractOutlineItem.getChild()
          Returns the First Child of the tree below this item.
 LocalPageDestination OutlineItemDestination.getDestination()
          Internal method used to determine if a page has been registered with the outline item or not.
 AbstractOutlineItem AbstractOutlineItem.getFirst()
          Returns the First item of the current branch.
 AbstractOutlineItem Outline.getItemFromTitle(java.lang.String title)
          Returns the first Outline item with the requested title
 AbstractOutlineItem AbstractOutlineItem.getLast()
          Returns the Last item of the current branch.
 AbstractOutlineItem AbstractOutlineItem.getNext()
          Returns the Item following this one in the current branch of the tree.
 int AbstractOutlineItem.getPageIndex()
          Returns the index of the page associated with this Item.
 int AbstractOutlineItem.getPageIndex(boolean searchLastIndex)
          Returns the index of the page associated with this Item.
 AbstractOutlineItem AbstractOutlineItem.getParent()
          Returns the Parent Item of this one.
 AbstractOutlineItem AbstractOutlineItem.getPrev()
          Returns the Previous Item to this one.
 AbstractOutlineItem Outline.getRootItem()
          Returns the first Item present in this outline.
 java.lang.String AbstractOutlineItem.getTitle()
          Returns the text to be displayed for this Item in a PDF Viewer.
 void AbstractOutlineItem.removeFromTree(boolean keepChilds)
          This methods allows the removal the current items from the outline tree.
 void OutlineItemAction.setAction(AbstractAction action)
          Sets the Action (or actions if they are chained) to associate with this Outline Item.
 void OutlineItemDestination.setDestination(LocalPageDestination destination)
           
 void AbstractOutlineItem.setTitle(java.lang.String title)
          Sets the text to be displayed for this Item in a PDF Viewer.
 

Uses of PdfException in com.crionics.jpdf.viewer
 

Methods in com.crionics.jpdf.viewer that throw PdfException
 int RendererPanel.getPageCount()
           
 java.awt.print.PageFormat ViewerPanel.getPageFormat(int pageIndex)
           
 java.awt.print.PageFormat IViewer.getPageFormat(int pageIndex)
          Returns the page format in page space.
 int RendererPanel.getPageIndex()
           
 int IViewer.getPageIndex()
          Returns the current displayed page index.
 int ViewerPanel.getPageLayout()
           
 int RendererPanel.getPageLayout()
           
 int IViewer.getPageLayout()
          Returns the current page layout.
 int ViewerPanel.getPageZoom()
           
 int RendererPanel.getPageZoom()
           
 int IViewer.getPageZoom()
          returns the current zoom factor applied to the page. the integer value is a percentage.
 int ViewerPanel.getPageZoomMode()
           
 int RendererPanel.getPageZoomMode()
           
 int IViewer.getPageZoomMode()
          returns the zoom mode, either PAGEZOOM_FITPAGE or PAGEZOOM_FITWIDTH
 void ViewerPanel.printCurrentPage()
           
 void RendererPanel.printCurrentPage()
           
 void IViewer.printCurrentPage()
          Shows a dialog to print the current page.
 void ViewerPanel.setDocument(java.io.File filePath)
           
 void ViewerFrame.setDocument(java.io.File pathToPDF)
          Displays the given document in the rendering panel
 void RendererPanel.setDocument(java.io.File pathToPDF)
           
 void IViewer.setDocument(java.io.File pathToPDF)
          Loads and Displays the given document in the rendering panel.
 void ViewerPanel.setDocument(java.io.File pathToPDF, ICredentials credentials)
           
 void ViewerFrame.setDocument(java.io.File pathToPDF, ICredentials credentials)
          Displays the given document in the rendering panel
 void RendererPanel.setDocument(java.io.File pathToPDF, ICredentials credentials)
          IMPORTANT: the loading is ASYNCHRONOUS, please use the method isDocumentLoaded() to check when to document is completely rendered.
 void IViewer.setDocument(java.io.File pathToPDF, ICredentials credentials)
          Displays the given document in the rendering panel using the given credentials.
 void RendererPanel.setDocument(PdfDocument thedoc)
           
 void IViewer.setDocument(PdfDocument thedoc)
          Loads and Displays the given document in the rendering panel.
 void ViewerPanel.setPageLayout(int n)
           
 void RendererPanel.setPageLayout(int layout)
           
 void IViewer.setPageLayout(int layout)
          Changes how many pages are displayed per screen.
 void ViewerPanel.setPageZoomMode(int mode)
           
 void RendererPanel.setPageZoomMode(int mode)
           
 void IViewer.setPageZoomMode(int mode)
          Sets the zoom mode, either PAGEZOOM_FITPAGE or PAGEZOOM_FITWIDTH.
 void ViewerPanel.setZoomTo(int pageIndex, java.awt.geom.Point2D location, int zoomFactor)
           
 void IViewer.setZoomTo(int pageIndex, java.awt.geom.Point2D location, int zoomFactor)
          Centers the viewer scroll panel to the given page index, point location and zoom factor.
 void ViewerPanel.setZoomToArea(int pageIndex, java.awt.geom.Point2D upperLeft, java.awt.geom.Point2D bottomRight)
           
 void IViewer.setZoomToArea(int pageIndex, java.awt.geom.Point2D upperLeft, java.awt.geom.Point2D bottomRight)
           
 



Copyright © 1999-2007 Crionics. All Rights Reserved.