2010-10-27 12:43:08 +01:00
|
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
2000-09-18 16:07:07 +00:00
|
|
|
/*************************************************************************
|
|
|
|
*
|
2008-04-10 17:57:06 +00:00
|
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
2000-09-18 16:07:07 +00:00
|
|
|
*
|
2010-02-12 15:01:35 +01:00
|
|
|
* Copyright 2000, 2010 Oracle and/or its affiliates.
|
2000-09-18 16:07:07 +00:00
|
|
|
*
|
2008-04-10 17:57:06 +00:00
|
|
|
* OpenOffice.org - a multi-platform office productivity suite
|
2000-09-18 16:07:07 +00:00
|
|
|
*
|
2008-04-10 17:57:06 +00:00
|
|
|
* This file is part of OpenOffice.org.
|
2000-09-18 16:07:07 +00:00
|
|
|
*
|
2008-04-10 17:57:06 +00:00
|
|
|
* OpenOffice.org is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU Lesser General Public License version 3
|
|
|
|
* only, as published by the Free Software Foundation.
|
2000-09-18 16:07:07 +00:00
|
|
|
*
|
2008-04-10 17:57:06 +00:00
|
|
|
* OpenOffice.org is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU Lesser General Public License version 3 for more details
|
|
|
|
* (a copy is included in the LICENSE file that accompanied this code).
|
2000-09-18 16:07:07 +00:00
|
|
|
*
|
2008-04-10 17:57:06 +00:00
|
|
|
* You should have received a copy of the GNU Lesser General Public License
|
|
|
|
* version 3 along with OpenOffice.org. If not, see
|
|
|
|
* <http://www.openoffice.org/license.html>
|
|
|
|
* for a copy of the LGPLv3 License.
|
2000-09-18 16:07:07 +00:00
|
|
|
*
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
#ifndef SC_TABLE_HXX
|
|
|
|
#define SC_TABLE_HXX
|
|
|
|
|
2003-12-01 08:49:03 +00:00
|
|
|
#include <vector>
|
2009-07-03 12:42:53 +00:00
|
|
|
#include <utility>
|
2000-09-18 16:07:07 +00:00
|
|
|
#include <tools/gen.hxx>
|
2004-01-06 17:52:59 +00:00
|
|
|
#include <tools/color.hxx>
|
2001-02-22 17:13:02 +00:00
|
|
|
#include <com/sun/star/uno/Sequence.hxx>
|
2000-09-18 16:07:07 +00:00
|
|
|
#include "column.hxx"
|
2001-03-12 15:49:49 +00:00
|
|
|
#include "sortparam.hxx"
|
2004-08-20 08:08:34 +00:00
|
|
|
#include "compressedarray.hxx"
|
2012-02-23 23:36:49 +01:00
|
|
|
#include "postit.hxx"
|
2000-09-18 16:07:07 +00:00
|
|
|
|
2010-06-23 13:38:34 +02:00
|
|
|
#include <set>
|
2012-02-23 23:36:49 +01:00
|
|
|
#include <map>
|
2011-11-23 23:34:18 -05:00
|
|
|
#include <boost/scoped_ptr.hpp>
|
|
|
|
#include <boost/noncopyable.hpp>
|
CWS-TOOLING: integrate CWS scsheetprotection02
2009-06-18 16:48:14 +0200 kohei r273124 : #i102906# Fix a crasher when loading an xls document with unsupported
encrytpion.
2009-06-15 14:02:00 +0200 dr r272982 : #i10000# compiler warnings
2009-04-13 23:06:21 +0200 kohei r270740 : Renamed SetData() to SetDataFromDocument(), in order to resolve name clash
with the method of the same name in class Window. This caused a compiler
warning on Solaris Intel.
2009-04-13 04:09:59 +0200 kohei r270729 : CWS-TOOLING: rebase CWS scsheetprotection02 to trunk@270723 (milestone: DEV300:m46)
2009-02-23 16:13:45 +0100 kohei r268361 : added tabprotection.obj to the exception file list. Apparently the older
versions of boost::shared_ptr rely on C++ exceptions for its implementation.
2009-02-18 19:59:05 +0100 kohei r268253 : Switched to using ::boost::shared_ptr to wrap a pimpl class, because using
::std::auto_ptr in this header breaks the build on win32. The MSVC
implementation of ::std::auto_ptr has some weird quirks...
2009-02-17 21:47:13 +0100 kohei r268192 : fixed linkage issue due to library split.
2009-02-17 04:50:34 +0100 kohei r267842 : CWS-TOOLING: rebase CWS scsheetprotection02 to trunk@267171 (milestone: DEV300:m41)
2009-02-17 02:36:10 +0100 kohei r267841 : reverted the last commit, to re-surrect the removed src files.
2009-02-03 22:02:34 +0100 kohei r267342 : removed the src files to prevent them from being entered into the translation
process. The dialogs that need the strings are not yet enabled in the code,
so their removal will not cause any harm.
2009-01-14 12:24:29 +0100 dr r266280 : #i10000# wntmsci12 compiler warnings #4
2009-01-14 09:35:46 +0100 dr r266267 : #i10000# wntmsci12 compiler warnings #3
2009-01-13 15:42:07 +0100 dr r266231 : #i10000# wntmsci12 compiler warnings #2
2009-01-13 13:18:28 +0100 dr r266216 : #i10000# wntmsci12 compiler warnings
2009-01-07 03:59:11 +0100 kohei r265943 : remove the fscking compiler warnings.
2009-01-06 15:55:32 +0100 kohei r265925 : removed compiler warnings that caused the buildbot build to fail....
2009-01-05 23:24:59 +0100 kohei r265888 : Undoing my own local build fix to work around the libmoz... issue.
2008-12-30 21:39:58 +0100 kohei r265833 : Duh! Sheet protection was supposed to be disabled. :-/
2008-12-23 20:25:55 +0100 kohei r265792 : recovered the code block that was accidentally removed during cws rebase.
2008-12-23 19:03:19 +0100 kohei r265791 : fixed breakage in ods export filter due to rebase to m38.
2008-12-23 16:41:49 +0100 kohei r265787 : CWS-TOOLING: rebase CWS scsheetprotection02 to trunk@265758 (milestone: DEV300:m38)
2008-12-23 05:37:47 +0100 kohei r265768 : deliberately forget document and sheet passwords when importing from or
exporting to excel, to emulate the current behavior.
2008-12-23 05:12:59 +0100 kohei r265767 : removed commented-out unused method ScDocument::SetAutoFilterFlags().
2008-12-23 05:05:19 +0100 kohei r265766 : removed one duplicate method and made associated changes with the removal,
and a little more code cleanup.
2008-12-23 04:24:58 +0100 kohei r265765 : a typo in in-line comment
2008-12-23 04:23:08 +0100 kohei r265764 : remove fprintf statement that blatantly prints out document encryption
password to stdout. not a good practice.
2008-12-23 04:14:21 +0100 kohei r265763 : we actually don't want to clear all options, because if we do, then
we would no longer be able to select any cells on a protected sheet.
2008-12-23 04:07:10 +0100 kohei r265762 : * minor code cleanup (indentation inconsistencies & use of tab)
* fixed unprotecting a sheet with password to make it work again.
2008-12-23 03:22:50 +0100 kohei r265761 : reverted all the new functionalities to the existing ones, while keeping the new code in
as much as I could.
2008-12-22 23:11:08 +0100 kohei r265760 : in xls export filter, renamed two unknown records into records of known name.
2008-12-22 22:34:50 +0100 kohei r265759 : temporarily disable password capability on file export for MS Excel 97.
2008-12-22 17:01:21 +0100 kohei r265754 : CWS-TOOLING: rebase CWS scsheetprotection02 to trunk@264807 (milestone: DEV300:m37)
2008-11-26 03:12:58 +0100 kohei r264335 : recovered a method that was actually used.
2008-11-25 21:51:10 +0100 kohei r264334 : CWS-TOOLING: rebase CWS scsheetprotection02 to trunk@264325 (milestone: DEV300:m36)
2008-10-08 19:57:35 +0200 kohei r262094 : changed description string to make it less technical.
2008-10-01 05:56:58 +0200 kohei r261986 : migrated from the cvs-based cws.
2008-10-01 05:55:19 +0200 kohei r261985 : migrated from the cvs-based cws.
2008-10-01 05:55:00 +0200 kohei r261984 : migrated from the cvs-based cws.
2009-07-01 08:58:41 +00:00
|
|
|
|
2000-11-20 09:31:47 +00:00
|
|
|
namespace utl {
|
|
|
|
class TextSearch;
|
|
|
|
}
|
|
|
|
|
2010-06-23 13:38:34 +02:00
|
|
|
namespace com { namespace sun { namespace star {
|
|
|
|
namespace sheet {
|
|
|
|
struct TablePageBreakData;
|
|
|
|
}
|
|
|
|
} } }
|
|
|
|
|
2000-09-18 16:07:07 +00:00
|
|
|
class SfxItemSet;
|
|
|
|
class SfxStyleSheetBase;
|
|
|
|
class SvxBoxInfoItem;
|
|
|
|
class SvxBoxItem;
|
|
|
|
class SvxSearchItem;
|
|
|
|
|
|
|
|
class ScAutoFormatData;
|
|
|
|
class ScBaseCell;
|
|
|
|
class ScDocument;
|
2010-09-15 12:28:47 +02:00
|
|
|
class ScEditDataArray;
|
2000-09-18 16:07:07 +00:00
|
|
|
class ScFormulaCell;
|
|
|
|
class ScOutlineTable;
|
|
|
|
class ScPrintSaverTab;
|
|
|
|
class ScProgress;
|
|
|
|
class ScRangeList;
|
2010-06-15 20:02:53 +02:00
|
|
|
class ScSheetEvents;
|
2000-09-18 16:07:07 +00:00
|
|
|
class ScSortInfoArray;
|
2012-05-23 01:14:47 +02:00
|
|
|
class ScConditionalFormat;
|
|
|
|
class ScConditionalFormatList;
|
2000-09-18 16:07:07 +00:00
|
|
|
class ScStyleSheet;
|
CWS-TOOLING: integrate CWS scsheetprotection02
2009-06-18 16:48:14 +0200 kohei r273124 : #i102906# Fix a crasher when loading an xls document with unsupported
encrytpion.
2009-06-15 14:02:00 +0200 dr r272982 : #i10000# compiler warnings
2009-04-13 23:06:21 +0200 kohei r270740 : Renamed SetData() to SetDataFromDocument(), in order to resolve name clash
with the method of the same name in class Window. This caused a compiler
warning on Solaris Intel.
2009-04-13 04:09:59 +0200 kohei r270729 : CWS-TOOLING: rebase CWS scsheetprotection02 to trunk@270723 (milestone: DEV300:m46)
2009-02-23 16:13:45 +0100 kohei r268361 : added tabprotection.obj to the exception file list. Apparently the older
versions of boost::shared_ptr rely on C++ exceptions for its implementation.
2009-02-18 19:59:05 +0100 kohei r268253 : Switched to using ::boost::shared_ptr to wrap a pimpl class, because using
::std::auto_ptr in this header breaks the build on win32. The MSVC
implementation of ::std::auto_ptr has some weird quirks...
2009-02-17 21:47:13 +0100 kohei r268192 : fixed linkage issue due to library split.
2009-02-17 04:50:34 +0100 kohei r267842 : CWS-TOOLING: rebase CWS scsheetprotection02 to trunk@267171 (milestone: DEV300:m41)
2009-02-17 02:36:10 +0100 kohei r267841 : reverted the last commit, to re-surrect the removed src files.
2009-02-03 22:02:34 +0100 kohei r267342 : removed the src files to prevent them from being entered into the translation
process. The dialogs that need the strings are not yet enabled in the code,
so their removal will not cause any harm.
2009-01-14 12:24:29 +0100 dr r266280 : #i10000# wntmsci12 compiler warnings #4
2009-01-14 09:35:46 +0100 dr r266267 : #i10000# wntmsci12 compiler warnings #3
2009-01-13 15:42:07 +0100 dr r266231 : #i10000# wntmsci12 compiler warnings #2
2009-01-13 13:18:28 +0100 dr r266216 : #i10000# wntmsci12 compiler warnings
2009-01-07 03:59:11 +0100 kohei r265943 : remove the fscking compiler warnings.
2009-01-06 15:55:32 +0100 kohei r265925 : removed compiler warnings that caused the buildbot build to fail....
2009-01-05 23:24:59 +0100 kohei r265888 : Undoing my own local build fix to work around the libmoz... issue.
2008-12-30 21:39:58 +0100 kohei r265833 : Duh! Sheet protection was supposed to be disabled. :-/
2008-12-23 20:25:55 +0100 kohei r265792 : recovered the code block that was accidentally removed during cws rebase.
2008-12-23 19:03:19 +0100 kohei r265791 : fixed breakage in ods export filter due to rebase to m38.
2008-12-23 16:41:49 +0100 kohei r265787 : CWS-TOOLING: rebase CWS scsheetprotection02 to trunk@265758 (milestone: DEV300:m38)
2008-12-23 05:37:47 +0100 kohei r265768 : deliberately forget document and sheet passwords when importing from or
exporting to excel, to emulate the current behavior.
2008-12-23 05:12:59 +0100 kohei r265767 : removed commented-out unused method ScDocument::SetAutoFilterFlags().
2008-12-23 05:05:19 +0100 kohei r265766 : removed one duplicate method and made associated changes with the removal,
and a little more code cleanup.
2008-12-23 04:24:58 +0100 kohei r265765 : a typo in in-line comment
2008-12-23 04:23:08 +0100 kohei r265764 : remove fprintf statement that blatantly prints out document encryption
password to stdout. not a good practice.
2008-12-23 04:14:21 +0100 kohei r265763 : we actually don't want to clear all options, because if we do, then
we would no longer be able to select any cells on a protected sheet.
2008-12-23 04:07:10 +0100 kohei r265762 : * minor code cleanup (indentation inconsistencies & use of tab)
* fixed unprotecting a sheet with password to make it work again.
2008-12-23 03:22:50 +0100 kohei r265761 : reverted all the new functionalities to the existing ones, while keeping the new code in
as much as I could.
2008-12-22 23:11:08 +0100 kohei r265760 : in xls export filter, renamed two unknown records into records of known name.
2008-12-22 22:34:50 +0100 kohei r265759 : temporarily disable password capability on file export for MS Excel 97.
2008-12-22 17:01:21 +0100 kohei r265754 : CWS-TOOLING: rebase CWS scsheetprotection02 to trunk@264807 (milestone: DEV300:m37)
2008-11-26 03:12:58 +0100 kohei r264335 : recovered a method that was actually used.
2008-11-25 21:51:10 +0100 kohei r264334 : CWS-TOOLING: rebase CWS scsheetprotection02 to trunk@264325 (milestone: DEV300:m36)
2008-10-08 19:57:35 +0200 kohei r262094 : changed description string to make it less technical.
2008-10-01 05:56:58 +0200 kohei r261986 : migrated from the cvs-based cws.
2008-10-01 05:55:19 +0200 kohei r261985 : migrated from the cvs-based cws.
2008-10-01 05:55:00 +0200 kohei r261984 : migrated from the cvs-based cws.
2009-07-01 08:58:41 +00:00
|
|
|
class ScTableProtection;
|
2000-09-18 16:07:07 +00:00
|
|
|
class ScUserListData;
|
|
|
|
struct RowInfo;
|
|
|
|
struct ScFunctionData;
|
|
|
|
struct ScLineFlags;
|
2001-03-14 14:50:34 +00:00
|
|
|
class CollatorWrapper;
|
2010-06-23 13:38:34 +02:00
|
|
|
class ScFlatUInt16RowSegments;
|
|
|
|
class ScFlatBoolRowSegments;
|
|
|
|
class ScFlatBoolColSegments;
|
2010-09-16 11:32:16 +02:00
|
|
|
struct ScSetStringParam;
|
2010-10-01 22:30:59 -04:00
|
|
|
struct ScColWidthParam;
|
|
|
|
struct ScColWidthParam;
|
2011-03-08 18:50:13 -05:00
|
|
|
class ScRangeName;
|
2011-11-23 23:34:18 -05:00
|
|
|
class ScDBData;
|
2000-09-18 16:07:07 +00:00
|
|
|
|
2011-11-23 23:34:18 -05:00
|
|
|
class ScTable : boost::noncopyable
|
2000-09-18 16:07:07 +00:00
|
|
|
{
|
|
|
|
private:
|
2003-12-01 08:49:03 +00:00
|
|
|
typedef ::std::vector< ScRange > ScRangeVec;
|
2009-07-03 12:42:53 +00:00
|
|
|
typedef ::std::pair< SCCOL, SCROW > ScAddress2D;
|
|
|
|
typedef ::std::vector< ScAddress2D > ScAddress2DVec;
|
|
|
|
|
INTEGRATION: CWS rowlimit (1.20.16); FILE MERGED
2004/04/07 14:44:12 er 1.20.16.13: #i1967# #i5062# replace Sfx(Broadcaster|Listener) with Svt(Broadcaster|Listener) for mass objects like formula cells
2004/03/11 12:05:48 er 1.20.16.12: #i1967# type correctness
2004/03/09 18:48:21 er 1.20.16.11: #i1967# type correctness
2004/03/09 18:37:01 er 1.20.16.10: #i1967# type correctness
2004/03/07 11:37:16 jmarmion 1.20.16.9: #i1967# step 5 changes.
2004/03/05 20:35:52 er 1.20.16.8: #i1967# type correctness
2004/03/05 12:22:13 er 1.20.16.7: #i1967# type correctness
2004/02/20 22:54:29 er 1.20.16.6: #i1967# type correctness
2004/02/11 14:12:04 er 1.20.16.5: RESYNC: (1.21-1.22); FILE MERGED
2004/01/21 14:47:09 er 1.20.16.4: RESYNC: (1.20-1.21); FILE MERGED
2004/01/16 17:39:48 er 1.20.16.3: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/12 17:15:08 er 1.20.16.2: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/09 20:51:05 er 1.20.16.1: #i1967# SCCOL,SCROW,SCTAB replace USHORT
2004-06-04 09:16:34 +00:00
|
|
|
ScColumn aCol[MAXCOLCOUNT];
|
2000-09-18 16:07:07 +00:00
|
|
|
|
2011-08-26 19:33:59 -04:00
|
|
|
rtl::OUString aName;
|
|
|
|
rtl::OUString aCodeName;
|
|
|
|
rtl::OUString aComment;
|
2000-09-18 16:07:07 +00:00
|
|
|
|
2011-11-23 23:34:18 -05:00
|
|
|
rtl::OUString aLinkDoc;
|
|
|
|
rtl::OUString aLinkFlt;
|
|
|
|
rtl::OUString aLinkOpt;
|
|
|
|
rtl::OUString aLinkTab;
|
2011-01-17 13:20:22 +01:00
|
|
|
sal_uLong nLinkRefreshDelay;
|
|
|
|
sal_uInt8 nLinkMode;
|
2000-09-18 16:07:07 +00:00
|
|
|
|
2011-03-13 19:39:41 +01:00
|
|
|
// page style template
|
2011-11-06 18:11:43 +01:00
|
|
|
rtl::OUString aPageStyle;
|
2011-03-13 19:39:41 +01:00
|
|
|
Size aPageSizeTwips; // size of the print-page
|
|
|
|
SCCOL nRepeatStartX; // repeating rows/columns
|
|
|
|
SCCOL nRepeatEndX; // REPEAT_NONE, if not used
|
INTEGRATION: CWS rowlimit (1.20.16); FILE MERGED
2004/04/07 14:44:12 er 1.20.16.13: #i1967# #i5062# replace Sfx(Broadcaster|Listener) with Svt(Broadcaster|Listener) for mass objects like formula cells
2004/03/11 12:05:48 er 1.20.16.12: #i1967# type correctness
2004/03/09 18:48:21 er 1.20.16.11: #i1967# type correctness
2004/03/09 18:37:01 er 1.20.16.10: #i1967# type correctness
2004/03/07 11:37:16 jmarmion 1.20.16.9: #i1967# step 5 changes.
2004/03/05 20:35:52 er 1.20.16.8: #i1967# type correctness
2004/03/05 12:22:13 er 1.20.16.7: #i1967# type correctness
2004/02/20 22:54:29 er 1.20.16.6: #i1967# type correctness
2004/02/11 14:12:04 er 1.20.16.5: RESYNC: (1.21-1.22); FILE MERGED
2004/01/21 14:47:09 er 1.20.16.4: RESYNC: (1.20-1.21); FILE MERGED
2004/01/16 17:39:48 er 1.20.16.3: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/12 17:15:08 er 1.20.16.2: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/09 20:51:05 er 1.20.16.1: #i1967# SCCOL,SCROW,SCTAB replace USHORT
2004-06-04 09:16:34 +00:00
|
|
|
SCROW nRepeatStartY;
|
|
|
|
SCROW nRepeatEndY;
|
2000-09-18 16:07:07 +00:00
|
|
|
|
2011-11-23 23:34:18 -05:00
|
|
|
boost::scoped_ptr<ScTableProtection> pTabProtection;
|
2000-09-18 16:07:07 +00:00
|
|
|
|
2011-01-17 13:20:22 +01:00
|
|
|
sal_uInt16* pColWidth;
|
2011-11-23 23:34:18 -05:00
|
|
|
boost::scoped_ptr<ScFlatUInt16RowSegments> mpRowHeights;
|
2000-09-18 16:07:07 +00:00
|
|
|
|
2011-01-17 13:20:22 +01:00
|
|
|
sal_uInt8* pColFlags;
|
|
|
|
ScBitMaskCompressedArray< SCROW, sal_uInt8>* pRowFlags;
|
2011-11-23 23:34:18 -05:00
|
|
|
boost::scoped_ptr<ScFlatBoolColSegments> mpHiddenCols;
|
|
|
|
boost::scoped_ptr<ScFlatBoolRowSegments> mpHiddenRows;
|
|
|
|
boost::scoped_ptr<ScFlatBoolColSegments> mpFilteredCols;
|
|
|
|
boost::scoped_ptr<ScFlatBoolRowSegments> mpFilteredRows;
|
2010-06-23 13:38:34 +02:00
|
|
|
|
|
|
|
::std::set<SCROW> maRowPageBreaks;
|
|
|
|
::std::set<SCROW> maRowManualBreaks;
|
|
|
|
::std::set<SCCOL> maColPageBreaks;
|
|
|
|
::std::set<SCCOL> maColManualBreaks;
|
2000-09-18 16:07:07 +00:00
|
|
|
|
|
|
|
ScOutlineTable* pOutlineTable;
|
|
|
|
|
2010-06-15 20:02:53 +02:00
|
|
|
ScSheetEvents* pSheetEvents;
|
|
|
|
|
2011-08-26 12:11:18 -04:00
|
|
|
mutable SCCOL nTableAreaX;
|
|
|
|
mutable SCROW nTableAreaY;
|
2000-09-18 16:07:07 +00:00
|
|
|
|
INTEGRATION: CWS rowlimit (1.20.16); FILE MERGED
2004/04/07 14:44:12 er 1.20.16.13: #i1967# #i5062# replace Sfx(Broadcaster|Listener) with Svt(Broadcaster|Listener) for mass objects like formula cells
2004/03/11 12:05:48 er 1.20.16.12: #i1967# type correctness
2004/03/09 18:48:21 er 1.20.16.11: #i1967# type correctness
2004/03/09 18:37:01 er 1.20.16.10: #i1967# type correctness
2004/03/07 11:37:16 jmarmion 1.20.16.9: #i1967# step 5 changes.
2004/03/05 20:35:52 er 1.20.16.8: #i1967# type correctness
2004/03/05 12:22:13 er 1.20.16.7: #i1967# type correctness
2004/02/20 22:54:29 er 1.20.16.6: #i1967# type correctness
2004/02/11 14:12:04 er 1.20.16.5: RESYNC: (1.21-1.22); FILE MERGED
2004/01/21 14:47:09 er 1.20.16.4: RESYNC: (1.20-1.21); FILE MERGED
2004/01/16 17:39:48 er 1.20.16.3: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/12 17:15:08 er 1.20.16.2: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/09 20:51:05 er 1.20.16.1: #i1967# SCCOL,SCROW,SCTAB replace USHORT
2004-06-04 09:16:34 +00:00
|
|
|
SCTAB nTab;
|
2011-03-18 15:33:40 +01:00
|
|
|
sal_uInt16 nRecalcLvl; // recursion level Size-Recalc
|
2000-09-18 16:07:07 +00:00
|
|
|
ScDocument* pDocument;
|
2000-11-20 09:31:47 +00:00
|
|
|
utl::TextSearch* pSearchText;
|
2000-09-18 16:07:07 +00:00
|
|
|
|
2011-08-26 19:33:59 -04:00
|
|
|
mutable rtl::OUString aUpperName; // #i62977# filled only on demand, reset in SetName
|
2006-03-27 08:26:33 +00:00
|
|
|
|
2011-11-23 23:34:18 -05:00
|
|
|
boost::scoped_ptr<ScAddress2DVec> mxUninitNotes;
|
2009-07-03 12:42:53 +00:00
|
|
|
|
2011-03-13 19:39:41 +01:00
|
|
|
// sort parameter to minimize stack size of quicksort
|
2000-09-18 16:07:07 +00:00
|
|
|
ScSortParam aSortParam;
|
2001-03-14 14:50:34 +00:00
|
|
|
CollatorWrapper* pSortCollator;
|
2000-09-18 16:07:07 +00:00
|
|
|
|
2003-12-01 08:49:03 +00:00
|
|
|
ScRangeVec aPrintRanges;
|
|
|
|
|
2000-09-18 16:07:07 +00:00
|
|
|
ScRange* pRepeatColRange;
|
|
|
|
ScRange* pRepeatRowRange;
|
|
|
|
|
2011-01-17 13:20:22 +01:00
|
|
|
sal_uInt16 nLockCount;
|
2000-09-18 16:07:07 +00:00
|
|
|
|
|
|
|
ScRangeList* pScenarioRanges;
|
|
|
|
Color aScenarioColor;
|
2010-02-22 14:25:56 -05:00
|
|
|
Color aTabBgColor;
|
2011-01-17 13:20:22 +01:00
|
|
|
sal_uInt16 nScenarioFlags;
|
2011-03-24 23:14:28 -04:00
|
|
|
ScDBData* pDBDataNoName;
|
2011-03-09 00:37:45 -05:00
|
|
|
mutable ScRangeName* mpRangeName;
|
2011-08-26 12:11:18 -04:00
|
|
|
|
2012-05-23 01:14:47 +02:00
|
|
|
boost::scoped_ptr<ScConditionalFormatList> mpCondFormatList;
|
|
|
|
|
2012-02-23 23:36:49 +01:00
|
|
|
ScNotes maNotes;
|
|
|
|
|
2011-08-26 12:11:18 -04:00
|
|
|
bool bScenario:1;
|
|
|
|
bool bLayoutRTL:1;
|
|
|
|
bool bLoadingRTL:1;
|
|
|
|
bool bPageSizeValid:1;
|
|
|
|
mutable bool bTableAreaValid:1;
|
|
|
|
bool bVisible:1;
|
|
|
|
bool bStreamValid:1;
|
|
|
|
bool bPendingRowHeights:1;
|
|
|
|
bool bCalcNotification:1;
|
|
|
|
bool bGlobalKeepQuery:1;
|
|
|
|
bool bPrintEntireSheet:1;
|
|
|
|
bool bActiveScenario:1;
|
|
|
|
bool mbPageBreaksValid:1;
|
2000-09-18 16:07:07 +00:00
|
|
|
|
2011-03-13 19:39:41 +01:00
|
|
|
friend class ScDocument; // for FillInfo
|
2000-09-18 16:07:07 +00:00
|
|
|
friend class ScDocumentIterator;
|
|
|
|
friend class ScValueIterator;
|
2011-11-27 23:36:40 +01:00
|
|
|
friend class ScHorizontalValueIterator;
|
2009-09-16 10:36:27 -04:00
|
|
|
friend class ScDBQueryDataIterator;
|
2000-09-18 16:07:07 +00:00
|
|
|
friend class ScCellIterator;
|
|
|
|
friend class ScQueryCellIterator;
|
|
|
|
friend class ScHorizontalCellIterator;
|
|
|
|
friend class ScHorizontalAttrIterator;
|
|
|
|
friend class ScDocAttrIterator;
|
|
|
|
friend class ScAttrRectIterator;
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
2011-08-26 19:33:59 -04:00
|
|
|
ScTable( ScDocument* pDoc, SCTAB nNewTab, const rtl::OUString& rNewName,
|
|
|
|
bool bColInfo = true, bool bRowInfo = true );
|
2000-09-18 16:07:07 +00:00
|
|
|
~ScTable();
|
|
|
|
|
|
|
|
ScOutlineTable* GetOutlineTable() { return pOutlineTable; }
|
|
|
|
|
2010-01-07 23:28:47 -05:00
|
|
|
SCSIZE GetCellCount(SCCOL nCol) const;
|
2011-01-17 13:20:22 +01:00
|
|
|
sal_uLong GetCellCount() const;
|
|
|
|
sal_uLong GetWeightedCount() const;
|
2011-03-18 15:33:40 +01:00
|
|
|
sal_uLong GetCodeCount() const; // RPN code in formula
|
2000-09-18 16:07:07 +00:00
|
|
|
|
2011-08-25 11:33:20 +02:00
|
|
|
bool SetOutlineTable( const ScOutlineTable* pNewOutline );
|
2000-09-18 16:07:07 +00:00
|
|
|
void StartOutlineTable();
|
|
|
|
|
INTEGRATION: CWS rowlimit (1.20.16); FILE MERGED
2004/04/07 14:44:12 er 1.20.16.13: #i1967# #i5062# replace Sfx(Broadcaster|Listener) with Svt(Broadcaster|Listener) for mass objects like formula cells
2004/03/11 12:05:48 er 1.20.16.12: #i1967# type correctness
2004/03/09 18:48:21 er 1.20.16.11: #i1967# type correctness
2004/03/09 18:37:01 er 1.20.16.10: #i1967# type correctness
2004/03/07 11:37:16 jmarmion 1.20.16.9: #i1967# step 5 changes.
2004/03/05 20:35:52 er 1.20.16.8: #i1967# type correctness
2004/03/05 12:22:13 er 1.20.16.7: #i1967# type correctness
2004/02/20 22:54:29 er 1.20.16.6: #i1967# type correctness
2004/02/11 14:12:04 er 1.20.16.5: RESYNC: (1.21-1.22); FILE MERGED
2004/01/21 14:47:09 er 1.20.16.4: RESYNC: (1.20-1.21); FILE MERGED
2004/01/16 17:39:48 er 1.20.16.3: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/12 17:15:08 er 1.20.16.2: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/09 20:51:05 er 1.20.16.1: #i1967# SCCOL,SCROW,SCTAB replace USHORT
2004-06-04 09:16:34 +00:00
|
|
|
void DoAutoOutline( SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow );
|
2000-09-18 16:07:07 +00:00
|
|
|
|
2011-08-25 11:33:20 +02:00
|
|
|
bool TestRemoveSubTotals( const ScSubTotalParam& rParam );
|
2000-09-18 16:07:07 +00:00
|
|
|
void RemoveSubTotals( ScSubTotalParam& rParam );
|
2011-08-25 11:33:20 +02:00
|
|
|
bool DoSubTotals( ScSubTotalParam& rParam );
|
2000-09-18 16:07:07 +00:00
|
|
|
|
2010-06-15 20:02:53 +02:00
|
|
|
const ScSheetEvents* GetSheetEvents() const { return pSheetEvents; }
|
|
|
|
void SetSheetEvents( const ScSheetEvents* pNew );
|
|
|
|
|
2011-08-25 11:33:20 +02:00
|
|
|
bool IsVisible() const { return bVisible; }
|
|
|
|
void SetVisible( bool bVis );
|
2000-09-18 16:07:07 +00:00
|
|
|
|
2011-08-25 11:33:20 +02:00
|
|
|
bool IsStreamValid() const { return bStreamValid; }
|
|
|
|
void SetStreamValid( bool bSet, bool bIgnoreLock = false );
|
2009-09-07 15:38:19 +00:00
|
|
|
|
2011-08-25 11:33:20 +02:00
|
|
|
bool IsPendingRowHeights() const { return bPendingRowHeights; }
|
|
|
|
void SetPendingRowHeights( bool bSet );
|
2009-07-03 12:42:53 +00:00
|
|
|
|
2011-08-25 11:33:20 +02:00
|
|
|
bool GetCalcNotification() const { return bCalcNotification; }
|
|
|
|
void SetCalcNotification( bool bSet );
|
2010-06-15 20:02:53 +02:00
|
|
|
|
2011-08-25 11:33:20 +02:00
|
|
|
bool IsLayoutRTL() const { return bLayoutRTL; }
|
|
|
|
bool IsLoadingRTL() const { return bLoadingRTL; }
|
|
|
|
void SetLayoutRTL( bool bSet );
|
|
|
|
void SetLoadingRTL( bool bSet );
|
2004-02-03 11:12:39 +00:00
|
|
|
|
2011-08-25 11:33:20 +02:00
|
|
|
bool IsScenario() const { return bScenario; }
|
|
|
|
void SetScenario( bool bFlag );
|
2011-08-26 19:33:59 -04:00
|
|
|
void GetScenarioComment( rtl::OUString& rComment) const { rComment = aComment; }
|
|
|
|
void SetScenarioComment( const rtl::OUString& rComment ) { aComment = rComment; }
|
2000-09-18 16:07:07 +00:00
|
|
|
const Color& GetScenarioColor() const { return aScenarioColor; }
|
|
|
|
void SetScenarioColor(const Color& rNew) { aScenarioColor = rNew; }
|
2010-02-22 14:25:56 -05:00
|
|
|
const Color& GetTabBgColor() const;
|
|
|
|
void SetTabBgColor(const Color& rColor);
|
2011-01-17 13:20:22 +01:00
|
|
|
sal_uInt16 GetScenarioFlags() const { return nScenarioFlags; }
|
|
|
|
void SetScenarioFlags(sal_uInt16 nNew) { nScenarioFlags = nNew; }
|
2011-08-25 11:33:20 +02:00
|
|
|
void SetActiveScenario(bool bSet) { bActiveScenario = bSet; }
|
|
|
|
bool IsActiveScenario() const { return bActiveScenario; }
|
2000-09-18 16:07:07 +00:00
|
|
|
|
2011-01-17 13:20:22 +01:00
|
|
|
sal_uInt8 GetLinkMode() const { return nLinkMode; }
|
2011-08-25 11:33:20 +02:00
|
|
|
bool IsLinked() const { return nLinkMode != SC_LINK_NONE; }
|
2011-11-06 18:11:43 +01:00
|
|
|
const rtl::OUString& GetLinkDoc() const { return aLinkDoc; }
|
|
|
|
const rtl::OUString& GetLinkFlt() const { return aLinkFlt; }
|
|
|
|
const rtl::OUString& GetLinkOpt() const { return aLinkOpt; }
|
|
|
|
const rtl::OUString& GetLinkTab() const { return aLinkTab; }
|
2011-01-17 13:20:22 +01:00
|
|
|
sal_uLong GetLinkRefreshDelay() const { return nLinkRefreshDelay; }
|
2000-09-18 16:07:07 +00:00
|
|
|
|
2011-01-17 13:20:22 +01:00
|
|
|
void SetLink( sal_uInt8 nMode, const String& rDoc, const String& rFlt,
|
|
|
|
const String& rOpt, const String& rTab, sal_uLong nRefreshDelay );
|
2000-09-18 16:07:07 +00:00
|
|
|
|
2011-08-26 19:33:59 -04:00
|
|
|
void GetName( rtl::OUString& rName ) const;
|
|
|
|
void SetName( const rtl::OUString& rNewName );
|
2000-09-18 16:07:07 +00:00
|
|
|
|
2011-03-30 23:04:31 -04:00
|
|
|
void SetAnonymousDBData(ScDBData* pDBData);
|
|
|
|
ScDBData* GetAnonymousDBData();
|
2011-03-24 23:14:28 -04:00
|
|
|
|
2011-08-26 19:33:59 -04:00
|
|
|
void GetCodeName( rtl::OUString& rName ) const { rName = aCodeName; }
|
|
|
|
void SetCodeName( const rtl::OUString& rNewName ) { aCodeName = rNewName; }
|
2009-06-17 13:32:41 +00:00
|
|
|
|
2011-08-26 19:33:59 -04:00
|
|
|
const rtl::OUString& GetUpperName() const;
|
2006-03-27 08:26:33 +00:00
|
|
|
|
2011-11-06 18:11:43 +01:00
|
|
|
const rtl::OUString& GetPageStyle() const { return aPageStyle; }
|
|
|
|
void SetPageStyle( const rtl::OUString& rName );
|
2000-09-18 16:07:07 +00:00
|
|
|
void PageStyleModified( const String& rNewName );
|
|
|
|
|
2011-08-25 11:33:20 +02:00
|
|
|
bool IsProtected() const;
|
CWS-TOOLING: integrate CWS scsheetprotection02
2009-06-18 16:48:14 +0200 kohei r273124 : #i102906# Fix a crasher when loading an xls document with unsupported
encrytpion.
2009-06-15 14:02:00 +0200 dr r272982 : #i10000# compiler warnings
2009-04-13 23:06:21 +0200 kohei r270740 : Renamed SetData() to SetDataFromDocument(), in order to resolve name clash
with the method of the same name in class Window. This caused a compiler
warning on Solaris Intel.
2009-04-13 04:09:59 +0200 kohei r270729 : CWS-TOOLING: rebase CWS scsheetprotection02 to trunk@270723 (milestone: DEV300:m46)
2009-02-23 16:13:45 +0100 kohei r268361 : added tabprotection.obj to the exception file list. Apparently the older
versions of boost::shared_ptr rely on C++ exceptions for its implementation.
2009-02-18 19:59:05 +0100 kohei r268253 : Switched to using ::boost::shared_ptr to wrap a pimpl class, because using
::std::auto_ptr in this header breaks the build on win32. The MSVC
implementation of ::std::auto_ptr has some weird quirks...
2009-02-17 21:47:13 +0100 kohei r268192 : fixed linkage issue due to library split.
2009-02-17 04:50:34 +0100 kohei r267842 : CWS-TOOLING: rebase CWS scsheetprotection02 to trunk@267171 (milestone: DEV300:m41)
2009-02-17 02:36:10 +0100 kohei r267841 : reverted the last commit, to re-surrect the removed src files.
2009-02-03 22:02:34 +0100 kohei r267342 : removed the src files to prevent them from being entered into the translation
process. The dialogs that need the strings are not yet enabled in the code,
so their removal will not cause any harm.
2009-01-14 12:24:29 +0100 dr r266280 : #i10000# wntmsci12 compiler warnings #4
2009-01-14 09:35:46 +0100 dr r266267 : #i10000# wntmsci12 compiler warnings #3
2009-01-13 15:42:07 +0100 dr r266231 : #i10000# wntmsci12 compiler warnings #2
2009-01-13 13:18:28 +0100 dr r266216 : #i10000# wntmsci12 compiler warnings
2009-01-07 03:59:11 +0100 kohei r265943 : remove the fscking compiler warnings.
2009-01-06 15:55:32 +0100 kohei r265925 : removed compiler warnings that caused the buildbot build to fail....
2009-01-05 23:24:59 +0100 kohei r265888 : Undoing my own local build fix to work around the libmoz... issue.
2008-12-30 21:39:58 +0100 kohei r265833 : Duh! Sheet protection was supposed to be disabled. :-/
2008-12-23 20:25:55 +0100 kohei r265792 : recovered the code block that was accidentally removed during cws rebase.
2008-12-23 19:03:19 +0100 kohei r265791 : fixed breakage in ods export filter due to rebase to m38.
2008-12-23 16:41:49 +0100 kohei r265787 : CWS-TOOLING: rebase CWS scsheetprotection02 to trunk@265758 (milestone: DEV300:m38)
2008-12-23 05:37:47 +0100 kohei r265768 : deliberately forget document and sheet passwords when importing from or
exporting to excel, to emulate the current behavior.
2008-12-23 05:12:59 +0100 kohei r265767 : removed commented-out unused method ScDocument::SetAutoFilterFlags().
2008-12-23 05:05:19 +0100 kohei r265766 : removed one duplicate method and made associated changes with the removal,
and a little more code cleanup.
2008-12-23 04:24:58 +0100 kohei r265765 : a typo in in-line comment
2008-12-23 04:23:08 +0100 kohei r265764 : remove fprintf statement that blatantly prints out document encryption
password to stdout. not a good practice.
2008-12-23 04:14:21 +0100 kohei r265763 : we actually don't want to clear all options, because if we do, then
we would no longer be able to select any cells on a protected sheet.
2008-12-23 04:07:10 +0100 kohei r265762 : * minor code cleanup (indentation inconsistencies & use of tab)
* fixed unprotecting a sheet with password to make it work again.
2008-12-23 03:22:50 +0100 kohei r265761 : reverted all the new functionalities to the existing ones, while keeping the new code in
as much as I could.
2008-12-22 23:11:08 +0100 kohei r265760 : in xls export filter, renamed two unknown records into records of known name.
2008-12-22 22:34:50 +0100 kohei r265759 : temporarily disable password capability on file export for MS Excel 97.
2008-12-22 17:01:21 +0100 kohei r265754 : CWS-TOOLING: rebase CWS scsheetprotection02 to trunk@264807 (milestone: DEV300:m37)
2008-11-26 03:12:58 +0100 kohei r264335 : recovered a method that was actually used.
2008-11-25 21:51:10 +0100 kohei r264334 : CWS-TOOLING: rebase CWS scsheetprotection02 to trunk@264325 (milestone: DEV300:m36)
2008-10-08 19:57:35 +0200 kohei r262094 : changed description string to make it less technical.
2008-10-01 05:56:58 +0200 kohei r261986 : migrated from the cvs-based cws.
2008-10-01 05:55:19 +0200 kohei r261985 : migrated from the cvs-based cws.
2008-10-01 05:55:00 +0200 kohei r261984 : migrated from the cvs-based cws.
2009-07-01 08:58:41 +00:00
|
|
|
void SetProtection(const ScTableProtection* pProtect);
|
|
|
|
ScTableProtection* GetProtection();
|
2000-09-18 16:07:07 +00:00
|
|
|
|
|
|
|
Size GetPageSize() const;
|
|
|
|
void SetPageSize( const Size& rSize );
|
INTEGRATION: CWS rowlimit (1.20.16); FILE MERGED
2004/04/07 14:44:12 er 1.20.16.13: #i1967# #i5062# replace Sfx(Broadcaster|Listener) with Svt(Broadcaster|Listener) for mass objects like formula cells
2004/03/11 12:05:48 er 1.20.16.12: #i1967# type correctness
2004/03/09 18:48:21 er 1.20.16.11: #i1967# type correctness
2004/03/09 18:37:01 er 1.20.16.10: #i1967# type correctness
2004/03/07 11:37:16 jmarmion 1.20.16.9: #i1967# step 5 changes.
2004/03/05 20:35:52 er 1.20.16.8: #i1967# type correctness
2004/03/05 12:22:13 er 1.20.16.7: #i1967# type correctness
2004/02/20 22:54:29 er 1.20.16.6: #i1967# type correctness
2004/02/11 14:12:04 er 1.20.16.5: RESYNC: (1.21-1.22); FILE MERGED
2004/01/21 14:47:09 er 1.20.16.4: RESYNC: (1.20-1.21); FILE MERGED
2004/01/16 17:39:48 er 1.20.16.3: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/12 17:15:08 er 1.20.16.2: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/09 20:51:05 er 1.20.16.1: #i1967# SCCOL,SCROW,SCTAB replace USHORT
2004-06-04 09:16:34 +00:00
|
|
|
void SetRepeatArea( SCCOL nStartCol, SCCOL nEndCol, SCROW nStartRow, SCROW nEndRow );
|
2000-09-18 16:07:07 +00:00
|
|
|
|
|
|
|
void RemoveAutoSpellObj();
|
|
|
|
|
|
|
|
void LockTable();
|
|
|
|
void UnlockTable();
|
|
|
|
|
2011-08-25 11:33:20 +02:00
|
|
|
bool IsBlockEditable( SCCOL nCol1, SCROW nRow1, SCCOL nCol2,
|
|
|
|
SCROW nRow2, bool* pOnlyNotBecauseOfMatrix = NULL ) const;
|
|
|
|
bool IsSelectionEditable( const ScMarkData& rMark,
|
|
|
|
bool* pOnlyNotBecauseOfMatrix = NULL ) const;
|
2000-09-18 16:07:07 +00:00
|
|
|
|
2011-08-25 11:33:20 +02:00
|
|
|
bool HasBlockMatrixFragment( SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2 ) const;
|
2011-01-08 00:24:52 -05:00
|
|
|
bool HasSelectionMatrixFragment( const ScMarkData& rMark ) const;
|
2000-09-18 16:07:07 +00:00
|
|
|
|
2011-08-25 11:33:20 +02:00
|
|
|
bool IsBlockEmpty( SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, bool bIgnoreNotes = false ) const;
|
2000-09-18 16:07:07 +00:00
|
|
|
|
|
|
|
void PutCell( const ScAddress&, ScBaseCell* pCell );
|
INTEGRATION: CWS rowlimit (1.20.16); FILE MERGED
2004/04/07 14:44:12 er 1.20.16.13: #i1967# #i5062# replace Sfx(Broadcaster|Listener) with Svt(Broadcaster|Listener) for mass objects like formula cells
2004/03/11 12:05:48 er 1.20.16.12: #i1967# type correctness
2004/03/09 18:48:21 er 1.20.16.11: #i1967# type correctness
2004/03/09 18:37:01 er 1.20.16.10: #i1967# type correctness
2004/03/07 11:37:16 jmarmion 1.20.16.9: #i1967# step 5 changes.
2004/03/05 20:35:52 er 1.20.16.8: #i1967# type correctness
2004/03/05 12:22:13 er 1.20.16.7: #i1967# type correctness
2004/02/20 22:54:29 er 1.20.16.6: #i1967# type correctness
2004/02/11 14:12:04 er 1.20.16.5: RESYNC: (1.21-1.22); FILE MERGED
2004/01/21 14:47:09 er 1.20.16.4: RESYNC: (1.20-1.21); FILE MERGED
2004/01/16 17:39:48 er 1.20.16.3: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/12 17:15:08 er 1.20.16.2: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/09 20:51:05 er 1.20.16.1: #i1967# SCCOL,SCROW,SCTAB replace USHORT
2004-06-04 09:16:34 +00:00
|
|
|
void PutCell( SCCOL nCol, SCROW nRow, ScBaseCell* pCell );
|
2011-01-17 13:20:22 +01:00
|
|
|
void PutCell(SCCOL nCol, SCROW nRow, sal_uLong nFormatIndex, ScBaseCell* pCell);
|
2011-03-13 19:39:41 +01:00
|
|
|
// TRUE = numberformat set
|
2011-08-25 11:33:20 +02:00
|
|
|
bool SetString( SCCOL nCol, SCROW nRow, SCTAB nTab, const String& rString,
|
2010-09-16 11:32:16 +02:00
|
|
|
ScSetStringParam* pParam = NULL );
|
INTEGRATION: CWS rowlimit (1.20.16); FILE MERGED
2004/04/07 14:44:12 er 1.20.16.13: #i1967# #i5062# replace Sfx(Broadcaster|Listener) with Svt(Broadcaster|Listener) for mass objects like formula cells
2004/03/11 12:05:48 er 1.20.16.12: #i1967# type correctness
2004/03/09 18:48:21 er 1.20.16.11: #i1967# type correctness
2004/03/09 18:37:01 er 1.20.16.10: #i1967# type correctness
2004/03/07 11:37:16 jmarmion 1.20.16.9: #i1967# step 5 changes.
2004/03/05 20:35:52 er 1.20.16.8: #i1967# type correctness
2004/03/05 12:22:13 er 1.20.16.7: #i1967# type correctness
2004/02/20 22:54:29 er 1.20.16.6: #i1967# type correctness
2004/02/11 14:12:04 er 1.20.16.5: RESYNC: (1.21-1.22); FILE MERGED
2004/01/21 14:47:09 er 1.20.16.4: RESYNC: (1.20-1.21); FILE MERGED
2004/01/16 17:39:48 er 1.20.16.3: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/12 17:15:08 er 1.20.16.2: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/09 20:51:05 er 1.20.16.1: #i1967# SCCOL,SCROW,SCTAB replace USHORT
2004-06-04 09:16:34 +00:00
|
|
|
void SetValue( SCCOL nCol, SCROW nRow, const double& rVal );
|
2011-01-17 13:20:22 +01:00
|
|
|
void SetError( SCCOL nCol, SCROW nRow, sal_uInt16 nError);
|
2000-09-18 16:07:07 +00:00
|
|
|
|
2012-08-10 03:01:33 +02:00
|
|
|
void GetString( SCCOL nCol, SCROW nRow, rtl::OUString& rString ) const;
|
2011-11-14 15:04:41 -05:00
|
|
|
void GetInputString( SCCOL nCol, SCROW nRow, rtl::OUString& rString ) const;
|
2000-09-18 16:07:07 +00:00
|
|
|
double GetValue( const ScAddress& rPos ) const
|
2009-07-28 10:04:47 +00:00
|
|
|
{
|
|
|
|
return ValidColRow(rPos.Col(),rPos.Row()) ?
|
|
|
|
aCol[rPos.Col()].GetValue( rPos.Row() ) :
|
|
|
|
0.0;
|
|
|
|
}
|
2011-11-14 15:04:41 -05:00
|
|
|
double GetValue( SCCOL nCol, SCROW nRow ) const;
|
2011-11-06 18:11:43 +01:00
|
|
|
void GetFormula( SCCOL nCol, SCROW nRow, rtl::OUString& rFormula );
|
2000-09-18 16:07:07 +00:00
|
|
|
|
|
|
|
CellType GetCellType( const ScAddress& rPos ) const
|
2009-07-28 10:04:47 +00:00
|
|
|
{
|
|
|
|
return ValidColRow(rPos.Col(),rPos.Row()) ?
|
|
|
|
aCol[rPos.Col()].GetCellType( rPos.Row() ) :
|
|
|
|
CELLTYPE_NONE;
|
|
|
|
}
|
INTEGRATION: CWS rowlimit (1.20.16); FILE MERGED
2004/04/07 14:44:12 er 1.20.16.13: #i1967# #i5062# replace Sfx(Broadcaster|Listener) with Svt(Broadcaster|Listener) for mass objects like formula cells
2004/03/11 12:05:48 er 1.20.16.12: #i1967# type correctness
2004/03/09 18:48:21 er 1.20.16.11: #i1967# type correctness
2004/03/09 18:37:01 er 1.20.16.10: #i1967# type correctness
2004/03/07 11:37:16 jmarmion 1.20.16.9: #i1967# step 5 changes.
2004/03/05 20:35:52 er 1.20.16.8: #i1967# type correctness
2004/03/05 12:22:13 er 1.20.16.7: #i1967# type correctness
2004/02/20 22:54:29 er 1.20.16.6: #i1967# type correctness
2004/02/11 14:12:04 er 1.20.16.5: RESYNC: (1.21-1.22); FILE MERGED
2004/01/21 14:47:09 er 1.20.16.4: RESYNC: (1.20-1.21); FILE MERGED
2004/01/16 17:39:48 er 1.20.16.3: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/12 17:15:08 er 1.20.16.2: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/09 20:51:05 er 1.20.16.1: #i1967# SCCOL,SCROW,SCTAB replace USHORT
2004-06-04 09:16:34 +00:00
|
|
|
CellType GetCellType( SCCOL nCol, SCROW nRow ) const;
|
2000-09-18 16:07:07 +00:00
|
|
|
ScBaseCell* GetCell( const ScAddress& rPos ) const
|
2009-07-28 10:04:47 +00:00
|
|
|
{
|
|
|
|
return ValidColRow(rPos.Col(),rPos.Row()) ?
|
|
|
|
aCol[rPos.Col()].GetCell( rPos.Row() ) :
|
|
|
|
NULL;
|
|
|
|
}
|
INTEGRATION: CWS rowlimit (1.20.16); FILE MERGED
2004/04/07 14:44:12 er 1.20.16.13: #i1967# #i5062# replace Sfx(Broadcaster|Listener) with Svt(Broadcaster|Listener) for mass objects like formula cells
2004/03/11 12:05:48 er 1.20.16.12: #i1967# type correctness
2004/03/09 18:48:21 er 1.20.16.11: #i1967# type correctness
2004/03/09 18:37:01 er 1.20.16.10: #i1967# type correctness
2004/03/07 11:37:16 jmarmion 1.20.16.9: #i1967# step 5 changes.
2004/03/05 20:35:52 er 1.20.16.8: #i1967# type correctness
2004/03/05 12:22:13 er 1.20.16.7: #i1967# type correctness
2004/02/20 22:54:29 er 1.20.16.6: #i1967# type correctness
2004/02/11 14:12:04 er 1.20.16.5: RESYNC: (1.21-1.22); FILE MERGED
2004/01/21 14:47:09 er 1.20.16.4: RESYNC: (1.20-1.21); FILE MERGED
2004/01/16 17:39:48 er 1.20.16.3: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/12 17:15:08 er 1.20.16.2: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/09 20:51:05 er 1.20.16.1: #i1967# SCCOL,SCROW,SCTAB replace USHORT
2004-06-04 09:16:34 +00:00
|
|
|
ScBaseCell* GetCell( SCCOL nCol, SCROW nRow ) const;
|
2000-09-18 16:07:07 +00:00
|
|
|
|
2009-09-03 04:37:43 +00:00
|
|
|
void GetFirstDataPos(SCCOL& rCol, SCROW& rRow) const;
|
INTEGRATION: CWS rowlimit (1.20.16); FILE MERGED
2004/04/07 14:44:12 er 1.20.16.13: #i1967# #i5062# replace Sfx(Broadcaster|Listener) with Svt(Broadcaster|Listener) for mass objects like formula cells
2004/03/11 12:05:48 er 1.20.16.12: #i1967# type correctness
2004/03/09 18:48:21 er 1.20.16.11: #i1967# type correctness
2004/03/09 18:37:01 er 1.20.16.10: #i1967# type correctness
2004/03/07 11:37:16 jmarmion 1.20.16.9: #i1967# step 5 changes.
2004/03/05 20:35:52 er 1.20.16.8: #i1967# type correctness
2004/03/05 12:22:13 er 1.20.16.7: #i1967# type correctness
2004/02/20 22:54:29 er 1.20.16.6: #i1967# type correctness
2004/02/11 14:12:04 er 1.20.16.5: RESYNC: (1.21-1.22); FILE MERGED
2004/01/21 14:47:09 er 1.20.16.4: RESYNC: (1.20-1.21); FILE MERGED
2004/01/16 17:39:48 er 1.20.16.3: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/12 17:15:08 er 1.20.16.2: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/09 20:51:05 er 1.20.16.1: #i1967# SCCOL,SCROW,SCTAB replace USHORT
2004-06-04 09:16:34 +00:00
|
|
|
void GetLastDataPos(SCCOL& rCol, SCROW& rRow) const;
|
2000-09-18 16:07:07 +00:00
|
|
|
|
2012-02-23 23:36:49 +01:00
|
|
|
ScNotes* GetNotes();
|
2009-07-03 12:42:53 +00:00
|
|
|
/** Creates the captions of all uninitialized cell notes.
|
|
|
|
@param bForced True = always create all captions, false = skip when Undo is disabled. */
|
|
|
|
void InitializeNoteCaptions( bool bForced = false );
|
2009-03-02 14:19:13 +00:00
|
|
|
|
2011-08-25 11:33:20 +02:00
|
|
|
bool TestInsertRow( SCCOL nStartCol, SCCOL nEndCol, SCSIZE nSize );
|
INTEGRATION: CWS rowlimit (1.20.16); FILE MERGED
2004/04/07 14:44:12 er 1.20.16.13: #i1967# #i5062# replace Sfx(Broadcaster|Listener) with Svt(Broadcaster|Listener) for mass objects like formula cells
2004/03/11 12:05:48 er 1.20.16.12: #i1967# type correctness
2004/03/09 18:48:21 er 1.20.16.11: #i1967# type correctness
2004/03/09 18:37:01 er 1.20.16.10: #i1967# type correctness
2004/03/07 11:37:16 jmarmion 1.20.16.9: #i1967# step 5 changes.
2004/03/05 20:35:52 er 1.20.16.8: #i1967# type correctness
2004/03/05 12:22:13 er 1.20.16.7: #i1967# type correctness
2004/02/20 22:54:29 er 1.20.16.6: #i1967# type correctness
2004/02/11 14:12:04 er 1.20.16.5: RESYNC: (1.21-1.22); FILE MERGED
2004/01/21 14:47:09 er 1.20.16.4: RESYNC: (1.20-1.21); FILE MERGED
2004/01/16 17:39:48 er 1.20.16.3: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/12 17:15:08 er 1.20.16.2: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/09 20:51:05 er 1.20.16.1: #i1967# SCCOL,SCROW,SCTAB replace USHORT
2004-06-04 09:16:34 +00:00
|
|
|
void InsertRow( SCCOL nStartCol, SCCOL nEndCol, SCROW nStartRow, SCSIZE nSize );
|
|
|
|
void DeleteRow( SCCOL nStartCol, SCCOL nEndCol, SCROW nStartRow, SCSIZE nSize,
|
2011-08-25 11:33:20 +02:00
|
|
|
bool* pUndoOutline = NULL );
|
2000-09-18 16:07:07 +00:00
|
|
|
|
2011-08-25 11:33:20 +02:00
|
|
|
bool TestInsertCol( SCROW nStartRow, SCROW nEndRow, SCSIZE nSize );
|
INTEGRATION: CWS rowlimit (1.20.16); FILE MERGED
2004/04/07 14:44:12 er 1.20.16.13: #i1967# #i5062# replace Sfx(Broadcaster|Listener) with Svt(Broadcaster|Listener) for mass objects like formula cells
2004/03/11 12:05:48 er 1.20.16.12: #i1967# type correctness
2004/03/09 18:48:21 er 1.20.16.11: #i1967# type correctness
2004/03/09 18:37:01 er 1.20.16.10: #i1967# type correctness
2004/03/07 11:37:16 jmarmion 1.20.16.9: #i1967# step 5 changes.
2004/03/05 20:35:52 er 1.20.16.8: #i1967# type correctness
2004/03/05 12:22:13 er 1.20.16.7: #i1967# type correctness
2004/02/20 22:54:29 er 1.20.16.6: #i1967# type correctness
2004/02/11 14:12:04 er 1.20.16.5: RESYNC: (1.21-1.22); FILE MERGED
2004/01/21 14:47:09 er 1.20.16.4: RESYNC: (1.20-1.21); FILE MERGED
2004/01/16 17:39:48 er 1.20.16.3: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/12 17:15:08 er 1.20.16.2: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/09 20:51:05 er 1.20.16.1: #i1967# SCCOL,SCROW,SCTAB replace USHORT
2004-06-04 09:16:34 +00:00
|
|
|
void InsertCol( SCCOL nStartCol, SCROW nStartRow, SCROW nEndRow, SCSIZE nSize );
|
|
|
|
void DeleteCol( SCCOL nStartCol, SCROW nStartRow, SCROW nEndRow, SCSIZE nSize,
|
2011-08-25 11:33:20 +02:00
|
|
|
bool* pUndoOutline = NULL );
|
2000-09-18 16:07:07 +00:00
|
|
|
|
2011-01-17 13:20:22 +01:00
|
|
|
void DeleteArea(SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, sal_uInt16 nDelFlag);
|
INTEGRATION: CWS rowlimit (1.20.16); FILE MERGED
2004/04/07 14:44:12 er 1.20.16.13: #i1967# #i5062# replace Sfx(Broadcaster|Listener) with Svt(Broadcaster|Listener) for mass objects like formula cells
2004/03/11 12:05:48 er 1.20.16.12: #i1967# type correctness
2004/03/09 18:48:21 er 1.20.16.11: #i1967# type correctness
2004/03/09 18:37:01 er 1.20.16.10: #i1967# type correctness
2004/03/07 11:37:16 jmarmion 1.20.16.9: #i1967# step 5 changes.
2004/03/05 20:35:52 er 1.20.16.8: #i1967# type correctness
2004/03/05 12:22:13 er 1.20.16.7: #i1967# type correctness
2004/02/20 22:54:29 er 1.20.16.6: #i1967# type correctness
2004/02/11 14:12:04 er 1.20.16.5: RESYNC: (1.21-1.22); FILE MERGED
2004/01/21 14:47:09 er 1.20.16.4: RESYNC: (1.20-1.21); FILE MERGED
2004/01/16 17:39:48 er 1.20.16.3: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/12 17:15:08 er 1.20.16.2: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/09 20:51:05 er 1.20.16.1: #i1967# SCCOL,SCROW,SCTAB replace USHORT
2004-06-04 09:16:34 +00:00
|
|
|
void CopyToClip(SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, ScTable* pTable,
|
2011-08-25 11:33:20 +02:00
|
|
|
bool bKeepScenarioFlags, bool bCloneNoteCaptions);
|
2009-09-09 07:31:32 +00:00
|
|
|
void CopyToClip(const ScRangeList& rRanges, ScTable* pTable,
|
|
|
|
bool bKeepScenarioFlags, bool bCloneNoteCaptions);
|
INTEGRATION: CWS rowlimit (1.20.16); FILE MERGED
2004/04/07 14:44:12 er 1.20.16.13: #i1967# #i5062# replace Sfx(Broadcaster|Listener) with Svt(Broadcaster|Listener) for mass objects like formula cells
2004/03/11 12:05:48 er 1.20.16.12: #i1967# type correctness
2004/03/09 18:48:21 er 1.20.16.11: #i1967# type correctness
2004/03/09 18:37:01 er 1.20.16.10: #i1967# type correctness
2004/03/07 11:37:16 jmarmion 1.20.16.9: #i1967# step 5 changes.
2004/03/05 20:35:52 er 1.20.16.8: #i1967# type correctness
2004/03/05 12:22:13 er 1.20.16.7: #i1967# type correctness
2004/02/20 22:54:29 er 1.20.16.6: #i1967# type correctness
2004/02/11 14:12:04 er 1.20.16.5: RESYNC: (1.21-1.22); FILE MERGED
2004/01/21 14:47:09 er 1.20.16.4: RESYNC: (1.20-1.21); FILE MERGED
2004/01/16 17:39:48 er 1.20.16.3: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/12 17:15:08 er 1.20.16.2: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/09 20:51:05 er 1.20.16.1: #i1967# SCCOL,SCROW,SCTAB replace USHORT
2004-06-04 09:16:34 +00:00
|
|
|
void CopyFromClip(SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, SCsCOL nDx, SCsROW nDy,
|
2011-08-25 11:33:20 +02:00
|
|
|
sal_uInt16 nInsFlag, bool bAsLink, bool bSkipAttrForEmpty, ScTable* pTable);
|
INTEGRATION: CWS rowlimit (1.20.16); FILE MERGED
2004/04/07 14:44:12 er 1.20.16.13: #i1967# #i5062# replace Sfx(Broadcaster|Listener) with Svt(Broadcaster|Listener) for mass objects like formula cells
2004/03/11 12:05:48 er 1.20.16.12: #i1967# type correctness
2004/03/09 18:48:21 er 1.20.16.11: #i1967# type correctness
2004/03/09 18:37:01 er 1.20.16.10: #i1967# type correctness
2004/03/07 11:37:16 jmarmion 1.20.16.9: #i1967# step 5 changes.
2004/03/05 20:35:52 er 1.20.16.8: #i1967# type correctness
2004/03/05 12:22:13 er 1.20.16.7: #i1967# type correctness
2004/02/20 22:54:29 er 1.20.16.6: #i1967# type correctness
2004/02/11 14:12:04 er 1.20.16.5: RESYNC: (1.21-1.22); FILE MERGED
2004/01/21 14:47:09 er 1.20.16.4: RESYNC: (1.20-1.21); FILE MERGED
2004/01/16 17:39:48 er 1.20.16.3: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/12 17:15:08 er 1.20.16.2: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/09 20:51:05 er 1.20.16.1: #i1967# SCCOL,SCROW,SCTAB replace USHORT
2004-06-04 09:16:34 +00:00
|
|
|
void StartListeningInArea( SCCOL nCol1, SCROW nRow1,
|
|
|
|
SCCOL nCol2, SCROW nRow2 );
|
|
|
|
void BroadcastInArea( SCCOL nCol1, SCROW nRow1,
|
|
|
|
SCCOL nCol2, SCROW nRow2 );
|
2000-09-18 16:07:07 +00:00
|
|
|
|
INTEGRATION: CWS rowlimit (1.20.16); FILE MERGED
2004/04/07 14:44:12 er 1.20.16.13: #i1967# #i5062# replace Sfx(Broadcaster|Listener) with Svt(Broadcaster|Listener) for mass objects like formula cells
2004/03/11 12:05:48 er 1.20.16.12: #i1967# type correctness
2004/03/09 18:48:21 er 1.20.16.11: #i1967# type correctness
2004/03/09 18:37:01 er 1.20.16.10: #i1967# type correctness
2004/03/07 11:37:16 jmarmion 1.20.16.9: #i1967# step 5 changes.
2004/03/05 20:35:52 er 1.20.16.8: #i1967# type correctness
2004/03/05 12:22:13 er 1.20.16.7: #i1967# type correctness
2004/02/20 22:54:29 er 1.20.16.6: #i1967# type correctness
2004/02/11 14:12:04 er 1.20.16.5: RESYNC: (1.21-1.22); FILE MERGED
2004/01/21 14:47:09 er 1.20.16.4: RESYNC: (1.20-1.21); FILE MERGED
2004/01/16 17:39:48 er 1.20.16.3: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/12 17:15:08 er 1.20.16.2: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/09 20:51:05 er 1.20.16.1: #i1967# SCCOL,SCROW,SCTAB replace USHORT
2004-06-04 09:16:34 +00:00
|
|
|
void CopyToTable(SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2,
|
2011-08-25 11:33:20 +02:00
|
|
|
sal_uInt16 nFlags, bool bMarked, ScTable* pDestTab,
|
2000-09-18 16:07:07 +00:00
|
|
|
const ScMarkData* pMarkData = NULL,
|
2011-08-25 11:33:20 +02:00
|
|
|
bool bAsLink = false, bool bColRowFlags = true);
|
INTEGRATION: CWS rowlimit (1.20.16); FILE MERGED
2004/04/07 14:44:12 er 1.20.16.13: #i1967# #i5062# replace Sfx(Broadcaster|Listener) with Svt(Broadcaster|Listener) for mass objects like formula cells
2004/03/11 12:05:48 er 1.20.16.12: #i1967# type correctness
2004/03/09 18:48:21 er 1.20.16.11: #i1967# type correctness
2004/03/09 18:37:01 er 1.20.16.10: #i1967# type correctness
2004/03/07 11:37:16 jmarmion 1.20.16.9: #i1967# step 5 changes.
2004/03/05 20:35:52 er 1.20.16.8: #i1967# type correctness
2004/03/05 12:22:13 er 1.20.16.7: #i1967# type correctness
2004/02/20 22:54:29 er 1.20.16.6: #i1967# type correctness
2004/02/11 14:12:04 er 1.20.16.5: RESYNC: (1.21-1.22); FILE MERGED
2004/01/21 14:47:09 er 1.20.16.4: RESYNC: (1.20-1.21); FILE MERGED
2004/01/16 17:39:48 er 1.20.16.3: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/12 17:15:08 er 1.20.16.2: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/09 20:51:05 er 1.20.16.1: #i1967# SCCOL,SCROW,SCTAB replace USHORT
2004-06-04 09:16:34 +00:00
|
|
|
void UndoToTable(SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2,
|
2011-08-25 11:33:20 +02:00
|
|
|
sal_uInt16 nFlags, bool bMarked, ScTable* pDestTab,
|
2000-09-18 16:07:07 +00:00
|
|
|
const ScMarkData* pMarkData = NULL);
|
|
|
|
|
2012-05-14 07:43:02 +02:00
|
|
|
void CopyConditionalFormat( SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2,
|
|
|
|
SCsCOL nDx, SCsROW nDy, ScTable* pTable);
|
INTEGRATION: CWS rowlimit (1.20.16); FILE MERGED
2004/04/07 14:44:12 er 1.20.16.13: #i1967# #i5062# replace Sfx(Broadcaster|Listener) with Svt(Broadcaster|Listener) for mass objects like formula cells
2004/03/11 12:05:48 er 1.20.16.12: #i1967# type correctness
2004/03/09 18:48:21 er 1.20.16.11: #i1967# type correctness
2004/03/09 18:37:01 er 1.20.16.10: #i1967# type correctness
2004/03/07 11:37:16 jmarmion 1.20.16.9: #i1967# step 5 changes.
2004/03/05 20:35:52 er 1.20.16.8: #i1967# type correctness
2004/03/05 12:22:13 er 1.20.16.7: #i1967# type correctness
2004/02/20 22:54:29 er 1.20.16.6: #i1967# type correctness
2004/02/11 14:12:04 er 1.20.16.5: RESYNC: (1.21-1.22); FILE MERGED
2004/01/21 14:47:09 er 1.20.16.4: RESYNC: (1.20-1.21); FILE MERGED
2004/01/16 17:39:48 er 1.20.16.3: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/12 17:15:08 er 1.20.16.2: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/09 20:51:05 er 1.20.16.1: #i1967# SCCOL,SCROW,SCTAB replace USHORT
2004-06-04 09:16:34 +00:00
|
|
|
void TransposeClip( SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2,
|
2011-08-25 11:33:20 +02:00
|
|
|
ScTable* pTransClip, sal_uInt16 nFlags, bool bAsLink );
|
2000-09-18 16:07:07 +00:00
|
|
|
|
2011-03-13 19:39:41 +01:00
|
|
|
// mark of this document
|
2011-01-17 13:20:22 +01:00
|
|
|
void MixMarked( const ScMarkData& rMark, sal_uInt16 nFunction,
|
2011-08-25 11:33:20 +02:00
|
|
|
bool bSkipEmpty, ScTable* pSrcTab );
|
INTEGRATION: CWS rowlimit (1.20.16); FILE MERGED
2004/04/07 14:44:12 er 1.20.16.13: #i1967# #i5062# replace Sfx(Broadcaster|Listener) with Svt(Broadcaster|Listener) for mass objects like formula cells
2004/03/11 12:05:48 er 1.20.16.12: #i1967# type correctness
2004/03/09 18:48:21 er 1.20.16.11: #i1967# type correctness
2004/03/09 18:37:01 er 1.20.16.10: #i1967# type correctness
2004/03/07 11:37:16 jmarmion 1.20.16.9: #i1967# step 5 changes.
2004/03/05 20:35:52 er 1.20.16.8: #i1967# type correctness
2004/03/05 12:22:13 er 1.20.16.7: #i1967# type correctness
2004/02/20 22:54:29 er 1.20.16.6: #i1967# type correctness
2004/02/11 14:12:04 er 1.20.16.5: RESYNC: (1.21-1.22); FILE MERGED
2004/01/21 14:47:09 er 1.20.16.4: RESYNC: (1.20-1.21); FILE MERGED
2004/01/16 17:39:48 er 1.20.16.3: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/12 17:15:08 er 1.20.16.2: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/09 20:51:05 er 1.20.16.1: #i1967# SCCOL,SCROW,SCTAB replace USHORT
2004-06-04 09:16:34 +00:00
|
|
|
void MixData( SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2,
|
2011-08-25 11:33:20 +02:00
|
|
|
sal_uInt16 nFunction, bool bSkipEmpty, ScTable* pSrcTab );
|
2000-09-18 16:07:07 +00:00
|
|
|
|
INTEGRATION: CWS rowlimit (1.20.16); FILE MERGED
2004/04/07 14:44:12 er 1.20.16.13: #i1967# #i5062# replace Sfx(Broadcaster|Listener) with Svt(Broadcaster|Listener) for mass objects like formula cells
2004/03/11 12:05:48 er 1.20.16.12: #i1967# type correctness
2004/03/09 18:48:21 er 1.20.16.11: #i1967# type correctness
2004/03/09 18:37:01 er 1.20.16.10: #i1967# type correctness
2004/03/07 11:37:16 jmarmion 1.20.16.9: #i1967# step 5 changes.
2004/03/05 20:35:52 er 1.20.16.8: #i1967# type correctness
2004/03/05 12:22:13 er 1.20.16.7: #i1967# type correctness
2004/02/20 22:54:29 er 1.20.16.6: #i1967# type correctness
2004/02/11 14:12:04 er 1.20.16.5: RESYNC: (1.21-1.22); FILE MERGED
2004/01/21 14:47:09 er 1.20.16.4: RESYNC: (1.20-1.21); FILE MERGED
2004/01/16 17:39:48 er 1.20.16.3: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/12 17:15:08 er 1.20.16.2: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/09 20:51:05 er 1.20.16.1: #i1967# SCCOL,SCROW,SCTAB replace USHORT
2004-06-04 09:16:34 +00:00
|
|
|
void CopyData( SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow,
|
|
|
|
SCCOL nDestCol, SCROW nDestRow, SCTAB nDestTab );
|
2000-09-18 16:07:07 +00:00
|
|
|
|
|
|
|
void CopyScenarioFrom( const ScTable* pSrcTab );
|
|
|
|
void CopyScenarioTo( ScTable* pDestTab ) const;
|
2011-08-25 11:33:20 +02:00
|
|
|
bool TestCopyScenarioTo( const ScTable* pDestTab ) const;
|
2011-01-17 13:20:22 +01:00
|
|
|
void MarkScenarioIn( ScMarkData& rMark, sal_uInt16 nNeededBits ) const;
|
2011-08-25 11:33:20 +02:00
|
|
|
bool HasScenarioRange( const ScRange& rRange ) const;
|
2000-09-18 16:07:07 +00:00
|
|
|
void InvalidateScenarioRanges();
|
|
|
|
const ScRangeList* GetScenarioRanges() const;
|
|
|
|
|
|
|
|
void CopyUpdated( const ScTable* pPosTab, ScTable* pDestTab ) const;
|
|
|
|
|
2010-06-23 13:38:34 +02:00
|
|
|
void InvalidateTableArea();
|
|
|
|
void InvalidatePageBreaks();
|
2000-09-18 16:07:07 +00:00
|
|
|
|
2011-08-25 11:33:20 +02:00
|
|
|
bool GetCellArea( SCCOL& rEndCol, SCROW& rEndRow ) const; // FALSE = empty
|
|
|
|
bool GetTableArea( SCCOL& rEndCol, SCROW& rEndRow ) const;
|
2012-07-09 01:40:58 +02:00
|
|
|
bool GetPrintArea( SCCOL& rEndCol, SCROW& rEndRow, bool bNotes, bool bFullFormattedArea = false ) const;
|
2011-08-25 11:33:20 +02:00
|
|
|
bool GetPrintAreaHor( SCROW nStartRow, SCROW nEndRow,
|
|
|
|
SCCOL& rEndCol, bool bNotes ) const;
|
|
|
|
bool GetPrintAreaVer( SCCOL nStartCol, SCCOL nEndCol,
|
|
|
|
SCROW& rEndRow, bool bNotes ) const;
|
2000-09-18 16:07:07 +00:00
|
|
|
|
2011-08-25 11:33:20 +02:00
|
|
|
bool GetDataStart( SCCOL& rStartCol, SCROW& rStartRow ) const;
|
2000-09-18 16:07:07 +00:00
|
|
|
|
|
|
|
void ExtendPrintArea( OutputDevice* pDev,
|
INTEGRATION: CWS rowlimit (1.20.16); FILE MERGED
2004/04/07 14:44:12 er 1.20.16.13: #i1967# #i5062# replace Sfx(Broadcaster|Listener) with Svt(Broadcaster|Listener) for mass objects like formula cells
2004/03/11 12:05:48 er 1.20.16.12: #i1967# type correctness
2004/03/09 18:48:21 er 1.20.16.11: #i1967# type correctness
2004/03/09 18:37:01 er 1.20.16.10: #i1967# type correctness
2004/03/07 11:37:16 jmarmion 1.20.16.9: #i1967# step 5 changes.
2004/03/05 20:35:52 er 1.20.16.8: #i1967# type correctness
2004/03/05 12:22:13 er 1.20.16.7: #i1967# type correctness
2004/02/20 22:54:29 er 1.20.16.6: #i1967# type correctness
2004/02/11 14:12:04 er 1.20.16.5: RESYNC: (1.21-1.22); FILE MERGED
2004/01/21 14:47:09 er 1.20.16.4: RESYNC: (1.20-1.21); FILE MERGED
2004/01/16 17:39:48 er 1.20.16.3: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/12 17:15:08 er 1.20.16.2: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/09 20:51:05 er 1.20.16.1: #i1967# SCCOL,SCROW,SCTAB replace USHORT
2004-06-04 09:16:34 +00:00
|
|
|
SCCOL nStartCol, SCROW nStartRow, SCCOL& rEndCol, SCROW nEndRow );
|
2000-09-18 16:07:07 +00:00
|
|
|
|
INTEGRATION: CWS rowlimit (1.20.16); FILE MERGED
2004/04/07 14:44:12 er 1.20.16.13: #i1967# #i5062# replace Sfx(Broadcaster|Listener) with Svt(Broadcaster|Listener) for mass objects like formula cells
2004/03/11 12:05:48 er 1.20.16.12: #i1967# type correctness
2004/03/09 18:48:21 er 1.20.16.11: #i1967# type correctness
2004/03/09 18:37:01 er 1.20.16.10: #i1967# type correctness
2004/03/07 11:37:16 jmarmion 1.20.16.9: #i1967# step 5 changes.
2004/03/05 20:35:52 er 1.20.16.8: #i1967# type correctness
2004/03/05 12:22:13 er 1.20.16.7: #i1967# type correctness
2004/02/20 22:54:29 er 1.20.16.6: #i1967# type correctness
2004/02/11 14:12:04 er 1.20.16.5: RESYNC: (1.21-1.22); FILE MERGED
2004/01/21 14:47:09 er 1.20.16.4: RESYNC: (1.20-1.21); FILE MERGED
2004/01/16 17:39:48 er 1.20.16.3: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/12 17:15:08 er 1.20.16.2: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/09 20:51:05 er 1.20.16.1: #i1967# SCCOL,SCROW,SCTAB replace USHORT
2004-06-04 09:16:34 +00:00
|
|
|
void GetDataArea( SCCOL& rStartCol, SCROW& rStartRow, SCCOL& rEndCol, SCROW& rEndRow,
|
2011-08-25 11:33:20 +02:00
|
|
|
bool bIncludeOld, bool bOnlyDown ) const;
|
2010-02-24 12:16:42 +01:00
|
|
|
|
2011-01-19 12:54:02 -05:00
|
|
|
bool ShrinkToUsedDataArea( bool& o_bShrunk, SCCOL& rStartCol, SCROW& rStartRow,
|
|
|
|
SCCOL& rEndCol, SCROW& rEndRow, bool bColumnsOnly ) const;
|
2000-09-18 16:07:07 +00:00
|
|
|
|
INTEGRATION: CWS rowlimit (1.20.16); FILE MERGED
2004/04/07 14:44:12 er 1.20.16.13: #i1967# #i5062# replace Sfx(Broadcaster|Listener) with Svt(Broadcaster|Listener) for mass objects like formula cells
2004/03/11 12:05:48 er 1.20.16.12: #i1967# type correctness
2004/03/09 18:48:21 er 1.20.16.11: #i1967# type correctness
2004/03/09 18:37:01 er 1.20.16.10: #i1967# type correctness
2004/03/07 11:37:16 jmarmion 1.20.16.9: #i1967# step 5 changes.
2004/03/05 20:35:52 er 1.20.16.8: #i1967# type correctness
2004/03/05 12:22:13 er 1.20.16.7: #i1967# type correctness
2004/02/20 22:54:29 er 1.20.16.6: #i1967# type correctness
2004/02/11 14:12:04 er 1.20.16.5: RESYNC: (1.21-1.22); FILE MERGED
2004/01/21 14:47:09 er 1.20.16.4: RESYNC: (1.20-1.21); FILE MERGED
2004/01/16 17:39:48 er 1.20.16.3: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/12 17:15:08 er 1.20.16.2: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/09 20:51:05 er 1.20.16.1: #i1967# SCCOL,SCROW,SCTAB replace USHORT
2004-06-04 09:16:34 +00:00
|
|
|
SCSIZE GetEmptyLinesInBlock( SCCOL nStartCol, SCROW nStartRow,
|
|
|
|
SCCOL nEndCol, SCROW nEndRow, ScDirection eDir );
|
2000-09-18 16:07:07 +00:00
|
|
|
|
2012-08-09 21:26:42 +02:00
|
|
|
void FindAreaPos( SCCOL& rCol, SCROW& rRow, ScMoveDirection eDirection ) const;
|
INTEGRATION: CWS rowlimit (1.20.16); FILE MERGED
2004/04/07 14:44:12 er 1.20.16.13: #i1967# #i5062# replace Sfx(Broadcaster|Listener) with Svt(Broadcaster|Listener) for mass objects like formula cells
2004/03/11 12:05:48 er 1.20.16.12: #i1967# type correctness
2004/03/09 18:48:21 er 1.20.16.11: #i1967# type correctness
2004/03/09 18:37:01 er 1.20.16.10: #i1967# type correctness
2004/03/07 11:37:16 jmarmion 1.20.16.9: #i1967# step 5 changes.
2004/03/05 20:35:52 er 1.20.16.8: #i1967# type correctness
2004/03/05 12:22:13 er 1.20.16.7: #i1967# type correctness
2004/02/20 22:54:29 er 1.20.16.6: #i1967# type correctness
2004/02/11 14:12:04 er 1.20.16.5: RESYNC: (1.21-1.22); FILE MERGED
2004/01/21 14:47:09 er 1.20.16.4: RESYNC: (1.20-1.21); FILE MERGED
2004/01/16 17:39:48 er 1.20.16.3: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/12 17:15:08 er 1.20.16.2: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/09 20:51:05 er 1.20.16.1: #i1967# SCCOL,SCROW,SCTAB replace USHORT
2004-06-04 09:16:34 +00:00
|
|
|
void GetNextPos( SCCOL& rCol, SCROW& rRow, SCsCOL nMovX, SCsROW nMovY,
|
2012-08-09 23:48:48 +02:00
|
|
|
bool bMarked, bool bUnprotected, const ScMarkData& rMark ) const;
|
2000-09-18 16:07:07 +00:00
|
|
|
|
INTEGRATION: CWS rowlimit (1.20.16); FILE MERGED
2004/04/07 14:44:12 er 1.20.16.13: #i1967# #i5062# replace Sfx(Broadcaster|Listener) with Svt(Broadcaster|Listener) for mass objects like formula cells
2004/03/11 12:05:48 er 1.20.16.12: #i1967# type correctness
2004/03/09 18:48:21 er 1.20.16.11: #i1967# type correctness
2004/03/09 18:37:01 er 1.20.16.10: #i1967# type correctness
2004/03/07 11:37:16 jmarmion 1.20.16.9: #i1967# step 5 changes.
2004/03/05 20:35:52 er 1.20.16.8: #i1967# type correctness
2004/03/05 12:22:13 er 1.20.16.7: #i1967# type correctness
2004/02/20 22:54:29 er 1.20.16.6: #i1967# type correctness
2004/02/11 14:12:04 er 1.20.16.5: RESYNC: (1.21-1.22); FILE MERGED
2004/01/21 14:47:09 er 1.20.16.4: RESYNC: (1.20-1.21); FILE MERGED
2004/01/16 17:39:48 er 1.20.16.3: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/12 17:15:08 er 1.20.16.2: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/09 20:51:05 er 1.20.16.1: #i1967# SCCOL,SCROW,SCTAB replace USHORT
2004-06-04 09:16:34 +00:00
|
|
|
void LimitChartArea( SCCOL& rStartCol, SCROW& rStartRow, SCCOL& rEndCol, SCROW& rEndRow );
|
2000-09-18 16:07:07 +00:00
|
|
|
|
2011-11-04 14:35:39 -04:00
|
|
|
bool HasData( SCCOL nCol, SCROW nRow ) const;
|
|
|
|
bool HasStringData( SCCOL nCol, SCROW nRow ) const;
|
|
|
|
bool HasValueData( SCCOL nCol, SCROW nRow ) const;
|
2011-08-25 11:33:20 +02:00
|
|
|
bool HasStringCells( SCCOL nStartCol, SCROW nStartRow,
|
INTEGRATION: CWS rowlimit (1.20.16); FILE MERGED
2004/04/07 14:44:12 er 1.20.16.13: #i1967# #i5062# replace Sfx(Broadcaster|Listener) with Svt(Broadcaster|Listener) for mass objects like formula cells
2004/03/11 12:05:48 er 1.20.16.12: #i1967# type correctness
2004/03/09 18:48:21 er 1.20.16.11: #i1967# type correctness
2004/03/09 18:37:01 er 1.20.16.10: #i1967# type correctness
2004/03/07 11:37:16 jmarmion 1.20.16.9: #i1967# step 5 changes.
2004/03/05 20:35:52 er 1.20.16.8: #i1967# type correctness
2004/03/05 12:22:13 er 1.20.16.7: #i1967# type correctness
2004/02/20 22:54:29 er 1.20.16.6: #i1967# type correctness
2004/02/11 14:12:04 er 1.20.16.5: RESYNC: (1.21-1.22); FILE MERGED
2004/01/21 14:47:09 er 1.20.16.4: RESYNC: (1.20-1.21); FILE MERGED
2004/01/16 17:39:48 er 1.20.16.3: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/12 17:15:08 er 1.20.16.2: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/09 20:51:05 er 1.20.16.1: #i1967# SCCOL,SCROW,SCTAB replace USHORT
2004-06-04 09:16:34 +00:00
|
|
|
SCCOL nEndCol, SCROW nEndRow ) const;
|
2000-09-18 16:07:07 +00:00
|
|
|
|
2011-01-17 13:20:22 +01:00
|
|
|
sal_uInt16 GetErrCode( const ScAddress& rPos ) const
|
2009-07-28 10:04:47 +00:00
|
|
|
{
|
|
|
|
return ValidColRow(rPos.Col(),rPos.Row()) ?
|
|
|
|
aCol[rPos.Col()].GetErrCode( rPos.Row() ) :
|
|
|
|
0;
|
|
|
|
}
|
2000-09-18 16:07:07 +00:00
|
|
|
|
|
|
|
void ResetChanged( const ScRange& rRange );
|
|
|
|
|
|
|
|
void SetDirty();
|
|
|
|
void SetDirty( const ScRange& );
|
|
|
|
void SetDirtyAfterLoad();
|
|
|
|
void SetDirtyVar();
|
2001-02-13 17:51:12 +00:00
|
|
|
void SetTableOpDirty( const ScRange& );
|
2000-09-18 16:07:07 +00:00
|
|
|
void CalcAll();
|
|
|
|
void CalcAfterLoad();
|
|
|
|
void CompileAll();
|
2002-10-01 16:10:37 +00:00
|
|
|
void CompileXML( ScProgress& rProgress );
|
2000-09-18 16:07:07 +00:00
|
|
|
|
INTEGRATION: CWS rowlimit (1.20.16); FILE MERGED
2004/04/07 14:44:12 er 1.20.16.13: #i1967# #i5062# replace Sfx(Broadcaster|Listener) with Svt(Broadcaster|Listener) for mass objects like formula cells
2004/03/11 12:05:48 er 1.20.16.12: #i1967# type correctness
2004/03/09 18:48:21 er 1.20.16.11: #i1967# type correctness
2004/03/09 18:37:01 er 1.20.16.10: #i1967# type correctness
2004/03/07 11:37:16 jmarmion 1.20.16.9: #i1967# step 5 changes.
2004/03/05 20:35:52 er 1.20.16.8: #i1967# type correctness
2004/03/05 12:22:13 er 1.20.16.7: #i1967# type correctness
2004/02/20 22:54:29 er 1.20.16.6: #i1967# type correctness
2004/02/11 14:12:04 er 1.20.16.5: RESYNC: (1.21-1.22); FILE MERGED
2004/01/21 14:47:09 er 1.20.16.4: RESYNC: (1.20-1.21); FILE MERGED
2004/01/16 17:39:48 er 1.20.16.3: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/12 17:15:08 er 1.20.16.2: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/09 20:51:05 er 1.20.16.1: #i1967# SCCOL,SCROW,SCTAB replace USHORT
2004-06-04 09:16:34 +00:00
|
|
|
void UpdateReference( UpdateRefMode eUpdateRefMode, SCCOL nCol1, SCROW nRow1, SCTAB nTab1,
|
|
|
|
SCCOL nCol2, SCROW nRow2, SCTAB nTab2,
|
|
|
|
SCsCOL nDx, SCsROW nDy, SCsTAB nDz,
|
2011-08-25 11:33:20 +02:00
|
|
|
ScDocument* pUndoDoc = NULL, bool bIncludeDraw = true, bool bUpdateNoteCaptionPos = true );
|
2001-01-22 13:10:25 +00:00
|
|
|
|
INTEGRATION: CWS rowlimit (1.20.16); FILE MERGED
2004/04/07 14:44:12 er 1.20.16.13: #i1967# #i5062# replace Sfx(Broadcaster|Listener) with Svt(Broadcaster|Listener) for mass objects like formula cells
2004/03/11 12:05:48 er 1.20.16.12: #i1967# type correctness
2004/03/09 18:48:21 er 1.20.16.11: #i1967# type correctness
2004/03/09 18:37:01 er 1.20.16.10: #i1967# type correctness
2004/03/07 11:37:16 jmarmion 1.20.16.9: #i1967# step 5 changes.
2004/03/05 20:35:52 er 1.20.16.8: #i1967# type correctness
2004/03/05 12:22:13 er 1.20.16.7: #i1967# type correctness
2004/02/20 22:54:29 er 1.20.16.6: #i1967# type correctness
2004/02/11 14:12:04 er 1.20.16.5: RESYNC: (1.21-1.22); FILE MERGED
2004/01/21 14:47:09 er 1.20.16.4: RESYNC: (1.20-1.21); FILE MERGED
2004/01/16 17:39:48 er 1.20.16.3: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/12 17:15:08 er 1.20.16.2: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/09 20:51:05 er 1.20.16.1: #i1967# SCCOL,SCROW,SCTAB replace USHORT
2004-06-04 09:16:34 +00:00
|
|
|
void UpdateDrawRef( UpdateRefMode eUpdateRefMode, SCCOL nCol1, SCROW nRow1, SCTAB nTab1,
|
|
|
|
SCCOL nCol2, SCROW nRow2, SCTAB nTab2,
|
2010-03-31 11:24:42 +02:00
|
|
|
SCsCOL nDx, SCsROW nDy, SCsTAB nDz, bool bUpdateNoteCaptionPos = true );
|
2000-09-18 16:07:07 +00:00
|
|
|
|
|
|
|
void UpdateTranspose( const ScRange& rSource, const ScAddress& rDest,
|
|
|
|
ScDocument* pUndoDoc );
|
|
|
|
|
INTEGRATION: CWS rowlimit (1.20.16); FILE MERGED
2004/04/07 14:44:12 er 1.20.16.13: #i1967# #i5062# replace Sfx(Broadcaster|Listener) with Svt(Broadcaster|Listener) for mass objects like formula cells
2004/03/11 12:05:48 er 1.20.16.12: #i1967# type correctness
2004/03/09 18:48:21 er 1.20.16.11: #i1967# type correctness
2004/03/09 18:37:01 er 1.20.16.10: #i1967# type correctness
2004/03/07 11:37:16 jmarmion 1.20.16.9: #i1967# step 5 changes.
2004/03/05 20:35:52 er 1.20.16.8: #i1967# type correctness
2004/03/05 12:22:13 er 1.20.16.7: #i1967# type correctness
2004/02/20 22:54:29 er 1.20.16.6: #i1967# type correctness
2004/02/11 14:12:04 er 1.20.16.5: RESYNC: (1.21-1.22); FILE MERGED
2004/01/21 14:47:09 er 1.20.16.4: RESYNC: (1.20-1.21); FILE MERGED
2004/01/16 17:39:48 er 1.20.16.3: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/12 17:15:08 er 1.20.16.2: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/09 20:51:05 er 1.20.16.1: #i1967# SCCOL,SCROW,SCTAB replace USHORT
2004-06-04 09:16:34 +00:00
|
|
|
void UpdateGrow( const ScRange& rArea, SCCOL nGrowX, SCROW nGrowY );
|
2000-09-18 16:07:07 +00:00
|
|
|
|
2011-05-27 05:16:37 +02:00
|
|
|
void UpdateInsertTab(SCTAB nTable, SCTAB nNewSheets = 1);
|
2011-08-25 11:33:20 +02:00
|
|
|
void UpdateDeleteTab( SCTAB nTable, bool bIsMove, ScTable* pRefUndo = NULL, SCTAB nSheets = 1 );
|
2011-06-06 22:35:01 +02:00
|
|
|
void UpdateMoveTab(SCTAB nOldPos, SCTAB nNewPos, SCTAB nTabNo, ScProgress* pProgress );
|
2011-08-25 11:33:20 +02:00
|
|
|
void UpdateCompile( bool bForceIfNameInUse = false );
|
INTEGRATION: CWS rowlimit (1.20.16); FILE MERGED
2004/04/07 14:44:12 er 1.20.16.13: #i1967# #i5062# replace Sfx(Broadcaster|Listener) with Svt(Broadcaster|Listener) for mass objects like formula cells
2004/03/11 12:05:48 er 1.20.16.12: #i1967# type correctness
2004/03/09 18:48:21 er 1.20.16.11: #i1967# type correctness
2004/03/09 18:37:01 er 1.20.16.10: #i1967# type correctness
2004/03/07 11:37:16 jmarmion 1.20.16.9: #i1967# step 5 changes.
2004/03/05 20:35:52 er 1.20.16.8: #i1967# type correctness
2004/03/05 12:22:13 er 1.20.16.7: #i1967# type correctness
2004/02/20 22:54:29 er 1.20.16.6: #i1967# type correctness
2004/02/11 14:12:04 er 1.20.16.5: RESYNC: (1.21-1.22); FILE MERGED
2004/01/21 14:47:09 er 1.20.16.4: RESYNC: (1.20-1.21); FILE MERGED
2004/01/16 17:39:48 er 1.20.16.3: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/12 17:15:08 er 1.20.16.2: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/09 20:51:05 er 1.20.16.1: #i1967# SCCOL,SCROW,SCTAB replace USHORT
2004-06-04 09:16:34 +00:00
|
|
|
void SetTabNo(SCTAB nNewTab);
|
2008-02-12 12:23:01 +00:00
|
|
|
void FindRangeNamesInUse(SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2,
|
2011-01-17 13:20:22 +01:00
|
|
|
std::set<sal_uInt16>& rIndexes) const;
|
INTEGRATION: CWS rowlimit (1.20.16); FILE MERGED
2004/04/07 14:44:12 er 1.20.16.13: #i1967# #i5062# replace Sfx(Broadcaster|Listener) with Svt(Broadcaster|Listener) for mass objects like formula cells
2004/03/11 12:05:48 er 1.20.16.12: #i1967# type correctness
2004/03/09 18:48:21 er 1.20.16.11: #i1967# type correctness
2004/03/09 18:37:01 er 1.20.16.10: #i1967# type correctness
2004/03/07 11:37:16 jmarmion 1.20.16.9: #i1967# step 5 changes.
2004/03/05 20:35:52 er 1.20.16.8: #i1967# type correctness
2004/03/05 12:22:13 er 1.20.16.7: #i1967# type correctness
2004/02/20 22:54:29 er 1.20.16.6: #i1967# type correctness
2004/02/11 14:12:04 er 1.20.16.5: RESYNC: (1.21-1.22); FILE MERGED
2004/01/21 14:47:09 er 1.20.16.4: RESYNC: (1.20-1.21); FILE MERGED
2004/01/16 17:39:48 er 1.20.16.3: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/12 17:15:08 er 1.20.16.2: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/09 20:51:05 er 1.20.16.1: #i1967# SCCOL,SCROW,SCTAB replace USHORT
2004-06-04 09:16:34 +00:00
|
|
|
void Fill( SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2,
|
2011-01-17 13:20:22 +01:00
|
|
|
sal_uLong nFillCount, FillDir eFillDir, FillCmd eFillCmd, FillDateCmd eFillDateCmd,
|
2012-04-11 09:28:54 +02:00
|
|
|
double nStepValue, double nMaxValue, ScProgress* pProgress);
|
INTEGRATION: CWS rowlimit (1.20.16); FILE MERGED
2004/04/07 14:44:12 er 1.20.16.13: #i1967# #i5062# replace Sfx(Broadcaster|Listener) with Svt(Broadcaster|Listener) for mass objects like formula cells
2004/03/11 12:05:48 er 1.20.16.12: #i1967# type correctness
2004/03/09 18:48:21 er 1.20.16.11: #i1967# type correctness
2004/03/09 18:37:01 er 1.20.16.10: #i1967# type correctness
2004/03/07 11:37:16 jmarmion 1.20.16.9: #i1967# step 5 changes.
2004/03/05 20:35:52 er 1.20.16.8: #i1967# type correctness
2004/03/05 12:22:13 er 1.20.16.7: #i1967# type correctness
2004/02/20 22:54:29 er 1.20.16.6: #i1967# type correctness
2004/02/11 14:12:04 er 1.20.16.5: RESYNC: (1.21-1.22); FILE MERGED
2004/01/21 14:47:09 er 1.20.16.4: RESYNC: (1.20-1.21); FILE MERGED
2004/01/16 17:39:48 er 1.20.16.3: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/12 17:15:08 er 1.20.16.2: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/09 20:51:05 er 1.20.16.1: #i1967# SCCOL,SCROW,SCTAB replace USHORT
2004-06-04 09:16:34 +00:00
|
|
|
String GetAutoFillPreview( const ScRange& rSource, SCCOL nEndX, SCROW nEndY );
|
2000-09-18 16:07:07 +00:00
|
|
|
|
|
|
|
void UpdateSelectionFunction( ScFunctionData& rData,
|
INTEGRATION: CWS rowlimit (1.20.16); FILE MERGED
2004/04/07 14:44:12 er 1.20.16.13: #i1967# #i5062# replace Sfx(Broadcaster|Listener) with Svt(Broadcaster|Listener) for mass objects like formula cells
2004/03/11 12:05:48 er 1.20.16.12: #i1967# type correctness
2004/03/09 18:48:21 er 1.20.16.11: #i1967# type correctness
2004/03/09 18:37:01 er 1.20.16.10: #i1967# type correctness
2004/03/07 11:37:16 jmarmion 1.20.16.9: #i1967# step 5 changes.
2004/03/05 20:35:52 er 1.20.16.8: #i1967# type correctness
2004/03/05 12:22:13 er 1.20.16.7: #i1967# type correctness
2004/02/20 22:54:29 er 1.20.16.6: #i1967# type correctness
2004/02/11 14:12:04 er 1.20.16.5: RESYNC: (1.21-1.22); FILE MERGED
2004/01/21 14:47:09 er 1.20.16.4: RESYNC: (1.20-1.21); FILE MERGED
2004/01/16 17:39:48 er 1.20.16.3: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/12 17:15:08 er 1.20.16.2: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/09 20:51:05 er 1.20.16.1: #i1967# SCCOL,SCROW,SCTAB replace USHORT
2004-06-04 09:16:34 +00:00
|
|
|
SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow,
|
2000-09-18 16:07:07 +00:00
|
|
|
const ScMarkData& rMark );
|
|
|
|
|
INTEGRATION: CWS rowlimit (1.20.16); FILE MERGED
2004/04/07 14:44:12 er 1.20.16.13: #i1967# #i5062# replace Sfx(Broadcaster|Listener) with Svt(Broadcaster|Listener) for mass objects like formula cells
2004/03/11 12:05:48 er 1.20.16.12: #i1967# type correctness
2004/03/09 18:48:21 er 1.20.16.11: #i1967# type correctness
2004/03/09 18:37:01 er 1.20.16.10: #i1967# type correctness
2004/03/07 11:37:16 jmarmion 1.20.16.9: #i1967# step 5 changes.
2004/03/05 20:35:52 er 1.20.16.8: #i1967# type correctness
2004/03/05 12:22:13 er 1.20.16.7: #i1967# type correctness
2004/02/20 22:54:29 er 1.20.16.6: #i1967# type correctness
2004/02/11 14:12:04 er 1.20.16.5: RESYNC: (1.21-1.22); FILE MERGED
2004/01/21 14:47:09 er 1.20.16.4: RESYNC: (1.20-1.21); FILE MERGED
2004/01/16 17:39:48 er 1.20.16.3: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/12 17:15:08 er 1.20.16.2: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/09 20:51:05 er 1.20.16.1: #i1967# SCCOL,SCROW,SCTAB replace USHORT
2004-06-04 09:16:34 +00:00
|
|
|
void AutoFormat( SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow,
|
2011-01-17 13:20:22 +01:00
|
|
|
sal_uInt16 nFormatNo );
|
INTEGRATION: CWS rowlimit (1.20.16); FILE MERGED
2004/04/07 14:44:12 er 1.20.16.13: #i1967# #i5062# replace Sfx(Broadcaster|Listener) with Svt(Broadcaster|Listener) for mass objects like formula cells
2004/03/11 12:05:48 er 1.20.16.12: #i1967# type correctness
2004/03/09 18:48:21 er 1.20.16.11: #i1967# type correctness
2004/03/09 18:37:01 er 1.20.16.10: #i1967# type correctness
2004/03/07 11:37:16 jmarmion 1.20.16.9: #i1967# step 5 changes.
2004/03/05 20:35:52 er 1.20.16.8: #i1967# type correctness
2004/03/05 12:22:13 er 1.20.16.7: #i1967# type correctness
2004/02/20 22:54:29 er 1.20.16.6: #i1967# type correctness
2004/02/11 14:12:04 er 1.20.16.5: RESYNC: (1.21-1.22); FILE MERGED
2004/01/21 14:47:09 er 1.20.16.4: RESYNC: (1.20-1.21); FILE MERGED
2004/01/16 17:39:48 er 1.20.16.3: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/12 17:15:08 er 1.20.16.2: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/09 20:51:05 er 1.20.16.1: #i1967# SCCOL,SCROW,SCTAB replace USHORT
2004-06-04 09:16:34 +00:00
|
|
|
void GetAutoFormatData(SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, ScAutoFormatData& rData);
|
2011-03-13 19:39:41 +01:00
|
|
|
void ScReplaceTabsStr( String& rStr, const String& rSrch, const String& rRepl ); // from sw
|
2011-09-19 19:09:19 -04:00
|
|
|
bool SearchAndReplace(
|
|
|
|
const SvxSearchItem& rSearchItem, SCCOL& rCol, SCROW& rRow, const ScMarkData& rMark,
|
|
|
|
ScRangeList& rMatchedRanges, rtl::OUString& rUndoStr, ScDocument* pUndoDoc);
|
2000-09-18 16:07:07 +00:00
|
|
|
|
2010-06-23 13:38:34 +02:00
|
|
|
void FindMaxRotCol( RowInfo* pRowInfo, SCSIZE nArrCount, SCCOL nX1, SCCOL nX2 );
|
2000-09-18 16:07:07 +00:00
|
|
|
|
INTEGRATION: CWS rowlimit (1.20.16); FILE MERGED
2004/04/07 14:44:12 er 1.20.16.13: #i1967# #i5062# replace Sfx(Broadcaster|Listener) with Svt(Broadcaster|Listener) for mass objects like formula cells
2004/03/11 12:05:48 er 1.20.16.12: #i1967# type correctness
2004/03/09 18:48:21 er 1.20.16.11: #i1967# type correctness
2004/03/09 18:37:01 er 1.20.16.10: #i1967# type correctness
2004/03/07 11:37:16 jmarmion 1.20.16.9: #i1967# step 5 changes.
2004/03/05 20:35:52 er 1.20.16.8: #i1967# type correctness
2004/03/05 12:22:13 er 1.20.16.7: #i1967# type correctness
2004/02/20 22:54:29 er 1.20.16.6: #i1967# type correctness
2004/02/11 14:12:04 er 1.20.16.5: RESYNC: (1.21-1.22); FILE MERGED
2004/01/21 14:47:09 er 1.20.16.4: RESYNC: (1.20-1.21); FILE MERGED
2004/01/16 17:39:48 er 1.20.16.3: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/12 17:15:08 er 1.20.16.2: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/09 20:51:05 er 1.20.16.1: #i1967# SCCOL,SCROW,SCTAB replace USHORT
2004-06-04 09:16:34 +00:00
|
|
|
void GetBorderLines( SCCOL nCol, SCROW nRow,
|
2011-03-25 15:51:46 +01:00
|
|
|
const ::editeng::SvxBorderLine** ppLeft, const ::editeng::SvxBorderLine** ppTop,
|
|
|
|
const ::editeng::SvxBorderLine** ppRight, const ::editeng::SvxBorderLine** ppBottom ) const;
|
2000-09-18 16:07:07 +00:00
|
|
|
|
2011-01-17 13:20:22 +01:00
|
|
|
bool HasAttrib( SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, sal_uInt16 nMask ) const;
|
2011-03-10 16:55:21 -05:00
|
|
|
bool HasAttribSelection( const ScMarkData& rMark, sal_uInt16 nMask ) const;
|
2011-01-08 00:24:52 -05:00
|
|
|
bool ExtendMerge( SCCOL nStartCol, SCROW nStartRow,
|
INTEGRATION: CWS rowlimit (1.20.16); FILE MERGED
2004/04/07 14:44:12 er 1.20.16.13: #i1967# #i5062# replace Sfx(Broadcaster|Listener) with Svt(Broadcaster|Listener) for mass objects like formula cells
2004/03/11 12:05:48 er 1.20.16.12: #i1967# type correctness
2004/03/09 18:48:21 er 1.20.16.11: #i1967# type correctness
2004/03/09 18:37:01 er 1.20.16.10: #i1967# type correctness
2004/03/07 11:37:16 jmarmion 1.20.16.9: #i1967# step 5 changes.
2004/03/05 20:35:52 er 1.20.16.8: #i1967# type correctness
2004/03/05 12:22:13 er 1.20.16.7: #i1967# type correctness
2004/02/20 22:54:29 er 1.20.16.6: #i1967# type correctness
2004/02/11 14:12:04 er 1.20.16.5: RESYNC: (1.21-1.22); FILE MERGED
2004/01/21 14:47:09 er 1.20.16.4: RESYNC: (1.20-1.21); FILE MERGED
2004/01/16 17:39:48 er 1.20.16.3: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/12 17:15:08 er 1.20.16.2: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/09 20:51:05 er 1.20.16.1: #i1967# SCCOL,SCROW,SCTAB replace USHORT
2004-06-04 09:16:34 +00:00
|
|
|
SCCOL& rEndCol, SCROW& rEndRow,
|
2011-09-05 22:01:41 +02:00
|
|
|
bool bRefresh );
|
2011-01-17 13:20:22 +01:00
|
|
|
const SfxPoolItem* GetAttr( SCCOL nCol, SCROW nRow, sal_uInt16 nWhich ) const;
|
INTEGRATION: CWS rowlimit (1.20.16); FILE MERGED
2004/04/07 14:44:12 er 1.20.16.13: #i1967# #i5062# replace Sfx(Broadcaster|Listener) with Svt(Broadcaster|Listener) for mass objects like formula cells
2004/03/11 12:05:48 er 1.20.16.12: #i1967# type correctness
2004/03/09 18:48:21 er 1.20.16.11: #i1967# type correctness
2004/03/09 18:37:01 er 1.20.16.10: #i1967# type correctness
2004/03/07 11:37:16 jmarmion 1.20.16.9: #i1967# step 5 changes.
2004/03/05 20:35:52 er 1.20.16.8: #i1967# type correctness
2004/03/05 12:22:13 er 1.20.16.7: #i1967# type correctness
2004/02/20 22:54:29 er 1.20.16.6: #i1967# type correctness
2004/02/11 14:12:04 er 1.20.16.5: RESYNC: (1.21-1.22); FILE MERGED
2004/01/21 14:47:09 er 1.20.16.4: RESYNC: (1.20-1.21); FILE MERGED
2004/01/16 17:39:48 er 1.20.16.3: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/12 17:15:08 er 1.20.16.2: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/09 20:51:05 er 1.20.16.1: #i1967# SCCOL,SCROW,SCTAB replace USHORT
2004-06-04 09:16:34 +00:00
|
|
|
const ScPatternAttr* GetPattern( SCCOL nCol, SCROW nRow ) const;
|
2004-09-08 14:28:45 +00:00
|
|
|
const ScPatternAttr* GetMostUsedPattern( SCCOL nCol, SCROW nStartRow, SCROW nEndRow ) const;
|
2000-09-18 16:07:07 +00:00
|
|
|
|
2011-01-17 13:20:22 +01:00
|
|
|
sal_uLong GetNumberFormat( const ScAddress& rPos ) const
|
2009-07-28 10:04:47 +00:00
|
|
|
{
|
|
|
|
return ValidColRow(rPos.Col(),rPos.Row()) ?
|
|
|
|
aCol[rPos.Col()].GetNumberFormat( rPos.Row() ) :
|
|
|
|
0;
|
|
|
|
}
|
2011-01-17 13:20:22 +01:00
|
|
|
sal_uLong GetNumberFormat( SCCOL nCol, SCROW nRow ) const;
|
2010-09-15 17:11:24 +02:00
|
|
|
sal_uInt32 GetNumberFormat( SCCOL nCol, SCROW nStartRow, SCROW nEndRow ) const;
|
2005-03-29 12:29:22 +00:00
|
|
|
void MergeSelectionPattern( ScMergePatternState& rState,
|
2011-08-25 11:33:20 +02:00
|
|
|
const ScMarkData& rMark, bool bDeep ) const;
|
2005-03-29 12:29:22 +00:00
|
|
|
void MergePatternArea( ScMergePatternState& rState, SCCOL nCol1, SCROW nRow1,
|
2011-08-25 11:33:20 +02:00
|
|
|
SCCOL nCol2, SCROW nRow2, bool bDeep ) const;
|
2000-09-18 16:07:07 +00:00
|
|
|
void MergeBlockFrame( SvxBoxItem* pLineOuter, SvxBoxInfoItem* pLineInner,
|
|
|
|
ScLineFlags& rFlags,
|
INTEGRATION: CWS rowlimit (1.20.16); FILE MERGED
2004/04/07 14:44:12 er 1.20.16.13: #i1967# #i5062# replace Sfx(Broadcaster|Listener) with Svt(Broadcaster|Listener) for mass objects like formula cells
2004/03/11 12:05:48 er 1.20.16.12: #i1967# type correctness
2004/03/09 18:48:21 er 1.20.16.11: #i1967# type correctness
2004/03/09 18:37:01 er 1.20.16.10: #i1967# type correctness
2004/03/07 11:37:16 jmarmion 1.20.16.9: #i1967# step 5 changes.
2004/03/05 20:35:52 er 1.20.16.8: #i1967# type correctness
2004/03/05 12:22:13 er 1.20.16.7: #i1967# type correctness
2004/02/20 22:54:29 er 1.20.16.6: #i1967# type correctness
2004/02/11 14:12:04 er 1.20.16.5: RESYNC: (1.21-1.22); FILE MERGED
2004/01/21 14:47:09 er 1.20.16.4: RESYNC: (1.20-1.21); FILE MERGED
2004/01/16 17:39:48 er 1.20.16.3: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/12 17:15:08 er 1.20.16.2: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/09 20:51:05 er 1.20.16.1: #i1967# SCCOL,SCROW,SCTAB replace USHORT
2004-06-04 09:16:34 +00:00
|
|
|
SCCOL nStartCol, SCROW nStartRow,
|
|
|
|
SCCOL nEndCol, SCROW nEndRow ) const;
|
2000-09-18 16:07:07 +00:00
|
|
|
void ApplyBlockFrame( const SvxBoxItem* pLineOuter,
|
|
|
|
const SvxBoxInfoItem* pLineInner,
|
INTEGRATION: CWS rowlimit (1.20.16); FILE MERGED
2004/04/07 14:44:12 er 1.20.16.13: #i1967# #i5062# replace Sfx(Broadcaster|Listener) with Svt(Broadcaster|Listener) for mass objects like formula cells
2004/03/11 12:05:48 er 1.20.16.12: #i1967# type correctness
2004/03/09 18:48:21 er 1.20.16.11: #i1967# type correctness
2004/03/09 18:37:01 er 1.20.16.10: #i1967# type correctness
2004/03/07 11:37:16 jmarmion 1.20.16.9: #i1967# step 5 changes.
2004/03/05 20:35:52 er 1.20.16.8: #i1967# type correctness
2004/03/05 12:22:13 er 1.20.16.7: #i1967# type correctness
2004/02/20 22:54:29 er 1.20.16.6: #i1967# type correctness
2004/02/11 14:12:04 er 1.20.16.5: RESYNC: (1.21-1.22); FILE MERGED
2004/01/21 14:47:09 er 1.20.16.4: RESYNC: (1.20-1.21); FILE MERGED
2004/01/16 17:39:48 er 1.20.16.3: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/12 17:15:08 er 1.20.16.2: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/09 20:51:05 er 1.20.16.1: #i1967# SCCOL,SCROW,SCTAB replace USHORT
2004-06-04 09:16:34 +00:00
|
|
|
SCCOL nStartCol, SCROW nStartRow,
|
|
|
|
SCCOL nEndCol, SCROW nEndRow );
|
2000-09-18 16:07:07 +00:00
|
|
|
|
INTEGRATION: CWS rowlimit (1.20.16); FILE MERGED
2004/04/07 14:44:12 er 1.20.16.13: #i1967# #i5062# replace Sfx(Broadcaster|Listener) with Svt(Broadcaster|Listener) for mass objects like formula cells
2004/03/11 12:05:48 er 1.20.16.12: #i1967# type correctness
2004/03/09 18:48:21 er 1.20.16.11: #i1967# type correctness
2004/03/09 18:37:01 er 1.20.16.10: #i1967# type correctness
2004/03/07 11:37:16 jmarmion 1.20.16.9: #i1967# step 5 changes.
2004/03/05 20:35:52 er 1.20.16.8: #i1967# type correctness
2004/03/05 12:22:13 er 1.20.16.7: #i1967# type correctness
2004/02/20 22:54:29 er 1.20.16.6: #i1967# type correctness
2004/02/11 14:12:04 er 1.20.16.5: RESYNC: (1.21-1.22); FILE MERGED
2004/01/21 14:47:09 er 1.20.16.4: RESYNC: (1.20-1.21); FILE MERGED
2004/01/16 17:39:48 er 1.20.16.3: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/12 17:15:08 er 1.20.16.2: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/09 20:51:05 er 1.20.16.1: #i1967# SCCOL,SCROW,SCTAB replace USHORT
2004-06-04 09:16:34 +00:00
|
|
|
void ApplyAttr( SCCOL nCol, SCROW nRow, const SfxPoolItem& rAttr );
|
|
|
|
void ApplyPattern( SCCOL nCol, SCROW nRow, const ScPatternAttr& rAttr );
|
2010-09-15 12:28:47 +02:00
|
|
|
void ApplyPatternArea( SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow,
|
|
|
|
const ScPatternAttr& rAttr, ScEditDataArray* pDataArray = NULL );
|
2010-10-04 14:12:42 -04:00
|
|
|
bool SetAttrEntries(SCCOL nCol, ScAttrEntry* pData, SCSIZE nSize);
|
|
|
|
|
2011-08-25 11:33:20 +02:00
|
|
|
void SetPattern( const ScAddress& rPos, const ScPatternAttr& rAttr, bool bPutToPool = false )
|
2009-07-28 10:04:47 +00:00
|
|
|
{
|
|
|
|
if (ValidColRow(rPos.Col(),rPos.Row()))
|
|
|
|
aCol[rPos.Col()].SetPattern( rPos.Row(), rAttr, bPutToPool );
|
|
|
|
}
|
2011-08-25 11:33:20 +02:00
|
|
|
void SetPattern( SCCOL nCol, SCROW nRow, const ScPatternAttr& rAttr, bool bPutToPool = false );
|
2000-09-18 16:07:07 +00:00
|
|
|
void ApplyPatternIfNumberformatIncompatible( const ScRange& rRange,
|
|
|
|
const ScPatternAttr& rPattern, short nNewType );
|
|
|
|
|
INTEGRATION: CWS rowlimit (1.20.16); FILE MERGED
2004/04/07 14:44:12 er 1.20.16.13: #i1967# #i5062# replace Sfx(Broadcaster|Listener) with Svt(Broadcaster|Listener) for mass objects like formula cells
2004/03/11 12:05:48 er 1.20.16.12: #i1967# type correctness
2004/03/09 18:48:21 er 1.20.16.11: #i1967# type correctness
2004/03/09 18:37:01 er 1.20.16.10: #i1967# type correctness
2004/03/07 11:37:16 jmarmion 1.20.16.9: #i1967# step 5 changes.
2004/03/05 20:35:52 er 1.20.16.8: #i1967# type correctness
2004/03/05 12:22:13 er 1.20.16.7: #i1967# type correctness
2004/02/20 22:54:29 er 1.20.16.6: #i1967# type correctness
2004/02/11 14:12:04 er 1.20.16.5: RESYNC: (1.21-1.22); FILE MERGED
2004/01/21 14:47:09 er 1.20.16.4: RESYNC: (1.20-1.21); FILE MERGED
2004/01/16 17:39:48 er 1.20.16.3: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/12 17:15:08 er 1.20.16.2: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/09 20:51:05 er 1.20.16.1: #i1967# SCCOL,SCROW,SCTAB replace USHORT
2004-06-04 09:16:34 +00:00
|
|
|
void ApplyStyle( SCCOL nCol, SCROW nRow, const ScStyleSheet& rStyle );
|
|
|
|
void ApplyStyleArea( SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, const ScStyleSheet& rStyle );
|
2000-09-18 16:07:07 +00:00
|
|
|
void ApplySelectionStyle(const ScStyleSheet& rStyle, const ScMarkData& rMark);
|
|
|
|
void ApplySelectionLineStyle( const ScMarkData& rMark,
|
2011-08-25 11:33:20 +02:00
|
|
|
const ::editeng::SvxBorderLine* pLine, bool bColorOnly );
|
2000-09-18 16:07:07 +00:00
|
|
|
|
INTEGRATION: CWS rowlimit (1.20.16); FILE MERGED
2004/04/07 14:44:12 er 1.20.16.13: #i1967# #i5062# replace Sfx(Broadcaster|Listener) with Svt(Broadcaster|Listener) for mass objects like formula cells
2004/03/11 12:05:48 er 1.20.16.12: #i1967# type correctness
2004/03/09 18:48:21 er 1.20.16.11: #i1967# type correctness
2004/03/09 18:37:01 er 1.20.16.10: #i1967# type correctness
2004/03/07 11:37:16 jmarmion 1.20.16.9: #i1967# step 5 changes.
2004/03/05 20:35:52 er 1.20.16.8: #i1967# type correctness
2004/03/05 12:22:13 er 1.20.16.7: #i1967# type correctness
2004/02/20 22:54:29 er 1.20.16.6: #i1967# type correctness
2004/02/11 14:12:04 er 1.20.16.5: RESYNC: (1.21-1.22); FILE MERGED
2004/01/21 14:47:09 er 1.20.16.4: RESYNC: (1.20-1.21); FILE MERGED
2004/01/16 17:39:48 er 1.20.16.3: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/12 17:15:08 er 1.20.16.2: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/09 20:51:05 er 1.20.16.1: #i1967# SCCOL,SCROW,SCTAB replace USHORT
2004-06-04 09:16:34 +00:00
|
|
|
const ScStyleSheet* GetStyle( SCCOL nCol, SCROW nRow ) const;
|
2011-08-10 11:48:05 -04:00
|
|
|
const ScStyleSheet* GetSelectionStyle( const ScMarkData& rMark, bool& rFound ) const;
|
|
|
|
const ScStyleSheet* GetAreaStyle( bool& rFound, SCCOL nCol1, SCROW nRow1,
|
INTEGRATION: CWS rowlimit (1.20.16); FILE MERGED
2004/04/07 14:44:12 er 1.20.16.13: #i1967# #i5062# replace Sfx(Broadcaster|Listener) with Svt(Broadcaster|Listener) for mass objects like formula cells
2004/03/11 12:05:48 er 1.20.16.12: #i1967# type correctness
2004/03/09 18:48:21 er 1.20.16.11: #i1967# type correctness
2004/03/09 18:37:01 er 1.20.16.10: #i1967# type correctness
2004/03/07 11:37:16 jmarmion 1.20.16.9: #i1967# step 5 changes.
2004/03/05 20:35:52 er 1.20.16.8: #i1967# type correctness
2004/03/05 12:22:13 er 1.20.16.7: #i1967# type correctness
2004/02/20 22:54:29 er 1.20.16.6: #i1967# type correctness
2004/02/11 14:12:04 er 1.20.16.5: RESYNC: (1.21-1.22); FILE MERGED
2004/01/21 14:47:09 er 1.20.16.4: RESYNC: (1.20-1.21); FILE MERGED
2004/01/16 17:39:48 er 1.20.16.3: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/12 17:15:08 er 1.20.16.2: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/09 20:51:05 er 1.20.16.1: #i1967# SCCOL,SCROW,SCTAB replace USHORT
2004-06-04 09:16:34 +00:00
|
|
|
SCCOL nCol2, SCROW nRow2 ) const;
|
2000-09-18 16:07:07 +00:00
|
|
|
|
2011-08-25 11:33:20 +02:00
|
|
|
void StyleSheetChanged( const SfxStyleSheetBase* pStyleSheet, bool bRemoved,
|
2000-09-18 16:07:07 +00:00
|
|
|
OutputDevice* pDev,
|
|
|
|
double nPPTX, double nPPTY,
|
|
|
|
const Fraction& rZoomX, const Fraction& rZoomY );
|
|
|
|
|
2011-08-25 11:33:20 +02:00
|
|
|
bool IsStyleSheetUsed( const ScStyleSheet& rStyle, bool bGatherAllStyles ) const;
|
2000-09-18 16:07:07 +00:00
|
|
|
|
2011-03-14 00:39:56 +01:00
|
|
|
bool ApplyFlags( SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, sal_Int16 nFlags );
|
|
|
|
bool RemoveFlags( SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, sal_Int16 nFlags );
|
2000-09-18 16:07:07 +00:00
|
|
|
|
2010-09-15 12:28:47 +02:00
|
|
|
void ApplySelectionCache( SfxItemPoolCache* pCache, const ScMarkData& rMark, ScEditDataArray* pDataArray = NULL );
|
2011-01-17 13:20:22 +01:00
|
|
|
void DeleteSelection( sal_uInt16 nDelFlag, const ScMarkData& rMark );
|
2000-09-18 16:07:07 +00:00
|
|
|
|
2011-01-17 13:20:22 +01:00
|
|
|
void ClearSelectionItems( const sal_uInt16* pWhich, const ScMarkData& rMark );
|
2011-08-25 11:33:20 +02:00
|
|
|
void ChangeSelectionIndent( bool bIncrement, const ScMarkData& rMark );
|
2000-09-18 16:07:07 +00:00
|
|
|
|
|
|
|
const ScRange* GetRepeatColRange() const { return pRepeatColRange; }
|
|
|
|
const ScRange* GetRepeatRowRange() const { return pRepeatRowRange; }
|
|
|
|
void SetRepeatColRange( const ScRange* pNew );
|
|
|
|
void SetRepeatRowRange( const ScRange* pNew );
|
|
|
|
|
2011-01-17 13:20:22 +01:00
|
|
|
sal_uInt16 GetPrintRangeCount() const { return static_cast< sal_uInt16 >( aPrintRanges.size() ); }
|
|
|
|
const ScRange* GetPrintRange(sal_uInt16 nPos) const;
|
2003-12-01 08:49:03 +00:00
|
|
|
/** Returns true, if the sheet is always printed. */
|
2010-11-09 11:44:07 -05:00
|
|
|
bool IsPrintEntireSheet() const { return bPrintEntireSheet; }
|
2003-12-01 08:49:03 +00:00
|
|
|
|
|
|
|
/** Removes all print ranges. */
|
|
|
|
void ClearPrintRanges();
|
|
|
|
/** Adds a new print ranges. */
|
|
|
|
void AddPrintRange( const ScRange& rNew );
|
|
|
|
/** Marks the specified sheet to be printed completely. Deletes old print ranges! */
|
|
|
|
void SetPrintEntireSheet();
|
|
|
|
|
2000-09-18 16:07:07 +00:00
|
|
|
void FillPrintSaver( ScPrintSaverTab& rSaveTab ) const;
|
|
|
|
void RestorePrintRanges( const ScPrintSaverTab& rSaveTab );
|
|
|
|
|
2011-01-17 13:20:22 +01:00
|
|
|
sal_uInt16 GetOptimalColWidth( SCCOL nCol, OutputDevice* pDev,
|
2000-09-18 16:07:07 +00:00
|
|
|
double nPPTX, double nPPTY,
|
|
|
|
const Fraction& rZoomX, const Fraction& rZoomY,
|
2011-08-25 11:33:20 +02:00
|
|
|
bool bFormula, const ScMarkData* pMarkData,
|
2010-10-01 22:30:59 -04:00
|
|
|
const ScColWidthParam* pParam );
|
2011-08-25 11:33:20 +02:00
|
|
|
bool SetOptimalHeight( SCROW nStartRow, SCROW nEndRow, sal_uInt16 nExtra,
|
2000-09-18 16:07:07 +00:00
|
|
|
OutputDevice* pDev,
|
|
|
|
double nPPTX, double nPPTY,
|
|
|
|
const Fraction& rZoomX, const Fraction& rZoomY,
|
2011-08-25 11:33:20 +02:00
|
|
|
bool bForce,
|
2011-01-17 13:20:22 +01:00
|
|
|
ScProgress* pOuterProgress = NULL, sal_uLong nProgressStart = 0 );
|
2010-10-05 14:06:55 -04:00
|
|
|
|
2011-03-10 16:55:21 -05:00
|
|
|
void SetOptimalHeightOnly(SCROW nStartRow, SCROW nEndRow, sal_uInt16 nExtra,
|
2010-10-05 14:06:55 -04:00
|
|
|
OutputDevice* pDev,
|
|
|
|
double nPPTX, double nPPTY,
|
|
|
|
const Fraction& rZoomX, const Fraction& rZoomY,
|
2011-08-25 11:33:20 +02:00
|
|
|
bool bForce,
|
2011-03-10 16:55:21 -05:00
|
|
|
ScProgress* pOuterProgress = NULL, sal_uLong nProgressStart = 0 );
|
2010-10-05 14:06:55 -04:00
|
|
|
|
INTEGRATION: CWS rowlimit (1.20.16); FILE MERGED
2004/04/07 14:44:12 er 1.20.16.13: #i1967# #i5062# replace Sfx(Broadcaster|Listener) with Svt(Broadcaster|Listener) for mass objects like formula cells
2004/03/11 12:05:48 er 1.20.16.12: #i1967# type correctness
2004/03/09 18:48:21 er 1.20.16.11: #i1967# type correctness
2004/03/09 18:37:01 er 1.20.16.10: #i1967# type correctness
2004/03/07 11:37:16 jmarmion 1.20.16.9: #i1967# step 5 changes.
2004/03/05 20:35:52 er 1.20.16.8: #i1967# type correctness
2004/03/05 12:22:13 er 1.20.16.7: #i1967# type correctness
2004/02/20 22:54:29 er 1.20.16.6: #i1967# type correctness
2004/02/11 14:12:04 er 1.20.16.5: RESYNC: (1.21-1.22); FILE MERGED
2004/01/21 14:47:09 er 1.20.16.4: RESYNC: (1.20-1.21); FILE MERGED
2004/01/16 17:39:48 er 1.20.16.3: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/12 17:15:08 er 1.20.16.2: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/09 20:51:05 er 1.20.16.1: #i1967# SCCOL,SCROW,SCTAB replace USHORT
2004-06-04 09:16:34 +00:00
|
|
|
long GetNeededSize( SCCOL nCol, SCROW nRow,
|
2000-09-18 16:07:07 +00:00
|
|
|
OutputDevice* pDev,
|
|
|
|
double nPPTX, double nPPTY,
|
|
|
|
const Fraction& rZoomX, const Fraction& rZoomY,
|
2011-08-25 11:33:20 +02:00
|
|
|
bool bWidth, bool bTotalSize );
|
2011-01-17 13:20:22 +01:00
|
|
|
void SetColWidth( SCCOL nCol, sal_uInt16 nNewWidth );
|
2011-03-10 16:55:21 -05:00
|
|
|
void SetColWidthOnly( SCCOL nCol, sal_uInt16 nNewWidth );
|
2011-01-17 13:20:22 +01:00
|
|
|
void SetRowHeight( SCROW nRow, sal_uInt16 nNewHeight );
|
2011-08-25 11:33:20 +02:00
|
|
|
bool SetRowHeightRange( SCROW nStartRow, SCROW nEndRow, sal_uInt16 nNewHeight,
|
2000-09-18 16:07:07 +00:00
|
|
|
double nPPTX, double nPPTY );
|
2010-06-23 13:38:34 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Set specified row height to specified ranges. Don't check for drawing
|
|
|
|
* objects etc. Just set the row height. Nothing else.
|
|
|
|
*
|
|
|
|
* Note that setting a new row height via this function will not
|
|
|
|
* invalidate page breaks.
|
|
|
|
*/
|
2011-01-17 13:20:22 +01:00
|
|
|
void SetRowHeightOnly( SCROW nStartRow, SCROW nEndRow, sal_uInt16 nNewHeight );
|
2010-06-23 13:38:34 +02:00
|
|
|
|
2011-03-13 19:39:41 +01:00
|
|
|
// nPPT to test for modification
|
2011-08-25 11:33:20 +02:00
|
|
|
void SetManualHeight( SCROW nStartRow, SCROW nEndRow, bool bManual );
|
2000-09-18 16:07:07 +00:00
|
|
|
|
2011-01-17 13:20:22 +01:00
|
|
|
sal_uInt16 GetColWidth( SCCOL nCol ) const;
|
|
|
|
SC_DLLPUBLIC sal_uInt16 GetRowHeight( SCROW nRow, SCROW* pStartRow = NULL, SCROW* pEndRow = NULL, bool bHiddenAsZero = true ) const;
|
|
|
|
sal_uLong GetRowHeight( SCROW nStartRow, SCROW nEndRow ) const;
|
|
|
|
sal_uLong GetScaledRowHeight( SCROW nStartRow, SCROW nEndRow, double fScale ) const;
|
|
|
|
sal_uLong GetColOffset( SCCOL nCol ) const;
|
|
|
|
sal_uLong GetRowOffset( SCROW nRow ) const;
|
2010-06-23 13:38:34 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Get the last row such that the height of row 0 to the end row is as
|
|
|
|
* high as possible without exceeding the specified height value.
|
|
|
|
*
|
|
|
|
* @param nHeight maximum desired height
|
|
|
|
*
|
|
|
|
* @return SCROW last row of the range within specified height.
|
|
|
|
*/
|
2011-01-17 13:20:22 +01:00
|
|
|
SCROW GetRowForHeight(sal_uLong nHeight) const;
|
2000-09-18 16:07:07 +00:00
|
|
|
|
2011-01-17 13:20:22 +01:00
|
|
|
sal_uInt16 GetOriginalWidth( SCCOL nCol ) const;
|
|
|
|
sal_uInt16 GetOriginalHeight( SCROW nRow ) const;
|
2000-09-18 16:07:07 +00:00
|
|
|
|
2011-01-17 13:20:22 +01:00
|
|
|
sal_uInt16 GetCommonWidth( SCCOL nEndCol );
|
2001-08-02 17:16:22 +00:00
|
|
|
|
2010-06-23 13:38:34 +02:00
|
|
|
SCROW GetHiddenRowCount( SCROW nRow );
|
2000-09-18 16:07:07 +00:00
|
|
|
|
2010-06-23 13:38:34 +02:00
|
|
|
void ShowCol(SCCOL nCol, bool bShow);
|
|
|
|
void ShowRow(SCROW nRow, bool bShow);
|
|
|
|
void DBShowRow(SCROW nRow, bool bShow);
|
2000-09-18 16:07:07 +00:00
|
|
|
|
2010-06-23 13:38:34 +02:00
|
|
|
void ShowRows(SCROW nRow1, SCROW nRow2, bool bShow);
|
2011-01-13 11:18:07 -05:00
|
|
|
void DBShowRows(SCROW nRow1, SCROW nRow2, bool bShow);
|
2000-09-18 16:07:07 +00:00
|
|
|
|
2011-01-17 13:20:22 +01:00
|
|
|
void SetRowFlags( SCROW nRow, sal_uInt8 nNewFlags );
|
|
|
|
void SetRowFlags( SCROW nStartRow, SCROW nEndRow, sal_uInt8 nNewFlags );
|
2000-09-18 16:07:07 +00:00
|
|
|
|
2001-10-26 15:44:01 +00:00
|
|
|
/// @return the index of the last row with any set flags (auto-pagebreak is ignored).
|
INTEGRATION: CWS rowlimit (1.20.16); FILE MERGED
2004/04/07 14:44:12 er 1.20.16.13: #i1967# #i5062# replace Sfx(Broadcaster|Listener) with Svt(Broadcaster|Listener) for mass objects like formula cells
2004/03/11 12:05:48 er 1.20.16.12: #i1967# type correctness
2004/03/09 18:48:21 er 1.20.16.11: #i1967# type correctness
2004/03/09 18:37:01 er 1.20.16.10: #i1967# type correctness
2004/03/07 11:37:16 jmarmion 1.20.16.9: #i1967# step 5 changes.
2004/03/05 20:35:52 er 1.20.16.8: #i1967# type correctness
2004/03/05 12:22:13 er 1.20.16.7: #i1967# type correctness
2004/02/20 22:54:29 er 1.20.16.6: #i1967# type correctness
2004/02/11 14:12:04 er 1.20.16.5: RESYNC: (1.21-1.22); FILE MERGED
2004/01/21 14:47:09 er 1.20.16.4: RESYNC: (1.20-1.21); FILE MERGED
2004/01/16 17:39:48 er 1.20.16.3: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/12 17:15:08 er 1.20.16.2: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/09 20:51:05 er 1.20.16.1: #i1967# SCCOL,SCROW,SCTAB replace USHORT
2004-06-04 09:16:34 +00:00
|
|
|
SCROW GetLastFlaggedRow() const;
|
2000-09-18 16:07:07 +00:00
|
|
|
|
2001-10-26 15:44:01 +00:00
|
|
|
/// @return the index of the last changed column (flags and column width, auto pagebreak is ignored).
|
INTEGRATION: CWS rowlimit (1.20.16); FILE MERGED
2004/04/07 14:44:12 er 1.20.16.13: #i1967# #i5062# replace Sfx(Broadcaster|Listener) with Svt(Broadcaster|Listener) for mass objects like formula cells
2004/03/11 12:05:48 er 1.20.16.12: #i1967# type correctness
2004/03/09 18:48:21 er 1.20.16.11: #i1967# type correctness
2004/03/09 18:37:01 er 1.20.16.10: #i1967# type correctness
2004/03/07 11:37:16 jmarmion 1.20.16.9: #i1967# step 5 changes.
2004/03/05 20:35:52 er 1.20.16.8: #i1967# type correctness
2004/03/05 12:22:13 er 1.20.16.7: #i1967# type correctness
2004/02/20 22:54:29 er 1.20.16.6: #i1967# type correctness
2004/02/11 14:12:04 er 1.20.16.5: RESYNC: (1.21-1.22); FILE MERGED
2004/01/21 14:47:09 er 1.20.16.4: RESYNC: (1.20-1.21); FILE MERGED
2004/01/16 17:39:48 er 1.20.16.3: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/12 17:15:08 er 1.20.16.2: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/09 20:51:05 er 1.20.16.1: #i1967# SCCOL,SCROW,SCTAB replace USHORT
2004-06-04 09:16:34 +00:00
|
|
|
SCCOL GetLastChangedCol() const;
|
2001-10-26 15:44:01 +00:00
|
|
|
/// @return the index of the last changed row (flags and row height, auto pagebreak is ignored).
|
INTEGRATION: CWS rowlimit (1.20.16); FILE MERGED
2004/04/07 14:44:12 er 1.20.16.13: #i1967# #i5062# replace Sfx(Broadcaster|Listener) with Svt(Broadcaster|Listener) for mass objects like formula cells
2004/03/11 12:05:48 er 1.20.16.12: #i1967# type correctness
2004/03/09 18:48:21 er 1.20.16.11: #i1967# type correctness
2004/03/09 18:37:01 er 1.20.16.10: #i1967# type correctness
2004/03/07 11:37:16 jmarmion 1.20.16.9: #i1967# step 5 changes.
2004/03/05 20:35:52 er 1.20.16.8: #i1967# type correctness
2004/03/05 12:22:13 er 1.20.16.7: #i1967# type correctness
2004/02/20 22:54:29 er 1.20.16.6: #i1967# type correctness
2004/02/11 14:12:04 er 1.20.16.5: RESYNC: (1.21-1.22); FILE MERGED
2004/01/21 14:47:09 er 1.20.16.4: RESYNC: (1.20-1.21); FILE MERGED
2004/01/16 17:39:48 er 1.20.16.3: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/12 17:15:08 er 1.20.16.2: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/09 20:51:05 er 1.20.16.1: #i1967# SCCOL,SCROW,SCTAB replace USHORT
2004-06-04 09:16:34 +00:00
|
|
|
SCROW GetLastChangedRow() const;
|
2001-10-26 15:44:01 +00:00
|
|
|
|
2012-04-10 14:00:59 +02:00
|
|
|
bool IsDataFiltered(SCCOL nColStart, SCROW nRowStart, SCCOL nColEnd, SCROW nRowEnd) const;
|
2012-04-11 21:35:59 +02:00
|
|
|
bool IsDataFiltered(const ScRange& rRange) const;
|
2011-01-17 13:20:22 +01:00
|
|
|
sal_uInt8 GetColFlags( SCCOL nCol ) const;
|
|
|
|
sal_uInt8 GetRowFlags( SCROW nRow ) const;
|
2000-09-18 16:07:07 +00:00
|
|
|
|
2011-01-17 13:20:22 +01:00
|
|
|
const ScBitMaskCompressedArray< SCROW, sal_uInt8> * GetRowFlagsArray() const
|
2004-08-20 08:08:34 +00:00
|
|
|
{ return pRowFlags; }
|
|
|
|
|
2011-08-25 11:33:20 +02:00
|
|
|
bool UpdateOutlineCol( SCCOL nStartCol, SCCOL nEndCol, bool bShow );
|
|
|
|
bool UpdateOutlineRow( SCROW nStartRow, SCROW nEndRow, bool bShow );
|
2000-09-18 16:07:07 +00:00
|
|
|
|
|
|
|
void UpdatePageBreaks( const ScRange* pUserArea );
|
|
|
|
void RemoveManualBreaks();
|
2011-08-25 11:33:20 +02:00
|
|
|
bool HasManualBreaks() const;
|
2010-07-29 18:29:52 +02:00
|
|
|
void SetRowManualBreaks( const ::std::set<SCROW>& rBreaks );
|
|
|
|
void SetColManualBreaks( const ::std::set<SCCOL>& rBreaks );
|
2000-09-18 16:07:07 +00:00
|
|
|
|
2010-06-23 13:38:34 +02:00
|
|
|
void GetAllRowBreaks(::std::set<SCROW>& rBreaks, bool bPage, bool bManual) const;
|
|
|
|
void GetAllColBreaks(::std::set<SCCOL>& rBreaks, bool bPage, bool bManual) const;
|
|
|
|
bool HasRowPageBreak(SCROW nRow) const;
|
|
|
|
bool HasColPageBreak(SCCOL nCol) const;
|
|
|
|
bool HasRowManualBreak(SCROW nRow) const;
|
|
|
|
bool HasColManualBreak(SCCOL nCol) const;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Get the row position of the next manual break that occurs at or below
|
|
|
|
* specified row. When no more manual breaks are present at or below
|
|
|
|
* the specified row, -1 is returned.
|
|
|
|
*
|
|
|
|
* @param nRow row at which the search begins.
|
|
|
|
*
|
|
|
|
* @return SCROW next row position with manual page break, or -1 if no
|
|
|
|
* more manual breaks are present.
|
|
|
|
*/
|
|
|
|
SCROW GetNextManualBreak(SCROW nRow) const;
|
|
|
|
|
|
|
|
void RemoveRowPageBreaks(SCROW nStartRow, SCROW nEndRow);
|
|
|
|
void RemoveRowBreak(SCROW nRow, bool bPage, bool bManual);
|
|
|
|
void RemoveColBreak(SCCOL nCol, bool bPage, bool bManual);
|
|
|
|
void SetRowBreak(SCROW nRow, bool bPage, bool bManual);
|
|
|
|
void SetColBreak(SCCOL nCol, bool bPage, bool bManual);
|
|
|
|
::com::sun::star::uno::Sequence<
|
|
|
|
::com::sun::star::sheet::TablePageBreakData> GetRowBreakData() const;
|
|
|
|
|
2010-07-16 15:58:36 +02:00
|
|
|
bool RowHidden(SCROW nRow, SCROW* pFirstRow = NULL, SCROW* pLastRow = NULL) const;
|
2011-02-15 00:05:32 -05:00
|
|
|
bool RowHiddenLeaf(SCROW nRow, SCROW* pFirstRow = NULL, SCROW* pLastRow = NULL) const;
|
2010-07-16 15:58:36 +02:00
|
|
|
bool HasHiddenRows(SCROW nStartRow, SCROW nEndRow) const;
|
|
|
|
bool ColHidden(SCCOL nCol, SCCOL* pFirstCol = NULL, SCCOL* pLastCol = NULL) const;
|
2011-01-04 18:48:20 -05:00
|
|
|
bool SetRowHidden(SCROW nStartRow, SCROW nEndRow, bool bHidden);
|
|
|
|
bool SetColHidden(SCCOL nStartCol, SCCOL nEndCol, bool bHidden);
|
2010-06-23 13:38:34 +02:00
|
|
|
void CopyColHidden(ScTable& rTable, SCCOL nStartCol, SCCOL nEndCol);
|
|
|
|
void CopyRowHidden(ScTable& rTable, SCROW nStartRow, SCROW nEndRow);
|
|
|
|
void CopyRowHeight(ScTable& rSrcTable, SCROW nStartRow, SCROW nEndRow, SCROW nSrcOffset);
|
2010-07-16 15:58:36 +02:00
|
|
|
SCROW FirstVisibleRow(SCROW nStartRow, SCROW nEndRow) const;
|
|
|
|
SCROW LastVisibleRow(SCROW nStartRow, SCROW nEndRow) const;
|
|
|
|
SCROW CountVisibleRows(SCROW nStartRow, SCROW nEndRow) const;
|
|
|
|
sal_uInt32 GetTotalRowHeight(SCROW nStartRow, SCROW nEndRow) const;
|
2010-06-23 13:38:34 +02:00
|
|
|
|
2010-07-16 15:58:36 +02:00
|
|
|
SCCOLROW LastHiddenColRow(SCCOLROW nPos, bool bCol) const;
|
2010-06-23 13:38:34 +02:00
|
|
|
|
2010-07-16 15:58:36 +02:00
|
|
|
bool RowFiltered(SCROW nRow, SCROW* pFirstRow = NULL, SCROW* pLastRow = NULL) const;
|
|
|
|
bool ColFiltered(SCCOL nCol, SCCOL* pFirstCol = NULL, SCCOL* pLastCol = NULL) const;
|
|
|
|
bool HasFilteredRows(SCROW nStartRow, SCROW nEndRow) const;
|
2010-06-23 13:38:34 +02:00
|
|
|
void CopyColFiltered(ScTable& rTable, SCCOL nStartCol, SCCOL nEndCol);
|
|
|
|
void CopyRowFiltered(ScTable& rTable, SCROW nStartRow, SCROW nEndRow);
|
|
|
|
void SetRowFiltered(SCROW nStartRow, SCROW nEndRow, bool bFiltered);
|
|
|
|
void SetColFiltered(SCCOL nStartCol, SCCOL nEndCol, bool bFiltered);
|
2010-07-16 15:58:36 +02:00
|
|
|
SCROW FirstNonFilteredRow(SCROW nStartRow, SCROW nEndRow) const;
|
|
|
|
SCROW LastNonFilteredRow(SCROW nStartRow, SCROW nEndRow) const;
|
|
|
|
SCROW CountNonFilteredRows(SCROW nStartRow, SCROW nEndRow) const;
|
2010-06-23 13:38:34 +02:00
|
|
|
|
2012-07-26 17:55:18 -04:00
|
|
|
bool IsManualRowHeight(SCROW nRow) const;
|
|
|
|
|
2010-06-23 13:38:34 +02:00
|
|
|
void SyncColRowFlags();
|
|
|
|
|
INTEGRATION: CWS rowlimit (1.20.16); FILE MERGED
2004/04/07 14:44:12 er 1.20.16.13: #i1967# #i5062# replace Sfx(Broadcaster|Listener) with Svt(Broadcaster|Listener) for mass objects like formula cells
2004/03/11 12:05:48 er 1.20.16.12: #i1967# type correctness
2004/03/09 18:48:21 er 1.20.16.11: #i1967# type correctness
2004/03/09 18:37:01 er 1.20.16.10: #i1967# type correctness
2004/03/07 11:37:16 jmarmion 1.20.16.9: #i1967# step 5 changes.
2004/03/05 20:35:52 er 1.20.16.8: #i1967# type correctness
2004/03/05 12:22:13 er 1.20.16.7: #i1967# type correctness
2004/02/20 22:54:29 er 1.20.16.6: #i1967# type correctness
2004/02/11 14:12:04 er 1.20.16.5: RESYNC: (1.21-1.22); FILE MERGED
2004/01/21 14:47:09 er 1.20.16.4: RESYNC: (1.20-1.21); FILE MERGED
2004/01/16 17:39:48 er 1.20.16.3: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/12 17:15:08 er 1.20.16.2: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/09 20:51:05 er 1.20.16.1: #i1967# SCCOL,SCROW,SCTAB replace USHORT
2004-06-04 09:16:34 +00:00
|
|
|
void StripHidden( SCCOL& rX1, SCROW& rY1, SCCOL& rX2, SCROW& rY2 );
|
|
|
|
void ExtendHidden( SCCOL& rX1, SCROW& rY1, SCCOL& rX2, SCROW& rY2 );
|
2009-03-02 14:19:13 +00:00
|
|
|
|
2011-08-25 11:33:20 +02:00
|
|
|
void Sort(const ScSortParam& rSortParam, bool bKeepQuery);
|
2011-11-14 16:54:44 -05:00
|
|
|
bool ValidQuery(
|
|
|
|
SCROW nRow, const ScQueryParam& rQueryParam, ScBaseCell* pCell = NULL,
|
|
|
|
bool* pbTestEqualCondition = NULL);
|
2000-09-18 16:07:07 +00:00
|
|
|
void TopTenQuery( ScQueryParam& );
|
2011-08-25 11:33:20 +02:00
|
|
|
SCSIZE Query(ScQueryParam& rQueryParam, bool bKeepSub);
|
|
|
|
bool CreateQueryParam(SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, ScQueryParam& rQueryParam);
|
2000-09-18 16:07:07 +00:00
|
|
|
|
2012-02-08 21:38:15 -05:00
|
|
|
void GetFilterEntries(SCCOL nCol, SCROW nRow1, SCROW nRow2, std::vector<ScTypedStrData>& rStrings, bool& rHasDates);
|
|
|
|
void GetFilteredFilterEntries(SCCOL nCol, SCROW nRow1, SCROW nRow2, const ScQueryParam& rParam, std::vector<ScTypedStrData>& rStrings, bool& rHasDates );
|
|
|
|
bool GetDataEntries(SCCOL nCol, SCROW nRow, std::set<ScTypedStrData>& rStrings, bool bLimit);
|
2000-09-18 16:07:07 +00:00
|
|
|
|
2011-08-25 11:33:20 +02:00
|
|
|
bool HasColHeader( SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow );
|
|
|
|
bool HasRowHeader( SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow );
|
2000-09-18 16:07:07 +00:00
|
|
|
|
INTEGRATION: CWS rowlimit (1.20.16); FILE MERGED
2004/04/07 14:44:12 er 1.20.16.13: #i1967# #i5062# replace Sfx(Broadcaster|Listener) with Svt(Broadcaster|Listener) for mass objects like formula cells
2004/03/11 12:05:48 er 1.20.16.12: #i1967# type correctness
2004/03/09 18:48:21 er 1.20.16.11: #i1967# type correctness
2004/03/09 18:37:01 er 1.20.16.10: #i1967# type correctness
2004/03/07 11:37:16 jmarmion 1.20.16.9: #i1967# step 5 changes.
2004/03/05 20:35:52 er 1.20.16.8: #i1967# type correctness
2004/03/05 12:22:13 er 1.20.16.7: #i1967# type correctness
2004/02/20 22:54:29 er 1.20.16.6: #i1967# type correctness
2004/02/11 14:12:04 er 1.20.16.5: RESYNC: (1.21-1.22); FILE MERGED
2004/01/21 14:47:09 er 1.20.16.4: RESYNC: (1.20-1.21); FILE MERGED
2004/01/16 17:39:48 er 1.20.16.3: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/12 17:15:08 er 1.20.16.2: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/09 20:51:05 er 1.20.16.1: #i1967# SCCOL,SCROW,SCTAB replace USHORT
2004-06-04 09:16:34 +00:00
|
|
|
void DoColResize( SCCOL nCol1, SCCOL nCol2, SCSIZE nAdd );
|
2000-09-18 16:07:07 +00:00
|
|
|
|
2010-04-22 15:38:53 -04:00
|
|
|
|
2007-01-25 10:03:58 +00:00
|
|
|
sal_Int32 GetMaxStringLen( SCCOL nCol,
|
|
|
|
SCROW nRowStart, SCROW nRowEnd, CharSet eCharSet ) const;
|
2010-04-22 15:38:53 -04:00
|
|
|
xub_StrLen GetMaxNumberStringLen( sal_uInt16& nPrecision,
|
|
|
|
SCCOL nCol,
|
|
|
|
SCROW nRowStart, SCROW nRowEnd ) const;
|
2000-09-18 16:07:07 +00:00
|
|
|
|
2011-01-17 13:20:22 +01:00
|
|
|
void FindConditionalFormat( sal_uLong nKey, ScRangeList& rRanges );
|
2000-09-18 16:07:07 +00:00
|
|
|
|
2011-02-15 16:51:03 -05:00
|
|
|
void IncRecalcLevel();
|
|
|
|
void DecRecalcLevel( bool bUpdateNoteCaptionPos = true );
|
2000-09-18 16:07:07 +00:00
|
|
|
|
2011-08-25 11:33:20 +02:00
|
|
|
bool IsSortCollatorGlobal() const;
|
2001-03-14 14:50:34 +00:00
|
|
|
void InitSortCollator( const ScSortParam& rPar );
|
|
|
|
void DestroySortCollator();
|
2010-10-04 16:28:31 -04:00
|
|
|
void SetDrawPageSize( bool bResetStreamValid = true, bool bUpdateNoteCaptionPos = true );
|
2001-03-14 14:50:34 +00:00
|
|
|
|
2011-03-15 11:12:55 -04:00
|
|
|
void SetRangeName(ScRangeName* pNew);
|
2011-03-09 00:37:45 -05:00
|
|
|
ScRangeName* GetRangeName() const;
|
2011-03-24 23:14:28 -04:00
|
|
|
void UpdateMoveTab(SCTAB nOldPos,SCTAB nNewPos);
|
2011-03-08 18:50:13 -05:00
|
|
|
|
2012-05-23 01:14:47 +02:00
|
|
|
ScConditionalFormatList* GetCondFormList();
|
|
|
|
const ScConditionalFormatList* GetCondFormList() const;
|
2012-06-11 07:33:11 +02:00
|
|
|
void SetCondFormList( ScConditionalFormatList* pList );
|
2012-05-23 01:14:47 +02:00
|
|
|
|
2012-06-10 01:59:23 +02:00
|
|
|
void DeleteConditionalFormat(sal_uLong nOldIndex);
|
|
|
|
|
2012-06-04 10:24:45 +02:00
|
|
|
sal_uLong AddCondFormat( ScConditionalFormat* pNew );
|
2012-05-23 01:14:47 +02:00
|
|
|
|
2000-09-18 16:07:07 +00:00
|
|
|
private:
|
INTEGRATION: CWS rowlimit (1.20.16); FILE MERGED
2004/04/07 14:44:12 er 1.20.16.13: #i1967# #i5062# replace Sfx(Broadcaster|Listener) with Svt(Broadcaster|Listener) for mass objects like formula cells
2004/03/11 12:05:48 er 1.20.16.12: #i1967# type correctness
2004/03/09 18:48:21 er 1.20.16.11: #i1967# type correctness
2004/03/09 18:37:01 er 1.20.16.10: #i1967# type correctness
2004/03/07 11:37:16 jmarmion 1.20.16.9: #i1967# step 5 changes.
2004/03/05 20:35:52 er 1.20.16.8: #i1967# type correctness
2004/03/05 12:22:13 er 1.20.16.7: #i1967# type correctness
2004/02/20 22:54:29 er 1.20.16.6: #i1967# type correctness
2004/02/11 14:12:04 er 1.20.16.5: RESYNC: (1.21-1.22); FILE MERGED
2004/01/21 14:47:09 er 1.20.16.4: RESYNC: (1.20-1.21); FILE MERGED
2004/01/16 17:39:48 er 1.20.16.3: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/12 17:15:08 er 1.20.16.2: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/09 20:51:05 er 1.20.16.1: #i1967# SCCOL,SCROW,SCTAB replace USHORT
2004-06-04 09:16:34 +00:00
|
|
|
void FillSeries( SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2,
|
2011-01-17 13:20:22 +01:00
|
|
|
sal_uLong nFillCount, FillDir eFillDir, FillCmd eFillCmd,
|
2000-09-18 16:07:07 +00:00
|
|
|
FillDateCmd eFillDateCmd,
|
2011-01-17 13:20:22 +01:00
|
|
|
double nStepValue, double nMaxValue, sal_uInt16 nMinDigits,
|
2012-04-11 09:28:54 +02:00
|
|
|
bool bAttribs, ScProgress* pProgress );
|
INTEGRATION: CWS rowlimit (1.20.16); FILE MERGED
2004/04/07 14:44:12 er 1.20.16.13: #i1967# #i5062# replace Sfx(Broadcaster|Listener) with Svt(Broadcaster|Listener) for mass objects like formula cells
2004/03/11 12:05:48 er 1.20.16.12: #i1967# type correctness
2004/03/09 18:48:21 er 1.20.16.11: #i1967# type correctness
2004/03/09 18:37:01 er 1.20.16.10: #i1967# type correctness
2004/03/07 11:37:16 jmarmion 1.20.16.9: #i1967# step 5 changes.
2004/03/05 20:35:52 er 1.20.16.8: #i1967# type correctness
2004/03/05 12:22:13 er 1.20.16.7: #i1967# type correctness
2004/02/20 22:54:29 er 1.20.16.6: #i1967# type correctness
2004/02/11 14:12:04 er 1.20.16.5: RESYNC: (1.21-1.22); FILE MERGED
2004/01/21 14:47:09 er 1.20.16.4: RESYNC: (1.20-1.21); FILE MERGED
2004/01/16 17:39:48 er 1.20.16.3: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/12 17:15:08 er 1.20.16.2: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/09 20:51:05 er 1.20.16.1: #i1967# SCCOL,SCROW,SCTAB replace USHORT
2004-06-04 09:16:34 +00:00
|
|
|
void FillAnalyse( SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2,
|
2000-09-18 16:07:07 +00:00
|
|
|
FillCmd& rCmd, FillDateCmd& rDateCmd,
|
2011-01-17 13:20:22 +01:00
|
|
|
double& rInc, sal_uInt16& rMinDigits,
|
|
|
|
ScUserListData*& rListData, sal_uInt16& rListIndex);
|
INTEGRATION: CWS rowlimit (1.20.16); FILE MERGED
2004/04/07 14:44:12 er 1.20.16.13: #i1967# #i5062# replace Sfx(Broadcaster|Listener) with Svt(Broadcaster|Listener) for mass objects like formula cells
2004/03/11 12:05:48 er 1.20.16.12: #i1967# type correctness
2004/03/09 18:48:21 er 1.20.16.11: #i1967# type correctness
2004/03/09 18:37:01 er 1.20.16.10: #i1967# type correctness
2004/03/07 11:37:16 jmarmion 1.20.16.9: #i1967# step 5 changes.
2004/03/05 20:35:52 er 1.20.16.8: #i1967# type correctness
2004/03/05 12:22:13 er 1.20.16.7: #i1967# type correctness
2004/02/20 22:54:29 er 1.20.16.6: #i1967# type correctness
2004/02/11 14:12:04 er 1.20.16.5: RESYNC: (1.21-1.22); FILE MERGED
2004/01/21 14:47:09 er 1.20.16.4: RESYNC: (1.20-1.21); FILE MERGED
2004/01/16 17:39:48 er 1.20.16.3: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/12 17:15:08 er 1.20.16.2: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/09 20:51:05 er 1.20.16.1: #i1967# SCCOL,SCROW,SCTAB replace USHORT
2004-06-04 09:16:34 +00:00
|
|
|
void FillAuto( SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2,
|
2012-04-11 09:28:54 +02:00
|
|
|
sal_uLong nFillCount, FillDir eFillDir, ScProgress* pProgress );
|
2000-09-18 16:07:07 +00:00
|
|
|
|
2011-08-25 11:33:20 +02:00
|
|
|
bool ValidNextPos( SCCOL nCol, SCROW nRow, const ScMarkData& rMark,
|
2012-08-09 23:48:48 +02:00
|
|
|
bool bMarked, bool bUnprotected ) const;
|
2000-09-18 16:07:07 +00:00
|
|
|
|
INTEGRATION: CWS rowlimit (1.20.16); FILE MERGED
2004/04/07 14:44:12 er 1.20.16.13: #i1967# #i5062# replace Sfx(Broadcaster|Listener) with Svt(Broadcaster|Listener) for mass objects like formula cells
2004/03/11 12:05:48 er 1.20.16.12: #i1967# type correctness
2004/03/09 18:48:21 er 1.20.16.11: #i1967# type correctness
2004/03/09 18:37:01 er 1.20.16.10: #i1967# type correctness
2004/03/07 11:37:16 jmarmion 1.20.16.9: #i1967# step 5 changes.
2004/03/05 20:35:52 er 1.20.16.8: #i1967# type correctness
2004/03/05 12:22:13 er 1.20.16.7: #i1967# type correctness
2004/02/20 22:54:29 er 1.20.16.6: #i1967# type correctness
2004/02/11 14:12:04 er 1.20.16.5: RESYNC: (1.21-1.22); FILE MERGED
2004/01/21 14:47:09 er 1.20.16.4: RESYNC: (1.20-1.21); FILE MERGED
2004/01/16 17:39:48 er 1.20.16.3: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/12 17:15:08 er 1.20.16.2: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/09 20:51:05 er 1.20.16.1: #i1967# SCCOL,SCROW,SCTAB replace USHORT
2004-06-04 09:16:34 +00:00
|
|
|
void AutoFormatArea(SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow,
|
2011-01-17 13:20:22 +01:00
|
|
|
const ScPatternAttr& rAttr, sal_uInt16 nFormatNo);
|
|
|
|
void GetAutoFormatAttr(SCCOL nCol, SCROW nRow, sal_uInt16 nIndex, ScAutoFormatData& rData);
|
|
|
|
void GetAutoFormatFrame(SCCOL nCol, SCROW nRow, sal_uInt16 nFlags, sal_uInt16 nIndex, ScAutoFormatData& rData);
|
2011-08-25 11:33:20 +02:00
|
|
|
bool SearchCell(const SvxSearchItem& rSearchItem, SCCOL nCol, SCROW nRow,
|
2011-09-19 19:09:19 -04:00
|
|
|
const ScMarkData& rMark, rtl::OUString& rUndoStr, ScDocument* pUndoDoc);
|
2011-08-25 11:33:20 +02:00
|
|
|
bool Search(const SvxSearchItem& rSearchItem, SCCOL& rCol, SCROW& rRow,
|
2011-09-19 19:09:19 -04:00
|
|
|
const ScMarkData& rMark, rtl::OUString& rUndoStr, ScDocument* pUndoDoc);
|
|
|
|
bool SearchAll(const SvxSearchItem& rSearchItem, const ScMarkData& rMark,
|
|
|
|
ScRangeList& rMatchedRanges, rtl::OUString& rUndoStr, ScDocument* pUndoDoc);
|
2011-08-25 11:33:20 +02:00
|
|
|
bool Replace(const SvxSearchItem& rSearchItem, SCCOL& rCol, SCROW& rRow,
|
2011-09-19 19:09:19 -04:00
|
|
|
const ScMarkData& rMark, rtl::OUString& rUndoStr, ScDocument* pUndoDoc);
|
|
|
|
bool ReplaceAll(
|
|
|
|
const SvxSearchItem& rSearchItem, const ScMarkData& rMark, ScRangeList& rMatchedRanges,
|
|
|
|
rtl::OUString& rUndoStr, ScDocument* pUndoDoc);
|
2000-09-18 16:07:07 +00:00
|
|
|
|
2011-08-25 11:33:20 +02:00
|
|
|
bool SearchStyle(const SvxSearchItem& rSearchItem, SCCOL& rCol, SCROW& rRow,
|
2011-09-19 17:28:52 -04:00
|
|
|
const ScMarkData& rMark);
|
2011-08-25 11:33:20 +02:00
|
|
|
bool ReplaceStyle(const SvxSearchItem& rSearchItem, SCCOL& rCol, SCROW& rRow,
|
2011-09-19 17:28:52 -04:00
|
|
|
const ScMarkData& rMark, bool bIsUndo);
|
2011-09-19 19:09:19 -04:00
|
|
|
bool SearchAllStyle(
|
|
|
|
const SvxSearchItem& rSearchItem, const ScMarkData& rMark, ScRangeList& rMatchedRanges);
|
|
|
|
bool ReplaceAllStyle(
|
|
|
|
const SvxSearchItem& rSearchItem, const ScMarkData& rMark, ScRangeList& rMatchedRanges,
|
|
|
|
ScDocument* pUndoDoc);
|
2010-09-16 10:08:52 +02:00
|
|
|
bool SearchAndReplaceEmptyCells(
|
|
|
|
const SvxSearchItem& rSearchItem,
|
2011-09-19 19:09:19 -04:00
|
|
|
SCCOL& rCol, SCROW& rRow, const ScMarkData& rMark, ScRangeList& rMatchedRanges,
|
|
|
|
rtl::OUString& rUndoStr, ScDocument* pUndoDoc);
|
2010-09-16 10:08:52 +02:00
|
|
|
bool SearchRangeForEmptyCell(const ScRange& rRange,
|
|
|
|
const SvxSearchItem& rSearchItem, SCCOL& rCol, SCROW& rRow,
|
2011-09-19 19:09:19 -04:00
|
|
|
rtl::OUString& rUndoStr);
|
|
|
|
bool SearchRangeForAllEmptyCells(
|
|
|
|
const ScRange& rRange, const SvxSearchItem& rSearchItem,
|
|
|
|
ScRangeList& rMatchedRanges, rtl::OUString& rUndoStr, ScDocument* pUndoDoc);
|
2000-09-18 16:07:07 +00:00
|
|
|
|
2011-03-13 19:39:41 +01:00
|
|
|
// use the global sort parameter:
|
2012-08-10 03:01:33 +02:00
|
|
|
bool IsSorted(SCCOLROW nStart, SCCOLROW nEnd) const;
|
INTEGRATION: CWS rowlimit (1.20.16); FILE MERGED
2004/04/07 14:44:12 er 1.20.16.13: #i1967# #i5062# replace Sfx(Broadcaster|Listener) with Svt(Broadcaster|Listener) for mass objects like formula cells
2004/03/11 12:05:48 er 1.20.16.12: #i1967# type correctness
2004/03/09 18:48:21 er 1.20.16.11: #i1967# type correctness
2004/03/09 18:37:01 er 1.20.16.10: #i1967# type correctness
2004/03/07 11:37:16 jmarmion 1.20.16.9: #i1967# step 5 changes.
2004/03/05 20:35:52 er 1.20.16.8: #i1967# type correctness
2004/03/05 12:22:13 er 1.20.16.7: #i1967# type correctness
2004/02/20 22:54:29 er 1.20.16.6: #i1967# type correctness
2004/02/11 14:12:04 er 1.20.16.5: RESYNC: (1.21-1.22); FILE MERGED
2004/01/21 14:47:09 er 1.20.16.4: RESYNC: (1.20-1.21); FILE MERGED
2004/01/16 17:39:48 er 1.20.16.3: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/12 17:15:08 er 1.20.16.2: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/09 20:51:05 er 1.20.16.1: #i1967# SCCOL,SCROW,SCTAB replace USHORT
2004-06-04 09:16:34 +00:00
|
|
|
void DecoladeRow( ScSortInfoArray*, SCROW nRow1, SCROW nRow2 );
|
|
|
|
void SwapCol(SCCOL nCol1, SCCOL nCol2);
|
|
|
|
void SwapRow(SCROW nRow1, SCROW nRow2);
|
2011-01-17 13:20:22 +01:00
|
|
|
short CompareCell( sal_uInt16 nSort,
|
INTEGRATION: CWS rowlimit (1.20.16); FILE MERGED
2004/04/07 14:44:12 er 1.20.16.13: #i1967# #i5062# replace Sfx(Broadcaster|Listener) with Svt(Broadcaster|Listener) for mass objects like formula cells
2004/03/11 12:05:48 er 1.20.16.12: #i1967# type correctness
2004/03/09 18:48:21 er 1.20.16.11: #i1967# type correctness
2004/03/09 18:37:01 er 1.20.16.10: #i1967# type correctness
2004/03/07 11:37:16 jmarmion 1.20.16.9: #i1967# step 5 changes.
2004/03/05 20:35:52 er 1.20.16.8: #i1967# type correctness
2004/03/05 12:22:13 er 1.20.16.7: #i1967# type correctness
2004/02/20 22:54:29 er 1.20.16.6: #i1967# type correctness
2004/02/11 14:12:04 er 1.20.16.5: RESYNC: (1.21-1.22); FILE MERGED
2004/01/21 14:47:09 er 1.20.16.4: RESYNC: (1.20-1.21); FILE MERGED
2004/01/16 17:39:48 er 1.20.16.3: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/12 17:15:08 er 1.20.16.2: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/09 20:51:05 er 1.20.16.1: #i1967# SCCOL,SCROW,SCTAB replace USHORT
2004-06-04 09:16:34 +00:00
|
|
|
ScBaseCell* pCell1, SCCOL nCell1Col, SCROW nCell1Row,
|
2012-08-10 03:01:33 +02:00
|
|
|
ScBaseCell* pCell2, SCCOL nCell2Col, SCROW nCell2Row ) const;
|
|
|
|
short Compare(SCCOLROW nIndex1, SCCOLROW nIndex2) const;
|
|
|
|
short Compare( ScSortInfoArray*, SCCOLROW nIndex1, SCCOLROW nIndex2) const;
|
INTEGRATION: CWS rowlimit (1.20.16); FILE MERGED
2004/04/07 14:44:12 er 1.20.16.13: #i1967# #i5062# replace Sfx(Broadcaster|Listener) with Svt(Broadcaster|Listener) for mass objects like formula cells
2004/03/11 12:05:48 er 1.20.16.12: #i1967# type correctness
2004/03/09 18:48:21 er 1.20.16.11: #i1967# type correctness
2004/03/09 18:37:01 er 1.20.16.10: #i1967# type correctness
2004/03/07 11:37:16 jmarmion 1.20.16.9: #i1967# step 5 changes.
2004/03/05 20:35:52 er 1.20.16.8: #i1967# type correctness
2004/03/05 12:22:13 er 1.20.16.7: #i1967# type correctness
2004/02/20 22:54:29 er 1.20.16.6: #i1967# type correctness
2004/02/11 14:12:04 er 1.20.16.5: RESYNC: (1.21-1.22); FILE MERGED
2004/01/21 14:47:09 er 1.20.16.4: RESYNC: (1.20-1.21); FILE MERGED
2004/01/16 17:39:48 er 1.20.16.3: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/12 17:15:08 er 1.20.16.2: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/09 20:51:05 er 1.20.16.1: #i1967# SCCOL,SCROW,SCTAB replace USHORT
2004-06-04 09:16:34 +00:00
|
|
|
ScSortInfoArray* CreateSortInfoArray( SCCOLROW nInd1, SCCOLROW nInd2 );
|
|
|
|
void QuickSort( ScSortInfoArray*, SCsCOLROW nLo, SCsCOLROW nHi);
|
2000-09-18 16:07:07 +00:00
|
|
|
void SortReorder( ScSortInfoArray*, ScProgress& );
|
|
|
|
|
2011-08-25 11:33:20 +02:00
|
|
|
bool CreateExcelQuery(SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, ScQueryParam& rQueryParam);
|
|
|
|
bool CreateStarQuery(SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, ScQueryParam& rQueryParam);
|
2011-11-06 18:11:43 +01:00
|
|
|
void GetUpperCellString(SCCOL nCol, SCROW nRow, rtl::OUString& rStr);
|
2000-09-18 16:07:07 +00:00
|
|
|
|
2011-08-25 11:33:20 +02:00
|
|
|
bool RefVisible(ScFormulaCell* pCell);
|
2000-09-18 16:07:07 +00:00
|
|
|
|
2011-08-25 11:33:20 +02:00
|
|
|
bool IsEmptyLine(SCROW nRow, SCCOL nStartCol, SCCOL nEndCol);
|
2000-09-18 16:07:07 +00:00
|
|
|
|
2011-01-17 13:20:22 +01:00
|
|
|
void IncDate(double& rVal, sal_uInt16& nDayOfMonth, double nStep, FillDateCmd eCmd);
|
2011-08-25 11:33:20 +02:00
|
|
|
void FillFormula(sal_uLong& nFormulaCounter, bool bFirst, ScFormulaCell* pSrcCell,
|
|
|
|
SCCOL nDestCol, SCROW nDestRow, bool bLast );
|
INTEGRATION: CWS rowlimit (1.20.16); FILE MERGED
2004/04/07 14:44:12 er 1.20.16.13: #i1967# #i5062# replace Sfx(Broadcaster|Listener) with Svt(Broadcaster|Listener) for mass objects like formula cells
2004/03/11 12:05:48 er 1.20.16.12: #i1967# type correctness
2004/03/09 18:48:21 er 1.20.16.11: #i1967# type correctness
2004/03/09 18:37:01 er 1.20.16.10: #i1967# type correctness
2004/03/07 11:37:16 jmarmion 1.20.16.9: #i1967# step 5 changes.
2004/03/05 20:35:52 er 1.20.16.8: #i1967# type correctness
2004/03/05 12:22:13 er 1.20.16.7: #i1967# type correctness
2004/02/20 22:54:29 er 1.20.16.6: #i1967# type correctness
2004/02/11 14:12:04 er 1.20.16.5: RESYNC: (1.21-1.22); FILE MERGED
2004/01/21 14:47:09 er 1.20.16.4: RESYNC: (1.20-1.21); FILE MERGED
2004/01/16 17:39:48 er 1.20.16.3: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/12 17:15:08 er 1.20.16.2: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/09 20:51:05 er 1.20.16.1: #i1967# SCCOL,SCROW,SCTAB replace USHORT
2004-06-04 09:16:34 +00:00
|
|
|
void UpdateInsertTabAbs(SCTAB nNewPos);
|
2011-08-25 11:33:20 +02:00
|
|
|
bool GetNextSpellingCell(SCCOL& rCol, SCROW& rRow, bool bInSel,
|
2000-09-18 16:07:07 +00:00
|
|
|
const ScMarkData& rMark) const;
|
2011-08-25 11:33:20 +02:00
|
|
|
bool GetNextMarkedCell( SCCOL& rCol, SCROW& rRow, const ScMarkData& rMark );
|
|
|
|
bool TestTabRefAbs(SCTAB nTable);
|
2000-09-18 16:07:07 +00:00
|
|
|
void CompileDBFormula();
|
2011-08-25 11:33:20 +02:00
|
|
|
void CompileDBFormula( bool bCreateFormulaString );
|
|
|
|
void CompileNameFormula( bool bCreateFormulaString );
|
2000-09-18 16:07:07 +00:00
|
|
|
void CompileColRowNameFormula();
|
|
|
|
|
INTEGRATION: CWS rowlimit (1.20.16); FILE MERGED
2004/04/07 14:44:12 er 1.20.16.13: #i1967# #i5062# replace Sfx(Broadcaster|Listener) with Svt(Broadcaster|Listener) for mass objects like formula cells
2004/03/11 12:05:48 er 1.20.16.12: #i1967# type correctness
2004/03/09 18:48:21 er 1.20.16.11: #i1967# type correctness
2004/03/09 18:37:01 er 1.20.16.10: #i1967# type correctness
2004/03/07 11:37:16 jmarmion 1.20.16.9: #i1967# step 5 changes.
2004/03/05 20:35:52 er 1.20.16.8: #i1967# type correctness
2004/03/05 12:22:13 er 1.20.16.7: #i1967# type correctness
2004/02/20 22:54:29 er 1.20.16.6: #i1967# type correctness
2004/02/11 14:12:04 er 1.20.16.5: RESYNC: (1.21-1.22); FILE MERGED
2004/01/21 14:47:09 er 1.20.16.4: RESYNC: (1.20-1.21); FILE MERGED
2004/01/16 17:39:48 er 1.20.16.3: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/12 17:15:08 er 1.20.16.2: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/09 20:51:05 er 1.20.16.1: #i1967# SCCOL,SCROW,SCTAB replace USHORT
2004-06-04 09:16:34 +00:00
|
|
|
void StartListening( const ScAddress& rAddress, SvtListener* pListener );
|
|
|
|
void EndListening( const ScAddress& rAddress, SvtListener* pListener );
|
2000-09-18 16:07:07 +00:00
|
|
|
void StartAllListeners();
|
2004-09-07 09:38:50 +00:00
|
|
|
void StartNeededListeners(); // only for cells where NeedsListening()==TRUE
|
2000-09-18 16:07:07 +00:00
|
|
|
void SetRelNameDirty();
|
|
|
|
|
2010-06-23 13:38:34 +02:00
|
|
|
void SetLoadingMedium(bool bLoading);
|
|
|
|
|
INTEGRATION: CWS rowlimit (1.20.16); FILE MERGED
2004/04/07 14:44:12 er 1.20.16.13: #i1967# #i5062# replace Sfx(Broadcaster|Listener) with Svt(Broadcaster|Listener) for mass objects like formula cells
2004/03/11 12:05:48 er 1.20.16.12: #i1967# type correctness
2004/03/09 18:48:21 er 1.20.16.11: #i1967# type correctness
2004/03/09 18:37:01 er 1.20.16.10: #i1967# type correctness
2004/03/07 11:37:16 jmarmion 1.20.16.9: #i1967# step 5 changes.
2004/03/05 20:35:52 er 1.20.16.8: #i1967# type correctness
2004/03/05 12:22:13 er 1.20.16.7: #i1967# type correctness
2004/02/20 22:54:29 er 1.20.16.6: #i1967# type correctness
2004/02/11 14:12:04 er 1.20.16.5: RESYNC: (1.21-1.22); FILE MERGED
2004/01/21 14:47:09 er 1.20.16.4: RESYNC: (1.20-1.21); FILE MERGED
2004/01/16 17:39:48 er 1.20.16.3: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/12 17:15:08 er 1.20.16.2: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/09 20:51:05 er 1.20.16.1: #i1967# SCCOL,SCROW,SCTAB replace USHORT
2004-06-04 09:16:34 +00:00
|
|
|
SCSIZE FillMaxRot( RowInfo* pRowInfo, SCSIZE nArrCount, SCCOL nX1, SCCOL nX2,
|
|
|
|
SCCOL nCol, SCROW nAttrRow1, SCROW nAttrRow2, SCSIZE nArrY,
|
2010-06-23 13:38:34 +02:00
|
|
|
const ScPatternAttr* pPattern, const SfxItemSet* pCondSet );
|
2000-09-18 16:07:07 +00:00
|
|
|
|
2006-03-27 08:26:33 +00:00
|
|
|
// idle calculation of OutputDevice text width for cell
|
|
|
|
// also invalidates script type, broadcasts for "calc as shown"
|
|
|
|
void InvalidateTextWidth( const ScAddress* pAdrFrom, const ScAddress* pAdrTo,
|
2011-08-25 11:33:20 +02:00
|
|
|
bool bNumFormatChanged, bool bBroadcast );
|
2010-06-23 13:38:34 +02:00
|
|
|
|
2010-09-28 12:00:52 -04:00
|
|
|
void SkipFilteredRows(SCROW& rRow, SCROW& rLastNonFilteredRow, bool bForward);
|
|
|
|
|
2010-06-23 13:38:34 +02:00
|
|
|
/**
|
|
|
|
* In case the cell text goes beyond the column width, move the max column
|
|
|
|
* position to the right. This is called from ExtendPrintArea.
|
|
|
|
*/
|
|
|
|
void MaybeAddExtraColumn(SCCOL& rCol, SCROW nRow, OutputDevice* pDev, double nPPTX, double nPPTY);
|
|
|
|
|
2011-04-19 15:28:02 -04:00
|
|
|
void CopyPrintRange(const ScTable& rTable);
|
|
|
|
|
2012-08-09 21:26:42 +02:00
|
|
|
SCCOL FindNextVisibleColWithContent(SCCOL nCol, bool bRight, SCROW nRow) const;
|
2012-08-09 15:44:23 +02:00
|
|
|
|
2012-08-09 21:26:42 +02:00
|
|
|
SCCOL FindNextVisibleCol(SCCOL nCol, bool bRight) const;
|
2012-08-09 15:44:23 +02:00
|
|
|
|
2010-06-23 13:38:34 +02:00
|
|
|
/**
|
|
|
|
* Use this to iterate through non-empty visible cells in a single column.
|
|
|
|
*/
|
|
|
|
class VisibleDataCellIterator
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
static SCROW ROW_NOT_FOUND;
|
|
|
|
|
|
|
|
explicit VisibleDataCellIterator(ScFlatBoolRowSegments& rRowSegs, ScColumn& rColumn);
|
|
|
|
~VisibleDataCellIterator();
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Set the start row position. In case there is not visible data cell
|
|
|
|
* at the specified row position, it will move to the position of the
|
|
|
|
* first visible data cell below that point.
|
|
|
|
*
|
|
|
|
* @return First visible data cell if found, or NULL otherwise.
|
|
|
|
*/
|
|
|
|
ScBaseCell* reset(SCROW nRow);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Find the next visible data cell position.
|
|
|
|
*
|
|
|
|
* @return Next visible data cell if found, or NULL otherwise.
|
|
|
|
*/
|
|
|
|
ScBaseCell* next();
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Get the current row position.
|
|
|
|
*
|
|
|
|
* @return Current row position, or ROW_NOT_FOUND if the iterator
|
|
|
|
* doesn't point to a valid data cell position.
|
|
|
|
*/
|
|
|
|
SCROW getRow() const;
|
|
|
|
|
|
|
|
private:
|
|
|
|
ScFlatBoolRowSegments& mrRowSegs;
|
|
|
|
ScColumn& mrColumn;
|
|
|
|
ScBaseCell* mpCell;
|
|
|
|
SCROW mnCurRow;
|
|
|
|
SCROW mnUBound;
|
|
|
|
};
|
2000-09-18 16:07:07 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2010-10-27 12:43:08 +01:00
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|