PHPOffice / PHPWord

A pure PHP library for reading and writing word processing documents
https://phpoffice.github.io/PHPWord/
Other
7.28k stars 2.7k forks source link

Templateprocessor not apply font for tables #2500

Open sookoll opened 1 year ago

sookoll commented 1 year ago

Describe the Bug

If creating table (without any styles) and injecting it with templateProcessor->setComplexBlock, it will always be in Calibri 10 font, regardless what font is set in template file.

Expected Behavior

Table should be created with font and font size currently set in template file

Current Behavior

Table is created with Calibri 10 font

Context

Please fill in your environment information: