Facing issues while html5 element "svg"

Aug 26, 2014 at 6:04 AM
Hi There,

Thanks for sharing this good component. I have checked and installed component in my web browser and working fine. But reference to my project requirement, I having html page which is type of report page which consists html5 elements "svg".

When I tried to export those elements in docx, it cant export it and printing "svg" html code in text format not in terms of graph representation in docx.

Can you please guide me further.

If required, share your email id so that will email to you reference html file to export


Thanks in advanced,
Ankit.
Coordinator
Sep 1, 2014 at 6:40 PM
I'm afraid it won't convert svg elements in its current form. See http://htmltodocx.codeplex.com/SourceControl/latest#htmltodocx_converter/h2d_htmlconverter.php and function htmltodocx_insert_html_recursive(). It will convert all the elements specified in the switch statement - eg. p, div, h1, h2, etc. Anything else and the contents of the element will be treated as text.