diff options
author | Cédric Bosdonnat <cedricbosdo@openoffice.org> | 2010-10-06 23:34:50 +0200 |
---|---|---|
committer | Cédric Bosdonnat <cedricbosdo@openoffice.org> | 2010-10-06 23:34:50 +0200 |
commit | 3d9ebded1358395ed81db7a63629b046aec2aeac (patch) | |
tree | ae287a942c92b3e807f48af3e20e3d01f8de44ef /oox/inc/oox/vml/vmlshapecontext.hxx | |
parent | 8f90fdf25623164326d4573de4c8798109dcac69 (diff) |
Misc improvements for docx VML import
Diffstat (limited to 'oox/inc/oox/vml/vmlshapecontext.hxx')
-rw-r--r-- | oox/inc/oox/vml/vmlshapecontext.hxx | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/oox/inc/oox/vml/vmlshapecontext.hxx b/oox/inc/oox/vml/vmlshapecontext.hxx index bda7d90f34e2..aaa3fed61e82 100644 --- a/oox/inc/oox/vml/vmlshapecontext.hxx +++ b/oox/inc/oox/vml/vmlshapecontext.hxx @@ -40,6 +40,7 @@ struct ShapeClientData; struct ShapeModel; class ShapeBase; class GroupShape; +class RectangleShape; class ShapeContainer; @@ -118,6 +119,9 @@ private: /** Processes the 'points' attribute. */ void setPoints( const ::rtl::OUString& rPoints ); +protected: + ShapeBase& mrShape; + private: ShapeModel& mrShapeModel; }; @@ -141,6 +145,19 @@ private: // ============================================================================ +class RectangleShapeContext : public ShapeContext +{ +public: + explicit RectangleShapeContext( + ::oox::core::ContextHandler2Helper& rParent, + const AttributeList& rAttribs, + RectangleShape& rShape ); + + virtual ::oox::core::ContextHandlerRef + onCreateContext( sal_Int32 nElement, const AttributeList& rAttribs ); +}; +// ============================================================================ + } // namespace vml } // namespace oox |