MCPcopy Index your code
hub / github.com/clips/pattern / LTTextBoxHorizontal

Class LTTextBoxHorizontal

pattern/web/pdf/layout.py:402–410  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

400 self.index, bbox2str(self.bbox), self.get_text()))
401
402class 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
412class LTTextBoxVertical(LTTextBox):
413

Callers 1

get_textboxesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…