|
||||||||||
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 | |
---|---|
String |
getContent()
The method returns the content of the document. |
String |
getContentOnPage(int page)
The method returns the content of the document for a certain page. |
int |
getFirstPageForContent(String text,
TextSearchType type)
The method returns the page number for a certain text and type. |
List |
getListOfPagesForContent(String text,
TextSearchType type)
The method returns the page numbers for a certain text and type. |
int[] |
getPagesForContent(String text,
TextSearchType type)
Deprecated. As of version 0.93, replaced by Content.getListOfPagesForContent(String text, TextSearchType type) . |
boolean |
isTextContent(String text,
TextSearchType type)
The method returns true for a certain text and type if it is content. |
boolean |
isTextContentOnPage(String text,
TextSearchType type,
int page)
The method returns true for a certain text, type and if it is content. |
Method Detail |
---|
String getContent()
String getContentOnPage(int page)
page
- The page to get the content for. The page count is 1-based.
int getFirstPageForContent(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.
List 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.
int[] getPagesForContent(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(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(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 |