I'm sorry to disappoint you but what you're trying to do is currently not possible with FOP 0.94, Trunk or the upcoming 0.95. This is a known issue and has nothing to do with column-count directly. It's one of the few remaining things that was possible with 0.20.5 but not yet with the new codebase.
More info: http://xmlgraphics.apache.org/fop/compliance.html#fo-object-simple-page-master http://xmlgraphics.apache.org/fop/0.94/knownissues_overview.html#Layout+Engine "Page breaking currently doesn't support changing available IPD between pages of a single page-sequence. Element list generation has to be reset to redetermine line breaks in this case." page-breaking_4.xml On 14.03.2008 14:51:18 Diana Walther wrote: > 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> > Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
