summaryrefslogtreecommitdiff
path: root/sc/inc/dpoutputgeometry.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei@openoffice.org>2009-07-31 15:36:49 +0000
committerKohei Yoshida <kohei@openoffice.org>2009-07-31 15:36:49 +0000
commit140a7e79d697b679c5c2a3b5ffe00c91f8cb9585 (patch)
tree8b042f59bd16beb9d63553e07065d080e1f6cc21 /sc/inc/dpoutputgeometry.hxx
parentfef2f67ef7f3d49cc5b9bab8b2f21e2004cdfb16 (diff)
We append an extra title row only for xls import, not for ods import.
Diffstat (limited to 'sc/inc/dpoutputgeometry.hxx')
-rw-r--r--sc/inc/dpoutputgeometry.hxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/sc/inc/dpoutputgeometry.hxx b/sc/inc/dpoutputgeometry.hxx
index 8183d94e2305..b665c9cc88b4 100644
--- a/sc/inc/dpoutputgeometry.hxx
+++ b/sc/inc/dpoutputgeometry.hxx
@@ -40,8 +40,9 @@ class SC_DLLPUBLIC ScDPOutputGeometry
{
public:
enum FieldType { Column, Row, Page, Data, None };
+ enum ImportType { ODF, XLS };
- ScDPOutputGeometry(const ScRange& rOutRange, bool bShowFilter);
+ ScDPOutputGeometry(const ScRange& rOutRange, bool bShowFilter, ImportType eImportType);
~ScDPOutputGeometry();
/**
@@ -71,6 +72,8 @@ private:
sal_uInt32 mnPageFields;
sal_uInt32 mnDataFields;
+ ImportType meImportType;
+
bool mbShowFilter;
};