|
Hi, Daniele,
It's not that different in FO, except that FO is
much more verbose.
Here's that list in FO:
<fo:list-block>
<fo:list-item> <fo:list-item-label>1.</fo:list-item-label> <fo:list-item-body>First element <fo:list-block> <fo:list-item> <fo:list-item-label>1.</fo:list-item-label> <fo:list-item-body>first deep element</fo:list-item-body> </fo:list-item> <fo:list-item> <fo:list-item-label>2.</fo:list-item-label> <fo:list-item-body>secondo deep element <fo:list-block> <fo:list-item> <fo:list-item-label>1.</fo:list-item-label> <fo:list-item-body>third deep elemente</fo:list-item-body> </fo:list-item> </fo:list-block> </fo:list-item-body> </fo:list-item> <fo:list-block> </fo:list-item-body> </fo:list-item> <fo:list-item> <fo:list-item-label>2.</fo:list-item-label> <fo:list-item-body>Second element</fo:list-item-body> </fo:list-item> </fo:list-block> I prepared that by hand, so it may have a typo or
two, but the concept is right. Just like in HTML, the inner list goes within a
listitem element. In FO, that means the inner list goes within the
list-item-body element.
Also, note that there are a bunch of attributes you
can add to these elements, to control font size and family, line height, and so
on. I whipped up a stripped down list for the sake of an example.
HTH
Jay Bryant
Bryant Communication Services
|
- Re: problem with external-graphics [EMAIL PROTECTED]
- Re: problem with external-graphics Jeremias Maerki
- How to create a list in FO? Daniele
- Re: How to create a list in FO? Jay Bryant
- Re: How to create a list in FO? Fabrizio Caldas
- Re: How to create a list in FO? Andreas L Delmelle
- Re: problem with external-graphics [EMAIL PROTECTED]
- Re: problem with external-graphics Jeremias Maerki
