PDF4Java Reference Documentation
com.o2sol.pdf4java.content.text Package / PDFTextExtractionOptions Class
Methods Collapse All Expand All Members Options: Show All Members Options: Filtered
Include Inherited Members
Include Protected Members
In This Topic

PDFTextExtractionOptions Class Members
In This Topic

The following tables list the members exposed by PDFTextExtractionOptions.

Public Constructors

| Name | Description
--- | --- | ---
| PDFTextExtractionOptions Constructor | Overloaded.

Top
Public Methods

| Name | Description
--- | --- | ---
| getDisplayExtractionBounds | Gets the bounds (in display coordinates) for text extraction.
| getEnableExtendedInformation | Gets a value indicating whether extended text information should be loaded for text. This flag is used only by com.o2sol.pdf4java.content.PDFContentExtractor.extractText , com.o2sol.pdf4java.content.PDFContentExtractor.extractText, com.o2sol.pdf4java.content.PDFContentExtractor.extractTextRuns and com.o2sol.pdf4java.content.PDFContentExtractor.extractTextRuns methods. By default this property is true which allows to analyze text fragment positions in order to group extracted text into lines. If it is set to false then only the text is loaded and no other properties (suc as positions, font info, colors, etc).
| getIncludePartialMatches | Gets a value indicating whether characters that fit partially the extraction bounds should be included in the extracted text.
| getStandardExtractionBounds | This method supports the internal library infrastructure and should not be used by external client code.
| getUseActualTextIfAvailable | Gets a flag indicating whether the text extraction process should use the text included in the /ActualText entry applied to current showText operator.
| setDisplayExtractionBounds | Sets the bounds (in display coordinates) for text extraction.
| setEnableExtendedInformation | Sets a value indicating whether extended text information should be loaded for text. This flag is used only by com.o2sol.pdf4java.content.PDFContentExtractor.extractText , com.o2sol.pdf4java.content.PDFContentExtractor.extractText, com.o2sol.pdf4java.content.PDFContentExtractor.extractTextRuns and com.o2sol.pdf4java.content.PDFContentExtractor.extractTextRuns methods. By default this property is true which allows to analyze text fragment positions in order to group extracted text into lines. If it is set to false then only the text is loaded and no other properties (suc as positions, font info, colors, etc).
| setIncludePartialMatches | Sets a value indicating whether characters that fit partially the extraction bounds should be included in the extracted text.
| setStandardExtractionBounds | This method supports the internal library infrastructure and should not be used by external client code.
| setUseActualTextIfAvailable | Sets a flag indicating whether the text extraction process should use the text included in the /ActualText entry applied to current showText operator.

Top
See Also

#### Reference

PDFTextExtractionOptions Class
com.o2sol.pdf4java.content.text Package

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.