diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-05-20 22:32:43 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-05-21 13:25:31 -0400 |
commit | 713c2f197b46cefe3d46f0658536af3be1c3842e (patch) | |
tree | ee0af7dd8a417f014d913182587402b98c351185 /sc/inc | |
parent | 34789dbff7cc51473bca407afa5bddaf1505975c (diff) |
Finer grained ODS import mode selection.
Change-Id: I18520837f8d25103bf8482a0204b8a7b7740feb1
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/xmlwrap.hxx | 9 |
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; |