Rich Edit
Hi!
I'm using D5 sp1, RB5.55
I'm planing to display some rtf files in my RB program, I need the latest
features of the rtf format, But I'm unable when I
use pictures or tables. I Just save my work from MSWord 2000 as RTF and it
fails to load when I use such features.
I suppose my control engine is using an older version of RTF.
Does the latest version of Report Builder supports the latest features of
RTF?
If not is there a known work arround?
(I already bought the latest version buy I haven't installed it yet because
I need to evaluate the impact in the reports saved in my database)
Thanks in Advance
Juan Jose.
I'm using D5 sp1, RB5.55
I'm planing to display some rtf files in my RB program, I need the latest
features of the rtf format, But I'm unable when I
use pictures or tables. I Just save my work from MSWord 2000 as RTF and it
fails to load when I use such features.
I suppose my control engine is using an older version of RTF.
Does the latest version of Report Builder supports the latest features of
RTF?
If not is there a known work arround?
(I already bought the latest version buy I haven't installed it yet because
I need to evaluate the impact in the reports saved in my database)
Thanks in Advance
Juan Jose.
This discussion has been closed.
Comments
----------------------------------------------
Article: ReportBuilder's RichText architecture
----------------------------------------------
The RichText in ReportBuilder is a wrapper around Delphi's TRichEdit which
in turn relies on Windows. There are two versions of Windows richedit -
RichEd32.dll is the older one and RichEd20.dll is a newer one (RichEd32 is
being phased out). Delphi by default relies on RichEd32 - the older version.
To use some of the more advanced features of Windows RichEdit, see the topic
on InfoPower RichEdit Support below.
In general Windows RichEdit supports the type of formatting that you can do
using WordPad.
InfoPower RichEdit Support
---------------------------
InfoPower from Woll2Woll Software is a popular database add-on product for
Delphi. InfoPower's TwwRichEdit components support the Windows RichEdit2
format. This format allows the rich text data to contain embedded bitmaps
and OLE objects. For more information please see http:\\www.Woll2Woll.com.
ReportBuilder includes a component that enables the TppRichText and
TppDBRichText controls in ReportBuilder to use the formatting capabilities
of InfoPower's TwwRichEdit when rendering RTF data. The ppWWRichEd.pas unit
located in the ..\RBuilder\InfoPower directory defines a TwwDBRichEdit
descendant and then registers the class with ReportBuilder. This enables the
TppRichText and TppDBRichText controls in ReportBuilder to use the
formatting capabilities of TwwDBRichEidt when rendering data.
WPTools Support
----------------
WPTools is a collection of components used to edit and print formatted text.
With its own RTF engine, WPTools offers numerous features not supported by
the standard Windows RichEd20.dll. This control lets you use tables,
paragraph frames, headers and footers etc. Using the optional ReportBuilder
support units for WPTools 2.x, you can print the enhanced WPTools features
(justified text, tables, graphics...) within your ReportBuilder reports. For
more information please see http:\\www.wptools.de.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
I just installed RB7.02 and it seams that it can't do it, Please indicate me
a work arround. I have a component in Delphi JvxRichEdit from Jedi
Sourceforge and it can display the Pictures in RTF, Is there a way to
implement it inside the Report Builder 7.02.
Thanks.
Please answer
Juan Jose.
Is it "easy" to make a wrapper for this control to maket available inside
Report Builder? Where are the directions to make it?
Thanks
Juan Jose.
Is JvxRichEdit a TCustomRichEdit descendent? If it is, creating wrapper for
this control should be simple. Otherwise, it may be fairly difficult to
create an adapter.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
ReportBuilder's richtext edit component descends from TCustomRichEdit.
Therfore you would need to create an adapter class to allow the
TjvCustomRichEdit work with the TCustomRichEdit class.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com