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

#include <table.hxx>

Collaboration diagram for ScTable:
[legend]

Classes

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

Public Member Functions

 ScTable (ScDocument &rDoc, SCTAB nNewTab, const OUString &rNewName, bool bColInfo=true, bool bRowInfo=true)
 
 ~ScTable () COVERITY_NOEXCEPT_FALSE
 
 ScTable (const ScTable &)=delete
 
ScTableoperator= (const ScTable &)=delete
 
ScDocumentGetDoc ()
 
const ScDocumentGetDoc () const
 
SCTAB GetTab () const
 
ScOutlineTableGetOutlineTable ()
 
ScColumnCreateColumnIfNotExists (const SCCOL nScCol) const
 
void CreateColumnIfNotExistsImpl (const SCCOL nScCol) const
 
sal_uLong GetCellCount () const
 
sal_uLong GetWeightedCount () const
 
sal_uLong GetWeightedCount (SCROW nStartRow, SCROW nEndRow) const
 
sal_uLong GetCodeCount () const
 
sal_uInt16 GetTextWidth (SCCOL nCol, SCROW nRow) const
 
bool SetOutlineTable (const ScOutlineTable *pNewOutline)
 
void StartOutlineTable ()
 
void DoAutoOutline (SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow)
 
bool TestRemoveSubTotals (const ScSubTotalParam &rParam)
 
void RemoveSubTotals (ScSubTotalParam &rParam)
 
bool DoSubTotals (ScSubTotalParam &rParam)
 
const ScSheetEventsGetSheetEvents () const
 
void SetSheetEvents (std::unique_ptr< ScSheetEvents > pNew)
 
bool IsVisible () const
 
void SetVisible (bool bVis)
 
bool IsStreamValid () const
 
void SetStreamValid (bool bSet, bool bIgnoreLock=false)
 
bool IsColValid (const SCCOL nScCol) const
 
bool IsColRowValid (const SCCOL nScCol, const SCROW nScRow) const
 
bool IsColRowTabValid (const SCCOL nScCol, const SCROW nScRow, const SCTAB nScTab) const
 
bool ValidCol (SCCOL nCol) const
 
bool ValidRow (SCROW nRow) const
 
bool ValidColRow (SCCOL nCol, SCROW nRow) const
 
bool IsPendingRowHeights () const
 
void SetPendingRowHeights (bool bSet)
 
bool GetCalcNotification () const
 
void SetCalcNotification (bool bSet)
 
bool IsLayoutRTL () const
 
bool IsLoadingRTL () const
 
void SetLayoutRTL (bool bSet)
 
void SetLoadingRTL (bool bSet)
 
bool IsScenario () const
 
void SetScenario (bool bFlag)
 
void GetScenarioComment (OUString &rComment) const
 
void SetScenarioComment (const OUString &rComment)
 
const ColorGetScenarioColor () const
 
void SetScenarioColor (const Color &rNew)
 
const ColorGetTabBgColor () const
 
void SetTabBgColor (const Color &rColor)
 
ScScenarioFlags GetScenarioFlags () const
 
void SetScenarioFlags (ScScenarioFlags nNew)
 
void SetActiveScenario (bool bSet)
 
bool IsActiveScenario () const
 
ScLinkMode GetLinkMode () const
 
bool IsLinked () const
 
const OUString & GetLinkDoc () const
 
const OUString & GetLinkFlt () const
 
const OUString & GetLinkOpt () const
 
const OUString & GetLinkTab () const
 
sal_uLong GetLinkRefreshDelay () const
 
void SetLink (ScLinkMode nMode, const OUString &rDoc, const OUString &rFlt, const OUString &rOpt, const OUString &rTab, sal_uLong nRefreshDelay)
 
sal_Int64 GetHashCode () const
 
const OUString & GetName () const
 
void SetName (const OUString &rNewName)
 
void SetAnonymousDBData (std::unique_ptr< ScDBData > pDBData)
 
ScDBDataGetAnonymousDBData ()
 
const OUString & GetCodeName () const
 
void SetCodeName (const OUString &rNewName)
 
const OUString & GetUpperName () const
 
const OUString & GetPageStyle () const
 
void SetPageStyle (const OUString &rName)
 
void PageStyleModified (const OUString &rNewName)
 
bool IsProtected () const
 
void SetProtection (const ScTableProtection *pProtect)
 
ScTableProtectionGetProtection ()
 
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, bool bIgnoreNotes) const
 
bool SetString (SCCOL nCol, SCROW nRow, SCTAB nTab, const OUString &rString, const ScSetStringParam *pParam=nullptr)
 
bool SetEditText (SCCOL nCol, SCROW nRow, std::unique_ptr< EditTextObject > pEditText)
 
void SetEditText (SCCOL nCol, SCROW nRow, const EditTextObject &rEditText, const SfxItemPool *pEditPool)
 
SCROW GetFirstEditTextRow (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2) const
 
void SetEmptyCell (SCCOL nCol, SCROW nRow)
 
void SetFormula (SCCOL nCol, SCROW nRow, const ScTokenArray &rArray, formula::FormulaGrammar::Grammar eGram)
 
void SetFormula (SCCOL nCol, SCROW nRow, const OUString &rFormula, formula::FormulaGrammar::Grammar eGram)
 
ScFormulaCellSetFormulaCell (SCCOL nCol, SCROW nRow, ScFormulaCell *pCell)
 Takes ownership of pCell. More...
 
bool SetFormulaCells (SCCOL nCol, SCROW nRow, std::vector< ScFormulaCell * > &rCells)
 
bool HasFormulaCell (const SCCOL nCol1, SCROW nRow1, const SCCOL nCol2, SCROW nRow2) const
 
svl::SharedString GetSharedString (SCCOL nCol, SCROW nRow) const
 
void SetValue (SCCOL nCol, SCROW nRow, const double &rVal)
 
void SetValues (const SCCOL nCol, const SCROW nRow, const std::vector< double > &rVals)
 
void SetError (SCCOL nCol, SCROW nRow, FormulaError nError)
 
SCSIZE GetPatternCount (SCCOL nCol) const
 
SCSIZE GetPatternCount (SCCOL nCol, SCROW nRow1, SCROW nRow2) const
 
bool ReservePatternCount (SCCOL nCol, SCSIZE nReserve)
 
void SetRawString (SCCOL nCol, SCROW nRow, const svl::SharedString &rStr)
 
void GetString (SCCOL nCol, SCROW nRow, OUString &rString, const ScInterpreterContext *pContext=nullptr) const
 
double * GetValueCell (SCCOL nCol, SCROW nRow)
 
void GetInputString (SCCOL nCol, SCROW nRow, OUString &rString) const
 
double GetValue (SCCOL nCol, SCROW nRow) const
 
const EditTextObjectGetEditText (SCCOL nCol, SCROW nRow) const
 
void RemoveEditTextCharAttribs (SCCOL nCol, SCROW nRow, const ScPatternAttr &rAttr)
 
void GetFormula (SCCOL nCol, SCROW nRow, OUString &rFormula) const
 
const ScFormulaCellGetFormulaCell (SCCOL nCol, SCROW nRow) const
 
ScFormulaCellGetFormulaCell (SCCOL nCol, SCROW nRow)
 
CellType GetCellType (const ScAddress &rPos) const
 
CellType GetCellType (SCCOL nCol, SCROW nRow) const
 
ScRefCellValue GetCellValue (SCCOL nCol, SCROW nRow) const
 
void GetFirstDataPos (SCCOL &rCol, SCROW &rRow) const
 
void GetLastDataPos (SCCOL &rCol, SCROW &rRow) const
 
std::unique_ptr< ScPostItReleaseNote (SCCOL nCol, SCROW nRow)
 
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, ScTable *pTransClip, InsertDeleteFlags nFlags, bool bAsLink)
 
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 (const ScTable *pDestTab) const
 
bool TestCopyScenarioTo (const ScTable *pDestTab) const
 
void MarkScenarioIn (ScMarkData &rMark, ScScenarioFlags nNeededBits) const
 
bool HasScenarioRange (const ScRange &rRange) const
 
void InvalidateScenarioRanges ()
 
const ScRangeListGetScenarioRanges () const
 
void CopyUpdated (const ScTable *pPosTab, ScTable *pDestTab) const
 
void InvalidateTableArea ()
 
void InvalidatePageBreaks ()
 
bool GetCellArea (SCCOL &rEndCol, SCROW &rEndRow) const
 
bool GetTableArea (SCCOL &rEndCol, SCROW &rEndRow) const
 
bool GetPrintArea (SCCOL &rEndCol, SCROW &rEndRow, bool bNotes) 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, bool bConsiderCellNotes, bool bConsiderCellDrawObjects) const
 
SCROW GetLastDataRow (SCCOL nCol1, SCCOL nCol2, SCROW nLastRow, bool bConsiderCellNotes=false, bool bConsiderCellDrawObjects=false) 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, ScHint &rHint)
 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_uLong nFillCount, FillDir eFillDir, FillCmd eFillCmd, FillDateCmd eFillDateCmd, double nStepValue, double nMaxValue, ScProgress *pProgress)
 
OUString GetAutoFillPreview (const ScRange &rSource, SCCOL nEndX, SCROW nEndY)
 
void UpdateSelectionFunction (ScFunctionData &rData, const ScMarkData &rMark)
 
void AutoFormat (SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, sal_uInt16 nFormatNo)
 
void GetAutoFormatData (SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, ScAutoFormatData &rData)
 
