DocFileReader
Overview
DocFileReader is a class in Aspose.Words FOSS for Python.
Inherits from: DocTableBuilderMixin, DocFileReaderCore.
Full DOC reader with LDM (Light Document Model) building capability.
This class provides 5 methods for working with DocFileReader objects in Go programs.
Available methods include: __init__, load_bytes, load_file, load_stream, to_light_document.
All exported members are accessible to any Go application after adding the package via go get github.com/aspose-pdf-foss/aspose-pdf-foss-for-go.
Methods
| Signature | Description |
|---|---|
to_light_document() → ldm.Document | Converts the source file into a lightweight ldm.Document object |
__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. |