- Daniel Vivier
- PowerBuilder
- Wednesday, 26 May 2021 05:29 PM UTC
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.
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.