summaryrefslogtreecommitdiff
path: root/oox/inc/oox/drawingml/theme.hxx
diff options
context:
space:
mode:
authorThorsten Behrens <tbehrens@novell.com>2011-08-12 15:53:12 +0200
committerThorsten Behrens <tbehrens@novell.com>2011-08-12 16:56:31 +0200
commita81327ff2faaf21c22f1a902bea170942d5207e6 (patch)
tree907c30a7a582308957d7b2bacbef1877cb03b21a /oox/inc/oox/drawingml/theme.hxx
parentf418927e6fc5228d9d08a2d11e0234661038374c (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/inc/oox/drawingml/theme.hxx')
-rw-r--r--oox/inc/oox/drawingml/theme.hxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/oox/inc/oox/drawingml/theme.hxx b/oox/inc/oox/drawingml/theme.hxx
index 81041be136d3..d6dbb2c57312 100644
--- a/oox/inc/oox/drawingml/theme.hxx
+++ b/oox/inc/oox/drawingml/theme.hxx
@@ -32,6 +32,7 @@
#include "oox/drawingml/clrscheme.hxx"
#include "oox/drawingml/shape.hxx"
#include "oox/drawingml/textfont.hxx"
+#include <com/sun/star/xml/dom/XDocument.hpp>
namespace oox {
namespace drawingml {
@@ -94,6 +95,11 @@ public:
inline Shape& getTxDef() { return maTxDef; }
inline const Shape& getTxDef() const { return maTxDef; }
+ void setFragment( const ::com::sun::star::uno::Reference<
+ ::com::sun::star::xml::dom::XDocument>& xRef ) { mxFragment=xRef; }
+ const ::com::sun::star::uno::Reference<
+ ::com::sun::star::xml::dom::XDocument>& getFragment() const { return mxFragment; }
+
private:
::rtl::OUString maStyleName;
ClrScheme maClrScheme;
@@ -105,6 +111,8 @@ private:
Shape maSpDef;
Shape maLnDef;
Shape maTxDef;
+ ::com::sun::star::uno::Reference<
+ ::com::sun::star::xml::dom::XDocument> mxFragment;
};
// ============================================================================