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

#include <column.hxx>

Collaboration diagram for ScColumn:
[legend]

Public Types

enum  BroadcastMode {
  BROADCAST_NONE,
  BROADCAST_DATA_POSITIONS,
  BROADCAST_BROADCASTERS
}
 Broadcast mode for SetDirty(SCROW,SCROW,BroadcastMode). More...
 

Public Member Functions

 ScColumn (ScSheetLimits const &)
 
 ~ScColumn () COVERITY_NOEXCEPT_FALSE
 
void Init (SCCOL nNewCol, SCTAB nNewTab, ScDocument &rDoc, bool bEmptyAttrArray)
 
ScDocumentGetDoc () const
 
SCTAB GetTab () const
 
SCCOL GetCol () const
 
sc::CellStoreTypeGetCellStore ()
 
const sc::CellStoreTypeGetCellStore () const
 
sc::CellTextAttrStoreTypeGetCellAttrStore ()
 
const sc::CellTextAttrStoreTypeGetCellAttrStore () const
 
sc::CellNoteStoreTypeGetCellNoteStore ()
 
const sc::CellNoteStoreTypeGetCellNoteStore () const
 
ScRefCellValue GetCellValue (SCROW nRow) const
 
ScRefCellValue GetCellValue (sc::ColumnBlockPosition &rBlockPos, SCROW nRow)
 
ScRefCellValue GetCellValue (sc::ColumnBlockConstPosition &rBlockPos, SCROW nRow) const
 
const sc::CellTextAttrGetCellTextAttr (SCROW nRow) const
 
const sc::CellTextAttrGetCellTextAttr (sc::ColumnBlockConstPosition &rBlockPos, SCROW nRow) const
 
void Delete (SCROW nRow)
 
void DeleteContent (SCROW nRow, bool bBroadcast=true)
 
void FreeAll ()
 
void FreeNotes ()
 
void Swap (ScColumn &rOther, SCROW nRow1, SCROW nRow2, bool bPattern)
 
bool HasAttrib (SCROW nRow1, SCROW nRow2, HasAttrFlags nMask) const
 
bool HasAttribSelection (const ScMarkData &rMark, HasAttrFlags nMask) const
 
bool IsMerged (SCROW nRow) const
 
bool ExtendMerge (SCCOL nThisCol, SCROW nStartRow, SCROW nEndRow, SCCOL &rPaintCol, SCROW &rPaintRow, bool bRefresh)
 
bool IsEmptyData () const
 
bool IsEmptyAttr () const
 
bool IsEmptyBlock (SCROW nStartRow, SCROW nEndRow) const
 
SCSIZE GetEmptyLinesInBlock (SCROW nStartRow, SCROW nEndRow, ScDirection eDir) const
 
bool HasDataAt (SCROW nRow, bool bConsiderCellNotes=false, bool bConsiderCellDrawObjects=false) const
 
bool HasDataAt (sc::ColumnBlockConstPosition &rBlockPos, SCROW nRow, bool bConsiderCellNotes=false, bool bConsiderCellDrawObjects=false) const
 
bool HasDataAt (sc::ColumnBlockPosition &rBlockPos, SCROW nRow, bool bConsiderCellNotes=false, bool bConsiderCellDrawObjects=false)
 
bool HasVisibleDataAt (SCROW nRow) const
 
SCROW GetFirstDataPos () const
 
SCROW GetLastDataPos () const
 
SCROW GetLastDataPos (SCROW nLastRow, bool bConsiderCellNotes=false, bool bConsiderCellDrawObjects=false) const
 
bool GetPrevDataPos (SCROW &rRow) const
 
bool GetNextDataPos (SCROW &rRow) const
 
bool TrimEmptyBlocks (SCROW &rRowStart, SCROW &rRowEnd) const
 
void FindDataAreaPos (SCROW &rRow, bool bDown) const
 
void FindUsed (SCROW nStartRow, SCROW nEndRow, mdds::flat_segment_tree< SCROW, bool > &rUsed) const
 
SCSIZE VisibleCount (SCROW nStartRow, SCROW nEndRow) const
 
sc::MatrixEdge GetBlockMatrixEdges (SCROW nRow1, SCROW nRow2, sc::MatrixEdge nMask, bool bNoMatrixAtAll) const
 
bool HasSelectionMatrixFragment (const ScMarkData &rMark) const
 
bool GetFirstVisibleAttr (SCROW &rFirstRow) const
 
bool GetLastVisibleAttr (SCROW &rLastRow) const
 
bool HasVisibleAttrIn (SCROW nStartRow, SCROW nEndRow) const
 
bool IsVisibleAttrEqual (const ScColumn &rCol, SCROW nStartRow=0, SCROW nEndRow=MAXROW) const
 
bool IsAllAttrEqual (const ScColumn &rCol, SCROW nStartRow, SCROW nEndRow) const
 
bool TestInsertCol (SCROW nStartRow, SCROW nEndRow) const
 
bool TestInsertRow (SCROW nStartRow, SCSIZE nSize) const
 
void InsertRow (SCROW nStartRow, SCSIZE nSize)
 
void GetUnprotectedCells (SCROW nStartRow, SCROW nEndRow, ScRangeList &rRangeList) const
 
void DeleteRow (SCROW nStartRow, SCSIZE nSize, std::vector< ScAddress > *pGroupPos)
 
void DeleteArea (SCROW nStartRow, SCROW nEndRow, InsertDeleteFlags nDelFlag, bool bBroadcast=true, sc::ColumnSpanSet *pBroadcastSpans=nullptr)
 
void DeleteRanges (const std::vector< sc::RowSpan > &rRanges, InsertDeleteFlags nDelFlag)
 
void CopyToClip (sc::CopyToClipContext &rCxt, SCROW nRow1, SCROW nRow2, ScColumn &rColumn) const
 
void CopyStaticToDocument (SCROW nRow1, SCROW nRow2, const SvNumberFormatterMergeMap &rMap, ScColumn &rDestCol)
 
void CopyCellToDocument (SCROW nSrcRow, SCROW nDestRow, ScColumn &rDestCol)
 
void InitBlockPosition (sc::ColumnBlockPosition &rBlockPos)
 
void InitBlockPosition (sc::ColumnBlockConstPosition &rBlockPos) const
 
void DeleteBeforeCopyFromClip (sc::CopyFromClipContext &rCxt, const ScColumn &rClipCol, sc::ColumnSpanSet &rBroadcastSpans)
 
void CopyOneCellFromClip (sc::CopyFromClipContext &rCxt, SCROW nRow1, SCROW nRow2, size_t nColOffset)
 
void CopyFromClip (sc::CopyFromClipContext &rCxt, SCROW nRow1, SCROW nRow2, long nDy, ScColumn &rColumn)
 
void RemoveEditAttribs (SCROW nStartRow, SCROW nEndRow)
 
void MixMarked (sc::MixDocContext &rCxt, const ScMarkData &rMark, ScPasteFunc nFunction, bool bSkipEmpty, const ScColumn &rSrcCol)
 
void MixData (sc::MixDocContext &rCxt, SCROW nRow1, SCROW nRow2, ScPasteFunc nFunction, bool bSkipEmpty, const ScColumn &rSrcCol)
 
std::unique_ptr< ScAttrIteratorCreateAttrIterator (SCROW nStartRow, SCROW nEndRow) const
 
void UpdateSelectionFunction (const ScRangeList &rRanges, ScFunctionData &rData, const ScFlatBoolRowSegments &rHiddenRows)
 
void CopyToColumn (sc::CopyToDocContext &rCxt, SCROW nRow1, SCROW nRow2, InsertDeleteFlags nFlags, bool bMarked, ScColumn &rColumn, const ScMarkData *pMarkData=nullptr, bool bAsLink=false, bool bGlobalNamesToLocal=false) const
 
void UndoToColumn (sc::CopyToDocContext &rCxt, SCROW nRow1, SCROW nRow2, InsertDeleteFlags nFlags, bool bMarked, ScColumn &rColumn) const
 
void CopyScenarioFrom (const ScColumn &rSrcCol)
 
void CopyScenarioTo (ScColumn &rDestCol) const
 
bool TestCopyScenarioTo (const ScColumn &rDestCol) const
 
void MarkScenarioIn (ScMarkData &rDestMark) const
 
void CopyUpdated (const ScColumn &rPosCol, ScColumn &rDestCol) const
 
void SwapCol (ScColumn &rCol)
 
void MoveTo (SCROW nStartRow, SCROW nEndRow, ScColumn &rCol)
 
bool HasEditCells (SCROW nStartRow, SCROW nEndRow, SCROW &rFirst)
 
bool SetString (SCROW nRow, SCTAB nTab, const OUString &rString, formula::FormulaGrammar::AddressConvention eConv, const ScSetStringParam *pParam=nullptr)
 Returns true if the cell format was set as well. More...
 
void SetEditText (SCROW nRow, std::unique_ptr< EditTextObject > pEditText)
 
void SetEditText (sc::ColumnBlockPosition &rBlockPos, SCROW nRow, std::unique_ptr< EditTextObject > pEditText)
 
void SetEditText (sc::ColumnBlockPosition &rBlockPos, SCROW nRow, const EditTextObject &rEditText)
 
void SetEditText (SCROW nRow, const EditTextObject &rEditText, const SfxItemPool *pEditPool)
 
void SetFormula (SCROW nRow, const ScTokenArray &rArray, formula::FormulaGrammar::Grammar eGram)
 
void SetFormula (SCROW nRow, const OUString &rFormula, formula::FormulaGrammar::Grammar eGram)
 
ScFormulaCellSetFormulaCell (SCROW nRow, ScFormulaCell *pCell, sc::StartListeningType eListenType=sc::SingleCellListening, bool bInheritNumFormatIfNeeded=true)
 Takes ownership of pCell. More...
 
void SetFormulaCell (sc::ColumnBlockPosition &rBlockPos, SCROW nRow, ScFormulaCell *pCell, sc::StartListeningType eListenType=sc::SingleCellListening, bool bInheritNumFormatIfNeeded=true)
 
bool SetFormulaCells (SCROW nRow, std::vector< ScFormulaCell * > &rCells)
 
bool HasFormulaCell () const
 
bool HasFormulaCell (SCROW nRow1, SCROW nRow2) const
 
void CloneFormulaCell (const ScFormulaCell &rSrc, const sc::CellTextAttr &rAttr, const std::vector< sc::RowSpan > &rRanges)
 
svl::SharedString GetSharedString (SCROW nRow) const
 
void SetRawString (SCROW nRow, const OUString &rStr)
 
void SetRawString (SCROW nRow, const svl::SharedString &rStr)
 
void SetRawString (sc::ColumnBlockPosition &rBlockPos, SCROW nRow, const svl::SharedString &rStr, bool bBroadcast=true)
 
void SetValue (SCROW nRow, double fVal)
 
void SetValues (const SCROW nRow, const std::vector< double > &rVals)
 
void SetValue (sc::ColumnBlockPosition &rBlockPos, SCROW nRow, double fVal, bool bBroadcast=true)
 
void SetError (SCROW nRow, const FormulaError nError)
 
void GetString (SCROW nRow, OUString &rString, const ScInterpreterContext *pContext=nullptr) const
 
void GetString (sc::ColumnBlockConstPosition &rBlockPos, SCROW nRow, OUString &rString, const ScInterpreterContext *pContext=nullptr) const
 
double * GetValueCell (SCROW nRow)
 
void GetInputString (SCROW nRow, OUString &rString) const
 
void GetInputString (sc::ColumnBlockConstPosition &rBlockPos, SCROW nRow, OUString &rString) const
 
double GetValue (SCROW nRow) const
 
const EditTextObjectGetEditText (SCROW nRow) const
 
void RemoveEditTextCharAttribs (SCROW nRow, const ScPatternAttr &rAttr)
 
void GetFormula (SCROW nRow, OUString &rFormula) const
 
const ScFormulaCellGetFormulaCell (SCROW nRow) const
 
ScFormulaCellGetFormulaCell (SCROW nRow)
 
ScFormulaCell *const * GetFormulaCellBlockAddress (SCROW nRow, size_t &rBlockSize) const
 
CellType GetCellType (SCROW nRow) const
 
SCSIZE GetCellCount () const
 
sal_uLong GetWeightedCount () const
 
sal_uLong GetWeightedCount (SCROW nStartRow, SCROW nEndRow) const
 
sal_uInt32 GetCodeCount () const
 
FormulaError GetErrCode (SCROW nRow) const
 
bool HasStringData (SCROW nRow) const
 
bool HasValueData (SCROW nRow) const
 
bool HasStringCells (SCROW nStartRow, SCROW nEndRow) const
 Return true if there is a string or editcell in the range. More...
 
sc::MultiDataCellState::StateType HasDataCellsInRange (SCROW nRow1, SCROW nRow2, SCROW *pRow1) const
 
bool IsFormulaDirty (SCROW nRow) const
 
void CheckVectorizationState ()
 
void SetAllFormulasDirty (const sc::SetFormulaDirtyContext &rCxt)
 
void SetDirtyFromClip (SCROW nRow1, SCROW nRow2, sc::ColumnSpanSet &rBroadcastSpans)
 
void SetDirty (SCROW nRow1, SCROW nRow2, BroadcastMode)
 
void SetDirtyVar ()
 
