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 Ail Sahin <al...@as-support.com> on 2005/11/30 12:11:50 UTC

Empty lines

Hi there,

look at the following snippet
"<fo:block break-before="page" font-size="10pt"  font-weight="bold" 
space-after="1cm">
                    <xsl:value-of 
select="name2"/><fo:block/><xsl:text></xsl:text>
                    <xsl:value-of 
select="street"/><fo:block/><xsl:text></xsl:text>
                    <xsl:value-of select="postalcode"/><xsl:value-of 
select="city"/><xsl:text></xsl:text>
  </fo:block>"

I'd like to have three empty lines before "name2".

Any ideas how to manage this?

Thanks in advance

Ali

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


Re: Empty lines

Posted by Ail Sahin <al...@as-support.com>.
Ail Sahin schrieb:

> Hi there,
>
> look at the following snippet
> "<fo:block break-before="page" font-size="10pt"  font-weight="bold" 
> space-after="1cm">
>                    <xsl:value-of 
> select="name2"/><fo:block/><xsl:text></xsl:text>
>                    <xsl:value-of 
> select="street"/><fo:block/><xsl:text></xsl:text>
>                    <xsl:value-of select="postalcode"/><xsl:value-of 
> select="city"/><xsl:text></xsl:text>
>  </fo:block>"
>
> I'd like to have three empty lines before "name2".

space-before="1cm" solved the problem.


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


Re: Empty lines

Posted by Simon Burton <ap...@codlord.com>.
You can do something along the lines of this if you want to ensure your blank line/s will be the same height as your text etc:

one blank line:

<fo:block font-size="10pt" white-space-collapse="false">
<xsl:text> </xsl:text>
</fo:block>

----- Start Original Message -----
From: Ail Sahin <al...@as-support.com>
To: fop-users@xmlgraphics.apache.org
Subject: Empty lines

> Hi there,
> 
> look at the following snippet
> "<fo:block break-before="page" font-size="10pt"  font-weight="bold" 
> space-after="1cm">
>                     <xsl:value-of 
> select="name2"/><fo:block/><xsl:text></xsl:text>
>                     <xsl:value-of 
> select="street"/><fo:block/><xsl:text></xsl:text>
>                     <xsl:value-of select="postalcode"/><xsl:value-of 
> select="city"/><xsl:text></xsl:text>
>   </fo:block>"
> 
> I'd like to have three empty lines before "name2".
> 
> Any ideas how to manage this?
> 
> Thanks in advance
> 
> Ali
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
> 
> 

----- End Original Message -----

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