path: root/sc/source/filter/xml/xmldrani.hxx
diff options
authorKohei Yoshida <>2011-11-17 12:26:54 -0500
committerKohei Yoshida <>2011-11-18 14:13:21 -0500
commitff6da5057d4b66c4bdd4bdcf402382e4faf991a4 (patch)
tree6b94b68df7d26e2707acdfbfa6d3f5754b394070 /sc/source/filter/xml/xmldrani.hxx
parent1e39e93af99e509245fb7e10a1b20c8e4f1aa46b (diff)
Started working on de-UNO-izing the filter import.
The idea is to keep a local ScQueryParam, have the XML parser fill it as it parses, then commit that to the DB data. Currently, the parser stores it as UNO filter data, then we convert it to ScQueryParam at the end. Not very efficient.
Diffstat (limited to 'sc/source/filter/xml/xmldrani.hxx')
1 files changed, 4 insertions, 1 deletions
diff --git a/sc/source/filter/xml/xmldrani.hxx b/sc/source/filter/xml/xmldrani.hxx
index 22cf214c2f08..a2eba21e069e 100644
--- a/sc/source/filter/xml/xmldrani.hxx
+++ b/sc/source/filter/xml/xmldrani.hxx
@@ -41,7 +41,10 @@
#include "dbdata.hxx"
+#include <boost/scoped_ptr.hpp>
class ScDBData;
+struct ScQueryParam;
class ScXMLImport;
class ScXMLDatabaseRangesContext : public SvXMLImportContext
@@ -74,6 +77,7 @@ struct ScSubTotalRule
class ScXMLDatabaseRangeContext : public SvXMLImportContext
+ boost::scoped_ptr<ScQueryParam> mpQueryParam;
rtl::OUString sDatabaseRangeName;
rtl::OUString sConnectionRessource;
rtl::OUString sRangeAddress;
@@ -96,7 +100,6 @@ class ScXMLDatabaseRangeContext : public SvXMLImportContext
bool bKeepFormats;
bool bMoveCells;
bool bStripData;
- bool bContainsHeader;
bool bAutoFilter;
bool bSubTotalsBindFormatsToContent;
bool bSubTotalsIsCaseSensitive;