| java.lang.Object com.canoo.webtest.plugins.pdftest.htmlunit.pdfbox.PdfBoxPDFPage
PdfBoxPDFPage | public class PdfBoxPDFPage implements PDFPage(Code) | | Implementation of
PDFPage based on PDFBox.
author: Etienne Studer author: Paul King author: Marc Guillemot |
Constructor Summary | |
public | PdfBoxPDFPage(WebResponse webResponse, WebWindow webWindow) |
Method Summary | |
public void | cleanUp() | public void | decrypt(String password) | public List | getBookmarks() | public String | getDocumentTitle() | public WebWindow | getEnclosingWindow() | public String | getEncryptProperty(String key) | public int | getEncryptionStrength() | public List | getFields() | protected List | getFields(Predicate filter) | public List | getFields(String name, PDFField.Type type) | public List | getFields(String name, int pageNumber, PDFField.Type type) | public List | getFields(int pageNumber) | public List | getFields(String name, int pageNumber) | public List | getFields(String name) | public List | getFonts() | public List | getFragments(int page, String fragmentSeparator, String lineSeparator) | public String | getInfoProperty(String key) | public List | getLinks() | final protected Log | getLog() | public int | getNumberOfPages() | protected PDDocument | getPDFDocument() | public String | getText(int startPage, int endPage) | public String | getText(String fragmentSeparator, String lineSeparator, String pageSeparator, String mode) | protected String | getTextInternal(int startPage, int endPage) | public WebResponse | getWebResponse() | public boolean | hasPermission(PDFEncryptionPermission permission) | public void | initialize() | public boolean | isEncrypted() | public boolean | isOwnerPassword(String password) | public boolean | isUserPassword(String password) | protected PDDocument | loadPDFDocument() | static String | stringValue(COSBase element) |
PdfBoxPDFPage | public PdfBoxPDFPage(WebResponse webResponse, WebWindow webWindow)(Code) | | |
getEnclosingWindow | public WebWindow getEnclosingWindow()(Code) | | |
getEncryptionStrength | public int getEncryptionStrength()(Code) | | |
getFields | protected List getFields(Predicate filter)(Code) | | |
getFields | public List getFields(int pageNumber)(Code) | | |
getLinks | public List getLinks()(Code) | | Gets the links from the document
the links |
getLog | final protected Log getLog()(Code) | | Return the log object for this web client
The log object |
getNumberOfPages | public int getNumberOfPages()(Code) | | |
getPDFDocument | protected PDDocument getPDFDocument()(Code) | | Gets the PDF document
the document throws: RuntimeException - if the PDF document couldn't be parsed |
getText | public String getText(int startPage, int endPage)(Code) | | |
getTextInternal | protected String getTextInternal(int startPage, int endPage)(Code) | | |
getWebResponse | public WebResponse getWebResponse()(Code) | | |
isEncrypted | public boolean isEncrypted()(Code) | | |
isOwnerPassword | public boolean isOwnerPassword(String password)(Code) | | |
isUserPassword | public boolean isUserPassword(String password)(Code) | | |
loadPDFDocument | protected PDDocument loadPDFDocument()(Code) | | |
|
|