[XSLFO] List block space after
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 46
- Joined: Mon Aug 22, 2011 3:53 pm
[XSLFO] List block space after
Hi
I have problem with space after
File FO :
I want space betwwen '-' but i indicate space-after="1cm" and in result not exist space betwee '-' ?
Thank you for help
Best regards
I have problem with space after
File FO :
Code: Select all
<?xml version="1.0" encoding="iso-8859-1"?>
<fo:block>
<fo:list-block space-before="3mm">
<fo:list-item>
<fo:list-item-label end-indent="label-end()">
<fo:block space-before="0cm">(7) </fo:block>
</fo:list-item-label>
<fo:list-item-body start-indent="body-start()">
<fo:block>
<fo:block>This manual contains:</fo:block>
</fo:block>
</fo:list-item-body>
</fo:list-item>
</fo:list-block>
<fo:list-block space-before="3mm">
<fo:list-item>
<fo:list-item-label end-indent="label-end()">
<fo:block space-before="0cm"> </fo:block>
</fo:list-item-label>
<fo:list-item-body start-indent="body-start()">
<fo:block>
<fo:list-block provisional-distance-between-starts="0.5cm">
<fo:list-item>
<fo:list-item-label end-indent="label-end()">
<fo:block space-before="0cm">-</fo:block>
</fo:list-item-label>
<fo:list-item-body start-indent="body-start()">
<fo:block space-after="1cm">
<fo:block>gfgfgfg gfgfggf gfgfggfgf fggfgfgfgf,</fo:block>
</fo:block>
</fo:list-item-body>
</fo:list-item>
<fo:list-item>
<fo:list-item-label end-indent="label-end()">
<fo:block space-before="0cm">-</fo:block>
</fo:list-item-label>
<fo:list-item-body start-indent="body-start()">
<fo:block space-after="1cm">
<fo:block>khkhk tytyuit oktlt jhjhjhj jhjhhjh,</fo:block>
</fo:block>
</fo:list-item-body>
</fo:list-item>
<fo:list-item>
<fo:list-item-label end-indent="label-end()">
<fo:block space-before="0cm">-</fo:block>
</fo:list-item-label>
<fo:list-item-body start-indent="body-start()">
<fo:block space-after="1cm">
<fo:block>bvbvbvbvb bbvbvbvbbv bvbvbbvbv bbvbvbvb.</fo:block>
</fo:block>
</fo:list-item-body>
</fo:list-item>
</fo:list-block>
</fo:block>
</fo:list-item-body>
</fo:list-item>
</fo:list-block>
</fo:block>
Thank you for help
Best regards
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: [XSLFO] List block space after
Post by sorin_ristache »
Hello Bruno,
You have to add the space-after attribute to the fo:list-item element instead of the fo:block element:
Regards,
Sorin
You have to add the space-after attribute to the fo:list-item element instead of the fo:block element:
Code: Select all
<fo:list-item space-after="1cm">
<fo:list-item-label end-indent="label-end()">
<fo:block space-before="0cm">-</fo:block>
</fo:list-item-label>
<fo:list-item-body start-indent="body-start()">
<fo:block>
<fo:block>gfgfgfg gfgfggf gfgfggfgf</fo:block>
</fo:block>
</fo:list-item-body>
</fo:list-item>
Regards,
Sorin
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service