Package com.pd4ml
-
Interface Summary Interface Description Dimensions Unit conversion factors and measurement units used byPageSizeandPageMargins.ProgressListener Receives progress notifications during a conversion, for example to update a progress bar or to log timing information. -
Class Summary Class Description Constants Constants of the PD4ML API: PDF permission flags,PD4ML.setParam(String, String)parameter keys,PD4ML.getLastRenderInfo(String)keys, output formats, encryption methods and error policies.CustomTag Base class for handlers of custom HTML tags, which render content PD4ML does not support natively, for example charts or barcodes.PageMargins Page margins: the distances between the page edges and the page content area, in points (1/72 inch).PageSize A page size in points (1/72 inch), with constants for the common ISO, JIS, North American and architectural paper formats.PD4ML The main entry point of PD4ML: converts HTML/CSS documents to PDF, PDF/A, PDF/UA, RTF, DOCX or page images.PdfDocument An existing PDF document, for post-processing: reading and changing document properties, appending another document, putting the pages of another document over or under its pages, deleting pages, and saving it, optionally encrypted.PdfSpec A PDF output specification: a PDF version, optionally combined with conformance to PDF/A (archiving), PDF/UA (accessibility) or an e-invoice format.ResourceProvider Base class for custom resource loaders, which let PD4ML load documents, images, stylesheets and other resources from sources it does not support natively: a proprietary protocol, a database, an encrypted store and so on.StatusMessage A warning or error recorded during a conversion, for example that a font could not be embedded in PDF/A output, or that the license does not cover the requested output format. -
Enum Summary Enum Description Constants.ErrorPolicy How strictly problems found during a conversion are treated.Dimensions.Units Measurement units forPageSizeandPageMarginsvalues. -
Exception Summary Exception Description ConflictingParametersException Signals that conversion parameters were set that cannot be used together.ForcedTerminationException Thrown on the conversion thread when the conversion has been cancelled withPD4ML.terminate().InvalidPasswordException Thrown when an encrypted PDF document cannot be opened because the password given to thePdfDocumentconstructor is missing or wrong.InvokeException Thrown when the PD4ML API is used incorrectly: an invalid argument, or a method called at the wrong time (for example a configuration method afterreadHTML(...), or awrite...method before it).PdfSpec.PdfSpecUnsupportedException Thrown when a requested PDF version or standard is not supported.PdfSpec.PdfSpecViolationException Thrown when standards are combined in a way the specifications do not allow.