bool SearchAndReplace (const SvxSearchItem &rSearchItem, SCCOL &rCol, SCROW &rRow, const ScMarkData &rMark, ScRangeList &rMatchedRanges, OUString &rUndoStr, ScDocument *pUndoDoc)
 
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 IsMerged (SCCOL nCol, SCROW nRow) const
 
bool ExtendMerge (SCCOL nStartCol, SCROW nStartRow, SCCOL &rEndCol, SCROW &rEndRow, bool bRefresh)
 
void SetMergedCells (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2)
 
const SfxPoolItemGetAttr (SCCOL nCol, SCROW nRow, sal_uInt16 nWhich) const
 
template<class T >
const T * GetAttr (SCCOL nCol, SCROW nRow, TypedWhichId< T > nWhich) const
 
const ScPatternAttrGetPattern (SCCOL nCol, SCROW nRow) const
 
const ScPatternAttrGetMostUsedPattern (SCCOL nCol, SCROW nStartRow, SCROW nEndRow) const
 
sal_uInt32 GetNumberFormat (const ScInterpreterContext &rContext, const ScAddress &rPos) const
 
sal_uInt32 GetNumberFormat (SCCOL nCol, SCROW nRow) const
 
sal_uInt32 GetNumberFormat (SCCOL nCol, SCROW nStartRow, SCROW nEndRow) const
 
void SetNumberFormat (SCCOL nCol, SCROW nRow, sal_uInt32 nNumberFormat)
 
void MergeSelectionPattern (ScMergePatternState &rState, const ScMarkData &rMark, bool bDeep) const
 
void MergePatternArea (ScMergePatternState &rState, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, bool bDeep) const
 
void MergeBlockFrame (SvxBoxItem *pLineOuter, SvxBoxInfoItem *pLineInner, ScLineFlags &rFlags, SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow) const
 
void ApplyBlockFrame (const SvxBoxItem &rLineOuter, const SvxBoxInfoItem *pLineInner, SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow)
 
void ApplyAttr (SCCOL nCol, SCROW nRow, const SfxPoolItem &rAttr)
 
void ApplyPattern (SCCOL nCol, SCROW nRow, const ScPatternAttr &rAttr)
 
void ApplyPatternArea (SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, const ScPatternAttr &rAttr, ScEditDataArray *pDataArray=nullptr, bool *const pIsChanged=nullptr)
 
void SetPattern (const ScAddress &rPos, const ScPatternAttr &rAttr)
 
const ScPatternAttrSetPattern (SCCOL nCol, SCROW nRow, std::unique_ptr< ScPatternAttr >)
 
void SetPattern (SCCOL nCol, SCROW nRow, const ScPatternAttr &rAttr)
 
void ApplyPatternIfNumberformatIncompatible (const ScRange &rRange, const ScPatternAttr &rPattern, SvNumFormatType nNewType)
 
void AddCondFormatData (const ScRangeList &rRange, sal_uInt32 nIndex)
 
void RemoveCondFormatData (const ScRangeList &rRange, sal_uInt32 nIndex)
 
void SetPatternAreaCondFormat (SCCOL nCol, SCROW nStartRow, SCROW nEndRow, const ScPatternAttr &rAttr, const ScCondFormatIndexes &rCondFormatIndexes)
 
void ApplyStyle (SCCOL nCol, SCROW nRow, const ScStyleSheet *rStyle)
 
void ApplyStyleArea (SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, const ScStyleSheet &rStyle)
 
void ApplySelectionStyle (const ScStyleSheet &rStyle, const ScMarkData &rMark)
 
void ApplySelectionLineStyle (const ScMarkData &rMark, const ::editeng::SvxBorderLine *pLine, bool bColorOnly)
 
const ScStyleSheetGetStyle (SCCOL nCol, SCROW nRow) const
 
const ScStyleSheetGetSelectionStyle (const ScMarkData &rMark, bool &rFound) const
 
const ScStyleSheetGetAreaStyle (bool &rFound, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2) const
 
void StyleSheetChanged (const SfxStyleSheetBase *pStyleSheet, bool bRemoved, OutputDevice *pDev, double nPPTX, double nPPTY, const Fraction &rZoomX, const Fraction &rZoomY)
 
bool IsStyleSheetUsed (const ScStyleSheet &rStyle) const
 
bool ApplyFlags (SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, ScMF nFlags)
 
bool RemoveFlags (SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, ScMF nFlags)
 
void ApplySelectionCache (SfxItemPoolCache *pCache, const ScMarkData &rMark, ScEditDataArray *pDataArray=nullptr, bool *const pIsChanged=nullptr)
 
void DeleteSelection (InsertDeleteFlags nDelFlag, const ScMarkData &rMark, bool bBroadcast=true)
 
void ClearSelectionItems (const sal_uInt16 *pWhich, const ScMarkData &rMark)
 
void ChangeSelectionIndent (bool bIncrement, const ScMarkData &rMark)
 
const ScRangeGetRepeatColRange () const
 
const ScRangeGetRepeatRowRange () const
 
void SetRepeatColRange (std::unique_ptr< ScRange > pNew)
 
void SetRepeatRowRange (std::unique_ptr< ScRange > pNew)
 
sal_uInt16 GetPrintRangeCount () const
 
const ScRangeGetPrintRange (sal_uInt16 nPos) const
 
bool IsPrintEntireSheet () const
 Returns true, if the sheet is always printed. More...
 
void ClearPrintRanges ()
 Removes all print ranges. More...
 
void AddPrintRange (const ScRange &rNew)
 Adds a new print ranges. More...
 
void SetPrintEntireSheet ()
 Marks the specified sheet to be printed completely. More...
 
void FillPrintSaver (ScPrintSaverTab &rSaveTab) const
 
void RestorePrintRanges (const ScPrintSaverTab &rSaveTab)
 
sal_uInt16 GetOptimalColWidth (SCCOL nCol, OutputDevice *pDev, double nPPTX, double nPPTY, const Fraction &rZoomX, const Fraction &rZoomY, bool bFormula, const ScMarkData *pMarkData, const ScColWidthParam *pParam)
 
bool SetOptimalHeight (sc::RowHeightContext &rCxt, SCROW nStartRow, SCROW nEndRow, ScProgress *pOuterProgress=nullptr, sal_uLong nProgressStart=0)
 
void SetOptimalHeightOnly (sc::RowHeightContext &rCxt, SCROW nStartRow, SCROW nEndRow, ScProgress *pOuterProgress=nullptr, sal_uLong nProgressStart=0)
 
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)
 
void SetRowHeightOnly (SCROW nStartRow, SCROW nEndRow, sal_uInt16 nNewHeight)
 Set specified row height to specified ranges. More...
 
void SetManualHeight (SCROW nStartRow, SCROW nEndRow, bool bManual)
 
sal_uInt16 GetColWidth (SCCOL nCol, bool bHiddenAsZero=true) const
 
sal_uLong GetColWidth (SCCOL nStartCol, SCCOL nEndCol) const
 
sal_uInt16 GetRowHeight (SCROW nRow, SCROW *pStartRow, SCROW *pEndRow, bool bHiddenAsZero=true) const
 
sal_uLong GetRowHeight (SCROW nStartRow, SCROW nEndRow, bool bHiddenAsZero=true) const
 
sal_uLong GetScaledRowHeight (SCROW nStartRow, SCROW nEndRow, double fScale, const sal_uLong *pnMaxHeight=nullptr) const
 
sal_uLong GetColOffset (SCCOL nCol, bool bHiddenAsZero=true) const
 
sal_uLong GetRowOffset (SCROW nRow, bool bHiddenAsZero=true) const
 
SCROW GetRowForHeight (sal_uLong 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 GetLastChangedCol () const
 
SCROW GetLastChangedRow () 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 (const ::std::set< SCROW > &rBreaks)
 
void SetColManualBreaks (const ::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
 
sal_uInt32 GetTotalRowHeight (SCROW nStartRow, SCROW nEndRow, bool bHiddenAsZero=true) const
 
SCCOLROW LastHiddenColRow (SCCOLROW nPos, bool bCol) const
 
bool RowFiltered (SCROW nRow, SCROW *pFirstRow=nullptr, SCROW *pLastRow=nullptr) const
 
bool ColFiltered (SCCOL nCol, SCCOL *pFirstCol=nullptr, SCCOL *pLastCol=nullptr) const
 
bool HasFilteredRows (SCROW nStartRow, SCROW nEndRow) const
 
void CopyColFiltered (const ScTable &rTable, SCCOL nStartCol, SCCOL nEndCol)
 
void CopyRowFiltered (const ScTable &rTable, SCROW nStartRow, SCROW nEndRow)
 
void SetRowFiltered (SCROW nStartRow, SCROW nEndRow, bool bFiltered)
 
void SetColFiltered (SCCOL nStartCol, SCCOL nEndCol, bool bFiltered)
 
SCROW FirstNonFilteredRow (SCROW nStartRow, SCROW nEndRow) const
 
SCROW LastNonFilteredRow (SCROW nStartRow, SCROW nEndRow) const
 
SCROW CountNonFilteredRows (SCROW nStartRow, SCROW nEndRow) const
 
bool IsManualRowHeight (SCROW nRow) const
 
bool HasUniformRowHeight (SCROW nRow1, SCROW nRow2) const
 
void SyncColRowFlags ()
 
void StripHidden (SCCOL &rX1, SCROW &rY1, SCCOL &rX2, SCROW &rY2)
 
void ExtendHidden (SCCOL &rX1, SCROW &rY1, SCCOL &rX2, SCROW &rY2)
 
void Sort (const ScSortParam &rSortParam, bool bKeepQuery, bool bUpdateRefs, ScProgress *pProgress, sc::ReorderParam *pUndo)
 Sort a range of data. More...
 
void Reorder (const sc::ReorderParam &rParam)
 
bool ValidQuery (SCROW nRow, const ScQueryParam &rQueryParam, const ScRefCellValue *pCell=nullptr, bool *pbTestEqualCondition=nullptr, const ScInterpreterContext *pContext=nullptr, sc::TableColumnBlockPositionSet *pBlockPos=nullptr)
 
void TopTenQuery (ScQueryParam &)
 
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)
 
void GetFilteredFilterEntries (SCCOL nCol, SCROW nRow1, SCROW nRow2, const ScQueryParam &rParam, ScFilterEntries &rFilterEntries)
 
bool GetDataEntries (SCCOL nCol, SCROW nRow, std::set< ScTypedStrData > &rStrings, bool bLimit)
 
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)
 
