diff options
author | Thorsten Behrens <tbehrens@novell.com> | 2011-08-12 15:53:12 +0200 |
---|---|---|
committer | Thorsten Behrens <tbehrens@novell.com> | 2011-08-12 16:56:31 +0200 |
commit | a81327ff2faaf21c22f1a902bea170942d5207e6 (patch) | |
tree | 907c30a7a582308957d7b2bacbef1877cb03b21a /oox/source/shape | |
parent | f418927e6fc5228d9d08a2d11e0234661038374c (diff) |
Import SmartArt graphics to Impress
Extending the existing functionality to
* properly parse and model the declarative shapes
* provide means for round-tripping, and re-rendering the
shapes from xml snippets
* implements the layouts composite, cycle, linear, and the
special 'text' node
This is based on the initial smartart work from hfiguiere@novell.com
Diffstat (limited to 'oox/source/shape')
-rw-r--r-- | oox/source/shape/ShapeFilterBase.cxx | 4 | ||||
-rw-r--r-- | oox/source/shape/ShapeFilterBase.hxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/oox/source/shape/ShapeFilterBase.cxx b/oox/source/shape/ShapeFilterBase.cxx index f67be3d0de23..ac010d436188 100644 --- a/oox/source/shape/ShapeFilterBase.cxx +++ b/oox/source/shape/ShapeFilterBase.cxx @@ -60,9 +60,9 @@ const ::oox::drawingml::table::TableStyleListPtr ShapeFilterBase::getTableStyles return ::oox::drawingml::table::TableStyleListPtr(); } -::oox::drawingml::chart::ChartConverter& ShapeFilterBase::getChartConverter() +::oox::drawingml::chart::ChartConverter* ShapeFilterBase::getChartConverter() { - return *mxChartConv; + return mxChartConv.get(); } ::oox::ole::VbaProject* ShapeFilterBase::implCreateVbaProject() const diff --git a/oox/source/shape/ShapeFilterBase.hxx b/oox/source/shape/ShapeFilterBase.hxx index e49e98913ff3..360e81014ec1 100644 --- a/oox/source/shape/ShapeFilterBase.hxx +++ b/oox/source/shape/ShapeFilterBase.hxx @@ -60,7 +60,7 @@ public: /** Has to be implemented by each filter to return TableStyles. */ virtual const ::oox::drawingml::table::TableStyleListPtr getTableStyles(); - virtual ::oox::drawingml::chart::ChartConverter& getChartConverter(); + virtual ::oox::drawingml::chart::ChartConverter* getChartConverter(); virtual bool importDocument() { return true; } virtual bool exportDocument() { return true; } |