MCPcopy Create free account
hub / github.com/Paper2Poster/Paper2Poster / compute_bullet_length

Function compute_bullet_length

utils/wei_utils.py:585–590  ·  view source on GitHub ↗
(textbox_content)

Source from the content-addressed store, hash-verified

583 return log
584
585def compute_bullet_length(textbox_content):
586 total = 0
587 for bullet in textbox_content:
588 for run in bullet['runs']:
589 total += len(run['text'])
590 return total
591
592def check_bounding_boxes(bboxes, overall_width, overall_height):
593 """

Callers 2

_process_sectionFunction · 0.85
_process_sectionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected