DocumentReader
Overview
DocumentReader is a class in Aspose.Words for Python.
Reads DOCX documents and produces abstracted data structures.
Methods
| Signature | Description |
|---|---|
__init__() | |
load_file(filepath: Union[str, Path]) | Load DOCX from file path. |
load_stream(stream: BinaryIO) | Load DOCX from stream. |
load_bytes(data: bytes) | Load DOCX from bytes. |
to_light_document() → ldm.Document | Build a light_document_model.Document from the loaded DOCX. |