summaryrefslogtreecommitdiffstats
path: root/sc/inc/xmlwrap.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-05-20 22:32:43 -0400
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-05-21 13:25:31 -0400
commit713c2f197b46cefe3d46f0658536af3be1c3842e (patch)
treeee0af7dd8a417f014d913182587402b98c351185 /sc/inc/xmlwrap.hxx
parentLet's use constant uno name for these. (diff)
downloadcore-713c2f197b46cefe3d46f0658536af3be1c3842e.tar.gz
core-713c2f197b46cefe3d46f0658536af3be1c3842e.zip
Finer grained ODS import mode selection.
Change-Id: I18520837f8d25103bf8482a0204b8a7b7740feb1
Diffstat (limited to 'sc/inc/xmlwrap.hxx')
-rw-r--r--sc/inc/xmlwrap.hxx9
1 files changed, 8 insertions, 1 deletions
diff --git a/sc/inc/xmlwrap.hxx b/sc/inc/xmlwrap.hxx
index e74c01af8ee0..b7ec5cd2f055 100644
--- a/sc/inc/xmlwrap.hxx
+++ b/sc/inc/xmlwrap.hxx
@@ -72,10 +72,17 @@ class ScXMLImportWrapper
ScMySharedData*& pSharedData);
public:
+
+ static const sal_uInt8 STYLES = 0x01;
+ static const sal_uInt8 CONTENT = 0x02;
+ static const sal_uInt8 METADATA = 0x04;
+ static const sal_uInt8 SETTINGS = 0x08;
+ static const sal_uInt8 ALL = STYLES | CONTENT | METADATA | SETTINGS;
+
ScXMLImportWrapper(
ScDocShell& rDocSh, SfxMedium* pM, const css::uno::Reference<css::embed::XStorage>& xStor );
- bool Import(bool bStylesOnly, ErrCode& );
+ bool Import( sal_uInt8 nMode, ErrCode& rError );
bool Export(bool bStylesOnly);
const sc::ImportPostProcessData& GetImportPostProcessData() const;