summaryrefslogtreecommitdiff
path: root/sc/inc/document.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2013-05-24 11:52:18 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2013-06-24 16:51:25 -0400
commitc008dc483f8c6840803983e7e351cec6fdd32070 (patch)
tree7c88eeabde57ea4a3c1a760d1c02ea2fd37bd721 /sc/inc/document.hxx
parent75dec25730c88bdb8eb5e2a3f92689460fa89d29 (diff)
Switch to using multi_type_vector for cell storage.
The old style cell storage is no more. Currently the code is buildable, but crashes during unit test. Change-Id: Ie688e22e95c7fb02b9e97b23df0fc1883a97945f
Diffstat (limited to 'sc/inc/document.hxx')
-rw-r--r--sc/inc/document.hxx12
1 files changed, 5 insertions, 7 deletions
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx
index 11a18e9ba24e..64f66e991e13 100644
--- a/sc/inc/document.hxx
+++ b/sc/inc/document.hxx
@@ -83,7 +83,6 @@ class XColorList;
struct ScAttrEntry;
class ScAutoFormatData;
-class ScBaseCell;
class ScBroadcastAreaSlotMachine;
class ScChangeViewSettings;
class ScChartCollection;
@@ -212,7 +211,6 @@ const sal_uInt8 SC_DDE_IGNOREMODE = 255; /// For usage in FindDdeLink()
class ScDocument
{
-friend class ScDocumentIterator;
friend class ScValueIterator;
friend class ScHorizontalValueIterator;
friend class ScDBQueryDataIterator;
@@ -1616,8 +1614,6 @@ public:
SCCOL nCol, SCROW nRow, SCTAB nTab,
ScMarkData& rMark, bool bIsUndo);
- void DoColResize( SCTAB nTab, SCCOL nCol1, SCCOL nCol2, SCSIZE nAdd );
-
void InvalidateTextWidth( const OUString& rStyleName );
void InvalidateTextWidth( SCTAB nTab );
void InvalidateTextWidth( const ScAddress* pAdrFrom, const ScAddress* pAdrTo, bool bNumFormatChanged );
@@ -1700,6 +1696,11 @@ public:
SC_DLLPUBLIC ScMacroManager* GetMacroManager();
+ /**
+ * See if specified column has any non-empty cells.
+ */
+ bool IsEmptyData( SCTAB nTab, SCCOL nCol ) const;
+
private:
ScDocument(const ScDocument& r); // disabled with no definition
@@ -2011,9 +2012,6 @@ private: // CLOOK-Impl-methods
bool HasPartOfMerged( const ScRange& rRange );
- void PutCell( const ScAddress&, ScBaseCell* pCell, bool bForceTab = false );
- void PutCell(SCCOL nCol, SCROW nRow, SCTAB nTab, ScBaseCell* pCell, sal_uLong nFormatIndex, bool bForceTab = false );
-
ScRefCellValue GetRefCellValue( const ScAddress& rPos );
std::map< SCTAB, ScSortParam > mSheetSortParams;