xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From franck FIMBEL <ffim...@gmail.com>
Subject Re: page-position="only" in conditional-page-master-reference
Date Tue, 30 Oct 2012 10:34:10 GMT
Thanks

I filled the bug

*Bug 54074 <https://issues.apache.org/bugzilla/show_bug.cgi?id=54074>
** *page-position="only"
in conditional-page-master-reference does not work


On Tue, Oct 30, 2012 at 10:18 AM, Pascal Sancho <psancho.asf@gmail.com>wrote:

> Hi,
>
> This should work.
> Please, file in a new bug entry, attaching the material you gave here.
>
> 2012/10/29 franck FIMBEL <ffimbel@gmail.com>:
> > Hi,
> >
> > I am trying to use the attribute page-position="only" in a
> > conditional-page-master-reference in order to produce a different page
> > header if the document has only one page (if I understood correctly, it
> > applies if the page is the first and the last page of the document at the
> > same time).
> >
> > <fo:page-sequence-master master-name="Section_1">
> >       <fo:repeatable-page-master-alternatives>
> >         <fo:conditional-page-master-reference master-reference="Single"
> > page-position="only" />
> >         <fo:conditional-page-master-reference master-reference="Multiple"
> > />
> >       </fo:repeatable-page-master-alternatives>
> >     </fo:page-sequence-master>
> >
> > Unfortunately, using the attached fo and fop trunk, it does not work as
> > expected.
> > I get the header for multiple page even if I only have one page in the
> final
> > output document.
> >
> > If I change the attribute to last, it works fine.
> >  <fo:page-sequence-master master-name="Section_1">
> >       <fo:repeatable-page-master-alternatives>
> >         <fo:conditional-page-master-reference master-reference="Single"
> > page-position="last" />
> >         <fo:conditional-page-master-reference master-reference="Multiple"
> > />
> >       </fo:repeatable-page-master-alternatives>
> >     </fo:page-sequence-master>
> >
> >
> >
> > Is there something wrong with the way I use this attribute.
> >
> > Thanks in advance for your help
>
>
> --
> pascal
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
>


-- 
Franck

Mime
View raw message