PHPWord icon indicating copy to clipboard operation
PHPWord copied to clipboard

A pure PHP library for reading and writing word processing documents

Results 413 PHPWord issues
Sort by recently updated
recently updated
newest added

\PhpOffice\PhpWord\Settings::setZipClass(\PhpOffice\PhpWord\Settings::PCLZIP); $templateProcessor = new TemplateProcessor('static/WordTemplate/111.docx'); 报错 版本 php 7.3 phpword 0.18.2 在tp6中 #0 [2]ErrorException in [ZipArchive.php line 387]() count(): Parameter must be an array or an object that implements Countable

PHP version: 8.1 PHPWord version: 0.18.3 DomPDF versions: 1.1.0 - 1.2.2 PHPWord since its first versions generates page breaks [with non-standard `` tag](https://github.com/PHPOffice/PHPWord/blob/0.18.3/src/PhpWord/Writer/HTML/Element/PageBreak.php). It worked in pair with DomPDF perfectly...

Bug Report
Portable Document (PDF)

### Description Add more methods to deal with blocks * getVariablesWithoutBlocks - All variables except block macro's * getBlocks - All block names * keepBlock - Keep a blocks content...

### Description At the moment, PhpWord is not able to read an internal link to an existing heading. This is because the anchor is not detected in the reader. Here...

### Description In many projects, Devs are now using Cloud storage (such as AWS S3). So, having a word template in a S3 storage would force the dev to save...

### Description Microsoft Word permits printing documents folded as booklets or books. (See [Create a booklet or book in Word](https://support.microsoft.com/en-us/office/create-a-booklet-or-book-in-word-dfd94694-fa4f-4c71-a1c7-737c31539e4a)). ![Creating a booklet or book in Word](https://support.content.office.net/en-us/media/ff53cdfe-00f3-4c4e-9d94-2d28ab571c8e.png) Internally, this is...

### Description #1017 done again after 4 years

### Describe the Bug The method setChartValue() is undefined ### Steps to Reproduce Using this from documentation : source : [https://phpword.readthedocs.io/en/latest/templates-processing.html] $templateProcessor- = new \PhpOffice\PhpWord\TemplateProcessor("mytemplate.docx'); $categories = array('A', 'B', 'C',...

Bug Report

### Description The max-width attribute can be added in \ tags. Only actual width values can be used. Percentage (%) is not allowed. Sample_26_Html is modified to show the effect...

### Describe the Bug setImageValue results in empty string / no replacement. ### Steps to Reproduce Using a tag in a template `${property_image_1}` and replacing it like so: ``` $templateProcessor->setImageValue(...

Bug Report