Avatar

Not applicable

Hi

Problem

I have a Table, with a headerRow a BodyRow (can pageBreak) and a FooterRow.

More specifically

  • headerrow = column specification
  • bodyrow = product-data
  • footerrow = total-section

Goal

We want the footerrow to be positioned at the bottom of the currentPage if there is enough space and no pageBreak occurs

We want the footerrow to be positioned at the top of the page if no preceding bodyrows occur on the same page.

Solution

We tried working with a dummy subform to modify it's height based on calculations of the last bodyrow and it's own height compared to the max y value of the page currently visiting.

However, this does not work as it seems some attributes are hidden or not accessible using xfa.resolveNode. We work with several flowed forms, I think that is the rootCause of the hidden height & y values.