diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-03-15 01:22:13 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-03-15 01:30:54 +0100 |
commit | ff98426745b76fef17e78d75f9b18b26ebc69a74 (patch) | |
tree | 9262b1f41e1493e2bd909ba56e9d57b6fed12f63 /sfx2/inc | |
parent | ca4d16429ab0d060b8e894fc6363b75ba82c80b0 (diff) |
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 'sfx2/inc')
-rw-r--r-- | sfx2/inc/sfx2/objsh.hxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sfx2/inc/sfx2/objsh.hxx b/sfx2/inc/sfx2/objsh.hxx index 73a1934ef015..7e34147fb4b4 100644 --- a/sfx2/inc/sfx2/objsh.hxx +++ b/sfx2/inc/sfx2/objsh.hxx @@ -569,10 +569,12 @@ public: virtual void SetModified( sal_Bool bModified = sal_True ); sal_Bool IsModified(); + /** + * @param bChart true if the file is a chart doc and FillClass should not be called + */ void SetupStorage( const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& xStorage, - sal_Int32 nVersion, - sal_Bool bTemplate ) const; + sal_Int32 nVersion, sal_Bool bTemplate, bool bChart = false ) const; ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage > GetStorage(); |