Bases: object
Representation of the ODF file.
Make a copy of this container with no path.
Mark a part for deletion.
Get the bytes of a part of the ODF.
Get the list of members.
Save the container to the given target, a path or a file-like object.
Package the output document in the same format than this document, unless “packaging” is different.
Arguments:
target – str or file-like
packaging – ‘zip’ or ‘flat’, or for debugging purpose ‘folder’
backup – boolean
Replace or add a new part.
Return an odf_container instance of the ODF document stored at the given local path or in the given (open) file-like object.
Return an odf_container instance based on the given template.