RVF to PDF : footer is vertical

ScaleRichView support and discussion (TRichView add-on for WYSIWYG editing)
Post Reply
NeeeeB
Posts: 3
Joined: Mon Mar 12, 2018 10:50 am

RVF to PDF : footer is vertical

Post 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
Sergey Tkachenko
Site Admin
Posts: 17522
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: RVF to PDF : footer is vertical

Post by Sergey Tkachenko »

Can you send me a sample project and document for testing?

richviewgmailcom
Post Reply