OpenXML (docx) - problems with different tags inside a:graphic

Issue #455 resolved
Former user created an issue

Original issue 455 created by andriy.luts...@crowdin.com on 2015-04-09T14:53:52.000Z:

Few problems with <a:graphic> tags.

If inside <a:graphic> and <a:graphicData> there tags:
........................
<wps:txbx>
<w:txbxContent>
........................
It damage output tags inside <a:graphic> </a:graphic>
and ALSO in another places of document after end </a:graphic> tag (maybe problem in some switches (boolean variables)).
In attached document (document-out.xml):

(FIRST ALTERNATE CONTENT inside <mc:AlternateContent> <mc:Choice ...> )

1) damaged textbox (<wps:txbx>......) (line 72)
2) missed start tag <w:txbxContent> after <v:textbox> (line 101)

(SECOND ALTERNATE CONTENT inside <mc:AlternateContent> <mc:Choice ...>)

3) incorrect conversion:
src: <wp:docPr id="45" name="Text Box 52"/>
dst: <wp:docPr id="45" name="<w:r><w:t xml:space="preserve">Text Box 52</w:t></w:r>"/>
(line 136 and line 142)

Sample of source file relation2.docx

Comments (4)

  1. Log in to comment