On 03/28/2019 03:05 AM, Nelson, Robert wrote:
The attached XSL-FO is expected to result in:

  * First page top margin – 3.167in
  * Middle pages top margin – 1.667in
  * Last page tom margin – 1.667in



Unfortunately the first page margin is well under 3 inches.  It is
larger than the second page but I really wish it would honor the first
page margin.



The margins are the same between RTF and DOCX.  It is RTF that we are
looking to use.



Any suggestions?




Sorry but XMLmind XSL-FO Converter has limited support for XSL-FO 1.0 conditional-page-master-reference.

See XMLmind XSL-FO Converter Conformance Statement,
http://www.xmlmind.com/foconverter/conformance.html

However, even with this limited support, what you want to achieve works when generating ODT (OpenDocument, the format of OpenOffice/LibreOffice), rather RTF or DOCX.

Therefore you almost certainly face a limitation which is specific to RTF.

Excerpts from "4.9. Multiple page layouts",
http://www.xmlmind.com/foconverter/_distrib/doc/user/implementation.html#page_layout

---
XFC supports all conditional-page-master-reference element combinations that can be accommodated by a single RTF section. This means the following page sequence layouts are supported:

    - Single-sided layout.
    - Header page + single-sided layout.
    - Double-sided layout.
    - Header page + double-sided layout.

This applies to all output formats. Also, note that a single RTF section can handle different headers/footers on left/right/first pages, but does not allow page geometry changes, except for switching left and right margins on facing pages. This restriction does not apply to OpenDocument output.
---
Notice "but does not allow page geometry changes".



---
PS: You seem to use XSL-FO 1.1. Attribute page-position="any" is XSL-FO 1.1, not XSL-FO 1.0. See XSL-FO 1.0 conditional-page-master-reference:
https://www.w3.org/TR/2001/REC-xsl-20011015/slice6.html#fo_conditional-page-master-reference

--
XMLmind FO Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xfc-support

Reply via email to