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"
  force-page-count="odd">
[...Cover page...]
</fo:page-sequence>

<fo:page-sequence master-reference="ContentPage"
  initial-page-number="1">
<fo:flow flow-name="xsl-region-body">
  <fo:block font-size="22pt" break-before="page"
                border-after-style="solid">
    Chapter Title
  </fo:block>

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:block>
  <fo:external-graphic src="url(fig/ucase.svg)" />
</fo:block>
     
<fo:block font-size="22pt" break-before="page"
        border-after-style="solid">
  BlaBla
</fo:block>

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


Mime
View raw message