Type Alias: createTextAdapterParams
@ghentcdh/annotated-text / createTextAdapterParams
Type Alias: createTextAdapterParams
createTextAdapterParams =
object
Defined in: libs/core/src/lib/adapter/text/TextAdapter.ts:84
Properties
flatText?
optional
flatText:boolean
Defined in: libs/core/src/lib/adapter/text/TextAdapter.ts:96
If true, the adapter will return flat text instead of HTML. This is useful for plain text processing or when HTML formatting is not needed. Defaults to false.
limit?
optional
limit:Limit
|null
Defined in: libs/core/src/lib/adapter/text/TextAdapter.ts:101
Defines the range of positions in the text that the adapter should consider. Each lines that intersects with this range will be included in the output.
textDirection?
optional
textDirection:TextDirection
Defined in: libs/core/src/lib/adapter/text/TextAdapter.ts:90
The text direction for the adapter. Can be either 'ltr' (left-to-right) or 'rtl' (right-to-left). Defaults to 'ltr'.