web analytics

How to force the last page in fo:page-sequence to be an even-page?

Options

codeling 1599 - 6654
@2016-02-25 21:36:37

You can force the last page in fo:page-sequence to be an even-page by specifying force-page-count="end-on-even" for the fo:page-sequence. When the final page is an odd-page, the additional page is put on the end of the sequence.

 <fo:page-sequence master-reference="main" force-page-count="end-on-even">

....

</fo:page-sequence>

Comments

You must Sign In to comment on this topic.


© 2024 Digcode.com