|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Content
The interface Content provides the user the possibilities to get content relative informations of the pdf document.
| Method Summary | |
|---|---|
java.lang.String |
getContent()
The method returns the content of the document. |
java.lang.String |
getContentOnPage(int page)
The method returns the content of the document for a certain page. |
int |
getFirstPageForContent(java.lang.String text,
TextSearchType type)
The method returns the page number for a certain text and type. |
java.util.List |
getListOfPagesForContent(java.lang.String text,
TextSearchType type)
The method returns the page numbers for a certain text and type. |
int[] |
getPagesForContent(java.lang.String text,
TextSearchType type)
Deprecated. As of version 0.93, replaced by Content.getListOfPagesForContent(String text, TextSearchType type). |
boolean |
isTextContent(java.lang.String text,
TextSearchType type)
The method returns true for a certain text and type if it is content. |
boolean |
isTextContentOnPage(java.lang.String text,
TextSearchType type,
int page)
The method returns true for a certain text, type and if it is content. |
| Method Detail |
|---|
java.lang.String getContent()
java.lang.String getContentOnPage(int page)
page - The page to get the content for. The page count is 1-based.
int getFirstPageForContent(java.lang.String text,
TextSearchType type)
text - The text to search within the document for. Even a regular
expression is a valid parameter.type - The TextSearchtype but remember that this is relative to the
single pages of the document.
java.util.List getListOfPagesForContent(java.lang.String text,
TextSearchType type)
text - The text to search within the document for. Even a regular
expression is a valid parameter.type - The TextSearchtype but remember that this is relative to the
single pages of the document.
int[] getPagesForContent(java.lang.String text,
TextSearchType type)
Content.getListOfPagesForContent(String text, TextSearchType type).
text - The text to search within the document for. Even a regular
expression is a valid parameter.type - The TextSearchtype but remember that this is relative to the
single pages of the document.
Content
boolean isTextContent(java.lang.String text,
TextSearchType type)
text - The text to search within the document for. Even a regular
expression is a valid parameter.type - The TextSearchtype but remember that this is relative to the
single pages of the document.
boolean isTextContentOnPage(java.lang.String text,
TextSearchType type,
int page)
text - The text to search within the document for. Even a regular
expression is a valid parameter.type - The TextSearchtype but remember that this is relative to the
single pages of the document.page - The supposed page for the text. The page count is 1-based.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||