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
 
ScTable & operator= (const ScTable &)=delete
 
ScDocument & GetDoc ()
 
const ScDocument & GetDoc () const
 
SCTAB GetTab () const
 
ScOutlineTable * GetOutlineTable ()
 
ScColumn & CreateColumnIfNotExists (const SCCOL nScCol)
 
void CreateColumnIfNotExistsImpl (const SCCOL nScCol)
 
ScColumnData & GetColumnData (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 ScSheetEvents * GetSheetEvents () 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 Color & GetScenarioColor () const
 
void SetScenarioColor (const Color &rNew)
 
const Color & GetTabBgColor () 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)
 
ScDBData * GetAnonymousDBData ()
 
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 ScTableProtection * GetProtection () 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)
 
SC_DLLPUBLIC std::shared_ptr< sc::SolverSettings > GetSolverSettings ()
 
ScFormulaCell * SetFormulaCell (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 EditTextObject * GetEditText (SCCOL nCol, SCROW nRow) const
 
void RemoveEditTextCharAttribs (SCCOL nCol, SCROW nRow, const ScPatternAttr &rAttr)
 
OUString GetFormula (SCCOL nCol, SCROW nRow) const
 
const ScFormulaCell * GetFormulaCell (SCCOL nCol, SCROW nRow) const
 
ScFormulaCell * GetFormulaCell (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::Sparkline > GetSparkline (SCCOL nCol, SCROW nRow)
 
sc::Sparkline * CreateSparkline (SCCOL nCol, SCROW nRow, std::shared_ptr< sc::SparklineGroup > const &pSparklineGroup)
 
bool DeleteSparkline (SCCOL nCol, SCROW nRow)
 
sc::SparklineList & GetSparklineList ()
 
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< ScPostIt > ReleaseNote (SCCOL nCol, SCROW nRow)
 
ScPostIt * GetNote (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 ScRangeList * GetScenarioRanges () 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, const tools::Duration &rDurationStep, 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 SfxPoolItem * GetAttr (SCCOL nCol, SCROW nRow, sal_uInt16 nWhich) const
 
template<class T >
const T * GetAttr (SCCOL nCol, SCROW nRow, TypedWhichId< T > nWhich) const
 
const SfxPoolItem * GetAttr (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 ScPatternAttr * GetPattern (SCCOL nCol, SCROW nRow) const
 
const ScPatternAttr * GetMostUsedPattern (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 ScPatternAttr * SetPattern (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 ScStyleSheet * GetStyle (SCCOL nCol, SCROW nRow) const
 
const ScStyleSheet * GetSelectionStyle (const ScMarkData &rMark, bool &rFound) const
 
const ScStyleSheet * GetAreaStyle (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 ScRange * GetPrintRange (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 GetOptimalMinRowHeight () const
 
void SetOptimalMinRowHeight (sal_uInt16 nSet)
 
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
 
Color GetCellBackgroundColor (ScAddress aPos) const
 
Color GetCellTextColor (ScAddress aPos) 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)
 
ScRangeName * GetRangeName () 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)
 
ScConditionalFormatList * GetCondFormList ()
 
const ScConditionalFormatList * GetCondFormList () 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)
 
SvtBroadcaster * GetBroadcaster (SCCOL nCol, SCROW nRow)
 
const SvtBroadcaster * GetBroadcaster (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::ColumnIterator > GetColumnIterator (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< SCCOL > QueryColumnsWithFormulaCells () const
 
const ScColumnData & ColumnData (SCCOL nCol) const
 
void CheckIntegrity () const
 
void CollectBroadcasterState (sc::BroadcasterState &rState) 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< ScRange > ScRangeVec
 

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, const tools::Duration &rDurationStep, 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, tools::Duration &rDuration, 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< ScSortInfoArray > CreateSortInfoArray (const sc::ReorderParam &rParam)
 
std::unique_ptr< ScSortInfoArray > CreateSortInfoArray (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...
 
ScColumn * FetchColumn (SCCOL nCol)
 
const ScColumn * FetchColumn (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
 
sal_uInt16 mnOptimalMinRowHeight
 
std::unique_ptr< ScTableProtection > pTabProtection
 
std::unique_ptr< ScCompressedArray< SCCOL, sal_uInt16 > > mpColWidth
 
std::unique_ptr< ScFlatUInt16RowSegments > mpRowHeights
 
std::unique_ptr< ScBitMaskCompressedArray< SCCOL, CRFlags > > mpColFlags
 
std::unique_ptr< ScBitMaskCompressedArray< SCROW, CRFlags > > pRowFlags
 
std::unique_ptr< ScFlatBoolColSegments > mpHiddenCols
 
std::unique_ptr< ScFlatBoolRowSegments > mpHiddenRows
 
std::unique_ptr< ScFlatBoolColSegments > mpFilteredCols
 
std::unique_ptr< ScFlatBoolRowSegments > mpFilteredRows
 
::std::set< SCROW > maRowPageBreaks
 
::std::set< SCROW > maRowManualBreaks
 
::std::set< SCCOL > maColPageBreaks
 
::std::set< SCCOL > maColManualBreaks
 
std::unique_ptr< ScOutlineTable > pOutlineTable
 
std::unique_ptr< ScSheetEvents > pSheetEvents
 
SCCOL nTableAreaX
 
SCROW nTableAreaY
 
SCCOL nTableAreaVisibleX
 
SCROW nTableAreaVisibleY
 
SCTAB nTab
 
ScDocument & rDocument
 
std::unique_ptr< utl::TextSearch > pSearchText
 
OUString aUpperName
 
ScSortParam aSortParam
 
CollatorWrapper * pSortCollator
 
ScRangeVec aPrintRanges
 
std::optional< ScRange > moRepeatColRange
 
std::optional< ScRange > moRepeatRowRange
 
sal_uInt16 nLockCount
 
std::unique_ptr< ScRangeList > pScenarioRanges
 
Color aScenarioColor
 
Color aTabBgColor
 
ScScenarioFlags nScenarioFlags
 
std::unique_ptr< ScDBData > pDBDataNoName
 
std::unique_ptr< ScRangeName > mpRangeName
 
std::unique_ptr< ScConditionalFormatList > mpCondFormatList
 
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...
 
std::shared_ptr< sc::SolverSettings > m_pSolverSettings
 
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 157 of file table.hxx.

Member Typedef Documentation

◆ ScRangeVec

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

Definition at line 160 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 2460 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 2322 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 2860 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 2874 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 2546 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 1272 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 2163 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 2156 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 2221 of file table2.cxx.

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

Referenced by CalcAfterLoad().

◆ CalcAll()

void ScTable::CalcAll ( )

Definition at line 2178 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 2642 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 644 of file table7.cxx.

References aCol.

Referenced by ScDocument::CheckIntegrity().

◆ CheckVectorizationState()

void ScTable::CheckVectorizationState ( )

Definition at line 2108 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 2312 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 866 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

◆ CollectBroadcasterState()

void ScTable::CollectBroadcasterState ( sc::BroadcasterState &  rState) const

Definition at line 650 of file table7.cxx.

References aCol.

◆ 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 2186 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 2991 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 2985 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 2209 of file table2.cxx.

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

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

◆ CompileHybridFormula()

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

Definition at line 237 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 2195 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 1484 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 899 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 663 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 2267 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 914 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 678 of file table5.cxx.

References RowHidden(), and SetRowHidden().

Referenced by CopyToClip().

◆ CopyScenarioFrom()

void ScTable::CopyScenarioFrom ( const ScTable *  pSrcTab)

Definition at line 1576 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 1568 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 1472 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 1550 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 990 of file table5.cxx.

References aData, mpFilteredRows, and nCount.

◆ CountVisibleCols()

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

Definition at line 802 of file table5.cxx.

References aData, mpHiddenCols, and nCount.

Referenced by GetAutoFillPreview().

◆ CountVisibleRows()

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

Definition at line 758 of file table5.cxx.

References aData, mpHiddenRows, and nCount.

Referenced by GetAutoFillPreview().

◆ CreateAllNoteCaptions()

void ScTable::CreateAllNoteCaptions ( )

Definition at line 1929 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 1860 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 1809 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 2594 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 2686 of file table1.cxx.

References mpCondFormatList, and nIndex.

◆ DeleteEmptyBroadcasters()

void ScTable::DeleteEmptyBroadcasters ( )

Definition at line 2603 of file table1.cxx.

References aCol, and col.

◆ 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 1873 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 1280 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 576 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 516 of file table7.cxx.

References GetDoc(), GetOptimalMinRowHeight(), mpColWidth, mpRowHeights, 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 556 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 483 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

Definition at line 1214 of file table5.cxx.

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

◆ EndListening() [2/2]

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

Definition at line 1232 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 326 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 306 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 431 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 1244 of file table2.cxx.

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

◆ FetchVectorRefArray()

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

Definition at line 2534 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,
const tools::Duration &  rDurationStep,
double  nMaxValue,
ScProgress *  pProgress 
)

Definition at line 2629 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,
tools::Duration &  rDuration,
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 2609 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,
const tools::Duration &  rDurationStep,
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 1245 of file table4.cxx.

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

Referenced by FillAuto().

◆ finalizeOutlineImport()

void ScTable::finalizeOutlineImport ( )

Definition at line 449 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 1296 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 1320 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 2071 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 944 of file table5.cxx.

References aData, mpFilteredRows, and ValidRow().

◆ FirstVisibleRow()

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

Definition at line 712 of file table5.cxx.

References aData, mpHiddenRows, and ValidRow().

◆ ForgetNoteCaptions()

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

Definition at line 1935 of file table2.cxx.

References aCol, ForgetNoteCaptions(), i, ScColContainer::size(), and ValidCol().

Referenced by ForgetNoteCaptions().

◆ GetAllColBreaks()

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

Definition at line 351 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 1944 of file table2.cxx.

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

Referenced by 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 339 of file table5.cxx.

References copy(), maRowManualBreaks, and maRowPageBreaks.

◆ GetAnonymousDBData()

ScDBData * ScTable::GetAnonymousDBData ( )
inline

Definition at line 401 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 2240 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 2247 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 747 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 752 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 2586 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 2678 of file table1.cxx.

References aCol, and IsColRowValid().

◆ GetCalcNotification()

bool ScTable::GetCalcNotification ( ) const
inline

Definition at line 363 of file table.hxx.

References bCalcNotification.

Referenced by ScDocument::SetCalcNotification().

◆ GetCellArea()

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

◆ GetCellBackgroundColor()

Color ScTable::GetCellBackgroundColor ( ScAddress  aPos) const

◆ GetCellCount()

sal_uInt64 ScTable::GetCellCount ( ) const

Definition at line 3058 of file table3.cxx.

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

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

◆ GetCellTextColor()

Color ScTable::GetCellTextColor ( ScAddress  aPos) const

◆ 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 2015 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 2022 of file table2.cxx.

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

◆ GetCodeCount()

sal_uInt64 ScTable::GetCodeCount ( ) const

Definition at line 3088 of file table3.cxx.

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

◆ GetCodeName()

const OUString & ScTable::GetCodeName ( ) const
inline

Definition at line 403 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 312 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 2696 of file table1.cxx.

References mpCondFormatList.

◆ GetCondFormList() [2/2]

const ScConditionalFormatList * ScTable::GetCondFormList ( ) const

Definition at line 2704 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 891 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 3051 of file table3.cxx.

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

◆ GetDataStart()

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

Definition at line 815 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 298 of file table.hxx.

References rDocument.

◆ GetEditText()

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

Definition at line 1806 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 670 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 3013 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 1822 of file table2.cxx.

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

◆ GetFormulaCell() [1/2]

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

Definition at line 1838 of file table2.cxx.

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

◆ GetFormulaCell() [2/2]

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

Definition at line 1830 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 354 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 1791 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(), GetOptimalMinRowHeight(), mpRowHeights, 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

Definition at line 1179 of file table1.cxx.

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

Referenced by GetDataArea(), and ShrinkToUsedDataArea().

◆ 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 386 of file table.hxx.

References aLinkDoc.

◆ GetLinkFlt()

const OUString & ScTable::GetLinkFlt ( ) const
inline

Definition at line 387 of file table.hxx.

References aLinkFlt.

◆ GetLinkMode()

ScLinkMode ScTable::GetLinkMode ( ) const
inline

Definition at line 384 of file table.hxx.

References nLinkMode.

◆ GetLinkOpt()

const OUString & ScTable::GetLinkOpt ( ) const
inline

Definition at line 388 of file table.hxx.

References aLinkOpt.

◆ GetLinkRefreshDelay()

sal_uLong ScTable::GetLinkRefreshDelay ( ) const
inline

Definition at line 390 of file table.hxx.

References nLinkRefreshDelay.

◆ GetLinkTab()

const OUString & ScTable::GetLinkTab ( ) const
inline

Definition at line 389 of file table.hxx.

References aLinkTab.

◆ GetLOKFreezeCol()

SCCOL ScTable::GetLOKFreezeCol ( ) const
private

Definition at line 587 of file table7.cxx.

References ScAddress::Col(), and maLOKFreezeCell.

Referenced by ScDocument::GetLOKFreezeCol().

◆ GetLOKFreezeRow()

SCROW ScTable::GetLOKFreezeRow ( ) const
private

Definition at line 592 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 3108 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 3099 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 397 of file table.hxx.

References aName.

Referenced by ScDocument::GetAllTableNames(), and sc::SolverSettings::SolverSettings().

◆ 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 395 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 1898 of file table2.cxx.

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

◆ GetNoteCount()

size_t ScTable::GetNoteCount ( SCCOL  nCol) const

Definition at line 1913 of file table2.cxx.

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

◆ GetNotePosition()

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

Definition at line 1921 of file table2.cxx.

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

◆ 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 2261 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 2266 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 434 of file table1.cxx.

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

◆ GetOptimalMinRowHeight()

sal_uInt16 ScTable::GetOptimalMinRowHeight ( ) const
inline

◆ GetOriginalHeight()

sal_uInt16 ScTable::GetOriginalHeight ( SCROW  nRow) const

Definition at line 3661 of file table2.cxx.

References 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 301 of file table.hxx.

References pOutlineTable.

◆ GetPageSize()

Size ScTable::GetPageSize ( ) const

Definition at line 1185 of file table5.cxx.

References aPageSizeTwips, and bPageSizeValid.

◆ GetPageStyle()

const OUString & ScTable::GetPageStyle ( ) const
inline

Definition at line 408 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 2997 of file table4.cxx.

References aCol, and ValidCol().

◆ GetPatternCount() [2/2]

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

Definition at line 3005 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 717 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 762 of file table1.cxx.

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

◆ GetPrintRange()

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

Definition at line 2342 of file table1.cxx.

References aPrintRanges, GetPrintRangeCount(), and nPos.

Referenced by UpdatePageBreaks().

◆ GetPrintRangeCount()

sal_uInt16 ScTable::GetPrintRangeCount ( ) const
inline

Definition at line 827 of file table.hxx.

References aPrintRanges.

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

◆ GetProtection()

const ScTableProtection * ScTable::GetProtection ( ) const

Definition at line 1183 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 2570 of file table1.cxx.

References aCol, and IsColRowValid().

◆ GetRefCellValue() [2/2]

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

Definition at line 2578 of file table1.cxx.

References aCol, and IsColRowValid().

◆ GetRepeatColRange()

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

Definition at line 822 of file table.hxx.

References moRepeatColRange.

◆ GetRepeatRowRange()

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

Definition at line 823 of file table.hxx.

References moRepeatRowRange.

◆ GetRowBreakData()

Sequence< TablePageBreakData > ScTable::GetRowBreakData ( ) const

Definition at line 471 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 935 of file table.hxx.

References pRowFlags.

Referenced by ScDocument::GetNextDifferentChangedRowFlagsWidth().

◆ 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 GetOptimalMinRowHeight(), mpRowHeights, 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 375 of file table.hxx.

References aScenarioColor.

◆ GetScenarioComment()

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

Definition at line 373 of file table.hxx.

References aComment.

◆ GetScenarioFlags()

ScScenarioFlags ScTable::GetScenarioFlags ( ) const
inline

Definition at line 379 of file table.hxx.

References nScenarioFlags.

◆ GetScenarioRanges()

const ScRangeList * ScTable::GetScenarioRanges ( ) const

◆ GetScriptType()

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

Definition at line 2473 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 1755 of file table2.cxx.

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

◆ GetSheetEvents()

const ScSheetEvents * ScTable::GetSheetEvents ( ) const
inline

Definition at line 335 of file table.hxx.

References pSheetEvents.

◆ GetSolverSettings()

std::shared_ptr< sc::SolverSettings > ScTable::GetSolverSettings ( )

Definition at line 656 of file table7.cxx.

References m_pSolverSettings.

◆ GetSparkline()

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

Definition at line 1848 of file table2.cxx.

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

Referenced by FillSparkline().

◆ GetSparklineList()

sc::SparklineList & ScTable::GetSparklineList ( )

Definition at line 1883 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 377 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 779 of file table5.cxx.

References aData, mpHiddenRows, and mpRowHeights.

Referenced by GetRowOffset(), and UpdatePageBreaks().

◆ GetUnprotectedCells()

void ScTable::GetUnprotectedCells ( ScRangeList &  rRangeList) const

Definition at line 1994 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 367 of file table1.cxx.

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

◆ GetValue()

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

Definition at line 1799 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 1783 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 3078 of file table3.cxx.

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

◆ GetWritableColumnsRange()

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

Definition at line 2709 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 2306 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 2311 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 2528 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 2955 of file table3.cxx.

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

Referenced by ScDocument::HasColHeader().

◆ HasColManualBreak()

bool ScTable::HasColManualBreak ( SCCOL  nCol) const

Definition at line 387 of file table5.cxx.

References maColManualBreaks, and ValidCol().

Referenced by UpdatePageBreaks().

◆ HasColPageBreak()

bool ScTable::HasColPageBreak ( SCCOL  nCol) const

Definition at line 371 of file table5.cxx.

References maColPageBreaks, and ValidCol().

◆ HasData()

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

Definition at line 2064 of file table2.cxx.

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

◆ HasFilteredRows()

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

Definition at line 884 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 547 of file table5.cxx.

References RowHidden().

◆ HasManualBreaks()

bool ScTable::HasManualBreaks ( ) const

Definition at line 320 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 2984 of file table3.cxx.

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

Referenced by ScDocument::HasRowHeader().

◆ HasRowManualBreak()

bool ScTable::HasRowManualBreak ( SCROW  nRow) const

Definition at line 379 of file table5.cxx.

References maRowManualBreaks, and ValidRow().

◆ HasRowPageBreak()

bool ScTable::HasRowPageBreak ( SCROW  nRow) const

Definition at line 363 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 2088 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 2072 of file table2.cxx.

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

◆ HasUniformRowHeight()

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

Definition at line 255 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 2080 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 713 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 623 of file table.hxx.

References mbCellAreaDirty.

◆ InvalidatePageBreaks()

void ScTable::InvalidatePageBreaks ( )

◆ InvalidateScenarioRanges()

void ScTable::InvalidateScenarioRanges ( )

Definition at line 1620 of file table2.cxx.

References pScenarioRanges.

◆ InvalidateTableArea()

void ScTable::InvalidateTableArea ( )

Definition at line 1557 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 382 of file table.hxx.

References bActiveScenario.

Referenced by ScDocument::IsActiveScenario().

◆ IsBlockEditable()

bool ScTable::IsBlockEditable ( SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2,
bool *  pOnlyNotBecauseOfMatrix = nullptr,
bool  bNoMatrixAtAll = false 
) const

◆ IsBlockEmpty()

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

Definition at line 2360 of file table2.cxx.

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

◆ IsColRowTabValid()

bool ScTable::IsColRowTabValid ( const SCCOL  nScCol,
const SCROW  nScRow,
const SCTAB  nScTab 
) const
inline

Definition at line 352 of file table.hxx.

References GetDoc(), IsColValid(), ScDocument::ValidRow(), and ValidTab().

◆ IsColRowValid()

bool ScTable::IsColRowValid ( const SCCOL  nScCol,
const SCROW  nScRow 
) const
inline

Definition at line 348 of file table.hxx.

References GetDoc(), IsColValid(), and ScDocument::ValidRow().

Referenced by GetBroadcaster(), GetErrCode(), GetRefCellValue(), and SearchCell().

◆ IsColValid()

bool ScTable::IsColValid ( const SCCOL  nScCol) const
inline

◆ IsDataFiltered() [1/2]

bool ScTable::IsDataFiltered ( const ScRange &  rRange) const

◆ IsDataFiltered() [2/2]

bool ScTable::IsDataFiltered ( SCCOL  nColStart,
SCROW  nRowStart,
SCCOL  nColEnd,
SCROW  nRowEnd 
) const

Definition at line 3830 of file table2.cxx.

References ColHidden(), i, and RowHidden().

Referenced by FillAuto(), FillSeries(), and IsDataFiltered().

◆ IsEditActionAllowed()

bool ScTable::IsEditActionAllowed ( sc::ColRowEditAction  eAction,
SCCOLROW  nStart,
SCCOLROW  nEnd 
) const

◆ IsEmptyData()

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

◆ IsEmptyLine()

bool ScTable::IsEmptyLine ( SCROW  nRow,
SCCOL  nStartCol,
SCCOL  nEndCol 
) const
private

Definition at line 1257 of file table1.cxx.

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

Referenced by LimitChartArea().

◆ IsLayoutRTL()

bool ScTable::IsLayoutRTL ( ) const
inline

Definition at line 366 of file table.hxx.

References bLayoutRTL.

Referenced by MaybeAddExtraColumn(), and SetDrawPageSize().

◆ IsLinked()

bool ScTable::IsLinked ( ) const
inline

Definition at line 385 of file table.hxx.

References nLinkMode, and NONE.

Referenced by ScDocument::IsLinked().

◆ IsLoadingRTL()

bool ScTable::IsLoadingRTL ( ) const
inline

Definition at line 367 of file table.hxx.

References bLoadingRTL.

◆ IsManualRowHeight()

bool ScTable::IsManualRowHeight ( SCROW  nRow) const

Definition at line 1083 of file table5.cxx.

References ManualSize, and pRowFlags.

◆ IsMerged()

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

Definition at line 27 of file table7.cxx.

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

Referenced by ScDocument::IsMerged().

◆ IsPendingRowHeights()

bool ScTable::IsPendingRowHeights ( ) const
inline

Definition at line 360 of file table.hxx.

References bPendingRowHeights.

◆ IsPrintEntireSheet()

bool ScTable::IsPrintEntireSheet ( ) const
inline

Returns true, if the sheet is always printed.

Definition at line 830 of file table.hxx.

References bPrintEntireSheet.

Referenced by ScDocument::IsPrintEntireSheet(), and SetPrintEntireSheet().

◆ IsProtected()

bool ScTable::IsProtected ( ) const

◆ IsScenario()

bool ScTable::IsScenario ( ) const
inline

◆ IsSelectionEditable()

bool ScTable::IsSelectionEditable ( const ScMarkData &  rMark,
bool *  pOnlyNotBecauseOfMatrix = nullptr 
) const

◆ IsSortCollatorGlobal()

bool ScTable::IsSortCollatorGlobal ( ) const

◆ IsSorted()

bool ScTable::IsSorted ( SCCOLROW  nStart,
SCCOLROW  nEnd 
) const
private

Definition at line 1799 of file table3.cxx.

References naturalsort::Compare(), and i.

Referenced by Sort().

◆ IsStreamValid()

bool ScTable::IsStreamValid ( ) const
inline

Definition at line 341 of file table.hxx.

References bStreamValid.

◆ IsStyleSheetUsed()

bool ScTable::IsStyleSheetUsed ( const ScStyleSheet &  rStyle) const

Definition at line 3119 of file table2.cxx.

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

Referenced by IsStyleSheetUsed().

◆ IsVisible()

bool ScTable::IsVisible ( ) const
inline

Definition at line 338 of file table.hxx.

References bVisible.

◆ LastHiddenColRow()

SCCOLROW ScTable::LastHiddenColRow ( SCCOLROW  nPos,
bool  bCol 
) const

◆ LastNonFilteredRow()

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

Definition at line 967 of file table5.cxx.

References aData, mpFilteredRows, and ValidRow().

◆ LastVisibleRow()

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

Definition at line 735 of file table5.cxx.

References aData, mpHiddenRows, and ValidRow().

◆ LimitChartArea()

void ScTable::LimitChartArea ( SCCOL &  rStartCol,
SCROW &  rStartRow,
SCCOL &  rEndCol,
SCROW &  rEndRow 
) const

Definition at line 1271 of file table1.cxx.

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

◆ LockTable()

void ScTable::LockTable ( )

Definition at line 2807 of file table2.cxx.

References nLockCount.

◆ MarkScenarioIn()

void ScTable::MarkScenarioIn ( ScMarkData &  rMark,
ScScenarioFlags  nNeededBits 
) const

Definition at line 1586 of file table2.cxx.

References aCol, bScenario, i, MarkScenarioIn(), nScenarioFlags, and ScColContainer::size().

Referenced by GetScenarioRanges(), and MarkScenarioIn().

◆ MaybeAddExtraColumn()

void ScTable::MaybeAddExtraColumn ( SCCOL &  rCol,
SCROW  nRow,
OutputDevice *  pDev,
double  nPPTX,
double  nPPTY 
)
private

◆ MergeBlockFrame()

void ScTable::MergeBlockFrame ( SvxBoxItem *  pLineOuter,
SvxBoxInfoItem *  pLineInner,
ScLineFlags &  rFlags,
SCCOL  nStartCol,
SCROW  nStartRow,
SCCOL  nEndCol,
SCROW  nEndRow 
) const

Definition at line 2846 of file table2.cxx.

References aCol, ClampToAllocatedColumns(), i, MergeBlockFrame(), PutInOrder(), and ValidColRow().

Referenced by MergeBlockFrame().

◆ MergePatternArea()

void ScTable::MergePatternArea ( ScMergePatternState &  rState,
SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2,
bool  bDeep 
) const

◆ MergeSelectionPattern()

void ScTable::MergeSelectionPattern ( ScMergePatternState &  rState,
const ScMarkData &  rMark,
bool  bDeep 
) const

Definition at line 2822 of file table2.cxx.

References aCol, ClampToAllocatedColumns(), ScMarkData::GetMarkedColSpans(), and i.

◆ MixData()

void ScTable::MixData ( sc::MixDocContext &  rCxt,
SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2,
ScPasteFunc  nFunction,
bool  bSkipEmpty,
const ScTable *  pSrcTab 
)

Definition at line 785 of file table2.cxx.

References aCol, i, and MixData().

Referenced by MixData(), and ScDocument::MixDocument().

◆ MixMarked()

void ScTable::MixMarked ( sc::MixDocContext &  rCxt,
const ScMarkData &  rMark,
ScPasteFunc  nFunction,
bool  bSkipEmpty,
const ScTable *  pSrcTab 
)

Definition at line 794 of file table2.cxx.

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

Referenced by MixMarked().

◆ operator=()

ScTable & ScTable::operator= ( const ScTable &  )
delete

◆ PageStyleModified()

void ScTable::PageStyleModified ( const OUString &  rNewName)

Definition at line 1284 of file table5.cxx.

References aPageStyle, and InvalidateTextWidth().

◆ PrepareQuery()

void ScTable::PrepareQuery ( ScQueryParam &  rQueryParam)

Definition at line 2623 of file table3.cxx.

References rDocument.

◆ PreprocessDBDataUpdate()

void ScTable::PreprocessDBDataUpdate ( sc::EndListeningContext &  rEndListenCxt,
sc::CompileFormulaContext &  rCompileCxt 
)

Definition at line 230 of file table7.cxx.

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

Referenced by PreprocessDBDataUpdate().

◆ PreprocessRangeNameUpdate()

void ScTable::PreprocessRangeNameUpdate ( sc::EndListeningContext &  rEndListenCxt,
sc::CompileFormulaContext &  rCompileCxt 
)

Definition at line 223 of file table7.cxx.

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

Referenced by PreprocessRangeNameUpdate().

◆ Query()

SCSIZE ScTable::Query ( const ScQueryParam &  rQueryParam,
bool  bKeepSub 
)

◆ QueryColumnsWithFormulaCells()

std::set< SCCOL > ScTable::QueryColumnsWithFormulaCells ( ) const

Definition at line 631 of file table7.cxx.

References aCol.

Referenced by ScDocument::QueryColumnsWithFormulaCells().

◆ QuickSort()

void ScTable::QuickSort ( ScSortInfoArray *  pArray,
SCCOLROW  nLo,
SCCOLROW  nHi 
)
private

Definition at line 1720 of file table3.cxx.

References Compare(), QuickSort(), and ScSortInfoArray::Swap().

Referenced by QuickSort(), Sort(), and TopTenQuery().

◆ RefVisible()

bool ScTable::RefVisible ( const ScFormulaCell *  pCell)
private

◆ RegroupFormulaCells()

void ScTable::RegroupFormulaCells ( SCCOL  nCol)

Definition at line 284 of file table7.cxx.

References aCol, and IsColValid().

Referenced by ScDocument::RegroupFormulaCells(), SortReorderByRow(), and SortReorderByRowRefUpdate().

◆ ReleaseNote()

std::unique_ptr< ScPostIt > ScTable::ReleaseNote ( SCCOL  nCol,
SCROW  nRow 
)

Definition at line 1890 of file table2.cxx.

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

◆ RemoveColBreak()

void ScTable::RemoveColBreak ( SCCOL  nCol,
bool  bPage,
bool  bManual 
)

Definition at line 426 of file table5.cxx.

References InvalidatePageBreaks(), maColManualBreaks, maColPageBreaks, and ValidCol().

Referenced by UpdatePageBreaks().

◆ RemoveCondFormatData()

void ScTable::RemoveCondFormatData ( const ScRangeList &  rRange,
sal_uInt32  nIndex 
)

◆ RemoveEditTextCharAttribs()

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

Definition at line 1814 of file table2.cxx.

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

◆ RemoveFlags()

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

Definition at line 3170 of file table2.cxx.

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

Referenced by RemoveFlags().

◆ RemoveManualBreaks()

void ScTable::RemoveManualBreaks ( )

◆ RemoveRowBreak()

void ScTable::RemoveRowBreak ( SCROW  nRow,
bool  bPage,
bool  bManual 
)

Definition at line 411 of file table5.cxx.

References InvalidatePageBreaks(), maRowManualBreaks, maRowPageBreaks, and ValidRow().

◆ RemoveRowPageBreaks()

void ScTable::RemoveRowPageBreaks ( SCROW  nStartRow,
SCROW  nEndRow 
)

Definition at line 401 of file table5.cxx.

References maRowPageBreaks, and ValidRow().

Referenced by UpdatePageBreaks().

◆ RemoveSubTotals()

void ScTable::RemoveSubTotals ( ScSubTotalParam &  rParam)

◆ Reorder()

void ScTable::Reorder ( const sc::ReorderParam &  rParam)

◆ Replace()

bool ScTable::Replace ( const SvxSearchItem &  rSearchItem,
SCCOL &  rCol,
SCROW &  rRow,
const ScMarkData &  rMark,
OUString &  rUndoStr,
ScDocument *  pUndoDoc 
)
private

Definition at line 568 of file table6.cxx.

References Search(), and UpdateSearchItemAddressForReplace().

Referenced by SearchAndReplace().

◆ ReplaceAll()

bool ScTable::ReplaceAll ( const SvxSearchItem &  rSearchItem,
const ScMarkData &  rMark,
ScRangeList &  rMatchedRanges,
OUString &  rUndoStr,
ScDocument *  pUndoDoc,
bool &  bMatchedRangesWereClamped 
)
private

◆ ReplaceAllStyle()

bool ScTable::ReplaceAllStyle ( const SvxSearchItem &  rSearchItem,
const ScMarkData &  rMark,
ScRangeList &  rMatchedRanges,
ScDocument *  pUndoDoc 
)
private

◆ ReplaceStyle()

bool ScTable::ReplaceStyle ( const SvxSearchItem &  rSearchItem,
SCCOL &  rCol,
SCROW &  rRow,
const ScMarkData &  rMark,
bool  bIsUndo 
)
private

◆ ReservePatternCount()

bool ScTable::ReservePatternCount ( SCCOL  nCol,
SCSIZE  nReserve 
)

Definition at line 3013 of file table4.cxx.

References aCol, and ValidCol().

◆ ResetChanged()

void ScTable::ResetChanged ( const ScRange &  rRange)

◆ ResolveStaticReference() [1/2]

formula::FormulaTokenRef ScTable::ResolveStaticReference ( SCCOL  nCol,
SCROW  nRow 
)

Definition at line 2499 of file table1.cxx.

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

Referenced by ResolveStaticReference().

◆ ResolveStaticReference() [2/2]

formula::FormulaTokenRef ScTable::ResolveStaticReference ( SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2 
)

Definition at line 2509 of file table1.cxx.

References aCol, ResolveStaticReference(), ScColContainer::size(), ValidCol(), and ValidRow().

◆ RestoreFromCache()

void ScTable::RestoreFromCache ( SvStream &  rStrm)

Definition at line 473 of file table7.cxx.

References aCol, SvStream::ReadUInt64(), and rStrm.

Referenced by ScDocument::RestoreTabFromCache().

◆ RestorePrintRanges()

void ScTable::RestorePrintRanges ( const ScPrintSaverTab &  rSaveTab)

◆ RowFiltered()

bool ScTable::RowFiltered ( SCROW  nRow,
SCROW *  pFirstRow = nullptr,
SCROW *  pLastRow = nullptr 
) const

◆ RowHidden()

bool ScTable::RowHidden ( SCROW  nRow,
SCROW *  pFirstRow = nullptr,
SCROW *  pLastRow = nullptr 
) const

◆ RowHiddenLeaf()

bool ScTable::RowHiddenLeaf ( SCROW  nRow,
SCROW *  pFirstRow = nullptr,
SCROW *  pLastRow = nullptr 
) const

Definition at line 517 of file table5.cxx.

References aData, mpHiddenRows, and ValidRow().

Referenced by DBShowRows(), and ShowRows().

◆ Search() [1/2]

bool ScTable::Search ( const SvxSearchItem &  rSearchItem,
SCCOL &  rCol,
SCROW &  rRow,
const ScMarkData &  rMark,
OUString &  rUndoStr,
ScDocument *  pUndoDoc 
)
private

◆ Search() [2/2]

bool ScTable::Search ( const SvxSearchItem &  rSearchItem,
SCCOL &  rCol,
SCROW &  rRow,
SCCOL  nLastCol,
SCROW  nLastRow,
const ScMarkData &  rMark,
OUString &  rUndoStr,
ScDocument *  pUndoDoc,
std::vector< sc::ColumnBlockConstPosition > &  blockPos 
)
private

◆ SearchAll()

bool ScTable::SearchAll ( const SvxSearchItem &  rSearchItem,
const ScMarkData &  rMark,
ScRangeList &  rMatchedRanges,
OUString &  rUndoStr,
ScDocument *  pUndoDoc 
)
private

◆ SearchAllStyle()

bool ScTable::SearchAllStyle ( const SvxSearchItem &  rSearchItem,
const ScMarkData &  rMark,
ScRangeList &  rMatchedRanges 
)
private

◆ SearchAndReplace()

bool ScTable::SearchAndReplace ( const SvxSearchItem &  rSearchItem,
SCCOL &  rCol,
SCROW &  rRow,
const ScMarkData &  rMark,
ScRangeList &  rMatchedRanges,
OUString &  rUndoStr,
ScDocument *  pUndoDoc,
bool &  bMatchedRangesWereClamped 
)

◆ SearchAndReplaceEmptyCells()

bool ScTable::SearchAndReplaceEmptyCells ( const SvxSearchItem &  rSearchItem,
SCCOL &  rCol,
SCROW &  rRow,
const ScMarkData &  rMark,
ScRangeList &  rMatchedRanges,
OUString &  rUndoStr,
ScDocument *  pUndoDoc 
)
private

◆ SearchCell()

bool ScTable::SearchCell ( const SvxSearchItem &  rSearchItem,
SCCOL  nCol,
sc::ColumnBlockConstPosition &  rBlockPos,
SCROW  nRow,
const ScMarkData &  rMark,
OUString &  rUndoStr,
ScDocument *  pUndoDoc 
)
private

◆ SearchRangeForAllEmptyCells()

bool ScTable::SearchRangeForAllEmptyCells ( const ScRange &  rRange,
const SvxSearchItem &  rSearchItem,
ScRangeList &  rMatchedRanges,
OUString &  rUndoStr,
ScDocument *  pUndoDoc 
)
private

◆ SearchRangeForEmptyCell()

bool ScTable::SearchRangeForEmptyCell ( const ScRange &  rRange,
const SvxSearchItem &  rSearchItem,
SCCOL &  rCol,
SCROW &  rRow,
OUString &  rUndoStr 
)
private

◆ SearchStyle()

bool ScTable::SearchStyle ( const SvxSearchItem &  rSearchItem,
SCCOL &  rCol,
SCROW &  rRow,
const ScMarkData &  rMark 
)
private

◆ SetActiveScenario()

void ScTable::SetActiveScenario ( bool  bSet)
inline

Definition at line 381 of file table.hxx.

References bActiveScenario.

◆ SetAllFormulasDirty()

void ScTable::SetAllFormulasDirty ( const sc::SetFormulaDirtyContext &  rCxt)

Definition at line 2116 of file table2.cxx.

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

Referenced by SetAllFormulasDirty().

◆ SetAnonymousDBData()

void ScTable::SetAnonymousDBData ( std::unique_ptr< ScDBData >  pDBData)

Definition at line 2455 of file table1.cxx.

References pDBDataNoName.

Referenced by CopyToClip(), and CopyToTable().

◆ SetAttrEntries()

void ScTable::SetAttrEntries ( SCCOL  nStartCol,
SCCOL  nEndCol,
std::vector< ScAttrEntry > &&  vNewData 
)

◆ SetCalcNotification()

void ScTable::SetCalcNotification ( bool  bSet)

Definition at line 130 of file table2.cxx.

References bCalcNotification.

Referenced by SetSheetEvents().

◆ SetCodeName()

void ScTable::SetCodeName ( const OUString &  rNewName)
inline

Definition at line 404 of file table.hxx.

References aCodeName.

◆ SetColBreak()

void ScTable::SetColBreak ( SCCOL  nCol,
bool  bPage,
bool  bManual 
)

Definition at line 456 of file table5.cxx.

References InvalidatePageBreaks(), maColManualBreaks, maColPageBreaks, and ValidCol().

Referenced by UpdatePageBreaks().

◆ SetColFiltered()

void ScTable::SetColFiltered ( SCCOL  nStartCol,
SCCOL  nEndCol,
bool  bFiltered 
)

Definition at line 936 of file table5.cxx.

References mpFilteredCols.

Referenced by CopyColFiltered().

◆ SetColHidden()

void ScTable::SetColHidden ( SCCOL  nStartCol,
SCCOL  nEndCol,
bool  bHidden 
)

◆ SetColManualBreaks()

void ScTable::SetColManualBreaks ( ::std::set< SCCOL > &&  rBreaks)

Definition at line 332 of file table5.cxx.

References InvalidatePageBreaks(), maColManualBreaks, and SetStreamValid().

Referenced by CopyToTable(), and UndoToTable().

◆ SetColWidth()

void ScTable::SetColWidth ( SCCOL  nCol,
sal_uInt16  nNewWidth 
)

Definition at line 3279 of file table2.cxx.

References InvalidatePageBreaks(), mpColWidth, STD_COL_WIDTH, and ValidCol().

◆ SetColWidthOnly()

void ScTable::SetColWidthOnly ( SCCOL  nCol,
sal_uInt16  nNewWidth 
)

Definition at line 3300 of file table2.cxx.

References mpColWidth, STD_COL_WIDTH, and ValidCol().

◆ SetCondFormList()

void ScTable::SetCondFormList ( ScConditionalFormatList *  pList)

Definition at line 2691 of file table1.cxx.

References mpCondFormatList.

◆ SetDirty()

void ScTable::SetDirty ( const ScRange &  rRange,
ScColumn::BroadcastMode  eMode 
)

◆ SetDirtyAfterLoad()

void ScTable::SetDirtyAfterLoad ( )

Definition at line 2141 of file table2.cxx.

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

Referenced by SetDirtyAfterLoad().

◆ SetDirtyFromClip()

void ScTable::SetDirtyFromClip ( SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2,
sc::ColumnSpanSet &  rBroadcastSpans 
)

◆ SetDirtyIfPostponed()

void ScTable::SetDirtyIfPostponed ( )

Mark formula cells dirty that have the mbPostponedDirty flag set or contain named ranges with relative references.

Definition at line 2148 of file table2.cxx.

References aCol, ScDocument::GetBASM(), i, rDocument, SetDirtyIfPostponed(), and ScColContainer::size().

Referenced by SetDirtyIfPostponed().

◆ SetDirtyVar()

void ScTable::SetDirtyVar ( )

Definition at line 2102 of file table2.cxx.

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

Referenced by SetDirtyVar().

◆ SetDrawPageSize()

void ScTable::SetDrawPageSize ( bool  bResetStreamValid = true,
bool  bUpdateNoteCaptionPos = true,
const ScObjectHandling  eObjectHandling = ScObjectHandling::RecalcPosMode 
)

◆ SetEditText() [1/2]

void ScTable::SetEditText ( SCCOL  nCol,
SCROW  nRow,
const EditTextObject &  rEditText,
const SfxItemPool *  pEditPool 
)

Definition at line 1675 of file table2.cxx.

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

◆ SetEditText() [2/2]

bool ScTable::SetEditText ( SCCOL  nCol,
SCROW  nRow,
std::unique_ptr< EditTextObject >  pEditText 
)

Definition at line 1664 of file table2.cxx.

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

Referenced by SearchCell().

◆ SetEmptyCell()

void ScTable::SetEmptyCell ( SCCOL  nCol,
SCROW  nRow 
)

Definition at line 1710 of file table2.cxx.

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

◆ SetError()

void ScTable::SetError ( SCCOL  nCol,
SCROW  nRow,
FormulaError  nError 
)

Definition at line 2933 of file table4.cxx.

References aCol, and ValidColRow().

◆ SetFormula() [1/2]

void ScTable::SetFormula ( SCCOL  nCol,
SCROW  nRow,
const OUString &  rFormula,
formula::FormulaGrammar::Grammar  eGram 
)

Definition at line 1727 of file table2.cxx.

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

◆ SetFormula() [2/2]

void ScTable::SetFormula ( SCCOL  nCol,
SCROW  nRow,
const ScTokenArray &  rArray,
formula::FormulaGrammar::Grammar  eGram 
)

Definition at line 1718 of file table2.cxx.

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

◆ SetFormulaCell()

ScFormulaCell * ScTable::SetFormulaCell ( SCCOL  nCol,
SCROW  nRow,
ScFormulaCell *  pCell 
)

Takes ownership of pCell.

Returns
pCell if it was successfully inserted, NULL otherwise. pCell is deleted automatically on failure to insert.

Definition at line 1736 of file table2.cxx.

References sc::ConvertToGroupListening, CreateColumnIfNotExists(), ScColumn::SetFormulaCell(), and ValidColRow().

Referenced by DoSubTotals(), and ScDocument::InsertMatrixFormula().

◆ SetFormulaCells()

bool ScTable::SetFormulaCells ( SCCOL  nCol,
SCROW  nRow,
std::vector< ScFormulaCell * > &  rCells 
)

Definition at line 1747 of file table2.cxx.

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

◆ SetFormulaResults()

void ScTable::SetFormulaResults ( SCCOL  nCol,
SCROW  nRow,
const double *  pResults,
size_t  nLen 
)

Definition at line 2634 of file table1.cxx.

References aCol, and ValidCol().

Referenced by ScDocument::SetFormulaResults().

◆ SetLayoutRTL()

void ScTable::SetLayoutRTL ( bool  bSet)

Definition at line 395 of file table1.cxx.

References bLayoutRTL.

Referenced by ScDocument::SetLayoutRTL().

◆ SetLink()

void ScTable::SetLink ( ScLinkMode  nMode,
const OUString &  rDoc,
const OUString &  rFlt,
const OUString &  rOpt,
const OUString &  rTab,
sal_uLong  nRefreshDelay 
)

Definition at line 420 of file table1.cxx.

References aLinkDoc, aLinkFlt, aLinkOpt, aLinkTab, nLinkMode, nLinkRefreshDelay, and SetStreamValid().

◆ SetLoadingMedium()

void ScTable::SetLoadingMedium ( bool  bLoading)
private

Definition at line 2173 of file table2.cxx.

References mpRowHeights.

◆ SetLoadingRTL()

void ScTable::SetLoadingRTL ( bool  bSet)

Definition at line 400 of file table1.cxx.

References bLoadingRTL.

Referenced by ScDocument::SetLayoutRTL().

◆ SetLOKFreezeCol()

bool ScTable::SetLOKFreezeCol ( SCCOL  nFreezeCol)
private

◆ SetLOKFreezeRow()

bool ScTable::SetLOKFreezeRow ( SCROW  nFreezeRow)
private

◆ SetManualHeight()

void ScTable::SetManualHeight ( SCROW  nStartRow,
SCROW  nEndRow,
bool  bManual 
)

Definition at line 3440 of file table2.cxx.

References ManualSize, pRowFlags, and ValidRow().

◆ SetMergedCells()

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

Definition at line 2345 of file table2.cxx.

References ApplyAttr(), ApplyFlags(), Hor, and Ver.

Referenced by ScDocument::DoMerge(), and ScDocumentImport::setMergedCells().

◆ SetName()

void ScTable::SetName ( const OUString &  rNewName)

Definition at line 359 of file table1.cxx.

References aName, and aUpperName.

◆ SetNeedsListeningGroup()

void ScTable::SetNeedsListeningGroup ( SCCOL  nCol,
SCROW  nRow 
)
private

◆ SetNote()

void ScTable::SetNote ( SCCOL  nCol,
SCROW  nRow,
std::unique_ptr< ScPostIt >  pNote 
)

Definition at line 1905 of file table2.cxx.

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

◆ SetNumberFormat()

void ScTable::SetNumberFormat ( SCCOL  nCol,
SCROW  nRow,
sal_uInt32  nNumberFormat 
)

◆ SetOptimalHeight()

bool ScTable::SetOptimalHeight ( sc::RowHeightContext &  rCxt,
SCROW  nStartRow,
SCROW  nEndRow,
bool  bApi,
ScProgress *  pOuterProgress = nullptr,
sal_uInt64  nProgressStart = 0 
)

◆ SetOptimalHeightOnly()

void ScTable::SetOptimalHeightOnly ( sc::RowHeightContext &  rCxt,
SCROW  nStartRow,
SCROW  nEndRow,
ScProgress *  pOuterProgress = nullptr,
sal_uInt64  nProgressStart = 0 
)

◆ SetOptimalMinRowHeight()

void ScTable::SetOptimalMinRowHeight ( sal_uInt16  nSet)
inline

Definition at line 885 of file table.hxx.

References mnOptimalMinRowHeight.

Referenced by oox::xls::WorksheetGlobals::finalizeWorksheetImport().

◆ SetOutlineTable()

bool ScTable::SetOutlineTable ( const ScOutlineTable *  pNewOutline)

Definition at line 91 of file table2.cxx.

References pOutlineTable.

Referenced by CopyToTable(), and ScDocument::SetOutlineTable().

◆ SetPageSize()

void ScTable::SetPageSize ( const Size &  rSize)

Definition at line 1157 of file table5.cxx.

References aPageSizeTwips, bPageSizeValid, InvalidatePageBreaks(), and Size::IsEmpty().

◆ SetPageStyle()

void ScTable::SetPageStyle ( const OUString &  rName)

◆ SetPattern() [1/3]

void ScTable::SetPattern ( const ScAddress &  rPos,
const ScPatternAttr &  rAttr 
)

◆ SetPattern() [2/3]

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

Definition at line 3195 of file table2.cxx.

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

◆ SetPattern() [3/3]

const ScPatternAttr * ScTable::SetPattern ( SCCOL  nCol,
SCROW  nRow,
std::unique_ptr< ScPatternAttr >  pAttr 
)

Definition at line 3188 of file table2.cxx.

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

◆ SetPatternAreaCondFormat()

void ScTable::SetPatternAreaCondFormat ( SCCOL  nCol,
SCROW  nStartRow,
SCROW  nEndRow,
const ScPatternAttr &  rAttr,
const ScCondFormatIndexes &  rCondFormatIndexes 
)

◆ SetPendingRowHeights()

void ScTable::SetPendingRowHeights ( bool  bSet)

Definition at line 390 of file table1.cxx.

References bPendingRowHeights.

◆ SetPrintEntireSheet()

void ScTable::SetPrintEntireSheet ( )

Marks the specified sheet to be printed completely.

Deletes old print ranges!

Definition at line 2333 of file table1.cxx.

References bPrintEntireSheet, ClearPrintRanges(), and IsPrintEntireSheet().

◆ SetProtection()

void ScTable::SetProtection ( const ScTableProtection *  pProtect)

Definition at line 1173 of file table5.cxx.

References pTabProtection, and SetStreamValid().

◆ SetRangeName()

void ScTable::SetRangeName ( std::unique_ptr< ScRangeName >  pNew)

Definition at line 4250 of file table2.cxx.

References mpRangeName, and SetStreamValid().

Referenced by CopyToTable(), and UndoToTable().

◆ SetRawString()

void ScTable::SetRawString ( SCCOL  nCol,
SCROW  nRow,
const svl::SharedString &  rStr 
)

Definition at line 1769 of file table2.cxx.

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

◆ SetRepeatArea()

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

Definition at line 1193 of file table5.cxx.

References InvalidatePageBreaks(), nRepeatEndX, nRepeatEndY, nRepeatStartX, and nRepeatStartY.

◆ SetRepeatColRange()

void ScTable::SetRepeatColRange ( std::optional< ScRange >  oNew)

Definition at line 2294 of file table1.cxx.

References InvalidatePageBreaks(), moRepeatColRange, and SetStreamValid().

Referenced by RestorePrintRanges().

◆ SetRepeatRowRange()

void ScTable::SetRepeatRowRange ( std::optional< ScRange >  oNew)

Definition at line 2303 of file table1.cxx.

References InvalidatePageBreaks(), moRepeatRowRange, and SetStreamValid().

Referenced by RestorePrintRanges().

◆ SetRowBreak()

void ScTable::SetRowBreak ( SCROW  nRow,
bool  bPage,
bool  bManual 
)

Definition at line 441 of file table5.cxx.

References InvalidatePageBreaks(), maRowManualBreaks, maRowPageBreaks, and ValidRow().

Referenced by DoSubTotals(), and UpdatePageBreaks().

◆ SetRowFiltered()

void ScTable::SetRowFiltered ( SCROW  nStartRow,
SCROW  nEndRow,
bool  bFiltered 
)

◆ SetRowFlags() [1/2]

void ScTable::SetRowFlags ( SCROW  nRow,
CRFlags  nNewFlags 
)

Definition at line 3854 of file table2.cxx.

References pRowFlags, and ValidRow().

◆ SetRowFlags() [2/2]

void ScTable::SetRowFlags ( SCROW  nStartRow,
SCROW  nEndRow,
CRFlags  nNewFlags 
)

Definition at line 3864 of file table2.cxx.

References pRowFlags, and ValidRow().

◆ SetRowHeight()

void ScTable::SetRowHeight ( SCROW  nRow,
sal_uInt16  nNewHeight 
)

◆ SetRowHeightOnly()

void ScTable::SetRowHeightOnly ( SCROW  nStartRow,
SCROW  nEndRow,
sal_uInt16  nNewHeight 
)

Set specified row height to specified ranges.

Don't check for drawing objects etc. Just set the row height. Nothing else.

Note that setting a new row height via this function will not invalidate page breaks.

Definition at line 3429 of file table2.cxx.

References GetOptimalMinRowHeight(), mpRowHeights, and ValidRow().

◆ SetRowHeightRange()

bool ScTable::SetRowHeightRange ( SCROW  nStartRow,
SCROW  nEndRow,
sal_uInt16  nNewHeight,
double  nPPTY,
bool  bApi 
)

◆ SetRowHidden()

bool ScTable::SetRowHidden ( SCROW  nStartRow,
SCROW  nEndRow,
bool  bHidden 
)

◆ SetRowManualBreaks()

void ScTable::SetRowManualBreaks ( ::std::set< SCROW > &&  rBreaks)

Definition at line 325 of file table5.cxx.

References InvalidatePageBreaks(), maRowManualBreaks, and SetStreamValid().

Referenced by CopyToTable(), and UndoToTable().

◆ SetScenario()

void ScTable::SetScenario ( bool  bFlag)

Definition at line 415 of file table1.cxx.

References bScenario.

◆ SetScenarioColor()

void ScTable::SetScenarioColor ( const Color &  rNew)
inline

Definition at line 376 of file table.hxx.

References aScenarioColor.

◆ SetScenarioComment()

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

Definition at line 374 of file table.hxx.

References aComment.

◆ SetScenarioFlags()

void ScTable::SetScenarioFlags ( ScScenarioFlags  nNew)
inline

Definition at line 380 of file table.hxx.

References nScenarioFlags.

◆ SetScriptType()

void ScTable::SetScriptType ( SCCOL  nCol,
SCROW  nRow,
SvtScriptType  nType 
)

Definition at line 2481 of file table1.cxx.

References aCol, nType, and ValidCol().

◆ SetSheetEvents()

void ScTable::SetSheetEvents ( std::unique_ptr< ScSheetEvents >  pNew)

Definition at line 121 of file table2.cxx.

References pSheetEvents, SetCalcNotification(), and SetStreamValid().

◆ SetStreamValid()

void ScTable::SetStreamValid ( bool  bSet,
bool  bIgnoreLock = false 
)

◆ SetString()

bool ScTable::SetString ( SCCOL  nCol,
SCROW  nRow,
SCTAB  nTab,
const OUString &  rString,
const ScSetStringParam *  pParam = nullptr 
)

◆ SetTabBgColor()

void ScTable::SetTabBgColor ( const Color &  rColor)

Definition at line 405 of file table1.cxx.

References aTabBgColor, and SetStreamValid().

◆ SetTableOpDirty()

void ScTable::SetTableOpDirty ( const ScRange &  rRange)

◆ SetTabNo()

void ScTable::SetTabNo ( SCTAB  nNewTab)

Definition at line 2064 of file table1.cxx.

References aCol, i, nTab, SetTabNo(), and ScColContainer::size().

Referenced by SetTabNo().

◆ SetValue()

void ScTable::SetValue ( SCCOL  nCol,
SCROW  nRow,
const double &  rVal 
)

Definition at line 1763 of file table2.cxx.

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

Referenced by ScDocument::SetValue().

◆ SetValues()

void ScTable::SetValues ( const SCCOL  nCol,
const SCROW  nRow,
const std::vector< double > &  rVals 
)

Definition at line 179 of file table7.cxx.

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

Referenced by ScDocument::SetValues().

◆ SetVisible()

void ScTable::SetVisible ( bool  bVis)

Definition at line 374 of file table1.cxx.

References bVisible, and SetStreamValid().

◆ ShowCol()

void ScTable::ShowCol ( SCCOL  nCol,
bool  bShow 
)

◆ ShowRow()

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

◆ ShowRows()

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

◆ ShrinkToUsedDataArea()

bool ScTable::ShrinkToUsedDataArea ( bool &  o_bShrunk,
SCCOL &  rStartCol,
SCROW &  rStartRow,
SCCOL &  rEndCol,
SCROW &  rEndRow,
bool  bColumnsOnly,
bool  bStickyTopRow,
bool  bStickyLeftCol,
ScDataAreaExtras *  pDataAreaExtras 
) const

◆ SkipFilteredRows()

void ScTable::SkipFilteredRows ( SCROW &  rRow,
SCROW &  rLastNonFilteredRow,
bool  bForward 
)
private

Definition at line 274 of file table6.cxx.

References RowFiltered().

Referenced by Search(), SearchRangeForAllEmptyCells(), and SearchRangeForEmptyCell().

◆ SkipRow()

bool ScTable::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

◆ Sort()

void ScTable::Sort ( const ScSortParam &  rSortParam,
bool  bKeepQuery,
bool  bUpdateRefs,
ScProgress *  pProgress,
sc::ReorderParam *  pUndo 
)

◆ SortReorderAreaExtrasByColumn()

void ScTable::SortReorderAreaExtrasByColumn ( const ScSortInfoArray *  pArray,
SCROW  nDataRow1,
SCROW  nDataRow2,
const ScDataAreaExtras &  rDataAreaExtras,
ScProgress *  pProgress 
)
private

◆ SortReorderAreaExtrasByRow()

void ScTable::SortReorderAreaExtrasByRow ( ScSortInfoArray *  pArray,
SCCOL  nDataCol1,
SCCOL  nDataCol2,
const ScDataAreaExtras &  rDataAreaExtras,
ScProgress *  pProgress 
)
private

◆ SortReorderByColumn()

void ScTable::SortReorderByColumn ( const ScSortInfoArray *  pArray,
SCROW  nRow1,
SCROW  nRow2,
bool  bPattern,
ScProgress *  pProgress 
)
private

◆ SortReorderByRow()

void ScTable::SortReorderByRow ( ScSortInfoArray *  pArray,
SCCOL  nCol1,
SCCOL  nCol2,
ScProgress *  pProgress,
bool  bOnlyDataAreaExtras 
)
private

◆ SortReorderByRowRefUpdate()

void ScTable::SortReorderByRowRefUpdate ( ScSortInfoArray *  pArray,
SCCOL  nCol1,
SCCOL  nCol2,
ScProgress *  pProgress 
)
private

◆ SplitFormulaGroups()

void ScTable::SplitFormulaGroups ( SCCOL  nCol,
std::vector< SCROW > &  rRows 
)

◆ StartListeners()

void ScTable::StartListeners ( sc::StartListeningContext &  rCxt,
bool  bAll 
)

Either start all formula cells as listeners unconditionally, or start those that are marked "needs listening".

Parameters
rCxtcontext object.
bAllwhen true, start all formula cells as listeners. When false, only start those that are marked "needs listening".

Definition at line 1252 of file table2.cxx.

References aCol, sc::StartListeningContext::getColumnSet(), i, nTab, ScColContainer::size(), and StartListeners().

Referenced by StartListeners().

◆ StartListening() [1/2]

void ScTable::StartListening ( const ScAddress &  rAddress,
SvtListener *  pListener 
)
private

◆ StartListening() [2/2]

void ScTable::StartListening ( sc::StartListeningContext &  rCxt,
const ScAddress &  rAddress,
SvtListener &  rListener 
)
private

◆ StartListeningFormulaCells()

void ScTable::StartListeningFormulaCells ( sc::StartListeningContext &  rStartCxt,
sc::EndListeningContext &  rEndCxt,
SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2 
)

◆ StartOutlineTable()

void ScTable::StartOutlineTable ( )

Definition at line 115 of file table2.cxx.

References pOutlineTable.

Referenced by DoAutoOutline().

◆ StoreToCache()

void ScTable::StoreToCache ( SvStream &  rStrm) const

◆ StripHidden()

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

Definition at line 3999 of file table2.cxx.

References aData, ColHidden(), mpHiddenRows, RowHidden(), and ValidRow().

◆ StyleSheetChanged()

void ScTable::StyleSheetChanged ( const SfxStyleSheetBase *  pStyleSheet,
bool  bRemoved,
OutputDevice *  pDev,
double  nPPTX,
double  nPPTY,
const Fraction &  rZoomX,
const Fraction &  rZoomY 
)

◆ SwapNonEmpty()

void ScTable::SwapNonEmpty ( sc::TableValues &  rValues,
sc::StartListeningContext &  rStartCxt,
sc::EndListeningContext &  rEndCxt 
)

◆ SyncColRowFlags()

void ScTable::SyncColRowFlags ( )

◆ TestCopyScenarioTo()

bool ScTable::TestCopyScenarioTo ( const ScTable *  pDestTab) const

Definition at line 1639 of file table2.cxx.

References aCol, bScenario, i, IsProtected(), ScColContainer::size(), and TestCopyScenarioTo().

Referenced by TestCopyScenarioTo().

◆ TestInsertCol()

bool ScTable::TestInsertCol ( SCROW  nStartRow,
SCROW  nEndRow,
SCSIZE  nSize 
) const

◆ TestInsertRow()

bool ScTable::TestInsertRow ( SCCOL  nStartCol,
SCCOL  nEndCol,
SCROW  nStartRow,
SCSIZE  nSize 
) const

◆ TestRemoveSubTotals()

bool ScTable::TestRemoveSubTotals ( const ScSubTotalParam &  rParam)

◆ TestTabRefAbs()

void ScTable::TestTabRefAbs ( SCTAB  nTable) const
private

Definition at line 2978 of file table4.cxx.

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

Referenced by TestTabRefAbs().

◆ TopTenQuery()

void ScTable::TopTenQuery ( ScQueryParam &  rParam)

◆ TransferCellValuesTo()

void ScTable::TransferCellValuesTo ( const SCCOL  nCol,
SCROW  nRow,
size_t  nLen,
sc::CellValues &  rDest 
)

◆ TransposeClip()

void ScTable::TransposeClip ( SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2,
SCROW  nCombinedStartRow,
SCROW  nRowDestOffset,
ScTable *  pTransClip,
InsertDeleteFlags  nFlags,
bool  bAsLink,
bool  bIncludeFiltered 
)
Parameters
nCombinedStartRowstart row of the combined range; used for transposed multi range selection with row direction; for other cases than multi range row selection this it equal to nRow1
nRowDestOffsetadjustment of destination row position; used for transposed multi range selection with row direction, otherwise 0

Definition at line 988 of file table2.cxx.

References aCol, ATTRIB, GetWritableColumnsRange(), ScDocument::HasColNotes(), ScDocument::IsCutMode(), NOTE, nTab, sc::ParseAll(), rDocument, TransposeColNotes(), and TransposeColPatterns().

◆ TransposeColNotes()

void ScTable::TransposeColNotes ( ScTable *  pTransClip,
SCCOL  nCol1,
SCCOL  nCol,
SCROW  nRow1,
SCROW  nRow2,
SCROW  nCombinedStartRow,
bool  bIncludeFiltered,
SCROW  nRowDestOffset 
)
private

Transpose clipboard notes.

Parameters
nCombinedStartRowstart row of the combined range; used for transposed multi range selection with row direction; for other cases than multi range row selection this it equal to nRow1
nRowDestOffsetadjustment of destination row position; used for transposed multi range row selections, otherwise 0

Definition at line 1121 of file table2.cxx.

References aCol, ScColContainer::begin(), ScPostIt::Clone(), ScColContainer::end(), nTab, rDocument, ScDocument::ReleaseNote(), RowFiltered(), and ScDocument::SetNote().

Referenced by TransposeClip().

◆ TransposeColPatterns()

void ScTable::TransposeColPatterns ( ScTable *  pTransClip,
SCCOL  nCol1,
SCCOL  nCol,
SCROW  nRow1,
SCROW  nRow2,
SCROW  nCombinedStartRow,
bool  bIncludeFiltered,
const std::vector< SCROW > &  rFilteredRows,
SCROW  nRowDestOffset 
)
private

Transpose clipboard patterns.

Parameters
nCombinedStartRowstart row of the combined range; used for transposed multi range selection with row direction; for other cases than multi range row selection this it equal to nRow1
nRowDestOffsetadjustment of destination row position; used for transposed multi range row selections, otherwise 0

Definition at line 1050 of file table2.cxx.

References aCol, ATTR_BORDER(), ATTR_MERGE(), ATTR_MERGE_FLAG(), SfxItemSet::ClearItem(), SfxItemSet::Get(), SvxBoxItem::GetBottom(), ScMergeAttr::GetColMerge(), SvxBoxItem::GetDistance(), ScPatternAttr::GetItemSet(), SfxItemSet::GetItemState(), SvxBoxItem::GetLeft(), SvxBoxItem::GetLine(), SvxBoxItem::GetRight(), ScMergeAttr::GetRowMerge(), SvxBoxItem::GetTop(), ScMergeFlagAttr::GetValue(), Hor, IsDefaultItem(), ScMergeAttr::IsMerged(), ScMergeFlagAttr::IsOverlapped(), lcl_SetTransposedPatternInRows(), ScDocument::MaxCol(), ScDocument::MaxRow(), NONE, SfxItemSet::Put(), rDocument, rSet, SvxBoxItem::SetDistance(), SvxBoxItem::SetLine(), and Ver.

Referenced by TransposeClip().

◆ UndoToTable()

void ScTable::UndoToTable ( sc::CopyToDocContext &  rCxt,
SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2,
InsertDeleteFlags  nFlags,
bool  bMarked,
ScTable *  pDestTab 
)

◆ UnlockTable()

void ScTable::UnlockTable ( )

Definition at line 2812 of file table2.cxx.

References nLockCount.

◆ UnshareFormulaCells()

void ScTable::UnshareFormulaCells ( SCCOL  nCol,
std::vector< SCROW > &  rRows 
)

◆ UpdateCompile()

void ScTable::UpdateCompile ( bool  bForceIfNameInUse = false)

Definition at line 2056 of file table1.cxx.

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

◆ UpdateDeleteTab()

void ScTable::UpdateDeleteTab ( sc::RefUpdateDeleteTabContext &  rCxt)

◆ UpdateDrawRef()

void ScTable::UpdateDrawRef ( UpdateRefMode  eUpdateRefMode,
SCCOL  nCol1,
SCROW  nRow1,
SCTAB  nTab1,
SCCOL  nCol2,
SCROW  nRow2,
SCTAB  nTab2,
SCCOL  nDx,
SCROW  nDy,
SCTAB  nDz,
bool  bUpdateNoteCaptionPos = true 
)

◆ UpdateGrow()

void ScTable::UpdateGrow ( const ScRange &  rArea,
SCCOL  nGrowX,
SCROW  nGrowY 
)

Definition at line 1964 of file table1.cxx.

References aCol.

◆ UpdateInsertTab()

void ScTable::UpdateInsertTab ( sc::RefUpdateInsertTabContext &  rCxt)

◆ UpdateInsertTabAbs()

void ScTable::UpdateInsertTabAbs ( SCTAB  nNewPos)
private

Definition at line 2939 of file table4.cxx.

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

Referenced by UpdateInsertTabAbs().

◆ UpdateMoveTab()

void ScTable::UpdateMoveTab ( sc::RefUpdateMoveTabContext &  rCxt,
SCTAB  nTabNo,
ScProgress *  pProgress 
)

◆ UpdateOutlineCol()

bool ScTable::UpdateOutlineCol ( SCCOL  nStartCol,
SCCOL  nEndCol,
bool  bShow 
)

Definition at line 3951 of file table2.cxx.

References mpColFlags, and pOutlineTable.

◆ UpdateOutlineRow()

bool ScTable::UpdateOutlineRow ( SCROW  nStartRow,
SCROW  nEndRow,
bool  bShow 
)

Definition at line 3961 of file table2.cxx.

References pOutlineTable, and pRowFlags.

Referenced by DBShowRow(), and DBShowRows().

◆ UpdatePageBreaks()

void ScTable::UpdatePageBreaks ( const ScRange *  pUserArea)

◆ UpdateReference()

void ScTable::UpdateReference ( sc::RefUpdateContext &  rCxt,
ScDocument *  pUndoDoc = nullptr,
bool  bIncludeDraw = true,
bool  bUpdateNoteCaptionPos = true 
)

◆ UpdateScriptTypes()

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

◆ UpdateSearchItemAddressForReplace()

void ScTable::UpdateSearchItemAddressForReplace ( const SvxSearchItem &  rSearchItem,
SCCOL &  rCol,
SCROW &  rRow 
)
static

Replace behaves differently to the Search; adjust the rCol and rRow accordingly.

'Replace' replaces at the 'current' position, but in order to achieve that, we have to 'shift' the rCol / rRow to the 'previous' position - what it is depends on various settings in rSearchItem.

Definition at line 550 of file table6.cxx.

References SvxSearchItem::GetBackward(), and SvxSearchItem::GetRowDirection().

Referenced by Replace(), and ScViewFunc::SearchAndReplace().

◆ UpdateSelectionFunction()

void ScTable::UpdateSelectionFunction ( ScFunctionData &  rData,
const ScMarkData &  rMark 
)

◆ UpdateTranspose()

void ScTable::UpdateTranspose ( const ScRange &  rSource,
const ScAddress &  rDest,
ScDocument *  pUndoDoc 
)

Definition at line 1957 of file table1.cxx.

References aCol.

◆ ValidCol()

bool ScTable::ValidCol ( SCCOL  nCol) const
inline

◆ ValidColRow()

bool ScTable::ValidColRow ( SCCOL  nCol,
SCROW  nRow 
) const
inline

◆ ValidNextPos()

bool ScTable::ValidNextPos ( SCCOL  nCol,
SCROW  nRow,
const ScMarkData &  rMark,
bool  bMarked,
bool  bUnprotected 
) const
private

◆ ValidRow()

bool ScTable::ValidRow ( SCROW  nRow) const
inline

Friends And Related Function Documentation

◆ sc::ColumnSpanSet

friend class sc::ColumnSpanSet
friend

Definition at line 285 of file table.hxx.

◆ sc::DocumentStreamAccess

friend class sc::DocumentStreamAccess
friend

Definition at line 284 of file table.hxx.

◆ sc::EditTextIterator

friend class sc::EditTextIterator
friend

Definition at line 287 of file table.hxx.

◆ sc::FormulaGroupAreaListener

friend class sc::FormulaGroupAreaListener
friend

Definition at line 288 of file table.hxx.

◆ sc::RangeColumnSpanSet

friend class sc::RangeColumnSpanSet
friend

Definition at line 286 of file table.hxx.

◆ ScCellIterator

friend class ScCellIterator
friend

Definition at line 276 of file table.hxx.

◆ ScColumn

friend class ScColumn
friend

Definition at line 271 of file table.hxx.

◆ ScColumnTextWidthIterator

friend class ScColumnTextWidthIterator
friend

Definition at line 282 of file table.hxx.

◆ ScDBQueryDataIterator

friend class ScDBQueryDataIterator
friend

Definition at line 274 of file table.hxx.

◆ ScDocument

friend class ScDocument
friend

Definition at line 270 of file table.hxx.

◆ ScDocumentImport

friend class ScDocumentImport
friend

Definition at line 283 of file table.hxx.

◆ ScFormulaGroupIterator

friend class ScFormulaGroupIterator
friend

Definition at line 275 of file table.hxx.

◆ ScHorizontalCellIterator

friend class ScHorizontalCellIterator
friend

Definition at line 281 of file table.hxx.

◆ ScHorizontalValueIterator

friend class ScHorizontalValueIterator
friend

Definition at line 273 of file table.hxx.

◆ ScQueryCellIteratorAccessSpecific

template<ScQueryCellIteratorAccess accessType>
friend class ScQueryCellIteratorAccessSpecific
friend

Definition at line 280 of file table.hxx.

◆ ScQueryCellIteratorBase

template<ScQueryCellIteratorAccess accessType, ScQueryCellIteratorType queryType>
friend class ScQueryCellIteratorBase
friend

Definition at line 278 of file table.hxx.

◆ ScValueIterator

friend class ScValueIterator
friend

Definition at line 272 of file table.hxx.

Member Data Documentation

◆ aCodeName

OUString ScTable::aCodeName
private

Definition at line 165 of file table.hxx.

Referenced by GetCodeName(), and SetCodeName().

◆ aCol

ScColContainer ScTable::aCol
private

Definition at line 162 of file table.hxx.

Referenced by ApplyBlockFrame(), ApplyPatternArea(), ApplyPatternIfNumberformatIncompatible(), ApplySelectionCache(), ApplySelectionLineStyle(), ApplySelectionStyle(), ApplyStyleArea(), AssertNoInterpretNeeded(), AttachFormulaCells(), BroadcastBroadcasters(), ScDocumentImport::broadcastRecalcAfterImport(), BroadcastRecalcOnRefMove(), CalcAfterLoad(), CalcAll(), CalculateInColumnInThread(), ChangeSelectionIndent(), CheckIntegrity(), CheckVectorizationState(), ClampToAllocatedColumns(), ClearSelectionItems(), CollectBroadcasterState(), ColumnData(), Compare(), CompileAll(), CompileColRowNameFormula(), CompileDBFormula(), CompileErrorCells(), CompileHybridFormula(), CompileXML(), ContainsNotesInRange(), CopyCaptionsToTable(), CopyCellToDocument(), CopyFromClip(), CopyScenarioFrom(), CopyScenarioTo(), CopySparklinesToTable(), CopyStaticToDocument(), CopyToClip(), CopyToTable(), CopyUpdated(), CreateAllNoteCaptions(), CreateColumnIfNotExists(), CreateColumnIfNotExistsImpl(), CreateExcelQuery(), CreateSortInfoArray(), DeleteArea(), DeleteBeforeCopyFromClip(), DeleteBroadcasters(), DeleteCol(), DeleteEmptyBroadcasters(), DeleteRow(), DeleteSelection(), DeleteSparkline(), DetachFormulaCells(), DoAutoOutline(), EndListening(), EndListeningGroup(), EndListeningIntersectedGroup(), EndListeningIntersectedGroups(), EnsureFormulaCellResults(), sc::ColumnSpanSet::executeColumnAction(), sc::RangeColumnSpanSet::executeColumnAction(), ExtendMerge(), ExtendPrintArea(), FetchColumn(), FetchVectorRefArray(), FillAuto(), FillAutoSimple(), ScDocumentImport::fillDownCells(), FillFormula(), FillFormulaVertical(), FillMatrix(), FillSeries(), FillSeriesSimple(), ScDocumentImport::finalize(), FindAreaPos(), FindNextVisibleColWithContent(), FindRangeNamesInUse(), ForgetNoteCaptions(), GetAllNoteCaptionsState(), GetAllNoteEntries(), GetAllocatedColumnsCount(), GetAllocatedColumnsRange(), GetAreaStyle(), GetBroadcaster(), GetCellArea(), GetCellCount(), GetCellType(), GetCellValue(), GetCodeCount(), ScDBQueryDataIterator::GetColumnCellStore(), GetColumnData(), GetDataArea(), GetDataAreaSubrange(), GetDataEntries(), GetDataStart(), GetEditText(), GetEmptyLinesInBlock(), GetErrCode(), GetFilteredFilterEntries(), GetFilterEntries(), ScValueIterator::GetFirst(), GetFirstDataPos(), GetFirstEditTextRow(), GetFormula(), GetFormulaCell(), GetInputString(), GetLastDataPos(), GetLastDataRow(), GetMaxNumberStringLen(), GetMaxStringLen(), GetNeededSize(), GetNextMarkedCell(), GetNextPos(), GetNextSpellingCell(), GetNote(), GetNoteCount(), GetNotePosition(), GetNotesInRange(), GetOptimalColWidth(), GetPatternCount(), GetPrintArea(), GetPrintAreaHor(), GetPrintAreaVer(), GetRangeScriptType(), GetRefCellValue(), GetScriptType(), GetSelectionStyle(), GetSharedString(), GetSparkline(), GetString(), GetTextWidth(), GetUnprotectedCells(), GetValue(), GetWeightedCount(), HandleRefArrayForParallelism(), HandleStuffAfterParallelCalculation(), HasAttrib(), HasAttribSelection(), HasBlockMatrixFragment(), HasData(), HasFormulaCell(), HasMultipleDataCells(), ScDocument::HasNote(), HasSelectionMatrixFragment(), HasStringCells(), HasStringData(), HasValueData(), ScDocument::IdleCalcTextWidth(), sc::EditTextIterator::init(), InsertCol(), InsertRow(), InterpretCellsIfNeeded(), InterpretDirtyCells(), InvalidateTextWidth(), IsBlockEmpty(), IsColValid(), IsEditActionAllowed(), IsEmptyData(), IsEmptyLine(), IsMerged(), IsStyleSheetUsed(), LimitChartArea(), MarkScenarioIn(), MaybeAddExtraColumn(), MergeBlockFrame(), MergePatternArea(), MergeSelectionPattern(), MixData(), MixMarked(), PreprocessDBDataUpdate(), PreprocessRangeNameUpdate(), QueryColumnsWithFormulaCells(), RegroupFormulaCells(), ReleaseNote(), RemoveCondFormatData(), RemoveEditTextCharAttribs(), RemoveFlags(), RemoveSubTotals(), ReservePatternCount(), ResetChanged(), ResolveStaticReference(), RestoreFromCache(), sc::ColumnSpanSet::scan(), ScTable(), Search(), SearchAllStyle(), SearchCell(), SearchRangeForAllEmptyCells(), SearchRangeForEmptyCell(), SearchStyle(), sc::EditTextIterator::seek(), SetAllFormulasDirty(), SetAttrEntries(), ScDocumentImport::setAutoInput(), SetDirty(), SetDirtyAfterLoad(), SetDirtyFromClip(), SetDirtyIfPostponed(), SetDirtyVar(), ScDocumentImport::setEditCell(), SetEmptyCell(), SetError(), ScDocumentImport::setFormulaCell(), SetFormulaResults(), ScDocumentImport::setMatrixCells(), ScDocumentImport::setNumericCell(), sc::DocumentStreamAccess::setNumericCell(), SetOptimalHeight(), SetOptimalHeightOnly(), SetRowHidden(), SetScriptType(), ScDocumentImport::setStringCell(), sc::DocumentStreamAccess::setStringCell(), ScDocumentImport::setTableOpCells(), SetTableOpDirty(), SetTabNo(), sc::DocumentStreamAccess::shiftRangeDown(), sc::DocumentStreamAccess::shiftRangeUp(), ShrinkToUsedDataArea(), SortReorderAreaExtrasByRow(), SortReorderByColumn(), SortReorderByRow(), SortReorderByRowRefUpdate(), SplitFormulaGroups(), StartListeners(), StartListeningFormulaCells(), StoreToCache(), StyleSheetChanged(), TestCopyScenarioTo(), TestInsertCol(), TestInsertRow(), TestRemoveSubTotals(), TestTabRefAbs(), TransposeClip(), TransposeColNotes(), TransposeColPatterns(), UndoToTable(), UnshareFormulaCells(), UpdateCompile(), UpdateDeleteTab(), UpdateGrow(), UpdateInsertTab(), UpdateInsertTabAbs(), UpdateMoveTab(), UpdateReference(), UpdateScriptTypes(), UpdateSelectionFunction(), UpdateTranspose(), and ~ScTable().

◆ aComment

OUString ScTable::aComment
private

Definition at line 166 of file table.hxx.

Referenced by GetScenarioComment(), and SetScenarioComment().

◆ aDefaultColData

ScColumnData ScTable::aDefaultColData
private

◆ aLinkDoc

OUString ScTable::aLinkDoc
private

Definition at line 168 of file table.hxx.

Referenced by GetLinkDoc(), and SetLink().

◆ aLinkFlt

OUString ScTable::aLinkFlt
private

Definition at line 169 of file table.hxx.

Referenced by GetLinkFlt(), and SetLink().

◆ aLinkOpt

OUString ScTable::aLinkOpt
private

Definition at line 170 of file table.hxx.

Referenced by GetLinkOpt(), and SetLink().

◆ aLinkTab

OUString ScTable::aLinkTab
private

Definition at line 171 of file table.hxx.

Referenced by GetLinkTab(), and SetLink().

◆ aName

OUString ScTable::aName
private

Definition at line 164 of file table.hxx.

Referenced by GetName(), GetUpperName(), ScTable(), and SetName().

◆ aPageSizeTwips

Size ScTable::aPageSizeTwips
private

Definition at line 177 of file table.hxx.

Referenced by GetPageSize(), SetPageSize(), and UpdatePageBreaks().

◆ aPageStyle

OUString ScTable::aPageStyle
private

◆ aPrintRanges

ScRangeVec ScTable::aPrintRanges
private

◆ aScenarioColor

Color ScTable::aScenarioColor
private

Definition at line 236 of file table.hxx.

Referenced by GetScenarioColor(), and SetScenarioColor().

◆ aSortParam

ScSortParam ScTable::aSortParam
private

Definition at line 225 of file table.hxx.

Referenced by Compare(), CompareCell(), Sort(), and TopTenQuery().

◆ aTabBgColor

Color ScTable::aTabBgColor
private

Definition at line 237 of file table.hxx.

Referenced by GetTabBgColor(), and SetTabBgColor().

◆ aUpperName

OUString ScTable::aUpperName
mutableprivate

Definition at line 222 of file table.hxx.

Referenced by GetUpperName(), and SetName().

◆ bActiveScenario

bool ScTable::bActiveScenario
private

Definition at line 258 of file table.hxx.

Referenced by IsActiveScenario(), and SetActiveScenario().

◆ bCalcNotification

bool ScTable::bCalcNotification
private

Definition at line 255 of file table.hxx.

Referenced by GetCalcNotification(), and SetCalcNotification().

◆ bGlobalKeepQuery

bool ScTable::bGlobalKeepQuery
private

Definition at line 256 of file table.hxx.

Referenced by Sort(), and TopTenQuery().

◆ bLayoutRTL

bool ScTable::bLayoutRTL
private

Definition at line 248 of file table.hxx.

Referenced by IsLayoutRTL(), ScTable(), and SetLayoutRTL().

◆ bLoadingRTL

bool ScTable::bLoadingRTL
private

Definition at line 249 of file table.hxx.

Referenced by IsLoadingRTL(), and SetLoadingRTL().

◆ bPageSizeValid

bool ScTable::bPageSizeValid
private

Definition at line 250 of file table.hxx.

Referenced by GetPageSize(), SetPageSize(), and UpdatePageBreaks().

◆ bPendingRowHeights

bool ScTable::bPendingRowHeights
private

Definition at line 254 of file table.hxx.

Referenced by IsPendingRowHeights(), and SetPendingRowHeights().

◆ bPrintEntireSheet

bool ScTable::bPrintEntireSheet
private

◆ bScenario

bool ScTable::bScenario
private

◆ bStreamValid

std::atomic<bool> ScTable::bStreamValid
private

this is touched from formula group threading context

Definition at line 262 of file table.hxx.

Referenced by IsStreamValid(), and SetStreamValid().

◆ bTableAreaValid

bool ScTable::bTableAreaValid
mutableprivate

Definition at line 251 of file table.hxx.

Referenced by GetTableArea(), and InvalidateTableArea().

◆ bTableAreaVisibleValid

bool ScTable::bTableAreaVisibleValid
mutableprivate

Definition at line 252 of file table.hxx.

Referenced by GetTableArea(), and InvalidateTableArea().

◆ bVisible

bool ScTable::bVisible
private

Definition at line 253 of file table.hxx.

Referenced by IsVisible(), and SetVisible().

◆ m_pSolverSettings

std::shared_ptr<sc::SolverSettings> ScTable::m_pSolverSettings
private

Definition at line 265 of file table.hxx.

Referenced by GetSolverSettings().

◆ maColManualBreaks

::std::set<SCCOL> ScTable::maColManualBreaks
private

◆ maColPageBreaks

::std::set<SCCOL> ScTable::maColPageBreaks
private

Definition at line 206 of file table.hxx.

Referenced by GetAllColBreaks(), HasColPageBreak(), RemoveColBreak(), and SetColBreak().

◆ maLOKFreezeCell

ScAddress ScTable::maLOKFreezeCell
private

Definition at line 245 of file table.hxx.

Referenced by GetLOKFreezeCol(), GetLOKFreezeRow(), SetLOKFreezeCol(), and SetLOKFreezeRow().

◆ maRowManualBreaks

::std::set<SCROW> ScTable::maRowManualBreaks
private

◆ maRowPageBreaks

::std::set<SCROW> ScTable::maRowPageBreaks
private

◆ maSparklineList

sc::SparklineList ScTable::maSparklineList
private

Definition at line 243 of file table.hxx.

Referenced by GetSparklineList().

◆ mbCellAreaDirty

bool ScTable::mbCellAreaDirty
private

Definition at line 184 of file table.hxx.

Referenced by GetCellArea(), and InvalidateCellArea().

◆ mbCellAreaEmpty

bool ScTable::mbCellAreaEmpty
private

Definition at line 185 of file table.hxx.

Referenced by GetCellArea().

◆ mbForceBreaks

bool ScTable::mbForceBreaks
private

Definition at line 260 of file table.hxx.

Referenced by UpdatePageBreaks().

◆ mbPageBreaksValid

bool ScTable::mbPageBreaksValid
private

Definition at line 259 of file table.hxx.

Referenced by InvalidatePageBreaks(), and UpdatePageBreaks().

◆ mnEndCol

SCCOL ScTable::mnEndCol
private

Definition at line 186 of file table.hxx.

Referenced by GetCellArea().

◆ mnEndRow

SCROW ScTable::mnEndRow
private

Definition at line 187 of file table.hxx.

Referenced by GetCellArea().

◆ mnOptimalMinRowHeight

sal_uInt16 ScTable::mnOptimalMinRowHeight
private

Definition at line 190 of file table.hxx.

Referenced by GetOptimalMinRowHeight(), and SetOptimalMinRowHeight().

◆ moRepeatColRange

std::optional<ScRange> ScTable::moRepeatColRange
private

◆ moRepeatRowRange

std::optional<ScRange> ScTable::moRepeatRowRange
private

◆ mpColFlags

std::unique_ptr<ScBitMaskCompressedArray<SCCOL, CRFlags> > ScTable::mpColFlags
private

◆ mpColWidth

std::unique_ptr<ScCompressedArray<SCCOL, sal_uInt16> > ScTable::mpColWidth
private

◆ mpCondFormatList

std::unique_ptr<ScConditionalFormatList> ScTable::mpCondFormatList
private

◆ mpFilteredCols

std::unique_ptr<ScFlatBoolColSegments> ScTable::mpFilteredCols
private

◆ mpFilteredRows

std::unique_ptr<ScFlatBoolRowSegments> ScTable::mpFilteredRows
private

◆ mpHiddenCols

std::unique_ptr<ScFlatBoolColSegments> ScTable::mpHiddenCols
private

◆ mpHiddenRows

std::unique_ptr<ScFlatBoolRowSegments> ScTable::mpHiddenRows
private

◆ mpRangeName

std::unique_ptr<ScRangeName> ScTable::mpRangeName
mutableprivate

◆ mpRowHeights

std::unique_ptr<ScFlatUInt16RowSegments> ScTable::mpRowHeights
private

◆ nLinkMode

ScLinkMode ScTable::nLinkMode
private

Definition at line 173 of file table.hxx.

Referenced by GetLinkMode(), IsLinked(), and SetLink().

◆ nLinkRefreshDelay

sal_uLong ScTable::nLinkRefreshDelay
private

Definition at line 172 of file table.hxx.

Referenced by GetLinkRefreshDelay(), and SetLink().

◆ nLockCount

sal_uInt16 ScTable::nLockCount
private

Definition at line 233 of file table.hxx.

Referenced by IsBlockEditable(), IsSelectionEditable(), LockTable(), and UnlockTable().

◆ nRepeatEndX

SCCOL ScTable::nRepeatEndX
private

Definition at line 179 of file table.hxx.

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

◆ nRepeatEndY

SCROW ScTable::nRepeatEndY
private

Definition at line 181 of file table.hxx.

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

◆ nRepeatStartX

SCCOL ScTable::nRepeatStartX
private

Definition at line 178 of file table.hxx.

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

◆ nRepeatStartY

SCROW ScTable::nRepeatStartY
private

Definition at line 180 of file table.hxx.

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

◆ nScenarioFlags

ScScenarioFlags ScTable::nScenarioFlags
private

Definition at line 238 of file table.hxx.

Referenced by GetScenarioFlags(), MarkScenarioIn(), and SetScenarioFlags().

◆ nTab

SCTAB ScTable::nTab
private

◆ nTableAreaVisibleX

SCCOL ScTable::nTableAreaVisibleX
mutableprivate

Definition at line 215 of file table.hxx.

Referenced by GetTableArea().

◆ nTableAreaVisibleY

SCROW ScTable::nTableAreaVisibleY
mutableprivate

Definition at line 216 of file table.hxx.

Referenced by GetTableArea().

◆ nTableAreaX

SCCOL ScTable::nTableAreaX
mutableprivate

Definition at line 213 of file table.hxx.

Referenced by GetTableArea().

◆ nTableAreaY

SCROW ScTable::nTableAreaY
mutableprivate

Definition at line 214 of file table.hxx.

Referenced by GetTableArea().

◆ pDBDataNoName

std::unique_ptr<ScDBData> ScTable::pDBDataNoName
private

◆ pOutlineTable

std::unique_ptr<ScOutlineTable> ScTable::pOutlineTable
private

◆ pRowFlags

std::unique_ptr<ScBitMaskCompressedArray< SCROW, CRFlags> > ScTable::pRowFlags
private

◆ pScenarioRanges

std::unique_ptr<ScRangeList> ScTable::pScenarioRanges
private

Definition at line 235 of file table.hxx.

Referenced by GetScenarioRanges(), InvalidateScenarioRanges(), and ~ScTable().

◆ pSearchText

std::unique_ptr<utl::TextSearch> ScTable::pSearchText
private

Definition at line 220 of file table.hxx.

Referenced by SearchAndReplace(), SearchCell(), and ~ScTable().

◆ pSheetEvents

std::unique_ptr<ScSheetEvents> ScTable::pSheetEvents
private

Definition at line 211 of file table.hxx.

Referenced by GetSheetEvents(), SetSheetEvents(), and ~ScTable().

◆ pSortCollator

CollatorWrapper* ScTable::pSortCollator
private

◆ pTabProtection

std::unique_ptr<ScTableProtection> ScTable::pTabProtection
private

◆ rDocument

ScDocument& ScTable::rDocument
private

Definition at line 219 of file table.hxx.

Referenced by ApplyStyleArea(), AutoFormat(), BroadcastBroadcasters(), BroadcastRecalcOnRefMove(), CheckVectorizationState(), CopyConditionalFormat(), CopyData(), CopyFromClip(), CopyOneCellFromClip(), CopyStaticToDocument(), CopyToClip(), CopyToTable(), CreateColumnIfNotExistsImpl(), CreateExcelQuery(), CreateQueryParam(), CreateStarQuery(), DBShowRow(), DBShowRows(), DeleteArea(), DeleteCol(), DeleteRow(), DeleteSelection(), DoAutoOutline(), DoSubTotals(), ExtendHidden(), ExtendPrintArea(), FillAnalyse(), FillAuto(), FillAutoSimple(), FillFormula(), FillFormulaVertical(), FillSeries(), FindAreaPos(), FindMaxRotCol(), FindNextVisibleCol(), FindNextVisibleColWithContent(), GetAllNoteCaptionsState(), GetAutoFillPreview(), GetAutoFormatAttr(), GetCommonWidth(), GetDataArea(), GetDataStart(), GetDoc(), GetFilteredFilterEntries(), GetFirstDataPos(), GetFirstEditTextRow(), GetLastDataPos(), GetNextMarkedCell(), GetNextPos(), GetNextSpellingCell(), GetNumberFormat(), GetPrintArea(), GetPrintAreaHor(), GetRowForHeight(), GetScenarioRanges(), GetUnprotectedCells(), IncDate(), InsertCol(), InsertRow(), InvalidateTextWidth(), IsBlockEditable(), IsEditActionAllowed(), IsSelectionEditable(), LastHiddenColRow(), MaybeAddExtraColumn(), PrepareQuery(), Query(), ReplaceAllStyle(), ReplaceStyle(), ScTable(), Search(), SearchAllStyle(), SearchCell(), SearchRangeForEmptyCell(), SearchStyle(), SetAllFormulasDirty(), SetAttrEntries(), SetColHidden(), SetDirty(), SetDirtyAfterLoad(), SetDirtyFromClip(), SetDirtyIfPostponed(), SetDrawPageSize(), SetOptimalHeight(), SetOptimalHeightOnly(), SetPageStyle(), SetRowHeightRange(), SetRowHidden(), SetStreamValid(), SetString(), SetTableOpDirty(), ShowCol(), ShowRow(), ShowRows(), ShrinkToUsedDataArea(), SkipRow(), SortReorderByColumn(), SortReorderByRow(), SortReorderByRowRefUpdate(), StartListeningFormulaCells(), StoreToCache(), StyleSheetChanged(), SyncColRowFlags(), TestInsertCol(), TestInsertRow(), TransposeClip(), TransposeColNotes(), TransposeColPatterns(), UndoToTable(), UnshareFormulaCells(), UpdateDeleteTab(), UpdateDrawRef(), UpdateInsertTab(), UpdateMoveTab(), UpdatePageBreaks(), UpdateReference(), UpdateSelectionFunction(), ValidNextPos(), and ~ScTable().


The documentation for this class was generated from the following files: