Hi list,

thanks for the support in this list!

Unfortunately, I have one problem with this project: while generating PDF with the current FOP Trunk, pages resulting from page master: "dinA42" alsways take the column-count from "dinA41" instead of the value inscribed in its own <fo:region-body> element (1 column). There should be one page with "dinA41", followed only by pages with the "dinA42" master.

However, other changes in "dinA42" are applied to the resulting pages (headers, margins etc.), so I guess the problem is related to the "column-count" attribute? Any ideas?

Below is an excerpt from the transformation xsl file.

Thanks and best regards, Diana

<fo:layout-master-set>
   <fo:simple-page-master master-name="dinA41"
               page-width="21cm"
               page-height="29.7cm"
margin-top="1cm" margin-bottom="2cm" margin-right="1cm" margin-left="1cm">

<fo:region-body column-count ="2"
               column-gap="0.25cm"
margin-top ="6cm" margin-bottom="1cm"
               margin-right="0cm"
               margin-left="6cm"/>
   <fo:region-before region-name="dinA41rb" extent ="4cm" />
   <fo:region-start region-name="dinA41rs" extent ="6cm" />
       </fo:simple-page-master>
<fo:simple-page-master master-name="dinA42"
               page-width="21cm"
               page-height="29.7cm"
margin-top="1cm" margin-bottom="2cm" margin-right="1cm" margin-left="1cm">

<fo:region-body column-count ="1" margin-top ="2cm" margin-bottom="1cm"
               margin-right="2cm"
               margin-left="3cm"/>
   <fo:region-before  region-name="dinA42rb" extent ="2cm" />
   <fo:region-start region-name="dinA42rs" extent ="2cm" />

   </fo:simple-page-master>
<fo:page-sequence-master master-name="test">
   <fo:repeatable-page-master-alternatives>
<fo:conditional-page-master-reference master-reference="dinA41" page-position="first" /> <fo:conditional-page-master-reference master-reference="dinA42" page-position="rest" />
</fo:repeatable-page-master-alternatives>
   </fo:page-sequence-master>
</fo:layout-master-set>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to