| Modifier and Type | Field and Description |
|---|---|
| private List |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | countTextRuns()
Implements com. Count the number of runs, each of which contains text in one visual order only. |
| public byte | getBaseDirection(String paragraph)
Implements com. Get the base direction of a paragraph. |
| public BidiTextRun | getVisualRun(int
from zero to countTextRuns. runIndex)Implements com.
|
| public void | setParagraph(String paragraph, byte
either LTR or RTL defaultDirection)Implements com. Sets the text which is to be split on visual ordering. |
| runs | back to summary |
|---|---|
| private List<BidiTextRun> runs | |
| SimpleBidiSplitter | back to summary |
|---|---|
| public SimpleBidiSplitter() | |
| countTextRuns | back to summary |
|---|---|
| public int countTextRuns() Implements com. Doc from com. Count the number of runs, each of which contains text in one visual order only. Can only be called after setParagraph has run the BIDI algorithm.
| |
| getBaseDirection | back to summary |
|---|---|
| public byte getBaseDirection(String paragraph) Implements com. Doc from com. Get the base direction of a paragraph. Defined as the first character that has strong directionality or neutral if they are all neutral characters.
| |
| getVisualRun | back to summary |
|---|---|
| public BidiTextRun getVisualRun(int runIndex) Implements com.
| |
| setParagraph | back to summary |
|---|---|
| public void setParagraph(String paragraph, byte defaultDirection) Implements com. Doc from com. Sets the text which is to be split on visual ordering.
| |