CFBWriter

Overview

CFBWriter is a class in Aspose.Cells FOSS for Python.

Writes CFB (Compound File Binary) files according to MS-CFB specification.

Properties

NameTypeAccessDescription
sector_size``ReadRepresents the size of a sector in bytes
major_version``ReadRepresents the major version number of the compound file format
sector_shift``ReadRepresents the bit shift used to calculate sector size
root``ReadRepresents the root storage node of the compound file

Methods

SignatureDescription
__init__(sector_size)
add_stream(name, data, force_regular)Adds a named stream with data to the compound file, optionally forcing regular storage
write(file_path)Writes a CFB file with EncryptionInfo and EncryptedPackage streams to the specified file path
walk(node)Traverses the storage hierarchy starting from a node

See Also