Page 1 of 1

RVF to PDF : footer is vertical

Posted: Mon Mar 12, 2018 10:59 am
by NeeeeB
Hi,
I'm trying to generate a PDF from RVF (with llPDFLib as in your demo).
No matter what I do, my footer is always displayed vertically (in the PDF, in the ScaleRichView it is ok) :
(I can't post picture but instead of 'Test' at the bottom of the page, I get
'
T
e
s
t
'

This is what I do :

Code: Select all

FileName:= IncludeTrailingPathDelimiter(FXMLFolder) + 'tmpText.rtf';
   SRve_Content.RichViewEdit.SaveRTF( FileName, False );
   RVReportHelper.RichView.LoadRTF( FileName );
I've also tried not to save footer in the RTF, and then add it when the RTF is loaded in the ReportHelper by doing this :

Code: Select all

FileName:= IncludeTrailingPathDelimiter(FXMLFolder) + 'tmpText.rtf';
   SRve_Content.RichViewEdit.SaveRTF( FileName, False );
   RVReportHelper.RichView.LoadRTF( FileName );
   Rvh_Footer.RichView.AddTextNL( 'test', GetHeaderFontIndex( 1 ), -1, 0 );
Same result, my footer is vertical...
Any idea what I'm doing wrong ? thx

Re: RVF to PDF : footer is vertical

Posted: Mon Mar 12, 2018 2:47 pm
by Sergey Tkachenko
Can you send me a sample project and document for testing?

richviewgmailcom