| 400 | self.index, bbox2str(self.bbox), self.get_text())) |
| 401 | |
| 402 | class LTTextBoxHorizontal(LTTextBox): |
| 403 | |
| 404 | def analyze(self, laparams): |
| 405 | LTTextBox.analyze(self, laparams) |
| 406 | self._objs = csort(self._objs, key=lambda obj: -obj.y1) |
| 407 | return |
| 408 | |
| 409 | def get_writing_mode(self): |
| 410 | return 'lr-tb' |
| 411 | |
| 412 | class LTTextBoxVertical(LTTextBox): |
| 413 |
no outgoing calls
no test coverage detected
searching dependent graphs…