TextExtractionOptions class
Options for text extraction
Constructors
- TextExtractionOptions.new({bool preserveLinks = false, bool preserveImages = false, bool preserveFormatting = false, bool preserveHeadings = true, bool preserveLists = true, bool preserveParagraphs = true, bool preserveTables = false, bool preserveLineBreaks = true, bool extractMainContentOnly = true})
-
Creates new TextExtractionOptions
const
- TextExtractionOptions.full()
-
Creates TextExtractionOptions for full text extraction
factory
- TextExtractionOptions.plainText()
-
Creates TextExtractionOptions for plain text extraction
factory
- TextExtractionOptions.readable()
-
Creates TextExtractionOptions for readable text extraction
factory
Properties
- extractMainContentOnly → bool
-
Whether to extract only the main content
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- preserveFormatting → bool
-
Whether to preserve formatting (bold, italic, etc.)
final
- preserveHeadings → bool
-
Whether to preserve headings
final
- preserveImages → bool
-
Whether to preserve images (as alt text)
final
- preserveLineBreaks → bool
-
Whether to preserve line breaks
final
- preserveLinks → bool
-
Whether to preserve links
final
- preserveLists → bool
-
Whether to preserve lists
final
- preserveParagraphs → bool
-
Whether to preserve paragraphs
final
- preserveTables → bool
-
Whether to preserve tables
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited