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 Michiel Verhoef <mi...@cmg.nl> on 2002/02/20 10:04:32 UTC
RE: Inline
Nope, according to the XSLFO reference on
http://zvon.org/xxl/xslfoReference/Output/index.html
text-indent is not an attribute for fo:inline.
HTH,
Michiel
-----Original Message-----
From: Meena [mailto:meenakshi.sarvagopal@wipro.com]
Sent: woensdag 20 februari 2002 10:15
To: fop-user@xml.apache.org
Subject: Inline
Hi,
I've a block like this
<fo:block text-indent="0.5in">Name
<fo:inline text-indent="2in">
<xsl:value-of select="@rollNo"/>
</fo:inline>
</fo:block>
I expect an output like, the below
Name 24
But , the above block gives something like this,
Name24
Is it not possible to mention text-indent in fo:inline?
Regds,
Meena
Re: Inline
Posted by Josh Campbell <jo...@zype.co.nz>.
Another option would be to use a list -block to format it. You can then
use fo:block to add in the indent.
I found it useful having those fo:blocks in there as you can hang pretty
much anything off them.
Here's an example:
<fo:list-block color="#ffffff" font-size="14pt" font-family="Helvetica">
<fo:list-item>
<fo:list-item-label>
<fo:block>Name</fo:block>
</fo:list-item-label>
<fo:list-item-body>
<fo:block start-indent="4cm">24</fo:block>
</fo:list-item-body>
</fo:list-item>
</fo:list-block>
Meena wrote:
>But if i want such an output, how could i acheive it?
>
Josh Campbell
ZYPE - Graphical Interface Design
Phone: 03 3862094
Mobile: 021 400 472
Web: www.zype.co.nz
Re: Inline
Posted by Meena <me...@wipro.com>.
Hi Michiel,
But if i want such an output, how could i acheive it?
Meena
----- Original Message -----
From: "Michiel Verhoef" <mi...@cmg.nl>
To: <fo...@xml.apache.org>
Sent: Wednesday, February 20, 2002 2:34 PM
Subject: RE: Inline
> Nope, according to the XSLFO reference on
> http://zvon.org/xxl/xslfoReference/Output/index.html
> text-indent is not an attribute for fo:inline.
>
> HTH,
>
> Michiel
>
>
> -----Original Message-----
> From: Meena [mailto:meenakshi.sarvagopal@wipro.com]
> Sent: woensdag 20 februari 2002 10:15
> To: fop-user@xml.apache.org
> Subject: Inline
>
>
> Hi,
> I've a block like this
>
> <fo:block text-indent="0.5in">Name
> <fo:inline text-indent="2in">
> <xsl:value-of select="@rollNo"/>
> </fo:inline>
> </fo:block>
>
> I expect an output like, the below
>
> Name 24
>
> But , the above block gives something like this,
> Name24
>
> Is it not possible to mention text-indent in fo:inline?
>
> Regds,
> Meena
>