LibreOffice Module sc (master) 1
Classes | Public Member Functions | Static Public Member Functions | Private Types | Private Member Functions | Static Private Member Functions | Private Attributes | Friends | List of all members
ScTable Class Reference

#include <table.hxx>

Collaboration diagram for ScTable:
[legend]

Classes

class  VisibleDataCellIterator
 Use this to iterate through non-empty visible cells in a single column. More...
 

Public Member Functions

 ScTable (ScDocument &rDoc, SCTAB nNewTab, const OUString &rNewName, bool bColInfo=true, bool bRowInfo=true)
 
 ~ScTable () COVERITY_NOEXCEPT_FALSE
 
 ScTable (const ScTable &)=delete
 
ScTableoperator= (const ScTable &)=delete
 
ScDocumentGetDoc ()
 
const ScDocumentGetDoc () const
 
SCTAB GetTab () const
 
ScOutlineTableGetOutlineTable ()
 
ScColumnCreateColumnIfNotExists (const SCCOL nScCol)
 
void CreateColumnIfNotExistsImpl (const SCCOL nScCol)
 
ScColumnDataGetColumnData (SCCOL nCol)
 
sal_uInt64 GetCellCount () const
 
sal_uInt64 GetWeightedCount () const
 
sal_uInt64 GetWeightedCount (SCROW nStartRow, SCROW nEndRow) const
 
sal_uInt64 GetCodeCount () const
 
sal_uInt16 GetTextWidth (SCCOL nCol, SCROW nRow) const
 
bool SetOutlineTable (const ScOutlineTable *pNewOutline)
 
void StartOutlineTable ()
 
void DoAutoOutline (SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow)
 
bool TestRemoveSubTotals (const ScSubTotalParam &rParam)
 
void RemoveSubTotals (ScSubTotalParam &rParam)
 
bool DoSubTotals (ScSubTotalParam &rParam)
 
const ScSheetEventsGetSheetEvents () const
 
void SetSheetEvents (std::unique_ptr< ScSheetEvents > pNew)
 
bool IsVisible () const
 
void SetVisible (bool bVis)
 
bool IsStreamValid () const
 
void SetStreamValid (bool bSet, bool bIgnoreLock=false)
 
bool IsColValid (const SCCOL nScCol) const
 
bool IsColRowValid (const SCCOL nScCol, const SCROW nScRow) const
 
bool IsColRowTabValid (const SCCOL nScCol, const SCROW nScRow, const SCTAB nScTab) const
 
bool ValidCol (SCCOL nCol) const
 
bool ValidRow (SCROW nRow) const
 
bool ValidColRow (SCCOL nCol, SCROW nRow) const
 
bool IsPendingRowHeights () const
 
void SetPendingRowHeights (bool bSet)
 
bool GetCalcNotification () const
 
void SetCalcNotification (bool bSet)
 
bool IsLayoutRTL () const
 
bool IsLoadingRTL () const
 
void SetLayoutRTL (bool bSet)
 
void SetLoadingRTL (bool bSet)
 
bool IsScenario () const
 
void SetScenario (bool bFlag)
 
void GetScenarioComment (OUString &rComment) const
 
void SetScenarioComment (const OUString &rComment)
 
const ColorGetScenarioColor () const
 
void SetScenarioColor (const Color &rNew)
 
const ColorGetTabBgColor () const
 
void SetTabBgColor (const Color &rColor)
 
ScScenarioFlags GetScenarioFlags () const
 
void SetScenarioFlags (ScScenarioFlags nNew)
 
void SetActiveScenario (bool bSet)
 
bool IsActiveScenario () const
 
ScLinkMode GetLinkMode () const
 
bool IsLinked () const
 
const OUString & GetLinkDoc () const
 
const OUString & GetLinkFlt () const
 
const OUString & GetLinkOpt () const
 
const OUString & GetLinkTab () const
 
sal_uLong GetLinkRefreshDelay () const
 
void SetLink (ScLinkMode nMode, const OUString &rDoc, const OUString &rFlt, const OUString &rOpt, const OUString &rTab, sal_uLong nRefreshDelay)
 
sal_Int64 GetHashCode () const
 
const OUString & GetName () const
 
void SetName (const OUString &rNewName)
 
void SetAnonymousDBData (std::unique_ptr< ScDBData > pDBData)
 
ScDBDataGetAnonymousDBData ()
 
const OUString & GetCodeName () const
 
void SetCodeName (const OUString &rNewName)
 
const OUString & GetUpperName () const
 
const OUString & GetPageStyle () const
 
void SetPageStyle (const OUString &rName)
 
void PageStyleModified (const OUString &rNewName)
 
bool IsProtected () const
 
void SetProtection (const ScTableProtection *pProtect)
 
const ScTableProtectionGetProtection () const
 
void GetUnprotectedCells (ScRangeList &rRangeList) const
 
bool IsEditActionAllowed (sc::ColRowEditAction eAction, SCCOLROW nStart, SCCOLROW nEnd) const
 
Size GetPageSize () const
 
void SetPageSize (const Size &rSize)
 
void SetRepeatArea (SCCOL nStartCol, SCCOL nEndCol, SCROW nStartRow, SCROW nEndRow)
 
void LockTable ()
 
void UnlockTable ()
 
bool IsBlockEditable (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, bool *pOnlyNotBecauseOfMatrix=nullptr, bool bNoMatrixAtAll=false) const
 
bool IsSelectionEditable (const ScMarkData &rMark, bool *pOnlyNotBecauseOfMatrix=nullptr) const
 
bool HasBlockMatrixFragment (const SCCOL nCol1, SCROW nRow1, const SCCOL nCol2, SCROW nRow2, bool bNoMatrixAtAll=false) const
 
bool HasSelectionMatrixFragment (const ScMarkData &rMark) const
 
bool IsBlockEmpty (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2) const
 
bool SetString (SCCOL nCol, SCROW nRow, SCTAB nTab, const OUString &rString, const ScSetStringParam *pParam=nullptr)
 
bool SetEditText (SCCOL nCol, SCROW nRow, std::unique_ptr< EditTextObject > pEditText)
 
void SetEditText (SCCOL nCol, SCROW nRow, const EditTextObject &rEditText, const SfxItemPool *pEditPool)
 
SCROW GetFirstEditTextRow (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2) const
 
void SetEmptyCell (SCCOL nCol, SCROW nRow)
 
void SetFormula (SCCOL nCol, SCROW nRow, const ScTokenArray &rArray, formula::FormulaGrammar::Grammar eGram)
 
void SetFormula (SCCOL nCol, SCROW nRow, const OUString &rFormula, formula::FormulaGrammar::Grammar eGram)
 
ScFormulaCellSetFormulaCell (SCCOL nCol, SCROW nRow, ScFormulaCell *pCell)
 Takes ownership of pCell. More...
 
bool SetFormulaCells (SCCOL nCol, SCROW nRow, std::vector< ScFormulaCell * > &rCells)
 
bool HasFormulaCell (const SCCOL nCol1, SCROW nRow1, const SCCOL nCol2, SCROW nRow2) const
 
svl::SharedString GetSharedString (SCCOL nCol, SCROW nRow) const
 
void SetValue (SCCOL nCol, SCROW nRow, const double &rVal)
 
void SetValues (const SCCOL nCol, const SCROW nRow, const std::vector< double > &rVals)
 
void SetError (SCCOL nCol, SCROW nRow, FormulaError nError)
 
SCSIZE GetPatternCount (SCCOL nCol) const
 
SCSIZE GetPatternCount (SCCOL nCol, SCROW nRow1, SCROW nRow2) const
 
bool ReservePatternCount (SCCOL nCol, SCSIZE nReserve)
 
void SetRawString (SCCOL nCol, SCROW nRow, const svl::SharedString &rStr)
 
OUString GetString (SCCOL nCol, SCROW nRow, const ScInterpreterContext *pContext=nullptr) const
 
double * GetValueCell (SCCOL nCol, SCROW nRow)
 
OUString GetInputString (SCCOL nCol, SCROW nRow, bool bForceSystemLocale=false) const
 
double GetValue (SCCOL nCol, SCROW nRow) const
 
const EditTextObjectGetEditText (SCCOL nCol, SCROW nRow) const
 
void RemoveEditTextCharAttribs (SCCOL nCol, SCROW nRow, const ScPatternAttr &rAttr)
 
OUString GetFormula (SCCOL nCol, SCROW nRow) const
 
const ScFormulaCellGetFormulaCell (SCCOL nCol, SCROW nRow) const
 
ScFormulaCellGetFormulaCell (SCCOL nCol, SCROW nRow)
 
CellType GetCellType (const ScAddress &rPos) const
 
CellType GetCellType (SCCOL nCol, SCROW nRow) const
 
ScRefCellValue GetCellValue (SCCOL nCol, sc::ColumnBlockPosition &rBlockPos, SCROW nRow)
 
ScRefCellValue GetCellValue (SCCOL nCol, SCROW nRow) const
 
void GetFirstDataPos (SCCOL &rCol, SCROW &rRow) const
 
void GetLastDataPos (SCCOL &rCol, SCROW &rRow) const
 
std::shared_ptr< sc::SparklineGetSparkline (SCCOL nCol, SCROW nRow)
 
sc::SparklineCreateSparkline (SCCOL nCol, SCROW nRow, std::shared_ptr< sc::SparklineGroup > const &pSparklineGroup)
 
bool DeleteSparkline (SCCOL nCol, SCROW nRow)
 
sc::SparklineListGetSparklineList ()
 
void CopySparklinesToTable (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, ScTable *pDestTab)
 
void FillSparkline (bool bVertical, SCCOLROW nFixed, SCCOLROW nIteratingStart, SCCOLROW nIteratingEnd, SCCOLROW nFillStart, SCCOLROW nFillEnd)
 
std::unique_ptr< ScPostItReleaseNote (SCCOL nCol, SCROW nRow)
 
ScPostItGetNote (SCCOL nCol, SCROW nRow)
 
void SetNote (SCCOL nCol, SCROW nRow, std::unique_ptr< ScPostIt > pNote)
 
size_t GetNoteCount (SCCOL nCol) const
 
SCROW GetNotePosition (SCCOL nCol, size_t nIndex) const
 
void CreateAllNoteCaptions ()
 
void ForgetNoteCaptions (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, bool bPreserveData)
 
void GetAllNoteEntries (std::vector< sc::NoteEntry > &rNotes) const
 
void GetNotesInRange (const ScRange &rRange, std::vector< sc::NoteEntry > &rNotes) const
 
CommentCaptionState GetAllNoteCaptionsState (const ScRange &rRange, std::vector< sc::NoteEntry > &rNotes)
 
bool ContainsNotesInRange (const ScRange &rRange) const
 
bool TestInsertRow (SCCOL nStartCol, SCCOL nEndCol, SCROW nStartRow, SCSIZE nSize) const
 
void InsertRow (SCCOL nStartCol, SCCOL nEndCol, SCROW nStartRow, SCSIZE nSize)
 
void DeleteRow (const sc::ColumnSet &rRegroupCols, SCCOL nStartCol, SCCOL nEndCol, SCROW nStartRow, SCSIZE nSize, bool *pUndoOutline, std::vector< ScAddress > *pGroupPos)
 
bool TestInsertCol (SCROW nStartRow, SCROW nEndRow, SCSIZE nSize) const
 
void InsertCol (const sc::ColumnSet &rRegroupCols, SCCOL nStartCol, SCROW nStartRow, SCROW nEndRow, SCSIZE nSize)
 
void DeleteCol (const sc::ColumnSet &rRegroupCols, SCCOL nStartCol, SCROW nStartRow, SCROW nEndRow, SCSIZE nSize, bool *pUndoOutline)
 
void DeleteArea (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, InsertDeleteFlags nDelFlag, bool bBroadcast=true, sc::ColumnSpanSet *pBroadcastSpans=nullptr)
 
void CopyToClip (sc::CopyToClipContext &rCxt, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, ScTable *pTable)
 
void CopyToClip (sc::CopyToClipContext &rCxt, const ScRangeList &rRanges, ScTable *pTable)
 
void CopyStaticToDocument (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, const SvNumberFormatterMergeMap &rMap, ScTable *pDestTab)
 
void CopyCellToDocument (SCCOL nSrcCol, SCROW nSrcRow, SCCOL nDestCol, SCROW nDestRow, ScTable &rDestTab)
 
bool InitColumnBlockPosition (sc::ColumnBlockPosition &rBlockPos, SCCOL nCol)
 
void DeleteBeforeCopyFromClip (sc::CopyFromClipContext &rCxt, const ScTable &rClipTab, sc::ColumnSpanSet &rBroadcastSpans)
 
void CopyOneCellFromClip (sc::CopyFromClipContext &rCxt, const SCCOL nCol1, const SCROW nRow1, const SCCOL nCol2, const SCROW nRow2, const SCROW nSrcRow, const ScTable *pSrcTab)
 
void CopyFromClip (sc::CopyFromClipContext &rCxt, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, SCCOL nDx, SCROW nDy, ScTable *pTable)
 
void StartListeningFormulaCells (sc::StartListeningContext &rStartCxt, sc::EndListeningContext &rEndCxt, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2)
 
void SetDirtyFromClip (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, sc::ColumnSpanSet &rBroadcastSpans)
 
void CopyToTable (sc::CopyToDocContext &rCxt, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, InsertDeleteFlags nFlags, bool bMarked, ScTable *pDestTab, const ScMarkData *pMarkData, bool bAsLink, bool bColRowFlags, bool bGlobalNamesToLocal, bool bCopyCaptions)
 
void CopyCaptionsToTable (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, ScTable *pDestTab, bool bCloneCaption)
 
void UndoToTable (sc::CopyToDocContext &rCxt, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, InsertDeleteFlags nFlags, bool bMarked, ScTable *pDestTab)
 
void CopyConditionalFormat (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, SCCOL nDx, SCROW nDy, const ScTable *pTable)
 
void TransposeClip (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, SCROW nCombinedStartRow, SCROW nRowDestOffset, ScTable *pTransClip, InsertDeleteFlags nFlags, bool bAsLink, bool bIncludeFiltered)
 
void MixMarked (sc::MixDocContext &rCxt, const ScMarkData &rMark, ScPasteFunc nFunction, bool bSkipEmpty, const ScTable *pSrcTab)
 
void MixData (sc::MixDocContext &rCxt, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, ScPasteFunc nFunction, bool bSkipEmpty, const ScTable *pSrcTab)
 
void CopyData (SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, SCCOL nDestCol, SCROW nDestRow, SCTAB nDestTab)
 
void CopyScenarioFrom (const ScTable *pSrcTab)
 
void CopyScenarioTo (ScTable *pDestTab) const
 
bool TestCopyScenarioTo (const ScTable *pDestTab) const
 
void MarkScenarioIn (ScMarkData &rMark, ScScenarioFlags nNeededBits) const
 
bool HasScenarioRange (const ScRange &rRange) const
 
void InvalidateScenarioRanges ()
 
const ScRangeListGetScenarioRanges () const
 
void CopyUpdated (const ScTable *pPosTab, ScTable *pDestTab) const
 
void InvalidateTableArea ()
 
void InvalidatePageBreaks ()
 
void InvalidateCellArea ()
 
bool GetCellArea (SCCOL &rEndCol, SCROW &rEndRow)
 
bool GetTableArea (SCCOL &rEndCol, SCROW &rEndRow, bool bCalcHiddens=false) const
 
bool GetPrintArea (SCCOL &rEndCol, SCROW &rEndRow, bool bNotes, bool bCalcHiddens=false) const
 
bool GetPrintAreaHor (SCROW nStartRow, SCROW nEndRow, SCCOL &rEndCol) const
 
bool GetPrintAreaVer (SCCOL nStartCol, SCCOL nEndCol, SCROW &rEndRow, bool bNotes) const
 
bool GetDataStart (SCCOL &rStartCol, SCROW &rStartRow) const
 
void ExtendPrintArea (OutputDevice *pDev, SCCOL nStartCol, SCROW nStartRow, SCCOL &rEndCol, SCROW nEndRow)
 
void GetDataArea (SCCOL &rStartCol, SCROW &rStartRow, SCCOL &rEndCol, SCROW &rEndRow, bool bIncludeOld, bool bOnlyDown) const
 
bool GetDataAreaSubrange (ScRange &rRange) const
 
bool ShrinkToUsedDataArea (bool &o_bShrunk, SCCOL &rStartCol, SCROW &rStartRow, SCCOL &rEndCol, SCROW &rEndRow, bool bColumnsOnly, bool bStickyTopRow, bool bStickyLeftCol, ScDataAreaExtras *pDataAreaExtras) const
 
SCROW GetLastDataRow (SCCOL nCol1, SCCOL nCol2, SCROW nLastRow, ScDataAreaExtras *pDataAreaExtras=nullptr) const
 
bool IsEmptyData (SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow) const
 
SCSIZE GetEmptyLinesInBlock (SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, ScDirection eDir) const
 
