MsgDocument
개요
MsgDocument은 Aspose.Email FOSS의 Python용 class입니다.
CFB writer를 통해 직렬화될 수 있는 가변형 MSG 문서 모델입니다.
이 class는 Python 프로그램에서 MsgDocument 객체를 다루기 위한 4개의 메서드를 제공합니다. 사용 가능한 메서드에는 build_storage, from_file, from_reader, to_cfb_document이(가) 포함됩니다. 모든 public 멤버는 Aspose.Email FOSS for Python 패키지를 설치한 후 any Python 애플리케이션에서 접근할 수 있습니다. 속성: major_version, minor_version, root, strict, transaction_signature_number.
속성
| 이름 | 유형 | 액세스 | 설명 |
|---|---|---|---|
root | MsgStorage | 읽기/쓰기 | 루트를 가져오거나 설정합니다. |
major_version | int | 읽기/쓰기 | 주 버전을 가져오거나 설정합니다. |
minor_version | int | 읽기/쓰기 | 마이너 버전을 가져오거나 설정합니다. |
transaction_signature_number | int | 읽기/쓰기 | 거래 서명 번호를 가져오거나 설정합니다. |
strict | bool | 읽기/쓰기 | strict를 가져오거나 설정합니다. |
메서드
| 시그니처 | 설명 |
|---|---|
from_reader(reader: MsgReader) → "MsgDocument" | MsgReader 인스턴스로부터 MsgDocument을(를) 생성합니다 |
build_storage(entry: DirectoryEntry, role: str) → MsgStorage | DirectoryEntry와 역할 문자열을 사용하여 MsgStorage을(를) 구성합니다 |
| `from_file(path: Path | str, strict: bool)→“MsgDocument”` |
to_cfb_document() → CFBDocument | MsgDocument을(를) CFBDocument로 변환합니다. |