PHPWord icon indicating copy to clipboard operation
PHPWord copied to clipboard

A pure PHP library for reading and writing word processing documents

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

Currently odt - reader and writer only suport "text:" nodes. Please add support for table:\* nodes as well. --- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/29876586-add-odt-table-support?utm_campaign=plugin&utm_content=tracker%2F323108&utm_medium=issues&utm_source=github)** We...

Change Request
Open Document (ODT)

### Describe the bug and add attachments When we use cloneBlock in the template and assign values, the content of the document is formatted by default with different styles than...

Bug Report
Template Processor

When I read docx and then save it, it doesn't look like original document. It has no equal styles for text block and tables and there are new line breaks....

Hi, I have a problem with image alignment in ODT files. I'm generating both DOCX and ODT from this code: ODT ``` $phpWord = new \PhpOffice\PhpWord\PhpWord(); $section = $phpWord->addSection(); $section->addImage("images/logo.jpg",array('alignment'=>...

### Describe the Bug When attempting to add text with `...` or `...` tags using `Html::addHtml` and placing it into a Section or Table Cell, the resulting text has unwanted...

Bug Report

### Description Add support for the firstLineChars style in Word2007. ![微信截图_20240902103751](https://github.com/user-attachments/assets/a9576b53-2bf4-4a16-8860-27e090e9efd9) Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context....

I've added this feature both for texts and inline images. It's available in pull requests or at https://github.com/anrikun/PHPWord/commit/de25f88f060ac7288079744de8aa935eaf733bf8.patch --- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/27461061-docx-add-support-for-vertically-raised-or-lowered-text-w-position?utm_campaign=plugin&utm_content=tracker%2F323108&utm_medium=issues&utm_source=github)** We...

Change Request
Open XML (Word 2007+)

According to documentation this should write a 100% width table but width is ignored: ``` php $table_style = array( 'unit' => \PhpOffice\PhpWord\Style\Table::WIDTH_PERCENT, 'width' => 100 * 50, ); $php_word->addTableStyle('myTable', $table_style);...

Bug Report

Hello, amigo! I encounter a little quiz about " The gray part of chxbox is the bgColor or fgColor or neither" and i try it as below: $chxStyle=array('size'=> 8,'bgColor'=>'ffffff','fgColor'=>'blue'); $textrun1->addFormField('checkbox')->setFontStyle($chxStyle);...

Bug Report
Open XML (Word 2007+)

Just following PHPWord Sample01 until **line 25** (https://github.com/PHPOffice/PHPWord/blob/develop/samples/Sample_01_SimpleText.php) and output to HTML file And it simply don't format my text correcty using "addFontStyle". Output ``` html PHPWord * {font-family: Arial;...

Bug Report
HTML