void SetRangeName (std::unique_ptr< ScRangeName > pNew)
 
ScRangeNameGetRangeName () const
 
void PreprocessRangeNameUpdate (sc::EndListeningContext &rEndListenCxt, sc::CompileFormulaContext &rCompileCxt)
 
void CompileHybridFormula (sc::StartListeningContext &rStartListenCxt, sc::CompileFormulaContext &rCompileCxt)
 
void PreprocessDBDataUpdate (sc::EndListeningContext &rEndListenCxt, sc::CompileFormulaContext &rCompileCxt)
 
ScConditionalFormatListGetCondFormList ()
 
const ScConditionalFormatListGetCondFormList () const
 
void SetCondFormList (ScConditionalFormatList *pList)
 
void DeleteConditionalFormat (sal_uLong nOldIndex)
 
sal_uLong AddCondFormat (std::unique_ptr< ScConditionalFormat > pNew)
 
SvtScriptType GetScriptType (SCCOL nCol, SCROW nRow) const
 
void SetScriptType (SCCOL nCol, SCROW nRow, SvtScriptType nType)
 
void UpdateScriptTypes (const SCCOL nCol1, SCROW nRow1, const SCCOL nCol2, SCROW nRow2)
 
SvtScriptType GetRangeScriptType (sc::ColumnBlockPosition &rBlockPos, SCCOL nCol, SCROW nRow1, SCROW nRow2)
 
size_t GetFormulaHash (SCCOL nCol, SCROW nRow) const
 
ScFormulaVectorState GetFormulaVectorState (SCCOL nCol, SCROW nRow) const
 
formula::FormulaTokenRef ResolveStaticReference (SCCOL nCol, SCROW nRow)
 
formula::FormulaTokenRef ResolveStaticReference (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2)
 
formula::VectorRefArray FetchVectorRefArray (SCCOL nCol, SCROW nRow1, SCROW nRow2)
 
bool HandleRefArrayForParallelism (SCCOL nCol, SCROW nRow1, SCROW nRow2, const ScFormulaCellGroupRef &mxGroup)
 
void AssertNoInterpretNeeded (SCCOL nCol, SCROW nRow1, SCROW nRow2)
 
void SplitFormulaGroups (SCCOL nCol, std::vector< SCROW > &rRows)
 
void UnshareFormulaCells (SCCOL nCol, std::vector< SCROW > &rRows)
 
void RegroupFormulaCells (SCCOL nCol)
 
ScRefCellValue GetRefCellValue (SCCOL nCol, SCROW nRow)
 
ScRefCellValue GetRefCellValue (SCCOL nCol, SCROW nRow, sc::ColumnBlockPosition &rBlockPos)
 
SvtBroadcasterGetBroadcaster (SCCOL nCol, SCROW nRow)
 
const SvtBroadcasterGetBroadcaster (SCCOL nCol, SCROW nRow) const
 
void DeleteBroadcasters (sc::ColumnBlockPosition &rBlockPos, SCCOL nCol, SCROW nRow1, SCROW nRow2)
 
void 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)
 
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::unique_ptr< sc::ColumnIteratorGetColumnIterator (SCCOL nCol, SCROW nRow1, SCROW nRow2) const
 
bool EnsureFormulaCellResults (const SCCOL nCol1, SCROW nRow1, const SCCOL nCol2, SCROW nRow2, bool bSkipRunning=false)
 
void ConvertFormulaToValue (sc::EndListeningContext &rCxt, const SCCOL nCol1, const SCROW nRow1, const SCCOL nCol2, const SCROW nRow2, sc::TableValues *pUndo)
 
void SwapNonEmpty (sc::TableValues &rValues, sc::StartListeningContext &rStartCxt, sc::EndListeningContext &rEndCxt)
 
void finalizeOutlineImport ()
 
void StoreToCache (SvStream &rStrm) const
 
void RestoreFromCache (SvStream &rStrm)
 
void DumpColumnStorage (SCCOL nCol) const
 
ScColumnsRange 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...
 

Static Public Member Functions

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

Private Types

typedef ::std::vector< ScRangeScRangeVec
 

Private Member Functions

void FillFormulaVertical (const ScFormulaCell &rSrcCell, SCCOLROW &rInner, SCCOL nCol, SCROW nRow1, SCROW nRow2, ScProgress *pProgress, sal_uLong &rProgress)
 
void FillSeriesSimple (const ScCellValue &rSrcCell, SCCOLROW &rInner, SCCOLROW nIMin, SCCOLROW nIMax, const SCCOLROW &rCol, const SCCOLROW &rRow, bool bVertical, ScProgress *pProgress, sal_uLong &rProgress)
 
void FillAutoSimple (SCCOLROW nISrcStart, SCCOLROW nISrcEnd, SCCOLROW nIStart, SCCOLROW nIEnd, SCCOLROW &rInner, const SCCOLROW &rCol, const SCCOLROW &rRow, sal_uLong nActFormCnt, sal_uLong nMaxFormCnt, bool bHasFiltered, bool bVertical, bool bPositive, ScProgress *pProgress, sal_uLong &rProgress)
 
void FillSeries (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, sal_uLong nFillCount, FillDir eFillDir, FillCmd eFillCmd, FillDateCmd eFillDateCmd, double nStepValue, double nMaxValue, sal_uInt16 nMinDigits, bool bAttribs, ScProgress *pProgress)
 
void FillAnalyse (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, FillCmd &rCmd, FillDateCmd &rDateCmd, double &rInc, sal_uInt16 &rMinDigits, ScUserListData *&rListData, sal_uInt16 &rListIndex)
 
void FillAuto (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, sal_uLong 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)
 
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 SearchStyle (const SvxSearchItem &rSearchItem, SCCOL &rCol, SCROW &rRow, const ScMarkData &rMark)
 
bool ReplaceStyle (const SvxSearchItem &rSearchItem, SCCOL &rCol, SCROW &rRow, const ScMarkData &rMark, bool bIsUndo)
 
bool SearchAllStyle (const SvxSearchItem &rSearchItem, const ScMarkData &rMark, ScRangeList &rMatchedRanges)
 
bool ReplaceAllStyle (const SvxSearchItem &rSearchItem, const ScMarkData &rMark, ScRangeList &rMatchedRanges, ScDocument *pUndoDoc)
 
bool SearchAndReplaceEmptyCells (const SvxSearchItem &rSearchItem, SCCOL &rCol, SCROW &rRow, const ScMarkData &rMark, ScRangeList &rMatchedRanges, OUString &rUndoStr, ScDocument *pUndoDoc)
 
bool SearchRangeForEmptyCell (const ScRange &rRange, const SvxSearchItem &rSearchItem, SCCOL &rCol, SCROW &rRow, OUString &rUndoStr)
 
bool SearchRangeForAllEmptyCells (const ScRange &rRange, const SvxSearchItem &rSearchItem, ScRangeList &rMatchedRanges, OUString &rUndoStr, ScDocument *pUndoDoc)
 
bool IsSorted (SCCOLROW nStart, SCCOLROW nEnd) const
 
short CompareCell (sal_uInt16 nSort, ScRefCellValue &rCell1, SCCOL nCell1Col, SCROW nCell1Row, ScRefCellValue &rCell2, SCCOL nCell2Col, SCROW nCell2Row) const
 
short Compare (SCCOLROW nIndex1, SCCOLROW nIndex2) const
 
short Compare (ScSortInfoArray *, SCCOLROW nIndex1, SCCOLROW nIndex2) const
 
std::unique_ptr< ScSortInfoArrayCreateSortInfoArray (const sc::ReorderParam &rParam)
 
std::unique_ptr< ScSortInfoArrayCreateSortInfoArray (const ScSortParam &rSortParam, SCCOLROW nInd1, SCCOLROW nInd2, bool bKeepQuery, bool bUpdateRefs)
 
void QuickSort (ScSortInfoArray *, SCCOLROW nLo, SCCOLROW nHi)
 
void SortReorderByColumn (const ScSortInfoArray *pArray, SCROW nRow1, SCROW nRow2, bool bPattern, ScProgress *pProgress)
 
void SortReorderByRow (ScSortInfoArray *pArray, SCCOL nCol1, SCCOL nCol2, ScProgress *pProgress)
 
void SortReorderByRowRefUpdate (ScSortInfoArray *pArray, SCCOL nCol1, SCCOL nCol2, 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)
 
