summaryrefslogtreecommitdiff
path: root/oox/inc
diff options
context:
space:
mode:
authorCédric Bosdonnat <cedric.bosdonnat@free.fr>2012-09-24 18:01:05 +0200
committerCédric Bosdonnat <cedric.bosdonnat@free.fr>2012-09-27 09:23:19 +0200
commit0f581ab761cefde208e576661850b57f2846fdb4 (patch)
tree6639ba32278a1fe0533d9b147b4f25adee525e8d /oox/inc
parent8cb7464130634551fd2f043efc14f8f8f8bdf447 (diff)
n#779627: VML: import mso-position-vertical:center and friends
This allows to properly position objects that are vertically and/or horizontally centered relatively to the page. Change-Id: I1f7e78c5b828679817cdfc72e4d90a0850b242fa
Diffstat (limited to 'oox/inc')
-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 a09192a42ce7..385f9eaf6745 100644
--- a/oox/inc/oox/vml/vmlshape.hxx
+++ b/oox/inc/oox/vml/vmlshape.hxx
@@ -70,8 +70,10 @@ struct ShapeTypeModel
::rtl::OUString maHeight; ///< Height of the shape bounding box (number with unit).
::rtl::OUString maMarginLeft; ///< X position of the shape bounding box to shape anchor (number with unit).
::rtl::OUString maMarginTop; ///< Y position of the shape bounding box to shape anchor (number with unit).
+ ::rtl::OUString maPositionHorizontalRelative; ///< The X position is relative to this.
::rtl::OUString maPositionVerticalRelative; ///< The Y position is relative to this.
::rtl::OUString maPositionHorizontal; ///< The X position orientation (default: absolute).
+ ::rtl::OUString maPositionVertical; ///< The Y position orientation.
::rtl::OUString maRotation; ///< Rotation of the shape, in degrees.
::rtl::OUString maFlip; ///< Flip type of the shape (can be "x" or "y").
sal_Bool mbAutoHeight; ///< If true, the height value is a minimum value (mostly used for textboxes)