Kaydet (Commit) 393262b3 authored tarafından Miklos Vajna's avatar Miklos Vajna

n#778140 fix import of w:fldSimple character properties

The character properties of the field are applied when the next run
begins, so insert an empty run right after the field to fix the issue.

Change-Id: I18d747d99d6604fa331a0e70e6989f9f4975eab2
üst e63bba00
...@@ -493,6 +493,13 @@ CreateElementMapPointer </xsl:text> ...@@ -493,6 +493,13 @@ CreateElementMapPointer </xsl:text>
<xsl:when test="@action='fieldend'"> <xsl:when test="@action='fieldend'">
<xsl:text> <xsl:text>
pHandler-&gt;endField();</xsl:text> pHandler-&gt;endField();</xsl:text>
</xsl:when>
<xsl:when test="@action='simplefieldend'">
<xsl:text>
pHandler-&gt;endField();
pHandler-&gt;startCharacterGroup();
pHandler-&gt;text("");
pHandler-&gt;endCharacterGroup();</xsl:text>
</xsl:when> </xsl:when>
<xsl:when test="@action='printproperty'"> <xsl:when test="@action='printproperty'">
<xsl:text> <xsl:text>
......
...@@ -22153,7 +22153,7 @@ ...@@ -22153,7 +22153,7 @@
<action name="start" action="printproperty" sendtokenid="ooxml:CT_SimpleField_instr"/> <action name="start" action="printproperty" sendtokenid="ooxml:CT_SimpleField_instr"/>
<action name="start" action="endCharacterGroup"/> <action name="start" action="endCharacterGroup"/>
<action name="start" action="fieldsep"/> <action name="start" action="fieldsep"/>
<action name="end" action="fieldend"/> <action name="end" action="simplefieldend"/>
</resource> </resource>
<resource name="ST_FldCharType" resource="List"> <resource name="ST_FldCharType" resource="List">
<value name="begin" tokenid="ooxml:Value_ST_FldCharType_begin">begin</value> <value name="begin" tokenid="ooxml:Value_ST_FldCharType_begin">begin</value>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment