CFBDocument
概述
CFBDocument 是Python的Aspose.Email FOSS中的一个类.
变性复合文件二进制 (CFB) 文档描述.
本类提供了在Python程序中使用CFBDocument对象的3种方法. 有的方法包括: build_storage, from_file, from_reader. 在安装Python包的Aspose.Email FOSS后,所有公众成员都可以访问任何 Python 应用程序. 特性: major_version, minor_version, root, transaction_signature_number.
属性
| 名称: | 类型 | Access | 描述情况 |
|---|---|---|---|
root | CFBStorage | 阅读/写作 | 获取或设置根。. |
major_version | int | 阅读/写作 | 获取或设置主版本。. |
minor_version | int | 阅读/写作 | 获取或设置次要版本。. |
transaction_signature_number | int | 阅读/写作 | 获取或设置事务签名编号。. |
方法
| Signature | 描述情况 |
|---|---|
from_reader(reader: CFBReader) → "CFBDocument" | 从给定的 CFBReader 创建一个 CF B Document 的实例. |
build_storage(entry_id: int) → CFBStorage | 返回表示指定输入ID的存储空间的 CFBStorage |
| `from_file(path: Path | str)→“CFBDocument”` |