summaryrefslogtreecommitdiff
path: root/oox/inc/oox/vml/vmlshape.hxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@suse.cz>2012-03-27 14:34:35 +0200
committerMiklos Vajna <vmiklos@suse.cz>2012-03-28 10:27:46 +0200
commit559ecabbfc6d78df995c899ba996a470e241b76c (patch)
tree340451adcd9251f9b0b02bea11c2b01eda5dd9ee /oox/inc/oox/vml/vmlshape.hxx
parent8b8fad38b2de3f037f628fea1f0f00fcb280be0d (diff)
n#751117 oox: implement VML import of v:line token
Diffstat (limited to 'oox/inc/oox/vml/vmlshape.hxx')
-rw-r--r--oox/inc/oox/vml/vmlshape.hxx15
1 files changed, 15 insertions, 0 deletions
diff --git a/oox/inc/oox/vml/vmlshape.hxx b/oox/inc/oox/vml/vmlshape.hxx
index c00625c5a6fa..bde882374e49 100644
--- a/oox/inc/oox/vml/vmlshape.hxx
+++ b/oox/inc/oox/vml/vmlshape.hxx
@@ -186,6 +186,8 @@ struct ShapeModel
TextBoxPtr mxTextBox; /// Text contents and properties.
ClientDataPtr mxClientData; /// Excel specific client data.
::rtl::OUString maLegacyDiagramPath;/// Legacy Diagram Fragment Path
+ ::rtl::OUString maFrom; /// Start point for line shape.
+ ::rtl::OUString maTo; /// End point for line shape.
explicit ShapeModel();
~ShapeModel();
@@ -312,6 +314,19 @@ protected:
const ::com::sun::star::awt::Rectangle& rShapeRect ) const;
};
+/** A Line shape object. */
+class LineShape : public SimpleShape
+{
+public:
+ explicit LineShape( Drawing& rDrawing );
+
+protected:
+ /** Creates the corresponding XShape and inserts it into the passed container. */
+ virtual ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape >
+ implConvertAndInsert(
+ const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShapes >& rxShapes,
+ const ::com::sun::star::awt::Rectangle& rShapeRect ) const;
+};
// ============================================================================
/** A shape object with custom geometry. */