You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Matthias Fischer <m....@abc-media.de> on 2001/12/18 10:03:16 UTC
RE: special characters - Unicode
An alternative would be to format the item label as "Symbol" and to assign
it the value · :
<fo:list-item>
<fo:list-item-label >
<fo:block start-indent="0.0mm">
<fo:inline font-family="Symbol">·</fo:inline>
</fo:block>
</fo:list-item-label>
<fo:list-item-body>
<fo:block start-indent="7.5mm">
<fo:inline>
<xsl:apply-templates/>
</fo:inline>
</fo:block>
</fo:list-item-body>
</fo:list-item>
Q u e s t i o n : I tried Vladimir's solution and, of course, it works. I
tried other Unicode value, but I got always # as a result. Does anybody know
of any restrictions to Unicode in FOP?
Matthias
-----Original Message-----
From: Vladimir Sneblic [mailto:vladimir.sneblic@sytec.co.nz]
Sent: Monday, December 17, 2001 8:37 PM
To: 'fop-dev@xml.apache.org'
Cc: 'matt.laywell@kktarchitects.com'
Subject: RE: special characters
Hi Matt,
Here's how I usually use bullet points:
<fo:list-block
provisional-distance-between-starts="12pt">
<fo:list-item><fo:list-item-label
end-indent="label-end()"><fo:block>•</fo:block></fo:list-item-label>
<fo:list-item-body
start-indent="body-start()"><fo:block>SOME BULLET POINT TEXT IN
HERE</fo:block></fo:list-item-body>
</fo:list-item>
</fo:list-block>
As you can see from the example all you need to do to create a bullet point
is to use • in the place where you want it to appear. Hope this
helps,
Vlad
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org
Is fo:table supported when used into a fo:list-item-body ?
Posted by "Etienne Baert (SPSInfoquest nv)" <eb...@sps.be>.
Hi,
is the following code supported by fop ?
<fo:list-block>
<fo:list-item>
<fo:list-item-label end-indent="label-end()">
<fo:block>1)</fo:block>
</fo:list-item-label>
<fo:list-item-body start-indent="body-start()">
<fo:block>Some text</fo:block>
<fo:block>Some more text</fo:block>
<fo:block>
<fo:table>
<fo:table-column width="10mm"/>
<fo:table-column width="10mm"/>
<fo:table-body>
<fo:table-row>
<fo:table-cell number-rows-spanned="2">
<fo:block>
<fo:external-graphic height="auto"
width="auto" src="images/note.jpg"/>
</fo:block>
</fo:table-cell>
<fo:table-cell>
<fo:block>NOTE</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell number-columns-spanned="2">
<fo:block>Text for current note</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:block>
</fo:list-item-body>
</fo:list-item>
</fo:list-block>
When trying to render this to pdf, fop seems to enter a infinite loop and
send me back this error message (not very explicit) :
ERROR 10086 [fop ] (): >
Many thanks,
EB
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org