void FindAreaPos (SCCOL &rCol, SCROW &rRow, ScMoveDirection eDirection) const
 
void GetNextPos (SCCOL &rCol, SCROW &rRow, SCCOL nMovX, SCROW nMovY, bool bMarked, bool bUnprotected, const ScMarkData &rMark, SCCOL nTabStartCol) const
 
bool SkipRow (const SCCOL rCol, SCROW &rRow, const SCROW nMovY, const ScMarkData &rMark, const bool bUp, const SCROW nUsedY, const bool bMarked, const bool bSheetProtected) const
 
void LimitChartArea (SCCOL &rStartCol, SCROW &rStartRow, SCCOL &rEndCol, SCROW &rEndRow) const
 
bool HasData (SCCOL nCol, SCROW nRow) const
 
bool HasStringData (SCCOL nCol, SCROW nRow) const
 
bool HasValueData (SCCOL nCol, SCROW nRow) const
 
bool HasStringCells (SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow) const
 
sc::MultiDataCellState HasMultipleDataCells (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2) const
 
FormulaError GetErrCode (const ScAddress &rPos) const
 
void ResetChanged (const ScRange &rRange)
 
void CheckVectorizationState ()
 
void SetAllFormulasDirty (const sc::SetFormulaDirtyContext &rCxt)
 
void SetDirty (const ScRange &, ScColumn::BroadcastMode)
 
void SetDirtyAfterLoad ()
 
void SetDirtyVar ()
 
void SetTableOpDirty (const ScRange &)
 
void CalcAll ()
 
void CalcAfterLoad (sc::CompileFormulaContext &rCxt, bool bStartListening)
 
void CompileAll (sc::CompileFormulaContext &rCxt)
 
void CompileXML (sc::CompileFormulaContext &rCxt, ScProgress &rProgress)
 
bool BroadcastBroadcasters (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, SfxHintId nHint)
 Broadcast single broadcasters in range, without explicitly setting anything dirty, not doing area broadcasts. More...
 
bool CompileErrorCells (sc::CompileFormulaContext &rCxt, FormulaError nErrCode)
 
void UpdateReference (sc::RefUpdateContext &rCxt, ScDocument *pUndoDoc=nullptr, bool bIncludeDraw=true, bool bUpdateNoteCaptionPos=true)
 
void UpdateDrawRef (UpdateRefMode eUpdateRefMode, SCCOL nCol1, SCROW nRow1, SCTAB nTab1, SCCOL nCol2, SCROW nRow2, SCTAB nTab2, SCCOL nDx, SCROW nDy, SCTAB nDz, bool bUpdateNoteCaptionPos=true)
 
void UpdateTranspose (const ScRange &rSource, const ScAddress &rDest, ScDocument *pUndoDoc)
 
void UpdateGrow (const ScRange &rArea, SCCOL nGrowX, SCROW nGrowY)
 
void UpdateInsertTab (sc::RefUpdateInsertTabContext &rCxt)
 
void UpdateDeleteTab (sc::RefUpdateDeleteTabContext &rCxt)
 
void UpdateMoveTab (sc::RefUpdateMoveTabContext &rCxt, SCTAB nTabNo, ScProgress *pProgress)
 
void UpdateCompile (bool bForceIfNameInUse=false)
 
void SetTabNo (SCTAB nNewTab)
 
void FindRangeNamesInUse (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, sc::UpdatedRangeNames &rIndexes) const
 
void Fill (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, sal_uInt64 nFillCount, FillDir eFillDir, FillCmd eFillCmd, FillDateCmd eFillDateCmd, double nStepValue, double nMaxValue, ScProgress *pProgress)
 
OUString GetAutoFillPreview (const ScRange &rSource, SCCOL nEndX, SCROW nEndY)
 
void UpdateSelectionFunction (ScFunctionData &rData, const ScMarkData &rMark)
 
void AutoFormat (SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, sal_uInt16 nFormatNo)
 
void GetAutoFormatData (SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, ScAutoFormatData &rData)
 
bool SearchAndReplace (const SvxSearchItem &rSearchItem, SCCOL &rCol, SCROW &rRow, const ScMarkData &rMark, ScRangeList &rMatchedRanges, OUString &rUndoStr, ScDocument *pUndoDoc, bool &bMatchedRangesWereClamped)
 
void FindMaxRotCol (RowInfo *pRowInfo, SCSIZE nArrCount, SCCOL nX1, SCCOL nX2)
 
bool HasAttrib (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, HasAttrFlags nMask) const
 
bool HasAttribSelection (const ScMarkData &rMark, HasAttrFlags nMask) const
 
bool HasAttrib (SCCOL nCol, SCROW nRow, HasAttrFlags nMask, SCROW *nStartRow=nullptr, SCROW *nEndRow=nullptr) const
 
bool IsMerged (SCCOL nCol, SCROW nRow) const
 
bool ExtendMerge (SCCOL nStartCol, SCROW nStartRow, SCCOL &rEndCol, SCROW &rEndRow, bool bRefresh)
 
void SetMergedCells (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2)
 
const SfxPoolItemGetAttr (SCCOL nCol, SCROW nRow, sal_uInt16 nWhich) const
 
template<class T >
const T * GetAttr (SCCOL nCol, SCROW nRow, TypedWhichId< T > nWhich) const
 
const SfxPoolItemGetAttr (SCCOL nCol, SCROW nRow, sal_uInt16 nWhich, SCROW &nStartRow, SCROW &nEndRow) const
 
template<class T >
const T * GetAttr (SCCOL nCol, SCROW nRow, TypedWhichId< T > nWhich, SCROW &nStartRow, SCROW &nEndRow) const
 
const ScPatternAttrGetPattern (SCCOL nCol, SCROW nRow) const
 
const ScPatternAttrGetMostUsedPattern (SCCOL nCol, SCROW nStartRow, SCROW nEndRow) const
 
sal_uInt32 GetNumberFormat (const ScInterpreterContext &rContext, const ScAddress &rPos) const
 
sal_uInt32 GetNumberFormat (SCCOL nCol, SCROW nRow) const
 
sal_uInt32 GetNumberFormat (SCCOL nCol, SCROW nStartRow, SCROW nEndRow) const
 
void SetNumberFormat (SCCOL nCol, SCROW nRow, sal_uInt32 nNumberFormat)
 
void MergeSelectionPattern (ScMergePatternState &rState, const ScMarkData &rMark, bool bDeep) const
 
void MergePatternArea (ScMergePatternState &rState, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, bool bDeep) const
 
void MergeBlockFrame (SvxBoxItem *pLineOuter, SvxBoxInfoItem *pLineInner, ScLineFlags &rFlags, SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow) const
 
void ApplyBlockFrame (const SvxBoxItem &rLineOuter, const SvxBoxInfoItem *pLineInner, SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow)
 
void ApplyAttr (SCCOL nCol, SCROW nRow, const SfxPoolItem &rAttr)
 
void ApplyPattern (SCCOL nCol, SCROW nRow, const ScPatternAttr &rAttr)
 
void ApplyPatternArea (SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, const ScPatternAttr &rAttr, ScEditDataArray *pDataArray=nullptr, bool *const pIsChanged=nullptr)
 
void SetAttrEntries (SCCOL nStartCol, SCCOL nEndCol, std::vector< ScAttrEntry > &&vNewData)
 
void SetPattern (const ScAddress &rPos, const ScPatternAttr &rAttr)
 
const ScPatternAttrSetPattern (SCCOL nCol, SCROW nRow, std::unique_ptr< ScPatternAttr >)
 
void SetPattern (SCCOL nCol, SCROW nRow, const ScPatternAttr &rAttr)
 
void ApplyPatternIfNumberformatIncompatible (const ScRange &rRange, const ScPatternAttr &rPattern, SvNumFormatType nNewType)
 
void AddCondFormatData (const ScRangeList &rRange, sal_uInt32 nIndex)
 
void RemoveCondFormatData (const ScRangeList &rRange, sal_uInt32 nIndex)
 
void SetPatternAreaCondFormat (SCCOL nCol, SCROW nStartRow, SCROW nEndRow, const ScPatternAttr &rAttr, const ScCondFormatIndexes &rCondFormatIndexes)
 
void ApplyStyle (SCCOL nCol, SCROW nRow, const ScStyleSheet *rStyle)
 
void ApplyStyleArea (SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, const ScStyleSheet &rStyle)
 
void ApplySelectionStyle (const ScStyleSheet &rStyle, const ScMarkData &rMark)
 
void ApplySelectionLineStyle (const ScMarkData &rMark, const ::editeng::SvxBorderLine *pLine, bool bColorOnly)
 
const ScStyleSheetGetStyle (SCCOL nCol, SCROW nRow) const
 
const ScStyleSheetGetSelectionStyle (const ScMarkData &rMark, bool &rFound) const
 
const ScStyleSheetGetAreaStyle (bool &rFound, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2) const
 
void StyleSheetChanged (const SfxStyleSheetBase *pStyleSheet, bool bRemoved, OutputDevice *pDev, double nPPTX, double nPPTY, const Fraction &rZoomX, const Fraction &rZoomY)
 
bool IsStyleSheetUsed (const ScStyleSheet &rStyle) const
 
bool ApplyFlags (SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, ScMF nFlags)
 
bool RemoveFlags (SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, ScMF nFlags)
 
void ApplySelectionCache (SfxItemPoolCache *pCache, const ScMarkData &rMark, ScEditDataArray *pDataArray=nullptr, bool *const pIsChanged=nullptr)
 
void DeleteSelection (InsertDeleteFlags nDelFlag, const ScMarkData &rMark, bool bBroadcast=true)
 
void ClearSelectionItems (const sal_uInt16 *pWhich, const ScMarkData &rMark)
 
void ChangeSelectionIndent (bool bIncrement, const ScMarkData &rMark)
 
const std::optional< ScRange > & GetRepeatColRange () const
 
const std::optional< ScRange > & GetRepeatRowRange () const
 
void SetRepeatColRange (std::optional< ScRange > oNew)
 
void SetRepeatRowRange (std::optional< ScRange > oNew)
 
sal_uInt16 GetPrintRangeCount () const
 
const ScRangeGetPrintRange (sal_uInt16 nPos) const
 
bool IsPrintEntireSheet () const
 Returns true, if the sheet is always printed. More...
 
void ClearPrintRanges ()
 Removes all print ranges. More...
 
void AddPrintRange (const ScRange &rNew)
 Adds a new print ranges. More...
 
void SetPrintEntireSheet ()
 Marks the specified sheet to be printed completely. More...
 
void FillPrintSaver (ScPrintSaverTab &rSaveTab) const
 
void RestorePrintRanges (const ScPrintSaverTab &rSaveTab)
 
sal_uInt16 GetOptimalColWidth (SCCOL nCol, OutputDevice *pDev, double nPPTX, double nPPTY, const Fraction &rZoomX, const Fraction &rZoomY, bool bFormula, const ScMarkData *pMarkData, const ScColWidthParam *pParam)
 
bool SetOptimalHeight (sc::RowHeightContext &rCxt, SCROW nStartRow, SCROW nEndRow, bool bApi, ScProgress *pOuterProgress=nullptr, sal_uInt64 nProgressStart=0)
 
void SetOptimalHeightOnly (sc::RowHeightContext &rCxt, SCROW nStartRow, SCROW nEndRow, ScProgress *pOuterProgress=nullptr, sal_uInt64 nProgressStart=0)
 
tools::Long GetNeededSize (SCCOL nCol, SCROW nRow, OutputDevice *pDev, double nPPTX, double nPPTY, const Fraction &rZoomX, const Fraction &rZoomY, bool bWidth, bool bTotalSize, bool bInPrintTwips=false)
 
void SetColWidth (SCCOL nCol, sal_uInt16 nNewWidth)
 
void SetColWidthOnly (SCCOL nCol, sal_uInt16 nNewWidth)
 
void SetRowHeight (SCROW nRow, sal_uInt16 nNewHeight)
 
bool SetRowHeightRange (SCROW nStartRow, SCROW nEndRow, sal_uInt16 nNewHeight, double nPPTY, bool bApi)
 
void SetRowHeightOnly (SCROW nStartRow, SCROW nEndRow, sal_uInt16 nNewHeight)
 Set specified row height to specified ranges. More...
 
void SetManualHeight (SCROW nStartRow, SCROW nEndRow, bool bManual)
 
sal_uInt16 GetColWidth (SCCOL nCol, bool bHiddenAsZero=true) const
 
tools::Long GetColWidth (SCCOL nStartCol, SCCOL nEndCol) const
 
sal_uInt16 GetRowHeight (SCROW nRow, SCROW *pStartRow, SCROW *pEndRow, bool bHiddenAsZero=true) const
 
tools::Long GetRowHeight (SCROW nStartRow, SCROW nEndRow, bool bHiddenAsZero=true) const
 
tools::Long GetScaledRowHeight (SCROW nStartRow, SCROW nEndRow, double fScale) const
 
tools::Long GetColOffset (SCCOL nCol, bool bHiddenAsZero=true) const
 
tools::Long GetRowOffset (SCROW nRow, bool bHiddenAsZero=true) const
 
SCROW GetRowForHeight (tools::Long nHeight) const
 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. More...
 
sal_uInt16 GetOriginalWidth (SCCOL nCol) const
 
sal_uInt16 GetOriginalHeight (SCROW nRow) const
 
sal_uInt16 GetCommonWidth (SCCOL nEndCol) const
 
SCROW GetHiddenRowCount (SCROW nRow) const
 
void ShowCol (SCCOL nCol, bool bShow)
 
void ShowRow (SCROW nRow, bool bShow)
 
void DBShowRow (SCROW nRow, bool bShow)
 
void ShowRows (SCROW nRow1, SCROW nRow2, bool bShow)
 
void DBShowRows (SCROW nRow1, SCROW nRow2, bool bShow)
 
void SetRowFlags (SCROW nRow, CRFlags nNewFlags)
 
void SetRowFlags (SCROW nStartRow, SCROW nEndRow, CRFlags nNewFlags)
 
SCROW GetLastFlaggedRow () const
 
SCCOL GetLastChangedColFlagsWidth () const
 
SCROW GetLastChangedRowFlagsWidth () const
 
bool IsDataFiltered (SCCOL nColStart, SCROW nRowStart, SCCOL nColEnd, SCROW nRowEnd) const
 
bool IsDataFiltered (const ScRange &rRange) const
 
CRFlags GetColFlags (SCCOL nCol) const
 
CRFlags GetRowFlags (SCROW nRow) const
 
const ScBitMaskCompressedArray< SCROW, CRFlags > * GetRowFlagsArray () const
 
bool UpdateOutlineCol (SCCOL nStartCol, SCCOL nEndCol, bool bShow)
 
bool UpdateOutlineRow (SCROW nStartRow, SCROW nEndRow, bool bShow)
 
void UpdatePageBreaks (const ScRange *pUserArea)
 
void RemoveManualBreaks ()
 
bool HasManualBreaks () const
 
void SetRowManualBreaks (::std::set< SCROW > &&rBreaks)
 
void SetColManualBreaks (::std::set< SCCOL > &&rBreaks)
 
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
 
SCROW GetNextManualBreak (SCROW nRow) const
 Get the row position of the next manual break that occurs at or below specified row. More...
 
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)
 
css::uno::Sequence< css::sheet::TablePageBreakData > GetRowBreakData () const
 
bool RowHidden (SCROW nRow, SCROW *pFirstRow=nullptr, SCROW *pLastRow=nullptr) const
 
bool RowHiddenLeaf (SCROW nRow, SCROW *pFirstRow=nullptr, SCROW *pLastRow=nullptr) const
 
bool HasHiddenRows (SCROW nStartRow, SCROW nEndRow) const
 
bool ColHidden (SCCOL nCol, SCCOL *pFirstCol=nullptr, SCCOL *pLastCol=nullptr) const
 
bool SetRowHidden (SCROW nStartRow, SCROW nEndRow, bool bHidden)
 
void SetColHidden (SCCOL nStartCol, SCCOL nEndCol, bool bHidden)
 
void CopyColHidden (const ScTable &rTable, SCCOL nStartCol, SCCOL nEndCol)
 
void CopyRowHidden (const ScTable &rTable, SCROW nStartRow, SCROW nEndRow)
 
void CopyRowHeight (const ScTable &rSrcTable, SCROW nStartRow, SCROW nEndRow, SCROW nSrcOffset)
 
SCROW FirstVisibleRow (SCROW nStartRow, SCROW nEndRow) const
 
SCROW LastVisibleRow (SCROW nStartRow, SCROW nEndRow) const
 
SCROW CountVisibleRows (SCROW nStartRow, SCROW nEndRow) const
 
tools::Long GetTotalRowHeight (SCROW nStartRow, SCROW nEndRow, bool bHiddenAsZero=true) const
 
SCCOL CountVisibleCols (SCCOL nStartCol, SCCOL nEndCol) const
 
SCCOLROW LastHiddenColRow (SCCOLROW nPos, bool bCol) const
 
bool RowFiltered (SCROW nRow, SCROW *pFirstRow=nullptr, SCROW *pLastRow=nullptr) const
 
