public class ParagraphSplitter extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ParagraphSplitter.FakeParagraph
A fake paragraqph only supports manual BIDI classification.
|
static class |
ParagraphSplitter.Paragraph
A paragraph object collects the text of one paragraph.
|
| Constructor and Description |
|---|
ParagraphSplitter() |
| Modifier and Type | Method and Description |
|---|---|
static byte |
convertDirectionIdent(IdentValue ident) |
ParagraphSplitter.Paragraph |
lookupBlockElement(Element elem) |
ParagraphSplitter.Paragraph |
lookupParagraph(Text node)
Get the paragraph object that a Text node is associated with.
|
void |
runBidiOnParagraphs(LayoutContext c)
Run bidi splitting on the document's paragraphs.
|
void |
splitRoot(LayoutContext c,
Document doc)
This starts everything by recursively dividing the document into paragraphs.
|
public static byte convertDirectionIdent(IdentValue ident)
public ParagraphSplitter.Paragraph lookupParagraph(Text node)
public ParagraphSplitter.Paragraph lookupBlockElement(Element elem)
public void splitRoot(LayoutContext c, Document doc)
public void runBidiOnParagraphs(LayoutContext c)
Copyright © 2018. All rights reserved.