com.groupdocs.parser

Interfaces

Classes

Exceptions

com.groupdocs.parser

Class TextAreaSearchOptions



  • public final class TextAreaSearchOptions
    extends Object

    Provides the options for extracting text areas.

    • Constructor Detail

      • TextAreaSearchOptions

        public TextAreaSearchOptions()

        Initializes a new instance of the TextAreaSearchOptions class.

    • Method Detail

      • getExpression

        public String getExpression()

        Gets a regular expression.

        Returns:
        A string that represents the regular expression which is used to extract text areas; null or empty string if regular expression isn't used.
      • setExpression

        public void setExpression(String value)

        Sets a regular expression.

        Parameters:
        value - A string that represents the regular expression which is used to extract text areas; null or empty string if regular expression isn't used.
      • getRectangle

        public Rectangle getRectangle()

        Gets a rectangle.

        Returns:
        An instance of Rectangle class that bounds the extraction.
      • setRectangle

        public void setRectangle(Rectangle value)

        Sets a rectangle.

        Parameters:
        value - An instance of Rectangle class that bounds the extraction.
      • getIgnoreFormatting

        public boolean getIgnoreFormatting()

        Gets a value indicating whether text formatting is ignored.

        Returns:
        A boolean true if text formatting is ignored; otherwise, false.
      • setIgnoreFormatting

        public void setIgnoreFormatting(boolean value)

        Sets a value indicating whether text formatting is ignored.

        Parameters:
        value - A boolean true if text formatting is ignored; otherwise, false.
      • getUniteSegments

        public boolean getUniteSegments()

        Gets a value indicating whether nearby standing text segments are united.

        Returns:
        A boolean true if nearby standing text segments are united; otherwise, false.
      • setUniteSegments

        public void setUniteSegments(boolean value)

        Sets a value indicating whether nearby standing text segments are united.

        Parameters:
        value - A boolean true if nearby standing text segments are united; otherwise, false.