RVOfficeConverter Problem with load Worddocument Header/Foot

General TRichView support forum. Please post your questions here
Post Reply
Jmich
Posts: 19
Joined: Mon Apr 30, 2007 10:10 am

RVOfficeConverter Problem with load Worddocument Header/Foot

Post by Jmich »

Hi,

I Would like to load my RVOfficeConverter with Word documents including header and footer loaded. but this is not working .

Word documents without header and footer work properly.

Has anyone a good solution - or is there none?

best greetings

Jmich
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

TRVReportHelper cannot display header and footer.
You need to load it in separate documents, for example another ReportHelpers.
To do it, call

Code: Select all

rvhMain.RichView.RTFReadProperties.SetHeader(rvhHeader.RichView.RVData);
rvhMain.RichView.RTFReadProperties.SetFooter(rvhFooter.RichView.RVData);
before loading RTF.
Jmich
Posts: 19
Joined: Mon Apr 30, 2007 10:10 am

Continues to be a problem with RCOfficeConverter

Post by Jmich »

I can unfortunately not do the code.

My call in the program is:
LoadDocFile ( 'D: \ Temp \ jm.doc', Richview1, RVOfficeConverter1);

The 'jm.doc'- has a file header. This header is a header of worddocument and not in Richview1 displayed.

What can be done and is perhaps the complete code execution.

Regards

Jmich
Post Reply