I was wondering what would the best way to implement this.
I am writing a php application which produces PDFs for html verions of invoices generated in an online accounting system. I have been very impressed with PrinceXML so far, but was wondering whether it is possible to do a conditional page-break-before rule on an element if the content of the first page exceeds a certain percentage of the page. The reason being is the footer I want to break should either sit on a single page or on a seperate page in its entirety, not have its contents split up over the two.
Can someone recommend the best way to achieve this? Is this possible using the page media CSS rules?
Thank you for your help.
I am writing a php application which produces PDFs for html verions of invoices generated in an online accounting system. I have been very impressed with PrinceXML so far, but was wondering whether it is possible to do a conditional page-break-before rule on an element if the content of the first page exceeds a certain percentage of the page. The reason being is the footer I want to break should either sit on a single page or on a seperate page in its entirety, not have its contents split up over the two.
Can someone recommend the best way to achieve this? Is this possible using the page media CSS rules?
Thank you for your help.