xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lehel Bernadt <bl...@hszk.bme.hu>
Subject Empty page before break-before="page"
Date Fri, 07 Mar 2003 12:59:27 GMT

Consider this FO snippet:

<fo:page-sequence master-reference="CoverPage"
[...Cover page...]

<fo:page-sequence master-reference="ContentPage"
<fo:flow flow-name="xsl-region-body">
  <fo:block font-size="22pt" break-before="page"
    Chapter Title

Now my problem is that FOP inserts an empty page (of type ContentPage)
before the "Chapter Title" block, because of the break-before
attribute. This is a bug IMHO, because it should take into account that
a new page sequence means a page break.

I tried it with XEP, and it works as it should, ie. without the bogus page.

The thing also happens in this situation:

  <fo:external-graphic src="url(fig/ucase.svg)" />
<fo:block font-size="22pt" break-before="page"

The SVG ends at the end of the page, still a new empty page is inserted.

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

View raw message