Skip to content

Commit 3b12b4e

Browse files
Azamat8405OlisaevAGProgi1984
authored
Documentation : Improved docs/usage/writers.md (PHPOffice#2732)
* Update composer.json azamat8405/phpword * fix: package name * feat: addition in documentation related to phpword.ini * Update docs/usage/writers.md Co-authored-by: Progi1984 <[email protected]> --------- Co-authored-by: OlisaevAG <[email protected]> Co-authored-by: Progi1984 <[email protected]>
1 parent cd7d1a2 commit 3b12b4e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Diff for: docs/usage/writers.md

+7
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,13 @@ Settings::setPdfRendererName(Settings::PDF_RENDERER_MPDF);
110110
Settings::setPdfRendererPath(__DIR__ . '/../vendor/mpdf/mpdf');
111111
```
112112

113+
or you can edit settings in phpword.ini ( or phpword.ini.dist) file.
114+
115+
``` ini
116+
pdfRendererName = MPDF ;DomPDF, TCPDF, MPDF
117+
pdfRendererPath = /path/to/your/renderer/folder
118+
```
119+
113120
## RTF
114121
The name of the writer is `RTF`.
115122

0 commit comments

Comments
 (0)