RTF export with header/footer support
Hi,
I am making changes to the Waler export device for RTF. One thing I would
like, is to add rtf support for page headers and footers. This way a footer
in a report would be converted to a rtf footer. This makes editing the rtf
document for a user alot easier.
Before diving into it: Is it possible to know from inside what band a
drawcommand is generated? I think it's possible for TppDrawText objects by
using the component property and then the band property. But how about other
TppDrawCommand derived classes? Or should I proceed in a different
direction?
Using RB10.07, D7
Regards,
Jeroen R?ttink
I am making changes to the Waler export device for RTF. One thing I would
like, is to add rtf support for page headers and footers. This way a footer
in a report would be converted to a rtf footer. This makes editing the rtf
document for a user alot easier.
Before diving into it: Is it possible to know from inside what band a
drawcommand is generated? I think it's possible for TppDrawText objects by
using the component property and then the band property. But how about other
TppDrawCommand derived classes? Or should I proceed in a different
direction?
Using RB10.07, D7
Regards,
Jeroen R?ttink
This discussion has been closed.
Comments
Try using the TppDrawCommand.Band property. I believe this property is set
in the PropertiesToDrawCommand call of the TppComponent object which is an
ancestor to every report control.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com