void GetUpperCellString (SCCOL nCol, SCROW nRow, OUString &rStr)
 
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 TransposeColNotes (ScTable *pTransClip, SCCOL nCol1, SCCOL nCol, SCROW nRow1, SCROW nRow2)
 
ScColumnFetchColumn (SCCOL nCol)
 
const ScColumnFetchColumn (SCCOL nCol) const
 
void EndListeningIntersectedGroup (sc::EndListeningContext &rCxt, SCCOL nCol, SCROW nRow, std::vector< ScAddress > *pGroupPos)
 
void EndListeningIntersectedGroups (sc::EndListeningContext &rCxt, const SCCOL nCol1, SCROW nRow1, const SCCOL nCol2, SCROW nRow2, std::vector< ScAddress > *pGroupPos)
 
void EndListeningGroup (sc::EndListeningContext &rCxt, const SCCOL nCol, SCROW nRow)
 
void SetNeedsListeningGroup (SCCOL nCol, SCROW nRow)
 
OString dumpColumnRowSizes (bool bColumns)
 Returns list-of-spans representation of the column-widths/row-heights in twips encoded as an OString. More...
 
OString dumpHiddenFiltered (bool bColumns, bool bHidden)
 Returns list-of-spans representation of hidden/filtered states of columns/rows encoded as an OString. More...
 
OString dumpColumnRowGroups (bool bColumns) const
 Returns list-of-spans representation of the column/row groupings encoded as an OString. More...
 
SCCOL GetLOKFreezeCol () const
 
SCROW GetLOKFreezeRow () const
 
bool SetLOKFreezeCol (SCCOL nFreezeCol)
 
bool SetLOKFreezeRow (SCROW nFreezeRow)
 

Static Private Member Functions

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

Private Attributes

ScColContainer aCol
 
OUString aName
 
OUString aCodeName
 
OUString aComment
 
OUString aLinkDoc
 
OUString aLinkFlt
 
OUString aLinkOpt
 
OUString aLinkTab
 
sal_uLong nLinkRefreshDelay
 
ScLinkMode nLinkMode
 
OUString aPageStyle
 
Size aPageSizeTwips
 
SCCOL nRepeatStartX
 
SCCOL nRepeatEndX
 
SCROW nRepeatStartY
 
SCROW nRepeatEndY
 
std::unique_ptr< ScTableProtectionpTabProtection
 
std::unique_ptr< ScCompressedArray< SCCOL, sal_uInt16 > > mpColWidth
 
std::unique_ptr< ScFlatUInt16RowSegmentsmpRowHeights
 
std::unique_ptr< ScBitMaskCompressedArray< SCCOL, CRFlags > > mpColFlags
 
std::unique_ptr< ScBitMaskCompressedArray< SCROW, CRFlags > > pRowFlags
 
std::unique_ptr< ScFlatBoolColSegmentsmpHiddenCols
 
std::unique_ptr< ScFlatBoolRowSegmentsmpHiddenRows
 
std::unique_ptr< ScFlatBoolColSegmentsmpFilteredCols
 
std::unique_ptr< ScFlatBoolRowSegmentsmpFilteredRows
 
::std::set< SCROWmaRowPageBreaks
 
::std::set< SCROWmaRowManualBreaks
 
::std::set< SCCOLmaColPageBreaks
 
::std::set< SCCOLmaColManualBreaks
 
std::unique_ptr< ScOutlineTablepOutlineTable
 
std::unique_ptr< ScSheetEventspSheetEvents
 
SCCOL nTableAreaX
 
SCROW nTableAreaY
 
SCTAB nTab
 
ScDocumentrDocument
 
std::unique_ptr< utl::TextSearchpSearchText
 
OUString aUpperName
 
ScSortParam aSortParam
 
CollatorWrapperpSortCollator
 
ScRangeVec aPrintRanges
 
std::unique_ptr< ScRangepRepeatColRange
 
std::unique_ptr< ScRangepRepeatRowRange
 
sal_uInt16 nLockCount
 
std::unique_ptr< ScRangeListpScenarioRanges
 
Color aScenarioColor
 
Color aTabBgColor
 
ScScenarioFlags nScenarioFlags
 
std::unique_ptr< ScDBDatapDBDataNoName
 
std::unique_ptr< ScRangeNamempRangeName
 
std::unique_ptr< ScConditionalFormatListmpCondFormatList
 
ScAddress maLOKFreezeCell
 
bool bScenario:1
 
bool bLayoutRTL:1
 
bool bLoadingRTL:1
 
bool bPageSizeValid:1
 
bool bTableAreaValid:1
 
bool bVisible:1
 
bool bStreamValid:1
 
bool bPendingRowHeights:1
 
bool bCalcNotification:1
 
bool bGlobalKeepQuery:1
 
bool bPrintEntireSheet:1
 
bool bActiveScenario:1
 
bool mbPageBreaksValid:1
 
bool mbForceBreaks:1
 
ScAttrArray aDefaultColAttrArray
 

Friends

class ScDocument
 
class ScColumn
 
class ScValueIterator
 
class ScHorizontalValueIterator
 
class ScDBQueryDataIterator
 
class ScFormulaGroupIterator
 
class ScCellIterator
 
class ScQueryCellIterator
 
class ScCountIfCellIterator
 
class ScHorizontalCellIterator
 
class ScHorizontalAttrIterator
 
class ScDocAttrIterator
 
class ScAttrRectIterator
 
class ScColumnTextWidthIterator
 
class ScDocumentImport
 
class sc::DocumentStreamAccess
 
class sc::ColumnSpanSet
 
class sc::RangeColumnSpanSet
 
class sc::EditTextIterator
 
class sc::FormulaGroupAreaListener
 

Detailed Description

Definition at line 151 of file table.hxx.

Member Typedef Documentation

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

Definition at line 154 of file table.hxx.

Constructor & Destructor Documentation

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

Member Function Documentation

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

Definition at line 2342 of file table1.cxx.

References mpCondFormatList.

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

Adds a new print ranges.

Definition at line 2198 of file table1.cxx.

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

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

Definition at line 2923 of file table2.cxx.

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

Referenced by SetMergedCells().

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

Definition at line 2631 of file table2.cxx.

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

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

Definition at line 2882 of file table2.cxx.

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

Referenced by SetMergedCells().

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

Definition at line 2645 of file table2.cxx.

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

void ScTable::ApplyPatternArea ( SCCOL  nStartCol,
SCROW  nStartRow,
SCCOL  nEndCol,
SCROW  nEndRow,
const ScPatternAttr rAttr,
ScEditDataArray pDataArray = nullptr,
bool *const  pIsChanged = nullptr 
)
void ScTable::ApplyPatternIfNumberformatIncompatible ( const ScRange rRange,
const ScPatternAttr rPattern,
SvNumFormatType  nNewType 
)

Definition at line 2664 of file table2.cxx.

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

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

Definition at line 2929 of file table2.cxx.

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

Referenced by DeleteSelection().

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

Definition at line 2769 of file table2.cxx.

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

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

Definition at line 2763 of file table2.cxx.

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

Referenced by ReplaceAllStyle().

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

Definition at line 2725 of file table2.cxx.

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

Referenced by DoSubTotals(), and ReplaceStyle().

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

Definition at line 2444 of file table1.cxx.

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

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

Definition at line 1123 of file table2.cxx.

References aCol, and ClampToAllocatedColumns().

Referenced by SortReorderByRow().

void ScTable::AutoFormat ( SCCOL  nStartCol,
SCROW  nStartRow,
SCCOL  nEndCol,
SCROW  nEndRow,
sal_uInt16  nFormatNo 
)
void ScTable::AutoFormatArea ( SCCOL  nStartCol,
SCROW  nStartRow,
SCCOL  nEndCol,
SCROW  nEndRow,
const ScPatternAttr rAttr,
sal_uInt16  nFormatNo 
)
private
bool ScTable::BroadcastBroadcasters ( SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2,
ScHint rHint 
)

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 1928 of file table2.cxx.

References aCol, ClampToAllocatedColumns(), ScHint::GetAddress(), and ScAddress::SetTab().

Referenced by ScDocument::BroadcastCells().

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 1921 of file table2.cxx.

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

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

Definition at line 1987 of file table2.cxx.

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

void ScTable::CalcAll ( )

Definition at line 1944 of file table2.cxx.

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

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

Definition at line 2518 of file table1.cxx.

References aCol, and ValidCol().

Referenced by ScDocument::CalculateInColumnInThread().

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

Definition at line 2936 of file table2.cxx.

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

void ScTable::CheckVectorizationState ( )

Definition at line 1866 of file table2.cxx.

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

SCCOL ScTable::ClampToAllocatedColumns ( SCCOL  nCol) const
inline
void ScTable::ClearPrintRanges ( )

Removes all print ranges.

Definition at line 2188 of file table1.cxx.

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

Referenced by SetPrintEntireSheet().

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

Definition at line 2942 of file table2.cxx.

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

bool ScTable::ColFiltered ( SCCOL  nCol,
SCCOL pFirstCol = nullptr,
SCCOL pLastCol = nullptr 
) const
bool ScTable::ColHidden ( SCCOL  nCol,
SCCOL pFirstCol = nullptr,
SCCOL pLastCol = nullptr 
) const
short ScTable::Compare ( SCCOLROW  nIndex1,
SCCOLROW  nIndex2 
) const
private
short ScTable::Compare ( ScSortInfoArray pArray,
SCCOLROW  nIndex1,
SCCOLROW  nIndex2 
) const
private
short ScTable::CompareCell ( sal_uInt16  nSort,
ScRefCellValue rCell1,
SCCOL  nCell1Col,
SCROW  nCell1Row,
ScRefCellValue rCell2,
SCCOL  nCell2Col,
SCROW  nCell2Row 
) const
private
void ScTable::CompileAll ( sc::CompileFormulaContext rCxt)

