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.
-
-
Field Summary
Fields Modifier and Type Field Description static int
JUSTIFICATION_CENTER
The text lines of the paragraph are centered about a line going down through their middle of the text lines.static int
JUSTIFICATION_LEFT
Each line, except possibly the first, is flush to the same left tab stop.static int
JUSTIFICATION_RIGHT
Each line, except possibly the first, is flush to the same right tab stop.static int
JUSTIFICATION_UNKNOWN
The alignment is not clearly one of the other options.
-
-
-
Field Detail
-
JUSTIFICATION_UNKNOWN
static final int JUSTIFICATION_UNKNOWN
The 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:
- Constant Field Values
-
JUSTIFICATION_LEFT
static final int JUSTIFICATION_LEFT
Each line, except possibly the first, is flush to the same left tab stop.- See Also:
- Constant Field Values
-
JUSTIFICATION_CENTER
static final int JUSTIFICATION_CENTER
The text lines of the paragraph are centered about a line going down through their middle of the text lines.- See Also:
- Constant Field Values
-
JUSTIFICATION_RIGHT
static final int JUSTIFICATION_RIGHT
Each line, except possibly the first, is flush to the same right tab stop.- See Also:
- Constant Field Values
-
-