pdftools_toolbox.pdf.content.ungrouping_selection

Classes

UngroupingSelection(value)

Used to control the behavior of content extraction.

class pdftools_toolbox.pdf.content.ungrouping_selection.UngroupingSelection(value)[source]

Bases: IntEnum

Used to control the behavior of content extraction. Groups in the content can either be extracted as pdftools_toolbox.pdf.content.group_element.GroupElement s, or their content can be unpacked, in which case groups’ content elements are extracted as if not belonging to a group.

Variables:
NONE = 0
SAFELY_UNGROUPABLE = 1
ALL = 2