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 Richard King <ri...@allfinanz.com> on 2006/09/29 19:48:29 UTC

Soft page break

How do you create a soft page break using FOP?

Cheers,
Richard

Re: Soft page break

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
Do you mean soft page break as described here?
http://www.sagehill.net/docbookxsl/PageBreaking.html

XSL-FO does not know the term "soft page break". However, you can
emulate this with this pattern:

<fo:block-container width="100%" height="3cm">
  <fo:block/>
</fo:block-container>
<fo:block space-before="-3cm">
[..]

The block-container is non-breakable so the FO processor cannot break
inside those 3cm. The following FO element (a block in the example) is
given a negative space-before so it is positioned at the same place as
the block-container.

Please note, that this does not work with FOP 0.20.5, only with FOP
0.92beta or later.

On 29.09.2006 19:48:29 Richard King wrote:
> How do you create a soft page break using FOP?


Jeremias Maerki


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


Re: Barcodes in fop 0.92 - Batik

Posted by becofuan <be...@yahoo.com>.
I only know barcode related resource. You can refer to  .net barcode
generation guide
<http://www.businessrefinery.com/products/barcode_net/main.html>  . I hope
it can help you with your work.



--
View this message in context: http://apache-fop.1065347.n5.nabble.com/Soft-page-break-tp5744p42372.html
Sent from the FOP - Users mailing list archive at Nabble.com.

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