Definition at line 1952 of file table2.cxx.

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

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

Definition at line 2400 of file table4.cxx.

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

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

Definition at line 2394 of file table4.cxx.

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

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

Definition at line 1975 of file table2.cxx.

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

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

Definition at line 237 of file table7.cxx.

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

Referenced by ScDocument::CompileHybridFormula().

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

Definition at line 1961 of file table2.cxx.

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

Referenced by ScDocument::CompileXML().

bool ScTable::ContainsNotesInRange ( const ScRange rRange) const
void ScTable::ConvertFormulaToValue ( sc::EndListeningContext rCxt,
const SCCOL  nCol1,
const SCROW  nRow1,
const SCCOL  nCol2,
const SCROW  nRow2,
sc::TableValues pUndo 
)
void ScTable::CopyCaptionsToTable ( SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2,
ScTable pDestTab,
bool  bCloneCaption 
)

Definition at line 1310 of file table2.cxx.

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

Referenced by CopyToTable().

void ScTable::CopyCellToDocument ( SCCOL  nSrcCol,
SCROW  nSrcRow,
SCCOL  nDestCol,
SCROW  nDestRow,
ScTable rDestTab 
)
void ScTable::CopyCellValuesFrom ( const SCCOL  nCol,
SCROW  nRow,
const sc::CellValues rSrc 
)
void ScTable::CopyColFiltered ( const ScTable rTable,
SCCOL  nStartCol,
SCCOL  nEndCol 
)

Definition at line 841 of file table5.cxx.

References ColFiltered(), and SetColFiltered().

Referenced by CopyToClip().

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

Definition at line 628 of file table5.cxx.

References ColHidden(), and SetColHidden().

Referenced by CopyToClip().

void ScTable::CopyConditionalFormat ( SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2,
SCCOL  nDx,
SCROW  nDy,
const ScTable pTable 
)
void ScTable::CopyData ( SCCOL  nStartCol,
SCROW  nStartRow,
SCCOL  nEndCol,
SCROW  nEndRow,
SCCOL  nDestCol,
SCROW  nDestRow,
SCTAB  nDestTab 
)
void ScTable::CopyFromClip ( sc::CopyFromClipContext rCxt,
SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2,
SCCOL  nDx,
SCROW  nDy,
ScTable pTable 
)
void ScTable::CopyOneCellFromClip ( sc::CopyFromClipContext rCxt,
const SCCOL  nCol1,
const SCROW  nRow1,
const SCCOL  nCol2,
const SCROW  nRow2,
const SCROW  nSrcRow,
const ScTable pSrcTab 
)
void ScTable::CopyPrintRange ( const ScTable rTable)
private

Definition at line 2143 of file table1.cxx.

References aPrintRanges, bPrintEntireSheet, nTab, pRepeatColRange, and pRepeatRowRange.

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

Definition at line 856 of file table5.cxx.

References RowFiltered(), and SetRowFiltered().

Referenced by CopyToClip().

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

Definition at line 643 of file table5.cxx.

References RowHidden(), and SetRowHidden().

Referenced by CopyToClip().

void ScTable::CopyScenarioFrom ( const ScTable pSrcTab)

Definition at line 1402 of file table2.cxx.

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

void ScTable::CopyScenarioTo ( const ScTable pDestTab) const

Definition at line 1394 of file table2.cxx.

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

void ScTable::CopyStaticToDocument ( SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2,
const SvNumberFormatterMergeMap rMap,
ScTable pDestTab 
)
void ScTable::CopyToClip ( sc::CopyToClipContext rCxt,
SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2,
ScTable pTable 
)
void ScTable::CopyToClip ( sc::CopyToClipContext rCxt,
const ScRangeList rRanges,
ScTable pTable 
)
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 
)
void ScTable::CopyUpdated ( const ScTable pPosTab,
ScTable pDestTab 
) const

Definition at line 1376 of file table2.cxx.

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

SCROW ScTable::CountNonFilteredRows ( SCROW  nStartRow,
SCROW  nEndRow 
) const
SCROW ScTable::CountVisibleRows ( SCROW  nStartRow,
SCROW  nEndRow 
) const
void ScTable::CreateAllNoteCaptions ( )

Definition at line 1695 of file table2.cxx.

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

ScColumn& ScTable::CreateColumnIfNotExists ( const SCCOL  nScCol) const
inline
void ScTable::CreateColumnIfNotExistsImpl ( const SCCOL  nScCol) const
bool ScTable::CreateExcelQuery ( SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2,
ScQueryParam rQueryParam 
)
private
bool ScTable::CreateQueryParam ( SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2,
ScQueryParam rQueryParam 
)
std::unique_ptr< ScSortInfoArray > ScTable::CreateSortInfoArray ( const sc::ReorderParam rParam)
private
std::unique_ptr< ScSortInfoArray > ScTable::CreateSortInfoArray ( const ScSortParam rSortParam,
SCCOLROW  nInd1,
SCCOLROW  nInd2,
bool  bKeepQuery,
bool  bUpdateRefs 
)
private
bool ScTable::CreateStarQuery ( SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2,
ScQueryParam rQueryParam 
)
private
void ScTable::DBShowRow ( SCROW  nRow,
bool  bShow 
)
void ScTable::DBShowRows ( SCROW  nRow1,
SCROW  nRow2,
bool  bShow 
)
void ScTable::DecoladeRow ( ScSortInfoArray pArray,
SCROW  nRow1,
SCROW  nRow2 
)
staticprivate

Definition at line 1680 of file table3.cxx.

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

Referenced by Sort(), and TopTenQuery().

void ScTable::DeleteArea ( SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2,
InsertDeleteFlags  nDelFlag,
bool  bBroadcast = true,
sc::ColumnSpanSet pBroadcastSpans = nullptr 
)
void ScTable::DeleteBeforeCopyFromClip ( sc::CopyFromClipContext rCxt,
const ScTable rClipTab,
sc::ColumnSpanSet rBroadcastSpans 
)
void ScTable::DeleteBroadcasters ( sc::ColumnBlockPosition rBlockPos,
SCCOL  nCol,
SCROW  nRow1,
SCROW  nRow2 
)

Definition at line 2487 of file table1.cxx.

References aCol, and IsColValid().

Referenced by ScDocument::DeleteBroadcasters().

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

Definition at line 2562 of file table1.cxx.

References mpCondFormatList.

void ScTable::DeleteRow ( const sc::ColumnSet rRegroupCols,
SCCOL  nStartCol,
SCCOL  nEndCol,
SCROW  nStartRow,
SCSIZE  nSize,
bool *  pUndoOutline,
std::vector< ScAddress > *  pGroupPos 
)
void ScTable::DeleteSelection ( InsertDeleteFlags  nDelFlag,
const ScMarkData rMark,
bool  bBroadcast = true 
)
void ScTable::DestroySortCollator ( )

Definition at line 633 of file table3.cxx.

References IsSortCollatorGlobal(), and pSortCollator.

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

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

Definition at line 1131 of file table2.cxx.

References aCol, and ClampToAllocatedColumns().

Referenced by SortReorderByRow().

void ScTable::DoAutoOutline ( SCCOL  nStartCol,
SCROW  nStartRow,
SCCOL  nEndCol,
SCROW  nEndRow 
)
bool ScTable::DoSubTotals ( ScSubTotalParam rParam)
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().

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 ScCompressedArray< A, D >::GetValue(), MAXCOL, MAXROW, mpColWidth, mpRowHeights, ScGlobal::nStdRowHeight, and STD_COL_WIDTH.

Referenced by dumpSheetGeomData().

void ScTable::DumpColumnStorage ( SCCOL  nCol) const
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 MAXCOL, MAXROW, mpFilteredCols, mpFilteredRows, mpHiddenCols, and mpHiddenRows.

Referenced by 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().

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

Definition at line 1105 of file table5.cxx.

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

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().

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().

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

Definition at line 315 of file table7.cxx.

References aCol, GetColumnsRange(), IsColValid(), and ValidCol().

Referenced by ScDocument::EndListeningIntersectedGroups().

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().

void ScTable::ExtendHidden ( SCCOL rX1,
SCROW rY1,
SCCOL rX2,
SCROW rY2 
)
bool ScTable::ExtendMerge ( SCCOL  nStartCol,
SCROW  nStartRow,
SCCOL rEndCol,
SCROW rEndRow,
bool  bRefresh 
)
void ScTable::ExtendPrintArea ( OutputDevice pDev,
SCCOL  nStartCol,
SCROW  nStartRow,
SCCOL rEndCol,
SCROW  nEndRow 
)
ScColumn * ScTable::FetchColumn ( SCCOL  nCol)
private
const ScColumn * ScTable::FetchColumn ( SCCOL  nCol) const
private

Definition at line 1095 of file table2.cxx.

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

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

Definition at line 2432 of file table1.cxx.

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

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

Definition at line 2039 of file table4.cxx.

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

