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 Bondi <rb...@ergito.com> on 2002/07/05 19:05:26 UTC
substitute in fo?
Is there an fo: equivalent of the HTML <br/> tag in fo, which inserts a
carriage return and a linefeed?
Or is the only possibility to start a new <fo:block>?
TIA,
r:b:
conditional space-before?
Posted by Richard Bondi <rb...@ergito.com>.
Dear All,
I would like my graphics to have space-before="12pt" ONLY IF they are not
at the top of a page.
A work-around is to do this in XSL: if a paragraph is followed by a
graphic, make its space-after="24pt", otherwise make its
space-after="12pt". (Then if fop puts the graphic at the top of the page,
it won't matter if the preceding para has a bigger space-after.) But I'm
wondering if I can do this in fop instead?
TIA,
r:b:
Re:
substitute in fo?
Posted by "J.Pietschmann" <j3...@yahoo.de>.
Richard Bondi wrote:
> Is there an fo: equivalent of the HTML <br/> tag in fo, which inserts a
> carriage return and a linefeed?
>
> Or is the only possibility to start a new <fo:block>?
You should try to use fo:blocks first, because this
allows you to set surrounding spaces and other
properties (there are other reasons probably not
important to you).
If you are for a quick hack, use a line separator
character 
 to force a break.
J.Pietschmann