You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Chanaka Amarasekara <ch...@ifs.lk> on 2004/02/19 03:50:57 UTC

Table break-after/ break-before page add extra blank pages

Hi,

I'm using the Apache FOP to create a PDF file. I'm having a problem in my
XSL file, where when I add a  break-after = page for a table it adds an
extra blank page to the end and if I have a break-before = page it will add
an extra blank page to the beginning. Is there a way to solve this problem
(a possible workaround or a modification to the FOP)?

Thank you in advance,
Chanaka


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


RE: Table break-after/ break-before page add extra blank pages

Posted by Chanaka Amarasekara <ch...@ifs.lk>.
Hi,

I'm using FOP 0.20.5. I found out that if you do one of the following it
will solve this problem,
1) to wrap the fo:table around a fo:block and put the page-break to that
(Bug 7487)
2) enter the entry "force-page-count="no-force" to every fo:page-sequence.
(http://xml.apache.org/fop/faq.html#blank-page-between-page-sequences)


unfortunately, non of these worked but maybe it might work for you. Any
ideas why it not working.

Regards,
Chanaka


On Thu, 2004-02-19 at 17:45, J.Pietschmann wrote:
> Chanaka Amarasekara wrote:
> > I'm using the Apache FOP to create a PDF file. I'm having a problem in
my
> > XSL file, where when I add a  break-after = page for a table it adds an
> > extra blank page to the end and if I have a break-before = page it will
add
> > an extra blank page to the beginning.
>
> Yes, both are bugs. Getting rid of the blank page at the beginning
> would require fixing the is-first-in-area code. Getting rid of the
> trailing blank page is more difficult,

And all this time I thought it was MY fault!

--
John Austin <jw...@sympatico.ca>

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


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


Re: Table break-after/ break-before page add extra blank pages

Posted by John Austin <jw...@sympatico.ca>.
On Thu, 2004-02-19 at 17:45, J.Pietschmann wrote:
> Chanaka Amarasekara wrote:
> > I'm using the Apache FOP to create a PDF file. I'm having a problem in my
> > XSL file, where when I add a  break-after = page for a table it adds an
> > extra blank page to the end and if I have a break-before = page it will add
> > an extra blank page to the beginning. 
> 
> Yes, both are bugs. Getting rid of the blank page at the beginning
> would require fixing the is-first-in-area code. Getting rid of the
> trailing blank page is more difficult, 

And all this time I thought it was MY fault!

-- 
John Austin <jw...@sympatico.ca>

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


Re: Table break-after/ break-before page add extra blank pages

Posted by "J.Pietschmann" <j3...@yahoo.de>.
Chanaka Amarasekara wrote:
> I'm using the Apache FOP to create a PDF file. I'm having a problem in my
> XSL file, where when I add a  break-after = page for a table it adds an
> extra blank page to the end and if I have a break-before = page it will add
> an extra blank page to the beginning. Is there a way to solve this problem
> (a possible workaround or a modification to the FOP)?

Yes, both are bugs. Getting rid of the blank page at the beginning
would require fixing the is-first-in-area code. Getting rid of the
trailing blank page is more difficult, probably impossible with the
design in the maintenance branch.
The recommended work around is to avoid inserting page breaks which
create blank pages at the XSLT level.

J.Pietschmann


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