bool ColFiltered (SCCOL nCol, SCCOL *pFirstCol=nullptr, SCCOL *pLastCol=nullptr) const
 
bool HasFilteredRows (SCROW nStartRow, SCROW nEndRow) const
 
void CopyColFiltered (const ScTable &rTable, SCCOL nStartCol, SCCOL nEndCol)
 
void CopyRowFiltered (const ScTable &rTable, SCROW nStartRow, SCROW nEndRow)
 
void SetRowFiltered (SCROW nStartRow, SCROW nEndRow, bool bFiltered)
 
void SetColFiltered (SCCOL nStartCol, SCCOL nEndCol, bool bFiltered)
 
SCROW FirstNonFilteredRow (SCROW nStartRow, SCROW nEndRow) const
 
SCROW LastNonFilteredRow (SCROW nStartRow, SCROW nEndRow) const
 
SCROW CountNonFilteredRows (SCROW nStartRow, SCROW nEndRow) const
 
bool IsManualRowHeight (SCROW nRow) const
 
bool HasUniformRowHeight (SCROW nRow1, SCROW nRow2) const
 
void SyncColRowFlags ()
 
void StripHidden (SCCOL &rX1, SCROW &rY1, SCCOL &rX2, SCROW &rY2)
 
void ExtendHidden (SCCOL &rX1, SCROW &rY1, SCCOL &rX2, SCROW &rY2)
 
void Sort (const ScSortParam &rSortParam, bool bKeepQuery, bool bUpdateRefs, ScProgress *pProgress, sc::ReorderParam *pUndo)
 Sort a range of data. More...
 
void Reorder (const sc::ReorderParam &rParam)
 
void TopTenQuery (ScQueryParam &)
 
void PrepareQuery (ScQueryParam &rQueryParam)
 
SCSIZE Query (const ScQueryParam &rQueryParam, bool bKeepSub)
 
bool CreateQueryParam (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, ScQueryParam &rQueryParam)
 
void GetFilterEntries (SCCOL nCol, SCROW nRow1, SCROW nRow2, ScFilterEntries &rFilterEntries, bool bFiltering=false)
 
void GetFilteredFilterEntries (SCCOL nCol, SCROW nRow1, SCROW nRow2, const ScQueryParam &rParam, ScFilterEntries &rFilterEntries, bool bFiltering)
 
bool GetDataEntries (SCCOL nCol, SCROW nRow, std::set< ScTypedStrData > &rStrings)
 
bool HasColHeader (SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow) const
 
bool HasRowHeader (SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow) const
 
sal_Int32 GetMaxStringLen (SCCOL nCol, SCROW nRowStart, SCROW nRowEnd, rtl_TextEncoding eCharSet) const
 
sal_Int32 GetMaxNumberStringLen (sal_uInt16 &nPrecision, SCCOL nCol, SCROW nRowStart, SCROW nRowEnd) const
 
bool IsSortCollatorGlobal () const
 
void InitSortCollator (const ScSortParam &rPar)
 
void DestroySortCollator ()
 
void SetDrawPageSize (bool bResetStreamValid=true, bool bUpdateNoteCaptionPos=true, const ScObjectHandling eObjectHandling=ScObjectHandling::RecalcPosMode)
 
void SetRangeName (std::unique_ptr< ScRangeName > pNew)
 
ScRangeNameGetRangeName () const
 
void PreprocessRangeNameUpdate (sc::EndListeningContext &rEndListenCxt, sc::CompileFormulaContext &rCompileCxt)
 
void CompileHybridFormula (sc::StartListeningContext &rStartListenCxt, sc::CompileFormulaContext &rCompileCxt)
 
void PreprocessDBDataUpdate (sc::EndListeningContext &rEndListenCxt, sc::CompileFormulaContext &rCompileCxt)
 
ScConditionalFormatListGetCondFormList ()
 
const ScConditionalFormatListGetCondFormList () const
 
void SetCondFormList (ScConditionalFormatList *pList)
 
void DeleteConditionalFormat (sal_uLong nOldIndex)
 
sal_uLong AddCondFormat (std::unique_ptr< ScConditionalFormat > pNew)
 
SvtScriptType GetScriptType (SCCOL nCol, SCROW nRow) const
 
void SetScriptType (SCCOL nCol, SCROW nRow, SvtScriptType nType)
 
void UpdateScriptTypes (const SCCOL nCol1, SCROW nRow1, const SCCOL nCol2, SCROW nRow2)
 
SvtScriptType GetRangeScriptType (sc::ColumnBlockPosition &rBlockPos, SCCOL nCol, SCROW nRow1, SCROW nRow2)
 
formula::FormulaTokenRef ResolveStaticReference (SCCOL nCol, SCROW nRow)
 
formula::FormulaTokenRef ResolveStaticReference (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2)
 
formula::VectorRefArray FetchVectorRefArray (SCCOL nCol, SCROW nRow1, SCROW nRow2)
 
bool HandleRefArrayForParallelism (SCCOL nCol, SCROW nRow1, SCROW nRow2, const ScFormulaCellGroupRef &mxGroup)
 
void AssertNoInterpretNeeded (SCCOL nCol, SCROW nRow1, SCROW nRow2)
 
void SplitFormulaGroups (SCCOL nCol, std::vector< SCROW > &rRows)
 
void UnshareFormulaCells (SCCOL nCol, std::vector< SCROW > &rRows)
 
void RegroupFormulaCells (SCCOL nCol)
 
ScRefCellValue GetRefCellValue (SCCOL nCol, SCROW nRow)
 
ScRefCellValue GetRefCellValue (SCCOL nCol, SCROW nRow, sc::ColumnBlockPosition &rBlockPos)
 
SvtBroadcasterGetBroadcaster (SCCOL nCol, SCROW nRow)
 
const SvtBroadcasterGetBroadcaster (SCCOL nCol, SCROW nRow) const
 
void DeleteBroadcasters (sc::ColumnBlockPosition &rBlockPos, SCCOL nCol, SCROW nRow1, SCROW nRow2)
 
void DeleteEmptyBroadcasters ()
 
void FillMatrix (ScMatrix &rMat, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, svl::SharedStringPool *pPool) const
 
void InterpretDirtyCells (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2)
 
bool InterpretCellsIfNeeded (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2)
 
void SetFormulaResults (SCCOL nCol, SCROW nRow, const double *pResults, size_t nLen)
 
void CalculateInColumnInThread (ScInterpreterContext &rContext, SCCOL nColStart, SCCOL nColEnd, SCROW nRowStart, SCROW nRowEnd, unsigned nThisThread, unsigned nThreadsTotal)
 
void HandleStuffAfterParallelCalculation (SCCOL nColStart, SCCOL nColEnd, SCROW nRow, size_t nLen, ScInterpreter *pInterpreter)
 
void StartListeners (sc::StartListeningContext &rCxt, bool bAll)
 Either start all formula cells as listeners unconditionally, or start those that are marked "needs listening". More...
 
void SetDirtyIfPostponed ()
 Mark formula cells dirty that have the mbPostponedDirty flag set or contain named ranges with relative references. More...
 
void BroadcastRecalcOnRefMove ()
 Broadcast dirty formula cells that contain functions such as CELL(), COLUMN() or ROW() which may change its value on move. More...
 
void TransferCellValuesTo (const SCCOL nCol, SCROW nRow, size_t nLen, sc::CellValues &rDest)
 
void CopyCellValuesFrom (const SCCOL nCol, SCROW nRow, const sc::CellValues &rSrc)
 
std::optional< sc::ColumnIteratorGetColumnIterator (SCCOL nCol, SCROW nRow1, SCROW nRow2) const
 
bool EnsureFormulaCellResults (const SCCOL nCol1, SCROW nRow1, const SCCOL nCol2, SCROW nRow2, bool bSkipRunning=false)
 
void ConvertFormulaToValue (sc::EndListeningContext &rCxt, const SCCOL nCol1, const SCROW nRow1, const SCCOL nCol2, const SCROW nRow2, sc::TableValues *pUndo)
 
void SwapNonEmpty (sc::TableValues &rValues, sc::StartListeningContext &rStartCxt, sc::EndListeningContext &rEndCxt)
 
void finalizeOutlineImport ()
 
void StoreToCache (SvStream &rStrm) const
 
void RestoreFromCache (SvStream &rStrm)
 
void DumpColumnStorage (SCCOL nCol) const
 
ScColumnsRange GetWritableColumnsRange (SCCOL begin, SCCOL end)
 
ScColumnsRange GetAllocatedColumnsRange (SCCOL begin, SCCOL end) const
 
ScColumnsRange GetColumnsRange (SCCOL begin, SCCOL end) const
 
SCCOL ClampToAllocatedColumns (SCCOL nCol) const
 
SCCOL GetAllocatedColumnsCount () const
 
OString dumpSheetGeomData (bool bColumns, SheetGeomType eGeomType)
 Serializes the sheet's geometry data. More...
 
std::set< SCCOLQueryColumnsWithFormulaCells () const
 
const ScColumnDataColumnData (SCCOL nCol) const
 
void CheckIntegrity () const
 

Static Public Member Functions

static void UpdateSearchItemAddressForReplace (const SvxSearchItem &rSearchItem, SCCOL &rCol, SCROW &rRow)
 Replace behaves differently to the Search; adjust the rCol and rRow accordingly. More...
 

Private Types

typedef ::std::vector< ScRangeScRangeVec
 

Private Member Functions

void FillFormulaVertical (const ScFormulaCell &rSrcCell, SCCOLROW &rInner, SCCOL nCol, SCROW nRow1, SCROW nRow2, ScProgress *pProgress, sal_uInt64 &rProgress)
 
void FillSeriesSimple (const ScCellValue &rSrcCell, SCCOLROW &rInner, SCCOLROW nIMin, SCCOLROW nIMax, const SCCOLROW &rCol, const SCCOLROW &rRow, bool bVertical, ScProgress *pProgress, sal_uInt64 &rProgress)
 
void FillAutoSimple (SCCOLROW nISrcStart, SCCOLROW nISrcEnd, SCCOLROW nIStart, SCCOLROW nIEnd, SCCOLROW &rInner, const SCCOLROW &rCol, const SCCOLROW &rRow, sal_uInt64 nActFormCnt, sal_uInt64 nMaxFormCnt, bool bHasFiltered, bool bVertical, bool bPositive, ScProgress *pProgress, sal_uInt64 &rProgress)
 
void FillSeries (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, sal_uInt64 nFillCount, FillDir eFillDir, FillCmd eFillCmd, FillDateCmd eFillDateCmd, double nStepValue, double nMaxValue, sal_uInt16 nMinDigits, bool bAttribs, ScProgress *pProgress, bool bSkipOverlappedCells=false, std::vector< sal_Int32 > *pNonOverlappedCellIdx=nullptr)
 
void FillAnalyse (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, FillCmd &rCmd, FillDateCmd &rDateCmd, double &rInc, sal_uInt16 &rMinDigits, ScUserListData *&rListData, sal_uInt16 &rListIndex, bool bHasFiltered, bool &rSkipOverlappedCells, std::vector< sal_Int32 > &rNonOverlappedCellIdx)
 
void FillAuto (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, sal_uInt64 nFillCount, FillDir eFillDir, ScProgress *pProgress)
 
bool ValidNextPos (SCCOL nCol, SCROW nRow, const ScMarkData &rMark, bool bMarked, bool bUnprotected) const
 
void AutoFormatArea (SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, 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)
 
bool SearchCell (const SvxSearchItem &rSearchItem, SCCOL nCol, sc::ColumnBlockConstPosition &rBlockPos, SCROW nRow, const ScMarkData &rMark, OUString &rUndoStr, ScDocument *pUndoDoc)
 
bool Search (const SvxSearchItem &rSearchItem, SCCOL &rCol, SCROW &rRow, const ScMarkData &rMark, OUString &rUndoStr, ScDocument *pUndoDoc)
 
bool Search (const SvxSearchItem &rSearchItem, SCCOL &rCol, SCROW &rRow, SCCOL nLastCol, SCROW nLastRow, const ScMarkData &rMark, OUString &rUndoStr, ScDocument *pUndoDoc, std::vector< sc::ColumnBlockConstPosition > &blockPos)
 
bool SearchAll (const SvxSearchItem &rSearchItem, const ScMarkData &rMark, ScRangeList &rMatchedRanges, OUString &rUndoStr, ScDocument *pUndoDoc)
 
bool Replace (const SvxSearchItem &rSearchItem, SCCOL &rCol, SCROW &rRow, const ScMarkData &rMark, OUString &rUndoStr, ScDocument *pUndoDoc)
 
bool ReplaceAll (const SvxSearchItem &rSearchItem, const ScMarkData &rMark, ScRangeList &rMatchedRanges, OUString &rUndoStr, ScDocument *pUndoDoc, bool &bMatchedRangesWereClamped)
 
bool SearchStyle (const SvxSearchItem &rSearchItem, SCCOL &rCol, SCROW &rRow, const ScMarkData &rMark)
 
bool ReplaceStyle (const SvxSearchItem &rSearchItem, SCCOL &rCol, SCROW &rRow, const ScMarkData &rMark, bool bIsUndo)
 
bool SearchAllStyle (const SvxSearchItem &rSearchItem, const ScMarkData &rMark, ScRangeList &rMatchedRanges)
 
bool ReplaceAllStyle (const SvxSearchItem &rSearchItem, const ScMarkData &rMark, ScRangeList &rMatchedRanges, ScDocument *pUndoDoc)
 
bool SearchAndReplaceEmptyCells (const SvxSearchItem &rSearchItem, SCCOL &rCol, SCROW &rRow, const ScMarkData &rMark, ScRangeList &rMatchedRanges, OUString &rUndoStr, ScDocument *pUndoDoc)
 
bool SearchRangeForEmptyCell (const ScRange &rRange, const SvxSearchItem &rSearchItem, SCCOL &rCol, SCROW &rRow, OUString &rUndoStr)
 
bool SearchRangeForAllEmptyCells (const ScRange &rRange, const SvxSearchItem &rSearchItem, ScRangeList &rMatchedRanges, OUString &rUndoStr, ScDocument *pUndoDoc)
 
bool IsSorted (SCCOLROW nStart, SCCOLROW nEnd) const
 
short CompareCell (sal_uInt16 nSort, ScRefCellValue &rCell1, SCCOL nCell1Col, SCROW nCell1Row, ScRefCellValue &rCell2, SCCOL nCell2Col, SCROW nCell2Row) const
 
short Compare (SCCOLROW nIndex1, SCCOLROW nIndex2) const
 
short Compare (ScSortInfoArray *, SCCOLROW nIndex1, SCCOLROW nIndex2) const
 
std::unique_ptr< ScSortInfoArrayCreateSortInfoArray (const sc::ReorderParam &rParam)
 
std::unique_ptr< ScSortInfoArrayCreateSortInfoArray (const ScSortParam &rSortParam, SCCOLROW nInd1, SCCOLROW nInd2, bool bKeepQuery, bool bUpdateRefs)
 
void QuickSort (ScSortInfoArray *, SCCOLROW nLo, SCCOLROW nHi)
 
void SortReorderByColumn (const ScSortInfoArray *pArray, SCROW nRow1, SCROW nRow2, bool bPattern, ScProgress *pProgress)
 
void SortReorderAreaExtrasByColumn (const ScSortInfoArray *pArray, SCROW nDataRow1, SCROW nDataRow2, const ScDataAreaExtras &rDataAreaExtras, ScProgress *pProgress)
 
void SortReorderByRow (ScSortInfoArray *pArray, SCCOL nCol1, SCCOL nCol2, ScProgress *pProgress, bool bOnlyDataAreaExtras)
 
void SortReorderByRowRefUpdate (ScSortInfoArray *pArray, SCCOL nCol1, SCCOL nCol2, ScProgress *pProgress)
 
void SortReorderAreaExtrasByRow (ScSortInfoArray *pArray, SCCOL nDataCol1, SCCOL nDataCol2, const ScDataAreaExtras &rDataAreaExtras, ScProgress *pProgress)
 
bool CreateExcelQuery (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, ScQueryParam &rQueryParam)
 
bool CreateStarQuery (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, ScQueryParam &rQueryParam)
 
OUString GetUpperCellString (SCCOL nCol, SCROW nRow)
 
bool RefVisible (const ScFormulaCell *pCell)
 
bool IsEmptyLine (SCROW nRow, SCCOL nStartCol, SCCOL nEndCol) const
 
void IncDate (double &rVal, sal_uInt16 &nDayOfMonth, double nStep, FillDateCmd eCmd)
 
void FillFormula (const ScFormulaCell *pSrcCell, SCCOL nDestCol, SCROW nDestRow, bool bLast)
 
void UpdateInsertTabAbs (SCTAB nNewPos)
 
bool GetNextSpellingCell (SCCOL &rCol, SCROW &rRow, bool bInSel, const ScMarkData &rMark) const
 
