public static class ParagraphSplitter.FakeParagraph extends ParagraphSplitter.Paragraph
cssDirection, 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() |
BidiTextRun |
nextSplit(int startIndexInParagraph) |
BidiTextRun |
prevSplit(int startIndexInParagraph) |
protected void |
runBidiSplitter(BidiSplitter splitter,
LayoutContext c)
Here we call out to the actual BIDI algorithm.
|
getCSSDirection, getFirstCharIndexInParagraphprotected void add(String text, Text textNode)
ParagraphSplitter.Paragraphadd in class ParagraphSplitter.Paragraphpublic byte getActualDirection()
getActualDirection in class ParagraphSplitter.Paragraphpublic BidiTextRun nextSplit(int startIndexInParagraph)
nextSplit in class ParagraphSplitter.Paragraphpublic BidiTextRun prevSplit(int startIndexInParagraph)
prevSplit in class ParagraphSplitter.Paragraphprotected void runBidiSplitter(BidiSplitter splitter, LayoutContext c)
ParagraphSplitter.ParagraphrunBidiSplitter in class ParagraphSplitter.ParagraphCopyright © 2018. All rights reserved.