22 #ifndef TESSERACT_CCMAIN_RESULT_ITERATOR_H__
23 #define TESSERACT_CCMAIN_RESULT_ITERATOR_H__
96 bool ParagraphIsLtr()
const;
122 static void CalculateTextlineOrder(
123 bool paragraph_is_ltr,
145 bool CurrentParagraphIsLtr()
const;
158 void CalculateTextlineOrder(
bool paragraph_is_ltr,
162 void CalculateTextlineOrder(
bool paragraph_is_ltr,
171 int LTRWordIndex()
const;
180 void MoveToLogicalStartOfTextline();
186 void MoveToLogicalStartOfWord();
189 bool IsAtFinalSymbolOfWord()
const;
192 bool IsAtFirstSymbolOfWord()
const;
198 void AppendSuffixMarks(
STRING *text)
const;
201 void AppendUTF8WordText(
STRING *text)
const;
210 void IterateAndAppendUTF8TextlineText(
STRING *text);
218 void AppendUTF8ParagraphText(
STRING *text)
const;
221 bool BidiDebug(
int min_level)
const;
223 bool current_paragraph_is_ltr_;
229 bool at_beginning_of_minor_run_;
232 bool in_minor_direction_;
237 #endif // TESSERACT_CCMAIN_RESULT_ITERATOR_H__