Uses of Class
com.pd4ml.InvokeException
-
Packages that use InvokeException Package Description com.pd4ml com.pd4ml.pdf -
-
Uses of InvokeException in com.pd4ml
Methods in com.pd4ml that throw InvokeException Modifier and Type Method Description voidPD4ML. addStyle(java.lang.String stylesheet, boolean overrideDocumentStyles)Applies additional CSS rules to the document.voidPD4ML. addStyle(java.net.URL stylesheet, boolean overrideDocumentStyles)Applies an additional CSS stylesheet, loaded from a URL, to the document.java.lang.StringPD4ML. getDocumentTitle()Returns the document title: the one set withPD4ML.setDocumentTitle(String), or else the<title>of the HTML document.voidPD4ML. readHTML(java.io.InputStream isr)Reads and parses an HTML document from a stream.voidPD4ML. readHTML(java.io.InputStream isr, java.net.URL base)Reads and parses an HTML document from a stream, decoding it with the platform default encoding (thefile.encodingsystem property).voidPD4ML. readHTML(java.io.InputStream isr, java.net.URL base, java.lang.String encoding)Reads and parses an HTML document from a stream, with an explicit encoding.voidPD4ML. readHTML(java.net.URL url)Loads and parses an HTML document from a URL (file:,http:,https:,java:for classpath resources, or a protocol handled by a custom resource provider).voidPD4ML. readHTML(java.net.URL url, java.lang.String encoding)Loads and parses an HTML document from a URL, with an explicit encoding.voidPD4ML. setHtmlWidth(int width)Sets the width, in pixels, of the virtual browser window the document is laid out in.voidPD4ML. setPageFooter(java.lang.String htmlCode, int heightPx)Sets an HTML page footer for all pages.voidPD4ML. setPageFooter(java.lang.String htmlCode, int heightPx, java.lang.String scope)Sets an HTML page footer for the selected pages.voidPD4ML. setPageHeader(java.lang.String htmlCode, int heightPx)Sets an HTML page header for all pages.voidPD4ML. setPageHeader(java.lang.String htmlCode, int heightPx, java.lang.String scope)Sets an HTML page header for the selected pages.voidPD4ML. setPageSize(PageSize d)Sets the page size for all pages.Constructors in com.pd4ml that throw InvokeException Constructor Description PdfDocument(byte[] bytes, java.lang.String password)Creates a document from PDF bytes.PdfDocument(com.pd4ml.pdf.parser.PdfDoc writer)Creates a document from a document built with PD4ML's internal PDF writer.PdfDocument(java.io.InputStream stream, java.lang.String password)Creates a document from a stream.PdfDocument(java.net.URL url, java.lang.String password)Creates a document from a URL (file:,http:,https:orjava:for classpath resources). -
Uses of InvokeException in com.pd4ml.pdf
Methods in com.pd4ml.pdf that throw InvokeException Modifier and Type Method Description voidPdfDocumentBase. read()Loads and parses the document.voidPdfDocumentBase. write(java.io.OutputStream out)Writes the document with all changes, unencrypted, and closes the stream.voidPdfDocumentBase. write(java.io.OutputStream out, java.lang.String password, int permissions)Writes the document with all changes and closes the stream, optionally encrypted.Constructors in com.pd4ml.pdf that throw InvokeException Constructor Description PdfDocumentBase(byte[] bytes, java.lang.String password)Creates a document from PDF bytes.PdfDocumentBase(java.io.InputStream stream, java.lang.String password)Creates a document from a stream.PdfDocumentBase(java.net.URL url, java.lang.String password)Creates a document from a URL.
-