HTML output like TExtraDevices
I have a very simple message like report. This Report is intended for
emailing Appointment confirmations. There are no Images on this just some
plain text and some bold text.
All messages are created and stored in RB archive format. Then from the
archive I print to HTML file Device (Report.PrintToDevices) and Email
through outlook.
TExtraDevices creates a single HTML file with the Bold text and regular text
all in HTML format and that is what I want.
RB creates an html file and a bunch of Images for the text. That is not
what I want.
Is there a way to do this in RB? Trying to get away from TExtraDevices since
it has not been update for a long while.
Using Delphi Berlin and RB 17.02 at the moment.
Thanks you
emailing Appointment confirmations. There are no Images on this just some
plain text and some bold text.
All messages are created and stored in RB archive format. Then from the
archive I print to HTML file Device (Report.PrintToDevices) and Email
through outlook.
TExtraDevices creates a single HTML file with the Bold text and regular text
all in HTML format and that is what I want.
RB creates an html file and a bunch of Images for the text. That is not
what I want.
Is there a way to do this in RB? Trying to get away from TExtraDevices since
it has not been update for a long while.
Using Delphi Berlin and RB 17.02 at the moment.
Thanks you
This discussion has been closed.
Comments
The HTML device uses the TppXHTMLUtilities.IsStandardWebFont routine
located in the ppXHTMLUtilities.pas file to determine if the text will
be rendered as an image or text.
Using the fonts defined in this routine will ensure the report is
exported as a single file.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
You are right about that but I do not have control over user Templates.
The interesting part is if I force IsStandardWebFont :=true for any font I
get what I want.
Can we make that an option in the future or is there a way to achieve what I
want without modifying the source?
release.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com