bool GetNextMarkedCell (SCCOL &rCol, SCROW &rRow, const ScMarkData &rMark) const
 
void TestTabRefAbs (SCTAB nTable) const
 
void CompileDBFormula (sc::CompileFormulaContext &rCxt)
 
void CompileColRowNameFormula (sc::CompileFormulaContext &rCxt)
 
void StartListening (const ScAddress &rAddress, SvtListener *pListener)
 
void EndListening (const ScAddress &rAddress, SvtListener *pListener)
 
void StartListening (sc::StartListeningContext &rCxt, const ScAddress &rAddress, SvtListener &rListener)
 
void EndListening (sc::EndListeningContext &rCxt, const ScAddress &rAddress, SvtListener &rListener)
 
void AttachFormulaCells (sc::StartListeningContext &rCxt, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2)
 
void DetachFormulaCells (sc::EndListeningContext &rCxt, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2)
 
void SetLoadingMedium (bool bLoading)
 
SCSIZE FillMaxRot (RowInfo *pRowInfo, SCSIZE nArrCount, SCCOL nX1, SCCOL nX2, SCCOL nCol, SCROW nAttrRow1, SCROW nAttrRow2, SCSIZE nArrY, const ScPatternAttr *pPattern, const SfxItemSet *pCondSet)
 
void InvalidateTextWidth (const ScAddress *pAdrFrom, const ScAddress *pAdrTo, bool bNumFormatChanged, bool bBroadcast)
 
void SkipFilteredRows (SCROW &rRow, SCROW &rLastNonFilteredRow, bool bForward)
 
void MaybeAddExtraColumn (SCCOL &rCol, SCROW nRow, OutputDevice *pDev, double nPPTX, double nPPTY)
 In case the cell text goes beyond the column width, move the max column position to the right. More...
 
void CopyPrintRange (const ScTable &rTable)
 
SCCOL FindNextVisibleColWithContent (SCCOL nCol, bool bRight, SCROW nRow) const
 
SCCOL FindNextVisibleCol (SCCOL nCol, bool bRight) const
 
void TransposeColPatterns (ScTable *pTransClip, SCCOL nCol1, SCCOL nCol, SCROW nRow1, SCROW nRow2, SCROW nCombinedStartRow, bool bIncludeFiltered, const std::vector< SCROW > &rFilteredRows, SCROW nRowDestOffset)
 Transpose clipboard patterns. More...
 
void TransposeColNotes (ScTable *pTransClip, SCCOL nCol1, SCCOL nCol, SCROW nRow1, SCROW nRow2, SCROW nCombinedStartRow, bool bIncludeFiltered, SCROW nRowDestOffset)
 Transpose clipboard notes. More...
 
ScColumnFetchColumn (SCCOL nCol)
 
const ScColumnFetchColumn (SCCOL nCol) const
 
void EndListeningIntersectedGroup (sc::EndListeningContext &rCxt, SCCOL nCol, SCROW nRow, std::vector< ScAddress > *pGroupPos)
 
void EndListeningIntersectedGroups (sc::EndListeningContext &rCxt, const SCCOL nCol1, SCROW nRow1, const SCCOL nCol2, SCROW nRow2, std::vector< ScAddress > *pGroupPos)
 
void EndListeningGroup (sc::EndListeningContext &rCxt, const SCCOL nCol, SCROW nRow)
 
void SetNeedsListeningGroup (SCCOL nCol, SCROW nRow)
 
OString dumpColumnRowSizes (bool bColumns)
 Returns list-of-spans representation of the column-widths/row-heights in twips encoded as an OString. More...
 
OString dumpHiddenFiltered (bool bColumns, bool bHidden)
 Returns list-of-spans representation of hidden/filtered states of columns/rows encoded as an OString. More...
 
OString dumpColumnRowGroups (bool bColumns) const
 Returns list-of-spans representation of the column/row groupings encoded as an OString. More...
 
SCCOL GetLOKFreezeCol () const
 
SCROW GetLOKFreezeRow () const
 
bool SetLOKFreezeCol (SCCOL nFreezeCol)
 
bool SetLOKFreezeRow (SCROW nFreezeRow)
 

Static Private Member Functions

static void DecoladeRow (ScSortInfoArray *, SCROW nRow1, SCROW nRow2)
 

Private Attributes

ScColContainer aCol
 
OUString aName
 
OUString aCodeName
 
OUString aComment
 
OUString aLinkDoc
 
OUString aLinkFlt
 
OUString aLinkOpt
 
OUString aLinkTab
 
sal_uLong nLinkRefreshDelay
 
ScLinkMode nLinkMode
 
OUString aPageStyle
 
Size aPageSizeTwips
 
SCCOL nRepeatStartX
 
SCCOL nRepeatEndX
 
SCROW nRepeatStartY
 
SCROW nRepeatEndY
 
bool mbCellAreaDirty
 
bool mbCellAreaEmpty
 
SCCOL mnEndCol
 
SCROW mnEndRow
 
std::unique_ptr< ScTableProtectionpTabProtection
 
std::unique_ptr< ScCompressedArray< SCCOL, sal_uInt16 > > mpColWidth
 
std::unique_ptr< ScFlatUInt16RowSegmentsmpRowHeights
 
std::unique_ptr< ScBitMaskCompressedArray< SCCOL, CRFlags > > mpColFlags
 
std::unique_ptr< ScBitMaskCompressedArray< SCROW, CRFlags > > pRowFlags
 
std::unique_ptr< ScFlatBoolColSegmentsmpHiddenCols
 
std::unique_ptr< ScFlatBoolRowSegmentsmpHiddenRows
 
std::unique_ptr< ScFlatBoolColSegmentsmpFilteredCols
 
std::unique_ptr< ScFlatBoolRowSegmentsmpFilteredRows
 
::std::set< SCROWmaRowPageBreaks
 
::std::set< SCROWmaRowManualBreaks
 
::std::set< SCCOLmaColPageBreaks
 
::std::set< SCCOLmaColManualBreaks
 
std::unique_ptr< ScOutlineTablepOutlineTable
 
std::unique_ptr< ScSheetEventspSheetEvents
 
SCCOL nTableAreaX
 
SCROW nTableAreaY
 
SCCOL nTableAreaVisibleX
 
SCROW nTableAreaVisibleY
 
SCTAB nTab
 
ScDocumentrDocument
 
std::unique_ptr< utl::TextSearchpSearchText
 
OUString aUpperName
 
ScSortParam aSortParam
 
CollatorWrapperpSortCollator
 
ScRangeVec aPrintRanges
 
std::optional< ScRangemoRepeatColRange
 
std::optional< ScRangemoRepeatRowRange
 
sal_uInt16 nLockCount
 
std::unique_ptr< ScRangeListpScenarioRanges
 
Color aScenarioColor
 
Color aTabBgColor
 
ScScenarioFlags nScenarioFlags
 
std::unique_ptr< ScDBDatapDBDataNoName
 
std::unique_ptr< ScRangeNamempRangeName
 
std::unique_ptr< ScConditionalFormatListmpCondFormatList
 
sc::SparklineList maSparklineList
 
ScAddress maLOKFreezeCell
 
bool bScenario:1
 
bool bLayoutRTL:1
 
bool bLoadingRTL:1
 
bool bPageSizeValid:1
 
bool bTableAreaValid:1
 
bool bTableAreaVisibleValid:1
 
bool bVisible:1
 
bool bPendingRowHeights:1
 
bool bCalcNotification:1
 
bool bGlobalKeepQuery:1
 
bool bPrintEntireSheet:1
 
bool bActiveScenario:1
 
bool mbPageBreaksValid:1
 
bool mbForceBreaks:1
 
std::atomic< bool > bStreamValid
 this is touched from formula group threading context More...
 
ScColumnData aDefaultColData
 

Friends

class ScDocument
 
class ScColumn
 
class ScValueIterator
 
class ScHorizontalValueIterator
 
class ScDBQueryDataIterator
 
class ScFormulaGroupIterator
 
class ScCellIterator
 
template<ScQueryCellIteratorAccess accessType, ScQueryCellIteratorType queryType>
class ScQueryCellIteratorBase
 
template<ScQueryCellIteratorAccess accessType>
class ScQueryCellIteratorAccessSpecific
 
class ScHorizontalCellIterator
 
class ScColumnTextWidthIterator
 
class ScDocumentImport
 
class sc::DocumentStreamAccess
 
class sc::ColumnSpanSet
 
class sc::RangeColumnSpanSet
 
class sc::EditTextIterator
 
class sc::FormulaGroupAreaListener
 

Detailed Description

Definition at line 155 of file table.hxx.

Member Typedef Documentation

◆ ScRangeVec

typedef ::std::vector< ScRange > ScTable::ScRangeVec
private

Definition at line 158 of file table.hxx.

Constructor & Destructor Documentation

◆ ScTable() [1/2]

ScTable::ScTable ( ScDocument rDoc,
SCTAB  nNewTab,
const OUString &  rNewName,
bool  bColInfo = true,
bool  bRowInfo = true 
)

◆ ~ScTable()

ScTable::~ScTable ( )

◆ ScTable() [2/2]

ScTable::ScTable ( const ScTable )
delete

Member Function Documentation

◆ AddCondFormat()

sal_uLong ScTable::AddCondFormat ( std::unique_ptr< ScConditionalFormat pNew)

Definition at line 2451 of file table1.cxx.

References mpCondFormatList.

◆ AddCondFormatData()

void ScTable::AddCondFormatData ( const ScRangeList rRange,
sal_uInt32  nIndex 
)

◆ AddPrintRange()

void ScTable::AddPrintRange ( const ScRange rNew)

Adds a new print ranges.

Definition at line 2313 of file table1.cxx.

References aPrintRanges, bPrintEntireSheet, InvalidatePageBreaks(), and SetStreamValid().

◆ ApplyAttr()

void ScTable::ApplyAttr ( SCCOL  nCol,
SCROW  nRow,
const SfxPoolItem rAttr 
)

Definition at line 3201 of file table2.cxx.

References ScColumn::ApplyAttr(), CreateColumnIfNotExists(), and ValidColRow().

Referenced by SetMergedCells().

◆ ApplyBlockFrame()

void ScTable::ApplyBlockFrame ( const SvxBoxItem rLineOuter,
const SvxBoxInfoItem pLineInner,
SCCOL  nStartCol,
SCROW  nStartRow,
SCCOL  nEndCol,
SCROW  nEndRow 
)

Definition at line 2859 of file table2.cxx.

References aCol, ApplyBlockFrame(), CreateColumnIfNotExists(), i, PutInOrder(), and ValidColRow().

Referenced by ApplyBlockFrame().

◆ ApplyFlags()

bool ScTable::ApplyFlags ( SCCOL  nStartCol,
SCROW  nStartRow,
SCCOL  nEndCol,
SCROW  nEndRow,
ScMF  nFlags 
)

Definition at line 3160 of file table2.cxx.

References ScColumn::ApplyFlags(), CreateColumnIfNotExists(), i, and ValidColRow().

Referenced by SetMergedCells().

◆ ApplyPattern()

void ScTable::ApplyPattern ( SCCOL  nCol,
SCROW  nRow,
const ScPatternAttr rAttr 
)

Definition at line 2873 of file table2.cxx.

References ScColumn::ApplyPattern(), CreateColumnIfNotExists(), and ValidColRow().

◆ ApplyPatternArea()

void ScTable::ApplyPatternArea ( SCCOL  nStartCol,
SCROW  nStartRow,
SCCOL  nEndCol,
SCROW  nEndRow,
const ScPatternAttr rAttr,
ScEditDataArray pDataArray = nullptr,
bool *const  pIsChanged = nullptr 
)

◆ ApplyPatternIfNumberformatIncompatible()

void ScTable::ApplyPatternIfNumberformatIncompatible ( const ScRange rRange,
const ScPatternAttr rPattern,
SvNumFormatType  nNewType 
)

Definition at line 2945 of file table2.cxx.

References aCol, ScRange::aEnd, ScRange::aStart, and ScAddress::Col().

◆ ApplySelectionCache()

void ScTable::ApplySelectionCache ( SfxItemPoolCache pCache,
const ScMarkData rMark,
ScEditDataArray pDataArray = nullptr,
bool *const  pIsChanged = nullptr 
)

◆ ApplySelectionLineStyle()

void ScTable::ApplySelectionLineStyle ( const ScMarkData rMark,
const ::editeng::SvxBorderLine pLine,
bool  bColorOnly 
)

Definition at line 3050 of file table2.cxx.

References aCol, ApplySelectionLineStyle(), i, and ScColContainer::size().

Referenced by ApplySelectionLineStyle().

◆ ApplySelectionStyle()

void ScTable::ApplySelectionStyle ( const ScStyleSheet rStyle,
const ScMarkData rMark 
)

Definition at line 3044 of file table2.cxx.

References aCol, ApplySelectionStyle(), i, and ScColContainer::size().

Referenced by ApplySelectionStyle(), and ReplaceAllStyle().

◆ ApplyStyle()

void ScTable::ApplyStyle ( SCCOL  nCol,
SCROW  nRow,
const ScStyleSheet rStyle 
)

Definition at line 3006 of file table2.cxx.

References ScColumn::ApplyStyle(), CreateColumnIfNotExists(), and ValidColRow().

Referenced by DoSubTotals(), and ReplaceStyle().

◆ ApplyStyleArea()

void ScTable::ApplyStyleArea ( SCCOL  nStartCol,
SCROW  nStartRow,
SCCOL  nEndCol,
SCROW  nEndRow,
const ScStyleSheet rStyle 
)

◆ AssertNoInterpretNeeded()

void ScTable::AssertNoInterpretNeeded ( SCCOL  nCol,
SCROW  nRow1,
SCROW  nRow2 
)

Definition at line 2537 of file table1.cxx.

References aCol, IsColValid(), and ValidRow().

◆ AttachFormulaCells()

void ScTable::AttachFormulaCells ( sc::StartListeningContext rCxt,
SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2 
)
private

Definition at line 1271 of file table2.cxx.

References aCol, AttachFormulaCells(), and ClampToAllocatedColumns().

Referenced by AttachFormulaCells(), and SortReorderByRow().

◆ AutoFormat()

void ScTable::AutoFormat ( SCCOL  nStartCol,
SCROW  nStartRow,
SCCOL  nEndCol,
SCROW  nEndRow,
sal_uInt16  nFormatNo 
)

◆ AutoFormatArea()

void ScTable::AutoFormatArea ( SCCOL  nStartCol,
SCROW  nStartRow,
SCCOL  nEndCol,
SCROW  nEndRow,
const ScPatternAttr rAttr,
sal_uInt16  nFormatNo 
)
private

◆ BroadcastBroadcasters()

bool ScTable::BroadcastBroadcasters ( SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2,
SfxHintId  nHint 
)

Broadcast single broadcasters in range, without explicitly setting anything dirty, not doing area broadcasts.

Parameters
rHintaddress is modified to adapt to the actual broadcasted position on each iteration and upon return points to the last position broadcasted.

Definition at line 2162 of file table2.cxx.

References aCol, BroadcastBroadcasters(), ClampToAllocatedColumns(), and rDocument.

Referenced by BroadcastBroadcasters(), and ScDocument::BroadcastCells().

◆ BroadcastRecalcOnRefMove()

void ScTable::BroadcastRecalcOnRefMove ( )

Broadcast dirty formula cells that contain functions such as CELL(), COLUMN() or ROW() which may change its value on move.

Definition at line 2155 of file table2.cxx.

References aCol, BroadcastRecalcOnRefMove(), i, rDocument, and ScColContainer::size().

Referenced by BroadcastRecalcOnRefMove().

◆ CalcAfterLoad()

void ScTable::CalcAfterLoad ( sc::CompileFormulaContext rCxt,
bool  bStartListening 
)

Definition at line 2220 of file table2.cxx.

References aCol, CalcAfterLoad(), i, and ScColContainer::size().

Referenced by CalcAfterLoad().

◆ CalcAll()

void ScTable::CalcAll ( )

Definition at line 2177 of file table2.cxx.

References aCol, CalcAll(), i, mpCondFormatList, and ScColContainer::size().

Referenced by CalcAll().

◆ CalculateInColumnInThread()

void ScTable::CalculateInColumnInThread ( ScInterpreterContext rContext,
SCCOL  nColStart,
SCCOL  nColEnd,
SCROW  nRowStart,
SCROW  nRowEnd,
unsigned  nThisThread,
unsigned  nThreadsTotal 
)

Definition at line 2633 of file table1.cxx.

References aCol, and ValidCol().

Referenced by ScDocument::CalculateInColumnInThread().

◆ ChangeSelectionIndent()

void ScTable::ChangeSelectionIndent ( bool  bIncrement,
const ScMarkData rMark 
)

◆ CheckIntegrity()

void ScTable::CheckIntegrity ( ) const

Definition at line 646 of file table7.cxx.

References aCol.

Referenced by ScDocument::CheckIntegrity().

◆ CheckVectorizationState()

void ScTable::CheckVectorizationState ( )

Definition at line 2107 of file table2.cxx.

