summaryrefslogtreecommitdiff
path: root/oox/inc/drawingml/shape3dproperties.hxx
diff options
context:
space:
mode:
authorGülşah Köse <gulsah.kose@collabora.com>2020-11-17 12:43:12 +0300
committerGülşah Köse <gulsah.kose@collabora.com>2020-11-18 10:36:07 +0100
commit72998fc859a83f063698c287d035f3fdc8b4481c (patch)
tree98563e4ba8e354aab4fd6cd0f6b0cb0aef1741ea /oox/inc/drawingml/shape3dproperties.hxx
parent6fa1161d3113d43f38acdf9207627659fbc137c8 (diff)
tdf#128213 Fix text camera z rotation import and export.
Text3DProperties is added to distinguish shape and text 3D effects. Before there was implementation error about text camera z rotation support. We were using shape effects for text. We already have not support shape 3D rotation but we have text camera z rotation. This patch includes import and export filter changes about text camera z rotation. Change-Id: I623392b82edf4585888d2f15ad91ffb2109d8f96 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106033 Tested-by: Jenkins Reviewed-by: Gülşah Köse <gulsah.kose@collabora.com>
Diffstat (limited to 'oox/inc/drawingml/shape3dproperties.hxx')
-rw-r--r--oox/inc/drawingml/shape3dproperties.hxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/oox/inc/drawingml/shape3dproperties.hxx b/oox/inc/drawingml/shape3dproperties.hxx
index 683a771b8bdc..c43e643aae5c 100644
--- a/oox/inc/drawingml/shape3dproperties.hxx
+++ b/oox/inc/drawingml/shape3dproperties.hxx
@@ -44,7 +44,7 @@ struct BevelProperties
OptValue< sal_Int32 > mnHeight;
};
-struct Shape3DProperties
+struct Generic3DProperties
{
OptValue< sal_Int32 > mnPreset;
OptValue< float > mfFieldOfVision;
@@ -79,6 +79,11 @@ struct Shape3DProperties
const Color& rColor, const GraphicHelper& rGraphicHelper, ::Color rPhClr );
};
+struct Shape3DProperties : Generic3DProperties
+{};
+
+struct Text3DProperties : Generic3DProperties
+{};
} // namespace oox::drawingml