PDA

View Full Version : Conversion to DOC with HTML format.


GzArIa
March 3, 2004, 16:15:40
Hi there,

I think my last post didn't work properly,

I have got a problem with TextControl, although understanding how it works with the properties etc. I can't figure out if there is a possibility to convert data to a DOC file with preformatted HTML tags.

The thing is that I have got already done huge asp reports and don't want to create the entire format and tablecreation in TextControl again. So is there a possibility of converting my data into DOC keeping the HTML format.

Thanks
GzArIa

Björn Meyer
March 4, 2004, 11:22:02
Hello

Sorry, I really don't understand your question. You want to create a DOC with HTML tags? Could you please explain this more detailed?

GzArIa
March 4, 2004, 11:32:28
thanks for the quick help,

well basically what I have at the moment is a huge report in HTML format, which includes tables with particular format etc.

Now as this code is quite long I don't want to rewrite it with the TextControl table properties, I just want to convert the HTML into a DOC file, but the word file should keep the same formats as the HTML file (eg, table background colour, cells etc.)

Hope this explains it, and hope u can help me.
Thanks
GzArIa

Björn Meyer
March 8, 2004, 12:43:16
Yes, this should be possible. Just load the HTML file into the TX Text Control and save it as a MS Word file. All table formattings should be preserved, if they are internally supported by TX Text Control.