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 "Oosterbaan, Douglas S. (LNG-DAY)" <Do...@lexisnexis.com> on 2005/10/13 16:42:02 UTC
Rendering empty fo:block objects
Are empty <fo:block/> objects ignored by fop0.20.5? In the following
snippet of FO I inserted 6 empty blocks between two test strings
and they don't seem to get rendered. I can easily use space-after
or insert newlines to get the desired rendering, but I was just
curious if this by design or is this considered an unresolved issue in
fop0.20.5? Below is some sample fo:
<fo:block><fo:inline font-family="Courier" font-size="10pt">TEST STRING 1
</fo:inline><fo:block/><fo:block/><fo:block/><fo:block/><fo:block/><fo:block
/><fo:block/><fo:inline font-family="Courier" font-size="10pt">TEST STRING 2
</fo:inline></fo:block>
Thanks.
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: Rendering empty fo:block objects
Posted by David Delbecq <de...@oma.be>.
I think, as long as they are empty, they simply have a 0pt height.
Oosterbaan, Douglas S. (LNG-DAY) a écrit :
>Are empty <fo:block/> objects ignored by fop0.20.5? In the following
>snippet of FO I inserted 6 empty blocks between two test strings
>and they don't seem to get rendered. I can easily use space-after
>or insert newlines to get the desired rendering, but I was just
>curious if this by design or is this considered an unresolved issue in
>fop0.20.5? Below is some sample fo:
>
><fo:block><fo:inline font-family="Courier" font-size="10pt">TEST STRING 1
></fo:inline><fo:block/><fo:block/><fo:block/><fo:block/><fo:block/><fo:block
>/><fo:block/><fo:inline font-family="Courier" font-size="10pt">TEST STRING 2
></fo:inline></fo:block>
>
>Thanks.
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
>For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: Rendering empty fo:block objects
Posted by Lo...@log-net.com.
Not that this is the best solution, how about setting the
white-space-collapse to false (I'm running 0.20.3):
<fo:block white-space-collapse="false">
<xsl:apply-templates select="custFax"/>
</fo:block>
-Lou
"Oosterbaan, Douglas S. (LNG-DAY)" <Do...@lexisnexis.com>
wrote on 10/13/2005 10:42:02:
> Are empty <fo:block/> objects ignored by fop0.20.5? In the following
> snippet of FO I inserted 6 empty blocks between two test strings
> and they don't seem to get rendered. I can easily use space-after
> or insert newlines to get the desired rendering, but I was just
> curious if this by design or is this considered an unresolved issue in
> fop0.20.5? Below is some sample fo:
>
> <fo:block><fo:inline font-family="Courier" font-size="10pt">TEST STRING
1
>
</fo:inline><fo:block/><fo:block/><fo:block/><fo:block/><fo:block/><fo:block
> /><fo:block/><fo:inline font-family="Courier" font-size="10pt">TEST
STRING 2
> </fo:inline></fo:block>
>
> Thanks.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>