Paper Office
paper-docxAPI referencepackage

PatchSaveResult

paper-docx 0.2.0 API reference

Outcome of a patch_save call.

PatchSaveResult(restored_parts: Tuple[str, ...], changed_parts: Tuple[str, ...], added_parts: Tuple[str, ...], removed_parts: Tuple[str, ...], verbatim_copy: bool)

Attributes

added_parts

attributeadded_partsTuple[str, ...]

changed_parts

attributechanged_partsTuple[str, ...]

removed_parts

attributeremoved_partsTuple[str, ...]

restored_parts

attributerestored_partsTuple[str, ...]

verbatim_copy

attributeverbatim_copybool

Functions

to_dict

functo_dict() -> dict

Returns

dict

On this page