RVF to PDF : footer is vertical
Posted: Mon Mar 12, 2018 10:59 am
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 :
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 :
Same result, my footer is vertical...
Any idea what I'm doing wrong ? thx
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 );
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 );
Any idea what I'm doing wrong ? thx