DocumentReader
개요
DocumentReader은 Aspose.Words for Python의 클래스입니다.
DOCX 문서를 읽고 추상화된 데이터 구조를 생성합니다.
메서드
| 시그니처 | 설명 |
|---|---|
__init__() | |
load_file(filepath: Union[str, Path]) | 파일 경로에서 DOCX를 로드합니다. |
load_stream(stream: BinaryIO) | 스트림에서 DOCX를 로드합니다. |
load_bytes(data: bytes) | 바이트에서 DOCX를 로드합니다. |
to_light_document() → ldm.Document | 로드된 DOCX에서 light_document_model.Document를 빌드합니다. |