void ScTable::FillAnalyse ( SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2,
FillCmd rCmd,
FillDateCmd rDateCmd,
double &  rInc,
sal_uInt16 &  rMinDigits,
ScUserListData *&  rListData,
sal_uInt16 &  rListIndex 
)
private
void ScTable::FillAuto ( SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2,
sal_uLong  nFillCount,
FillDir  eFillDir,
ScProgress pProgress 
)
private
void ScTable::FillAutoSimple ( SCCOLROW  nISrcStart,
SCCOLROW  nISrcEnd,
SCCOLROW  nIStart,
SCCOLROW  nIEnd,
SCCOLROW rInner,
const SCCOLROW rCol,
const SCCOLROW rRow,
sal_uLong  nActFormCnt,
sal_uLong  nMaxFormCnt,
bool  bHasFiltered,
bool  bVertical,
bool  bPositive,
ScProgress pProgress,
sal_uLong rProgress 
)
private
void ScTable::FillFormula ( const ScFormulaCell pSrcCell,
SCCOL  nDestCol,
SCROW  nDestRow,
bool  bLast 
)
private
void ScTable::FillFormulaVertical ( const ScFormulaCell rSrcCell,
SCCOLROW rInner,
SCCOL  nCol,
SCROW  nRow1,
SCROW  nRow2,
ScProgress pProgress,
sal_uLong rProgress 
)
private
void ScTable::FillMatrix ( ScMatrix rMat,
SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2,
svl::SharedStringPool pPool 
) const

Definition at line 2496 of file table1.cxx.

References CreateColumnIfNotExists(), and ScColumn::FillMatrix().

Referenced by ScDocument::FillMatrix().

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
void ScTable::FillPrintSaver ( ScPrintSaverTab rSaveTab) const
void ScTable::FillSeries ( SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2,
sal_uLong  nFillCount,
FillDir  eFillDir,
FillCmd  eFillCmd,
FillDateCmd  eFillDateCmd,
double  nStepValue,
double  nMaxValue,
sal_uInt16  nMinDigits,
bool  bAttribs,
ScProgress pProgress 
)
private
void ScTable::FillSeriesSimple ( const ScCellValue rSrcCell,
SCCOLROW rInner,
SCCOLROW  nIMin,
SCCOLROW  nIMax,
const SCCOLROW rCol,
const SCCOLROW rRow,
bool  bVertical,
ScProgress pProgress,
sal_uLong rProgress 
)
private
void ScTable::finalizeOutlineImport ( )

Definition at line 449 of file table7.cxx.

References pOutlineTable, and pRowFlags.

Referenced by ScDocument::finalizeOutlineImport().

void ScTable::FindAreaPos ( SCCOL rCol,
SCROW rRow,
ScMoveDirection  eDirection 
) const
void ScTable::FindMaxRotCol ( RowInfo pRowInfo,
SCSIZE  nArrCount,
SCCOL  nX1,
SCCOL  nX2 
)
SCCOL ScTable::FindNextVisibleCol ( SCCOL  nCol,
bool  bRight 
) const
private

Definition at line 1170 of file table1.cxx.

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

Referenced by FindAreaPos().

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

Definition at line 1194 of file table1.cxx.

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

Referenced by FindAreaPos().

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

Definition at line 1947 of file table1.cxx.

References aCol, and IsColValid().

SCROW ScTable::FirstNonFilteredRow ( SCROW  nStartRow,
SCROW  nEndRow 
) const
SCROW ScTable::FirstVisibleRow ( SCROW  nStartRow,
SCROW  nEndRow 
) const
void ScTable::ForgetNoteCaptions ( SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2,
bool  bPreserveData 
)

Definition at line 1701 of file table2.cxx.

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

Referenced by ScDocument::ForgetNoteCaptions().

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

Definition at line 341 of file table5.cxx.

References copy(), maColManualBreaks, and maColPageBreaks.

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

Definition at line 1710 of file table2.cxx.

References aCol, and ScColContainer::size().

Referenced by ScDocument::GetAllNoteEntries().

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

Definition at line 329 of file table5.cxx.

References copy(), maRowManualBreaks, and maRowPageBreaks.

ScDBData* ScTable::GetAnonymousDBData ( )
inline

Definition at line 371 of file table.hxx.

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

Definition at line 2815 of file table2.cxx.

References aCol, ClampToAllocatedColumns(), and i.

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

Definition at line 2006 of file table2.cxx.

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

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

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

Definition at line 687 of file table.hxx.

References GetAttr().

OUString ScTable::GetAutoFillPreview ( const ScRange rSource,
SCCOL  nEndX,
SCROW  nEndY 
)
void ScTable::GetAutoFormatAttr ( SCCOL  nCol,
SCROW  nRow,
sal_uInt16  nIndex,
ScAutoFormatData rData 
)
private
void ScTable::GetAutoFormatData ( SCCOL  nStartCol,
SCROW  nStartRow,
SCCOL  nEndCol,
SCROW  nEndRow,
ScAutoFormatData rData 
)
void ScTable::GetAutoFormatFrame ( SCCOL  nCol,
SCROW  nRow,
sal_uInt16  nFlags,
sal_uInt16  nIndex,
ScAutoFormatData rData 
)
private
SvtBroadcaster * ScTable::GetBroadcaster ( SCCOL  nCol,
SCROW  nRow 
)

Definition at line 2479 of file table1.cxx.

References aCol, and IsColRowValid().

Referenced by ScDocument::GetBroadcaster().

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

Definition at line 2554 of file table1.cxx.

References aCol, and IsColRowValid().

bool ScTable::GetCalcNotification ( ) const
inline

Definition at line 333 of file table.hxx.

References bCalcNotification.

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

Definition at line 507 of file table1.cxx.

References aCol, and ScColContainer::size().

Referenced by ReplaceAll(), Search(), and SearchAll().

sal_uLong ScTable::GetCellCount ( ) const

Definition at line 3492 of file table3.cxx.

References aCol, and ScColContainer::size().

Referenced by ExtendPrintArea(), and GetCodeCount().

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

Definition at line 1781 of file table2.cxx.

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

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

Definition at line 3522 of file table3.cxx.

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

const OUString& ScTable::GetCodeName ( ) const
inline

Definition at line 373 of file table.hxx.

References aCodeName.

CRFlags ScTable::GetColFlags ( SCCOL  nCol) const

Definition at line 3557 of file table2.cxx.

References mpColFlags, NONE, and ValidCol().

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

Definition at line 4023 of file table2.cxx.

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

Referenced by SetDrawPageSize().

std::unique_ptr< sc::ColumnIterator > ScTable::GetColumnIterator ( SCCOL  nCol,
SCROW  nRow1,
SCROW  nRow2 
) const
ScColumnsRange ScTable::GetColumnsRange ( SCCOL  begin,
SCCOL  end 
) const
sal_uInt16 ScTable::GetColWidth ( SCCOL  nCol,
bool  bHiddenAsZero = true 
) const
sal_uLong ScTable::GetColWidth ( SCCOL  nStartCol,
SCCOL  nEndCol 
) const

Definition at line 3134 of file table2.cxx.

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

sal_uInt16 ScTable::GetCommonWidth ( SCCOL  nEndCol) const

Definition at line 3166 of file table2.cxx.

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

ScConditionalFormatList * ScTable::GetCondFormList ( )

Definition at line 2572 of file table1.cxx.

References mpCondFormatList.

const ScConditionalFormatList * ScTable::GetCondFormList ( ) const

Definition at line 2580 of file table1.cxx.

References mpCondFormatList.

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

Definition at line 788 of file table1.cxx.

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

Referenced by StoreToCache().

bool ScTable::GetDataAreaSubrange ( ScRange rRange) const
bool ScTable::GetDataEntries ( SCCOL  nCol,
SCROW  nRow,
std::set< ScTypedStrData > &  rStrings,
bool  bLimit 
)

Definition at line 3487 of file table3.cxx.

References aCol.

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

Definition at line 726 of file table1.cxx.

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

ScDocument& ScTable::GetDoc ( )
inline
const ScDocument& ScTable::GetDoc ( ) const
inline

Definition at line 276 of file table.hxx.

References rDocument.

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

Definition at line 1632 of file table2.cxx.

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

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

Definition at line 1082 of file table1.cxx.

References aCol, DIR_BOTTOM, DIR_RIGHT, DIR_TOP, and ScColContainer::size().

Referenced by DoSubTotals().

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

Definition at line 613 of file table.hxx.

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

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

Definition at line 3467 of file table3.cxx.

References aCol, rDocument, ScQueryParamBase::RemoveEntryByField(), and ValidQuery().

void ScTable::GetFilterEntries ( SCCOL  nCol,
SCROW  nRow1,
SCROW  nRow2,
ScFilterEntries rFilterEntries 
)

Definition at line 3460 of file table3.cxx.

References aCol.

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

Definition at line 1796 of file table2.cxx.

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

Referenced by SearchAndReplaceEmptyCells().

SCROW ScTable::GetFirstEditTextRow ( SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2 
) const
void ScTable::GetFormula ( SCCOL  nCol,
SCROW  nRow,
OUString &  rFormula 
) const

Definition at line 1648 of file table2.cxx.

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

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

Definition at line 1656 of file table2.cxx.

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

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

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

Definition at line 1664 of file table2.cxx.

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

size_t ScTable::GetFormulaHash ( SCCOL  nCol,
SCROW  nRow 
) const

Definition at line 2381 of file table1.cxx.

References aCol, and IsColValid().

ScFormulaVectorState ScTable::GetFormulaVectorState ( SCCOL  nCol,
SCROW  nRow 
) const

