Creates a box file string from a unichar string, TBOX and page number.
| 224 | |
| 225 | // Creates a box file string from a unichar string, TBOX and page number. |
| 226 | void MakeBoxFileStr(const char* unichar_str, const TBOX& box, int page_num, |
| 227 | STRING* box_str) { |
| 228 | *box_str = unichar_str; |
| 229 | box_str->add_str_int(" ", box.left()); |
| 230 | box_str->add_str_int(" ", box.bottom()); |
| 231 | box_str->add_str_int(" ", box.right()); |
| 232 | box_str->add_str_int(" ", box.top()); |
| 233 | box_str->add_str_int(" ", page_num); |
| 234 | } |
| 235 |
no test coverage detected