CFBDocument

Overview

CFBDocument is a class in Aspose.Email FOSS for Python.

Mutable Compound File Binary (CFB) document description.

This class provides 3 methods for working with CFBDocument objects in Python programs. Available methods include: build_storage, from_file, from_reader. All public members are accessible to any Python application after installing the Aspose.Email FOSS for Python package. Properties: major_version, minor_version, root, transaction_signature_number.

Properties

NameTypeAccessDescription
rootCFBStorageRead/WriteGets or sets the root.
major_versionintRead/WriteGets or sets the major version.
minor_versionintRead/WriteGets or sets the minor version.
transaction_signature_numberintRead/WriteGets or sets the transaction signature number.

Methods

SignatureDescription
from_reader(reader: CFBReader)"CFBDocument"Creates a CFBDocument instance from the given CFBReader
build_storage(entry_id: int)CFBStorageReturns a CFBStorage representing the storage for the specified entry ID
from_file(path: Path | str)"CFBDocument"Loads a CFBDocument from a file path or Path object

See Also