pdftools_toolbox.pdf.removal_strategy

Classes

RemovalStrategy(value)

Removal strategy for pdftools_toolbox.pdf.page_copy_options.PageCopyOptions.signed_signatures .

class pdftools_toolbox.pdf.removal_strategy.RemovalStrategy(value)[source]

Bases: IntEnum

Removal strategy for pdftools_toolbox.pdf.page_copy_options.PageCopyOptions.signed_signatures .

Signed digital signatures are always invalidated when copying a page and therefore have to be removed. This property specifies, whether the visual representation of the signature is preserved.

Variables:
  • FLATTEN (int) – The elements are removed but the visible representation is retained.

  • REMOVE (int) – The elements are removed completely.

FLATTEN = 2
REMOVE = 3