Adding class generation also for CT_Empty
This commit is contained in:
parent
83cf6cb6f2
commit
2fbe44c7b0
2 changed files with 3 additions and 4 deletions
|
@ -14438,7 +14438,6 @@
|
||||||
<value tokenid="226">zigZag</value>
|
<value tokenid="226">zigZag</value>
|
||||||
<value tokenid="227">zigZagStitch</value>
|
<value tokenid="227">zigZagStitch</value>
|
||||||
</resource>
|
</resource>
|
||||||
<resource name="CT_Empty" resource="SingleElement"/>
|
|
||||||
<resource name="EG_RunInnerContent" resource="Property">
|
<resource name="EG_RunInnerContent" resource="Property">
|
||||||
<attribute name="br" tokenid="ooxml:EG_RunInnerContent_br"/>
|
<attribute name="br" tokenid="ooxml:EG_RunInnerContent_br"/>
|
||||||
<attribute name="t" tokenid="ooxml:EG_RunInnerContent_t"/>
|
<attribute name="t" tokenid="ooxml:EG_RunInnerContent_t"/>
|
||||||
|
|
|
@ -5,9 +5,9 @@
|
||||||
*
|
*
|
||||||
* $RCSfile: resourcestools.xsl,v $
|
* $RCSfile: resourcestools.xsl,v $
|
||||||
*
|
*
|
||||||
* $Revision: 1.11 $
|
* $Revision: 1.12 $
|
||||||
*
|
*
|
||||||
* last change: $Author: fridrich_strba $ $Date: 2007-03-15 15:34:44 $
|
* last change: $Author: fridrich_strba $ $Date: 2007-03-15 17:22:07 $
|
||||||
*
|
*
|
||||||
* The Contents of this file are made available subject to
|
* The Contents of this file are made available subject to
|
||||||
* the terms of GNU Lesser General Public License Version 2.1.
|
* the terms of GNU Lesser General Public License Version 2.1.
|
||||||
|
@ -432,7 +432,7 @@ public:
|
||||||
<xsl:variable name="name" select="@name"/>
|
<xsl:variable name="name" select="@name"/>
|
||||||
<xsl:choose>
|
<xsl:choose>
|
||||||
<xsl:when test="ancestor::namespace//start[@name=$name]">1</xsl:when>
|
<xsl:when test="ancestor::namespace//start[@name=$name]">1</xsl:when>
|
||||||
<xsl:when test="(starts-with(@name, 'CT_') or starts-with(@name, 'EG_')) and (.//rng:ref or .//rng:element or .//rng:attribute)">1</xsl:when>
|
<xsl:when test="(starts-with(@name, 'CT_') or starts-with(@name, 'EG_'))">1</xsl:when>
|
||||||
<xsl:otherwise>0</xsl:otherwise>
|
<xsl:otherwise>0</xsl:otherwise>
|
||||||
</xsl:choose>
|
</xsl:choose>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
Loading…
Reference in a new issue