Forum


Replies: 5   Views: 3734
Highlight - background color issue
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by admin  · 16-03-2015 - 09:17

Hello, Please open the file class/CreateText.inc, and replace these lines: if (!empty($args[1]['highlightColor'])) { $this->generateSHD($args[1]['highlightColor']); } (around line 310) by: if (!empty($args[1]['highlightColor'])) { $this->generateHIGHLIGHT($args[1]['highlightColor']); } and: if (!empty($texts['highlightColor'])) { $this->generateSHD($texts['highlightColor']); } (around line 410) by: if (!empty($texts['highlightColor'])) { $this->generateHIGHLIGHT($texts['highlightColor']); } Thanks for posting the issue. This minor change solves the issue. Regards.