Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Move parent subform when page break occurs in child subform

Avatar

Level 1

Hello,

Assuming we have PDF form with following structure:

....

Subform1

     Subform2

          ...   

is there a possibility to do a conditional page break  when Subform2 is last element on current page?

So - move whole Subform1 to next page if Subform2 is last element on page - so Subform 1 and 2 are always on one page

and Subform2 can be splitted on several pages.

The situation is not to have Subform1 alone at the bottom of the page (it can occurs anywhere on page - all form is composed of dynamic-size tables).

All subforms are using Flowed positioning.

For now seems that there is no possibility to get x,y coordinates in Conditional Break script - probably it is executed before layout:ready event.

Before that event there is no possibility to get information about pagination - am I right?

Are there any possibilities to get such functionality?

Kind Regards,

Jacek

0 Replies