summaryrefslogtreecommitdiff
path: root/include/oox/vml/vmlshape.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/oox/vml/vmlshape.hxx')
-rw-r--r--include/oox/vml/vmlshape.hxx10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/oox/vml/vmlshape.hxx b/include/oox/vml/vmlshape.hxx
index 7703b311c757..0e50e5b6ee1f 100644
--- a/include/oox/vml/vmlshape.hxx
+++ b/include/oox/vml/vmlshape.hxx
@@ -216,6 +216,7 @@ struct ShapeModel
OUString maSignatureLineSigningInstructions;
bool mbSignatureLineShowSignDate;
bool mbSignatureLineCanAddComment;
+ bool mbInGroup;
explicit ShapeModel();
~ShapeModel();
@@ -275,6 +276,13 @@ protected:
const css::uno::Reference< css::drawing::XShapes >& rxShapes,
const css::awt::Rectangle& rShapeRect ) const = 0;
+ /** Always called after implConvertAndInsert for the same task.*/
+ virtual css::uno::Reference<css::drawing::XShape> finalImplConvertAndInsert(
+ const css::uno::Reference<css::drawing::XShape>& rxShape) const
+ {
+ return rxShape;
+ };
+
/** Calculates the final shape rectangle according to the passed anchor,
if present, otherwise according to the own anchor settings. */
css::awt::Rectangle calcShapeRectangle(
@@ -304,6 +312,8 @@ protected:
implConvertAndInsert(
const css::uno::Reference< css::drawing::XShapes >& rxShapes,
const css::awt::Rectangle& rShapeRect ) const override;
+ virtual css::uno::Reference<css::drawing::XShape> finalImplConvertAndInsert(
+ const css::uno::Reference<css::drawing::XShape>& rxShape) const override;
/** Used by both RectangleShape and ComplexShape. */
css::uno::Reference<css::drawing::XShape>createEmbeddedPictureObject(
const css::uno::Reference< css::drawing::XShapes >& rxShapes,