public static class ParagraphSplitter.Paragraph extends Object
| Modifier and Type | Field and Description |
|---|---|
protected IdentValue |
cssDirection |
protected Map<Text,Integer> |
textRuns |
| Modifier and Type | Method and Description |
|---|---|
protected void |
add(String text,
Text textNode)
Here we add a textnode and its postion to a list.
|
byte |
getActualDirection() |
IdentValue |
getCSSDirection() |
int |
getFirstCharIndexInParagraph(Text text) |
BidiTextRun |
nextSplit(int startIndexInParagraph) |
BidiTextRun |
prevSplit(int startIndexInParagraph) |
protected void |
runBidiSplitter(BidiSplitter splitter,
LayoutContext c)
Here we call out to the actual BIDI algorithm.
|
protected final IdentValue cssDirection
protected void add(String text, Text textNode)
protected void runBidiSplitter(BidiSplitter splitter, LayoutContext c)
public int getFirstCharIndexInParagraph(Text text)
public BidiTextRun nextSplit(int startIndexInParagraph)
public BidiTextRun prevSplit(int startIndexInParagraph)
public byte getActualDirection()
public IdentValue getCSSDirection()
Copyright © 2018. All rights reserved.