References aCol, CheckVectorizationState(), i, rDocument, and ScColContainer::size().

Referenced by CheckVectorizationState().

◆ ClampToAllocatedColumns()

SCCOL ScTable::ClampToAllocatedColumns ( SCCOL  nCol) const
inline

◆ ClearPrintRanges()

void ScTable::ClearPrintRanges ( )

Removes all print ranges.

Definition at line 2303 of file table1.cxx.

References aPrintRanges, bPrintEntireSheet, InvalidatePageBreaks(), and SetStreamValid().

Referenced by SetPrintEntireSheet().

◆ ClearSelectionItems()

void ScTable::ClearSelectionItems ( const sal_uInt16 *  pWhich,
const ScMarkData rMark 
)

◆ ColFiltered()

bool ScTable::ColFiltered ( SCCOL  nCol,
SCCOL pFirstCol = nullptr,
SCCOL pLastCol = nullptr 
) const

Definition at line 859 of file table5.cxx.

References aData, mpFilteredCols, and ValidCol().

Referenced by CopyColFiltered().

◆ ColHidden()

bool ScTable::ColHidden ( SCCOL  nCol,
SCCOL pFirstCol = nullptr,
SCCOL pLastCol = nullptr 
) const

◆ ColumnData()

const ScColumnData & ScTable::ColumnData ( SCCOL  nCol) const
inline

◆ Compare() [1/2]

short ScTable::Compare ( SCCOLROW  nIndex1,
SCCOLROW  nIndex2 
) const
private

◆ Compare() [2/2]

short ScTable::Compare ( ScSortInfoArray pArray,
SCCOLROW  nIndex1,
SCCOLROW  nIndex2 
) const
private

◆ CompareCell()

short ScTable::CompareCell ( sal_uInt16  nSort,
ScRefCellValue rCell1,
SCCOL  nCell1Col,
SCROW  nCell1Row,
ScRefCellValue rCell2,
SCCOL  nCell2Col,
SCROW  nCell2Row 
) const
private

◆ CompileAll()

void ScTable::CompileAll ( sc::CompileFormulaContext rCxt)

Definition at line 2185 of file table2.cxx.

References aCol, CompileAll(), i, mpCondFormatList, and ScColContainer::size().

Referenced by CompileAll().

◆ CompileColRowNameFormula()

void ScTable::CompileColRowNameFormula ( sc::CompileFormulaContext rCxt)
private

Definition at line 2960 of file table4.cxx.

References aCol, CompileColRowNameFormula(), i, and ScColContainer::size().

Referenced by CompileColRowNameFormula().

◆ CompileDBFormula()

void ScTable::CompileDBFormula ( sc::CompileFormulaContext rCxt)
private

Definition at line 2954 of file table4.cxx.

References aCol, CompileDBFormula(), i, and ScColContainer::size().

Referenced by CompileDBFormula().

◆ CompileErrorCells()

bool ScTable::CompileErrorCells ( sc::CompileFormulaContext rCxt,
FormulaError  nErrCode 
)

Definition at line 2208 of file table2.cxx.

References aCol, CompileErrorCells(), i, and ScColContainer::size().

Referenced by CompileErrorCells().

◆ CompileHybridFormula()

void ScTable::CompileHybridFormula ( sc::StartListeningContext rStartListenCxt,
sc::CompileFormulaContext rCompileCxt 
)

Definition at line 239 of file table7.cxx.

References aCol, CompileHybridFormula(), i, and ScColContainer::size().

Referenced by CompileHybridFormula().

◆ CompileXML()

void ScTable::CompileXML ( sc::CompileFormulaContext rCxt,
ScProgress rProgress 
)

Definition at line 2194 of file table2.cxx.

References aCol, i, mpCondFormatList, mpRangeName, and ScColContainer::size().

◆ ContainsNotesInRange()

bool ScTable::ContainsNotesInRange ( const ScRange rRange) const

◆ ConvertFormulaToValue()

void ScTable::ConvertFormulaToValue ( sc::EndListeningContext rCxt,
const SCCOL  nCol1,
const SCROW  nRow1,
const SCCOL  nCol2,
const SCROW  nRow2,
sc::TableValues pUndo 
)

◆ CopyCaptionsToTable()

void ScTable::CopyCaptionsToTable ( SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2,
ScTable pDestTab,
bool  bCloneCaption 
)

Definition at line 1483 of file table2.cxx.

References aCol, ClampToAllocatedColumns(), CreateColumnIfNotExists(), i, and ValidColRow().

Referenced by CopyToTable().

◆ CopyCellToDocument()

void ScTable::CopyCellToDocument ( SCCOL  nSrcCol,
SCROW  nSrcRow,
SCCOL  nDestCol,
SCROW  nDestRow,
ScTable rDestTab 
)

◆ CopyCellValuesFrom()

void ScTable::CopyCellValuesFrom ( const SCCOL  nCol,
SCROW  nRow,
const sc::CellValues rSrc 
)

◆ CopyColFiltered()

void ScTable::CopyColFiltered ( const ScTable rTable,
SCCOL  nStartCol,
SCCOL  nEndCol 
)

Definition at line 892 of file table5.cxx.

References ColFiltered(), and SetColFiltered().

Referenced by CopyToClip().

◆ CopyColHidden()

void ScTable::CopyColHidden ( const ScTable rTable,
SCCOL  nStartCol,
SCCOL  nEndCol 
)

Definition at line 656 of file table5.cxx.

References ColHidden(), and SetColHidden().

Referenced by CopyToClip().

◆ CopyConditionalFormat()

void ScTable::CopyConditionalFormat ( SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2,
SCCOL  nDx,
SCROW  nDy,
const ScTable pTable 
)

◆ CopyData()

void ScTable::CopyData ( SCCOL  nStartCol,
SCROW  nStartRow,
SCCOL  nEndCol,
SCROW  nEndRow,
SCCOL  nDestCol,
SCROW  nDestRow,
SCTAB  nDestTab 
)

◆ CopyFromClip()

void ScTable::CopyFromClip ( sc::CopyFromClipContext rCxt,
SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2,
SCCOL  nDx,
SCROW  nDy,
ScTable pTable 
)

◆ CopyOneCellFromClip()

void ScTable::CopyOneCellFromClip ( sc::CopyFromClipContext rCxt,
const SCCOL  nCol1,
const SCROW  nRow1,
const SCCOL  nCol2,
const SCROW  nRow2,
const SCROW  nSrcRow,
const ScTable pSrcTab 
)

◆ CopyPrintRange()

void ScTable::CopyPrintRange ( const ScTable rTable)
private

Definition at line 2258 of file table1.cxx.

References aPrintRanges, bPrintEntireSheet, moRepeatColRange, moRepeatRowRange, and nTab.

◆ CopyRowFiltered()

void ScTable::CopyRowFiltered ( const ScTable rTable,
SCROW  nStartRow,
SCROW  nEndRow 
)

Definition at line 907 of file table5.cxx.

References RowFiltered(), and SetRowFiltered().

Referenced by CopyToClip().

◆ CopyRowHeight()

void ScTable::CopyRowHeight ( const ScTable rSrcTable,
SCROW  nStartRow,
SCROW  nEndRow,
SCROW  nSrcOffset 
)

◆ CopyRowHidden()

void ScTable::CopyRowHidden ( const ScTable rTable,
SCROW  nStartRow,
SCROW  nEndRow 
)

Definition at line 671 of file table5.cxx.

References RowHidden(), and SetRowHidden().

Referenced by CopyToClip().

◆ CopyScenarioFrom()

void ScTable::CopyScenarioFrom ( const ScTable pSrcTab)

Definition at line 1575 of file table2.cxx.

References aCol, bScenario, CopyScenarioFrom(), CreateColumnIfNotExists(), i, and ScColContainer::size().

Referenced by CopyScenarioFrom().

◆ CopyScenarioTo()

void ScTable::CopyScenarioTo ( ScTable pDestTab) const

Definition at line 1567 of file table2.cxx.

References aCol, bScenario, CopyScenarioTo(), CreateColumnIfNotExists(), i, and ScColContainer::size().

Referenced by CopyScenarioTo().

◆ CopySparklinesToTable()

void ScTable::CopySparklinesToTable ( SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2,
ScTable pDestTab 
)

Definition at line 1471 of file table2.cxx.

References aCol, ClampToAllocatedColumns(), CreateColumnIfNotExists(), i, and ValidColRow().

Referenced by CopyToTable().

◆ CopyStaticToDocument()

void ScTable::CopyStaticToDocument ( SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2,
const SvNumberFormatterMergeMap rMap,
ScTable pDestTab 
)

◆ CopyToClip() [1/2]

void ScTable::CopyToClip ( sc::CopyToClipContext rCxt,
const ScRangeList rRanges,
ScTable pTable 
)

◆ CopyToClip() [2/2]

void ScTable::CopyToClip ( sc::CopyToClipContext rCxt,
SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2,
ScTable pTable 
)

◆ CopyToTable()

void ScTable::CopyToTable ( sc::CopyToDocContext rCxt,
SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2,
InsertDeleteFlags  nFlags,
bool  bMarked,
ScTable pDestTab,
const ScMarkData pMarkData,
bool  bAsLink,
bool  bColRowFlags,
bool  bGlobalNamesToLocal,
bool  bCopyCaptions 
)

◆ CopyUpdated()

void ScTable::CopyUpdated ( const ScTable pPosTab,
ScTable pDestTab 
) const

Definition at line 1549 of file table2.cxx.

References aCol, CopyUpdated(), CreateColumnIfNotExists(), FetchColumn(), i, and ScColContainer::size().

Referenced by CopyUpdated().

◆ CountNonFilteredRows()

SCROW ScTable::CountNonFilteredRows ( SCROW  nStartRow,
SCROW  nEndRow 
) const

Definition at line 983 of file table5.cxx.

References aData, mpFilteredRows, and nCount.

◆ CountVisibleCols()

SCCOL ScTable::CountVisibleCols ( SCCOL  nStartCol,
SCCOL  nEndCol 
) const

Definition at line 795 of file table5.cxx.

References aData, mpHiddenCols, and nCount.

Referenced by GetAutoFillPreview().

◆ CountVisibleRows()

SCROW ScTable::CountVisibleRows ( SCROW  nStartRow,
SCROW  nEndRow 
) const

Definition at line 751 of file table5.cxx.

References aData, mpHiddenRows, and nCount.

Referenced by GetAutoFillPreview().

◆ CreateAllNoteCaptions()

void ScTable::CreateAllNoteCaptions ( )

Definition at line 1928 of file table2.cxx.

References aCol, CreateAllNoteCaptions(), i, and ScColContainer::size().

Referenced by CreateAllNoteCaptions().

◆ CreateColumnIfNotExists()

ScColumn & ScTable::CreateColumnIfNotExists ( const SCCOL  nScCol)
inline

◆ CreateColumnIfNotExistsImpl()

void ScTable::CreateColumnIfNotExistsImpl ( const SCCOL  nScCol)

◆ CreateExcelQuery()

bool ScTable::CreateExcelQuery ( SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2,
ScQueryParam rQueryParam 
)
private

◆ CreateQueryParam()

bool ScTable::CreateQueryParam ( SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2,
ScQueryParam rQueryParam 
)

◆ CreateSortInfoArray() [1/2]

std::unique_ptr< ScSortInfoArray > ScTable::CreateSortInfoArray ( const sc::ReorderParam rParam)
private

◆ CreateSortInfoArray() [2/2]

std::unique_ptr< ScSortInfoArray > ScTable::CreateSortInfoArray ( const ScSortParam rSortParam,
SCCOLROW  nInd1,
SCCOLROW  nInd2,
bool  bKeepQuery,
bool  bUpdateRefs 
)
private

◆ CreateSparkline()

sc::Sparkline * ScTable::CreateSparkline ( SCCOL  nCol,
SCROW  nRow,
std::shared_ptr< sc::SparklineGroup > const &  pSparklineGroup 
)

Definition at line 1859 of file table2.cxx.

References CreateColumnIfNotExists(), ScColumn::CreateSparklineCell(), and ValidCol().

Referenced by FillSparkline().

◆ CreateStarQuery()

bool ScTable::CreateStarQuery ( SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2,
ScQueryParam rQueryParam 
)
private

◆ DBShowRow()

void ScTable::DBShowRow ( SCROW  nRow,
bool  bShow 
)

◆ DBShowRows()

void ScTable::DBShowRows ( SCROW  nRow1,
SCROW  nRow2,
bool  bShow 
)

◆ DecoladeRow()

void ScTable::DecoladeRow ( ScSortInfoArray pArray,
SCROW  nRow1,
SCROW  nRow2 
)
staticprivate

Definition at line 1778 of file table3.cxx.

References i, ScSortInfoArray::Swap(), and comphelper::rng::uniform_int_distribution().

Referenced by Sort(), and TopTenQuery().

◆ DeleteArea()

void ScTable::DeleteArea ( SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2,
InsertDeleteFlags  nDelFlag,
bool  bBroadcast = true,
sc::ColumnSpanSet pBroadcastSpans = nullptr 
)

◆ DeleteBeforeCopyFromClip()

void ScTable::DeleteBeforeCopyFromClip ( sc::CopyFromClipContext rCxt,
const ScTable rClipTab,
sc::ColumnSpanSet rBroadcastSpans 
)

◆ DeleteBroadcasters()

void ScTable::DeleteBroadcasters ( sc::ColumnBlockPosition rBlockPos,
SCCOL  nCol,
SCROW  nRow1,
SCROW  nRow2 
)

Definition at line 2585 of file table1.cxx.

References aCol, and IsColValid().

Referenced by ScDocument::DeleteBroadcasters().

◆ DeleteCol()

void ScTable::DeleteCol ( const sc::ColumnSet rRegroupCols,
SCCOL  nStartCol,
SCROW  nStartRow,
SCROW  nEndRow,
SCSIZE  nSize,
bool *  pUndoOutline 
)

◆ DeleteConditionalFormat()

void ScTable::DeleteConditionalFormat ( sal_uLong  nOldIndex)

Definition at line 2677 of file table1.cxx.

References mpCondFormatList, and nIndex.

◆ DeleteEmptyBroadcasters()

void ScTable::DeleteEmptyBroadcasters ( )

Definition at line 2594 of file table1.cxx.

References aCol.

◆ DeleteRow()

void ScTable::DeleteRow ( const sc::ColumnSet rRegroupCols,
SCCOL  nStartCol,
SCCOL  nEndCol,
SCROW  nStartRow,
SCSIZE  nSize,
bool *  pUndoOutline,
std::vector< ScAddress > *  pGroupPos 
)

◆ DeleteSelection()

void ScTable::DeleteSelection ( InsertDeleteFlags  nDelFlag,
const ScMarkData rMark,
bool  bBroadcast = true 
)

◆ DeleteSparkline()

bool ScTable::DeleteSparkline ( SCCOL  nCol,
SCROW  nRow 
)

Definition at line 1872 of file table2.cxx.

References aCol, GetAllocatedColumnsCount(), and ValidCol().

◆ DestroySortCollator()

void ScTable::DestroySortCollator ( )

Definition at line 644 of file table3.cxx.

References IsSortCollatorGlobal(), and pSortCollator.

Referenced by InitSortCollator(), Sort(), TopTenQuery(), and ~ScTable().

◆ DetachFormulaCells()

void ScTable::DetachFormulaCells ( sc::EndListeningContext rCxt,
SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2 
)
private

Definition at line 1279 of file table2.cxx.

References aCol, ClampToAllocatedColumns(), and DetachFormulaCells().

Referenced by DetachFormulaCells(), and SortReorderByRow().

◆ DoAutoOutline()

void ScTable::DoAutoOutline ( SCCOL  nStartCol,
SCROW  nStartRow,
SCCOL  nEndCol,
SCROW  nEndRow 
)

◆ DoSubTotals()

bool ScTable::DoSubTotals ( ScSubTotalParam rParam)

◆ dumpColumnRowGroups()

OString ScTable::dumpColumnRowGroups ( bool  bColumns) const
private

Returns list-of-spans representation of the column/row groupings encoded as an OString.

Definition at line 578 of file table7.cxx.

References pOutlineTable.

Referenced by dumpSheetGeomData().

◆ dumpColumnRowSizes()

OString ScTable::dumpColumnRowSizes ( bool  bColumns)
private

Returns list-of-spans representation of the column-widths/row-heights in twips encoded as an OString.

Definition at line 518 of file table7.cxx.

References GetDoc(), mpColWidth, mpRowHeights, ScGlobal::nStdRowHeight, and STD_COL_WIDTH.

Referenced by dumpSheetGeomData().

◆ DumpColumnStorage()

void ScTable::DumpColumnStorage ( SCCOL  nCol) const

◆ dumpHiddenFiltered()

OString ScTable::dumpHiddenFiltered ( bool  bColumns,
bool  bHidden 
)
private

Returns list-of-spans representation of hidden/filtered states of columns/rows encoded as an OString.

Definition at line 558 of file table7.cxx.

