public class ParseSpacesFragmentsProcessor extends NormalFragmentProcessor
Represents a class to process text fragments with parse spaces mode. This class recognizes spaces between text fragments based on the distance between them.
Constructor and Description |
---|
ParseSpacesFragmentsProcessor(TextFragmentRectanglesComparer fragmentsComparer)
Creates an instance of
ParseSpacesFragmentsProcessor class. |
Modifier and Type | Method and Description |
---|---|
boolean |
isParseLineBreaks()
Gets or sets a value indicating whether to parse line breaks.
|
void |
setParseLineBreaks(boolean value)
Gets or sets a value indicating whether to parse line breaks.
|
prepareFragments, setExcludeAreas, setSearchArea
public ParseSpacesFragmentsProcessor(TextFragmentRectanglesComparer fragmentsComparer)
Creates an instance of ParseSpacesFragmentsProcessor
class.
fragmentsComparer
- The fragment's comparer.public final boolean isParseLineBreaks()
Gets or sets a value indicating whether to parse line breaks.
By default, line breaks are not parsed. Set this property to true if line breaks should be parsed.public final void setParseLineBreaks(boolean value)
Gets or sets a value indicating whether to parse line breaks.
By default, line breaks are not parsed. Set this property to true if line breaks should be parsed.value
- boolean valueCopyright © 2025 Aspose. All Rights Reserved.