void SetDirtyAfterLoad ()
 
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 (SCROW nRow1, 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 ResetChanged (SCROW nStartRow, SCROW nEndRow)
 
bool UpdateReferenceOnCopy (sc::RefUpdateContext &rCxt, ScDocument *pUndoDoc=nullptr)
 
bool UpdateReference (sc::RefUpdateContext &rCxt, ScDocument *pUndoDoc)
 Update reference addresses in formula cell in response to mass cell movement. More...
 
void UpdateInsertTab (sc::RefUpdateInsertTabContext &rCxt)
 
void UpdateInsertTabOnlyCells (sc::RefUpdateInsertTabContext &rCxt)
 
void UpdateDeleteTab (sc::RefUpdateDeleteTabContext &rCxt)
 
void UpdateMoveTab (sc::RefUpdateMoveTabContext &rCxt, SCTAB nTabNo)
 
void UpdateCompile (bool bForceIfNameInUse=false)
 
void UpdateTranspose (const ScRange &rSource, const ScAddress &rDest, ScDocument *pUndoDoc)
 
void UpdateGrow (const ScRange &rArea, SCCOL nGrowX, SCROW nGrowY)
 
void SetTabNo (SCTAB nNewTab)
 
void FindRangeNamesInUse (SCROW nRow1, SCROW nRow2, sc::UpdatedRangeNames &rIndexes) 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)
 
const SfxPoolItemGetAttr (SCROW nRow, sal_uInt16 nWhich) const
 
template<class T >
const T & GetAttr (SCROW nRow, TypedWhichId< T > nWhich) const
 
const ScPatternAttrGetPattern (SCROW nRow) const
 
const ScPatternAttrGetMostUsedPattern (SCROW nStartRow, SCROW nEndRow) const
 
sal_uInt32 GetNumberFormat (const ScInterpreterContext &rContext, SCROW nRow) const
 
sal_uInt32 GetNumberFormat (SCROW nStartRow, SCROW nEndRow) const
 
void MergeSelectionPattern (ScMergePatternState &rState, const ScMarkData &rMark, bool bDeep) const
 
void MergePatternArea (ScMergePatternState &rState, SCROW nRow1, SCROW nRow2, bool bDeep) const
 
void MergeBlockFrame (SvxBoxItem *pLineOuter, SvxBoxInfoItem *pLineInner, ScLineFlags &rFlags, SCROW nStartRow, SCROW nEndRow, bool bLeft, SCCOL nDistRight) const
 
void ApplyBlockFrame (const SvxBoxItem &rLineOuter, const SvxBoxInfoItem *pLineInner, SCROW nStartRow, SCROW nEndRow, bool bLeft, SCCOL nDistRight)
 
void ApplyAttr (SCROW nRow, const SfxPoolItem &rAttr)
 
void ApplyPattern (SCROW nRow, const ScPatternAttr &rPatAttr)
 
void ApplyPatternArea (SCROW nStartRow, SCROW nEndRow, const ScPatternAttr &rPatAttr, ScEditDataArray *pDataArray=nullptr, bool *const pIsChanged=nullptr)
 
const ScPatternAttrSetPattern (SCROW nRow, std::unique_ptr< ScPatternAttr >)
 
void SetPattern (SCROW nRow, const ScPatternAttr &)
 
void SetPatternArea (SCROW nStartRow, SCROW nEndRow, const ScPatternAttr &)
 
void ApplyPatternIfNumberformatIncompatible (const ScRange &rRange, const ScPatternAttr &rPattern, SvNumFormatType nNewType)
 
void ApplyStyle (SCROW nRow, const ScStyleSheet *rStyle)
 
void ApplyStyleArea (SCROW nStartRow, SCROW nEndRow, const ScStyleSheet &rStyle)
 
void ApplySelectionStyle (const ScStyleSheet &rStyle, const ScMarkData &rMark)
 
void ApplySelectionLineStyle (const ScMarkData &rMark, const ::editeng::SvxBorderLine *pLine, bool bColorOnly)
 
void AddCondFormat (SCROW nStartRow, SCROW nEndRow, sal_uInt32 nIndex)
 
void RemoveCondFormat (SCROW nStartRow, SCROW nEndRow, sal_uInt32 nIndex)
 
const ScStyleSheetGetStyle (SCROW nRow) const
 
const ScStyleSheetGetSelectionStyle (const ScMarkData &rMark, bool &rFound) const
 
const ScStyleSheetGetAreaStyle (bool &rFound, SCROW nRow1, SCROW nRow2) const
 
void FindStyleSheet (const SfxStyleSheetBase *pStyleSheet, ScFlatBoolRowSegments &rUsedRows, bool bReset)
 
bool IsStyleSheetUsed (const ScStyleSheet &rStyle) const
 
SCROW SearchStyle (SCROW nRow, const ScStyleSheet *pSearchStyle, bool bUp, bool bInSelection, const ScMarkData &rMark) const
 May return -1 if not found. More...
 
bool SearchStyleRange (SCROW &rRow, SCROW &rEndRow, const ScStyleSheet *pSearchStyle, bool bUp, bool bInSelection, const ScMarkData &rMark) const
 
bool ApplyFlags (SCROW nStartRow, SCROW nEndRow, ScMF nFlags)
 
bool RemoveFlags (SCROW nStartRow, SCROW nEndRow, ScMF nFlags)
 
void ClearItems (SCROW nStartRow, SCROW nEndRow, const sal_uInt16 *pWhich)
 
void RemoveProtected (SCROW nStartRow, SCROW nEndRow)
 
SCROW ApplySelectionCache (SfxItemPoolCache *pCache, const ScMarkData &rMark, ScEditDataArray *pDataArray, bool *const pIsChanged)
 
void DeleteSelection (InsertDeleteFlags nDelFlag, const ScMarkData &rMark, bool bBroadcast)
 
void ClearSelectionItems (const sal_uInt16 *pWhich, const ScMarkData &rMark)
 
void ChangeSelectionIndent (bool bIncrement, const ScMarkData &rMark)
 
long GetNeededSize (SCROW nRow, OutputDevice *pDev, double nPPTX, double nPPTY, const Fraction &rZoomX, const Fraction &rZoomY, bool bWidth, const ScNeededSizeOptions &rOptions, const ScPatternAttr **pPatternChange, bool bInPrintTwips=false) const
 
sal_uInt16 GetOptimalColWidth (OutputDevice *pDev, double nPPTX, double nPPTY, const Fraction &rZoomX, const Fraction &rZoomY, bool bFormula, sal_uInt16 nOldWidth, const ScMarkData *pMarkData, const ScColWidthParam *pParam) const
 
void GetOptimalHeight (sc::RowHeightContext &rCxt, SCROW nStartRow, SCROW nEndRow, sal_uInt16 nMinHeight, SCROW nMinStart)
 
SCROW GetNextUnprotected (SCROW nRow, bool bUp) const
 Including current, may return -1. More...
 
void GetFilterEntries (sc::ColumnBlockConstPosition &rBlockPos, SCROW nStartRow, SCROW nEndRow, ScFilterEntries &rFilterEntries)
 
bool GetDataEntries (SCROW nRow, std::set< ScTypedStrData > &rStrings, bool bLimit) const
 
void UpdateInsertTabAbs (SCTAB nNewPos)
 
bool TestTabRefAbs (SCTAB nTable) const
 
bool GetNextSpellingCell (SCROW &nRow, bool bInSel, const ScMarkData &rData) const
 
void StartListeningFormulaCells (sc::StartListeningContext &rStartCxt, sc::EndListeningContext &rEndCxt, SCROW nRow1, SCROW nRow2)
 
void EndListeningFormulaCells (sc::EndListeningContext &rCxt, SCROW nRow1, SCROW nRow2, SCROW *pStartRow, SCROW *pEndRow)
 
void StartListening (SvtListener &rLst, SCROW nRow)
 
void EndListening (SvtListener &rLst, SCROW nRow)
 
void StartListening (sc::StartListeningContext &rCxt, const ScAddress &rAddress, SvtListener &rListener)
 
void EndListening (sc::EndListeningContext &rCxt, const ScAddress &rAddress, SvtListener &rListener)
 
void StartListeners (sc::StartListeningContext &rCxt, bool bAll)
 
void SetDirtyIfPostponed ()
 
void BroadcastRecalcOnRefMove ()
 
void CollectListeners (std::vector< SvtListener * > &rListeners, SCROW nRow1, SCROW nRow2)
 
void CollectFormulaCells (std::vector< ScFormulaCell * > &rCells, SCROW nRow1, SCROW nRow2)
 
void CompileDBFormula (sc::CompileFormulaContext &rCxt)
 
void CompileColRowNameFormula (sc::CompileFormulaContext &rCxt)
 
sal_Int32 GetMaxStringLen (SCROW nRowStart, SCROW nRowEnd, rtl_TextEncoding eCharSet) const
 
sal_Int32 GetMaxNumberStringLen (sal_uInt16 &nPrecision, SCROW nRowStart, SCROW nRowEnd) const
 
sal_uInt16 GetTextWidth (SCROW nRow) const
 
void SetTextWidth (SCROW nRow, sal_uInt16 nWidth)
 
SvtScriptType GetScriptType (SCROW nRow) const
 
SvtScriptType GetRangeScriptType (sc::CellTextAttrStoreType::iterator &itPos, SCROW nRow1, SCROW nRow2, const sc::CellStoreType::iterator &itr)
 Get combined script types of the specified range. More...
 
void SetScriptType (SCROW nRow, SvtScriptType nType)
 
void UpdateScriptTypes (SCROW nRow1, SCROW nRow2)
 
size_t GetFormulaHash (SCROW nRow) const
 
ScFormulaVectorState GetFormulaVectorState (SCROW nRow) const
 
formula::FormulaTokenRef ResolveStaticReference (SCROW nRow)
 
bool ResolveStaticReference (ScMatrix &rMat, SCCOL nMatCol, SCROW nRow1, SCROW nRow2)
 
void FillMatrix (ScMatrix &rMat, size_t nMatCol, SCROW nRow1, SCROW nRow2, svl::SharedStringPool *pPool) const
 
formula::VectorRefArray FetchVectorRefArray (SCROW nRow1, SCROW nRow2)
 
bool HandleRefArrayForParallelism (SCROW nRow1, SCROW nRow2, const ScFormulaCellGroupRef &mxGroup)
 
void AssertNoInterpretNeeded (SCROW nRow1, SCROW nRow2)
 
void SetFormulaResults (SCROW nRow, const double *pResults, size_t nLen)
 
void CalculateInThread (ScInterpreterContext &rContext, SCROW nRow, size_t nLen, size_t nOffset, unsigned nThisThread, unsigned nThreadsTotal)
 
void HandleStuffAfterParallelCalculation (SCROW nRow, size_t nLen, ScInterpreter *pInterpreter)
 
void SetNumberFormat (SCROW nRow, sal_uInt32 nNumberFormat)
 
SvtBroadcasterGetBroadcaster (SCROW nRow)
 
const SvtBroadcasterGetBroadcaster (SCROW nRow) const
 
void DeleteBroadcasters (sc::ColumnBlockPosition &rBlockPos, SCROW nRow1, SCROW nRow2)
 
void PrepareBroadcastersForDestruction ()
 
void Broadcast (SCROW nRow)
 
void BroadcastCells (const std::vector< SCROW > &rRows, SfxHintId nHint)
 
void BroadcastRows (SCROW nStartRow, SCROW nEndRow, SfxHintId nHint)
 
ScPostItGetCellNote (SCROW nRow)
 
const ScPostItGetCellNote (SCROW nRow) const
 
ScPostItGetCellNote (sc::ColumnBlockConstPosition &rBlockPos, SCROW nRow)
 
const ScPostItGetCellNote (sc::ColumnBlockConstPosition &rBlockPos, SCROW nRow) const
 
void DeleteCellNotes (sc::ColumnBlockPosition &rBlockPos, SCROW nRow1, SCROW nRow2, bool bForgetCaptionOwnership)
 
bool HasCellNotes () const
 
void SetCellNote (SCROW nRow, std::unique_ptr< ScPostIt > pNote)
 
bool IsNotesEmptyBlock (SCROW nStartRow, SCROW nEndRow) const
 
std::unique_ptr< ScPostItReleaseNote (SCROW nRow)
 
size_t GetNoteCount () const
 
void CreateAllNoteCaptions ()
 
void ForgetNoteCaptions (SCROW nRow1, SCROW nRow2, bool bPreserveData)
 
SCROW GetNotePosition (size_t nIndex) const
 
void GetAllNoteEntries (std::vector< sc::NoteEntry > &rNotes) const
 
void GetNotesInRange (SCROW nStartRow, SCROW nEndRow, std::vector< sc::NoteEntry > &rNotes) const
 
SCROW GetCellNotesMaxRow () const
 
SCROW GetCellNotesMinRow () const
 
void CopyCellNotesToDocument (SCROW nRow1, SCROW nRow2, ScColumn &rDestCol, bool bCloneCaption=true, SCROW nRowOffsetDest=0) const
 
void DuplicateNotes (SCROW nStartRow, size_t nDataSize, ScColumn &rDestCol, sc::ColumnBlockPosition &maDestBlockPos, bool bCloneCaption, SCROW nRowOffsetDest=0) const
 
void UpdateNoteCaptions (SCROW nRow1, SCROW nRow2)
 