References GetDoc(), mpFilteredCols, mpFilteredRows, mpHiddenCols, and mpHiddenRows.

Referenced by dumpSheetGeomData().

◆ dumpSheetGeomData()

OString ScTable::dumpSheetGeomData ( bool  bColumns,
SheetGeomType  eGeomType 
)

Serializes the sheet's geometry data.

Parameters
bColumns- if true it dumps the data for columns, else it does for rows.
eGeomTypeindicates the type of data to be dumped for rows/columns.
Returns
the serialization of the sheet's geometry data as an OString.

Definition at line 485 of file table7.cxx.

References dumpColumnRowGroups(), dumpColumnRowSizes(), dumpHiddenFiltered(), FILTERED, GROUPS, HIDDEN, and SIZES.

Referenced by ScDocument::dumpSheetGeomData().

◆ EndListening() [1/2]

void ScTable::EndListening ( const ScAddress rAddress,
SvtListener pListener 
)
private

◆ EndListening() [2/2]

void ScTable::EndListening ( sc::EndListeningContext rCxt,
const ScAddress rAddress,
SvtListener rListener 
)
private

Definition at line 1155 of file table5.cxx.

References aCol, ScAddress::Col(), ScColContainer::size(), and ValidCol().

◆ EndListeningGroup()

void ScTable::EndListeningGroup ( sc::EndListeningContext rCxt,
const SCCOL  nCol,
SCROW  nRow 
)
private

Definition at line 328 of file table7.cxx.

References aCol, and IsColValid().

Referenced by ScDocument::EndListeningGroups().

◆ EndListeningIntersectedGroup()

void ScTable::EndListeningIntersectedGroup ( sc::EndListeningContext rCxt,
SCCOL  nCol,
SCROW  nRow,
std::vector< ScAddress > *  pGroupPos 
)
private

Definition at line 308 of file table7.cxx.

References aCol, and IsColValid().

Referenced by ScDocument::EndListeningIntersectedGroup().

◆ EndListeningIntersectedGroups()

void ScTable::EndListeningIntersectedGroups ( sc::EndListeningContext rCxt,
const SCCOL  nCol1,
SCROW  nRow1,
const SCCOL  nCol2,
SCROW  nRow2,
std::vector< ScAddress > *  pGroupPos 
)
private

◆ EnsureFormulaCellResults()

bool ScTable::EnsureFormulaCellResults ( const SCCOL  nCol1,
SCROW  nRow1,
const SCCOL  nCol2,
SCROW  nRow2,
bool  bSkipRunning = false 
)

Definition at line 433 of file table7.cxx.

References aCol, IsColValid(), ScColContainer::size(), and ValidCol().

Referenced by ScDocument::EnsureFormulaCellResults().

◆ ExtendHidden()

void ScTable::ExtendHidden ( SCCOL rX1,
SCROW rY1,
SCCOL rX2,
SCROW rY2 
)

◆ ExtendMerge()

bool ScTable::ExtendMerge ( SCCOL  nStartCol,
SCROW  nStartRow,
SCCOL rEndCol,
SCROW rEndRow,
bool  bRefresh 
)

◆ ExtendPrintArea()

void ScTable::ExtendPrintArea ( OutputDevice pDev,
SCCOL  nStartCol,
SCROW  nStartRow,
SCCOL rEndCol,
SCROW  nEndRow 
)

◆ FetchColumn() [1/2]

ScColumn * ScTable::FetchColumn ( SCCOL  nCol)
private

◆ FetchColumn() [2/2]

const ScColumn * ScTable::FetchColumn ( SCCOL  nCol) const
private

Definition at line 1243 of file table2.cxx.

References aCol, GetAllocatedColumnsCount(), and ValidCol().

◆ FetchVectorRefArray()

formula::VectorRefArray ScTable::FetchVectorRefArray ( SCCOL  nCol,
SCROW  nRow1,
SCROW  nRow2 
)

Definition at line 2525 of file table1.cxx.

References aCol, IsColValid(), and ValidRow().

◆ Fill()

void ScTable::Fill ( SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2,
sal_uInt64  nFillCount,
FillDir  eFillDir,
FillCmd  eFillCmd,
FillDateCmd  eFillDateCmd,
double  nStepValue,
double  nMaxValue,
ScProgress pProgress 
)

Definition at line 2599 of file table4.cxx.

References FILL_AUTO, FillAuto(), and FillSeries().

◆ FillAnalyse()

void ScTable::FillAnalyse ( SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2,
FillCmd rCmd,
FillDateCmd rDateCmd,
double &  rInc,
sal_uInt16 &  rMinDigits,
ScUserListData *&  rListData,
sal_uInt16 &  rListIndex,
bool  bHasFiltered,
bool &  rSkipOverlappedCells,
std::vector< sal_Int32 > &  rNonOverlappedCellIdx 
)
private

◆ FillAuto()

void ScTable::FillAuto ( SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2,
sal_uInt64  nFillCount,
FillDir  eFillDir,
ScProgress pProgress 
)
private

◆ FillAutoSimple()

void ScTable::FillAutoSimple ( SCCOLROW  nISrcStart,
SCCOLROW  nISrcEnd,
SCCOLROW  nIStart,
SCCOLROW  nIEnd,
SCCOLROW rInner,
const SCCOLROW rCol,
const SCCOLROW rRow,
sal_uInt64  nActFormCnt,
sal_uInt64  nMaxFormCnt,
bool  bHasFiltered,
bool  bVertical,
bool  bPositive,
ScProgress pProgress,
sal_uInt64 &  rProgress 
)
private

◆ FillFormula()

void ScTable::FillFormula ( const ScFormulaCell pSrcCell,
SCCOL  nDestCol,
SCROW  nDestRow,
bool  bLast 
)
private

◆ FillFormulaVertical()

void ScTable::FillFormulaVertical ( const ScFormulaCell rSrcCell,
SCCOLROW rInner,
SCCOL  nCol,
SCROW  nRow1,
SCROW  nRow2,
ScProgress pProgress,
sal_uInt64 &  rProgress 
)
private

◆ FillMatrix()

void ScTable::FillMatrix ( ScMatrix rMat,
SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2,
svl::SharedStringPool pPool 
) const

Definition at line 2600 of file table1.cxx.

References aCol, ClampToAllocatedColumns(), and FillMatrix().

Referenced by FillMatrix(), and ScDocument::FillMatrix().

◆ FillMaxRot()

SCSIZE ScTable::FillMaxRot ( RowInfo pRowInfo,
SCSIZE  nArrCount,
SCCOL  nX1,
SCCOL  nX2,
SCCOL  nCol,
SCROW  nAttrRow1,
SCROW  nAttrRow2,
SCSIZE  nArrY,
const ScPatternAttr pPattern,
const SfxItemSet pCondSet 
)
private

◆ FillPrintSaver()

void ScTable::FillPrintSaver ( ScPrintSaverTab rSaveTab) const

◆ FillSeries()

void ScTable::FillSeries ( SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2,
sal_uInt64  nFillCount,
FillDir  eFillDir,
FillCmd  eFillCmd,
FillDateCmd  eFillDateCmd,
double  nStepValue,
double  nMaxValue,
sal_uInt16  nMinDigits,
bool  bAttribs,
ScProgress pProgress,
bool  bSkipOverlappedCells = false,
std::vector< sal_Int32 > *  pNonOverlappedCellIdx = nullptr 
)
private

◆ FillSeriesSimple()

void ScTable::FillSeriesSimple ( const ScCellValue rSrcCell,
SCCOLROW rInner,
SCCOLROW  nIMin,
SCCOLROW  nIMax,
const SCCOLROW rCol,
const SCCOLROW rRow,
bool  bVertical,
ScProgress pProgress,
sal_uInt64 &  rProgress 
)
private

◆ FillSparkline()

void ScTable::FillSparkline ( bool  bVertical,
SCCOLROW  nFixed,
SCCOLROW  nIteratingStart,
SCCOLROW  nIteratingEnd,
SCCOLROW  nFillStart,
SCCOLROW  nFillEnd 
)

Definition at line 1242 of file table4.cxx.

References CreateSparkline(), GetSparkline(), and nIndex.

Referenced by FillAuto().

◆ finalizeOutlineImport()

void ScTable::finalizeOutlineImport ( )

Definition at line 451 of file table7.cxx.

References pOutlineTable, and pRowFlags.

◆ FindAreaPos()

void ScTable::FindAreaPos ( SCCOL rCol,
SCROW rRow,
ScMoveDirection  eDirection 
) const

◆ FindMaxRotCol()

void ScTable::FindMaxRotCol ( RowInfo pRowInfo,
SCSIZE  nArrCount,
SCCOL  nX1,
SCCOL  nX2 
)

◆ FindNextVisibleCol()

SCCOL ScTable::FindNextVisibleCol ( SCCOL  nCol,
bool  bRight 
) const
private

Definition at line 1290 of file table1.cxx.

References ScDocument::ColHidden(), ScDocument::MaxCol(), nTab, and rDocument.

Referenced by FindAreaPos().

◆ FindNextVisibleColWithContent()

SCCOL ScTable::FindNextVisibleColWithContent ( SCCOL  nCol,
bool  bRight,
SCROW  nRow 
) const
private

Definition at line 1314 of file table1.cxx.

References aCol, ScDocument::ColHidden(), ScDocument::MaxCol(), nTab, rDocument, and ScColContainer::size().

Referenced by FindAreaPos().

◆ FindRangeNamesInUse()

void ScTable::FindRangeNamesInUse ( SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2,
sc::UpdatedRangeNames rIndexes 
) const

Definition at line 2062 of file table1.cxx.

References aCol, FindRangeNamesInUse(), i, and IsColValid().

Referenced by FindRangeNamesInUse().

◆ FirstNonFilteredRow()

SCROW ScTable::FirstNonFilteredRow ( SCROW  nStartRow,
SCROW  nEndRow 
) const

Definition at line 937 of file table5.cxx.

References aData, mpFilteredRows, and ValidRow().

◆ FirstVisibleRow()

SCROW ScTable::FirstVisibleRow ( SCROW  nStartRow,
SCROW  nEndRow 
) const

Definition at line 705 of file table5.cxx.

References aData, mpHiddenRows, and ValidRow().

◆ ForgetNoteCaptions()

void ScTable::ForgetNoteCaptions ( SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2,
bool  bPreserveData 
)

◆ GetAllColBreaks()

void ScTable::GetAllColBreaks ( ::std::set< SCCOL > &  rBreaks,
bool  bPage,
bool  bManual 
) const

Definition at line 344 of file table5.cxx.

References copy(), maColManualBreaks, and maColPageBreaks.

◆ GetAllNoteCaptionsState()

CommentCaptionState ScTable::GetAllNoteCaptionsState ( const ScRange rRange,
std::vector< sc::NoteEntry > &  rNotes 
)

◆ GetAllNoteEntries()

void ScTable::GetAllNoteEntries ( std::vector< sc::NoteEntry > &  rNotes) const

Definition at line 1943 of file table2.cxx.

References aCol, GetAllNoteEntries(), and ScColContainer::size().

Referenced by ScDocument::GetAllNoteEntries(), and GetAllNoteEntries().

◆ GetAllocatedColumnsCount()

SCCOL ScTable::GetAllocatedColumnsCount ( ) const
inline

◆ GetAllocatedColumnsRange()

ScColumnsRange ScTable::GetAllocatedColumnsRange ( SCCOL  begin,
SCCOL  end 
) const

◆ GetAllRowBreaks()

void ScTable::GetAllRowBreaks ( ::std::set< SCROW > &  rBreaks,
bool  bPage,
bool  bManual 
) const

Definition at line 332 of file table5.cxx.

References copy(), maRowManualBreaks, and maRowPageBreaks.

◆ GetAnonymousDBData()

ScDBData * ScTable::GetAnonymousDBData ( )
inline

Definition at line 393 of file table.hxx.

References pDBDataNoName.

◆ GetAreaStyle()

const ScStyleSheet * ScTable::GetAreaStyle ( bool &  rFound,
SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2 
) const

Definition at line 3093 of file table2.cxx.

References aCol, ClampToAllocatedColumns(), and i.

◆ GetAttr() [1/4]

const SfxPoolItem * ScTable::GetAttr ( SCCOL  nCol,
SCROW  nRow,
sal_uInt16  nWhich 
) const

Definition at line 2239 of file table2.cxx.

References ColumnData(), ScColumnData::GetAttr(), and ValidColRow().

Referenced by FillAnalyse(), GetAttr(), and GetAutoFormatFrame().

◆ GetAttr() [2/4]

const SfxPoolItem * ScTable::GetAttr ( SCCOL  nCol,
SCROW  nRow,
sal_uInt16  nWhich,
SCROW nStartRow,
SCROW nEndRow 
) const

Definition at line 2246 of file table2.cxx.

References ColumnData(), ScColumnData::GetAttr(), and ValidColRow().

◆ GetAttr() [3/4]

template<class T >
const T * ScTable::GetAttr ( SCCOL  nCol,
SCROW  nRow,
TypedWhichId< T >  nWhich 
) const
inline

Definition at line 736 of file table.hxx.

References GetAttr().

◆ GetAttr() [4/4]

template<class T >
const T * ScTable::GetAttr ( SCCOL  nCol,
SCROW  nRow,
TypedWhichId< T >  nWhich,
SCROW nStartRow,
SCROW nEndRow 
) const
inline

Definition at line 741 of file table.hxx.

References GetAttr().

◆ GetAutoFillPreview()

OUString ScTable::GetAutoFillPreview ( const ScRange rSource,
SCCOL  nEndX,
SCROW  nEndY 
)

◆ GetAutoFormatAttr()

void ScTable::GetAutoFormatAttr ( SCCOL  nCol,
SCROW  nRow,
sal_uInt16  nIndex,
ScAutoFormatData rData 
)
private

◆ GetAutoFormatData()

void ScTable::GetAutoFormatData ( SCCOL  nStartCol,
SCROW  nStartRow,
SCCOL  nEndCol,
SCROW  nEndRow,
ScAutoFormatData rData 
)

◆ GetAutoFormatFrame()

void ScTable::GetAutoFormatFrame ( SCCOL  nCol,
SCROW  nRow,
sal_uInt16  nFlags,
sal_uInt16  nIndex,
ScAutoFormatData rData 
)
private

◆ GetBroadcaster() [1/2]

SvtBroadcaster * ScTable::GetBroadcaster ( SCCOL  nCol,
SCROW  nRow 
)

Definition at line 2577 of file table1.cxx.

References aCol, and IsColRowValid().

Referenced by ScDocument::GetBroadcaster().

◆ GetBroadcaster() [2/2]

const SvtBroadcaster * ScTable::GetBroadcaster ( SCCOL  nCol,
SCROW  nRow 
) const

Definition at line 2669 of file table1.cxx.

References aCol, and IsColRowValid().

◆ GetCalcNotification()

bool ScTable::GetCalcNotification ( ) const
inline

Definition at line 355 of file table.hxx.

References bCalcNotification.

◆ GetCellArea()

bool ScTable::GetCellArea ( SCCOL rEndCol,
SCROW rEndRow 
)

◆ GetCellCount()

sal_uInt64 ScTable::GetCellCount ( ) const

Definition at line 3003 of file table3.cxx.

References aCol, GetCellCount(), and ScColContainer::size().

Referenced by ExtendPrintArea(), GetCellCount(), and GetCodeCount().

◆ GetCellType() [1/2]

CellType ScTable::GetCellType ( const ScAddress rPos) const
inline

◆ GetCellType() [2/2]

CellType ScTable::GetCellType ( SCCOL  nCol,
SCROW  nRow 
) const

Definition at line 2014 of file table2.cxx.

References aCol, CELLTYPE_NONE, GetAllocatedColumnsCount(), and ValidColRow().

◆ GetCellValue() [1/2]

ScRefCellValue ScTable::GetCellValue ( SCCOL  nCol,
sc::ColumnBlockPosition rBlockPos,
SCROW  nRow 
)

◆ GetCellValue() [2/2]

ScRefCellValue ScTable::GetCellValue ( SCCOL  nCol,
SCROW  nRow 
) const

Definition at line 2021 of file table2.cxx.

References aCol, GetAllocatedColumnsCount(), and ValidColRow().

◆ GetCodeCount()

sal_uInt64 ScTable::GetCodeCount ( ) const

Definition at line 3033 of file table3.cxx.

References aCol, GetCellCount(), and ScColContainer::size().

◆ GetCodeName()

const OUString & ScTable::GetCodeName ( ) const
inline

Definition at line 395 of file table.hxx.

References aCodeName.

◆ GetColFlags()

CRFlags ScTable::GetColFlags ( SCCOL  nCol) const

Definition at line 3874 of file table2.cxx.

References mpColFlags, NONE, and ValidCol().

◆ GetColOffset()

tools::Long ScTable::GetColOffset ( SCCOL  nCol,
bool  bHiddenAsZero = true 
) const

Definition at line 4355 of file table2.cxx.

References ColHidden(), i, mpColWidth, and n.

Referenced by SetDrawPageSize().

