Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:thomas-schraitle
docbook2odf
docbook2odf+colspan.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File docbook2odf+colspan.diff of Package docbook2odf
--- ./xsl/document-content/tables.xsl 2007-06-06 18:58:05.000000000 +0200 +++ ./xsl/document-content/tables.xsl 2008-07-22 15:34:47.897349243 +0200 @@ -232,8 +232,15 @@ </xsl:attribute> <!-- spanning by namest and nameend --> - <xsl:if test="@namest"> - <!-- find collumn number from <docbook:colspec> --> + <xsl:if test="@namest and @nameend"> + <xsl:attribute name="table:number-columns-spanned"> + <xsl:value-of select=" + count(ancestor::tgroup/colspec[@colname=current()/@nameend]/ + preceding-sibling::colspec ) - + count(ancestor::tgroup/colspec[@colname=current()/@namest]/ + preceding-sibling::colspec ) + + 1 "/> + </xsl:attribute> </xsl:if> <xsl:choose> <!-- this element containts more sub-elements (paragraphs, eg...) -->
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor