OpenXML (docx) - problems with different tags inside a:graphic
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)
-
Account Deleted -
Account Deleted Comment 2. originally posted by @ysavourel on 2015-04-20T16:32:32.000Z:
-
-
assigned issue to
- edited description
-
assigned issue to
-
- changed status to resolved
Fixed, along with Issue
#452, based on a patch from Andriy Lutskiv at CrowdIn. - Log in to comment
Comment 1. originally posted by andriy.luts...@crowdin.com on 2015-04-20T09:43:04.000Z:
My suggestion of this bug fix: https://code.google.com/r/andriylutskiv-okapi-dev/source/browse?name=dev
Problem is same in issue
#452and 455 (It caused a:graphic tag inside another a:graphic)