22 #ifndef TESSERACT_CCMAIN_RESULT_ITERATOR_H_ 23 #define TESSERACT_CCMAIN_RESULT_ITERATOR_H_ 87 int BlanksBeforeWord()
const;
101 bool ParagraphIsLtr()
const;
127 static void CalculateTextlineOrder(
128 bool paragraph_is_ltr,
150 bool CurrentParagraphIsLtr()
const;
163 void CalculateTextlineOrder(
bool paragraph_is_ltr,
167 void CalculateTextlineOrder(
bool paragraph_is_ltr,
176 int LTRWordIndex()
const;
185 void MoveToLogicalStartOfTextline();
191 void MoveToLogicalStartOfWord();
194 bool IsAtFinalSymbolOfWord()
const;
197 bool IsAtFirstSymbolOfWord()
const;
203 void AppendSuffixMarks(
STRING *text)
const;
206 void AppendUTF8WordText(
STRING *text)
const;
215 void IterateAndAppendUTF8TextlineText(
STRING *text);
223 void AppendUTF8ParagraphText(
STRING *text)
const;
226 bool BidiDebug(
int min_level)
const;
228 bool current_paragraph_is_ltr_;
234 bool at_beginning_of_minor_run_;
237 bool in_minor_direction_;
243 bool preserve_interword_spaces_;
248 #endif // TESSERACT_CCMAIN_RESULT_ITERATOR_H_
static const int kMinorRunEnd
static const int kMinorRunStart
virtual ~ResultIterator()
static const int kComplexWord