LibreOffice Module sc (master)
1
|
#include <column.hxx>
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) |
ScDocument & | GetDoc () const |
SCTAB | GetTab () const |
SCCOL | GetCol () const |
sc::CellStoreType & | GetCellStore () |
const sc::CellStoreType & | GetCellStore () const |
sc::CellTextAttrStoreType & | GetCellAttrStore () |
const sc::CellTextAttrStoreType & | GetCellAttrStore () const |
sc::CellNoteStoreType & | GetCellNoteStore () |
const sc::CellNoteStoreType & | GetCellNoteStore () const |
ScRefCellValue | GetCellValue (SCROW nRow) const |
ScRefCellValue | GetCellValue (sc::ColumnBlockPosition &rBlockPos, SCROW nRow) |
ScRefCellValue | GetCellValue (sc::ColumnBlockConstPosition &rBlockPos, SCROW nRow) const |
const sc::CellTextAttr * | GetCellTextAttr (SCROW nRow) const |
const sc::CellTextAttr * | GetCellTextAttr (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, tools::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< ScAttrIterator > | CreateAttrIterator (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) |
ScFormulaCell * | SetFormulaCell (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 EditTextObject * | GetEditText (SCROW nRow) const |
void | RemoveEditTextCharAttribs (SCROW nRow, const ScPatternAttr &rAttr) |
void | GetFormula (SCROW nRow, OUString &rFormula) const |
const ScFormulaCell * | GetFormulaCell (SCROW nRow) const |
ScFormulaCell * | GetFormulaCell (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 SfxPoolItem & | GetAttr (SCROW nRow, sal_uInt16 nWhich) const |
template<class T > | |
const T & | GetAttr (SCROW nRow, TypedWhichId< T > nWhich) const |
const ScPatternAttr * | GetPattern (SCROW nRow) const |
const ScPatternAttr * | GetMostUsedPattern (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 ScPatternAttr * | SetPattern (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 ScStyleSheet * | GetStyle (SCROW nRow) const |
const ScStyleSheet * | GetSelectionStyle (const ScMarkData &rMark, bool &rFound) const |
const ScStyleSheet * | GetAreaStyle (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) |
tools::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) |
SvtBroadcaster * | GetBroadcaster (SCROW nRow) |
const SvtBroadcaster * | GetBroadcaster (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) |
ScPostIt * | GetCellNote (SCROW nRow) |
const ScPostIt * | GetCellNote (SCROW nRow) const |
ScPostIt * | GetCellNote (sc::ColumnBlockConstPosition &rBlockPos, SCROW nRow) |
const ScPostIt * | GetCellNote (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< ScPostIt > | ReleaseNote (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::ColumnIterator > | GetColumnIterator (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 | |
ScColumn & | operator= (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 ScFormulaCell * | FetchFormulaCell (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::FormulaGroupEntry > | GetFormulaGroupEntries () |
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< ScAttrArray > | pAttrArray |
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 |
Definition at line 111 of file column.hxx.
Broadcast mode for SetDirty(SCROW,SCROW,BroadcastMode).
Definition at line 170 of file column.hxx.
|
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().
Definition at line 549 of file column.cxx.
References pAttrArray.
Referenced by ScTable::AddCondFormatData().
void ScColumn::ApplyAttr | ( | SCROW | nRow, |
const SfxPoolItem & | rAttr | ||
) |
Definition at line 714 of file column.cxx.
References GetDoc(), ScDocument::GetPool(), pAttrArray, SfxItemPool::Put(), and SfxItemPool::Remove().
Referenced by ScTable::ApplyAttr(), and SetNumberFormat().
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.
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 | ||
) |
Definition at line 523 of file column.cxx.
References ScRange::aEnd, ScRange::aStart, GetDoc(), ScDocument::GetFormatTable(), SfxSetItem::GetItemSet(), ScPatternAttr::GetNumberFormat(), SvNumberFormatter::GetType(), SvNumberFormatter::IsCompatible(), pAttrArray, and ScAddress::Row().
SCROW ScColumn::ApplySelectionCache | ( | SfxItemPoolCache * | pCache, |
const ScMarkData & | rMark, | ||
ScEditDataArray * | pDataArray, | ||
bool *const | pIsChanged | ||
) |
Definition at line 425 of file column.cxx.
References GetDoc(), ScMarkData::GetMultiSelData(), ScMarkData::IsMultiMarked(), nCol, and pAttrArray.
void ScColumn::ApplySelectionLineStyle | ( | const ScMarkData & | rMark, |
const ::editeng::SvxBorderLine * | pLine, | ||
bool | bColorOnly | ||
) |
Definition at line 585 of file column.cxx.
References ScMarkData::GetMultiSelData(), ScMarkData::IsMultiMarked(), nCol, and pAttrArray.
void ScColumn::ApplySelectionStyle | ( | const ScStyleSheet & | rStyle, |
const ScMarkData & | rMark | ||
) |
Definition at line 572 of file column.cxx.
References ScMarkData::GetMultiSelData(), ScMarkData::IsMultiMarked(), nCol, and pAttrArray.
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.
Definition at line 2937 of file column2.cxx.
References assert(), assertNoInterpretNeededHelper(), maCells, and sc::ParseBlock().
void ScColumn::AttachFormulaCells | ( | sc::StartListeningContext & | rCxt, |
SCROW | nRow1, | ||
SCROW | nRow2 | ||
) |
Definition at line 466 of file column3.cxx.
References sc::SharedFormulaUtil::joinFormulaCellAbove(), sc::ProcessFormula(), and ValidRow().
|
private |
Definition at line 601 of file column3.cxx.
|
private |
Definition at line 609 of file column3.cxx.
References assert(), sc::ConvertToGroupListening, ScDocument::IsCalcingAfterLoad(), ScDocument::IsClipOrUndo(), ScDocument::IsInsertingFromOtherDoc(), sc::NoListening, ScFormulaCell::SetDirty(), sc::SingleCellListening, and ScFormulaCell::StartListeningTo().
|
private |
Definition at line 676 of file column3.cxx.
References ScFormulaCell::aPos, assert(), sc::element_type_formula, ScFormulaCell::GetSharedLength(), ScFormulaCell::GetSharedTopRow(), ScDocument::IsCalcingAfterLoad(), ScDocument::IsClipOrUndo(), ScDocument::IsInsertingFromOtherDoc(), ScFormulaCell::IsShared(), ScAddress::Row(), and ScFormulaCell::StartListeningTo().
Definition at line 66 of file column3.cxx.
Referenced by ScTable::InvalidateTextWidth().
Broadcast single broadcasters in range, without explicitly setting anything dirty, not doing area broadcasts.
rHint | address 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().
Definition at line 72 of file column3.cxx.
References ScDocument::Broadcast(), ScHint::GetAddress(), and ScAddress::SetRow().
Referenced by BroadcastRecalcOnRefMove(), CopyCellValuesFrom(), SetValues(), and TransferCellValuesTo().
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().
Definition at line 87 of file column3.cxx.
References sc::SingleColumnSpanSet::getRows(), and sc::SingleColumnSpanSet::scan().
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 | ||
) |
Definition at line 2977 of file column2.cxx.
References assert(), sc::element_type_formula, GetDoc(), i, ScFormulaCell::InterpretTail(), maCells, ScFormulaCell::NeedsInterpret(), and ScFormulaCell::SCITP_NORMAL.
Definition at line 1994 of file column2.cxx.
References GetDoc(), maCellNotes, nCol, nTab, and sc::ParseNote().
Referenced by DeleteCellNotes().
|
private |
Called whenever the state of cell array gets modified i.e.
new cell insertion, cell removal or relocation, cell value update and so on.
Call this only from those methods where maCells is modified directly.
Definition at line 1595 of file column2.cxx.
References ScDocument::DiscardFormulaGroupContext(), sc::element_type_empty, endl(), GetDoc(), maBroadcasters, maCells, and maCellTextAttrs.
Referenced by CloneFormulaCell(), CopyCellToDocument(), ScTable::CopyCellToDocument(), CopyCellValuesFrom(), CopyOneCellFromClip(), CopyStaticToDocument(), ScTable::CopyStaticToDocument(), CopyToClip(), CopyToColumn(), CopyUpdated(), GetRangeScriptType(), ScDocumentImport::initColumn(), InsertRow(), MoveTo(), SetScriptType(), SetTextWidth(), SetValues(), Swap(), SwapCol(), SwapNonEmpty(), TransferCellValuesTo(), UpdateDeleteTab(), UpdateInsertTabAbs(), UpdateInsertTabOnlyCells(), UpdateMoveTab(), and UpdateScriptTypes().
void ScColumn::ChangeSelectionIndent | ( | bool | bIncrement, |
const ScMarkData & | rMark | ||
) |
Definition at line 449 of file column.cxx.
References ScMarkData::GetMultiSelData(), ScMarkData::IsMultiMarked(), nCol, and pAttrArray.
void ScColumn::CheckVectorizationState | ( | ) |
Definition at line 3234 of file column.cxx.
References GetDoc(), maCells, and sc::ProcessFormula().
Definition at line 693 of file column.cxx.
References pAttrArray.
void ScColumn::ClearSelectionItems | ( | const sal_uInt16 * | pWhich, |
const ScMarkData & | rMark | ||
) |
Definition at line 462 of file column.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), ScMarkData::GetMarkArea(), ScMarkData::GetMultiSelData(), ScMarkData::IsMarked(), ScMarkData::IsMultiMarked(), nCol, pAttrArray, and ScAddress::Row().
void ScColumn::CloneFormulaCell | ( | const ScFormulaCell & | rSrc, |
const sc::CellTextAttr & | rAttr, | ||
const std::vector< sc::RowSpan > & | rRanges | ||
) |
Definition at line 540 of file column4.cxx.
References assert(), CellStorageModified(), sc::element_type_formula, Formula, ScFormulaCell::GetCode(), GetDoc(), ScDocument::GetGrammar(), ScFormulaCell::GetMatColsRows(), ScFormulaCell::GetMatrixFlag(), i, ScAddress::IncRow(), JoinNewFormulaCell(), maCells, maCellTextAttrs, nCol, nTab, SAL_WARN_IF, and ScFormulaCell::SetMatColsRows().
Referenced by CopyOneCellFromClip().
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 3370 of file column2.cxx.
References maCells, sc::ProcessFormula(), and RegroupFormulaCells().
void ScColumn::CompileDBFormula | ( | sc::CompileFormulaContext & | rCxt | ) |
Definition at line 3363 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 | ||
) |
Definition at line 432 of file column4.cxx.
References DetachFormulaCells(), GetDoc(), maCells, nCol, nTab, sc::ParseFormula(), sc::SharedFormulaUtil::splitFormulaCellGroups(), sc::TableValues::swap(), sc::CellValues::swapNonEmpty(), and ValidRow().
Referenced by ScTable::ConvertFormulaToValue().
void ScColumn::CopyCellNotesToDocument | ( | SCROW | nRow1, |
SCROW | nRow2, | ||
ScColumn & | rDestCol, | ||
bool | bCloneCaption = true , |
||
SCROW | nRowOffsetDest = 0 |
||
) | const |
Definition at line 1876 of file column2.cxx.
References GetDoc(), ScDocument::GetDrawLayer(), SdrModel::isLocked(), IsNotesEmptyBlock(), maCellNotes, sc::ParseNote(), and SdrModel::setLock().
Referenced by CopyStaticToDocument(), and DuplicateNotes().
|
private |
Definition at line 1780 of file column2.cxx.
References maCellTextAttrs.
Referenced by CopyStaticToDocument().
Definition at line 1186 of file column.cxx.
References ScFormulaCell::aPos, CellStorageModified(), EditTextObject::Clone(), ScEditUtil::Clone(), ScPostIt::Clone(), sc::element_type_edittext, sc::element_type_empty, sc::element_type_formula, sc::element_type_numeric, sc::element_type_string, ScDocument::GetAutoCalc(), ScFormulaCell::GetDirty(), GetDoc(), ScFormulaCell::Interpret(), maCellNotes, maCells, maCellTextAttrs, nCol, nTab, p, SetFormulaCell(), ScAddress::SetRow(), and ScPostIt::UpdateCaptionPos().
Referenced by ScTable::CopyCellToDocument().
void ScColumn::CopyCellValuesFrom | ( | SCROW | nRow, |
const sc::CellValues & | rSrc | ||
) |
Definition at line 366 of file column4.cxx.
References BroadcastCells(), CellStorageModified(), sc::CellValues::copyTo(), DetachFormulaCells(), GetDoc(), i, maCells, sc::CellValues::size(), and ValidRow().
Referenced by ScTable::CopyCellValuesFrom().
void ScColumn::CopyFromClip | ( | sc::CopyFromClipContext & | rCxt, |
SCROW | nRow1, | ||
SCROW | nRow2, | ||
tools::Long | nDy, | ||
ScColumn & | rColumn | ||
) |
Definition at line 1390 of file column3.cxx.
References aArr, ScTokenArray::AddSingleReference(), ALL, ATTRIB, CONTENTS, GetDoc(), sc::CopyFromClipContext::getInsertFlag(), ScDocument::GetPool(), ScDocument::GetSharedStringPool(), sc::SingleColumnSpanSet::getSpans(), ScSingleRefData::InitFlags(), sc::CopyFromClipContext::isAsLink(), sc::CopyFromClipContext::isSkipAttrForEmptyCells(), maCells, maCellTextAttrs, nCol, NONE, nTab, sc::ParseBlock(), pAttrArray, sc::SingleColumnSpanSet::scan(), ScSingleRefData::SetAbsCol(), ScSingleRefData::SetAbsRow(), ScSingleRefData::SetAbsTab(), ScSingleRefData::SetFlag3D(), and ScAddress::SetRow().
void ScColumn::CopyOneCellFromClip | ( | sc::CopyFromClipContext & | rCxt, |
SCROW | nRow1, | ||
SCROW | nRow2, | ||
size_t | nColOffset | ||
) |
Definition at line 195 of file column4.cxx.
References ADDNOTES, assert(), ScRange::aStart, aStr, ATTR_CONDITIONAL(), ATTRIB, CellStorageModified(), CELLTYPE_EDIT, CELLTYPE_FORMULA, CELLTYPE_NONE, CELLTYPE_STRING, CELLTYPE_VALUE, EditTextObject::Clone(), ScPostIt::Clone(), CloneFormulaCell(), CONTENTS, sc::ClipContextBase::getBlockPosition(), sc::CopyFromClipContext::getClipDoc(), ScDocument::GetClipParam(), GetDoc(), sc::CopyFromClipContext::getInsertFlag(), ScDocument::GetPool(), ScDocument::GetSharedStringPool(), sc::CopyFromClipContext::getSingleCell(), sc::CopyFromClipContext::getSingleCellAttr(), sc::CopyFromClipContext::getSingleCellNote(), sc::CopyFromClipContext::getSingleCellPattern(), svl::SharedString::getString(), ScClipParam::getWholeRange(), i, ScAddress::IncRow(), svl::SharedStringPool::intern(), sc::CopyFromClipContext::isSkipAttrForEmptyCells(), maCellNotes, maCells, maCellTextAttrs, ScCellValue::meType, ScCellValue::mfValue, sc::ColumnBlockPosition::miCellNotePos, sc::ColumnBlockPosition::miCellPos, sc::ColumnBlockPosition::miCellTextAttrPos, ScCellValue::mpEditText, ScCellValue::mpFormula, ScCellValue::mpString, nCol, NOCAPTIONS, NONE, NOTE, nTab, pAttrArray, and ScPatternAttr::PutInPool().
Referenced by ScTable::CopyOneCellFromClip().
Definition at line 1794 of file column.cxx.
References ATTR_MERGE_FLAG(), CONTENTS, CopyToColumn(), DeleteArea(), ScDocument::GetDefPattern(), GetDoc(), ScPatternAttr::GetItem(), sc::RefUpdateContext::maRange, ScDocument::MaxRow(), sc::RefUpdateContext::meMode, sc::RefUpdateContext::mnTabDelta, nCol, nTab, pAttrArray, UpdateCompile(), UpdateReferenceOnCopy(), and URM_COPY.
Definition at line 1823 of file column.cxx.
References ATTR_MERGE_FLAG(), CONTENTS, CopyToColumn(), DeleteArea(), ScDocument::GetDefPattern(), GetDoc(), ScPatternAttr::GetItem(), sc::RefUpdateContext::maRange, ScDocument::MaxRow(), sc::RefUpdateContext::meMode, sc::RefUpdateContext::mnTabDelta, nCol, nTab, pAttrArray, UpdateCompile(), UpdateReferenceOnCopy(), and URM_COPY.
void ScColumn::CopyStaticToDocument | ( | SCROW | nRow1, |
SCROW | nRow2, | ||
const SvNumberFormatterMergeMap & | rMap, | ||
ScColumn & | rDestCol | ||
) |
Definition at line 1061 of file column.cxx.
References CellStorageModified(), CopyCellNotesToDocument(), CopyCellTextAttrsToDocument(), sc::element_type_edittext, sc::element_type_formula, sc::element_type_numeric, sc::element_type_string, ScDocument::GetAutoCalc(), ScFormulaCell::GetDirty(), GetDoc(), ScFormulaCell::GetErrCode(), ScDocument::GetNonThreadedContext(), GetNumberFormat(), ScDocument::GetSharedStringPool(), ScEditUtil::GetString(), ScFormulaCell::GetString(), ScFormulaCell::GetValue(), i, svl::SharedStringPool::intern(), ScFormulaCell::Interpret(), svl::SharedString::isValid(), ScFormulaCell::IsValue(), maCells, o3tl::make_unsigned(), sc::ColumnBlockPosition::miCellPos, and SetNumberFormat().
Referenced by ScTable::CopyStaticToDocument().
void ScColumn::CopyToClip | ( | sc::CopyToClipContext & | rCxt, |
SCROW | nRow1, | ||
SCROW | nRow2, | ||
ScColumn & | rColumn | ||
) | const |
Definition at line 1042 of file column.cxx.
References All, CellStorageModified(), sc::ClipContextBase::getBlockPosition(), GetDoc(), sc::CopyToClipContext::isKeepScenarioFlags(), maCells, maCellTextAttrs, nCol, nTab, sc::ParseBlock(), pAttrArray, and Scenario.
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 |
Definition at line 1689 of file column.cxx.
References ATTRIB, CellStorageModified(), CONTENTS, sc::ClipContextBase::getBlockPosition(), GetDoc(), ScMarkData::GetMultiSelData(), ScDocument::GetPool(), ScDocument::GetSharedStringPool(), ScMarkData::IsMultiMarked(), sc::CopyToDocContext::isStartListening(), maCells, nCol, NONE, nTab, sc::ParseBlock(), pAttrArray, and STYLES.
Referenced by CopyScenarioFrom(), CopyScenarioTo(), and UndoToColumn().
Definition at line 1772 of file column.cxx.
References CellStorageModified(), GetDoc(), sc::SingleColumnSpanSet::getSpans(), maCells, sc::ParseBlock(), and sc::SingleColumnSpanSet::scan().
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.
Definition at line 140 of file column3.cxx.
void ScColumn::DeleteArea | ( | SCROW | nStartRow, |
SCROW | nEndRow, | ||
InsertDeleteFlags | nDelFlag, | ||
bool | bBroadcast = true , |
||
sc::ColumnSpanSet * | pBroadcastSpans = nullptr |
||
) |
Definition at line 988 of file column3.cxx.
References ATTRIB, CONTENTS, EDITATTR, FORGETCAPTIONS, sc::SingleColumnSpanSet::getRows(), sc::SingleColumnSpanSet::getSpans(), HARDATTR, sc::RowSpan::mnRow1, sc::RowSpan::mnRow2, NOCAPTIONS, NONE, NOTE, and sc::ColumnSpanSet::set().
Referenced by CopyScenarioFrom(), CopyScenarioTo(), DeleteRanges(), and DeleteSelection().
void ScColumn::DeleteBeforeCopyFromClip | ( | sc::CopyFromClipContext & | rCxt, |
const ScColumn & | rClipCol, | ||
sc::ColumnSpanSet & | rBroadcastSpans | ||
) |
Definition at line 95 of file column4.cxx.
References ScRange::aEnd, ApplyPatternArea(), ScRange::aStart, ATTRIB, CONTENTS, ScConditionalFormatList::DeleteArea(), DeleteCellNotes(), DeleteCells(), EDITATTR, sc::CopyFromClipContext::getClipDoc(), ScDocument::GetClipParam(), sc::CopyFromClipContext::getCondFormatList(), sc::CopyFromClipContext::getDeleteFlag(), sc::CopyFromClipContext::getDestRange(), GetDoc(), SfxSetItem::GetItemSet(), ScDocument::GetPool(), sc::SingleColumnSpanSet::getSpans(), ScClipParam::getWholeRange(), HARDATTR, InitBlockPosition(), sc::CopyFromClipContext::isTableProtected(), sc::CopyFromClipContext::Range::mnRow1, sc::CopyFromClipContext::Range::mnRow2, nCol, NOTE, nTab, pAttrArray, SfxItemSet::Put(), RemoveEditAttribs(), ScAddress::Row(), sc::SingleColumnSpanSet::scan(), sc::ColumnSpanSet::set(), and ScDocument::ValidRow().
void ScColumn::DeleteBroadcasters | ( | sc::ColumnBlockPosition & | rBlockPos, |
SCROW | nRow1, | ||
SCROW | nRow2 | ||
) |
Definition at line 1915 of file column2.cxx.
References maBroadcasters, and sc::ColumnBlockPosition::miBroadcasterPos.
void ScColumn::DeleteCellNotes | ( | sc::ColumnBlockPosition & | rBlockPos, |
SCROW | nRow1, | ||
SCROW | nRow2, | ||
bool | bForgetCaptionOwnership | ||
) |
Definition at line 2001 of file column2.cxx.
References CellNotesDeleting(), maCellNotes, and sc::ColumnBlockPosition::miCellNotePos.
Referenced by DeleteBeforeCopyFromClip().
|
private |
Definition at line 967 of file column3.cxx.
References sc::ColumnBlockPosition::miCellPos, and sc::ProcessBlock().
Referenced by DeleteBeforeCopyFromClip().
Definition at line 118 of file column3.cxx.
References sc::element_type_formula, ScFormulaCell::EndListeningTo(), p, and sc::SharedFormulaUtil::unshareFormulaCell().
Referenced by ScCellValue::release().
void ScColumn::DeleteRanges | ( | const std::vector< sc::RowSpan > & | rRanges, |
InsertDeleteFlags | nDelFlag | ||
) |
Definition at line 534 of file column4.cxx.
References DeleteArea().
nStartRow | top row position |
nSize | size of the segment to delete. |
pGroupPos | when 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 | ||
) |
Definition at line 487 of file column.cxx.
References DeleteArea(), ScMarkData::GetMultiSelData(), ScMarkData::IsMultiMarked(), and nCol.
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).
rNewSharedRows | collects 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 | ||
) |
Definition at line 401 of file column3.cxx.
References ScFormulaCell::GetSharedLength(), sc::SharedFormulaUtil::getSharedTopFormulaCell(), ScFormulaCell::GetSharedTopRow(), sc::ProcessFormula(), sc::SharedFormulaUtil::splitFormulaCellGroup(), and ValidRow().
Referenced by ConvertFormulaToValue(), CopyCellValuesFrom(), SetValues(), and TransferCellValuesTo().
void ScColumn::DetachFormulaCells | ( | sc::EndListeningContext & | rCxt, |
SCROW | nRow1, | ||
SCROW | nRow2, | ||
std::vector< SCROW > * | pNewSharedRows | ||
) |
Definition at line 485 of file column3.cxx.
References ScFormulaCell::GetSharedLength(), sc::SharedFormulaUtil::getSharedTopFormulaCell(), ScFormulaCell::GetSharedTopRow(), sc::ProcessFormula(), sc::SharedFormulaUtil::splitFormulaCellGroup(), and ValidRow().
void ScColumn::DumpColumnStorage | ( | ) | const |
void ScColumn::DuplicateNotes | ( | SCROW | nStartRow, |
size_t | nDataSize, | ||
ScColumn & | rDestCol, | ||
sc::ColumnBlockPosition & | maDestBlockPos, | ||
bool | bCloneCaption, | ||
SCROW | nRowOffsetDest = 0 |
||
) | const |
Definition at line 1898 of file column2.cxx.
References CopyCellNotesToDocument(), maCellNotes, and sc::ColumnBlockPosition::miCellNotePos.
void ScColumn::EndListening | ( | SvtListener & | rLst, |
SCROW | nRow | ||
) |
Definition at line 3285 of file column2.cxx.
References SvtListener::EndListening(), GetBroadcaster(), SvtBroadcaster::HasListeners(), and maBroadcasters.
void ScColumn::EndListening | ( | sc::EndListeningContext & | rCxt, |
const ScAddress & | rAddress, | ||
SvtListener & | rListener | ||
) |
Definition at line 3312 of file column2.cxx.
References sc::EndListeningContext::addEmptyBroadcasterPosition(), assert(), ScAddress::Col(), sc::element_type_broadcaster, SvtListener::EndListening(), sc::EndListeningContext::getBlockPosition(), SvtBroadcaster::HasListeners(), maBroadcasters, sc::ColumnBlockPosition::miBroadcasterPos, ScAddress::Row(), and ScAddress::Tab().
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().
|
private |
Definition at line 1574 of file column4.cxx.
References assert(), sc::element_type_formula, ScFormulaCell::EndListeningTo(), and maCells.
|
private |
Definition at line 1495 of file column4.cxx.
References sc::element_type_formula, ScFormulaCell::EndListeningTo(), ScFormulaCell::GetCellGroup(), GetDoc(), ScFormulaCell::GetSharedLength(), ScFormulaCell::GetSharedTopRow(), ScFormulaCell::IsSharedTop(), maCells, nCol, nTab, and ValidRow().
|
private |
Definition at line 1529 of file column4.cxx.
References sc::element_type_formula, ScFormulaCell::EndListeningTo(), ScFormulaCell::GetCellGroup(), ScAddress::IncRow(), ScFormulaCell::IsSharedTop(), and maCells.
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.
|
private |
Definition at line 3071 of file column2.cxx.
References GetFormulaCellBlockAddress().
Referenced by GetFormulaHash(), and GetFormulaVectorState().
formula::VectorRefArray ScColumn::FetchVectorRefArray | ( | SCROW | nRow1, |
SCROW | nRow2 | ||
) |
Definition at line 2720 of file column2.cxx.
References assert(), sc::FormulaGroupContext::discardCachedColArray(), sc::element_type_edittext, sc::element_type_empty, sc::element_type_formula, sc::element_type_numeric, sc::element_type_string, sc::FormulaGroupContext::getCachedColArray(), GetDoc(), ScDocument::GetFormulaGroupContext(), formula::VectorRefArray::Invalid, sc::FormulaGroupContext::m_NumArrays, sc::FormulaGroupContext::m_StrArrays, maCells, o3tl::make_unsigned(), sc::FormulaGroupContext::ColArray::mpNumArray, sc::FormulaGroupContext::ColArray::mpStrArray, and sc::FormulaGroupContext::setCachedColArray().
void ScColumn::FillMatrix | ( | ScMatrix & | rMat, |
size_t | nMatCol, | ||
SCROW | nRow1, | ||
SCROW | nRow2, | ||
svl::SharedStringPool * | pPool | ||
) | const |
Definition at line 2445 of file column2.cxx.
References GetDoc(), maCells, and sc::ParseBlock().
Referenced by ScTable::FillMatrix().
Definition at line 3078 of file column2.cxx.
References sc::element_type_empty, FindNextVisibleRow(), FindNextVisibleRowWithContent(), and maCells.
Definition at line 1507 of file column2.cxx.
References GetDoc(), ScDocument::MaxRow(), nTab, and ScDocument::RowHidden().
Referenced by FindDataAreaPos().
|
private |
Definition at line 1531 of file column2.cxx.
References sc::element_type_empty, GetDoc(), maCells, ScDocument::MaxRow(), nTab, and ScDocument::RowHidden().
Referenced by FindDataAreaPos().
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 3237 of file column2.cxx.
References maCells, and sc::ParseBlock().
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 |
Definition at line 646 of file column.cxx.
References ScDocument::GetDefPattern(), GetDoc(), ScPatternAttr::GetStyleSheet(), and pAttrArray.
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().
|
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 |
Definition at line 113 of file column.cxx.
References sc::element_type_formula, GetDoc(), ScFormulaCell::GetMatrixEdge(), ScFormulaCell::GetMatrixFlag(), i, ScAddress::INITIALIZE_INVALID, Left, maCells, NONE, Right, and ValidRow().
SvtBroadcaster * ScColumn::GetBroadcaster | ( | SCROW | nRow | ) |
Definition at line 1905 of file column2.cxx.
References maBroadcasters.
Referenced by EndListening().
const SvtBroadcaster * ScColumn::GetBroadcaster | ( | SCROW | nRow | ) | const |
Definition at line 1910 of file column2.cxx.
References maBroadcasters.
|
inline |
Definition at line 187 of file column.hxx.
References maCellTextAttrs.
|
inline |
Definition at line 188 of file column.hxx.
References maCellTextAttrs.
SCSIZE ScColumn::GetCellCount | ( | ) | const |
Definition at line 3053 of file column3.cxx.
Definition at line 1940 of file column2.cxx.
References maCellNotes.
ScPostIt * ScColumn::GetCellNote | ( | sc::ColumnBlockConstPosition & | rBlockPos, |
SCROW | nRow | ||
) |
Definition at line 1956 of file column2.cxx.
References GetCellNote().
const ScPostIt * ScColumn::GetCellNote | ( | sc::ColumnBlockConstPosition & | rBlockPos, |
SCROW | nRow | ||
) | const |
Definition at line 1945 of file column2.cxx.
References sc::element_type_cellnote, maCellNotes, and sc::ColumnBlockConstPosition::miCellNotePos.
SCROW ScColumn::GetCellNotesMaxRow | ( | ) | const |
Definition at line 2017 of file column2.cxx.
References sc::element_type_cellnote, and maCellNotes.
SCROW ScColumn::GetCellNotesMinRow | ( | ) | const |
Definition at line 2028 of file column2.cxx.
References sc::element_type_cellnote, and maCellNotes.
|
inline |
Definition at line 189 of file column.hxx.
References maCellNotes.
|
inline |
Definition at line 190 of file column.hxx.
References maCellNotes.
|
inline |
Definition at line 185 of file column.hxx.
References maCells.
|
inline |
Definition at line 186 of file column.hxx.
References maCells.
const sc::CellTextAttr * ScColumn::GetCellTextAttr | ( | SCROW | nRow | ) | const |
Definition at line 793 of file column.cxx.
References maCellTextAttrs, and sc::ColumnBlockConstPosition::miCellTextAttrPos.
Referenced by sc::CopyFromClipContext::setSingleCell().
const sc::CellTextAttr * ScColumn::GetCellTextAttr | ( | sc::ColumnBlockConstPosition & | rBlockPos, |
SCROW | nRow | ||
) | const |
Definition at line 800 of file column.cxx.
References sc::element_type_celltextattr, maCellTextAttrs, and sc::ColumnBlockConstPosition::miCellTextAttrPos.
Definition at line 3011 of file column3.cxx.
References CELLTYPE_EDIT, CELLTYPE_FORMULA, CELLTYPE_NONE, CELLTYPE_STRING, CELLTYPE_VALUE, sc::element_type_edittext, sc::element_type_formula, sc::element_type_numeric, and sc::element_type_string.
ScRefCellValue ScColumn::GetCellValue | ( | SCROW | nRow | ) | const |
Definition at line 732 of file column.cxx.
References maCells.
Referenced by ScTable::CreateSortInfoArray(), GetCellValue(), GetInputString(), GetNeededSize(), GetOptimalColWidth(), GetString(), ScTable::InvalidateTextWidth(), ScTable::MaybeAddExtraColumn(), and ScTable::ValidQuery().
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.
|
static |
Definition at line 761 of file column.cxx.
References CELLTYPE_EDIT, CELLTYPE_FORMULA, CELLTYPE_STRING, CELLTYPE_VALUE, sc::element_type_edittext, sc::element_type_formula, sc::element_type_numeric, sc::element_type_string, ScRefCellValue::meType, ScRefCellValue::mfValue, ScRefCellValue::mpEditText, ScRefCellValue::mpFormula, and ScRefCellValue::mpString.
sal_uInt32 ScColumn::GetCodeCount | ( | ) | const |
Definition at line 3608 of file column2.cxx.
References maCells, and sc::ParseFormula().
|
inline |
Definition at line 184 of file column.hxx.
References nCol.
Referenced by sc::FormulaGroupAreaListener::collectFormulaCells(), sc::FormulaGroupAreaListener::FormulaGroupAreaListener(), and Swap().
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.
|
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 1282 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 1324 of file column2.cxx.
References sc::element_type_empty, IsEmptyData(), and maCells.
bool ScColumn::GetFirstVisibleAttr | ( | SCROW & | rFirstRow | ) | const |
Definition at line 3185 of file column2.cxx.
References pAttrArray.
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 |
Definition at line 3044 of file column2.cxx.
References sc::element_type_formula, GetDoc(), maCells, and ValidRow().
Referenced by sc::FormulaGroupAreaListener::collectFormulaCells(), FetchFormulaCell(), and sc::FormulaGroupAreaListener::getTopCell().
|
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 2148 of file column2.cxx.
References FetchFormulaCell(), and ScFormulaCell::GetHash().
ScFormulaVectorState ScColumn::GetFormulaVectorState | ( | SCROW | nRow | ) | const |
Definition at line 2154 of file column2.cxx.
References FetchFormulaCell(), FormulaVectorUnknown, and ScFormulaCell::GetVectorState().
Definition at line 371 of file column.hxx.
References GetCellValue().
Referenced by GetInputString().
|
inline |
Definition at line 373 of file column.hxx.
References GetCellValue(), and GetInputString().
|
private |
Definition at line 2938 of file column3.cxx.
References ScCellFormat::GetInputString().
SCROW ScColumn::GetLastDataPos | ( | ) | const |
Definition at line 1336 of file column2.cxx.
References sc::element_type_empty, GetDoc(), IsEmptyData(), maCells, and ScDocument::MaxRow().
Referenced by GetLastVisibleAttr(), and StoreToCache().
SCROW ScColumn::GetLastDataPos | ( | SCROW | nLastRow, |
bool | bConsiderCellNotes = false , |
||
bool | bConsiderCellDrawObjects = false |
||
) | const |
Definition at line 1348 of file column2.cxx.
References sc::element_type_empty, GetDoc(), IsDrawObjectsEmptyBlock(), IsNotesEmptyBlock(), and maCells.
bool ScColumn::GetLastVisibleAttr | ( | SCROW & | rLastRow | ) | const |
Definition at line 3193 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.
tools::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 81 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(), o3tl::strong_int< UNDERLYING_TYPE, PHANTOM_TYPE >::get(), 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 1415 of file column2.cxx.
References sc::element_type_empty.
Referenced by GetNextSpellingCell().
bool ScColumn::GetNextSpellingCell | ( | SCROW & | nRow, |
bool | bInSel, | ||
const ScMarkData & | rData | ||
) | const |
Definition at line 1017 of file column2.cxx.
References sc::element_type_edittext, sc::element_type_empty, sc::element_type_string, eType, GetDoc(), GetNextDataPos(), ScMarkData::GetNextMarked(), HasAttrib(), ScDocument::IsTabProtected(), maCells, ScDocument::MaxRow(), nCol, nTab, Protected, and ScDocument::ValidRow().
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 |
Definition at line 420 of file column.cxx.
References ScInterpreterContext::GetFormatTable(), and pAttrArray.
Referenced by ScQueryCellIterator::BinarySearch(), CopyStaticToDocument(), ScValueIterator::GetCurNumFmtInfo(), and ScTable::GetNumberFormat().
Definition at line 403 of file column.cxx.
References GetDoc(), ScDocument::GetFormatTable(), ScPatternAttr::GetNumberFormat(), and pAttrArray.
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 |
Definition at line 663 of file column2.cxx.
References ATTR_MARGIN(), ScNeededSizeOptions::bFormula, ScNeededSizeOptions::bGetFont, sc::element_type_empty, GetCellValue(), ScGlobal::GetDefaultScriptType(), GetDoc(), ScPatternAttr::GetFont(), ScDocument::GetFormatTable(), ScPatternAttr::GetItem(), SvxMarginItem::GetLeftMargin(), GetNeededSize(), ScPatternAttr::GetNumberFormat(), GetPattern(), SvxMarginItem::GetRightMargin(), ScDocument::GetScriptType(), sc::SingleColumnSpanSet::getSpans(), ScCellFormat::GetString(), OutputDevice::GetTextWidth(), ScMarkData::IsMarked(), ScMarkData::IsMultiMarked(), maCells, ScColWidthParam::mbSimpleText, ScColWidthParam::mnMaxTextRow, nCol, nPPTX, nTab, sc::ParseAllNonEmpty(), ScNeededSizeOptions::pPattern, SC_AUTOCOL_BLACK, sc::SingleColumnSpanSet::scan(), OutputDevice::SetFont(), and size.
void ScColumn::GetOptimalHeight | ( | sc::RowHeightContext & | rCxt, |
SCROW | nStartRow, | ||
SCROW | nEndRow, | ||
sal_uInt16 | nMinHeight, | ||
SCROW | nMinStart | ||
) |
Definition at line 813 of file column2.cxx.
References ATTR_CJK_FONT_HEIGHT(), ATTR_CONDITIONAL(), ATTR_CTL_FONT_HEIGHT(), ATTR_FONT_HEIGHT(), ATTR_HOR_JUSTIFY(), ATTR_LINEBREAK(), ATTR_MERGE(), ATTR_MERGE_FLAG(), ATTR_ROTATE_VALUE(), ScPatternAttr::GetCellOrientation(), ScGlobal::GetDefaultScriptType(), ScDocument::GetDefPattern(), GetDoc(), sc::RowHeightContext::getHeightArray(), ScPatternAttr::GetItem(), GetNeededSize(), sc::RowHeightContext::getOutputDevice(), sc::RowHeightContext::getPPTX(), sc::RowHeightContext::getPPTY(), GetRangeScriptType(), ScDocument::GetRowFlags(), ScMergeAttr::GetRowMerge(), sc::SingleColumnSpanSet::getSpans(), ScCompressedArray< A, D >::GetValue(), sc::RowHeightContext::getZoomX(), sc::RowHeightContext::getZoomY(), HasEditCells(), sc::RowHeightContext::isForceAutoSize(), ScMergeFlagAttr::IsOverlapped(), lcl_GetAttribHeight(), maCells, maCellTextAttrs, ManualSize, nIndex, nTab, pAttrArray, ScNeededSizeOptions::pPattern, sc::SingleColumnSpanSet::scan(), and ScCompressedArray< A, D >::SetValue().
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 3615 of file column2.cxx.
References pAttrArray.
Definition at line 3620 of file column2.cxx.
References pAttrArray.
|
private |
Definition at line 264 of file column3.cxx.
|
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 1369 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 2063 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 2055 of file column2.cxx.
References GetDoc(), maCellTextAttrs, and ValidRow().
const ScStyleSheet * ScColumn::GetSelectionStyle | ( | const ScMarkData & | rMark, |
bool & | rFound | ||
) | const |
Definition at line 607 of file column.cxx.
References ScDocument::GetDefPattern(), GetDoc(), ScMarkData::GetMultiSelData(), ScPatternAttr::GetStyleSheet(), ScMarkData::IsMultiMarked(), nCol, and pAttrArray.
svl::SharedString ScColumn::GetSharedString | ( | SCROW | nRow | ) | const |
Definition at line 2387 of file column3.cxx.
References sc::element_type_edittext, sc::element_type_string, and EditTextObject::GetSharedStrings().
|
inline |
|
inline |
Definition at line 367 of file column.hxx.
References GetCellValue(), and GetString().
|
private |
Definition at line 2913 of file column3.cxx.
References CELLTYPE_FORMULA, ScInterpreterContext::GetFormatTable(), ScCellFormat::GetString(), ScFormulaCell::MaybeInterpret(), ScRefCellValue::meType, and ScRefCellValue::mpFormula.
const ScStyleSheet * ScColumn::GetStyle | ( | SCROW | nRow | ) | const |
Definition at line 602 of file column.cxx.
References pAttrArray.
|
inline |
Definition at line 183 of file column.hxx.
References nTab.
Referenced by sc::FormulaGroupAreaListener::collectFormulaCells(), sc::FormulaGroupAreaListener::FormulaGroupAreaListener(), and Swap().
sal_uInt16 ScColumn::GetTextWidth | ( | SCROW | nRow | ) | const |
Definition at line 2039 of file column2.cxx.
References maCellTextAttrs.
Referenced by ScTable::MaybeAddExtraColumn().
void ScColumn::GetUnprotectedCells | ( | SCROW | nStartRow, |
SCROW | nEndRow, | ||
ScRangeList & | rRangeList | ||
) | const |
Definition at line 770 of file column4.cxx.
References ATTR_PROTECTION(), ScPatternAttr::GetItem(), ScRangeList::Join(), nCol, nTab, and pAttrArray.
double ScColumn::GetValue | ( | SCROW | nRow | ) | const |
Definition at line 2944 of file column3.cxx.
References sc::element_type_formula, sc::element_type_numeric, ScFormulaCell::GetValue(), and ScFormulaCell::IsValue().
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 3576 of file column2.cxx.
References maCells.
Definition at line 3583 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 | ||
) |
Definition at line 3013 of file column2.cxx.
References assert(), sc::element_type_formula, ScFormulaCell::HandleStuffAfterParallelCalculation(), i, and maCells.
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 |
Definition at line 307 of file column.cxx.
References ScMarkData::GetMultiSelData(), ScMarkData::IsMultiMarked(), nCol, and pAttrArray.
bool ScColumn::HasCellNotes | ( | ) | const |
Definition at line 2009 of file column2.cxx.
References sc::element_type_cellnote, and maCellNotes.
bool ScColumn::HasDataAt | ( | SCROW | nRow, |
bool | bConsiderCellNotes = false , |
||
bool | bConsiderCellDrawObjects = false |
||
) | const |
Definition at line 3126 of file column2.cxx.
References sc::element_type_empty, IsDrawObjectsEmptyBlock(), IsNotesEmptyBlock(), and maCells.
Referenced by ScTable::ValidQuery().
bool ScColumn::HasDataAt | ( | sc::ColumnBlockConstPosition & | rBlockPos, |
SCROW | nRow, | ||
bool | bConsiderCellNotes = false , |
||
bool | bConsiderCellDrawObjects = false |
||
) | const |
Definition at line 3137 of file column2.cxx.
References sc::element_type_empty, IsDrawObjectsEmptyBlock(), IsNotesEmptyBlock(), maCells, and sc::ColumnBlockConstPosition::miCellPos.
bool ScColumn::HasDataAt | ( | sc::ColumnBlockPosition & | rBlockPos, |
SCROW | nRow, | ||
bool | bConsiderCellNotes = false , |
||
bool | bConsiderCellDrawObjects = false |
||
) |
Definition at line 3153 of file column2.cxx.
References sc::element_type_empty, IsDrawObjectsEmptyBlock(), IsNotesEmptyBlock(), maCells, and sc::ColumnBlockPosition::miCellPos.
sc::MultiDataCellState::StateType ScColumn::HasDataCellsInRange | ( | SCROW | nRow1, |
SCROW | nRow2, | ||
SCROW * | pRow1 | ||
) | const |
Definition at line 47 of file column4.cxx.
References assert(), sc::element_type_empty, sc::MultiDataCellState::Empty, sc::MultiDataCellState::HasMultipleCells, sc::MultiDataCellState::HasOneCell, and maCells.
Definition at line 3428 of file column.cxx.
References sc::FindFormulaEditText(), and maCells.
Referenced by GetOptimalHeight().
bool ScColumn::HasFormulaCell | ( | ) | const |
Definition at line 1260 of file column4.cxx.
References mnBlkCountFormula.
Referenced by EndListeningFormulaCells(), EnsureFormulaCellResults(), HasFormulaCell(), and StartListeningFormulaCells().
Definition at line 1277 of file column4.cxx.
References sc::FindFormula(), GetDoc(), HasFormulaCell(), maCells, mnBlkCountFormula, and ValidRow().
bool ScColumn::HasSelectionMatrixFragment | ( | const ScMarkData & | rMark | ) | const |
Definition at line 194 of file column.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), sc::element_type_formula, GetDoc(), ScDocument::GetFormulaCell(), ScMarkData::GetMarkedRanges(), ScFormulaCell::GetMatColsRows(), ScFormulaCell::GetMatrixEdge(), ScFormulaCell::GetMatrixFlag(), i, ScAddress::INITIALIZE_INVALID, ScMarkData::IsAllMarked(), ScMarkData::IsMultiMarked(), Left, maCells, n, nCol, NONE, nTab, Reference, Right, ScAddress::Row(), ScRangeList::size(), and ScAddress::Tab().
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 |
Definition at line 3074 of file column3.cxx.
References sc::element_type_edittext, sc::element_type_formula, and sc::element_type_string.
bool ScColumn::HasValueData | ( | SCROW | nRow | ) | const |
Definition at line 3094 of file column3.cxx.
References sc::element_type_formula, and sc::element_type_numeric.
Definition at line 3206 of file column2.cxx.
References pAttrArray.
bool ScColumn::HasVisibleDataAt | ( | SCROW | nRow | ) | const |
Definition at line 1229 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 | ) |
Definition at line 1043 of file column3.cxx.
References sc::ColumnBlockPosition::miBroadcasterPos, sc::ColumnBlockPosition::miCellNotePos, sc::ColumnBlockPosition::miCellPos, and sc::ColumnBlockPosition::miCellTextAttrPos.
Referenced by ScTable::CreateSortInfoArray(), DeleteBeforeCopyFromClip(), and ScTable::InitColumnBlockPosition().
void ScColumn::InitBlockPosition | ( | sc::ColumnBlockConstPosition & | rBlockPos | ) | const |
Definition at line 1051 of file column3.cxx.
References sc::ColumnBlockConstPosition::miCellNotePos, sc::ColumnBlockConstPosition::miCellPos, and sc::ColumnBlockConstPosition::miCellTextAttrPos.
Definition at line 866 of file column.cxx.
References CellStorageModified(), GetDoc(), maBroadcasters, maCellNotes, maCells, maCellTextAttrs, and pAttrArray.
Definition at line 109 of file column3.cxx.
References sc::ProcessFormula(), and ValidRow().
Definition at line 3169 of file column2.cxx.
References pAttrArray.
Definition at line 1953 of file column.cxx.
References GetDoc(), ScDocument::GetDrawLayer(), ScDrawLayer::HasObjectsAnchoredInRange(), and nTab.
Referenced by GetLastDataPos(), and HasDataAt().
bool ScColumn::IsEmptyAttr | ( | ) | const |
Definition at line 1248 of file column2.cxx.
References sc::element_type_empty, and maCells.
bool ScColumn::IsEmptyData | ( | ) | const |
Definition at line 1195 of file column2.cxx.
References sc::element_type_empty, and maCells.
Referenced by ScQueryCellIterator::BinarySearch(), ScCountIfCellIterator::GetCount(), ScCellIterator::getCurrent(), GetFirstDataPos(), GetLastDataPos(), ScValueIterator::GetThis(), TestInsertCol(), and UpdateReference().
bool ScColumn::IsFormulaDirty | ( | SCROW | nRow | ) | const |
Definition at line 3219 of file column.cxx.
References sc::element_type_formula, ScFormulaCell::GetDirty(), GetDoc(), maCells, and ValidRow().
Referenced by ScDocument::IdleCalcTextWidth().
bool ScColumn::IsMerged | ( | SCROW | nRow | ) | const |
Definition at line 42 of file column4.cxx.
References pAttrArray.
Definition at line 1265 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 3177 of file column2.cxx.
References pAttrArray.
|
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 |
Definition at line 1866 of file column.cxx.
References ScRange::aEnd, ScRange::aStart, ATTR_MERGE_FLAG(), ScDocument::GetDefPattern(), GetDoc(), ScPatternAttr::GetItem(), ScDocument::MaxRow(), nCol, nTab, pAttrArray, ScMarkData::SetMultiMarkArea(), and ScAddress::SetRow().
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 |
Definition at line 334 of file column.cxx.
References ScMarkData::GetMultiSelData(), ScMultiSel::HasMarks(), ScMarkData::IsMultiMarked(), nCol, ScMultiSelIter::Next(), and pAttrArray.
Referenced by ScTable::MergeSelectionPattern().
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().
Definition at line 1991 of file column.cxx.
References ScDocument::AreaBroadcast(), CellStorageModified(), ScHint::GetAddress(), GetDoc(), sc::SingleColumnSpanSet::getSpans(), sc::SharedFormulaUtil::joinFormulaCellAbove(), maBroadcasters, maCellNotes, maCells, maCellTextAttrs, nTab, pAttrArray, sc::SingleColumnSpanSet::scan(), ScAddress::SetRow(), sc::SharedFormulaUtil::splitFormulaCellGroup(), UpdateNoteCaptions(), and ValidRow().
|
private |
Definition at line 1958 of file column3.cxx.
References ScSetStringParam::Always, ATTR_VALUE_FORMAT(), CELLTYPE_NONE, CELLTYPE_VALUE, ScFormulaCell::GetCode(), SvNumberFormatter::GetEditFormat(), SvNumberFormatter::GetEntry(), SvNumberFormatter::GetEvalDateFormat(), SvNumberFormatter::GetFormatForLanguageIfBuiltIn(), SvNumberformat::GetLanguage(), SvNumberFormatter::GetLocaleData(), LocaleDataWrapper::getLocaleItem(), SvNumberformat::GetMaskedType(), SvNumberFormatter::GetStandardFormat(), SvNumberFormatter::GetType(), ScRefCellValue::getValue(), formula::FormulaGrammar::GRAM_DEFAULT, svl::SharedStringPool::intern(), SvNumberFormatter::IsCompatible(), SvNumberFormatter::IsNumberFormat(), ScSetStringParam::mbCheckLinkFormula, ScSetStringParam::mbDetectNumberFormat, ScSetStringParam::mbHandleApostrophe, formula::FormulaGrammar::mergeToGrammar(), ScSetStringParam::meSetTextNumFormat, ScCellValue::meType, ScRefCellValue::meType, ScSetStringParam::mpNumFormatter, ScSetStringParam::Never, NF_EVALDATEFORMAT_FORMAT_INTL, NF_EVALDATEFORMAT_INTL_FORMAT, nIndex, NONE, ScStringUtil::parseSimpleNumber(), pLocale, ScCellValue::set(), SvNumberFormatter::SetEvalDateFormat(), and ScSetStringParam::SpecialNumberOnly.
void ScColumn::PrepareBroadcastersForDestruction | ( | ) |
Definition at line 1921 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.
Regroup formula cells for the entire column.
Definition at line 3510 of file column3.cxx.
Referenced by CompileColRowNameFormula(), CompileDBFormula(), CompileXML(), ScDocumentImport::initColumn(), and SwapNonEmpty().
Definition at line 616 of file column4.cxx.
References GetDoc(), maCellNotes, p, and ValidRow().
Definition at line 554 of file column.cxx.
References pAttrArray.
Definition at line 1181 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().
Definition at line 688 of file column.cxx.
References pAttrArray.
Definition at line 2783 of file column3.cxx.
References ATTR_PROTECTION(), CONTENTS, ScProtectionAttr::GetHideCell(), ScProtectionAttr::GetHideFormula(), ScPatternAttr::GetItem(), and sc::ParseFormula().
bool ScColumn::ReservePatternCount | ( | SCSIZE | nReserve | ) |
Definition at line 3625 of file column2.cxx.
References pAttrArray.
Definition at line 3422 of file column.cxx.
References maCells, and sc::ProcessFormula().
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.
nRow1 | top row boundary |
nRow2 | bottom row boundary |
bUpdateRefs | whether to adjust references |
Definition at line 1157 of file column4.cxx.
References maCells, nCol, and sc::ProcessFormula().
formula::FormulaTokenRef ScColumn::ResolveStaticReference | ( | SCROW | nRow | ) |
Definition at line 2160 of file column2.cxx.
References aStr, sc::element_type_edittext, sc::element_type_empty, sc::element_type_formula, sc::element_type_numeric, sc::element_type_string, GetDoc(), ScEditUtil::GetString(), ScFormulaCell::GetString(), ScFormulaCell::GetValue(), ScFormulaCell::IsValue(), and maCells.
Definition at line 2244 of file column2.cxx.
References GetDoc(), maCells, and sc::ParseAllNonEmpty().
Definition at line 1981 of file column4.cxx.
References GetDoc(), ScDocument::GetSharedStringPool(), formula::FormulaGrammar::GRAM_ENGLISH_XL_R1C1, i, ScAddress::IncRow(), svl::SharedStringPool::intern(), maCells, nCol, nTab, nType, SvStream::ReadBytes(), SvStream::ReadDouble(), SvStream::ReadInt32(), SvStream::ReadUChar(), SvStream::ReadUInt64(), and rValue.
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().
Definition at line 1961 of file column2.cxx.
References maCellNotes.
void ScColumn::SetDirty | ( | SCROW | nRow1, |
SCROW | nRow2, | ||
BroadcastMode | eMode | ||
) |
Definition at line 3296 of file column.cxx.
References BROADCAST_BROADCASTERS, BROADCAST_DATA_POSITIONS, BROADCAST_NONE, BroadcastBroadcasters(), GetDoc(), maCells, sc::ProcessFormula(), and ScDocument::TrackFormulas().
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 | ||
) |
Definition at line 2224 of file column3.cxx.
References sc::ColumnBlockPosition::miCellPos, and sc::ColumnBlockPosition::miCellTextAttrPos.
void ScColumn::SetEditText | ( | sc::ColumnBlockPosition & | rBlockPos, |
SCROW | nRow, | ||
const EditTextObject & | rEditText | ||
) |
Definition at line 2240 of file column3.cxx.
References EditTextObject::Clone(), EditEngine::CreateTextObject(), EditTextObject::GetPool(), and EditEngine::SetText().
void ScColumn::SetEditText | ( | SCROW | nRow, |
const EditTextObject & | rEditText, | ||
const SfxItemPool * | pEditPool | ||
) |
Definition at line 2256 of file column3.cxx.
References EditTextObject::Clone(), EditEngine::CreateTextObject(), and EditEngine::SetText().
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 | ||
) |
Definition at line 2290 of file column3.cxx.
References ScFormulaCell::SetNeedNumberFormat(), and SV_COUNTRY_LANGUAGE_OFFSET.
ScFormulaCell * ScColumn::SetFormulaCell | ( | SCROW | nRow, |
ScFormulaCell * | pCell, | ||
sc::StartListeningType | eListenType = sc::SingleCellListening , |
||
bool | bInheritNumFormatIfNeeded = true |
||
) |
Takes ownership of pCell.
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 |
||
) |
Definition at line 2327 of file column3.cxx.
References sc::ColumnBlockPosition::miCellPos, sc::ColumnBlockPosition::miCellTextAttrPos, ScFormulaCell::SetNeedNumberFormat(), and SV_COUNTRY_LANGUAGE_OFFSET.
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().
Definition at line 2944 of file column2.cxx.
References assert(), sc::element_type_formula, GetDoubleErrorValue(), maCells, ScFormulaCell::ResetDirty(), ScFormulaCell::SetChanged(), ScFormulaCell::SetResultDouble(), and ScFormulaCell::SetResultError().
Definition at line 1604 of file column4.cxx.
References assert(), sc::element_type_formula, maCells, and ScFormulaCell::SetNeedsListening().
Referenced by ScTable::SetNeedsListeningGroup().
Definition at line 3039 of file column2.cxx.
References ApplyAttr(), and ATTR_VALUE_FORMAT().
Referenced by CopyStaticToDocument(), ScTable::CopyStaticToDocument(), and ScTable::SetNumberFormat().
const ScPatternAttr * ScColumn::SetPattern | ( | SCROW | nRow, |
std::unique_ptr< ScPatternAttr > | pPatAttr | ||
) |
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.
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 |
||
) |
Definition at line 2856 of file column3.cxx.
References sc::ColumnBlockPosition::miCellPos, sc::ColumnBlockPosition::miCellTextAttrPos, and ValidRow().
void ScColumn::SetScriptType | ( | SCROW | nRow, |
SvtScriptType | nType | ||
) |
Definition at line 2134 of file column2.cxx.
References CellStorageModified(), sc::element_type_celltextattr, GetDoc(), maCellTextAttrs, nType, and ValidRow().
Referenced by ScTable::InvalidateTextWidth().
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().
Definition at line 3338 of file column.cxx.
References ScRange::aEnd, ScRange::aStart, GetDoc(), maCells, sc::ProcessFormula(), and ScAddress::Row().
Definition at line 3198 of file column.cxx.
References maCells, pAttrArray, and sc::ProcessFormula().
Definition at line 2044 of file column2.cxx.
References CellStorageModified(), sc::element_type_celltextattr, and maCellTextAttrs.
Referenced by ScTable::InvalidateTextWidth(), and ScTable::MaybeAddExtraColumn().
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 |
||
) |
Definition at line 2893 of file column3.cxx.
References sc::ColumnBlockPosition::miCellPos, sc::ColumnBlockPosition::miCellTextAttrPos, and ValidRow().
Definition at line 311 of file column4.cxx.
References BroadcastCells(), CellStorageModified(), DetachFormulaCells(), GetDoc(), i, maCells, maCellTextAttrs, StartListeningUnshared(), and ValidRow().
Referenced by ScTable::SetValues().
Definition at line 1191 of file column4.cxx.
References ScRange::aEnd, ScRange::aStart, GetDoc(), maCells, ScDocument::MaxRow(), sc::ProcessFormula(), ScAddress::Row(), and sc::SharedFormulaUtil::splitFormulaCellGroups().
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 3279 of file column2.cxx.
References maBroadcasters.
void ScColumn::StartListening | ( | sc::StartListeningContext & | rCxt, |
const ScAddress & | rAddress, | ||
SvtListener & | rListener | ||
) |
Definition at line 3297 of file column2.cxx.
References ScAddress::Col(), sc::StartListeningContext::getBlockPosition(), GetDoc(), maBroadcasters, sc::ColumnBlockPosition::miBroadcasterPos, ScAddress::Row(), ScAddress::Tab(), and ValidRow().
void ScColumn::StartListeningFormulaCells | ( | sc::StartListeningContext & | rStartCxt, |
sc::EndListeningContext & | rEndCxt, | ||
SCROW | nRow1, | ||
SCROW | nRow2 | ||
) |
Definition at line 1467 of file column4.cxx.
References HasFormulaCell(), maCells, and sc::ProcessBlock().
Referenced by ScDocument::EnableDelayStartListeningFormulaCells().
Re-establish listeners on unshared formula groups.
Definition at line 343 of file column3.cxx.
References assert().
Referenced by SetValues().
Definition at line 1971 of file column4.cxx.
References GetLastDataPos(), maCells, nCol, sc::ParseBlock(), and SvStream::WriteUInt64().
Definition at line 1078 of file column4.cxx.
References CellStorageModified(), GetCol(), GetDoc(), ScDocument::GetDrawLayer(), ScDrawLayer::GetObjectsAnchoredToRange(), GetPattern(), ScDocument::GetPool(), SfxPoolItem::GetRefCount(), GetTab(), maBroadcasters, maCellNotes, maCells, maCellTextAttrs, SfxItemPool::Put(), SetPattern(), and UpdateDrawObjectsForRow().
Definition at line 1963 of file column.cxx.
References CellStorageModified(), GetDoc(), maBroadcasters, maCellNotes, maCells, maCellTextAttrs, mnBlkCountFormula, nCol, pAttrArray, and UpdateNoteCaptions().
void ScColumn::SwapNonEmpty | ( | sc::TableValues & | rValues, |
sc::StartListeningContext & | rStartCxt, | ||
sc::EndListeningContext & | rEndCxt | ||
) |
Definition at line 495 of file column4.cxx.
References ScRange::aEnd, ScRange::aStart, CellStorageModified(), GetDoc(), sc::TableValues::getNonEmptySpans(), sc::TableValues::getRange(), maCells, ScDocument::MaxRow(), nCol, nTab, sc::ProcessFormula(), RegroupFormulaCells(), ScAddress::Row(), sc::SharedFormulaUtil::splitFormulaCellGroups(), and sc::TableValues::swapNonEmpty().
Referenced by ScTable::SwapNonEmpty().
bool ScColumn::TestCopyScenarioTo | ( | const ScColumn & | rDestCol | ) | const |
Definition at line 1849 of file column.cxx.
References ATTR_MERGE_FLAG(), ScDocument::GetDefPattern(), GetDoc(), ScPatternAttr::GetItem(), ScDocument::MaxRow(), pAttrArray, and Protected.
Definition at line 814 of file column.cxx.
References sc::element_type_empty, IsEmptyAttr(), IsEmptyData(), maCells, and pAttrArray.
Definition at line 836 of file column.cxx.
References sc::element_type_empty, GetDoc(), maCells, o3tl::make_unsigned(), ScDocument::MaxRow(), and pAttrArray.
Referenced by ScTable::TestInsertRow().
bool ScColumn::TestTabRefAbs | ( | SCTAB | nTable | ) | const |
Definition at line 1188 of file column2.cxx.
References maCells, and sc::ParseFormula().
void ScColumn::TransferCellValuesTo | ( | SCROW | nRow, |
size_t | nLen, | ||
sc::CellValues & | rDest | ||
) |
Definition at line 341 of file column4.cxx.
References BroadcastCells(), CellStorageModified(), DetachFormulaCells(), GetDoc(), i, maCells, sc::CellValues::transferFrom(), and ValidRow().
Referenced by ScTable::TransferCellValuesTo().
Definition at line 1461 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 | ) |
Definition at line 3159 of file column.cxx.
References CellStorageModified(), maCells, maCellTextAttrs, sc::RefUpdateDeleteTabContext::mnDeletePos, sc::RefUpdateDeleteTabContext::mnSheets, pAttrArray, and sc::ProcessFormulaEditText().
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().
Definition at line 3134 of file column.cxx.
References maCells, and sc::ProcessFormula().
void ScColumn::UpdateInsertTab | ( | sc::RefUpdateInsertTabContext & | rCxt | ) |
Definition at line 3140 of file column.cxx.
References sc::RefUpdateInsertTabContext::mnInsertPos, sc::RefUpdateInsertTabContext::mnSheets, pAttrArray, and UpdateInsertTabOnlyCells().
Definition at line 3173 of file column.cxx.
References CellStorageModified(), maCells, maCellTextAttrs, and sc::ProcessFormulaEditText().
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 | ||
) |
Definition at line 3181 of file column.cxx.
References CellStorageModified(), maCells, maCellTextAttrs, pAttrArray, and sc::ProcessFormulaEditText().
Definition at line 1920 of file column.cxx.
References maCellNotes, nTab, and sc::ProcessNote().
bool ScColumn::UpdateReference | ( | sc::RefUpdateContext & | rCxt, |
ScDocument * | pUndoDoc | ||
) |
Update reference addresses in formula cell in response to mass cell movement.
Definition at line 2478 of file column.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), GetDoc(), GetFormulaGroupEntries(), IsEmptyData(), ScDocument::IsExpandRefs(), maCells, sc::RefUpdateContext::maRange, sc::RefUpdateContext::maRegroupCols, sc::RefUpdateContext::meMode, sc::RefUpdateContext::mnRowDelta, sc::RefUpdateContext::mrDoc, nTab, ScAddress::Row(), sc::ColumnSet::set(), sc::SharedFormulaUtil::splitFormulaCellGroups(), ScAddress::Tab(), UpdateReferenceOnCopy(), URM_COPY, and ValidRow().
Referenced by ScTable::UpdateReference().
bool ScColumn::UpdateReferenceOnCopy | ( | sc::RefUpdateContext & | rCxt, |
ScDocument * | pUndoDoc = nullptr |
||
) |
Definition at line 2453 of file column.cxx.
References ScRange::aEnd, ScRange::aStart, sc::RefUpdateContext::getBlockPosition(), GetDoc(), sc::SharedFormulaUtil::joinFormulaCellAbove(), maCells, sc::RefUpdateContext::maRange, ScDocument::MaxRow(), sc::ColumnBlockPosition::miCellPos, nTab, sc::ProcessBlock(), and ScAddress::Row().
Referenced by CopyScenarioFrom(), CopyScenarioTo(), and UpdateReference().
|
private |
Definition at line 760 of file column3.cxx.
References aStr, ATTR_CONDITIONAL(), ScCondFormatItem::GetCondFormatData(), ScDocument::GetCondFormList(), ScDocument::GetCondResult(), ScDocument::GetFormatTable(), ScPatternAttr::GetItem(), ScPatternAttr::GetNumberFormat(), ScCellFormat::GetString(), ScDocument::GetStringScriptType(), sc::CellTextAttr::mnScriptType, pos, and rData.
Referenced by GetRangeScriptType().
Definition at line 1067 of file column4.cxx.
References CellStorageModified(), GetDoc(), maCells, sc::ParseAllNonEmpty(), and ValidRow().
Referenced by ScDocument::CopyOneCellFromClip().
void ScColumn::UpdateSelectionFunction | ( | const ScRangeList & | rRanges, |
ScFunctionData & | rData, | ||
const ScFlatBoolRowSegments & | rHiddenRows | ||
) |
Definition at line 3444 of file column2.cxx.
References sc::SingleColumnSpanSet::empty(), GetDoc(), ScFunctionData::getFunc(), ScFlatBoolRowSegments::getRangeData(), sc::SingleColumnSpanSet::getSpans(), maCells, ScDocument::MaxRow(), ScFlatBoolRowSegments::RangeData::mbValue, ScFlatBoolRowSegments::RangeData::mnRow2, sc::ParseAllNonEmpty(), sc::ParseFormulaNumeric(), sc::SingleColumnSpanSet::scan(), sc::SingleColumnSpanSet::set(), SUBTOTAL_FUNC_CNT2, SUBTOTAL_FUNC_SELECTION_COUNT, and ScFunctionData::update().
void ScColumn::UpdateTranspose | ( | const ScRange & | rSource, |
const ScAddress & | rDest, | ||
ScDocument * | pUndoDoc | ||
) |
Definition at line 3127 of file column.cxx.
References maCells, and sc::ProcessFormula().
Definition at line 1222 of file column2.cxx.
References maCells, and sc::ParseBlock().
|
friend |
Definition at line 157 of file column.hxx.
|
friend |
Definition at line 155 of file column.hxx.
|
friend |
Definition at line 153 of file column.hxx.
|
friend |
Definition at line 151 of file column.hxx.
|
friend |
Definition at line 154 of file column.hxx.
|
friend |
Definition at line 152 of file column.hxx.
|
friend |
Definition at line 156 of file column.hxx.
|
friend |
Definition at line 146 of file column.hxx.
|
friend |
Definition at line 149 of file column.hxx.
|
friend |
Definition at line 144 of file column.hxx.
|
friend |
Definition at line 142 of file column.hxx.
|
friend |
Definition at line 138 of file column.hxx.
|
friend |
Definition at line 150 of file column.hxx.
|
friend |
Definition at line 145 of file column.hxx.
|
friend |
Definition at line 148 of file column.hxx.
|
friend |
Definition at line 147 of file column.hxx.
|
friend |
Definition at line 141 of file column.hxx.
|
friend |
Definition at line 143 of file column.hxx.
|
friend |
Definition at line 139 of file column.hxx.
|
friend |
Definition at line 140 of file column.hxx.
|
private |
Definition at line 124 of file column.hxx.
Referenced by BroadcastBroadcasters(), CellStorageModified(), CollectListeners(), DeleteBroadcasters(), EndListening(), GetBroadcaster(), InsertRow(), MoveTo(), PrepareBroadcastersForDestruction(), StartListening(), Swap(), and SwapCol().
|
private |
Definition at line 121 of file column.hxx.
Referenced by CellNotesDeleting(), CopyCellNotesToDocument(), CopyCellToDocument(), ScTable::CopyCellToDocument(), CopyOneCellFromClip(), CreateAllNoteCaptions(), DeleteCellNotes(), DuplicateNotes(), ForgetNoteCaptions(), GetAllNoteEntries(), GetCellNote(), GetCellNotesMaxRow(), GetCellNotesMinRow(), GetCellNoteStore(), GetNoteCount(), GetNotePosition(), GetNotesInRange(), HasCellNotes(), InsertRow(), IsNotesEmptyBlock(), MoveTo(), ReleaseNote(), SetCellNote(), Swap(), SwapCol(), and UpdateNoteCaptions().
|
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().
|
private |
Definition at line 126 of file column.hxx.
|
private |
Definition at line 118 of file column.hxx.
Referenced by CellStorageModified(), CloneFormulaCell(), sc::CellValues::copyCellTextAttrsTo(), CopyCellTextAttrsToDocument(), CopyCellToDocument(), ScTable::CopyCellToDocument(), CopyFromClip(), CopyOneCellFromClip(), ScTable::CopyStaticToDocument(), CopyToClip(), GetCellAttrStore(), GetCellTextAttr(), GetOptimalHeight(), GetRangeScriptType(), GetScriptType(), GetTextWidth(), ScDocumentImport::initColumn(), InsertRow(), MoveTo(), ScColumnTextWidthIterator::ScColumnTextWidthIterator(), SetScriptType(), SetTextWidth(), SetValues(), Swap(), SwapCol(), sc::CellValues::swapNonEmpty(), sc::CellValues::transferFrom(), UpdateDeleteTab(), UpdateInsertTabAbs(), UpdateInsertTabOnlyCells(), and UpdateMoveTab().
|
private |
Definition at line 133 of file column.hxx.
Referenced by sc::CellStoreEvent::element_block_acquired(), sc::CellStoreEvent::element_block_released(), HasFormulaCell(), and SwapCol().
|
private |
Definition at line 135 of file column.hxx.
Referenced by ApplySelectionCache(), ApplySelectionLineStyle(), ApplySelectionStyle(), CellNotesDeleting(), ChangeSelectionIndent(), ClearSelectionItems(), CloneFormulaCell(), ConvertFormulaToValue(), CopyCellToDocument(), CopyFromClip(), CopyOneCellFromClip(), CopyScenarioFrom(), CopyScenarioTo(), CopyToClip(), CopyToColumn(), CreateAllNoteCaptions(), DeleteBeforeCopyFromClip(), DeleteSelection(), EndListeningIntersectedGroup(), GetAllNoteEntries(), GetCol(), GetNeededSize(), GetNextSpellingCell(), GetNotesInRange(), GetOptimalColWidth(), GetSelectionStyle(), GetUnprotectedCells(), HasAttribSelection(), HasSelectionMatrixFragment(), Init(), ScDocumentImport::initColumn(), MarkScenarioIn(), MergeSelectionPattern(), ResetFormulaCellPositions(), RestoreFromCache(), StoreToCache(), SwapCol(), and SwapNonEmpty().
|
private |
Definition at line 136 of file column.hxx.
Referenced by CellNotesDeleting(), CloneFormulaCell(), ConvertFormulaToValue(), CopyCellToDocument(), CopyFromClip(), CopyOneCellFromClip(), CopyScenarioFrom(), CopyScenarioTo(), CopyToClip(), CopyToColumn(), CreateAllNoteCaptions(), DeleteBeforeCopyFromClip(), EndListeningIntersectedGroup(), FindNextVisibleRow(), FindNextVisibleRowWithContent(), GetAllNoteEntries(), GetNeededSize(), GetNextSpellingCell(), GetNotesInRange(), GetOptimalColWidth(), GetOptimalHeight(), GetTab(), GetUnprotectedCells(), HasSelectionMatrixFragment(), Init(), ScDocumentImport::initColumn(), IsDrawObjectsEmptyBlock(), MarkScenarioIn(), MoveTo(), RestoreFromCache(), SwapNonEmpty(), UpdateDrawObjectsForRow(), UpdateNoteCaptions(), UpdateReference(), and UpdateReferenceOnCopy().
|
private |
Definition at line 131 of file column.hxx.
Referenced by AddCondFormat(), ApplyAttr(), ApplyBlockFrame(), ApplyFlags(), ApplyPattern(), ApplyPatternArea(), ApplyPatternIfNumberformatIncompatible(), ApplySelectionCache(), ApplySelectionLineStyle(), ApplySelectionStyle(), ApplyStyle(), ApplyStyleArea(), ChangeSelectionIndent(), ClearItems(), ClearSelectionItems(), CopyFromClip(), CopyOneCellFromClip(), CopyScenarioFrom(), CopyScenarioTo(), CopyToClip(), CopyToColumn(), DeleteBeforeCopyFromClip(), ExtendMerge(), ScDocument::FillInfo(), FindStyleSheet(), GetAreaStyle(), GetAttr(), GetFirstVisibleAttr(), GetLastVisibleAttr(), GetMostUsedPattern(), GetNeededSize(), ScHorizontalValueIterator::GetNext(), GetNextUnprotected(), GetNumberFormat(), GetOptimalHeight(), GetPattern(), GetPatternCount(), GetSelectionStyle(), GetStyle(), ScValueIterator::GetThis(), GetUnprotectedCells(), HasAttrib(), HasAttribSelection(), HasVisibleAttrIn(), Init(), InsertRow(), IsAllAttrEqual(), IsEmptyAttr(), IsMerged(), IsStyleSheetUsed(), IsVisibleAttrEqual(), MarkScenarioIn(), MergeBlockFrame(), MergePatternArea(), MergeSelectionPattern(), MoveTo(), RemoveCondFormat(), RemoveFlags(), ReservePatternCount(), SearchStyle(), SearchStyleRange(), ScDocumentImport::setAttrEntries(), SetPattern(), SetPatternArea(), SetTabNo(), SwapCol(), TestCopyScenarioTo(), TestInsertCol(), TestInsertRow(), UpdateDeleteTab(), UpdateInsertTab(), and UpdateMoveTab().