void UpdateDrawObjects (std::vector< std::vector< SdrObject * >> &pObjects, SCROW nRowStart, SCROW nRowEnd)
 
void UpdateDrawObjectsForRow (std::vector< SdrObject * > &pObjects, SCCOL nTargetCol, SCROW nTargetRow)
 
bool IsDrawObjectsEmptyBlock (SCROW nStartRow, SCROW nEndRow) const
 
void InterpretDirtyCells (SCROW nRow1, SCROW nRow2)
 
void DetachFormulaCell (const sc::CellStoreType::position_type &aPos, ScFormulaCell &rCell, std::vector< SCROW > &rNewSharedRows)
 Detach a formula cell that's about to be deleted, or removed from document storage (if that ever happens). More...
 
void StartListeningUnshared (const std::vector< SCROW > &rNewSharedRows)
 Re-establish listeners on unshared formula groups. More...
 
void DetachFormulaCells (const sc::CellStoreType::position_type &aPos, size_t nLength, std::vector< SCROW > *pNewSharedRows)
 
void AttachFormulaCells (sc::StartListeningContext &rCxt, SCROW nRow1, SCROW nRow2)
 
void DetachFormulaCells (sc::EndListeningContext &rCxt, SCROW nRow1, SCROW nRow2, std::vector< SCROW > *pNewSharedRows)
 
void RegroupFormulaCells (std::vector< ScAddress > *pGroupPos=nullptr)
 Regroup formula cells for the entire column. More...
 
void ResetFormulaCellPositions (SCROW nRow1, SCROW nRow2, bool bUpdateRefs)
 Reset column position of formula cells within specified row range. More...
 
void SplitFormulaGroupByRelativeRef (const ScRange &rBoundRange)
 
void TransferCellValuesTo (SCROW nRow, size_t nLen, sc::CellValues &rDest)
 
void CopyCellValuesFrom (SCROW nRow, const sc::CellValues &rSrc)
 
void ConvertFormulaToValue (sc::EndListeningContext &rCxt, SCROW nRow1, SCROW nRow2, sc::TableValues *pUndo)
 
void SwapNonEmpty (sc::TableValues &rValues, sc::StartListeningContext &rStartCxt, sc::EndListeningContext &rEndCxt)
 
std::unique_ptr< sc::ColumnIteratorGetColumnIterator (SCROW nRow1, SCROW nRow2) const
 
bool EnsureFormulaCellResults (SCROW nRow1, SCROW nRow2, bool bSkipRunning=false)
 
void StoreToCache (SvStream &rStrm) const
 
void RestoreFromCache (SvStream &rStrm)
 
void DumpColumnStorage () const
 
SCSIZE GetPatternCount () const
 
SCSIZE GetPatternCount (SCROW nRow1, SCROW nRow2) const
 
bool ReservePatternCount (SCSIZE nReserve)
 

Static Public Member Functions

static ScRefCellValue GetCellValue (const sc::CellStoreType::const_iterator &itPos, size_t nOffset)
 
static void JoinNewFormulaCell (const sc::CellStoreType::position_type &aPos, ScFormulaCell &rCell)
 

Private Member Functions

 ScColumn (const ScColumn &)=delete
 
ScColumnoperator= (const ScColumn &)=delete
 
bool ParseString (ScCellValue &rCell, SCROW nRow, SCTAB nTab, const OUString &rString, formula::FormulaGrammar::AddressConvention eConv, const ScSetStringParam *pParam)
 
sc::CellStoreType::iterator GetPositionToInsert (SCROW nRow, std::vector< SCROW > &rNewSharedRows, bool bInsertFormula)
 
sc::CellStoreType::iterator GetPositionToInsert (const sc::CellStoreType::iterator &it, SCROW nRow, std::vector< SCROW > &rNewSharedRows, bool bInsertFormula)
 
void AttachNewFormulaCell (const sc::CellStoreType::iterator &itPos, SCROW nRow, ScFormulaCell &rCell, const std::vector< SCROW > &rNewSharedRows, bool bJoin=true, sc::StartListeningType eListenType=sc::SingleCellListening)
 
void AttachNewFormulaCell (const sc::CellStoreType::position_type &aPos, ScFormulaCell &rCell, const std::vector< SCROW > &rNewSharedRows, bool bJoin=true, sc::StartListeningType eListenType=sc::SingleCellListening)
 
void AttachNewFormulaCells (const sc::CellStoreType::position_type &aPos, size_t nLength, std::vector< SCROW > &rNewSharedRows)
 
void BroadcastNewCell (SCROW nRow)
 
bool UpdateScriptType (sc::CellTextAttr &rAttr, SCROW nRow, sc::CellStoreType::iterator &itr)
 
const ScFormulaCellFetchFormulaCell (SCROW nRow) const
 
SCROW FindNextVisibleRowWithContent (sc::CellStoreType::const_iterator &itPos, SCROW nRow, bool bForward) const
 
SCROW FindNextVisibleRow (SCROW nRow, bool bForward) const
 
void GetString (const ScRefCellValue &cell, SCROW nRow, OUString &rString, const ScInterpreterContext *pContext=nullptr) const
 
void GetInputString (const ScRefCellValue &cell, SCROW nRow, OUString &rString) const
 
void CellStorageModified ()
 Called whenever the state of cell array gets modified i.e. More...
 
void CellNotesDeleting (SCROW nRow1, SCROW nRow2, bool bForgetCaptionOwnership)
 
void CopyCellTextAttrsToDocument (SCROW nRow1, SCROW nRow2, ScColumn &rDestCol) const
 
void DeleteCells (sc::ColumnBlockPosition &rBlockPos, SCROW nRow1, SCROW nRow2, InsertDeleteFlags nDelFlag, sc::SingleColumnSpanSet &rDeleted)
 
std::vector< sc::FormulaGroupEntryGetFormulaGroupEntries ()
 Get all non-grouped formula cells and formula cell groups in the whole column. More...
 
void EndListeningIntersectedGroup (sc::EndListeningContext &rCxt, SCROW nRow, std::vector< ScAddress > *pGroupPos)
 
void EndListeningIntersectedGroups (sc::EndListeningContext &rCxt, SCROW nRow1, SCROW nRow2, std::vector< ScAddress > *pGroupPos)
 
void EndListeningGroup (sc::EndListeningContext &rCxt, SCROW nRow)
 
void SetNeedsListeningGroup (SCROW nRow)
 

Private Attributes

sc::CellTextAttrStoreType maCellTextAttrs
 
sc::CellNoteStoreType maCellNotes
 
sc::BroadcasterStoreType maBroadcasters
 
sc::CellStoreEvent maCellsEvent
 
sc::CellStoreType maCells
 
std::unique_ptr< ScAttrArraypAttrArray
 
size_t mnBlkCountFormula
 
SCCOL nCol
 
SCTAB nTab
 

Friends

class ScDocument
 
class ScTable
 
class ScValueIterator
 
class ScHorizontalValueIterator
 
class ScDBQueryDataIterator
 
class ScQueryCellIterator
 
class ScCountIfCellIterator
 
class ScFormulaGroupIterator
 
class ScCellIterator
 
class ScHorizontalCellIterator
 
class ScHorizontalAttrIterator
 
class ScColumnTextWidthIterator
 
class ScDocumentImport
 
class sc::DocumentStreamAccess
 
class sc::SingleColumnSpanSet
 
class sc::ColumnSpanSet
 
class sc::EditTextIterator
 
class sc::CellValues
 
class sc::TableValues
 
class sc::CellStoreEvent
 

Detailed Description

Definition at line 111 of file column.hxx.

Member Enumeration Documentation

Broadcast mode for SetDirty(SCROW,SCROW,BroadcastMode).

Enumerator
BROADCAST_NONE 

no broadcasting

BROADCAST_DATA_POSITIONS 

broadcast existing cells with position => does AreaBroadcast

BROADCAST_BROADCASTERS 

broadcast only existing cell broadcasters => no AreaBroadcast of range!

Definition at line 170 of file column.hxx.

Constructor & Destructor Documentation

ScColumn::ScColumn ( const ScColumn )
privatedelete
ScColumn::ScColumn ( ScSheetLimits const &  rSheetLimits)

Definition at line 80 of file column.cxx.

References ScSheetLimits::GetMaxRowCount(), and maCells.

ScColumn::~ScColumn ( )

Definition at line 93 of file column.cxx.

References FreeAll().

Member Function Documentation

void ScColumn::AddCondFormat ( SCROW  nStartRow,
SCROW  nEndRow,
sal_uInt32  nIndex 
)

Definition at line 549 of file column.cxx.

References pAttrArray.

Referenced by ScTable::AddCondFormatData().

void ScColumn::ApplyAttr ( SCROW  nRow,
const SfxPoolItem rAttr 
)
void ScColumn::ApplyBlockFrame ( const SvxBoxItem rLineOuter,
const SvxBoxInfoItem pLineInner,
SCROW  nStartRow,
SCROW  nEndRow,
bool  bLeft,
SCCOL  nDistRight 
)

Definition at line 363 of file column.cxx.

References pAttrArray.

bool ScColumn::ApplyFlags ( SCROW  nStartRow,
SCROW  nEndRow,
ScMF  nFlags 
)

Definition at line 683 of file column.cxx.

References pAttrArray.

Referenced by ScTable::ApplyFlags().

void ScColumn::ApplyPattern ( SCROW  nRow,
const ScPatternAttr rPatAttr 
)

Definition at line 500 of file column.cxx.

References SfxItemPoolCache::ApplyTo(), GetDoc(), SfxSetItem::GetItemSet(), and pAttrArray.

Referenced by ScTable::ApplyPattern().

void ScColumn::ApplyPatternArea ( SCROW  nStartRow,
SCROW  nEndRow,
const ScPatternAttr rPatAttr,
ScEditDataArray pDataArray = nullptr,
bool *const  pIsChanged = nullptr 
)

Definition at line 515 of file column.cxx.

References GetDoc(), SfxSetItem::GetItemSet(), and pAttrArray.

Referenced by ScTable::ApplyPatternArea(), and DeleteBeforeCopyFromClip().

void ScColumn::ApplyPatternIfNumberformatIncompatible ( const ScRange rRange,
const ScPatternAttr rPattern,
SvNumFormatType  nNewType 
)
SCROW ScColumn::ApplySelectionCache ( SfxItemPoolCache pCache,
const ScMarkData rMark,
ScEditDataArray pDataArray,
bool *const  pIsChanged 
)
void ScColumn::ApplySelectionLineStyle ( const ScMarkData rMark,
const ::editeng::SvxBorderLine pLine,
bool  bColorOnly 
)
void ScColumn::ApplySelectionStyle ( const ScStyleSheet rStyle,
const ScMarkData rMark 
)
void ScColumn::ApplyStyle ( SCROW  nRow,
const ScStyleSheet rStyle 
)

Definition at line 559 of file column.cxx.

References pAttrArray.

Referenced by ScTable::ApplyStyle().

void ScColumn::ApplyStyleArea ( SCROW  nStartRow,
SCROW  nEndRow,
const ScStyleSheet rStyle 
)

Definition at line 567 of file column.cxx.

References pAttrArray.

void ScColumn::AssertNoInterpretNeeded ( SCROW  nRow1,
SCROW  nRow2 
)

Definition at line 2938 of file column2.cxx.

References assert(), assertNoInterpretNeededHelper(), maCells, and sc::ParseBlock().

void ScColumn::AttachFormulaCells ( sc::StartListeningContext rCxt,
SCROW  nRow1,
SCROW  nRow2 
)
void ScColumn::AttachNewFormulaCell ( const sc::CellStoreType::iterator &  itPos,
SCROW  nRow,
ScFormulaCell rCell,
const std::vector< SCROW > &  rNewSharedRows,
bool  bJoin = true,
sc::StartListeningType  eListenType = sc::SingleCellListening 
)
private

Definition at line 601 of file column3.cxx.

void ScColumn::AttachNewFormulaCell ( const sc::CellStoreType::position_type &  aPos,
ScFormulaCell rCell,
const std::vector< SCROW > &  rNewSharedRows,
bool  bJoin = true,
sc::StartListeningType  eListenType = sc::SingleCellListening 
)
private
void ScColumn::AttachNewFormulaCells ( const sc::CellStoreType::position_type &  aPos,
size_t  nLength,
std::vector< SCROW > &  rNewSharedRows 
)
private
void ScColumn::Broadcast ( SCROW  nRow)

Definition at line 66 of file column3.cxx.

Referenced by ScTable::InvalidateTextWidth().

