summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2017-05-24 00:15:15 +0200
committerSzymon Kłos <szymon.klos@collabora.com>2017-06-01 08:10:22 +0200
commit5bc597c49207be961454cc333425f6d2a9230347 (patch)
tree5e4fd831621dd1913bb1256f3724059b2c7367dc /solenv
parent8421372dd3c25c7852de388e3c8cc4a8b65dc2de (diff)
Watermark: docx interoperability
Before patch: Document created in MS Word: <v:shapetype id="_x0000_t136" o:spt="136" ...> <v:shape type="#_x0000_t136" ...> Imported to LO and exported: <v:shapetype id="shapetype_136" o:spt="136" ...> <v:shape type="shapetype_136" ...> Then again imported to MS Word and exported: <v:shapetype id="shapetype_136" o:spid="_x0000_m1026" o:spt="100" ...> <v:shape type="#shapetype_136" ...> In this moment LO after import had shape in the navigator but it wasn't visible. Patch: * vmshapecontext.cxx is changed to read ShapeType from id instead of o:spt when o:spid is present. * vmlexport.cxx added o:spid for Word to identify inserted watermark * edfxol.cxx changed name of shape to "PowerPlusWaterMarkObject" for Word * tests Change-Id: I25322628838a98c45cbeed64144d04977b2ea9ba Reviewed-on: https://gerrit.libreoffice.org/37969 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'solenv')
0 files changed, 0 insertions, 0 deletions