Beginedit PageSize

Please post bug reports, feature requests, or any question regarding the DELPHI AREA products here.

Beginedit PageSize

Postby Acheron » December 5th, 2012, 10:02 pm

Hello!

I've just started using TprintPreview, which is absolutaley great, however I cannot cope with the next problem:

I create a report with many pages. The pagenumbers can be in the format "actual page/sum of pages", and because of this, I can not know in advance the value of "sum pages".
So I decided to use Beginedit/Endedit pair on the actual pages, to write the pagenumbers. In the preview it looks all ok, but when I save it as a pdf, the result has Huuuuuge pages, with the upperleft corner containig the actual page graphic, and the pagenumber is on the other size of the paper.
If i replace this method with another one that does not use beginedit/endedit, the resulting pdf is correct, however thus I cannot write pagenums in this format.

Is this a bug ot I forgot about something?

Thank you in advance!
Acheron
Active Member
Active Member
 
Posts: 10
Joined: December 5th, 2012, 9:53 pm

Re: Beginedit PageSize

Postby Kambiz » December 6th, 2012, 7:19 pm

Hi,

I suppose you are using Synopse PDF library, right?
I had a similar problem with pages containing rich text when pdf was generated by Synopse.
As far as I know, the dsPDF does not have any problem.
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2408
Joined: March 7th, 2003, 7:10 pm

Re: Beginedit PageSize

Postby Acheron » December 6th, 2012, 7:37 pm

Hi!

Yes, you' re right! Just few minutes after posting this question yesterday did I realize that I should give dsPDF a try, and it did not produce the same problem. However it much slower and creates bigger files unfortunately.
So I think i will try to precalculate the number of pages so I won't have to use beginedit.
Acheron
Active Member
Active Member
 
Posts: 10
Joined: December 5th, 2012, 9:53 pm


Return to DELPHI AREA Products

Who is online

Users browsing this forum: No registered users and 1 guest

cron