summaryrefslogtreecommitdiff
path: root/oox/inc/oox/vml/vmlshapecontext.hxx
diff options
context:
space:
mode:
authorCédric Bosdonnat <cedricbosdo@openoffice.org>2010-10-06 23:34:50 +0200
committerCédric Bosdonnat <cedricbosdo@openoffice.org>2010-10-06 23:34:50 +0200
commit3d9ebded1358395ed81db7a63629b046aec2aeac (patch)
treeae287a942c92b3e807f48af3e20e3d01f8de44ef /oox/inc/oox/vml/vmlshapecontext.hxx
parent8f90fdf25623164326d4573de4c8798109dcac69 (diff)
Misc improvements for docx VML import
Diffstat (limited to 'oox/inc/oox/vml/vmlshapecontext.hxx')
-rw-r--r--oox/inc/oox/vml/vmlshapecontext.hxx17
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