summaryrefslogtreecommitdiffstats
path: root/sc/inc/xmlwrap.hxx
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-03-15 01:22:13 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-03-15 01:30:54 +0100
commitff98426745b76fef17e78d75f9b18b26ebc69a74 (patch)
tree9262b1f41e1493e2bd909ba56e9d57b6fed12f63 /sc/inc/xmlwrap.hxx
parentlet us pass this parameter by value (diff)
downloadcore-ff98426745b76fef17e78d75f9b18b26ebc69a74.tar.gz
core-ff98426745b76fef17e78d75f9b18b26ebc69a74.zip
initial work on an odc export
We can now export a chart to odc when we are in chart edit mode from Calc. I need to add support for it to Writer and Impress as well. We can already open these files but copy&paste from the opened file fails. The next step is then to add a new menu entry Insert->Object->Chart from file Change-Id: I14d1702e79517e7319a1929de2be5501d375885d
Diffstat (limited to 'sc/inc/xmlwrap.hxx')
-rw-r--r--sc/inc/xmlwrap.hxx13
1 files changed, 13 insertions, 0 deletions
diff --git a/sc/inc/xmlwrap.hxx b/sc/inc/xmlwrap.hxx
index 42ab215be02b..b4b505cb3bbb 100644
--- a/sc/inc/xmlwrap.hxx
+++ b/sc/inc/xmlwrap.hxx
@@ -23,6 +23,7 @@
#include <tools/solar.h>
#include <com/sun/star/uno/Reference.hxx>
#include <com/sun/star/uno/Sequence.hxx>
+#include <com/sun/star/frame/XModel.hpp>
class ScDocument;
class SfxMedium;
@@ -71,6 +72,18 @@ public:
sal_Bool Export(sal_Bool bStylesOnly);
};
+class ScXMLChartExportWrapper
+{
+public:
+ ScXMLChartExportWrapper( com::sun::star::uno::Reference< com::sun::star::frame::XModel > xModel, SfxMedium& rMed );
+ bool Export();
+
+private:
+ com::sun::star::uno::Reference< com::sun::star::frame::XModel > mxModel;
+ ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage > mxStorage;
+ SfxMedium& mrMedium;
+};
+
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */