diff options
author | Kelly Campbell <kellyc@apache.org> | 2001-02-23 06:00:29 +0000 |
---|---|---|
committer | Kelly Campbell <kellyc@apache.org> | 2001-02-23 06:00:29 +0000 |
commit | ddaf8b2ad8b8241641d9406805319709e17b2f0d (patch) | |
tree | fb9ec046012a7514c4ba31826468f717a577f39a /docs/examples/svg | |
parent | 20eb35ecb4511689c56bdf21c73eb03591e37d67 (diff) | |
download | xmlgraphics-fop-ddaf8b2ad8b8241641d9406805319709e17b2f0d.tar.gz xmlgraphics-fop-ddaf8b2ad8b8241641d9406805319709e17b2f0d.zip |
Patch for list-block to support body-start and label-end
PR: 682
Obtained from:
Submitted by: Peter S. Housel <housel@acm.org>
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194086 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/examples/svg')
-rw-r--r-- | docs/examples/svg/Document.xsl | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/docs/examples/svg/Document.xsl b/docs/examples/svg/Document.xsl index 6954a5c3d..9e565be69 100644 --- a/docs/examples/svg/Document.xsl +++ b/docs/examples/svg/Document.xsl @@ -228,21 +228,21 @@ </xsl:template> <xsl:template match="i"> - <fo:inline-sequence font-style="italic"> + <fo:inline font-style="italic"> <xsl:apply-templates/> - </fo:inline-sequence> + </fo:inline> </xsl:template> <xsl:template match="b"> - <fo:inline-sequence font-weight="bold"> + <fo:inline font-weight="bold"> <xsl:apply-templates/> - </fo:inline-sequence> + </fo:inline> </xsl:template> <xsl:template match="a"> - <fo:inline-sequence color="blue"> + <fo:inline color="blue"> <xsl:apply-templates/> - </fo:inline-sequence> + </fo:inline> </xsl:template> <xsl:template match="Description"> @@ -267,10 +267,10 @@ <xsl:template match="li"> <fo:list-item> - <fo:list-item-label> + <fo:list-item-label end-indent="label-end()"> <fo:block>•</fo:block> </fo:list-item-label> - <fo:list-item-body> + <fo:list-item-body start-indent="body-start()"> <fo:block space-after.optimum="4pt"> <xsl:apply-templates/> </fo:block> @@ -286,10 +286,10 @@ <xsl:template match="ol/li"> <fo:list-item> - <fo:list-item-label> + <fo:list-item-label end-indent="label-end()"> <fo:block><xsl:number level="multiple" count="li" format="1. "/></fo:block> </fo:list-item-label> - <fo:list-item-body> + <fo:list-item-body start-indent="body-start()"> <fo:block space-after.optimum="4pt"> <xsl:apply-templates/> </fo:block> |