22 #ifndef TESSERACT_CCMAIN_RESULT_ITERATOR_H__ 23 #define TESSERACT_CCMAIN_RESULT_ITERATOR_H__ 97 bool ParagraphIsLtr()
const;
123 static void CalculateTextlineOrder(
124 bool paragraph_is_ltr,
146 bool CurrentParagraphIsLtr()
const;
159 void CalculateTextlineOrder(
bool paragraph_is_ltr,
163 void CalculateTextlineOrder(
bool paragraph_is_ltr,
172 int LTRWordIndex()
const;
181 void MoveToLogicalStartOfTextline();
187 void MoveToLogicalStartOfWord();
190 bool IsAtFinalSymbolOfWord()
const;
193 bool IsAtFirstSymbolOfWord()
const;
199 void AppendSuffixMarks(
STRING *text)
const;
202 void AppendUTF8WordText(
STRING *text)
const;
211 void IterateAndAppendUTF8TextlineText(
STRING *text);
219 void AppendUTF8ParagraphText(
STRING *text)
const;
222 bool BidiDebug(
int min_level)
const;
224 bool current_paragraph_is_ltr_;
230 bool at_beginning_of_minor_run_;
233 bool in_minor_direction_;
239 bool preserve_interword_spaces_;
244 #endif // TESSERACT_CCMAIN_RESULT_ITERATOR_H__
static const int kMinorRunEnd
static const int kMinorRunStart
static const int kComplexWord
virtual ~ResultIterator()