bool ScColumn::BroadcastBroadcasters ( SCROW  nRow1,
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 3288 of file column.cxx.

References ScHint::GetAddress(), maBroadcasters, sc::ProcessBroadcaster(), and ScAddress::SetCol().

Referenced by SetDirty().

void ScColumn::BroadcastCells ( const std::vector< SCROW > &  rRows,
SfxHintId  nHint 
)
void ScColumn::BroadcastNewCell ( SCROW  nRow)
private

Definition at line 747 of file column3.cxx.

void ScColumn::BroadcastRecalcOnRefMove ( )

Definition at line 3382 of file column.cxx.

References BroadcastCells(), GetDoc(), maCells, and sc::ProcessFormula().

void ScColumn::BroadcastRows ( SCROW  nStartRow,
SCROW  nEndRow,
SfxHintId  nHint 
)
void ScColumn::CalcAfterLoad ( sc::CompileFormulaContext rCxt,
bool  bStartListening 
)

Definition at line 3416 of file column.cxx.

References maCells, and sc::ProcessFormula().

void ScColumn::CalcAll ( )

Definition at line 3390 of file column.cxx.

References maCells, and sc::ProcessFormula().

void ScColumn::CalculateInThread ( ScInterpreterContext rContext,
SCROW  nRow,
size_t  nLen,
size_t  nOffset,
unsigned  nThisThread,
unsigned  nThreadsTotal 
)
void ScColumn::CellNotesDeleting ( SCROW  nRow1,
SCROW  nRow2,
bool  bForgetCaptionOwnership 
)
private

Definition at line 1995 of file column2.cxx.

References GetDoc(), maCellNotes, nCol, nTab, and sc::ParseNote().

Referenced by DeleteCellNotes().

void ScColumn::CellStorageModified ( )
private
void ScColumn::ChangeSelectionIndent ( bool  bIncrement,
const ScMarkData rMark 
)
void ScColumn::CheckVectorizationState ( )

Definition at line 3234 of file column.cxx.

References GetDoc(), maCells, and sc::ProcessFormula().

void ScColumn::ClearItems ( SCROW  nStartRow,
SCROW  nEndRow,
const sal_uInt16 *  pWhich 
)

Definition at line 693 of file column.cxx.

References pAttrArray.

void ScColumn::ClearSelectionItems ( const sal_uInt16 *  pWhich,
const ScMarkData rMark 
)
void ScColumn::CloneFormulaCell ( const ScFormulaCell rSrc,
const sc::CellTextAttr rAttr,
const std::vector< sc::RowSpan > &  rRanges 
)
void ScColumn::CollectFormulaCells ( std::vector< ScFormulaCell * > &  rCells,
SCROW  nRow1,
SCROW  nRow2 
)

Definition at line 1251 of file column4.cxx.

References GetDoc(), maCells, sc::ProcessFormula(), and ValidRow().

void ScColumn::CollectListeners ( std::vector< SvtListener * > &  rListeners,
SCROW  nRow1,
SCROW  nRow2 
)

Definition at line 1242 of file column4.cxx.

References GetDoc(), maBroadcasters, sc::ProcessBroadcaster(), and ValidRow().

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

Definition at line 3396 of file column.cxx.

References maCells, and sc::ProcessFormula().

void ScColumn::CompileColRowNameFormula ( sc::CompileFormulaContext rCxt)

Definition at line 3371 of file column2.cxx.

References maCells, sc::ProcessFormula(), and RegroupFormulaCells().

void ScColumn::CompileDBFormula ( sc::CompileFormulaContext rCxt)

Definition at line 3364 of file column2.cxx.

References maCells, sc::ProcessFormula(), and RegroupFormulaCells().

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

Definition at line 3409 of file column.cxx.

References maCells, and sc::ProcessFormula().

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

Definition at line 968 of file column4.cxx.

References GetDoc(), and GetFormulaGroupEntries().

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

Definition at line 3402 of file column.cxx.

References maCells, sc::ProcessFormula(), and RegroupFormulaCells().

void ScColumn::ConvertFormulaToValue ( sc::EndListeningContext rCxt,
SCROW  nRow1,
SCROW  nRow2,
sc::TableValues pUndo 
)
void ScColumn::CopyCellNotesToDocument ( SCROW  nRow1,
SCROW  nRow2,
ScColumn rDestCol,
bool  bCloneCaption = true,
SCROW  nRowOffsetDest = 0 
) const
void ScColumn::CopyCellTextAttrsToDocument ( SCROW  nRow1,
SCROW  nRow2,
ScColumn rDestCol 
) const
private

Definition at line 1781 of file column2.cxx.

References maCellTextAttrs.

Referenced by CopyStaticToDocument().

void ScColumn::CopyCellToDocument ( SCROW  nSrcRow,
SCROW  nDestRow,
ScColumn rDestCol 
)
void ScColumn::CopyCellValuesFrom ( SCROW  nRow,
const sc::CellValues rSrc 
)
void ScColumn::CopyFromClip ( sc::CopyFromClipContext rCxt,
SCROW  nRow1,
SCROW  nRow2,
long  nDy,
ScColumn rColumn 
)
void ScColumn::CopyOneCellFromClip ( sc::CopyFromClipContext rCxt,
SCROW  nRow1,
SCROW  nRow2,
size_t  nColOffset 
)
void ScColumn::CopyScenarioFrom ( const ScColumn rSrcCol)
void ScColumn::CopyScenarioTo ( ScColumn rDestCol) const
void ScColumn::CopyStaticToDocument ( SCROW  nRow1,
SCROW  nRow2,
const SvNumberFormatterMergeMap rMap,
ScColumn rDestCol 
)
void ScColumn::CopyToClip ( sc::CopyToClipContext rCxt,
SCROW  nRow1,
SCROW  nRow2,
ScColumn rColumn 
) const
void ScColumn::CopyToColumn ( sc::CopyToDocContext rCxt,
SCROW  nRow1,
SCROW  nRow2,
InsertDeleteFlags  nFlags,
bool  bMarked,
ScColumn rColumn,
const ScMarkData pMarkData = nullptr,
bool  bAsLink = false,
bool  bGlobalNamesToLocal = false 
) const
void ScColumn::CopyUpdated ( const ScColumn rPosCol,
ScColumn rDestCol 
) const
void ScColumn::CreateAllNoteCaptions ( )

Definition at line 665 of file column4.cxx.

References maCellNotes, nCol, nTab, and sc::ProcessNote().

std::unique_ptr< ScAttrIterator > ScColumn::CreateAttrIterator ( SCROW  nStartRow,
SCROW  nEndRow 
) const

Definition at line 1897 of file column3.cxx.

void ScColumn::Delete ( SCROW  nRow)

Definition at line 140 of file column3.cxx.

void ScColumn::DeleteArea ( SCROW  nStartRow,
SCROW  nEndRow,
InsertDeleteFlags  nDelFlag,
bool  bBroadcast = true,
sc::ColumnSpanSet pBroadcastSpans = nullptr 
)
void ScColumn::DeleteBeforeCopyFromClip ( sc::CopyFromClipContext rCxt,
const ScColumn rClipCol,
sc::ColumnSpanSet rBroadcastSpans 
)
void ScColumn::DeleteBroadcasters ( sc::ColumnBlockPosition rBlockPos,
SCROW  nRow1,
SCROW  nRow2 
)

Definition at line 1916 of file column2.cxx.

References maBroadcasters, and sc::ColumnBlockPosition::miBroadcasterPos.

void ScColumn::DeleteCellNotes ( sc::ColumnBlockPosition rBlockPos,
SCROW  nRow1,
SCROW  nRow2,
bool  bForgetCaptionOwnership 
)
void ScColumn::DeleteCells ( sc::ColumnBlockPosition rBlockPos,
SCROW  nRow1,
SCROW  nRow2,
InsertDeleteFlags  nDelFlag,
sc::SingleColumnSpanSet rDeleted 
)
private

Definition at line 967 of file column3.cxx.

References sc::ColumnBlockPosition::miCellPos, and sc::ProcessBlock().

Referenced by DeleteBeforeCopyFromClip().

void ScColumn::DeleteContent ( SCROW  nRow,
bool  bBroadcast = true 
)
void ScColumn::DeleteRanges ( const std::vector< sc::RowSpan > &  rRanges,
InsertDeleteFlags  nDelFlag 
)

Definition at line 534 of file column4.cxx.

References DeleteArea().

void ScColumn::DeleteRow ( SCROW  nStartRow,
SCSIZE  nSize,
std::vector< ScAddress > *  pGroupPos 
)
Parameters
nStartRowtop row position
nSizesize of the segment to delete.
pGroupPoswhen non-NULL, stores the top position of formula group that's been merged as a result of row deletion.

Definition at line 183 of file column3.cxx.

References sc::element_type_empty, sc::SharedFormulaUtil::joinFormulaCellAbove(), sc::ColumnBlockConstPosition::miCellPos, sc::ProcessFormula(), and sc::SingleColumnSpanSet::scan().

void ScColumn::DeleteSelection ( InsertDeleteFlags  nDelFlag,
const ScMarkData rMark,
bool  bBroadcast 
)
void ScColumn::DetachFormulaCell ( const sc::CellStoreType::position_type &  aPos,
ScFormulaCell rCell,
std::vector< SCROW > &  rNewSharedRows 
)

Detach a formula cell that's about to be deleted, or removed from document storage (if that ever happens).

Parameters
rNewSharedRowscollects possible new shared row ranges (top and bottom of shared or remaining single twice) resulting from unsharing to reestablish listeners on.

Definition at line 290 of file column3.cxx.

References ScFormulaCell::aPos, ScFormulaCell::EndListeningTo(), ScFormulaCell::GetSharedLength(), ScFormulaCell::GetSharedTopRow(), ScFormulaCell::IsShared(), ScAddress::Row(), and sc::SharedFormulaUtil::unshareFormulaCell().

void ScColumn::DetachFormulaCells ( const sc::CellStoreType::position_type &  aPos,
size_t  nLength,
std::vector< SCROW > *  pNewSharedRows 
)
void ScColumn::DetachFormulaCells ( sc::EndListeningContext rCxt,
SCROW  nRow1,
SCROW  nRow2,
std::vector< SCROW > *  pNewSharedRows 
)
void ScColumn::DumpColumnStorage ( ) const
void ScColumn::DuplicateNotes ( SCROW  nStartRow,
size_t  nDataSize,
ScColumn rDestCol,
sc::ColumnBlockPosition maDestBlockPos,
bool  bCloneCaption,
SCROW  nRowOffsetDest = 0 
) const
void ScColumn::EndListening ( SvtListener rLst,
SCROW  nRow 
)
void ScColumn::EndListening ( sc::EndListeningContext rCxt,
const ScAddress rAddress,
SvtListener rListener 
)
void ScColumn::EndListeningFormulaCells ( sc::EndListeningContext rCxt,
SCROW  nRow1,
SCROW  nRow2,
SCROW pStartRow,
SCROW pEndRow 
)

Definition at line 1478 of file column4.cxx.

References HasFormulaCell(), maCells, and sc::ProcessBlock().

void ScColumn::EndListeningGroup ( sc::EndListeningContext rCxt,
SCROW  nRow 
)
private
void ScColumn::EndListeningIntersectedGroup ( sc::EndListeningContext rCxt,
SCROW  nRow,
std::vector< ScAddress > *  pGroupPos 
)
private
void ScColumn::EndListeningIntersectedGroups ( sc::EndListeningContext rCxt,
SCROW  nRow1,
SCROW  nRow2,
std::vector< ScAddress > *  pGroupPos 
)
private
bool ScColumn::EnsureFormulaCellResults ( SCROW  nRow1,
SCROW  nRow2,
bool  bSkipRunning = false 
)

Definition at line 1854 of file column4.cxx.

References GetDoc(), HasFormulaCell(), lcl_EvalDirty(), maCells, and ValidRow().

bool ScColumn::ExtendMerge ( SCCOL  nThisCol,
SCROW  nStartRow,
SCROW  nEndRow,
SCCOL rPaintCol,
SCROW rPaintRow,
bool  bRefresh 
)

Definition at line 327 of file column.cxx.

References pAttrArray.

const ScFormulaCell * ScColumn::FetchFormulaCell ( SCROW  nRow) const
private

Definition at line 3072 of file column2.cxx.

References GetFormulaCellBlockAddress().

Referenced by GetFormulaHash(), and GetFormulaVectorState().

formula::VectorRefArray ScColumn::FetchVectorRefArray ( SCROW  nRow1,
SCROW  nRow2 
)
void ScColumn::FillMatrix ( ScMatrix rMat,
size_t  nMatCol,
SCROW  nRow1,
SCROW  nRow2,
svl::SharedStringPool pPool 
) const

Definition at line 2446 of file column2.cxx.

References GetDoc(), maCells, and sc::ParseBlock().

Referenced by ScTable::FillMatrix().

void ScColumn::FindDataAreaPos ( SCROW rRow,
bool  bDown 
) const
SCROW ScColumn::FindNextVisibleRow ( SCROW  nRow,
bool  bForward 
) const
private

Definition at line 1508 of file column2.cxx.

References GetDoc(), ScDocument::MaxRow(), nTab, and ScDocument::RowHidden().

Referenced by FindDataAreaPos().

SCROW ScColumn::FindNextVisibleRowWithContent ( sc::CellStoreType::const_iterator &  itPos,
SCROW  nRow,
bool  bForward 
) const
private
void ScColumn::FindRangeNamesInUse ( SCROW  nRow1,
SCROW  nRow2,
sc::UpdatedRangeNames rIndexes 
) const

Definition at line 3207 of file column.cxx.

References maCells, and sc::ParseFormula().

void ScColumn::FindStyleSheet ( const SfxStyleSheetBase pStyleSheet,
ScFlatBoolRowSegments rUsedRows,
bool  bReset 
)

Definition at line 673 of file column.cxx.

References pAttrArray.

void ScColumn::FindUsed ( SCROW  nStartRow,
SCROW  nEndRow,
mdds::flat_segment_tree< SCROW, bool > &  rUsed 
) const

Definition at line 3238 of file column2.cxx.

References maCells, and sc::ParseBlock().

void ScColumn::ForgetNoteCaptions ( SCROW  nRow1,
SCROW  nRow2,
bool  bPreserveData 
)

Definition at line 671 of file column4.cxx.

References GetDoc(), maCellNotes, sc::ProcessNote(), and ScDocument::ValidRow().

void ScColumn::FreeAll ( )

Definition at line 150 of file column3.cxx.

Referenced by ~ScColumn().

void ScColumn::FreeNotes ( )

Definition at line 163 of file column3.cxx.

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

Definition at line 749 of file column4.cxx.

References GetDoc(), maCellNotes, nCol, and nTab.

const ScStyleSheet * ScColumn::GetAreaStyle ( bool &  rFound,
SCROW  nRow1,
SCROW  nRow2 
) const
const SfxPoolItem & ScColumn::GetAttr ( SCROW  nRow,
sal_uInt16  nWhich 
) const

Definition at line 374 of file column.cxx.

References pAttrArray.

Referenced by GetAttr(), and sc::CopyFromClipContext::isDateCell().

template<class T >
const T& ScColumn::GetAttr ( SCROW  nRow,
TypedWhichId< T >  nWhich 
) const
inline

Definition at line 454 of file column.hxx.

References GetAttr().

sc::MatrixEdge ScColumn::GetBlockMatrixEdges ( SCROW  nRow1,
SCROW  nRow2,
sc::MatrixEdge  nMask,
bool  bNoMatrixAtAll 
) const
SvtBroadcaster * ScColumn::GetBroadcaster ( SCROW  nRow)

Definition at line 1906 of file column2.cxx.

References maBroadcasters.

Referenced by EndListening().

const SvtBroadcaster * ScColumn::GetBroadcaster ( SCROW  nRow) const

Definition at line 1911 of file column2.cxx.

References maBroadcasters.

sc::CellTextAttrStoreType& ScColumn::GetCellAttrStore ( )
inline

Definition at line 187 of file column.hxx.

References maCellTextAttrs.

const sc::CellTextAttrStoreType& ScColumn::GetCellAttrStore ( ) const
inline

Definition at line 188 of file column.hxx.

References maCellTextAttrs.

SCSIZE ScColumn::GetCellCount ( ) const

Definition at line 3053 of file column3.cxx.

ScPostIt * ScColumn::GetCellNote ( SCROW  nRow)

Definition at line 1936 of file column2.cxx.

References maCellNotes.

Referenced by GetCellNote().

const ScPostIt * ScColumn::GetCellNote ( SCROW  nRow) const

Definition at line 1941 of file column2.cxx.

References maCellNotes.

ScPostIt * ScColumn::GetCellNote ( sc::ColumnBlockConstPosition rBlockPos,
SCROW  nRow 
)

Definition at line 1957 of file column2.cxx.

References GetCellNote().

const ScPostIt * ScColumn::GetCellNote ( sc::ColumnBlockConstPosition rBlockPos,
SCROW  nRow 
) const
SCROW ScColumn::GetCellNotesMaxRow ( ) const

Definition at line 2018 of file column2.cxx.

References sc::element_type_cellnote, and maCellNotes.

SCROW ScColumn::GetCellNotesMinRow ( ) const

Definition at line 2029 of file column2.cxx.

References sc::element_type_cellnote, and maCellNotes.

sc::CellNoteStoreType& ScColumn::GetCellNoteStore ( )
inline

Definition at line 189 of file column.hxx.

References maCellNotes.

const sc::CellNoteStoreType& ScColumn::GetCellNoteStore ( ) const
inline

Definition at line 190 of file column.hxx.

References maCellNotes.

sc::CellStoreType& ScColumn::GetCellStore ( )
inline

Definition at line 185 of file column.hxx.

References maCells.

const sc::CellStoreType& ScColumn::GetCellStore ( ) const
inline

Definition at line 186 of file column.hxx.

References maCells.

const sc::CellTextAttr * ScColumn::GetCellTextAttr ( SCROW  nRow) const
const sc::CellTextAttr * ScColumn::GetCellTextAttr ( sc::ColumnBlockConstPosition rBlockPos,
SCROW  nRow 
) const
CellType ScColumn::GetCellType ( SCROW  nRow) const
ScRefCellValue ScColumn::GetCellValue ( SCROW  nRow) const
ScRefCellValue ScColumn::GetCellValue ( sc::ColumnBlockPosition rBlockPos,
SCROW  nRow 
)

Definition at line 741 of file column.cxx.

References GetCellValue(), maCells, and sc::ColumnBlockPosition::miCellPos.

ScRefCellValue ScColumn::GetCellValue ( sc::ColumnBlockConstPosition rBlockPos,
SCROW  nRow 
) const

Definition at line 751 of file column.cxx.

References GetCellValue(), maCells, and sc::ColumnBlockConstPosition::miCellPos.

ScRefCellValue ScColumn::GetCellValue ( const sc::CellStoreType::const_iterator &  itPos,
size_t  nOffset 
)
static
sal_uInt32 ScColumn::GetCodeCount ( ) const

Definition at line 3609 of file column2.cxx.

References maCells, and sc::ParseFormula().

SCCOL ScColumn::GetCol ( ) const
inline
std::unique_ptr< sc::ColumnIterator > ScColumn::GetColumnIterator ( SCROW  nRow1,
SCROW  nRow2 
) const

Definition at line 1634 of file column4.cxx.

References GetDoc(), maCells, and ValidRow().

Referenced by ScTable::GetColumnIterator().

bool ScColumn::GetDataEntries ( SCROW  nRow,
std::set< ScTypedStrData > &  rStrings,
bool  bLimit 
) const

Definition at line 2666 of file column3.cxx.

References DATENT_MAX, and DATENT_SEARCH.

ScDocument& ScColumn::GetDoc ( ) const
inline

Definition at line 182 of file column.hxx.

Referenced by ApplyAttr(), ApplyPattern(), ApplyPatternArea(), ApplyPatternIfNumberformatIncompatible(), ApplySelectionCache(), BroadcastRecalcOnRefMove(), CalculateInThread(), CellNotesDeleting(), CellStorageModified(), CheckVectorizationState(), CloneFormulaCell(), CollectFormulaCells(), CollectListeners(), CompileHybridFormula(), ConvertFormulaToValue(), CopyCellNotesToDocument(), CopyCellToDocument(), CopyCellValuesFrom(), CopyFromClip(), CopyOneCellFromClip(), CopyScenarioFrom(), CopyScenarioTo(), CopyStaticToDocument(), CopyToClip(), CopyToColumn(), CopyUpdated(), sc::DelayStartListeningFormulaCells::DelayStartListeningFormulaCells(), DeleteBeforeCopyFromClip(), EndListeningIntersectedGroup(), EnsureFormulaCellResults(), FetchVectorRefArray(), FillMatrix(), FindNextVisibleRow(), FindNextVisibleRowWithContent(), ForgetNoteCaptions(), GetAllNoteEntries(), GetAreaStyle(), GetBlockMatrixEdges(), GetColumnIterator(), ScCellIterator::getCurrent(), GetFormulaCellBlockAddress(), GetLastDataPos(), GetMostUsedPattern(), GetNeededSize(), GetNextSpellingCell(), GetNumberFormat(), GetOptimalColWidth(), GetOptimalHeight(), GetRangeScriptType(), GetScriptType(), GetSelectionStyle(), HandleRefArrayForParallelism(), HasFormulaCell(), HasSelectionMatrixFragment(), InsertRow(), IsDrawObjectsEmptyBlock(), IsFormulaDirty(), MarkScenarioIn(), MoveTo(), PreprocessDBDataUpdate(), PreprocessRangeNameUpdate(), ReleaseNote(), RemoveEditAttribs(), ResolveStaticReference(), RestoreFromCache(), sc::DelayStartListeningFormulaCells::set(), SetAllFormulasDirty(), SetDirty(), SetDirtyAfterLoad(), SetDirtyFromClip(), SetDirtyIfPostponed(), SetScriptType(), SetTableOpDirty(), SetValues(), SplitFormulaGroupByRelativeRef(), StartListening(), Swap(), SwapCol(), SwapNonEmpty(), TestCopyScenarioTo(), TestInsertRow(), TransferCellValuesTo(), UndoToColumn(), UpdateDrawObjectsForRow(), UpdateReference(), UpdateReferenceOnCopy(), UpdateScriptTypes(), UpdateSelectionFunction(), and sc::DelayStartListeningFormulaCells::~DelayStartListeningFormulaCells().

const EditTextObject * ScColumn::GetEditText ( SCROW  nRow) const

Definition at line 2965 of file column3.cxx.

References sc::element_type_edittext.

SCSIZE ScColumn::GetEmptyLinesInBlock ( SCROW  nStartRow,
SCROW  nEndRow,
ScDirection  eDir 
) const

Definition at line 1283 of file column2.cxx.

References DIR_BOTTOM, DIR_TOP, sc::element_type_empty, maCells, and nLength.

FormulaError ScColumn::GetErrCode ( SCROW  nRow) const

Definition at line 3060 of file column3.cxx.

References sc::element_type_formula.

void ScColumn::GetFilterEntries ( sc::ColumnBlockConstPosition rBlockPos,
SCROW  nStartRow,
SCROW  nEndRow,
ScFilterEntries rFilterEntries 
)

Definition at line 2525 of file column3.cxx.

References sc::ColumnBlockConstPosition::miCellPos, and sc::ParseAll().

SCROW ScColumn::GetFirstDataPos ( ) const

Definition at line 1325 of file column2.cxx.

References sc::element_type_empty, IsEmptyData(), and maCells.

bool ScColumn::GetFirstVisibleAttr ( SCROW rFirstRow) const

Definition at line 3186 of file column2.cxx.

References pAttrArray.

void ScColumn::GetFormula ( SCROW  nRow,
OUString &  rFormula 
) const

Definition at line 2992 of file column3.cxx.

References EMPTY_OUSTRING, and ScFormulaCell::GetFormula().

const ScFormulaCell * ScColumn::GetFormulaCell ( SCROW  nRow) const

Definition at line 3001 of file column3.cxx.

Referenced by ScTable::GetFormulaCell().

ScFormulaCell * ScColumn::GetFormulaCell ( SCROW  nRow)

Definition at line 3006 of file column3.cxx.

ScFormulaCell *const * ScColumn::GetFormulaCellBlockAddress ( SCROW  nRow,
size_t &  rBlockSize 
) const
std::vector< sc::FormulaGroupEntry > ScColumn::GetFormulaGroupEntries ( )
private

Get all non-grouped formula cells and formula cell groups in the whole column.

Definition at line 2542 of file column.cxx.

References maCells.

Referenced by CompileHybridFormula(), ScFormulaGroupIterator::next(), PreprocessDBDataUpdate(), PreprocessRangeNameUpdate(), ScFormulaGroupIterator::ScFormulaGroupIterator(), and UpdateReference().

size_t ScColumn::GetFormulaHash ( SCROW  nRow) const

Definition at line 2149 of file column2.cxx.

References FetchFormulaCell(), and ScFormulaCell::GetHash().

ScFormulaVectorState ScColumn::GetFormulaVectorState ( SCROW  nRow) const
void ScColumn::GetInputString ( SCROW  nRow,
OUString &  rString 
) const
inline

Definition at line 371 of file column.hxx.

References GetCellValue().

Referenced by GetInputString().

void ScColumn::GetInputString ( sc::ColumnBlockConstPosition rBlockPos,
SCROW  nRow,
OUString &  rString 
) const
inline

Definition at line 373 of file column.hxx.

References GetCellValue(), and GetInputString().

void ScColumn::GetInputString ( const ScRefCellValue cell,
SCROW  nRow,
OUString &  rString 
) const
private

Definition at line 2938 of file column3.cxx.

References ScCellFormat::GetInputString().

SCROW ScColumn::GetLastDataPos ( ) const
SCROW ScColumn::GetLastDataPos ( SCROW  nLastRow,
bool  bConsiderCellNotes = false,
bool  bConsiderCellDrawObjects = false 
) const
bool ScColumn::GetLastVisibleAttr ( SCROW rLastRow) const

Definition at line 3194 of file column2.cxx.

References GetLastDataPos(), and pAttrArray.

sal_Int32 ScColumn::GetMaxNumberStringLen ( sal_uInt16 &  nPrecision,
SCROW  nRowStart,
SCROW  nRowEnd 
) const

Definition at line 3372 of file column3.cxx.

References sc::ParseFormulaNumeric().

sal_Int32 ScColumn::GetMaxStringLen ( SCROW  nRowStart,
SCROW  nRowEnd,
rtl_TextEncoding  eCharSet 
) const

Definition at line 3211 of file column3.cxx.

References sc::ParseAllNonEmpty().

const ScPatternAttr * ScColumn::GetMostUsedPattern ( SCROW  nStartRow,
SCROW  nEndRow 
) const

Definition at line 379 of file column.cxx.

References ScDocument::GetDefPattern(), GetDoc(), and pAttrArray.

long ScColumn::GetNeededSize ( SCROW  nRow,
OutputDevice pDev,
double  nPPTX,
double  nPPTY,
const Fraction rZoomX,
const Fraction rZoomY,
bool  bWidth,
const ScNeededSizeOptions rOptions,
const ScPatternAttr **  pPatternChange,
bool  bInPrintTwips = false 
) const

Definition at line 82 of file column2.cxx.

References ScDocument::ApplyAsianEditSettings(), assert(), ATTR_HOR_JUSTIFY(), ATTR_INDENT(), ATTR_LINEBREAK(), ATTR_MARGIN(), ATTR_MERGE(), ATTR_MERGE_FLAG(), ATTR_ROTATE_MODE(), ATTR_ROTATE_VALUE(), ATTR_VERTICAL_ASIAN(), Auto, ScNeededSizeOptions::bFormula, ScNeededSizeOptions::bGetFont, ScNeededSizeOptions::bSkipMerged, ScNeededSizeOptions::bTotalSize, CELLTYPE_EDIT, CELLTYPE_FORMULA, CELLTYPE_VALUE, ScDocument::CreateFieldEditEngine(), ScDocument::DisposeFieldEditEngine(), EE_PARA_HYPHENATE(), sc::element_type_empty, F_PI18000, ScPatternAttr::FillEditItemSet(), SvxMarginItem::GetBottomMargin(), ScPatternAttr::GetCellOrientation(), GetCellValue(), ScMergeAttr::GetColMerge(), ScDocument::GetColWidth(), ScDocument::GetCondResult(), ScGlobal::GetDefaultScriptType(), Fraction::GetDenominator(), GetDoc(), OutputDevice::GetFont(), ScPatternAttr::GetFont(), vcl::Font::GetFontSize(), ScDocument::GetFormatTable(), LinguMgr::GetHyphenator(), ScPatternAttr::GetItem(), SfxItemSet::GetItemState(), SvxMarginItem::GetLeftMargin(), OutputDevice::GetMapMode(), MapMode::GetMapUnit(), ScPatternAttr::GetNumberFormat(), Fraction::GetNumerator(), ScDocument::GetOriginalWidth(), OutputDevice::GetOutDevType(), ScDocument::GetPreviewCellStyle(), ScDocument::GetPreviewFont(), SvxMarginItem::GetRightMargin(), ScPatternAttr::GetRotateDir(), ScDocument::GetRowHeight(), ScMergeAttr::GetRowMerge(), ScDocument::GetScriptType(), ScCellFormat::GetString(), OutputDevice::GetTextHeight(), OutputDevice::GetTextWidth(), SvxMarginItem::GetTopMargin(), SvNumberFormatter::GetType(), ScMergeFlagAttr::HasAutoFilter(), ScRefCellValue::hasNumeric(), Size::Height(), HMM_PER_TWIPS, IsAmbiguousScript(), ScMergeFlagAttr::IsHorOverlapped(), ScFormulaCell::IsMultilineResult(), ScFormulaCell::IsRunning(), ScFormulaCell::IsValue(), ScMergeFlagAttr::IsVerOverlapped(), OutputDevice::LogicToLogic(), OutputDevice::LogicToPixel(), maCells, ScRefCellValue::meType, ScRefCellValue::mpEditText, ScRefCellValue::mpFormula, nCol, nPPTX, nPPTY, nTab, nValue, OUTDEV_PRINTER, pAttrArray, OutputDevice::PixelToLogic(), Point, ScNeededSizeOptions::pPattern, Right, SC_AUTOCOL_BLACK, SC_ROT_BREAK_FACTOR, OutputDevice::SetFont(), OutputDevice::SetMapMode(), Size::setWidth(), SVX_ROTATE_MODE_STANDARD, TWIPS_PER_PIXEL, TWIPS_PER_POINT, and Size::Width().

Referenced by GetOptimalColWidth(), GetOptimalHeight(), and ScTable::MaybeAddExtraColumn().

bool ScColumn::GetNextDataPos ( SCROW rRow) const

Definition at line 1416 of file column2.cxx.

References sc::element_type_empty.

Referenced by GetNextSpellingCell().

bool ScColumn::GetNextSpellingCell ( SCROW nRow,
bool  bInSel,
const ScMarkData rData 
) const
SCROW ScColumn::GetNextUnprotected ( SCROW  nRow,
bool  bUp 
) const

Including current, may return -1.

Definition at line 108 of file column.cxx.

References pAttrArray.

size_t ScColumn::GetNoteCount ( ) const

Definition at line 626 of file column4.cxx.

References sc::element_type_cellnote, and maCellNotes.

SCROW ScColumn::GetNotePosition ( size_t  nIndex) const

Definition at line 684 of file column4.cxx.

References sc::element_type_cellnote, maCellNotes, and nCount.

void ScColumn::GetNotesInRange ( SCROW  nStartRow,
SCROW  nEndRow,
std::vector< sc::NoteEntry > &  rNotes 
) const

Definition at line 754 of file column4.cxx.

References maCellNotes, nCol, and nTab.

sal_uInt32 ScColumn::GetNumberFormat ( const ScInterpreterContext rContext,
SCROW  nRow 
) const
sal_uInt32 ScColumn::GetNumberFormat ( SCROW  nStartRow,
SCROW  nEndRow 
) const
sal_uInt16 ScColumn::GetOptimalColWidth ( OutputDevice pDev,
double  nPPTX,
double  nPPTY,
const Fraction rZoomX,
const Fraction rZoomY,
bool  bFormula,
sal_uInt16  nOldWidth,
const ScMarkData pMarkData,
const ScColWidthParam pParam 
) const
void ScColumn::GetOptimalHeight ( sc::RowHeightContext rCxt,
SCROW  nStartRow,
SCROW  nEndRow,
sal_uInt16  nMinHeight,
SCROW  nMinStart 
)
const ScPatternAttr * ScColumn::GetPattern ( SCROW  nRow) const

Definition at line 369 of file column.cxx.

References pAttrArray.

Referenced by GetOptimalColWidth(), ScTable::GetPattern(), and Swap().

SCSIZE ScColumn::GetPatternCount ( ) const

Definition at line 3616 of file column2.cxx.

References pAttrArray.

SCSIZE ScColumn::GetPatternCount ( SCROW  nRow1,
SCROW  nRow2 
) const

Definition at line 3621 of file column2.cxx.

References pAttrArray.

sc::CellStoreType::iterator ScColumn::GetPositionToInsert ( SCROW  nRow,
std::vector< SCROW > &  rNewSharedRows,
bool  bInsertFormula 
)
private

Definition at line 264 of file column3.cxx.

sc::CellStoreType::iterator ScColumn::GetPositionToInsert ( const sc::CellStoreType::iterator &  it,
SCROW  nRow,
std::vector< SCROW > &  rNewSharedRows,
bool  bInsertFormula 
)
private

Definition at line 572 of file column3.cxx.

References sc::element_type_formula, and lcl_AddFormulaGroupBoundaries().

bool ScColumn::GetPrevDataPos ( SCROW rRow) const

Definition at line 1370 of file column2.cxx.

References sc::element_type_empty, and maCells.

SvtScriptType ScColumn::GetRangeScriptType ( sc::CellTextAttrStoreType::iterator &  itPos,
SCROW  nRow1,
SCROW  nRow2,
const sc::CellStoreType::iterator &  itr 
)

Get combined script types of the specified range.

This method may update script types on demand if they have not been determined.

Definition at line 2064 of file column2.cxx.

References CellStorageModified(), sc::element_type_celltextattr, GetDoc(), maCellTextAttrs, sc::CellTextAttr::mnScriptType, UpdateScriptType(), and ValidRow().

Referenced by GetOptimalHeight().

SvtScriptType ScColumn::GetScriptType ( SCROW  nRow) const

Definition at line 2056 of file column2.cxx.

References GetDoc(), maCellTextAttrs, and ValidRow().

const ScStyleSheet * ScColumn::GetSelectionStyle ( const ScMarkData rMark,
bool &  rFound 
) const
svl::SharedString ScColumn::GetSharedString ( SCROW  nRow) const
void ScColumn::GetString ( SCROW  nRow,
OUString &  rString,
const ScInterpreterContext pContext = nullptr 
) const
inline

Definition at line 365 of file column.hxx.

References GetCellValue().

Referenced by GetString().

void ScColumn::GetString ( sc::ColumnBlockConstPosition rBlockPos,
SCROW  nRow,
OUString &  rString,
const ScInterpreterContext pContext = nullptr 
) const
inline

Definition at line 367 of file column.hxx.

References GetCellValue(), and GetString().

void ScColumn::GetString ( const ScRefCellValue cell,
SCROW  nRow,
OUString &  rString,
const ScInterpreterContext pContext = nullptr 
) const
private
const ScStyleSheet * ScColumn::GetStyle ( SCROW  nRow) const

Definition at line 602 of file column.cxx.

References pAttrArray.

SCTAB ScColumn::GetTab ( ) const
inline
sal_uInt16 ScColumn::GetTextWidth ( SCROW  nRow) const

Definition at line 2040 of file column2.cxx.

References maCellTextAttrs.

Referenced by ScTable::MaybeAddExtraColumn().

void ScColumn::GetUnprotectedCells ( SCROW  nStartRow,
SCROW  nEndRow,
ScRangeList rRangeList 
) const
double ScColumn::GetValue ( SCROW  nRow) const
double * ScColumn::GetValueCell ( SCROW  nRow)

Definition at line 2925 of file column3.cxx.

References sc::element_type_numeric.

Referenced by ScTable::GetValueCell().

sal_uLong ScColumn::GetWeightedCount ( ) const

Definition at line 3577 of file column2.cxx.

References maCells.

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

Definition at line 3584 of file column2.cxx.

References maCells.

bool ScColumn::HandleRefArrayForParallelism ( SCROW  nRow1,
SCROW  nRow2,
const ScFormulaCellGroupRef mxGroup 
)

Definition at line 1867 of file column4.cxx.

References GetDoc(), lcl_EvalDirty(), and maCells.

void ScColumn::HandleStuffAfterParallelCalculation ( SCROW  nRow,
size_t  nLen,
ScInterpreter pInterpreter 
)
bool ScColumn::HasAttrib ( SCROW  nRow1,
SCROW  nRow2,
HasAttrFlags  nMask 
) const

Definition at line 302 of file column.cxx.

References pAttrArray.

Referenced by GetNextSpellingCell().

bool ScColumn::HasAttribSelection ( const ScMarkData rMark,
HasAttrFlags  nMask 
) const
bool ScColumn::HasCellNotes ( ) const

Definition at line 2010 of file column2.cxx.

References sc::element_type_cellnote, and maCellNotes.

bool ScColumn::HasDataAt ( SCROW  nRow,
bool  bConsiderCellNotes = false,
bool  bConsiderCellDrawObjects = false 
) const
bool ScColumn::HasDataAt ( sc::ColumnBlockConstPosition rBlockPos,
SCROW  nRow,
bool  bConsiderCellNotes = false,
bool  bConsiderCellDrawObjects = false 
) const
bool ScColumn::HasDataAt ( sc::ColumnBlockPosition rBlockPos,
SCROW  nRow,
bool  bConsiderCellNotes = false,
bool  bConsiderCellDrawObjects = false 
)
sc::MultiDataCellState::StateType ScColumn::HasDataCellsInRange ( SCROW  nRow1,
SCROW  nRow2,
SCROW pRow1 
) const
bool ScColumn::HasEditCells ( SCROW  nStartRow,
SCROW  nEndRow,
SCROW rFirst 
)

Definition at line 3428 of file column.cxx.

References sc::FindFormulaEditText(), and maCells.

Referenced by GetOptimalHeight().

bool ScColumn::HasFormulaCell ( ) const
bool ScColumn::HasFormulaCell ( SCROW  nRow1,
SCROW  nRow2 
) const
bool ScColumn::HasSelectionMatrixFragment ( const ScMarkData rMark) const
bool ScColumn::HasStringCells ( SCROW  nStartRow,
SCROW  nEndRow 
) const

Return true if there is a string or editcell in the range.

Definition at line 3116 of file column3.cxx.

References sc::element_type_edittext, and sc::element_type_string.

bool ScColumn::HasStringData ( SCROW  nRow) const
bool ScColumn::HasValueData ( SCROW  nRow) const

Definition at line 3094 of file column3.cxx.

References sc::element_type_formula, and sc::element_type_numeric.

bool ScColumn::HasVisibleAttrIn ( SCROW  nStartRow,
SCROW  nEndRow 
) const

Definition at line 3207 of file column2.cxx.

References pAttrArray.

bool ScColumn::HasVisibleDataAt ( SCROW  nRow) const

Definition at line 1230 of file column2.cxx.

References sc::element_type_empty, and maCells.

void ScColumn::Init ( SCCOL  nNewCol,
SCTAB  nNewTab,
ScDocument rDoc,
bool  bEmptyAttrArray 
)

Definition at line 98 of file column.cxx.

References ScDocument::maTabs, nCol, nTab, and pAttrArray.

void ScColumn::InitBlockPosition ( sc::ColumnBlockPosition rBlockPos)
void ScColumn::InitBlockPosition ( sc::ColumnBlockConstPosition rBlockPos) const
void ScColumn::InsertRow ( SCROW  nStartRow,
SCSIZE  nSize 
)
void ScColumn::InterpretDirtyCells ( SCROW  nRow1,
SCROW  nRow2 
)

Definition at line 109 of file column3.cxx.

References sc::ProcessFormula(), and ValidRow().

bool ScColumn::IsAllAttrEqual ( const ScColumn rCol,
SCROW  nStartRow,
SCROW  nEndRow 
) const

Definition at line 3170 of file column2.cxx.

References pAttrArray.

bool ScColumn::IsDrawObjectsEmptyBlock ( SCROW  nStartRow,
SCROW  nEndRow 
) const
bool ScColumn::IsEmptyAttr ( ) const

Definition at line 1241 of file column2.cxx.

References pAttrArray.

Referenced by TestInsertCol().

bool ScColumn::IsEmptyBlock ( SCROW  nStartRow,
SCROW  nEndRow 
) const

Definition at line 1249 of file column2.cxx.

References sc::element_type_empty, and maCells.

bool ScColumn::IsEmptyData ( ) const
bool ScColumn::IsFormulaDirty ( SCROW  nRow) const
bool ScColumn::IsMerged ( SCROW  nRow) const

Definition at line 42 of file column4.cxx.

References pAttrArray.

bool ScColumn::IsNotesEmptyBlock ( SCROW  nStartRow,
SCROW  nEndRow 
) const

Definition at line 1266 of file column2.cxx.

References sc::element_type_empty, and maCellNotes.

Referenced by CopyCellNotesToDocument(), GetLastDataPos(), and HasDataAt().

bool ScColumn::IsStyleSheetUsed ( const ScStyleSheet rStyle) const

Definition at line 678 of file column.cxx.

References pAttrArray.

bool ScColumn::IsVisibleAttrEqual ( const ScColumn rCol,
SCROW  nStartRow = 0,
SCROW  nEndRow = MAXROW 
) const

Definition at line 3178 of file column2.cxx.

References pAttrArray.

void ScColumn::JoinNewFormulaCell ( const sc::CellStoreType::position_type &  aPos,
ScFormulaCell rCell 
)
static

Definition at line 270 of file column3.cxx.

References sc::element_type_formula, and sc::SharedFormulaUtil::joinFormulaCells().

Referenced by CloneFormulaCell().

void ScColumn::MarkScenarioIn ( ScMarkData rDestMark) const
void ScColumn::MergeBlockFrame ( SvxBoxItem pLineOuter,
SvxBoxInfoItem pLineInner,
ScLineFlags rFlags,
SCROW  nStartRow,
SCROW  nEndRow,
bool  bLeft,
SCCOL  nDistRight 
) const

Definition at line 356 of file column.cxx.

References pAttrArray.

void ScColumn::MergePatternArea ( ScMergePatternState rState,
SCROW  nRow1,
SCROW  nRow2,
bool  bDeep 
) const

Definition at line 351 of file column.cxx.

References pAttrArray.

void ScColumn::MergeSelectionPattern ( ScMergePatternState rState,
const ScMarkData rMark,
bool  bDeep 
) const
void ScColumn::MixData ( sc::MixDocContext rCxt,
SCROW  nRow1,
SCROW  nRow2,
ScPasteFunc  nFunction,
bool  bSkipEmpty,
const ScColumn rSrcCol 
)

Definition at line 1880 of file column3.cxx.

References sc::ClipContextBase::getBlockPosition(), maCells, and sc::ParseAll().

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

Definition at line 1463 of file column3.cxx.

References ScMarkData::GetMultiSelData(), and ScMarkData::IsMultiMarked().

void ScColumn::MoveTo ( SCROW  nStartRow,
SCROW  nEndRow,
ScColumn rCol 
)
ScColumn& ScColumn::operator= ( const ScColumn )
privatedelete
bool ScColumn::ParseString ( ScCellValue rCell,
SCROW  nRow,
SCTAB  nTab,
const OUString &  rString,
formula::FormulaGrammar::AddressConvention  eConv,
const ScSetStringParam pParam 
)
private
void ScColumn::PrepareBroadcastersForDestruction ( )

Definition at line 1922 of file column2.cxx.

References sc::element_type_broadcaster, and maBroadcasters.

void ScColumn::PreprocessDBDataUpdate ( sc::EndListeningContext rEndListenCxt,
sc::CompileFormulaContext rCompileCxt 
)

Definition at line 953 of file column4.cxx.

References GetDoc(), GetFormulaGroupEntries(), ocBad, ocColRowName, ocDBArea, and ocTableRef.

void ScColumn::PreprocessRangeNameUpdate ( sc::EndListeningContext rEndListenCxt,
sc::CompileFormulaContext rCompileCxt 
)

Definition at line 939 of file column4.cxx.

References GetDoc(), GetFormulaGroupEntries(), ocBad, ocColRowName, and ocName.

void ScColumn::RegroupFormulaCells ( std::vector< ScAddress > *  pGroupPos = nullptr)

Regroup formula cells for the entire column.

Definition at line 3510 of file column3.cxx.

Referenced by CompileColRowNameFormula(), CompileDBFormula(), CompileXML(), ScDocumentImport::initColumn(), and SwapNonEmpty().

std::unique_ptr< ScPostIt > ScColumn::ReleaseNote ( SCROW  nRow)

Definition at line 616 of file column4.cxx.

References GetDoc(), maCellNotes, p, and ValidRow().

void ScColumn::RemoveCondFormat ( SCROW  nStartRow,
SCROW  nEndRow,
sal_uInt32  nIndex 
)

Definition at line 554 of file column.cxx.

References pAttrArray.

void ScColumn::RemoveEditAttribs ( SCROW  nStartRow,
SCROW  nEndRow 
)

Definition at line 1182 of file column2.cxx.

References GetDoc(), maCells, and sc::ProcessEditText().

Referenced by DeleteBeforeCopyFromClip().

void ScColumn::RemoveEditTextCharAttribs ( SCROW  nRow,
const ScPatternAttr rAttr 
)

Definition at line 2978 of file column3.cxx.

References sc::element_type_edittext, and ScEditUtil::RemoveCharAttribs().

bool ScColumn::RemoveFlags ( SCROW  nStartRow,
SCROW  nEndRow,
ScMF  nFlags 
)

Definition at line 688 of file column.cxx.

References pAttrArray.

void ScColumn::RemoveProtected ( SCROW  nStartRow,
SCROW  nEndRow 
)
bool ScColumn::ReservePatternCount ( SCSIZE  nReserve)

Definition at line 3626 of file column2.cxx.

References pAttrArray.

void ScColumn::ResetChanged ( SCROW  nStartRow,
SCROW  nEndRow 
)

Definition at line 3422 of file column.cxx.

References maCells, and sc::ProcessFormula().

void ScColumn::ResetFormulaCellPositions ( SCROW  nRow1,
SCROW  nRow2,
bool  bUpdateRefs 
)

Reset column position of formula cells within specified row range.

If bUpdateRefs==true then reference positions are also adjusted to reflect the new position so that the formula cells still reference the same cells or ranges after the position change. The position of a formula cell before the call is interpreted as the old position of that cell.

Caller needs to ensure that no formula groups cross the top and bottom row boundaries.

Parameters
nRow1top row boundary
nRow2bottom row boundary
bUpdateRefswhether to adjust references

Definition at line 1157 of file column4.cxx.

References maCells, nCol, and sc::ProcessFormula().

formula::FormulaTokenRef ScColumn::ResolveStaticReference ( SCROW  nRow)
bool ScColumn::ResolveStaticReference ( ScMatrix rMat,
SCCOL  nMatCol,
SCROW  nRow1,
SCROW  nRow2 
)

Definition at line 2245 of file column2.cxx.

References GetDoc(), maCells, and sc::ParseAllNonEmpty().

void ScColumn::RestoreFromCache ( SvStream rStrm)
SCROW ScColumn::SearchStyle ( SCROW  nRow,
const ScStyleSheet pSearchStyle,
bool  bUp,
bool  bInSelection,
const ScMarkData rMark 
) const

May return -1 if not found.

Definition at line 3443 of file column.cxx.

References ScMarkData::GetMarkArray(), ScMarkData::IsMultiMarked(), and pAttrArray.

bool ScColumn::SearchStyleRange ( SCROW rRow,
SCROW rEndRow,
const ScStyleSheet pSearchStyle,
bool  bUp,
bool  bInSelection,
const ScMarkData rMark 
) const

Definition at line 3461 of file column.cxx.

References ScMarkData::GetMarkArray(), ScMarkData::IsMultiMarked(), and pAttrArray.

void ScColumn::SetAllFormulasDirty ( const sc::SetFormulaDirtyContext rCxt)

Definition at line 3241 of file column.cxx.

References GetDoc(), maCells, and sc::ProcessFormula().

void ScColumn::SetCellNote ( SCROW  nRow,
std::unique_ptr< ScPostIt pNote 
)

Definition at line 1962 of file column2.cxx.

References maCellNotes.

void ScColumn::SetDirty ( SCROW  nRow1,
SCROW  nRow2,
BroadcastMode  eMode 
)
void ScColumn::SetDirtyAfterLoad ( )

Definition at line 3348 of file column.cxx.

References GetDoc(), maCells, and sc::ProcessFormula().

void ScColumn::SetDirtyFromClip ( SCROW  nRow1,
SCROW  nRow2,
sc::ColumnSpanSet rBroadcastSpans 
)

Definition at line 3249 of file column.cxx.

References GetDoc(), maCells, and sc::ProcessFormula().

void ScColumn::SetDirtyIfPostponed ( )

Definition at line 3375 of file column.cxx.

References GetDoc(), maCells, and sc::ProcessFormula().

void ScColumn::SetDirtyVar ( )

Definition at line 3213 of file column.cxx.

References maCells, and sc::ProcessFormula().

void ScColumn::SetEditText ( SCROW  nRow,
std::unique_ptr< EditTextObject pEditText 
)

Definition at line 2210 of file column3.cxx.

Referenced by ScCellValue::release(), and ScTable::SetEditText().

void ScColumn::SetEditText ( sc::ColumnBlockPosition rBlockPos,
SCROW  nRow,
std::unique_ptr< EditTextObject pEditText 
)
void ScColumn::SetEditText ( sc::ColumnBlockPosition rBlockPos,
SCROW  nRow,
const EditTextObject rEditText 
)
void ScColumn::SetEditText ( SCROW  nRow,
const EditTextObject rEditText,
const SfxItemPool pEditPool 
)
void ScColumn::SetError ( SCROW  nRow,
const FormulaError  nError 
)

Definition at line 2809 of file column3.cxx.

References ScFormulaCell::SetErrCode(), and ValidRow().

void ScColumn::SetFormula ( SCROW  nRow,
const ScTokenArray rArray,
formula::FormulaGrammar::Grammar  eGram 
)

Definition at line 2272 of file column3.cxx.

References ScFormulaCell::SetNeedNumberFormat(), and SV_COUNTRY_LANGUAGE_OFFSET.

Referenced by ScTable::SetFormula().

void ScColumn::SetFormula ( SCROW  nRow,
const OUString &  rFormula,
formula::FormulaGrammar::Grammar  eGram 
)
ScFormulaCell * ScColumn::SetFormulaCell ( SCROW  nRow,
ScFormulaCell pCell,
sc::StartListeningType  eListenType = sc::SingleCellListening,
bool  bInheritNumFormatIfNeeded = true 
)

Takes ownership of pCell.

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

Definition at line 2308 of file column3.cxx.

References ScFormulaCell::SetNeedNumberFormat(), and SV_COUNTRY_LANGUAGE_OFFSET.

Referenced by CopyCellToDocument(), ScCellValue::release(), and ScTable::SetFormulaCell().

void ScColumn::SetFormulaCell ( sc::ColumnBlockPosition rBlockPos,
SCROW  nRow,
ScFormulaCell pCell,
sc::StartListeningType  eListenType = sc::SingleCellListening,
bool  bInheritNumFormatIfNeeded = true 
)
bool ScColumn::SetFormulaCells ( SCROW  nRow,
std::vector< ScFormulaCell * > &  rCells 
)

Definition at line 2346 of file column3.cxx.

References n, SV_COUNTRY_LANGUAGE_OFFSET, and ValidRow().

Referenced by ScTable::SetFormulaCells().

void ScColumn::SetFormulaResults ( SCROW  nRow,
const double *  pResults,
size_t  nLen 
)
void ScColumn::SetNeedsListeningGroup ( SCROW  nRow)
private
void ScColumn::SetNumberFormat ( SCROW  nRow,
sal_uInt32  nNumberFormat 
)
const ScPatternAttr * ScColumn::SetPattern ( SCROW  nRow,
std::unique_ptr< ScPatternAttr pPatAttr 
)

Definition at line 698 of file column.cxx.

References pAttrArray.

Referenced by Swap().

void ScColumn::SetPattern ( SCROW  nRow,
const ScPatternAttr rPatAttr 
)

Definition at line 703 of file column.cxx.

References pAttrArray.

void ScColumn::SetPatternArea ( SCROW  nStartRow,
SCROW  nEndRow,
const ScPatternAttr rPatAttr 
)

Definition at line 708 of file column.cxx.

References pAttrArray.

void ScColumn::SetRawString ( SCROW  nRow,
const OUString &  rStr 
)

Definition at line 2827 of file column3.cxx.

References svl::SharedString::getData(), and ValidRow().

Referenced by ScCellValue::release(), and ScTable::SetRawString().

void ScColumn::SetRawString ( SCROW  nRow,
const svl::SharedString rStr 
)

Definition at line 2839 of file column3.cxx.

References ValidRow().

void ScColumn::SetRawString ( sc::ColumnBlockPosition rBlockPos,
SCROW  nRow,
const svl::SharedString rStr,
bool  bBroadcast = true 
)
void ScColumn::SetScriptType ( SCROW  nRow,
SvtScriptType  nType 
)
bool ScColumn::SetString ( SCROW  nRow,
SCTAB  nTab,
const OUString &  rString,
formula::FormulaGrammar::AddressConvention  eConv,
const ScSetStringParam pParam = nullptr 
)

Returns true if the cell format was set as well.

Definition at line 2190 of file column3.cxx.

References ScSetStringParam::meStartListening, ScCellValue::release(), and ValidRow().

Referenced by ScTable::SetString().

void ScColumn::SetTableOpDirty ( const ScRange rRange)
void ScColumn::SetTabNo ( SCTAB  nNewTab)

Definition at line 3198 of file column.cxx.

References maCells, pAttrArray, and sc::ProcessFormula().

void ScColumn::SetTextWidth ( SCROW  nRow,
sal_uInt16  nWidth 
)
void ScColumn::SetValue ( SCROW  nRow,
double  fVal 
)

Definition at line 2876 of file column3.cxx.

References ValidRow().

Referenced by ScCellValue::release(), and ScTable::SetValue().

void ScColumn::SetValue ( sc::ColumnBlockPosition rBlockPos,
SCROW  nRow,
double  fVal,
bool  bBroadcast = true 
)
void ScColumn::SetValues ( const SCROW  nRow,
const std::vector< double > &  rVals 
)
void ScColumn::SplitFormulaGroupByRelativeRef ( const ScRange rBoundRange)
void ScColumn::StartListeners ( sc::StartListeningContext rCxt,
bool  bAll 
)

Definition at line 1940 of file column3.cxx.

void ScColumn::StartListening ( SvtListener rLst,
SCROW  nRow 
)

Definition at line 3280 of file column2.cxx.

References maBroadcasters.

void ScColumn::StartListening ( sc::StartListeningContext rCxt,
const ScAddress rAddress,
SvtListener rListener 
)
void ScColumn::StartListeningFormulaCells ( sc::StartListeningContext rStartCxt,
sc::EndListeningContext rEndCxt,
SCROW  nRow1,
SCROW  nRow2 
)
void ScColumn::StartListeningUnshared ( const std::vector< SCROW > &  rNewSharedRows)

Re-establish listeners on unshared formula groups.

Definition at line 343 of file column3.cxx.

References assert().

Referenced by SetValues().

void ScColumn::StoreToCache ( SvStream rStrm) const

Definition at line 1971 of file column4.cxx.

References GetLastDataPos(), maCells, nCol, sc::ParseBlock(), and SvStream::WriteUInt64().

void ScColumn::Swap ( ScColumn rOther,
SCROW  nRow1,
SCROW  nRow2,
bool  bPattern 
)
void ScColumn::SwapCol ( ScColumn rCol)
void ScColumn::SwapNonEmpty ( sc::TableValues rValues,
sc::StartListeningContext rStartCxt,
sc::EndListeningContext rEndCxt 
)
bool ScColumn::TestCopyScenarioTo ( const ScColumn rDestCol) const
bool ScColumn::TestInsertCol ( SCROW  nStartRow,
SCROW  nEndRow 
) const

Definition at line 814 of file column.cxx.

References sc::element_type_empty, IsEmptyAttr(), IsEmptyData(), maCells, and pAttrArray.

bool ScColumn::TestInsertRow ( SCROW  nStartRow,
SCSIZE  nSize 
) const
bool ScColumn::TestTabRefAbs ( SCTAB  nTable) const

Definition at line 1189 of file column2.cxx.

References maCells, and sc::ParseFormula().

void ScColumn::TransferCellValuesTo ( SCROW  nRow,
size_t  nLen,
sc::CellValues rDest 
)
bool ScColumn::TrimEmptyBlocks ( SCROW rRowStart,
SCROW rRowEnd 
) const

Definition at line 1462 of file column2.cxx.

References assert(), sc::element_type_empty, and maCells.

void ScColumn::UndoToColumn ( sc::CopyToDocContext rCxt,
SCROW  nRow1,
SCROW  nRow2,
InsertDeleteFlags  nFlags,
bool  bMarked,
ScColumn rColumn 
) const

Definition at line 1759 of file column.cxx.

References CopyToColumn(), and GetDoc().

void ScColumn::UpdateCompile ( bool  bForceIfNameInUse = false)

Definition at line 3192 of file column.cxx.

References maCells, and sc::ProcessFormula().

Referenced by CopyScenarioFrom(), and CopyScenarioTo().

void ScColumn::UpdateDeleteTab ( sc::RefUpdateDeleteTabContext rCxt)
void ScColumn::UpdateDrawObjects ( std::vector< std::vector< SdrObject * >> &  pObjects,
SCROW  nRowStart,
SCROW  nRowEnd 
)

Definition at line 1926 of file column.cxx.

References assert(), and UpdateDrawObjectsForRow().

void ScColumn::UpdateDrawObjectsForRow ( std::vector< SdrObject * > &  pObjects,
SCCOL  nTargetCol,
SCROW  nTargetRow 
)

Definition at line 1940 of file column.cxx.

References GetDoc(), ScDocument::GetDrawLayer(), ScDrawLayer::MoveObject(), nTab, and pObject.

Referenced by Swap(), and UpdateDrawObjects().

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

Definition at line 3134 of file column.cxx.

References maCells, and sc::ProcessFormula().

void ScColumn::UpdateInsertTab ( sc::RefUpdateInsertTabContext rCxt)
void ScColumn::UpdateInsertTabAbs ( SCTAB  nNewPos)
void ScColumn::UpdateInsertTabOnlyCells ( sc::RefUpdateInsertTabContext rCxt)

Definition at line 3151 of file column.cxx.

References CellStorageModified(), maCells, maCellTextAttrs, and sc::ProcessFormulaEditText().

Referenced by UpdateInsertTab().

void ScColumn::UpdateMoveTab ( sc::RefUpdateMoveTabContext rCxt,
SCTAB  nTabNo 
)
void ScColumn::UpdateNoteCaptions ( SCROW  nRow1,
SCROW  nRow2 
)

Definition at line 1920 of file column.cxx.

References maCellNotes, nTab, and sc::ProcessNote().

Referenced by MoveTo(), and SwapCol().

bool ScColumn::UpdateReference ( sc::RefUpdateContext rCxt,
ScDocument pUndoDoc 
)
bool ScColumn::UpdateReferenceOnCopy ( sc::RefUpdateContext rCxt,
ScDocument pUndoDoc = nullptr 
)
bool ScColumn::UpdateScriptType ( sc::CellTextAttr rAttr,
SCROW  nRow,
sc::CellStoreType::iterator &  itr 
)
private
void ScColumn::UpdateScriptTypes ( SCROW  nRow1,
SCROW  nRow2 
)
void ScColumn::UpdateSelectionFunction ( const ScRangeList rRanges,
ScFunctionData rData,
const ScFlatBoolRowSegments rHiddenRows 
)
void ScColumn::UpdateTranspose ( const ScRange rSource,
const ScAddress rDest,
ScDocument pUndoDoc 
)

Definition at line 3127 of file column.cxx.

References maCells, and sc::ProcessFormula().

SCSIZE ScColumn::VisibleCount ( SCROW  nStartRow,
SCROW  nEndRow 
) const

Definition at line 1223 of file column2.cxx.

References maCells, and sc::ParseBlock().

Friends And Related Function Documentation

friend class sc::CellStoreEvent
friend

Definition at line 157 of file column.hxx.

friend class sc::CellValues
friend

Definition at line 155 of file column.hxx.

friend class sc::ColumnSpanSet
friend

Definition at line 153 of file column.hxx.

friend class sc::DocumentStreamAccess
friend

Definition at line 151 of file column.hxx.

friend class sc::EditTextIterator
friend

Definition at line 154 of file column.hxx.

friend class sc::SingleColumnSpanSet
friend

Definition at line 152 of file column.hxx.

friend class sc::TableValues
friend

Definition at line 156 of file column.hxx.

friend class ScCellIterator
friend

Definition at line 146 of file column.hxx.

friend class ScColumnTextWidthIterator
friend

Definition at line 149 of file column.hxx.

friend class ScCountIfCellIterator
friend

Definition at line 144 of file column.hxx.

friend class ScDBQueryDataIterator
friend

Definition at line 142 of file column.hxx.

friend class ScDocument
friend

Definition at line 138 of file column.hxx.

friend class ScDocumentImport
friend

Definition at line 150 of file column.hxx.

friend class ScFormulaGroupIterator
friend

Definition at line 145 of file column.hxx.

friend class ScHorizontalAttrIterator
friend

Definition at line 148 of file column.hxx.

friend class ScHorizontalCellIterator
friend

Definition at line 147 of file column.hxx.

friend class ScHorizontalValueIterator
friend

Definition at line 141 of file column.hxx.

friend class ScQueryCellIterator
friend

Definition at line 143 of file column.hxx.

friend class ScTable
friend

Definition at line 139 of file column.hxx.

friend class ScValueIterator
friend

Definition at line 140 of file column.hxx.

Member Data Documentation

sc::BroadcasterStoreType ScColumn::maBroadcasters
private
sc::CellNoteStoreType ScColumn::maCellNotes
private
sc::CellStoreType ScColumn::maCells
private

Definition at line 129 of file column.hxx.

Referenced by AssertNoInterpretNeeded(), ScQueryCellIterator::BinarySearch(), ScDocumentImport::broadcastRecalcAfterImportColumn(), BroadcastRecalcOnRefMove(), CalcAfterLoad(), CalcAll(), CalculateInThread(), CellStorageModified(), CheckVectorizationState(), CloneFormulaCell(), CollectFormulaCells(), CompileAll(), CompileColRowNameFormula(), CompileDBFormula(), CompileErrorCells(), CompileXML(), ConvertFormulaToValue(), sc::CellValues::copyCellsTo(), CopyCellToDocument(), ScTable::CopyCellToDocument(), CopyCellValuesFrom(), CopyFromClip(), CopyOneCellFromClip(), CopyStaticToDocument(), ScTable::CopyStaticToDocument(), CopyToClip(), CopyToColumn(), CopyUpdated(), EndListeningFormulaCells(), EndListeningGroup(), EndListeningIntersectedGroup(), EndListeningIntersectedGroups(), EnsureFormulaCellResults(), FetchVectorRefArray(), ScDocument::FillInfo(), FillMatrix(), FindDataAreaPos(), FindNextVisibleRowWithContent(), FindRangeNamesInUse(), FindUsed(), ScCellIterator::first(), GetBlockMatrixEdges(), GetCellStore(), GetCellValue(), GetCodeCount(), GetColumnIterator(), ScCountIfCellIterator::GetCount(), ScCellIterator::getCurrent(), GetEmptyLinesInBlock(), GetFirstDataPos(), GetFormulaCellBlockAddress(), GetFormulaGroupEntries(), GetLastDataPos(), GetNeededSize(), GetNextSpellingCell(), GetOptimalColWidth(), GetOptimalHeight(), GetPrevDataPos(), ScValueIterator::GetThis(), GetWeightedCount(), HandleRefArrayForParallelism(), HandleStuffAfterParallelCalculation(), HasDataAt(), HasDataCellsInRange(), HasEditCells(), HasFormulaCell(), HasSelectionMatrixFragment(), HasVisibleDataAt(), ScDocumentImport::initColumn(), ScQueryCellIterator::InitPos(), ScCountIfCellIterator::InitPos(), InsertRow(), IsEmptyBlock(), IsEmptyData(), IsFormulaDirty(), MixData(), MoveTo(), RemoveEditAttribs(), ResetChanged(), ResetFormulaCellPositions(), ResolveStaticReference(), RestoreFromCache(), sc::SingleColumnSpanSet::scan(), ScColumn(), SetAllFormulasDirty(), SetDirty(), SetDirtyAfterLoad(), SetDirtyFromClip(), SetDirtyIfPostponed(), SetDirtyVar(), SetFormulaResults(), SetNeedsListeningGroup(), ScCellIterator::setPos(), ScHorizontalCellIterator::SetTab(), SetTableOpDirty(), SetTabNo(), SetValues(), SplitFormulaGroupByRelativeRef(), StartListeningFormulaCells(), StoreToCache(), Swap(), SwapCol(), sc::CellValues::swapNonEmpty(), SwapNonEmpty(), TestInsertCol(), TestInsertRow(), TestTabRefAbs(), TransferCellValuesTo(), sc::CellValues::transferFrom(), TrimEmptyBlocks(), UpdateCompile(), UpdateDeleteTab(), UpdateGrow(), UpdateInsertTabAbs(), UpdateInsertTabOnlyCells(), UpdateMoveTab(), UpdateReference(), UpdateReferenceOnCopy(), UpdateScriptTypes(), UpdateSelectionFunction(), UpdateTranspose(), and VisibleCount().

sc::CellStoreEvent ScColumn::maCellsEvent
private

Definition at line 126 of file column.hxx.

sc::CellTextAttrStoreType ScColumn::maCellTextAttrs
private
size_t ScColumn::mnBlkCountFormula
private
SCCOL ScColumn::nCol
private
SCTAB ScColumn::nTab
private
std::unique_ptr<ScAttrArray> ScColumn::pAttrArray
private

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