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.

속성

이름유형액세스설명
rootMsgStorage읽기/쓰기루트를 가져오거나 설정합니다.
major_versionint읽기/쓰기주 버전을 가져오거나 설정합니다.
minor_versionint읽기/쓰기마이너 버전을 가져오거나 설정합니다.
transaction_signature_numberint읽기/쓰기거래 서명 번호를 가져오거나 설정합니다.
strictbool읽기/쓰기strict를 가져오거나 설정합니다.

메서드

시그니처설명
from_reader(reader: MsgReader) → "MsgDocument"MsgReader 인스턴스로부터 MsgDocument을(를) 생성합니다
build_storage(entry: DirectoryEntry, role: str) → MsgStorageDirectoryEntry와 역할 문자열을 사용하여 MsgStorage을(를) 구성합니다
`from_file(path: Pathstr, strict: bool)→“MsgDocument”`
to_cfb_document() → CFBDocumentMsgDocument을(를) CFBDocument로 변환합니다.

참조

 한국어