summaryrefslogtreecommitdiff
path: root/oox/inc/oox/vml/vmlshape.hxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@suse.cz>2012-06-21 15:02:47 +0200
committerMiklos Vajna <vmiklos@suse.cz>2012-06-21 15:09:26 +0200
commitf837c4288cdae4921b3fb6747ba2e2cd5ce2dcd2 (patch)
tree05ef9c9408a6cb9a937956762abc0ae36284fe9c /oox/inc/oox/vml/vmlshape.hxx
parente7bbaefa47fa19971151f03531bf1da3658e6d34 (diff)
n#758883 oox: anchor vml shapes without anchor info as at-character
w10:wrap was originally arrived to writerfilter::dmapper::WrapHandler::lcl_attribute(), but writerfilter::dmapper::DomainMapper_Impl::PushShapeContext() was called already and set the anchor type. Fix this, then we can set a a suitable anchor type in lcl_SetAnchorType() based on the type model. Change-Id: Ib411450b10f29f814bc13d81eaec434971b2e52a
Diffstat (limited to 'oox/inc/oox/vml/vmlshape.hxx')
-rw-r--r--oox/inc/oox/vml/vmlshape.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/oox/inc/oox/vml/vmlshape.hxx b/oox/inc/oox/vml/vmlshape.hxx
index abd91b68bfa0..0400964a4c6f 100644
--- a/oox/inc/oox/vml/vmlshape.hxx
+++ b/oox/inc/oox/vml/vmlshape.hxx
@@ -92,6 +92,8 @@ struct ShapeTypeModel
OptValue< ::rtl::OUString > moGraphicPath; ///< Path to a graphic for this shape.
OptValue< ::rtl::OUString > moGraphicTitle; ///< Title of the graphic.
+ OptValue< ::rtl::OUString > moWrapAnchorX; ///< The base object from which our horizontal positioning should be calculated.
+ OptValue< ::rtl::OUString > moWrapAnchorY; ///< The base object from which our vertical positioning should be calculated.
explicit ShapeTypeModel();