Forum


Replies: 1   Views: 2164
Ooxml to html
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 schmidko  · 28-07-2017 - 13:57

Hi all,

I have a question about the features of this library.

Can I convert a raw OOXML string to HTML and back?

And is DOCX the same like OOXML or what is the difference?

I have a OOXML string and need html from it.

Thx

Posted by admin  · 29-07-2017 - 07:39

Edited by admin · 15-06-2020 - 11:56

Hello,

phpdocx 9 and newer versions allow to transform DOCX to HTML using the following method available in Advanced and Premium licenses:

https://www.phpdocx.com/api-documentation/format-conversion/transform-docx-html-using-native-php-classes

phpdocx can also transform HTML to DOCX using this method:

https://www.phpdocx.com/api-documentation/word-content/embed-html-Word-document-with-PHP

OOXML is the XML file format used by DOCX documents (https://en.wikipedia.org/wiki/Office_Open_XML).

Regards.