Package net.sourceforge.tess4j
Interface ITessAPI.TessParagraphJustification
- Enclosing interface:
- ITessAPI
public static interface ITessAPI.TessParagraphJustification
NOTA BENE: Fully justified paragraphs (text aligned to both left and
right margins) are marked by Tesseract with JUSTIFICATION_LEFT if their
text is written with a left-to-right script and with JUSTIFICATION_RIGHT
if their text is written in a right-to-left script.
Interpretation for text read in vertical lines: "Left" is wherever the starting reading position is.
Interpretation for text read in vertical lines: "Left" is wherever the starting reading position is.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
The text lines of the paragraph are centered about a line going down through their middle of the text lines.static final int
Each line, except possibly the first, is flush to the same left tab stop.static final int
Each line, except possibly the first, is flush to the same right tab stop.static final int
The alignment is not clearly one of the other options.
-
Field Details
-
JUSTIFICATION_UNKNOWN
static final int JUSTIFICATION_UNKNOWNThe alignment is not clearly one of the other options. This could happen for example if there are only one or two lines of text or the text looks like source code or poetry.- See Also:
-
JUSTIFICATION_LEFT
static final int JUSTIFICATION_LEFTEach line, except possibly the first, is flush to the same left tab stop.- See Also:
-
JUSTIFICATION_CENTER
static final int JUSTIFICATION_CENTERThe text lines of the paragraph are centered about a line going down through their middle of the text lines.- See Also:
-
JUSTIFICATION_RIGHT
static final int JUSTIFICATION_RIGHTEach line, except possibly the first, is flush to the same right tab stop.- See Also:
-