Re: incorrect first page top margin

Hussein Shafie <[email protected]> Sat, 30 Mar 2019 09:23:35 +0100
Newsgroups gmane.text.xml.xfc.general
Message-ID <[email protected]>
On 03/29/2019 02:16 PM, Nelson, Robert wrote:
> I have been stepping through the latest XMLMind XSL-FO code for RTF and
> from what I can tell it isn=92t possible to have the first page use
> different margins from the other pages.   Is this the case?  The XMLMind
> documentation would give me the impression it is supported but it sure
> seems like having special margins on the <simple-page-master> for the
> first page is ignored.
>
>   * As near as I can tell the best option I have is to have a
>     <region-before> defined for the first page and add the correct
>     amount of white space there to make it look like the first page has
>     a larger top margin.
>

If I understand correctly our own documentation, your "*" idea is =

exactly what I would do if I were faced to the same problem.

Excerpts from "4.9. Multiple page layouts",
http://www.xmlmind.com/foconverter/_distrib/doc/user/implementation.html#pa=
ge_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.
---

The key sentence here being "a single RTF section can handle different =

headers/footers on left/right/first pages, but does not allow page =

geometry changes".



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