DocFileReader
Overview
DocFileReader is a class in Aspose.Words for Python.
Reads Word 97-2003 (.doc) files and produces the same data structures
as DocumentReader (for .docx), enabling transparent format support.
Methods
| Signature | Description |
|---|---|
__init__() | |
load_file(filepath: Union[str, Path]) | Load .doc from file path. |
load_stream(stream: BinaryIO) | Load .doc from stream. |
load_bytes(data: bytes) | Load .doc from bytes. |
to_light_document() → ldm.Document | Build a light_document_model.Document from the loaded DOC file. |