summaryrefslogtreecommitdiff
path: root/sc/source/filter/xml/XMLStylesImportHelper.hxx
diff options
context:
space:
mode:
authorSascha Ballach <sab@openoffice.org>2001-06-20 13:23:54 +0000
committerSascha Ballach <sab@openoffice.org>2001-06-20 13:23:54 +0000
commite1fdbf27e6cabe48610f08e1bfac75785eb64a14 (patch)
tree271c5e955563106ff6b6599accf322d1c1f93d00 /sc/source/filter/xml/XMLStylesImportHelper.hxx
parentf10041f7f977d9cb984fe38935cac43d4ad1db1a (diff)
#79771#; implements and use a better AddRange method
Diffstat (limited to 'sc/source/filter/xml/XMLStylesImportHelper.hxx')
-rw-r--r--sc/source/filter/xml/XMLStylesImportHelper.hxx14
1 files changed, 10 insertions, 4 deletions
diff --git a/sc/source/filter/xml/XMLStylesImportHelper.hxx b/sc/source/filter/xml/XMLStylesImportHelper.hxx
index 2d17e31ed5c9..45fe56493e6d 100644
--- a/sc/source/filter/xml/XMLStylesImportHelper.hxx
+++ b/sc/source/filter/xml/XMLStylesImportHelper.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: XMLStylesImportHelper.hxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: sab $ $Date: 2001-06-11 05:48:08 $
+ * last change: $Author: sab $ $Date: 2001-06-20 14:23:54 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -190,18 +190,23 @@ class ScMyStylesImportHelper
ScMyStylesSet aCellStyles;
ScMyStyles aColDefaultStyles;
ScMyStylesSet::iterator aRowDefaultStyle;
- rtl::OUString sPrefix;
rtl::OUString sStyleName;
+ rtl::OUString sPrevStyleName;
rtl::OUString sCurrency;
+ rtl::OUString sPrevCurrency;
rtl::OUString sEmpty;
+ ScRange aPrevRange;
sal_Int16 nCellType;
+ sal_Int16 nPrevCellType;
+ sal_Bool bPrevRangeAdded;
void ResetAttributes();
ScMyStylesSet::iterator GetIterator(const rtl::OUString& sStyleName);
void AddDefaultRange(const ScRange& rRange);
void AddSingleRange(const ScRange& rRange);
+ void AddRange();
public:
- ScMyStylesImportHelper(const rtl::OUString& rPrefix);
+ ScMyStylesImportHelper();
~ScMyStylesImportHelper();
void AddColumnStyle(const rtl::OUString& rStyleName, const sal_Int32 nColumn, const sal_Int32 nRepeat);
void SetRowStyle(const rtl::OUString& rStyleName);
@@ -213,6 +218,7 @@ public:
void AddCell(const com::sun::star::table::CellAddress& rAddress);
void InsertRow(const sal_Int32 nRow, const sal_Int32 nTab, ScDocument* pDoc); // a row is inserted before nRow
void InsertCol(const sal_Int32 nCol, const sal_Int32 nTab, ScDocument* pDoc); // a col is inserted before nCol
+ void EndTable();
void SetStylesToRanges(ScXMLImport& rImport);
};