MCPcopy
hub / github.com/ArtifexSoftware/pdf2docx / sub_line

Method sub_line

pdf2docx/layout/Blocks.py:204–205  ·  view source on GitHub ↗
(block)

Source from the content-addressed store, hash-verified

202
203 # get sub-lines from block: line or table block
204 def sub_line(block):
205 return block if isinstance(block, Line) else Line().update_bbox(block.outer_bbox)
206
207 # exclude potential shading in white bg-color
208 shadings_exclude_white = list(filter(

Callers

nothing calls this directly

Calls 2

LineClass · 0.90
update_bboxMethod · 0.45

Tested by

no test coverage detected