20 #ifndef TESSERACT_CCUTIL_BOXREAD_H__ 
   21 #define TESSERACT_CCUTIL_BOXREAD_H__ 
   51 bool ReadMemBoxes(
int target_page, 
bool skip_blanks, 
const char* box_data,
 
   73 bool ReadNextBox(
int target_page, 
int *line_number, FILE* box_file,
 
   85 #endif  // TESSERACT_CCUTIL_BOXREAD_H__ 
bool ReadAllBoxes(int target_page, bool skip_blanks, const STRING &filename, GenericVector< TBOX > *boxes, GenericVector< STRING > *texts, GenericVector< STRING > *box_texts, GenericVector< int > *pages)
 
bool ReadMemBoxes(int target_page, bool skip_blanks, const char *box_data, GenericVector< TBOX > *boxes, GenericVector< STRING > *texts, GenericVector< STRING > *box_texts, GenericVector< int > *pages)
 
const int kBoxReadBufSize
 
STRING BoxFileName(const STRING &image_filename)
 
void MakeBoxFileStr(const char *unichar_str, const TBOX &box, int page_num, STRING *box_str)
 
bool ParseBoxFileStr(const char *boxfile_str, int *page_number, STRING *utf8_str, TBOX *bounding_box)
 
FILE * OpenBoxFile(const STRING &fname)
 
bool ReadNextBox(int *line_number, FILE *box_file, STRING *utf8_str, TBOX *bounding_box)