Package org.jpedal.grouping
Class SearchType
java.lang.Object
org.jpedal.grouping.SearchType
This class holds constants used to describe the nature of a given search. Methods
in the PdfGroupingAlgorithums class that take a search type parameter will take
either one, or a combination of the values contained in this class. Multiple
constants can be used by using the logical or operator.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intUsed to describe a search that is case-sensitivestatic final intThe default parameter, this describes a search that will not be limited to finding whole words only, is not case-sensitive, and will find all occurrences.static final intUsed to describe a search that will find first occurrences onlystatic final intUsed to describe a search that results in all highlights on the page to be visiblestatic final intUsed to ignore space characters from the search term and underlying text.static final intUsed to describe a search that will find results split across multiple linesstatic final intUsed to describe a search that will only search within highlighted areasstatic final intUsed to describe a search that matches regular expressions with the search termstatic final intUsed to describe a search that will find whole words only -
Method Summary
-
Field Details
-
DEFAULT
public static final int DEFAULTThe default parameter, this describes a search that will not be limited to finding whole words only, is not case-sensitive, and will find all occurrences.- See Also:
-
WHOLE_WORDS_ONLY
public static final int WHOLE_WORDS_ONLYUsed to describe a search that will find whole words only- See Also:
-
CASE_SENSITIVE
public static final int CASE_SENSITIVEUsed to describe a search that is case-sensitive- See Also:
-
FIND_FIRST_OCCURANCE_ONLY
public static final int FIND_FIRST_OCCURANCE_ONLYUsed to describe a search that will find first occurrences only- See Also:
-
MUTLI_LINE_RESULTS
public static final int MUTLI_LINE_RESULTSUsed to describe a search that will find results split across multiple lines- See Also:
-
HIGHLIGHT_ALL_RESULTS
public static final int HIGHLIGHT_ALL_RESULTSUsed to describe a search that results in all highlights on the page to be visible- See Also:
-
USE_REGULAR_EXPRESSIONS
public static final int USE_REGULAR_EXPRESSIONSUsed to describe a search that matches regular expressions with the search term- See Also:
-
SEARCH_HIGHLIGHTS_ONLY
public static final int SEARCH_HIGHLIGHTS_ONLYUsed to describe a search that will only search within highlighted areas- See Also:
-
IGNORE_SPACE_CHARACTERS
public static final int IGNORE_SPACE_CHARACTERSUsed to ignore space characters from the search term and underlying text. Useful when number of spaces in gaps is unknown.- See Also:
-