◆ GetColumnData()

ScColumnData & ScTable::GetColumnData ( SCCOL  nCol)
inline

Definition at line 304 of file table.hxx.

References aCol, aDefaultColData, and ScColContainer::size().

Referenced by FillAuto(), and FillAutoSimple().

◆ GetColumnIterator()

std::optional< sc::ColumnIterator > ScTable::GetColumnIterator ( SCCOL  nCol,
SCROW  nRow1,
SCROW  nRow2 
) const

◆ GetColumnsRange()

ScColumnsRange ScTable::GetColumnsRange ( SCCOL  begin,
SCCOL  end 
) const

◆ GetColWidth() [1/2]

sal_uInt16 ScTable::GetColWidth ( SCCOL  nCol,
bool  bHiddenAsZero = true 
) const

◆ GetColWidth() [2/2]

tools::Long ScTable::GetColWidth ( SCCOL  nStartCol,
SCCOL  nEndCol 
) const

Definition at line 3470 of file table2.cxx.

References ColHidden(), mpColWidth, and ValidCol().

◆ GetCommonWidth()

sal_uInt16 ScTable::GetCommonWidth ( SCCOL  nEndCol) const

Definition at line 3502 of file table2.cxx.

References ColHidden(), ScDocument::MaxCol(), mpColWidth, rDocument, and ValidCol().

◆ GetCondFormList() [1/2]

ScConditionalFormatList * ScTable::GetCondFormList ( )

Definition at line 2687 of file table1.cxx.

References mpCondFormatList.

◆ GetCondFormList() [2/2]

const ScConditionalFormatList * ScTable::GetCondFormList ( ) const

Definition at line 2695 of file table1.cxx.

References mpCondFormatList.

◆ GetDataArea()

void ScTable::GetDataArea ( SCCOL rStartCol,
SCROW rStartRow,
SCCOL rEndCol,
SCROW rEndRow,
bool  bIncludeOld,
bool  bOnlyDown 
) const

Definition at line 885 of file table1.cxx.

References aCol, GetLastDataRow(), i, IsEmptyData(), ScDocument::MaxRow(), rDocument, and ScColContainer::size().

Referenced by StoreToCache().

◆ GetDataAreaSubrange()

bool ScTable::GetDataAreaSubrange ( ScRange rRange) const

◆ GetDataEntries()

bool ScTable::GetDataEntries ( SCCOL  nCol,
SCROW  nRow,
std::set< ScTypedStrData > &  rStrings 
)

Definition at line 2996 of file table3.cxx.

References aCol, GetAllocatedColumnsCount(), and ValidCol().

◆ GetDataStart()

bool ScTable::GetDataStart ( SCCOL rStartCol,
SCROW rStartRow 
) const

Definition at line 809 of file table1.cxx.

References aCol, i, IsEmptyData(), ScDocument::MaxRow(), rDocument, and ScColContainer::size().

◆ GetDoc() [1/2]

ScDocument & ScTable::GetDoc ( )
inline

◆ GetDoc() [2/2]

const ScDocument & ScTable::GetDoc ( ) const
inline

Definition at line 290 of file table.hxx.

References rDocument.

◆ GetEditText()

const EditTextObject * ScTable::GetEditText ( SCCOL  nCol,
SCROW  nRow 
) const

Definition at line 1805 of file table2.cxx.

References aCol, GetAllocatedColumnsCount(), and ValidColRow().

◆ GetEmptyLinesInBlock()

SCSIZE ScTable::GetEmptyLinesInBlock ( SCCOL  nStartCol,
SCROW  nStartRow,
SCCOL  nEndCol,
SCROW  nEndRow,
ScDirection  eDir 
) const

◆ GetErrCode()

FormulaError ScTable::GetErrCode ( const ScAddress rPos) const
inline

Definition at line 660 of file table.hxx.

References aCol, ScAddress::Col(), IsColRowValid(), and ScAddress::Row().

◆ GetFilteredFilterEntries()

void ScTable::GetFilteredFilterEntries ( SCCOL  nCol,
SCROW  nRow1,
SCROW  nRow2,
const ScQueryParam rParam,
ScFilterEntries rFilterEntries,
bool  bFiltering 
)

◆ GetFilterEntries()

void ScTable::GetFilterEntries ( SCCOL  nCol,
SCROW  nRow1,
SCROW  nRow2,
ScFilterEntries rFilterEntries,
bool  bFiltering = false 
)

Definition at line 2958 of file table3.cxx.

References aCol, and ScColContainer::size().

◆ GetFirstDataPos()

void ScTable::GetFirstDataPos ( SCCOL rCol,
SCROW rRow 
) const

◆ GetFirstEditTextRow()

SCROW ScTable::GetFirstEditTextRow ( SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2 
) const

◆ GetFormula()

OUString ScTable::GetFormula ( SCCOL  nCol,
SCROW  nRow 
) const

Definition at line 1821 of file table2.cxx.

References aCol, GetAllocatedColumnsCount(), and ValidColRow().

◆ GetFormulaCell() [1/2]

ScFormulaCell * ScTable::GetFormulaCell ( SCCOL  nCol,
SCROW  nRow 
)

Definition at line 1837 of file table2.cxx.

References aCol, GetAllocatedColumnsCount(), and ValidColRow().

◆ GetFormulaCell() [2/2]

const ScFormulaCell * ScTable::GetFormulaCell ( SCCOL  nCol,
SCROW  nRow 
) const

Definition at line 1829 of file table2.cxx.

References aCol, GetAllocatedColumnsCount(), and ValidColRow().

Referenced by ScDocument::SetString(), and ScDocument::SetValue().

◆ GetHashCode()

sal_Int64 ScTable::GetHashCode ( ) const

Definition at line 350 of file table1.cxx.

◆ GetHiddenRowCount()

SCROW ScTable::GetHiddenRowCount ( SCROW  nRow) const

Definition at line 3673 of file table2.cxx.

References RowHidden(), and ValidRow().

◆ GetInputString()

OUString ScTable::GetInputString ( SCCOL  nCol,
SCROW  nRow,
bool  bForceSystemLocale = false 
) const

Definition at line 1790 of file table2.cxx.

References aCol, GetAllocatedColumnsCount(), and ValidColRow().

Referenced by CreateExcelQuery(), and GetUpperCellString().

◆ GetLastChangedColFlagsWidth()

SCCOL ScTable::GetLastChangedColFlagsWidth ( ) const
Returns
the index of the last changed column (flags and column width, auto pagebreak is ignored).

Definition at line 3920 of file table2.cxx.

References All, GetDoc(), ScDocument::MaxCol(), mpColFlags, mpColWidth, and STD_COL_WIDTH.

◆ GetLastChangedRowFlagsWidth()

SCROW ScTable::GetLastChangedRowFlagsWidth ( ) const
Returns
the index of the last changed row (flags and row height, auto pagebreak is ignored).

Definition at line 3934 of file table2.cxx.

References GetLastFlaggedRow(), mpRowHeights, ScGlobal::nStdRowHeight, pRowFlags, and ValidRow().

◆ GetLastDataPos()

void ScTable::GetLastDataPos ( SCCOL rCol,
SCROW rRow 
) const

◆ GetLastDataRow()

SCROW ScTable::GetLastDataRow ( SCCOL  nCol1,
SCCOL  nCol2,
SCROW  nLastRow,
ScDataAreaExtras pDataAreaExtras = nullptr 
) const

◆ GetLastFlaggedRow()

SCROW ScTable::GetLastFlaggedRow ( ) const
Returns
the index of the last row with any set flags (auto-pagebreak is ignored).

Definition at line 3890 of file table2.cxx.

References All, maRowManualBreaks, mpFilteredRows, mpHiddenRows, pRowFlags, and ValidRow().

Referenced by GetLastChangedRowFlagsWidth().

◆ GetLinkDoc()

const OUString & ScTable::GetLinkDoc ( ) const
inline

Definition at line 378 of file table.hxx.

References aLinkDoc.

◆ GetLinkFlt()

const OUString & ScTable::GetLinkFlt ( ) const
inline

Definition at line 379 of file table.hxx.

References aLinkFlt.

◆ GetLinkMode()

ScLinkMode ScTable::GetLinkMode ( ) const
inline

Definition at line 376 of file table.hxx.

References nLinkMode.

◆ GetLinkOpt()

const OUString & ScTable::GetLinkOpt ( ) const
inline

Definition at line 380 of file table.hxx.

References aLinkOpt.

◆ GetLinkRefreshDelay()

sal_uLong ScTable::GetLinkRefreshDelay ( ) const
inline

Definition at line 382 of file table.hxx.

References nLinkRefreshDelay.

◆ GetLinkTab()

const OUString & ScTable::GetLinkTab ( ) const
inline

Definition at line 381 of file table.hxx.

References aLinkTab.

◆ GetLOKFreezeCol()

SCCOL ScTable::GetLOKFreezeCol ( ) const
private

Definition at line 589 of file table7.cxx.

References ScAddress::Col(), and maLOKFreezeCell.

Referenced by ScDocument::GetLOKFreezeCol().

◆ GetLOKFreezeRow()

SCROW ScTable::GetLOKFreezeRow ( ) const
private

Definition at line 594 of file table7.cxx.

References maLOKFreezeCell, and ScAddress::Row().

Referenced by ScDocument::GetLOKFreezeRow().

◆ GetMaxNumberStringLen()

sal_Int32 ScTable::GetMaxNumberStringLen ( sal_uInt16 &  nPrecision,
SCCOL  nCol,
SCROW  nRowStart,
SCROW  nRowEnd 
) const

Definition at line 3053 of file table3.cxx.

References aCol, and IsColValid().

◆ GetMaxStringLen()

sal_Int32 ScTable::GetMaxStringLen ( SCCOL  nCol,
SCROW  nRowStart,
SCROW  nRowEnd,
rtl_TextEncoding  eCharSet 
) const

Definition at line 3044 of file table3.cxx.

References aCol, and IsColValid().

◆ GetMostUsedPattern()

const ScPatternAttr * ScTable::GetMostUsedPattern ( SCCOL  nCol,
SCROW  nStartRow,
SCROW  nEndRow 
) const

◆ GetName()

const OUString & ScTable::GetName ( ) const
inline

Definition at line 389 of file table.hxx.

References aName.

Referenced by ScDocument::GetAllTableNames().

◆ GetNeededSize()

tools::Long ScTable::GetNeededSize ( SCCOL  nCol,
SCROW  nRow,
OutputDevice pDev,
double  nPPTX,
double  nPPTY,
const Fraction rZoomX,
const Fraction rZoomY,
bool  bWidth,
bool  bTotalSize,
bool  bInPrintTwips = false 
)

◆ GetNextManualBreak()

SCROW ScTable::GetNextManualBreak ( SCROW  nRow) 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.

Parameters
nRowrow at which the search begins.
Returns
SCROW next row position with manual page break, or -1 if no more manual breaks are present.

Definition at line 388 of file table5.cxx.

References maRowManualBreaks.

Referenced by UpdatePageBreaks().

◆ GetNextMarkedCell()

bool ScTable::GetNextMarkedCell ( SCCOL rCol,
SCROW rRow,
const ScMarkData rMark 
) const
private

◆ GetNextPos()

void ScTable::GetNextPos ( SCCOL rCol,
SCROW rRow,
SCCOL  nMovX,
SCROW  nMovY,
bool  bMarked,
bool  bUnprotected,
const ScMarkData rMark,
SCCOL  nTabStartCol 
) const

◆ GetNextSpellingCell()

bool ScTable::GetNextSpellingCell ( SCCOL rCol,
SCROW rRow,
bool  bInSel,
const ScMarkData rMark 
) const
private

◆ GetNote()

ScPostIt * ScTable::GetNote ( SCCOL  nCol,
SCROW  nRow 
)

Definition at line 1897 of file table2.cxx.

References aCol, GetAllocatedColumnsCount(), and ValidCol().

◆ GetNoteCount()

size_t ScTable::GetNoteCount ( SCCOL  nCol) const

Definition at line 1912 of file table2.cxx.

References aCol, GetAllocatedColumnsCount(), and ValidCol().

Referenced by ScDocument::GetNoteCount().

◆ GetNotePosition()

SCROW ScTable::GetNotePosition ( SCCOL  nCol,
size_t  nIndex 
) const

Definition at line 1920 of file table2.cxx.

References aCol, GetAllocatedColumnsCount(), nIndex, and ValidCol().

Referenced by ScDocument::GetNotePosition().

◆ GetNotesInRange()

void ScTable::GetNotesInRange ( const ScRange rRange,
std::vector< sc::NoteEntry > &  rNotes 
) const

◆ GetNumberFormat() [1/3]

sal_uInt32 ScTable::GetNumberFormat ( const ScInterpreterContext rContext,
const ScAddress rPos 
) const

◆ GetNumberFormat() [2/3]

sal_uInt32 ScTable::GetNumberFormat ( SCCOL  nCol,
SCROW  nRow 
) const

Definition at line 2260 of file table2.cxx.

References ScDocument::GetNonThreadedContext(), GetNumberFormat(), nTab, and rDocument.

◆ GetNumberFormat() [3/3]

sal_uInt32 ScTable::GetNumberFormat ( SCCOL  nCol,
SCROW  nStartRow,
SCROW  nEndRow 
) const

Definition at line 2265 of file table2.cxx.

References ColumnData(), ScColumnData::GetNumberFormat(), ValidCol(), and ValidRow().

◆ GetOptimalColWidth()

sal_uInt16 ScTable::GetOptimalColWidth ( SCCOL  nCol,
OutputDevice pDev,
double  nPPTX,
double  nPPTY,
const Fraction rZoomX,
const Fraction rZoomY,
bool  bFormula,
const ScMarkData pMarkData,
const ScColWidthParam pParam 
)

Definition at line 430 of file table1.cxx.

References aCol, nPPTX, nPPTY, ScColContainer::size(), STD_COL_WIDTH, and STD_EXTRA_WIDTH.

◆ GetOriginalHeight()

sal_uInt16 ScTable::GetOriginalHeight ( SCROW  nRow) const

Definition at line 3661 of file table2.cxx.

References ScGlobal::nStdRowHeight, and ValidRow().

Referenced by CopyOneCellFromClip().

◆ GetOriginalWidth()

sal_uInt16 ScTable::GetOriginalWidth ( SCCOL  nCol) const

Definition at line 3492 of file table2.cxx.

References STD_COL_WIDTH, and ValidCol().

◆ GetOutlineTable()

ScOutlineTable * ScTable::GetOutlineTable ( )
inline

Definition at line 293 of file table.hxx.

References pOutlineTable.

◆ GetPageSize()

Size ScTable::GetPageSize ( ) const

Definition at line 1108 of file table5.cxx.

References aPageSizeTwips, and bPageSizeValid.

◆ GetPageStyle()

const OUString & ScTable::GetPageStyle ( ) const
inline

Definition at line 400 of file table.hxx.

References aPageStyle.

◆ GetPattern()

const ScPatternAttr * ScTable::GetPattern ( SCCOL  nCol,
SCROW  nRow 
) const

◆ GetPatternCount() [1/2]

SCSIZE ScTable::GetPatternCount ( SCCOL  nCol) const

Definition at line 2966 of file table4.cxx.

References aCol, and ValidCol().

◆ GetPatternCount() [2/2]

SCSIZE ScTable::GetPatternCount ( SCCOL  nCol,
SCROW  nRow1,
SCROW  nRow2 
) const

Definition at line 2974 of file table4.cxx.

References aCol, ValidCol(), and ValidRow().

◆ GetPrintArea()

bool ScTable::GetPrintArea ( SCCOL rEndCol,
SCROW rEndRow,
bool  bNotes,
bool  bCalcHiddens = false 
) const

◆ GetPrintAreaHor()

bool ScTable::GetPrintAreaHor ( SCROW  nStartRow,
SCROW  nEndRow,
SCCOL rEndCol 
) const

Definition at line 711 of file table1.cxx.

References aCol, i, IsEmptyData(), ScDocument::MaxCol(), rDocument, and ScColContainer::size().

◆ GetPrintAreaVer()

bool ScTable::GetPrintAreaVer ( SCCOL  nStartCol,
SCCOL  nEndCol,
SCROW rEndRow,
bool  bNotes 
) const

Definition at line 756 of file table1.cxx.

References aCol, i, IsEmptyData(), and ScColContainer::size().

◆ GetPrintRange()

const ScRange * ScTable::GetPrintRange ( sal_uInt16  nPos) const

Definition at line 2333 of file table1.cxx.

References aPrintRanges, GetPrintRangeCount(), and nPos.

Referenced by UpdatePageBreaks().

◆ GetPrintRangeCount()

sal_uInt16 ScTable::GetPrintRangeCount ( ) const
inline

Definition at line 816 of file table.hxx.

References aPrintRanges.

Referenced by GetPrintRange(), UpdatePageBreaks(), and UpdateReference().

◆ GetProtection()

const ScTableProtection * ScTable::GetProtection ( ) const

Definition at line 1106 of file table5.cxx.

