(self, obj)
| 347 | return |
| 348 | |
| 349 | def add(self, obj): |
| 350 | if isinstance(obj, LTChar) and self.word_margin: |
| 351 | margin = self.word_margin * obj.width |
| 352 | if self._x1 < obj.x0-margin: |
| 353 | LTContainer.add(self, LTAnon(' ')) |
| 354 | self._x1 = obj.x1 |
| 355 | LTTextLine.add(self, obj) |
| 356 | return |
| 357 | |
| 358 | def find_neighbors(self, plane, ratio): |
| 359 | h = ratio*self.height |
no test coverage detected