java.lang.Object | ||
↳ | com.pdftron.pdf.OptionsBase | |
↳ | com.pdftron.pdf.FindReplaceOptions |
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
enum | FindReplaceOptions.HorizAlignment | An enumeration used to specify the horizontal alignment of the new text added. | |||||||||
enum | FindReplaceOptions.MatchType | An enumeration used to specify the mode used to match text. | |||||||||
enum | FindReplaceOptions.ReflowType | An enumeration used to specify the mode used to reflow the replaced text. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
FindReplaceOptions()
Constructor.
| |||||||||||
FindReplaceOptions(String json_string)
Constructor.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
FindReplaceOptions.HorizAlignment |
getAlignment()
Gets the value Alignment from the options object.
| ||||||||||
int |
getBatchSize()
Gets the value BatchSize from the options object.
| ||||||||||
boolean |
getMatchCase()
Gets the value MatchCase from the options object.
| ||||||||||
FindReplaceOptions.MatchType |
getMatchMode()
Gets the MatchMode value from the options object.
| ||||||||||
String |
getPages()
Gets the value Pages from the options object.
| ||||||||||
FindReplaceOptions.ReflowType |
getReflowMode()
Gets the value ReflowMode from the options object.
| ||||||||||
boolean |
getWholeWords()
Gets the value WholeWords from the options object.
| ||||||||||
FindReplaceOptions |
setAlignment(FindReplaceOptions.HorizAlignment value)
Sets the value for Alignment in the options object.
| ||||||||||
FindReplaceOptions |
setBatchSize(int value)
Sets the value for BatchSize in the options object.
| ||||||||||
FindReplaceOptions |
setMatchCase(boolean value)
Sets the value for MatchCase in the options object.
| ||||||||||
FindReplaceOptions |
setMatchMode(FindReplaceOptions.MatchType value)
Sets MatchMode value in the options object.
| ||||||||||
FindReplaceOptions |
setPages(String value)
Sets the value for Pages in the options object.
| ||||||||||
FindReplaceOptions |
setReflowMode(FindReplaceOptions.ReflowType value)
Sets the value for ReflowMode in the options object.
| ||||||||||
FindReplaceOptions |
setWholeWords(boolean value)
Sets the value for WholeWords in the options object.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Gets the value Alignment from the options object. Specifies the horizontal alignment of the new text added.
PDFNetException |
---|
Gets the value BatchSize from the options object. The number of pages to process before saving an intermediate PDF to free resources. A greater number of pages will increase memory usage, and a smaller number will increase processing time. Default is 20.
PDFNetException |
---|
Gets the value MatchCase from the options object. Specifies whether the case of the 'from' string should be exactly matched when finding text to replace. Ignored if MatchType is regex.
PDFNetException |
---|
Gets the MatchMode value from the options object. Specifies the mode used to match the text. the types of match are exact matching, wildcard matching and regular expression matching.
PDFNetException |
---|
Gets the value Pages from the options object. Specifies a set of pages to process, such as "1-5", or "1-3,5,7-10". Open ended ranges are supported, e.g., "3-". By default all pages are processed. The first page is page number 1.
PDFNetException |
---|
Gets the value ReflowMode from the options object. Specifies the mode used to reflow the replaced text.
PDFNetException |
---|
Gets the value WholeWords from the options object. Specifies whether whole words should be matched when finding text to replace. Ignored if MatchType is regex.
PDFNetException |
---|
Sets the value for Alignment in the options object. Specifies the horizontal alignment of the new text added.
value | The new value for Alignment. |
---|
PDFNetException |
---|
Sets the value for BatchSize in the options object. The number of pages to process before saving an intermediate PDF to free resources. A greater number of pages will increase memory usage, and a smaller number will increase processing time. Default is 20.
value | The new value for BatchSize. |
---|
PDFNetException |
---|
Sets the value for MatchCase in the options object. Specifies whether the case of the 'from' string should be exactly matched when finding text to replace. Ignored if MatchType is regex.
value | The new value for MatchCase. |
---|
PDFNetException |
---|
Sets MatchMode value in the options object. Specifies the mode used to match the text. the types of match are exact matching, wildcard matching and regular expression matching.
value | The new value for MatchMode. |
---|
PDFNetException |
---|
Sets the value for Pages in the options object. Specifies a set of pages to process, such as "1-5", or "1-3,5,7-10". Open ended ranges are supported, e.g., "3-". By default all pages are processed. The first page is page number 1.
value | The new value for Pages. |
---|
PDFNetException |
---|
Sets the value for ReflowMode in the options object. Specifies the mode used to reflow the replaced text.
value | The new value for ReflowMode. |
---|
PDFNetException |
---|
Sets the value for WholeWords in the options object. Specifies whether whole words should be matched when finding text to replace. Ignored if MatchType is regex.
value | The new value for WholeWords. |
---|
PDFNetException |
---|