References pTabProtection.

◆ GetRangeName()

ScRangeName * ScTable::GetRangeName ( ) const

Definition at line 4258 of file table2.cxx.

References mpRangeName.

Referenced by CopyToTable(), and UndoToTable().

◆ GetRangeScriptType()

SvtScriptType ScTable::GetRangeScriptType ( sc::ColumnBlockPosition rBlockPos,
SCCOL  nCol,
SCROW  nRow1,
SCROW  nRow2 
)

◆ GetRefCellValue() [1/2]

ScRefCellValue ScTable::GetRefCellValue ( SCCOL  nCol,
SCROW  nRow 
)

Definition at line 2561 of file table1.cxx.

References aCol, and IsColRowValid().

◆ GetRefCellValue() [2/2]

ScRefCellValue ScTable::GetRefCellValue ( SCCOL  nCol,
SCROW  nRow,
sc::ColumnBlockPosition rBlockPos 
)

Definition at line 2569 of file table1.cxx.

References aCol, and IsColRowValid().

◆ GetRepeatColRange()

const std::optional< ScRange > & ScTable::GetRepeatColRange ( ) const
inline

Definition at line 811 of file table.hxx.

References moRepeatColRange.

◆ GetRepeatRowRange()

const std::optional< ScRange > & ScTable::GetRepeatRowRange ( ) const
inline

Definition at line 812 of file table.hxx.

References moRepeatRowRange.

◆ GetRowBreakData()

Sequence< TablePageBreakData > ScTable::GetRowBreakData ( ) const

Definition at line 464 of file table5.cxx.

References aSeq, copy(), maRowManualBreaks, and maRowPageBreaks.

◆ GetRowFlags()

CRFlags ScTable::GetRowFlags ( SCROW  nRow) const

Definition at line 3882 of file table2.cxx.

References NONE, pRowFlags, and ValidRow().

◆ GetRowFlagsArray()

const ScBitMaskCompressedArray< SCROW, CRFlags > * ScTable::GetRowFlagsArray ( ) const
inline

Definition at line 916 of file table.hxx.

References pRowFlags.

◆ GetRowForHeight()

SCROW ScTable::GetRowForHeight ( tools::Long  nHeight) const

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.

Parameters
nHeightmaximum desired height
Returns
SCROW last row of the range within specified height.

Definition at line 4288 of file table2.cxx.

References aData, if(), ScDocument::MaxRow(), ScFlatUInt16RowSegments::RangeData::mnRow2, ScFlatUInt16RowSegments::RangeData::mnValue, mpHiddenRows, mpRowHeights, and rDocument.

◆ GetRowHeight() [1/2]

sal_uInt16 ScTable::GetRowHeight ( SCROW  nRow,
SCROW pStartRow,
SCROW pEndRow,
bool  bHiddenAsZero = true 
) const

◆ GetRowHeight() [2/2]

tools::Long ScTable::GetRowHeight ( SCROW  nStartRow,
SCROW  nEndRow,
bool  bHiddenAsZero = true 
) const

Definition at line 3595 of file table2.cxx.

References mpRowHeights, ScGlobal::nStdRowHeight, RowHidden(), and ValidRow().

◆ GetRowOffset()

tools::Long ScTable::GetRowOffset ( SCROW  nRow,
bool  bHiddenAsZero = true 
) const

Definition at line 4265 of file table2.cxx.

References GetRowHeight(), GetTotalRowHeight(), mpHiddenRows, mpRowHeights, and n.

Referenced by SetDrawPageSize().

◆ GetScaledRowHeight()

tools::Long ScTable::GetScaledRowHeight ( SCROW  nStartRow,
SCROW  nEndRow,
double  fScale 
) const

◆ GetScenarioColor()

const Color & ScTable::GetScenarioColor ( ) const
inline

Definition at line 367 of file table.hxx.

References aScenarioColor.

◆ GetScenarioComment()

void ScTable::GetScenarioComment ( OUString &  rComment) const
inline

Definition at line 365 of file table.hxx.

References aComment.

◆ GetScenarioFlags()

ScScenarioFlags ScTable::GetScenarioFlags ( ) const
inline

Definition at line 371 of file table.hxx.

References nScenarioFlags.

◆ GetScenarioRanges()

const ScRangeList * ScTable::GetScenarioRanges ( ) const

◆ GetScriptType()

SvtScriptType ScTable::GetScriptType ( SCCOL  nCol,
SCROW  nRow 
) const

Definition at line 2464 of file table1.cxx.

References aCol, and IsColValid().

◆ GetSelectionStyle()

const ScStyleSheet * ScTable::GetSelectionStyle ( const ScMarkData rMark,
bool &  rFound 
) const

Definition at line 3067 of file table2.cxx.

References aCol, ScMarkData::HasMultiMarks(), i, and ScColContainer::size().

◆ GetSharedString()

svl::SharedString ScTable::GetSharedString ( SCCOL  nCol,
SCROW  nRow 
) const

Definition at line 1754 of file table2.cxx.

References aCol, GetAllocatedColumnsCount(), and ValidColRow().

◆ GetSheetEvents()

const ScSheetEvents * ScTable::GetSheetEvents ( ) const
inline

Definition at line 327 of file table.hxx.

References pSheetEvents.

◆ GetSparkline()

std::shared_ptr< sc::Sparkline > ScTable::GetSparkline ( SCCOL  nCol,
SCROW  nRow 
)

Definition at line 1847 of file table2.cxx.

References aCol, GetAllocatedColumnsCount(), sc::SparklineCell::getSparkline(), and ValidCol().

Referenced by FillSparkline().

◆ GetSparklineList()

sc::SparklineList & ScTable::GetSparklineList ( )

Definition at line 1882 of file table2.cxx.

References maSparklineList.

◆ GetString()

OUString ScTable::GetString ( SCCOL  nCol,
SCROW  nRow,
const ScInterpreterContext pContext = nullptr 
) const

◆ GetStyle()

const ScStyleSheet * ScTable::GetStyle ( SCCOL  nCol,
SCROW  nRow 
) const

Definition at line 3060 of file table2.cxx.

References ColumnData(), ScColumnData::GetStyle(), and ValidColRow().

Referenced by CopyConditionalFormat(), and FindMaxRotCol().

◆ GetTab()

SCTAB ScTable::GetTab ( ) const
inline

◆ GetTabBgColor()

const Color & ScTable::GetTabBgColor ( ) const
inline

Definition at line 369 of file table.hxx.

References aTabBgColor.

◆ GetTableArea()

bool ScTable::GetTableArea ( SCCOL rEndCol,
SCROW rEndRow,
bool  bCalcHiddens = false 
) const

◆ GetTextWidth()

sal_uInt16 ScTable::GetTextWidth ( SCCOL  nCol,
SCROW  nRow 
) const

Definition at line 86 of file table2.cxx.

References aCol.

◆ GetTotalRowHeight()

tools::Long ScTable::GetTotalRowHeight ( SCROW  nStartRow,
SCROW  nEndRow,
bool  bHiddenAsZero = true 
) const

Definition at line 772 of file table5.cxx.

References aData, mpHiddenRows, and mpRowHeights.

Referenced by GetRowOffset(), and UpdatePageBreaks().

◆ GetUnprotectedCells()

void ScTable::GetUnprotectedCells ( ScRangeList rRangeList) const

Definition at line 1993 of file table2.cxx.

References aCol, ScDocument::MaxRow(), and rDocument.

◆ GetUpperCellString()

OUString ScTable::GetUpperCellString ( SCCOL  nCol,
SCROW  nRow 
)
private

◆ GetUpperName()

const OUString & ScTable::GetUpperName ( ) const

Definition at line 363 of file table1.cxx.

References aName, aUpperName, ScGlobal::getCharClass(), and CharClass::uppercase().

◆ GetValue()

double ScTable::GetValue ( SCCOL  nCol,
SCROW  nRow 
) const

Definition at line 1798 of file table2.cxx.

References aCol, GetAllocatedColumnsCount(), and ValidColRow().

Referenced by FillAnalyse(), and SetPageStyle().

◆ GetValueCell()

double * ScTable::GetValueCell ( SCCOL  nCol,
SCROW  nRow 
)

Definition at line 1782 of file table2.cxx.

References CreateColumnIfNotExists(), ScColumn::GetValueCell(), and ValidColRow().

◆ GetWeightedCount() [1/2]

sal_uInt64 ScTable::GetWeightedCount ( ) const

◆ GetWeightedCount() [2/2]

sal_uInt64 ScTable::GetWeightedCount ( SCROW  nStartRow,
SCROW  nEndRow 
) const

Definition at line 3023 of file table3.cxx.

References aCol, GetWeightedCount(), and ScColContainer::size().

◆ GetWritableColumnsRange()

ScColumnsRange ScTable::GetWritableColumnsRange ( SCCOL  begin,
SCCOL  end 
)

Definition at line 2700 of file table1.cxx.

References CreateColumnIfNotExists(), GetColumnsRange(), and GetDoc().

Referenced by TransposeClip().

◆ HandleRefArrayForParallelism()

bool ScTable::HandleRefArrayForParallelism ( SCCOL  nCol,
SCROW  nRow1,
SCROW  nRow2,
const ScFormulaCellGroupRef mxGroup 
)

◆ HandleStuffAfterParallelCalculation()

void ScTable::HandleStuffAfterParallelCalculation ( SCCOL  nColStart,
SCCOL  nColEnd,
SCROW  nRow,
size_t  nLen,
ScInterpreter pInterpreter 
)

◆ HasAttrib() [1/2]

bool ScTable::HasAttrib ( SCCOL  nCol,
SCROW  nRow,
HasAttrFlags  nMask,
SCROW nStartRow = nullptr,
SCROW nEndRow = nullptr 
) const

Definition at line 2305 of file table2.cxx.

References ColumnData(), and ScColumnData::HasAttrib().

◆ HasAttrib() [2/2]

bool ScTable::HasAttrib ( SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2,
HasAttrFlags  nMask 
) const

◆ HasAttribSelection()

bool ScTable::HasAttribSelection ( const ScMarkData rMark,
HasAttrFlags  nMask 
) const

Definition at line 2310 of file table2.cxx.

References aCol, ScMarkData::GetMarkedColSpans(), and HasAttribSelection().

Referenced by HasAttribSelection(), and IsSelectionEditable().

◆ HasBlockMatrixFragment()

bool ScTable::HasBlockMatrixFragment ( const SCCOL  nCol1,
SCROW  nRow1,
const SCCOL  nCol2,
SCROW  nRow2,
bool  bNoMatrixAtAll = false 
) const

Definition at line 2527 of file table2.cxx.

References aCol, i, IsColValid(), Left, n, Right, and ScColContainer::size().

Referenced by IsBlockEditable(), and IsEditActionAllowed().

◆ HasColHeader()

bool ScTable::HasColHeader ( SCCOL  nStartCol,
SCROW  nStartRow,
SCCOL  nEndCol,
SCROW  nEndRow 
) const

Definition at line 2900 of file table3.cxx.

References CELLTYPE_EDIT, CELLTYPE_STRING, eType, and GetCellType().

◆ HasColManualBreak()

bool ScTable::HasColManualBreak ( SCCOL  nCol) const

Definition at line 380 of file table5.cxx.

References maColManualBreaks, and ValidCol().

Referenced by UpdatePageBreaks().

◆ HasColPageBreak()

bool ScTable::HasColPageBreak ( SCCOL  nCol) const

Definition at line 364 of file table5.cxx.

References maColPageBreaks, and ValidCol().

◆ HasData()

bool ScTable::HasData ( SCCOL  nCol,
SCROW  nRow 
) const

Definition at line 2063 of file table2.cxx.

References aCol, GetAllocatedColumnsCount(), and ValidColRow().

◆ HasFilteredRows()

bool ScTable::HasFilteredRows ( SCROW  nStartRow,
SCROW  nEndRow 
) const

Definition at line 877 of file table5.cxx.

References RowFiltered().

◆ HasFormulaCell()

bool ScTable::HasFormulaCell ( const SCCOL  nCol1,
SCROW  nRow1,
const SCCOL  nCol2,
SCROW  nRow2 
) const

◆ HasHiddenRows()

bool ScTable::HasHiddenRows ( SCROW  nStartRow,
SCROW  nEndRow 
) const

Definition at line 540 of file table5.cxx.

References RowHidden().

◆ HasManualBreaks()

bool ScTable::HasManualBreaks ( ) const

Definition at line 313 of file table5.cxx.

References maColManualBreaks, and maRowManualBreaks.

◆ HasMultipleDataCells()

sc::MultiDataCellState ScTable::HasMultipleDataCells ( SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2 
) const

◆ HasRowHeader()

bool ScTable::HasRowHeader ( SCCOL  nStartCol,
SCROW  nStartRow,
SCCOL  nEndCol,
SCROW  nEndRow 
) const

Definition at line 2929 of file table3.cxx.

References CELLTYPE_EDIT, CELLTYPE_STRING, eType, and GetCellType().

◆ HasRowManualBreak()

bool ScTable::HasRowManualBreak ( SCROW  nRow) const

Definition at line 372 of file table5.cxx.

References maRowManualBreaks, and ValidRow().

◆ HasRowPageBreak()

bool ScTable::HasRowPageBreak ( SCROW  nRow) const

Definition at line 356 of file table5.cxx.

References maRowPageBreaks, and ValidRow().

◆ HasScenarioRange()

bool ScTable::HasScenarioRange ( const ScRange rRange) const

◆ HasSelectionMatrixFragment()

bool ScTable::HasSelectionMatrixFragment ( const ScMarkData rMark) const

◆ HasStringCells()

bool ScTable::HasStringCells ( SCCOL  nStartCol,
SCROW  nStartRow,
SCCOL  nEndCol,
SCROW  nEndRow 
) const

Definition at line 2087 of file table2.cxx.

References aCol, ClampToAllocatedColumns(), HasStringCells(), and ValidCol().

Referenced by HasStringCells().

◆ HasStringData()

bool ScTable::HasStringData ( SCCOL  nCol,
SCROW  nRow 
) const

Definition at line 2071 of file table2.cxx.

References aCol, GetAllocatedColumnsCount(), and ValidColRow().

◆ HasUniformRowHeight()

bool ScTable::HasUniformRowHeight ( SCROW  nRow1,
SCROW  nRow2 
) const

Definition at line 257 of file table7.cxx.

References aData, mpRowHeights, and ValidRow().

Referenced by ScDocument::HasUniformRowHeight().

◆ HasValueData()

bool ScTable::HasValueData ( SCCOL  nCol,
SCROW  nRow 
) const

Definition at line 2079 of file table2.cxx.

References aCol, GetAllocatedColumnsCount(), and ValidColRow().

◆ IncDate()

void ScTable::IncDate ( double &  rVal,
sal_uInt16 &  nDayOfMonth,
double  nStep,
FillDateCmd  eCmd 
)
private

◆ InitColumnBlockPosition()

bool ScTable::InitColumnBlockPosition ( sc::ColumnBlockPosition rBlockPos,
SCCOL  nCol 
)

Definition at line 712 of file table2.cxx.

References CreateColumnIfNotExists(), ScColumn::InitBlockPosition(), and ValidCol().

Referenced by InvalidateTextWidth().

◆ InitSortCollator()

void ScTable::InitSortCollator ( const ScSortParam rPar)

◆ InsertCol()

void ScTable::InsertCol ( const sc::ColumnSet rRegroupCols,
SCCOL  nStartCol,
SCROW  nStartRow,
SCROW  nEndRow,
SCSIZE  nSize 
)

◆ InsertRow()

void ScTable::InsertRow ( SCCOL  nStartCol,
SCCOL  nEndCol,
SCROW  nStartRow,
SCSIZE  nSize 
)

◆ InterpretCellsIfNeeded()

bool ScTable::InterpretCellsIfNeeded ( SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2 
)

◆ InterpretDirtyCells()

void ScTable::InterpretDirtyCells ( SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2 
)

◆ InvalidateCellArea()

void ScTable::InvalidateCellArea ( )
inline

Definition at line 613 of file table.hxx.

References mbCellAreaDirty.

◆ InvalidatePageBreaks()

void ScTable::InvalidatePageBreaks ( )

◆ InvalidateScenarioRanges()

void ScTable::InvalidateScenarioRanges ( )

Definition at line 1619 of file table2.cxx.

References pScenarioRanges.

◆ InvalidateTableArea()

void ScTable::InvalidateTableArea ( )

Definition at line 1556 of file table2.cxx.

References bTableAreaValid, and bTableAreaVisibleValid.

◆ InvalidateTextWidth()

void ScTable::InvalidateTextWidth ( const ScAddress pAdrFrom,
const ScAddress pAdrTo,
bool  bNumFormatChanged,
bool  bBroadcast 
)
private

◆ IsActiveScenario()

bool ScTable::IsActiveScenario ( ) const
inline

Definition at line 374 of file table.hxx.

References bActiveScenario.

◆ IsBlockEditable()

bool ScTable::IsBlockEditable ( SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW