You are not logged in.
Pages: 1
Hello,
I found some strange behavior with PDF export.
I'm using the unmodified demo supplied with mORMot package (05 - Report created from code) with synPDF 1.18.
The document rendered into the preview form is perfect and also the printout is OK, but the PDF file generated lacks everything up to the first bitmap and the footer is present only starting from the second page.
The PDF file is opened with Acrobat Reader XI (with last updates) but I tested it also with PDF Architect 2 with same results.
I tried also to build the program with Delphi 7 (under XP) and Delphi XE5 (under W7-ultimate).
After some tests (commenting parts of source code into the demo) I realized that the DrawTitle and DrawText are not working properly.
Currently, as a workaround, to wite a text I'm using using AddColumns(); and DrawTextAcrossCols() which work fine, but I'm not able to do the same thing for the footer
Are there other test that I can do ?
I like this library very much, it's very simple to use and allows (forces) to separate tha data layer from the presentation layer.
Thanks for your time
Dave
Offline
I was not able to reproduce the issue.
Generating a PDF from the sample "05 - Report created from code" gives correct resulting file.
Try with the latest version of the units from our source code repository.
For instance, http://synopse.info/files/mORMotNightlyBuild.zip
or https://github.com/synopse/mORMot
Offline
Wonderful, the nightly build works fine
Many thanks for your very fast answer !
Dave
Offline
Pages: 1