Skip to content

Commit

Permalink
Documentation : Improved docs/usage/writers.md (PHPOffice#2732)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
3 people authored Jan 29, 2025
1 parent cd7d1a2 commit 3b12b4e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/usage/writers.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,13 @@ Settings::setPdfRendererName(Settings::PDF_RENDERER_MPDF);
Settings::setPdfRendererPath(__DIR__ . '/../vendor/mpdf/mpdf');
```

or you can edit settings in phpword.ini ( or phpword.ini.dist) file.

``` ini
pdfRendererName = MPDF ;DomPDF, TCPDF, MPDF
pdfRendererPath = /path/to/your/renderer/folder
```

## RTF
The name of the writer is `RTF`.

Expand Down

0 comments on commit 3b12b4e

Please sign in to comment.