xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremias Maerki <...@jeremias-maerki.ch>
Subject Re: Question about simple-page-master known problem
Date Sat, 12 Apr 2008 09:20:47 GMT
The work-around is described in the note from the compliance page you
quoted: you can use forced breaks. But obviously, that isn't always
possible. The problem is being worked on but it may still take a few
weeks.

On 09.04.2008 18:07:35 Richard Forrester wrote:
> 
> 
> Hello,
> 
> I am using FOP version 0.94.      The problem I am having has been
> described on the compliance page as:
> 
> 
>                                                                             
>                                                                             
>     [0.94 and later] The page width may not change among pages of the same  
>     page-sequence unless a forced break is inserted.                        
>                                                                             
> 
> 
> Is there a way I can get around this or a change I can make to the code so
> that this will work?
> 
> In case it's needed.. here's my XSL code for the layout-master-set:
> 
>             <fo:layout-master-set>
>                   <!-- Layout for first page -->
>                   <fo:simple-page-master master-name="firstPage"
> page-height="11in" page-width="8.5in" margin-top="27pt" margin-bottom=
> "27pt" margin-left="54pt" margin-right="-84pt">
>                         <fo:region-body margin-top="100pt" margin-bottom=
> "57pt" margin-left="216pt" margin-right="138pt" background-color="blue"/>
>                         <fo:region-before precedence="true" extent="25pt"/>
>                         <fo:region-after precedence="true" extent="30pt"/>
>                         <fo:region-start extent="216pt"/>
>                         <fo:region-end extent="225pt"/>
>                   </fo:simple-page-master>
> 
>                   <!-- Layout for the rest of the pages -->
>                   <fo:simple-page-master master-name="restOfPages"
> page-height="11in" page-width="8.5in" margin-top="27pt" margin-bottom=
> "27pt" margin-left="54pt" margin-right="54pt">
>                         <fo:region-body margin-bottom="27pt"
> background-color="blue"/>
>                         <fo:region-after precedence="true" extent="30pt"/>
>                   </fo:simple-page-master>
> 
>                   <!-- Set up page sequencing -->
>                   <fo:page-sequence-master master-name="pgsm">
>                         <fo:repeatable-page-master-alternatives>
>                               <fo:conditional-page-master-reference
> master-reference="firstPage" page-position="first"/>
>                               <fo:conditional-page-master-reference
> master-reference="restOfPages" page-position="rest"/>
>                               <fo:conditional-page-master-reference
> master-reference="restOfPages"/>
>                         </fo:repeatable-page-master-alternatives>
>                   </fo:page-sequence-master>
>             </fo:layout-master-set>
> 
> 
> 
> Thank You!
> 
> Richard C. Forrester IV
> IBM Global Sales Manual
> Technical Lead/Analyst/Developer
> Email : rcfiv@us.ibm.com
> Phone : (303) 924-6066
> T/L : 8-263-6066
> Fax: (303) 924-7616
> Fax T/L : 8-263-7616




Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message