CFBWriter
Overview
CFBWriter is a class in Aspose.Cells FOSS for Python.
Writes CFB (Compound File Binary) files according to MS-CFB specification.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
sector_size | `` | Read | Represents the size of a sector in bytes |
major_version | `` | Read | Represents the major version number of the compound file format |
sector_shift | `` | Read | Represents the bit shift used to calculate sector size |
root | `` | Read | Represents the root storage node of the compound file |
Methods
| Signature | Description |
|---|---|
__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 |