Thanks vincent.

Are there any suggestions on workarounds?

Regards
-
Avik



On 5/6/09, Vincent Hennebert <[email protected]> wrote:
> Hi Avik,
>
> This is a known issue of FOP which is being worked on. FOP currently
> can’t handle sequences of pages with different widths, and therefore
> assigns to all pages the width of the first one.
>
> Sorry, no estimate as to when this feature will be implemented, but
> since it’s far from trivial it’s going to take some time.
>
> Vincent
>
>
> Avik Sengupta wrote:
>> I have a page sequence with one single-page-master followed by a
>> repeatable-page-master.
>>
>> The first page (using the single-page-master) has a top banner and a
>> side area (region-after), while the subsequent pages (using the
>> repeatable-page-master) do not have any banner or sides.
>>
>> The region body of the first page however has flow text that continues
>> on to the second and subsequent pages. While the body of the first
>> page takes about 60% of the horizontal width due to the region-after,
>> in the subsequent pages, the body should take all the horizontal
>> width, since these pages don’t have the region-after. However, I find
>> that the text in the second page is constrained to the width of the
>> body in the first page.
>>
>> Any idea what I could be doing wrong? Using fop 0.95. Is this expected
>> to work with 0.95?
>>
>> The layout I'm using is below:
>>
>> <fop:layout-master-set>
>>    <fop:simple-page-master border="" page-height="297mm"
>> page-width="210mm" margin-right="9.5mm" margin-left="16mm"
>> margin-top="9.5mm" margin-bottom="10mm" master-name="first-page">
>>      <fop:region-body margin-bottom="40mm" margin-top="60mm"
>> margin-right="68.5mm"  />
>>       <fop:region-before margin-left="9.5mm" margin-top="9.5mm"
>> margin-right="9.5mm" extent="60mm" precedence="true"
>> region-name="region-before-first"  />
>>      <fop:region-after display-align="before" margin-right="9.5mm"
>> extent="40mm" precedence="true" region-name="region-after-first"/>
>>      <fop:region-end extent="64mm" margin-top="60mm"
>> region-name="region-end-first" background-color="lightblue" />
>>     </fop:simple-page-master>
>>
>>     <fop:simple-page-master border="" page-height="297mm"
>> page-width="210mm" margin-right="9.5mm" margin-left="15.875mm"
>> margin-bottom="9.525mm" margin-top="9.525mm" master-name="all-pages">
>>      <fop:region-body  margin-bottom="20mm" />
>>      <fop:region-after display-align="after"  extent="20mm"
>> region-name="region-after-all"/>
>>    </fop:simple-page-master>
>>
>>
>>     <fop:page-sequence-master master-name="main-sequence">
>>      <fop:single-page-master-reference master-reference="first-page" />
>>      <fop:repeatable-page-master-reference master-reference="all-pages" />
>>    </fop:page-sequence-master>
>>   </fop:layout-master-set>
>>
>> The banner and side text are then defined using
>> <fop:static-content>'s, and then the main body area that flow across
>> the pages is defined inside a <fop:flow flow-name='xsl-region-body'>
>>
>>
>> Any ideas?
>>
>> Regards
>> -
>> Avik
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

-- 
Sent from Google Mail for mobile | mobile.google.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to