Home > @i2analyze/notebook-sdk > data > BaseTextDirection
data.BaseTextDirection type
The direction of some bidirectional text, which describes how it should be wrapped with Unicode Control Characters (UCC).
Signature:
type BaseTextDirection = 'ltr' | 'rtl' | 'contextual' | 'inherit';
Introduced: version 1.0
Remarks
The possible values for the direction are:
contextual
- Text is surrounded with LRE/RLE/PDF characters, depending on its contents. Text that looks to be left-to-right is surrounded with LRE-PDF, and text that looks to be right-to-left is surrounded with RLE-PDF.
ltr
- Text is surrounded with LRE-PDF, irrespective of the text contents.
rtl
- Text is surrounded with RLE-PDF, irrespective of the text contents.
inherit
- Text is not marked up at all, and we rely on inherited browser behavior.