Definition at line 2389 of file table1.cxx.

References aCol, FormulaVectorUnknown, and IsColValid().

sal_Int64 ScTable::GetHashCode ( ) const

Definition at line 340 of file table1.cxx.

SCROW ScTable::GetHiddenRowCount ( SCROW  nRow) const

Definition at line 3359 of file table2.cxx.

References RowHidden(), and ValidRow().

void ScTable::GetInputString ( SCCOL  nCol,
SCROW  nRow,
OUString &  rString 
) const

Definition at line 1617 of file table2.cxx.

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

Referenced by CreateExcelQuery(), and GetUpperCellString().

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

Definition at line 3603 of file table2.cxx.

References aCol, All, mpColFlags, mpColWidth, ScColContainer::size(), and STD_COL_WIDTH.

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

Definition at line 3618 of file table2.cxx.

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

void ScTable::GetLastDataPos ( SCCOL rCol,
SCROW rRow 
) const
SCROW ScTable::GetLastDataRow ( SCCOL  nCol1,
SCCOL  nCol2,
SCROW  nLastRow,
bool  bConsiderCellNotes = false,
bool  bConsiderCellDrawObjects = false 
) const
SCROW ScTable::GetLastFlaggedRow ( ) const
Returns
the index of the last row with any set flags (auto-pagebreak is ignored).

Definition at line 3573 of file table2.cxx.

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

Referenced by GetLastChangedRow().

const OUString& ScTable::GetLinkDoc ( ) const
inline

Definition at line 356 of file table.hxx.

References aLinkDoc.

const OUString& ScTable::GetLinkFlt ( ) const
inline

Definition at line 357 of file table.hxx.

References aLinkFlt.

ScLinkMode ScTable::GetLinkMode ( ) const
inline

Definition at line 354 of file table.hxx.

References nLinkMode.

const OUString& ScTable::GetLinkOpt ( ) const
inline

Definition at line 358 of file table.hxx.

References aLinkOpt.

sal_uLong ScTable::GetLinkRefreshDelay ( ) const
inline

Definition at line 360 of file table.hxx.

References nLinkRefreshDelay.

const OUString& ScTable::GetLinkTab ( ) const
inline

Definition at line 359 of file table.hxx.

References aLinkTab.

SCCOL ScTable::GetLOKFreezeCol ( ) const
private

Definition at line 587 of file table7.cxx.

References ScAddress::Col(), and maLOKFreezeCell.

Referenced by ScDocument::GetLOKFreezeCol().

SCROW ScTable::GetLOKFreezeRow ( ) const
private

Definition at line 592 of file table7.cxx.

References maLOKFreezeCell, and ScAddress::Row().

Referenced by ScDocument::GetLOKFreezeRow().

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

Definition at line 3542 of file table3.cxx.

References aCol, and IsColValid().

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

Definition at line 3533 of file table3.cxx.

References aCol, and IsColValid().

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

Definition at line 2061 of file table2.cxx.

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

const OUString& ScTable::GetName ( ) const
inline

Definition at line 367 of file table.hxx.

References aName.

Referenced by ScDocument::GetAllTableNames().

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 
)
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 385 of file table5.cxx.

References maRowManualBreaks.

Referenced by UpdatePageBreaks().

bool ScTable::GetNextMarkedCell ( SCCOL rCol,
SCROW rRow,
const ScMarkData rMark 
) const
private
void ScTable::GetNextPos ( SCCOL rCol,
SCROW rRow,
SCCOL  nMovX,
SCROW  nMovY,
bool  bMarked,
bool  bUnprotected,
const ScMarkData rMark,
SCCOL  nTabStartCol 
) const
bool ScTable::GetNextSpellingCell ( SCCOL rCol,
SCROW rRow,
bool  bInSel,
const ScMarkData rMark 
) const
private
size_t ScTable::GetNoteCount ( SCCOL  nCol) const

Definition at line 1679 of file table2.cxx.

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

Referenced by ScDocument::GetNoteCount().

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

Definition at line 1687 of file table2.cxx.

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

Referenced by ScDocument::GetNotePosition().

void ScTable::GetNotesInRange ( const ScRange rRange,
std::vector< sc::NoteEntry > &  rNotes 
) const
sal_uInt32 ScTable::GetNumberFormat ( const ScInterpreterContext rContext,
const ScAddress rPos 
) const
sal_uInt32 ScTable::GetNumberFormat ( SCCOL  nCol,
SCROW  nRow 
) const
sal_uInt32 ScTable::GetNumberFormat ( SCCOL  nCol,
SCROW  nStartRow,
SCROW  nEndRow 
) const
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 420 of file table1.cxx.

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

sal_uInt16 ScTable::GetOriginalHeight ( SCROW  nRow) const

Definition at line 3347 of file table2.cxx.

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

Referenced by CopyOneCellFromClip().

sal_uInt16 ScTable::GetOriginalWidth ( SCCOL  nCol) const

Definition at line 3156 of file table2.cxx.

References mpColWidth, STD_COL_WIDTH, and ValidCol().

ScOutlineTable* ScTable::GetOutlineTable ( )
inline

Definition at line 279 of file table.hxx.

Size ScTable::GetPageSize ( ) const

Definition at line 1060 of file table5.cxx.

References aPageSizeTwips, and bPageSizeValid.

const OUString& ScTable::GetPageStyle ( ) const
inline

Definition at line 378 of file table.hxx.

References aPageStyle.

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

Definition at line 2406 of file table4.cxx.

References aCol, and ValidCol().

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

Definition at line 2414 of file table4.cxx.

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

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

Definition at line 558 of file table1.cxx.

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

Referenced by GetTableArea().

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

Definition at line 645 of file table1.cxx.

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

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

Definition at line 682 of file table1.cxx.

References aCol, and ScColContainer::size().

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

Definition at line 2218 of file table1.cxx.

References aPrintRanges, and GetPrintRangeCount().

Referenced by UpdatePageBreaks().

sal_uInt16 ScTable::GetPrintRangeCount ( ) const
inline

Definition at line 761 of file table.hxx.

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

ScTableProtection * ScTable::GetProtection ( )

Definition at line 1055 of file table5.cxx.

References pTabProtection.

ScRangeName * ScTable::GetRangeName ( ) const

Definition at line 3939 of file table2.cxx.

References mpRangeName.

Referenced by CopyToTable(), and UndoToTable().

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

Definition at line 2463 of file table1.cxx.

References aCol, and IsColRowValid().

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

Definition at line 2471 of file table1.cxx.

References aCol, and IsColRowValid().

const ScRange* ScTable::GetRepeatColRange ( ) const
inline

Definition at line 756 of file table.hxx.

const ScRange* ScTable::GetRepeatRowRange ( ) const
inline

Definition at line 757 of file table.hxx.

Sequence< TablePageBreakData > ScTable::GetRowBreakData ( ) const

Definition at line 463 of file table5.cxx.

References aData, aSeq, copy(), HasRowManualBreak(), i, maRowManualBreaks, and maRowPageBreaks.

CRFlags ScTable::GetRowFlags ( SCROW  nRow) const

Definition at line 3565 of file table2.cxx.

References NONE, pRowFlags, and ValidRow().

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

Definition at line 861 of file table.hxx.

