php - Insert html to .docx -


i use phpoffice/phpword work document templating, example can found here: https://github.com/phpoffice/phpword/blob/master/samples/old/template.php.

the problem need insert formatted text html code generated wysiwyg editor. can't do:

$document->setvalue('value1', '<span>sun</span>'); 

document generation error, guess because library can't parse html along openxml. need is, probably, convert html first openxml, tried get:

enter image description here

i don't know. idea or suggestion how deal ? apreciated. thanks.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -