|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface PDFPage
Represents a PDF document.
| Field Summary | |
|---|---|
static String |
MODE_LINES
|
static String |
MODE_NORMAL
|
| Method Summary | |
|---|---|
void |
decrypt(String password)
|
List |
getBookmarks()
Gets the bookmarks contained in the document |
String |
getDocumentTitle()
|
int |
getEncryptionStrength()
|
String |
getEncryptProperty(String key)
|
List |
getFields()
Gets all the fields |
List |
getFields(int pageNumber)
Gets the fields of the given page |
List |
getFields(String name)
Gets the fields with the given name |
List |
getFields(String name,
int pageNumber)
Gets the fields with the given name |
List |
getFields(String name,
int pageNumber,
PDFField.Type type)
Gets the fields with the given name |
List |
getFields(String name,
PDFField.Type type)
Gets the fields with the given name |
List |
getFonts()
Gets the fonts contained in the document |
String |
getInfoProperty(String key)
|
List<? extends PDFLink> |
getLinks()
Gets the hyperlinks contained in the document |
int |
getNumberOfPages()
|
String |
getText(int startPage,
int endPage)
|
String |
getText(String fragmentSeparator,
String lineSeparator,
String pageSeparator,
String mode)
|
boolean |
hasPermission(PDFEncryptionPermission permission)
|
boolean |
isEncrypted()
|
boolean |
isOwnerPassword(String password)
|
boolean |
isUserPassword(String password)
|
| Methods inherited from interface com.gargoylesoftware.htmlunit.Page |
|---|
cleanUp, getEnclosingWindow, getUrl, getWebResponse, initialize |
| Field Detail |
|---|
static final String MODE_NORMAL
static final String MODE_LINES
| Method Detail |
|---|
String getDocumentTitle()
int getNumberOfPages()
String getText(int startPage,
int endPage)
String getText(String fragmentSeparator,
String lineSeparator,
String pageSeparator,
String mode)
void decrypt(String password)
password - the password to use to decrypt
PDFInvalidPasswordException - if the password is invalid to decrypt documentboolean isEncrypted()
List getFields(String name,
PDFField.Type type)
name - the field nametype - the type of fields to look for
PDFFieldList getFields(String name)
name - the field name
PDFField
List getFields(String name,
int pageNumber,
PDFField.Type type)
name - the field namepageNumber - the page number where the field should be locatedtype - the type of fields to look for
PDFField
IllegalArgumentException - if the pageNumber is not a valid page number
List getFields(String name,
int pageNumber)
name - the field namepageNumber - the page number where the field should be located
PDFField
IllegalArgumentException - if the pageNumber is not a valid page numberList getFields(int pageNumber)
pageNumber - the page number where the field should be located
PDFField
IllegalArgumentException - if the pageNumber is not a valid page numberList getFields()
PDFFieldboolean hasPermission(PDFEncryptionPermission permission)
String getEncryptProperty(String key)
int getEncryptionStrength()
String getInfoProperty(String key)
boolean isUserPassword(String password)
boolean isOwnerPassword(String password)
List<? extends PDFLink> getLinks()
PDFLinkList getBookmarks()
PDFBookmarkList getFonts()
PDFFont
|
Copyright © 2001-2007 Canoo Engineering AG, Basel. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||