SCROW ScTable::GetRowForHeight ( sal_uLong  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 3969 of file table2.cxx.

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

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

Definition at line 3259 of file table2.cxx.

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

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

Definition at line 3946 of file table2.cxx.

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

Referenced by SetDrawPageSize().

sal_uLong ScTable::GetScaledRowHeight ( SCROW  nStartRow,
SCROW  nEndRow,
double  fScale,
const sal_uLong pnMaxHeight = nullptr 
) const
const Color& ScTable::GetScenarioColor ( ) const
inline

Definition at line 345 of file table.hxx.

References aScenarioColor.

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

Definition at line 343 of file table.hxx.

References aComment.

ScScenarioFlags ScTable::GetScenarioFlags ( ) const
inline

Definition at line 349 of file table.hxx.

References nScenarioFlags.

const ScRangeList * ScTable::GetScenarioRanges ( ) const

Definition at line 1451 of file table2.cxx.

References bScenario, ScDocument::GetSheetLimits(), MarkScenarioIn(), NONE, and pScenarioRanges.

Referenced by HasScenarioRange().

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

Definition at line 2355 of file table1.cxx.

References aCol, and IsColValid().

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

Definition at line 2789 of file table2.cxx.

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

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

Definition at line 1581 of file table2.cxx.

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

const ScSheetEvents* ScTable::GetSheetEvents ( ) const
inline

Definition at line 305 of file table.hxx.

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

Definition at line 1601 of file table2.cxx.

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

Referenced by CompareCell(), CreateStarQuery(), DoSubTotals(), FillAnalyse(), and Query().

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

Definition at line 277 of file table.hxx.

References nTab.

Referenced by SetRowHidden().

const Color& ScTable::GetTabBgColor ( ) const
inline

Definition at line 347 of file table.hxx.

References aTabBgColor.

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

Definition at line 543 of file table1.cxx.

References bTableAreaValid, GetPrintArea(), nTableAreaX, and nTableAreaY.

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

Definition at line 84 of file table2.cxx.

References aCol.

sal_uInt32 ScTable::GetTotalRowHeight ( SCROW  nStartRow,
SCROW  nEndRow,
bool  bHiddenAsZero = true 
) const
void ScTable::GetUnprotectedCells ( ScRangeList rRangeList) const

Definition at line 1760 of file table2.cxx.

References aCol, and ScDocument::MaxRow().

void ScTable::GetUpperCellString ( SCCOL  nCol,
SCROW  nRow,
OUString &  rStr 
)
private
const OUString & ScTable::GetUpperName ( ) const

Definition at line 353 of file table1.cxx.

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

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

Definition at line 1625 of file table2.cxx.

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

Referenced by FillAnalyse(), SetPageStyle(), and UpdatePageBreaks().

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

Definition at line 1609 of file table2.cxx.

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

sal_uLong ScTable::GetWeightedCount ( ) const

Definition at line 3502 of file table3.cxx.

References aCol, and ScColContainer::size().

Referenced by GetWeightedCount(), SetOptimalHeight(), and SetOptimalHeightOnly().

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

Definition at line 3512 of file table3.cxx.

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

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

Definition at line 2452 of file table1.cxx.

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

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

Definition at line 2535 of file table1.cxx.

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

Referenced by ScDocument::HandleStuffAfterParallelCalculation().

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

Definition at line 2070 of file table2.cxx.

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

Referenced by IsBlockEditable(), and IsEditActionAllowed().

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

Definition at line 2083 of file table2.cxx.

References aCol, and ScMarkData::GetMarkedColSpans().

Referenced by IsSelectionEditable().

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

Definition at line 2301 of file table2.cxx.

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

Referenced by IsBlockEditable(), and IsEditActionAllowed().

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

Definition at line 3386 of file table3.cxx.

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

bool ScTable::HasColManualBreak ( SCCOL  nCol) const

Definition at line 377 of file table5.cxx.

References maColManualBreaks, and ValidCol().

Referenced by UpdatePageBreaks().

bool ScTable::HasColPageBreak ( SCCOL  nCol) const

Definition at line 361 of file table5.cxx.

References maColPageBreaks, and ValidCol().

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

Definition at line 1822 of file table2.cxx.

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

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

Definition at line 826 of file table5.cxx.

References RowFiltered().

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

Definition at line 292 of file table7.cxx.

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

Referenced by ScDocument::HasFormulaCell().

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

Definition at line 546 of file table5.cxx.

References RowHidden().

bool ScTable::HasManualBreaks ( ) const

Definition at line 310 of file table5.cxx.

References maColManualBreaks, and maRowManualBreaks.

sc::MultiDataCellState ScTable::HasMultipleDataCells ( SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2 
) const
bool ScTable::HasRowHeader ( SCCOL  nStartCol,
SCROW  nStartRow,
SCCOL  nEndCol,
SCROW  nEndRow 
) const

Definition at line 3423 of file table3.cxx.

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

bool ScTable::HasRowManualBreak ( SCROW  nRow) const

Definition at line 369 of file table5.cxx.

References maRowManualBreaks, and ValidRow().

Referenced by GetRowBreakData().

bool ScTable::HasRowPageBreak ( SCROW  nRow) const

Definition at line 353 of file table5.cxx.

References maRowPageBreaks, and ValidRow().

bool ScTable::HasScenarioRange ( const ScRange rRange) const
bool ScTable::HasSelectionMatrixFragment ( const ScMarkData rMark) const

Definition at line 2397 of file table2.cxx.

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

Referenced by IsSelectionEditable().

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

Definition at line 1846 of file table2.cxx.

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

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

Definition at line 1830 of file table2.cxx.

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

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

Definition at line 1838 of file table2.cxx.

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

void ScTable::IncDate ( double &  rVal,
sal_uInt16 &  nDayOfMonth,
double  nStep,
FillDateCmd  eCmd 
)
private
bool ScTable::InitColumnBlockPosition ( sc::ColumnBlockPosition rBlockPos,
SCCOL  nCol 
)

Definition at line 703 of file table2.cxx.

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

Referenced by InvalidateTextWidth().

void ScTable::InitSortCollator ( const ScSortParam rPar)
void ScTable::InsertCol ( const sc::ColumnSet rRegroupCols,
SCCOL  nStartCol,
SCROW  nStartRow,
SCROW  nEndRow,
SCSIZE  nSize 
)
void ScTable::InsertRow ( SCCOL  nStartCol,
SCCOL  nEndCol,
SCROW  nStartRow,
SCSIZE  nSize 
)
void ScTable::InterpretDirtyCells ( SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2 
)

Definition at line 2503 of file table1.cxx.

References aCol, and ClampToAllocatedColumns().

Referenced by ScDocument::InterpretDirtyCells().

void ScTable::InvalidatePageBreaks ( )
void ScTable::InvalidateScenarioRanges ( )

Definition at line 1446 of file table2.cxx.

References pScenarioRanges.

void ScTable::InvalidateTableArea ( )

Definition at line 1384 of file table2.cxx.

References bTableAreaValid.

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

Definition at line 352 of file table.hxx.

References bActiveScenario.

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

Definition at line 2135 of file table2.cxx.

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

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

Definition at line 322 of file table.hxx.

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

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

Definition at line 318 of file table.hxx.

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

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

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

Definition at line 3516 of file table2.cxx.

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

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

bool ScTable::IsDataFiltered ( const ScRange rRange) const
bool ScTable::IsEditActionAllowed ( sc::ColRowEditAction  eAction,
SCCOLROW  nStart,
SCCOLROW  nEnd 
) const
bool ScTable::IsEmptyLine ( SCROW  nRow,
SCCOL  nStartCol,
SCCOL  nEndCol 
) const
private

Definition at line 1133 of file table1.cxx.

References aCol, and ScColContainer::size().

Referenced by LimitChartArea().

bool ScTable::IsLayoutRTL ( ) const
inline

Definition at line 336 of file table.hxx.

References bLayoutRTL.

Referenced by MaybeAddExtraColumn(), and SetDrawPageSize().

bool ScTable::IsLinked ( ) const
inline

Definition at line 355 of file table.hxx.

References NONE.

bool ScTable::IsLoadingRTL ( ) const
inline

Definition at line 337 of file table.hxx.

References bLoadingRTL.

bool ScTable::IsManualRowHeight ( SCROW  nRow) const

Definition at line 953 of file table5.cxx.

References ManualSize, and pRowFlags.

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

Definition at line 26 of file table7.cxx.

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

Referenced by ScDocument::IsMerged().

bool ScTable::IsPendingRowHeights ( ) const
inline

Definition at line 330 of file table.hxx.

References bPendingRowHeights.

bool ScTable::IsPrintEntireSheet ( ) const
inline

Returns true, if the sheet is always printed.

Definition at line 764 of file table.hxx.

References bPrintEntireSheet.

Referenced by SetPrintEntireSheet().

bool ScTable::IsProtected ( ) const
bool ScTable::IsScenario ( ) const
inline

Definition at line 341 of file table.hxx.

References bScenario.

Referenced by IsEditActionAllowed().

bool ScTable::IsSelectionEditable ( const ScMarkData rMark,
bool *  pOnlyNotBecauseOfMatrix = nullptr 
) const
bool ScTable::IsSortCollatorGlobal ( ) const
bool ScTable::IsSorted ( SCCOLROW  nStart,
SCCOLROW  nEnd 
) const
private

Definition at line 1670 of file table3.cxx.

References naturalsort::Compare().

Referenced by Sort().

bool ScTable::IsStreamValid ( ) const
inline

Definition at line 311 of file table.hxx.

References bStreamValid.

bool ScTable::IsStyleSheetUsed ( const ScStyleSheet rStyle) const

Definition at line 2841 of file table2.cxx.

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

bool ScTable::IsVisible ( ) const
inline

Definition at line 308 of file table.hxx.

References bVisible.

SCCOLROW ScTable::LastHiddenColRow ( SCCOLROW  nPos,
bool  bCol 
) const
SCROW ScTable::LastNonFilteredRow ( SCROW  nStartRow,
SCROW  nEndRow 
) const
SCROW ScTable::LastVisibleRow ( SCROW  nStartRow,
SCROW  nEndRow 
) const
void ScTable::LimitChartArea ( SCCOL rStartCol,
SCROW rStartRow,
SCCOL rEndCol,
SCROW rEndRow 
) const

Definition at line 1148 of file table1.cxx.

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

void ScTable::LockTable ( )

Definition at line 2581 of file table2.cxx.

References nLockCount.

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

Definition at line 1412 of file table2.cxx.

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

Referenced by GetScenarioRanges().

void ScTable::MaybeAddExtraColumn ( SCCOL rCol,
SCROW  nRow,
OutputDevice pDev,
double  nPPTX,
double  nPPTY 
)
private
void ScTable::MergeBlockFrame ( SvxBoxItem pLineOuter,
SvxBoxInfoItem pLineInner,
ScLineFlags rFlags,
SCCOL  nStartCol,
SCROW  nStartRow,
SCCOL  nEndCol,
SCROW  nEndRow 
) const

Definition at line 2617 of file table2.cxx.

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

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

Definition at line 2609 of file table2.cxx.

References aCol, ClampToAllocatedColumns(), and i.

void ScTable::MergeSelectionPattern ( ScMergePatternState rState,
const ScMarkData rMark,
bool  bDeep 
) const
void ScTable::MixData ( sc::MixDocContext rCxt,
SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2,
ScPasteFunc  nFunction,
bool  bSkipEmpty,
const ScTable pSrcTab 
)

Definition at line 775 of file table2.cxx.

References aCol, and i.

Referenced by ScDocument::MixDocument().

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

Definition at line 784 of file table2.cxx.

References aCol,