Forum


Replies: 7   Views: 1793
How do i add a black dot
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  · 20-01-2020 - 09:33

Hello,

You need to install tidy to transform HTML to DOCX. You can also use addText to insert strings:

$html = '<p>Character &#9679; other</p>';
$docx->embedHTML($html);

$text = 'Character ' . html_entity_decode('&#9679;') . ' other';
$docx->addText($text);

The dot character can also be added directly instead of the encoded value.

Regards.