Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #26404

    We are producing a document which needs different insets on the first page than all other pages. I tried to simulate this by (ab)using a dynamic page marker and generate a specific header (div style=height: xypx) for the first and all other pages. But it appears like the layouting engine doesn’t really take the headers/footers into account.

    Is there a way to define dynamic insets? Perhaps similar to the current pagemarker model? Otherwise we would have to fall back to use multiple pd4ml runs and concat everything together with iText. But we’d rather use one tool for this project.

    Thanks for your help!


    The feature is not supported. The reason is following: left and right insets are values, which define final HTML-to-PDF scale factor. If they change itself from page to page, it will cause the corresponding scale changes, which is not desired.

    If you need to change only top and bottom insets/margins, you may achieve that with empty inline headers/footers. See and tags and their scope attribute.

Viewing 2 posts - 1 through 2 (of 2 total)

The forum ‘General questions / FAQ’ is closed to new topics and replies.