LdmDocxWriter
Overview
LdmDocxWriter is a class in Aspose.Words FOSS for Python.
Convert an :class:ldm.Document into a DOCX file.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
options | `` | Read |
Methods
| Signature | Description |
|---|---|
__init__(options: Optional[object]) | |
write(doc: ldm.Document, output_path: Union[str, Path]) | Render doc and write the resulting .docx to disk. |
write_to_bytes(doc: ldm.Document) → bytes | Render doc and return the .docx as raw bytes. |