diff options
author | Miklos Vajna <vmiklos@suse.cz> | 2013-05-28 17:44:25 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@suse.cz> | 2013-05-29 15:56:50 +0200 |
commit | 290695c785ef831abb6e78cd3675bc071f05f643 (patch) | |
tree | ed4bc0426237236b565ba738fe76103af10613a7 /include | |
parent | 4eaabc45f76aefe82558b283975ab9df3aea7fce (diff) |
bnc#817956 VML import of v:textpath
Word exposes this as Watermark in its UI.
Change-Id: I23d9b2aab2dab60a98c7f456b0592c2b74bcaf81
Diffstat (limited to 'include')
-rw-r--r-- | include/oox/vml/vmlformatting.hxx | 12 | ||||
-rw-r--r-- | include/oox/vml/vmlshape.hxx | 1 |
2 files changed, 13 insertions, 0 deletions
diff --git a/include/oox/vml/vmlformatting.hxx b/include/oox/vml/vmlformatting.hxx index 79fa38009e4d..81b83eec10a6 100644 --- a/include/oox/vml/vmlformatting.hxx +++ b/include/oox/vml/vmlformatting.hxx @@ -24,6 +24,7 @@ #include "oox/dllapi.h" #include <com/sun/star/awt/Point.hpp> #include <com/sun/star/drawing/PolyPolygonBezierCoords.hpp> +#include <com/sun/star/drawing/XShape.hpp> #include <vector> @@ -240,6 +241,17 @@ struct OOX_DLLPUBLIC ShadowModel void pushToPropMap(oox::drawingml::ShapePropertyMap& rPropMap, const GraphicHelper& rGraphicHelper) const; }; +/** The shadow model structure contains all shape textpath properties. */ +struct OOX_DLLPUBLIC TextpathModel +{ + OptValue<OUString> moString; ///< Specifies the string of the textpath. + + TextpathModel(); + + /** Writes the properties to the passed property map. */ + void pushToPropMap(oox::drawingml::ShapePropertyMap& rPropMap, com::sun::star::uno::Reference<com::sun::star::drawing::XShape> xShape) const; +}; + } // namespace vml } // namespace oox diff --git a/include/oox/vml/vmlshape.hxx b/include/oox/vml/vmlshape.hxx index e16fe90635c8..ca815ec8ef8e 100644 --- a/include/oox/vml/vmlshape.hxx +++ b/include/oox/vml/vmlshape.hxx @@ -88,6 +88,7 @@ struct OOX_DLLPUBLIC ShapeTypeModel StrokeModel maStrokeModel; ///< Border line formatting. FillModel maFillModel; ///< Shape fill formatting. ShadowModel maShadowModel; ///< Shape shadow formatting. + TextpathModel maTextpathModel; ///< Shape textpath formatting. OptValue< OUString > moGraphicPath; ///< Path to a graphic for this shape. OptValue< OUString > moGraphicTitle; ///< Title of the graphic. |