diff options
author | Jacobo Aragunde Pérez <jaragunde@igalia.com> | 2014-01-27 19:32:55 +0100 |
---|---|---|
committer | Jacobo Aragunde Pérez <jaragunde@igalia.com> | 2014-01-28 11:00:37 +0100 |
commit | 007f260e0ba31b2449debd0329487679a851cb12 (patch) | |
tree | 1eef9d35b345c75368b41aaf7f7755f24ba622e7 /include/oox/export/drawingml.hxx | |
parent | f876c8a442977454a29377a703dc1cf630158d00 (diff) |
ooxml: Preserve color transformations in shape style definitions
Color tags like <a:schemeClr> can have children tags that modify the
specified color. These modifications were applied on import time in
the Color object, but they were not preserved.
We added a member to Color object to preserve the unaltered list of
transformations. The method getTransformations() returns that member,
and the methods getColorTransformationName and
getColorTransformationToken were added to transform the tokens into
strings that can be added to an InteropGrabBag and viceversa.
The transformations are added to the Shape InteropGrabBag in the
method Shape::createAndInsert, and they are written back on export
time at DrawingML::WriteStyleProperties.
The data files for some /sd/qa/ unit tests were updated to reflect
the new properties inside the Shape InteropGrabBag.
Change-Id: Ieb164268c3b79f2d9b7ed3a4954b5de3b7a5811c
Diffstat (limited to 'include/oox/export/drawingml.hxx')
-rw-r--r-- | include/oox/export/drawingml.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/oox/export/drawingml.hxx b/include/oox/export/drawingml.hxx index 31c6f20772f4..445e895875fb 100644 --- a/include/oox/export/drawingml.hxx +++ b/include/oox/export/drawingml.hxx @@ -100,6 +100,7 @@ protected: const char* GetFieldType( ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange > rRun, sal_Bool& bIsField ); OUString WriteImage( const OUString& rURL ); + void WriteStyleProperties( sal_Int32 nTokenId, ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue > aProperties ); const char* GetComponentDir(); const char* GetRelationCompPrefix(); |