Re: region-before with fo:block-container only on first page

You can give special name to region-before on the first page
using region-name attribute and then fill static content to it only.

<fo:simple-page-master master-name="first" page-height="29.7cm" page-width="21cm">
      <fo:region-body margin-top="3cm"/>
      <fo:region-before region-name="first-before" extent="3cm"/>
</fo:simple-page-master>

...
<fo:static-content flow-name="first-before">
      <fo:block>First page Region-before</fo:block>
</fo:static-content>

or just remove region-before from the second master.

-- 
Oleg Tkachenko
Multiconn International, Israel

Schäffler, Markus SFR wrote:
 >>Hi,
 >>
 >>I am using a block-container, wich is positioned "absolute" in the region
 >>before. How can I
 >>display this region before only on the first page of the document??? I
 >>already
 >>set up 2 simple-page-master (one for the first and the secound for the
 >>rest
 >>pages) and the page-sequence-master in the layout-master-set. This works
 >>fine. But even if I set the value of the attribute extent to zero for the
 >>secound page it seems to have no effect. Is there another attribute to
 >>ensure that
 >>the region before will not be displayed?
 >>
 >>
 >>Thanks
 >>
 >>Markus Schäffler
 >>
 >>
 >>
 >>I'm using fop 0.20.4
 >
 >

Received on Tuesday, 16 July 2002 06:51:30 UTC