public class PageTextAreaOptions extends PageAreaOptions
An instance of PageTextAreaOptions
class is used as parameter in Parser.getTextAreas(PageTextAreaOptions)
and Parser.getTextAreas(int, PageTextAreaOptions)
methods. See the usage examples there.
Learn more:
Constructor and Description |
---|
PageTextAreaOptions(String expression)
Initializes a new instance of the
PageTextAreaOptions class with the regular expression. |
PageTextAreaOptions(String expression,
boolean matchCase,
boolean uniteSegments,
boolean ignoreFormatting,
Rectangle rectangle)
Initializes a new instance of the
PageTextAreaOptions class. |
PageTextAreaOptions(String expression,
Rectangle rectangle)
Initializes a new instance of the
PageTextAreaOptions class with the regular expression and rectangular area. |
Modifier and Type | Method and Description |
---|---|
String |
getExpression()
Gets the regular expression.
|
boolean |
isIgnoreFormatting()
Gets the value that indicates whether text formatting is ignored.
|
boolean |
isMatchCase()
Gets the value that indicates whether a text case isn't ignored.
|
boolean |
isUniteSegments()
Gets the value that indicates whether segments are united.
|
getRectangle
public PageTextAreaOptions(String expression)
PageTextAreaOptions
class with the regular expression. Other options are set by default (see remarks for details).
The following properties have default values:
false
false
false
null
expression
- The regular expression.public PageTextAreaOptions(String expression, Rectangle rectangle)
PageTextAreaOptions
class with the regular expression and rectangular area. Other options are set by default (see remarks for details).
The following properties have default values:
false
false
false
expression
- The regular expression.rectangle
- The rectangular area that contains page areas.public PageTextAreaOptions(String expression, boolean matchCase, boolean uniteSegments, boolean ignoreFormatting, Rectangle rectangle)
PageTextAreaOptions
class.expression
- The regular expression.matchCase
- The value that indicates whether a text case isn't ignored.uniteSegments
- The value that indicates whether segments are united.ignoreFormatting
- The value that indicates whether text formatting is ignored.rectangle
- The rectangular area that contains page areas.public String getExpression()
public boolean isMatchCase()
true
if a text case isn't ignored; otherwise, false
.public boolean isUniteSegments()
public boolean isIgnoreFormatting()
true
if text formatting is ignored; otherwise, false
.