summaryrefslogtreecommitdiff
path: root/include/oox/core/xmlfilterbase.hxx
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2015-03-10 00:34:07 +0100
committerAndras Timar <andras.timar@collabora.com>2015-03-13 10:22:42 +0100
commitc9bae5c5f0b9219391e604a1d61126ea3d2c943c (patch)
treec79e6f436cba1a89885ad7314879171ed2f9eee9 /include/oox/core/xmlfilterbase.hxx
parentafe0a7ec1f0a3841c96148f17c9616b861c08582 (diff)
detect MSO 2007 OOXML documents
(cherry picked from commit 15174177091367332b57cd79575e2f7dd27388b2) Conflicts: oox/source/core/xmlfilterbase.cxx Conflicts: oox/source/core/xmlfilterbase.cxx Change-Id: I4052c6f1e5dde71ce4cede1ec9a313f461861d71
Diffstat (limited to 'include/oox/core/xmlfilterbase.hxx')
-rw-r--r--include/oox/core/xmlfilterbase.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/oox/core/xmlfilterbase.hxx b/include/oox/core/xmlfilterbase.hxx
index a26bad854665..3d12fc4d5fc5 100644
--- a/include/oox/core/xmlfilterbase.hxx
+++ b/include/oox/core/xmlfilterbase.hxx
@@ -233,6 +233,8 @@ public:
FastParser* createParser() const;
+ bool isMSO2007Document() const;
+
protected:
virtual ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream >
implGetInputStream( utl::MediaDescriptor& rMediaDesc ) const SAL_OVERRIDE;
@@ -252,6 +254,7 @@ private:
::std::auto_ptr< XmlFilterBaseImpl > mxImpl;
sal_Int32 mnRelId;
sal_Int32 mnMaxDocId;
+ bool mbMSO2007;
};
typedef ::rtl::Reference< XmlFilterBase > XmlFilterRef;