I'm thinking about replacing our mail-merge functionality in our application, currently built using a WebBrowser control put into DesignMode for editing, with a RichTextEdit (the built-in TX TextControl type).
For this to work, it would have to be able to load our existing HTML templates from the user'sĀ files, and replicate their appearance fairly exactly, and be able to save them to RTF that also replicates the appearance fairly exactly. (According to the Help, there are some issues with images if you save back to HTML, which is why I say we would save back to RTF.)
However, in the Help for the InsertDocument function, it says that there is "No support for formatted tables". We use tables a fair bit in our HTML template layouts.
If I load an HTML file into the RTE, it looks reasonably OK:
But if I print it, I get absolute garbage - either an entirely blank page, if saved to PDF with the Microsoft Print to PDF driver, or just some weird lines and an occasional random letter, if printed to my printer.
Any thoughts? Just give up on this idea immediately? Thanks.
With the 15.0 version, there's other problems, like one image being linked to a temporary file and an image copied and pasted from a different program being embedded in binary. (you can check using a file copied from paint.exe or using the "snipping" tool of windows).
https://www.appeon.com/standardsupport/track/view?id=5954
Then there's other problems like ctrl+Z Undo not working correctly. It's just such a slow never ending process of trying to get a 100% correctly working rich text edit control that personally I've given up after 3 years.
We do still use it, as it's going to cost me quite a bit adapting all of our code and I'm not in a hurry as I would like the new webbrowser control to become a bit more mature first.
regards