diff options
author | Jacobo Aragunde Pérez <jaragunde@igalia.com> | 2014-03-22 21:11:33 +0100 |
---|---|---|
committer | Jacobo Aragunde Pérez <jaragunde@igalia.com> | 2014-03-22 23:58:16 +0100 |
commit | 8931ab3fc27acb0665fa636eb6390034cbb3eec6 (patch) | |
tree | 75ba94d916c9cc0579e4995ae3bd5d644caecbc0 /svx | |
parent | 452469f1b825ac4dfa2b9b096175f7cfc9a1aa36 (diff) |
ooxml: preserve rich text sdt controls
These controls don't have a special property, like for example
unformatted text controls have. So we use the id property as a
marker; we will grab-bag it together with other sdt properties and
use the existing mechanism to write the sdt block on export.
A grab bag that only contains an id property is for sure a rich text
control so we add it to the character props and not to the paragraph
props, like in the case of the unformatted text control.
Word doesn't allow us to write an empty <w:id/> tag, so we fill
it with a random number.
Finally, modified an existing unit test to add a rich text control and
check it is exported correctly.
Change-Id: If403a4a2393d4ee069a628645e364d21f104a859
Diffstat (limited to 'svx')
0 files changed, 0 insertions, 0 deletions