#1 2015-03-30 10:31:26

davenardella
Member
From: Bari (Italy)
Registered: 2015-03-30
Posts: 2
Website

Invalid PDF Export (V 1.18)

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 sad

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

#2 2015-03-30 11:09:28

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,660
Website

Re: Invalid PDF Export (V 1.18)

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

#3 2015-03-30 12:30:47

davenardella
Member
From: Bari (Italy)
Registered: 2015-03-30
Posts: 2
Website

Re: Invalid PDF Export (V 1.18)

Wonderful, the nightly build works fine wink

Many thanks for your very fast answer !

Dave

Offline

Board footer

Powered by FluxBB