Forum


Replies: 7   Views: 4022
Adding html to table symbol
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 darghon-blocked  · 07-11-2015 - 06:32

Hi, I've had loads to do, so I couldn't pick this back up until a week ago.

A lot of new versions have been released in meanwhile, but I'll address the issue more clearly now.

Users of my application add comments in a wysiwyg editor. These comments can be preformatted to contain tables, highlighting, pretty much "structured" content.

I'm attempting to generate a document listing several of those structured comments.

Meaning I have a table which lists those values.

The code gets the html value of the content, and passes it to the function "replaceTableVariable".

Reading through the code there, I understand why no html is added, because it created a simple xml node of the tablerow, and "blindlly" replaces the symbol with the content. which is than added before the original symbol row. (insertBeforeNode)

Is there any fix around this?

 

Thank you