Autopagebreak

Knowledge exchange related to the VPE Report Engine and PDF Library

Moderator: IDEAL Software Support

Autopagebreak

Postby alanguille » Tue Jun 19, 2007 4:12 pm

We just change our VPE Version from 3.10 to 3.60 and AutoPagebreak seems to behave differently in 3.60 : when autopagebreak mode is on, if y < bottommargin and y2 <> vfree (and y2 > bottommargin) and (y + "renderheight") > bottommargin, a page break is done and the program is then in a dead end (as on the next page, we start again with the same y...)
Accordingly to your help, a page break should occur only if y2 is set to VFREE (or y > VBOTTOMMARGIN but it is not the case here), so I wonder if it is a bug of the version 3.60, as it was working as expected in 3.10.

We have many programs potentially impacted.
alanguille
 
Posts: 15
Joined: Fri Oct 27, 2006 1:51 pm

Postby IDEAL Software Support » Wed Jun 20, 2007 7:54 am

This behaviour was changed in v3.20 back in January 2002.

If you look at the current manual (of v3.60) it is written there:

Text / RTF is broken to the next page only if
nBottom of the object > nBottomMargin


If your program runs into an endless loop, you should set the AutoBreakMode = AUTO_BREAK_NO_LIMITS while processing the event, or you should modify the OutRect.

Does this help?

Regards
Thorsten Radde
IDEAL Software GmbH
IDEAL Software Support
 
Posts: 1622
Joined: Thu Nov 18, 2004 4:03 pm

Postby alanguille » Wed Jun 20, 2007 8:42 am

Thanks for your answer.

We have already started to correct some of our programs by setting AutoBreakMode = AUTO_BREAK_NO_LIMITS while processing our event and, as it seems to be the only solution, we will correct all of them this way.

Regards
alanguille
 
Posts: 15
Joined: Fri Oct 27, 2006 1:51 pm


Return to VPE Open Forum

Who is online

Users browsing this forum: No registered users and 70 guests