Export Header/Footer to RTF

General TRichView support forum. Please post your questions here
Cosimo

Export Header/Footer to RTF

Post by Cosimo »

Hi all,

I have 2 RichView on my form: RichView1 is the body of my document, RichView2 is its header/footer.

I can print header using RVPrint1.SetHeader(RichView2.RVData).

Now I need to export my header + document to a RTF file.

How can I do it? The RichView1.SaveRTF() method save only the body, but not the header.


Thanks in advance,
Cosimo.
Yernar Shambayev
Posts: 57
Joined: Wed Aug 31, 2005 6:46 pm

Post by Yernar Shambayev »

use OnSaveRTFExtra event
Sergey Tkachenko
Site Admin
Posts: 17534
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Unfortunately, it's not so trivial.

OnSaveRTFExtra can be used to save plain text headers, or headers with some simple formatting.

Saving arbitrary TRichView document as RTF header is not possible in the current version.
Cosimo
Posts: 6
Joined: Tue Aug 30, 2005 2:58 pm
Location: Italy

Post by Cosimo »

Sergey Tkachenko wrote:Unfortunately, it's not so trivial.

OnSaveRTFExtra can be used to save plain text headers, or headers with some simple formatting.

Saving arbitrary TRichView document as RTF header is not possible in the current version.
mmmh... ok. Is it planed for next version of TRichView? I'm very interested to buy the site licence... but I need that function :wink:

Thanks for support,
Cosimo.
Sergey Tkachenko
Site Admin
Posts: 17534
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Well, really? :)

It's not so hard to make a "quick and dirty" solution for this problem.
So, if you are satisfied with other TRichView feature, consider this function done
Cosimo
Posts: 6
Joined: Tue Aug 30, 2005 2:58 pm
Location: Italy

Post by Cosimo »

Sergey Tkachenko wrote:Well, really? :)

It's not so hard to make a "quick and dirty" solution for this problem.
So, if you are satisfied with other TRichView feature, consider this function done
Hi Sergey, what's new on this topic?

I really need that function... :wink:
Sergey Tkachenko
Site Admin
Posts: 17534
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Thank you for ordering Site License :)
Please remind me when I upload the next update (supporting page breaks in table cells), I'll immediately start working on this problem.
Cosimo
Posts: 6
Joined: Tue Aug 30, 2005 2:58 pm
Location: Italy

Post by Cosimo »

Sergey Tkachenko wrote:Thank you for ordering Site License :)
Please remind me when I upload the next update (supporting page breaks in table cells), I'll immediately start working on this problem.
Ok! :wink:

Thanks,
Cosimo.
radekg
Posts: 1
Joined: Fri Jun 01, 2007 11:32 am

Post by radekg »

Sergey Tkachenko wrote:Thank you for ordering Site License :)
Please remind me when I upload the next update (supporting page breaks in table cells), I'll immediately start working on this problem.
Is there any update on this issue?

Thanks,
Radek.
Sergey Tkachenko
Site Admin
Posts: 17534
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Sorry, it still not complete, implementing page breaks in tables took too long time. It will be implemented next.
Ladig
Posts: 15
Joined: Thu Feb 14, 2008 12:22 pm

Post by Ladig »

Sergey Tkachenko hat Folgendes geschrieben:
Thank you for ordering Site License Smile
Please remind me when I upload the next update (supporting page breaks in table cells), I'll immediately start working on this problem.


Is there any update on this issue?
Can I save now Header und Footer in rtf, if yes how?

Thanks,
Andre
Sergey Tkachenko
Site Admin
Posts: 17534
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Please wait, it will be only after releasing the next major update
Ladig
Posts: 15
Joined: Thu Feb 14, 2008 12:22 pm

Post by Ladig »

How long I must still wait. I´s important for my project. :?

Thanks,
Andre
Sergey Tkachenko
Site Admin
Posts: 17534
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

I'll implement it as soon as it will be possible after releasing the next update. This update is almost ready, we just need to finishing web site update translation to several languages.
This update must be stable, so I do not plan to make serious changes in code before releasing it, sorry.
Ladig
Posts: 15
Joined: Thu Feb 14, 2008 12:22 pm

Post by Ladig »

Can I save header/footer in rtf now with the new version. :?:
Post Reply