LibreOffice Module sc (master) 1
|
#include <column.hxx>
Classes | |
struct | DeleteCellsResult |
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) |
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 |
sc::SparklineStoreType & | GetSparklineStore () |
const sc::SparklineStoreType & | GetSparklineStore () 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 | 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 | IsEmptyData (SCROW nStartRow, SCROW nEndRow) const |
SCSIZE | GetEmptyLinesInBlock (SCROW nStartRow, SCROW nEndRow, ScDirection eDir) const |
bool | HasDataAt (SCROW nRow, ScDataAreaExtras *pDataAreaExtras=nullptr) const |
bool | HasDataAt (sc::ColumnBlockConstPosition &rBlockPos, SCROW nRow, ScDataAreaExtras *pDataAreaExtras=nullptr) const |
bool | HasDataAt (sc::ColumnBlockPosition &rBlockPos, SCROW nRow, ScDataAreaExtras *pDataAreaExtras=nullptr) |
void | GetDataExtrasAt (SCROW nRow, ScDataAreaExtras &rDataAreaExtras) const |
bool | HasVisibleDataAt (SCROW nRow) const |
SCROW | GetFirstDataPos () const |
SCROW | GetLastDataPos () const |
SCROW | GetLastDataPos (SCROW nLastRow, ScDataAreaExtras *pDataAreaExtras=nullptr) 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 ScRangeList &rRangeList) const |
bool | GetFirstVisibleAttr (SCROW &rFirstRow) const |
bool | GetLastVisibleAttr (SCROW &rLastRow, bool bSkipEmpty) const |
bool | HasVisibleAttrIn (SCROW nStartRow, SCROW nEndRow) const |
bool | IsVisibleAttrEqual (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 (sc::ColumnBlockPosition &rBlockPos, 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) |
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 *pPosCol, 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 (sc::ColumnBlockPosition &rBlockPos, const ScFormulaCell &rSrc, const sc::CellTextAttr &rAttr, const std::vector< sc::RowSpan > &rRanges) |
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) |
OUString | GetString (SCROW nRow, const ScInterpreterContext *pContext=nullptr) const |
OUString | GetString (sc::ColumnBlockConstPosition &rBlockPos, SCROW nRow, const ScInterpreterContext *pContext=nullptr) const |
double * | GetValueCell (SCROW nRow) |
OUString | GetInputString (SCROW nRow, bool bForceSystemLocale=false) const |
OUString | GetInputString (sc::ColumnBlockConstPosition &rBlockPos, SCROW nRow, bool bForceSystemLocale=false) const |
double | GetValue (SCROW nRow) const |
const EditTextObject * | GetEditText (SCROW nRow) const |
void | RemoveEditTextCharAttribs (SCROW nRow, const ScPatternAttr &rAttr) |
OUString | GetFormula (SCROW nRow) 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_uInt64 | GetWeightedCount () const |
sal_uInt64 | GetWeightedCount (SCROW nStartRow, SCROW nEndRow) const |
sal_uInt64 | 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, SfxHintId nHint) |
Broadcast single broadcasters in range, without explicitly setting anything dirty, not doing area broadcasts. More... | |
bool | CompileErrorCells (sc::CompileFormulaContext &rCxt, FormulaError nErrCode) |
void | 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) |
void | MergeSelectionPattern (ScMergePatternState &rState, const ScMarkData &rMark, 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) |
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 | 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 * | 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) |
void | GetFilterEntries (sc::ColumnBlockConstPosition &rBlockPos, SCROW nStartRow, SCROW nEndRow, ScFilterEntries &rFilterEntries, bool bFiltering, bool bFilteredRow) |
bool | GetDataEntries (SCROW nRow, std::set< ScTypedStrData > &rStrings) 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) |
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 | DeleteEmptyBroadcasters () |
void | Broadcast (SCROW nRow) |
void | BroadcastCells (const std::vector< SCROW > &rRows, SfxHintId nHint) |
void | BroadcastRows (SCROW nStartRow, SCROW nEndRow, SfxHintId nHint) |
sc::SparklineCell * | GetSparklineCell (SCROW nRow) |
void | CreateSparklineCell (SCROW nRow, std::shared_ptr< sc::Sparkline > const &pSparkline) |
void | DeleteSparklineCells (sc::ColumnBlockPosition &rBlockPos, SCROW nRow1, SCROW nRow2) |
bool | DeleteSparkline (SCROW nRow) |
bool | IsSparklinesEmptyBlock (SCROW nStartRow, SCROW nEndRow) const |
void | CopyCellSparklinesToDocument (SCROW nRow1, SCROW nRow2, ScColumn &rDestCol, SCROW nRowOffsetDest=0) const |
void | DuplicateSparklines (SCROW nStartRow, size_t nDataSize, ScColumn &rDestCol, sc::ColumnBlockPosition &rDestBlockPos, SCROW nRowOffsetDest=0) const |
bool | HasSparklines () const |
SCROW | GetSparklinesMaxRow () const |
SCROW | GetSparklinesMinRow () const |
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 | HasCellNote (SCROW nStartRow, SCROW nEndRow) const |
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 &rDestBlockPos, 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) |
bool | InterpretCellsIfNeeded (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) |
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::optional< 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) |
void | CheckIntegrity () const |
void | AttachNewFormulaCells (const sc::CellStoreType::position_type &aPos, size_t nLength, std::vector< SCROW > &rNewSharedRows) |
ScDocument & | GetDoc () const |
const SfxPoolItem & | GetAttr (SCROW nRow, sal_uInt16 nWhich) const |
template<class T > | |
const T & | GetAttr (SCROW nRow, TypedWhichId< T > nWhich) const |
const SfxPoolItem & | GetAttr (SCROW nRow, sal_uInt16 nWhich, SCROW &nStartRow, SCROW &nEndRow) const |
template<class T > | |
const T & | GetAttr (SCROW nRow, TypedWhichId< T > nWhich, SCROW &nStartRow, SCROW &nEndRow) const |
const ScPatternAttr * | GetPattern (SCROW nRow) const |
sal_uInt32 | GetNumberFormat (const ScInterpreterContext &rContext, SCROW nRow) const |
sal_uInt32 | GetNumberFormat (SCROW nStartRow, SCROW nEndRow) const |
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 | |
bool | ParseString (ScCellValue &rCell, SCROW nRow, SCTAB nTab, const OUString &rString, formula::FormulaGrammar::AddressConvention eConv, const ScSetStringParam *pParam) |
void | duplicateSparkline (sc::CopyFromClipContext &rContext, sc::ColumnBlockPosition *pBlockPos, size_t nColOffset, size_t nDestSize, ScAddress aDestPosition) |
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 | 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 |
OUString | GetString (const ScRefCellValue &cell, SCROW nRow, const ScInterpreterContext *pContext=nullptr) const |
OUString | GetInputString (const ScRefCellValue &cell, SCROW nRow, bool bForceSystemLocale=false) 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 |
std::unique_ptr< DeleteCellsResult > | DeleteCells (sc::ColumnBlockPosition &rBlockPos, SCROW nRow1, SCROW nRow2, InsertDeleteFlags nDelFlag) |
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) |
void | CollectBroadcasterState (sc::BroadcasterState &rState) const |
Friends | |
class | ScDocument |
class | ScTable |
class | ScValueIterator |
class | ScHorizontalValueIterator |
class | ScDBQueryDataIterator |
template<ScQueryCellIteratorAccess accessType, ScQueryCellIteratorType queryType> | |
class | ScQueryCellIteratorBase |
template<ScQueryCellIteratorAccess accessType> | |
class | ScQueryCellIteratorAccessSpecific |
class | ScFormulaGroupIterator |
class | ScCellIterator |
class | ScHorizontalCellIterator |
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 |
Additional Inherited Members | |
Protected Member Functions inherited from ScColumnData | |
ScColumnData (const ScColumnData &)=delete | |
ScColumnData & | operator= (const ScColumnData &)=delete |
ScColumnData ()=default | |
void | InitAttrArray (ScAttrArray *attrArray) |
ScDocument & | GetDoc () const |
ScAttrArray & | AttrArray () |
const ScAttrArray & | AttrArray () const |
const SfxPoolItem & | GetAttr (SCROW nRow, sal_uInt16 nWhich) const |
template<class T > | |
const T & | GetAttr (SCROW nRow, TypedWhichId< T > nWhich) const |
const SfxPoolItem & | GetAttr (SCROW nRow, sal_uInt16 nWhich, SCROW &nStartRow, SCROW &nEndRow) const |
template<class T > | |
const T & | GetAttr (SCROW nRow, TypedWhichId< T > nWhich, SCROW &nStartRow, SCROW &nEndRow) const |
void | SetAttrEntries (std::vector< ScAttrEntry > &&vNewData) |
const ScPatternAttr * | GetPattern (SCROW nRow) const |
const ScPatternAttr * | GetMostUsedPattern (SCROW nStartRow, SCROW nEndRow) const |
SCROW | ApplySelectionCache (SfxItemPoolCache *pCache, const ScMarkData &rMark, ScEditDataArray *pDataArray, bool *const pIsChanged, SCCOL nCol) |
void | ApplyPatternArea (SCROW nStartRow, SCROW nEndRow, const ScPatternAttr &rPatAttr, ScEditDataArray *pDataArray=nullptr, bool *const pIsChanged=nullptr) |
void | MergePatternArea (ScMergePatternState &rState, SCROW nRow1, SCROW nRow2, bool bDeep) const |
sal_uInt32 | GetNumberFormat (const ScInterpreterContext &rContext, SCROW nRow) const |
sal_uInt32 | GetNumberFormat (SCROW nStartRow, SCROW nEndRow) const |
SCROW | GetNextUnprotected (SCROW nRow, bool bUp) const |
Including current, may return -1. More... | |
const ScStyleSheet * | GetStyle (SCROW nRow) const |
void | ApplyStyleArea (SCROW nStartRow, SCROW nEndRow, const ScStyleSheet &rStyle) |
bool | HasAttrib (SCROW nRow1, SCROW nRow2, HasAttrFlags nMask) const |
bool | HasAttrib (SCROW nRow, HasAttrFlags nMask, SCROW *nStartRow=nullptr, SCROW *nEndRow=nullptr) const |
std::unique_ptr< ScAttrIterator > | CreateAttrIterator (SCROW nStartRow, SCROW nEndRow) const |
bool | IsAllAttrEqual (const ScColumnData &rCol, SCROW nStartRow, SCROW nEndRow) const |
void | ClearSelectionItems (const sal_uInt16 *pWhich, const ScMarkData &rMark, SCCOL nCol) |
void | ChangeSelectionIndent (bool bIncrement, const ScMarkData &rMark, SCCOL nCol) |
bool | TestInsertRow (SCSIZE nSize) const |
void | InsertRow (SCROW nStartRow, SCSIZE nSize) |
void | DeleteRow (SCROW nStartRow, SCSIZE nSize) |
Protected Attributes inherited from ScColumnData | |
std::unique_ptr< ScAttrArray > | pAttrArray |
Definition at line 181 of file column.hxx.
Broadcast mode for SetDirty(SCROW,SCROW,BroadcastMode).
Definition at line 242 of file column.hxx.
ScColumn::ScColumn | ( | ScSheetLimits const & | rSheetLimits | ) |
Definition at line 82 of file column.cxx.
References ScSheetLimits::GetMaxRowCount(), and maCells.
ScColumn::~ScColumn | ( | ) |
Definition at line 96 of file column.cxx.
References FreeAll().
Definition at line 985 of file column.hxx.
References nIndex, and ScColumnData::pAttrArray.
Referenced by ScTable::AddCondFormatData().
void ScColumn::ApplyAttr | ( | SCROW | nRow, |
const SfxPoolItem & | rAttr | ||
) |
Definition at line 620 of file column.cxx.
References GetDoc(), ScPatternAttr::GetItemSet(), ScDocument::GetPool(), ScColumnData::pAttrArray, SfxItemSet::Put(), SfxItemPool::Put(), and SfxItemPool::Remove().
Referenced by ScTable::ApplyAttr(), ParseString(), and SetNumberFormat().
|
inline |
Definition at line 959 of file column.hxx.
References ScColumnData::pAttrArray.
Definition at line 1015 of file column.hxx.
References ScColumnData::pAttrArray.
Referenced by ScTable::ApplyFlags().
void ScColumn::ApplyPattern | ( | SCROW | nRow, |
const ScPatternAttr & | rPatAttr | ||
) |
Definition at line 467 of file column.cxx.
References SfxItemPoolCache::ApplyTo(), GetDoc(), ScPatternAttr::GetItemSet(), and ScColumnData::pAttrArray.
Referenced by ScTable::ApplyPattern().
void ScColumn::ApplyPatternIfNumberformatIncompatible | ( | const ScRange & | rRange, |
const ScPatternAttr & | rPattern, | ||
SvNumFormatType | nNewType | ||
) |
Definition at line 490 of file column.cxx.
References ScRange::aEnd, ScRange::aStart, GetDoc(), ScDocument::GetFormatTable(), ScPatternAttr::GetItemSet(), ScPatternAttr::GetNumberFormat(), SvNumberFormatter::GetType(), SvNumberFormatter::IsCompatible(), ScColumnData::pAttrArray, and ScAddress::Row().
SCROW ScColumn::ApplySelectionCache | ( | SfxItemPoolCache * | pCache, |
const ScMarkData & | rMark, | ||
ScEditDataArray * | pDataArray, | ||
bool *const | pIsChanged | ||
) |
Definition at line 377 of file column.cxx.
References ScColumnData::ApplySelectionCache(), and nCol.
void ScColumn::ApplySelectionLineStyle | ( | const ScMarkData & | rMark, |
const ::editeng::SvxBorderLine * | pLine, | ||
bool | bColorOnly | ||
) |
Definition at line 537 of file column.cxx.
References ScMarkData::GetMultiSelData(), ScMarkData::IsMultiMarked(), nCol, ScMultiSelIter::Next(), and ScColumnData::pAttrArray.
void ScColumn::ApplySelectionStyle | ( | const ScStyleSheet & | rStyle, |
const ScMarkData & | rMark | ||
) |
Definition at line 524 of file column.cxx.
References ScMarkData::GetMultiSelData(), ScMarkData::IsMultiMarked(), nCol, ScMultiSelIter::Next(), and ScColumnData::pAttrArray.
void ScColumn::ApplyStyle | ( | SCROW | nRow, |
const ScStyleSheet * | rStyle | ||
) |
Definition at line 516 of file column.cxx.
References ScColumnData::pAttrArray.
Referenced by ScTable::ApplyStyle().
Definition at line 3178 of file column2.cxx.
References assertNoInterpretNeededHelper(), maCells, and sc::ParseBlock().
void ScColumn::AttachFormulaCells | ( | sc::StartListeningContext & | rCxt, |
SCROW | nRow1, | ||
SCROW | nRow2 | ||
) |
Definition at line 558 of file column3.cxx.
References sc::element_type_formula, GetDoc(), ScFormulaCell::GetSharedLength(), ScFormulaCell::GetSharedTopRow(), ScFormulaCell::IsShared(), sc::SharedFormulaUtil::joinFormulaCellAbove(), maCells, sc::ProcessFormula(), and ValidRow().
|
private |
Definition at line 683 of file column3.cxx.
References AttachNewFormulaCell(), and maCells.
Referenced by AttachNewFormulaCell(), SetError(), SetFormula(), and SetFormulaCell().
|
private |
Definition at line 691 of file column3.cxx.
References sc::ConvertToGroupListening, GetDoc(), GetFormulaCell(), ScDocument::IsCalcingAfterLoad(), ScDocument::IsClipOrUndo(), ScDocument::IsInsertingFromOtherDoc(), JoinNewFormulaCell(), ScFormulaCell::NeedsListening(), sc::NoListening, ScFormulaCell::SetDirty(), SetNeedsListeningGroup(), sc::SingleCellListening, StartListeningFormulaCells(), ScFormulaCell::StartListeningTo(), and StartListeningUnshared().
void ScColumn::AttachNewFormulaCells | ( | const sc::CellStoreType::position_type & | aPos, |
size_t | nLength, | ||
std::vector< SCROW > & | rNewSharedRows | ||
) |
Definition at line 758 of file column3.cxx.
References ScFormulaCell::aPos, sc::element_type_formula, GetDoc(), ScFormulaCell::GetSharedLength(), ScFormulaCell::GetSharedTopRow(), ScDocument::IsCalcingAfterLoad(), ScDocument::IsClipOrUndo(), ScDocument::IsInsertingFromOtherDoc(), ScFormulaCell::IsShared(), JoinNewFormulaCell(), nLength, ScAddress::Row(), and StartListeningUnshared().
Referenced by SetFormulaCells().
void ScColumn::Broadcast | ( | SCROW | nRow | ) |
Definition at line 75 of file column3.cxx.
References ScDocument::Broadcast(), GetDoc(), nCol, and nTab.
Referenced by BroadcastNewCell(), Delete(), DeleteContent(), and 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 3192 of file column.cxx.
References maBroadcasters, nCol, nTab, and sc::ProcessBroadcaster().
Referenced by SetDirty().
Definition at line 81 of file column3.cxx.
References ScDocument::Broadcast(), GetDoc(), nCol, nTab, and ScHint::SetAddressRow().
Referenced by BroadcastRecalcOnRefMove(), BroadcastRows(), CopyCellValuesFrom(), DeleteArea(), SetValues(), and TransferCellValuesTo().
|
private |
Definition at line 827 of file column3.cxx.
References Broadcast(), and GetDoc().
Referenced by SetEditText(), SetRawString(), and SetValue().
void ScColumn::BroadcastRecalcOnRefMove | ( | ) |
Definition at line 3285 of file column.cxx.
References BroadcastCells(), GetDoc(), maCells, and sc::ProcessFormula().
Definition at line 96 of file column3.cxx.
References BroadcastCells(), GetDoc(), GetLastDataPos(), sc::SingleColumnSpanSet::getRows(), and sc::SingleColumnSpanSet::scan().
void ScColumn::CalcAfterLoad | ( | sc::CompileFormulaContext & | rCxt, |
bool | bStartListening | ||
) |
Definition at line 3319 of file column.cxx.
References maCells, and sc::ProcessFormula().
void ScColumn::CalcAll | ( | ) |
Definition at line 3293 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 3221 of file column2.cxx.
References sc::element_type_formula, GetDoc(), i, ScFormulaCell::InterpretTail(), maCells, ScFormulaCell::NeedsInterpret(), and ScFormulaCell::SCITP_NORMAL.
Definition at line 2253 of file column2.cxx.
References GetDoc(), maCellNotes, nCol, nTab, and sc::ParseNote().
Referenced by DeleteCellNotes(), and DeleteRow().
|
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 1680 of file column2.cxx.
References ScDocument::DiscardFormulaGroupContext(), sc::element_type_empty, endl(), GetDoc(), maBroadcasters, maCells, and maCellTextAttrs.
Referenced by CloneFormulaCell(), ScTable::CopyCellToDocument(), CopyCellToDocument(), CopyCellValuesFrom(), CopyOneCellFromClip(), ScTable::CopyStaticToDocument(), CopyStaticToDocument(), CopyToClip(), CopyToColumn(), CopyUpdated(), Delete(), DeleteCells(), DeleteContent(), DeleteRow(), FreeAll(), GetRangeScriptType(), ScDocumentImport::initColumn(), InsertRow(), MixData(), MoveTo(), SetEditText(), SetError(), SetFormula(), SetFormulaCell(), SetFormulaCells(), SetRawString(), SetScriptType(), SetTextWidth(), SetValue(), SetValues(), Swap(), SwapCol(), SwapNonEmpty(), TransferCellValuesTo(), UpdateDeleteTab(), UpdateInsertTabAbs(), UpdateInsertTabOnlyCells(), UpdateMoveTab(), and UpdateScriptTypes().
void ScColumn::ChangeSelectionIndent | ( | bool | bIncrement, |
const ScMarkData & | rMark | ||
) |
Definition at line 421 of file column.cxx.
References ScColumnData::ChangeSelectionIndent(), and nCol.
void ScColumn::CheckIntegrity | ( | ) | const |
Definition at line 2207 of file column4.cxx.
References maCells, mnBlkCountFormula, and nCount.
void ScColumn::CheckVectorizationState | ( | ) |
Definition at line 3140 of file column.cxx.
References GetDoc(), maCells, and sc::ProcessFormula().
Definition at line 1025 of file column.hxx.
References ScColumnData::pAttrArray.
void ScColumn::ClearSelectionItems | ( | const sal_uInt16 * | pWhich, |
const ScMarkData & | rMark | ||
) |
Definition at line 449 of file column.cxx.
References ScColumnData::ClearSelectionItems(), and nCol.
void ScColumn::CloneFormulaCell | ( | const ScFormulaCell & | rSrc, |
const sc::CellTextAttr & | rAttr, | ||
const std::vector< sc::RowSpan > & | rRanges | ||
) |
Definition at line 715 of file column4.cxx.
References CloneFormulaCell(), and InitBlockPosition().
void ScColumn::CloneFormulaCell | ( | sc::ColumnBlockPosition & | rBlockPos, |
const ScFormulaCell & | rSrc, | ||
const sc::CellTextAttr & | rAttr, | ||
const std::vector< sc::RowSpan > & | rRanges | ||
) |
Definition at line 636 of file column4.cxx.
References CellStorageModified(), sc::element_type_formula, Formula, ScFormulaCell::GetCode(), GetDoc(), ScDocument::GetGrammar(), ScFormulaCell::GetMatColsRows(), ScFormulaCell::GetMatrixFlag(), i, ScAddress::IncRow(), formula::FormulaTokenArray::IsShareable(), JoinNewFormulaCell(), maCells, maCellTextAttrs, sc::ColumnBlockPosition::miCellPos, sc::ColumnBlockPosition::miCellTextAttrPos, nCol, nTab, SAL_WARN_IF, and ScFormulaCell::SetMatColsRows().
Referenced by CloneFormulaCell(), and CopyOneCellFromClip().
|
private |
Definition at line 2232 of file column4.cxx.
References sc::BroadcasterState::aCellListenerStore, sc::element_type_broadcaster, SvtBroadcaster::GetAllListeners(), maBroadcasters, nCol, and nTab.
void ScColumn::CollectFormulaCells | ( | std::vector< ScFormulaCell * > & | rCells, |
SCROW | nRow1, | ||
SCROW | nRow2 | ||
) |
Definition at line 1390 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 1381 of file column4.cxx.
References GetDoc(), maBroadcasters, sc::ProcessBroadcaster(), and ValidRow().
void ScColumn::CompileAll | ( | sc::CompileFormulaContext & | rCxt | ) |
Definition at line 3299 of file column.cxx.
References maCells, and sc::ProcessFormula().
void ScColumn::CompileColRowNameFormula | ( | sc::CompileFormulaContext & | rCxt | ) |
Definition at line 3581 of file column2.cxx.
References maCells, sc::ProcessFormula(), and RegroupFormulaCells().
void ScColumn::CompileDBFormula | ( | sc::CompileFormulaContext & | rCxt | ) |
Definition at line 3574 of file column2.cxx.
References maCells, sc::ProcessFormula(), and RegroupFormulaCells().
bool ScColumn::CompileErrorCells | ( | sc::CompileFormulaContext & | rCxt, |
FormulaError | nErrCode | ||
) |
Definition at line 3312 of file column.cxx.
References maCells, and sc::ProcessFormula().
void ScColumn::CompileHybridFormula | ( | sc::StartListeningContext & | rStartListenCxt, |
sc::CompileFormulaContext & | rCompileCxt | ||
) |
Definition at line 1108 of file column4.cxx.
References GetDoc(), and GetFormulaGroupEntries().
void ScColumn::CompileXML | ( | sc::CompileFormulaContext & | rCxt, |
ScProgress & | rProgress | ||
) |
Definition at line 3305 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 530 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 1950 of file column2.cxx.
References GetDoc(), ScDocument::GetDrawLayer(), SdrModel::isLocked(), IsNotesEmptyBlock(), maCellNotes, sc::ParseNote(), and SdrModel::setLock().
Referenced by CopyStaticToDocument(), and DuplicateNotes().
void ScColumn::CopyCellSparklinesToDocument | ( | SCROW | nRow1, |
SCROW | nRow2, | ||
ScColumn & | rDestCol, | ||
SCROW | nRowOffsetDest = 0 |
||
) | const |
Definition at line 2144 of file column2.cxx.
References IsSparklinesEmptyBlock(), maSparklines, and sc::ParseSparkline().
Referenced by DuplicateSparklines().
|
private |
Definition at line 1853 of file column2.cxx.
References maCellTextAttrs.
Referenced by CopyStaticToDocument().
Definition at line 1089 of file column.cxx.
References CellStorageModified(), 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(), GetDoc(), 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 454 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 1530 of file column3.cxx.
References aArr, ALL, ATTRIB, CONTENTS, sc::ClipContextBase::getBlockPosition(), GetDoc(), sc::CopyFromClipContext::getInsertFlag(), ScDocument::GetPool(), ScDocument::GetSharedStringPool(), sc::SingleColumnSpanSet::getSpans(), ScSingleRefData::InitFlags(), sc::CopyFromClipContext::isAsLink(), sc::CopyFromClipContext::isSkipEmptyCells(), maCells, maCellTextAttrs, nCol, NONE, nTab, sc::ParseBlock(), ScColumnData::pAttrArray, sc::SingleColumnSpanSet::scan(), ScSingleRefData::SetAbsCol(), ScSingleRefData::SetAbsRow(), ScSingleRefData::SetAbsTab(), ScSingleRefData::SetFlag3D(), SetFormulaCell(), and ScAddress::SetRow().
void ScColumn::CopyOneCellFromClip | ( | sc::CopyFromClipContext & | rCxt, |
SCROW | nRow1, | ||
SCROW | nRow2, | ||
size_t | nColOffset | ||
) |
Definition at line 247 of file column4.cxx.
References Add, ADDNOTES, ScRange::aStart, aStr, ATTRIB, CellStorageModified(), CELLTYPE_EDIT, CELLTYPE_FORMULA, CELLTYPE_NONE, CELLTYPE_STRING, CELLTYPE_VALUE, EditTextObject::Clone(), ScPostIt::Clone(), CloneFormulaCell(), CONTENTS, duplicateSparkline(), sc::ClipContextBase::getBlockPosition(), sc::CopyFromClipContext::getClipDoc(), ScDocument::GetClipParam(), GetDoc(), ScCellValue::getDouble(), ScCellValue::getEditText(), ScCellValue::getFormula(), sc::CopyFromClipContext::getInsertFlag(), ScDocument::GetPool(), ScCellValue::getSharedString(), ScDocument::GetSharedStringPool(), sc::CopyFromClipContext::getSingleCell(), sc::CopyFromClipContext::getSingleCellAttr(), sc::CopyFromClipContext::getSingleCellNote(), sc::CopyFromClipContext::getSingleCellPattern(), svl::SharedString::getString(), ScCellValue::getType(), ScClipParam::getWholeRange(), i, ScAddress::IncRow(), svl::SharedStringPool::intern(), sc::CopyFromClipContext::isSkipEmptyCells(), ScDocShell::LOKCommentNotify(), maCellNotes, maCells, maCellTextAttrs, sc::ColumnBlockPosition::miCellNotePos, sc::ColumnBlockPosition::miCellPos, sc::ColumnBlockPosition::miCellTextAttrPos, nCol, NOCAPTIONS, NONE, NOTE, nTab, ScColumnData::pAttrArray, ScPatternAttr::PutInPool(), and ScAddress::SetRow().
Referenced by ScTable::CopyOneCellFromClip().
void ScColumn::CopyScenarioFrom | ( | const ScColumn & | rSrcCol | ) |
Definition at line 1698 of file column.cxx.
References ATTR_MERGE_FLAG(), CONTENTS, CopyToColumn(), DeleteArea(), ScDocument::GetDefPattern(), GetDoc(), ScPatternAttr::GetItem(), sc::RefUpdateContext::maRange, sc::RefUpdateContext::meMode, sc::RefUpdateContext::mnTabDelta, nCol, ScAttrIterator::Next(), nTab, ScColumnData::pAttrArray, UpdateCompile(), UpdateReferenceOnCopy(), and URM_COPY.
void ScColumn::CopyScenarioTo | ( | ScColumn & | rDestCol | ) | const |
Definition at line 1727 of file column.cxx.
References ATTR_MERGE_FLAG(), CONTENTS, CopyToColumn(), DeleteArea(), ScDocument::GetDefPattern(), GetDoc(), ScPatternAttr::GetItem(), sc::RefUpdateContext::maRange, sc::RefUpdateContext::meMode, sc::RefUpdateContext::mnTabDelta, nCol, ScAttrIterator::Next(), nTab, ScColumnData::pAttrArray, UpdateCompile(), UpdateReferenceOnCopy(), and URM_COPY.
void ScColumn::CopyStaticToDocument | ( | SCROW | nRow1, |
SCROW | nRow2, | ||
const SvNumberFormatterMergeMap & | rMap, | ||
ScColumn & | rDestCol | ||
) |
Definition at line 964 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(), ScFormulaCell::GetString(), ScEditUtil::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 945 of file column.cxx.
References All, CellStorageModified(), sc::ClipContextBase::getBlockPosition(), GetDoc(), sc::CopyToClipContext::isKeepScenarioFlags(), maCells, maCellTextAttrs, nCol, nTab, sc::ParseBlock(), ScColumnData::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 1592 of file column.cxx.
References ATTRIB, CellStorageModified(), CONTENTS, CopyToColumn(), sc::ClipContextBase::getBlockPosition(), GetDoc(), ScMarkData::GetMultiSelData(), ScDocument::GetPool(), ScDocument::GetSharedStringPool(), ScMarkData::IsMultiMarked(), sc::CopyToDocContext::isStartListening(), maCells, nCol, ScMultiSelIter::Next(), NONE, nTab, sc::ParseBlock(), ScColumnData::pAttrArray, and STYLES.
Referenced by CopyScenarioFrom(), CopyScenarioTo(), CopyToColumn(), and UndoToColumn().
Definition at line 1675 of file column.cxx.
References CellStorageModified(), GetDoc(), sc::SingleColumnSpanSet::getSpans(), maCells, sc::ParseBlock(), and sc::SingleColumnSpanSet::scan().
void ScColumn::CreateAllNoteCaptions | ( | ) |
Definition at line 773 of file column4.cxx.
References maCellNotes, nCol, nTab, and sc::ProcessNote().
void ScColumn::CreateSparklineCell | ( | SCROW | nRow, |
std::shared_ptr< sc::Sparkline > const & | pSparkline | ||
) |
Definition at line 2061 of file column2.cxx.
References sc::SparklineList::addSparkline(), GetDoc(), ScDocument::GetSparklineList(), GetTab(), and maSparklines.
Referenced by ScTable::CreateSparkline().
void ScColumn::Delete | ( | SCROW | nRow | ) |
Definition at line 227 of file column3.cxx.
References Broadcast(), CellStorageModified(), DeleteContent(), maCellNotes, maCellTextAttrs, and maSparklines.
void ScColumn::DeleteArea | ( | SCROW | nStartRow, |
SCROW | nEndRow, | ||
InsertDeleteFlags | nDelFlag, | ||
bool | bBroadcast = true , |
||
sc::ColumnSpanSet * | pBroadcastSpans = nullptr |
||
) |
Definition at line 1101 of file column3.cxx.
References ATTRIB, BroadcastCells(), CONTENTS, DeleteCellNotes(), DeleteCells(), DeleteSparklineCells(), EDITATTR, FORGETCAPTIONS, GetDoc(), HARDATTR, InitBlockPosition(), IsEmptyData(), sc::RowSpan::mnRow1, sc::RowSpan::mnRow2, nCol, NOCAPTIONS, NONE, NOTE, nTab, ScColumnData::pAttrArray, RemoveEditAttribs(), sc::ColumnSpanSet::set(), and SPARKLINES.
Referenced by CopyScenarioFrom(), CopyScenarioTo(), DeleteRanges(), DeleteSelection(), and RemoveProtected().
void ScColumn::DeleteBeforeCopyFromClip | ( | sc::CopyFromClipContext & | rCxt, |
const ScColumn & | rClipCol, | ||
sc::ColumnSpanSet & | rBroadcastSpans | ||
) |
Definition at line 95 of file column4.cxx.
References ScRange::aEnd, ScColumnData::ApplyPatternArea(), ScRange::aStart, ATTRIB, CONTENTS, ScConditionalFormatList::DeleteArea(), DeleteCellNotes(), DeleteCells(), DeleteSparklineCells(), EDITATTR, sc::ClipContextBase::getBlockPosition(), sc::CopyFromClipContext::getClipDoc(), ScDocument::GetClipParam(), sc::CopyFromClipContext::getCondFormatList(), sc::CopyFromClipContext::getDeleteFlag(), sc::CopyFromClipContext::getDestRange(), GetDoc(), ScPatternAttr::GetItemSet(), ScDocument::GetPool(), sc::SingleColumnSpanSet::getSpans(), ScClipParam::getWholeRange(), HARDATTR, sc::CopyFromClipContext::isSkipEmptyCells(), sc::CopyFromClipContext::isTableProtected(), sc::CopyFromClipContext::Range::mnRow1, sc::CopyFromClipContext::Range::mnRow2, nCol, NOTE, nTab, ScColumnData::pAttrArray, SfxItemSet::Put(), RemoveEditAttribs(), ScAddress::Row(), sc::SingleColumnSpanSet::scan(), sc::ColumnSpanSet::set(), sc::CopyFromClipContext::setListeningFormulaSpans(), SPARKLINES, and ScDocument::ValidRow().
void ScColumn::DeleteBroadcasters | ( | sc::ColumnBlockPosition & | rBlockPos, |
SCROW | nRow1, | ||
SCROW | nRow2 | ||
) |
Definition at line 1989 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 2260 of file column2.cxx.
References CellNotesDeleting(), maCellNotes, and sc::ColumnBlockPosition::miCellNotePos.
Referenced by DeleteArea(), and DeleteBeforeCopyFromClip().
|
private |
Definition at line 1075 of file column3.cxx.
References CellStorageModified(), GetDoc(), maCells, sc::ColumnBlockPosition::miCellPos, and sc::ProcessBlock().
Referenced by DeleteArea(), and DeleteBeforeCopyFromClip().
void ScColumn::DeleteContent | ( | SCROW | nRow, |
bool | bBroadcast = true |
||
) |
Definition at line 205 of file column3.cxx.
References Broadcast(), CellStorageModified(), sc::element_type_formula, GetDoc(), maCells, p, and sc::SharedFormulaUtil::unshareFormulaCell().
Referenced by Delete(), and ScCellValue::release().
void ScColumn::DeleteEmptyBroadcasters | ( | ) |
Definition at line 2021 of file column2.cxx.
References maBroadcasters, and mbEmptyBroadcastersPending.
void ScColumn::DeleteRanges | ( | const std::vector< sc::RowSpan > & | rRanges, |
InsertDeleteFlags | nDelFlag | ||
) |
Definition at line 630 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 275 of file column3.cxx.
References CellNotesDeleting(), CellStorageModified(), sc::element_type_empty, GetDoc(), sc::SharedFormulaUtil::joinFormulaCellAbove(), maBroadcasters, maCellNotes, maCells, maCellTextAttrs, sc::ColumnBlockConstPosition::miCellPos, nCol, nTab, ScColumnData::pAttrArray, sc::ProcessFormula(), and sc::SingleColumnSpanSet::scan().
void ScColumn::DeleteSelection | ( | InsertDeleteFlags | nDelFlag, |
const ScMarkData & | rMark, | ||
bool | bBroadcast | ||
) |
Definition at line 454 of file column.cxx.
References DeleteArea(), ScMarkData::GetMultiSelData(), ScMarkData::IsMultiMarked(), nCol, and ScMultiSelIter::Next().
bool ScColumn::DeleteSparkline | ( | SCROW | nRow | ) |
Definition at line 2076 of file column2.cxx.
References GetDoc(), maSparklines, nTab, sc::ParseSparkline(), and ValidRow().
void ScColumn::DeleteSparklineCells | ( | sc::ColumnBlockPosition & | rBlockPos, |
SCROW | nRow1, | ||
SCROW | nRow2 | ||
) |
Definition at line 2068 of file column2.cxx.
References GetDoc(), maSparklines, sc::ColumnBlockPosition::miSparklinePos, nTab, and sc::ParseSparkline().
Referenced by DeleteArea(), and DeleteBeforeCopyFromClip().
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 382 of file column3.cxx.
References ScFormulaCell::aPos, ScFormulaCell::EndListeningTo(), GetDoc(), ScFormulaCell::GetSharedLength(), ScFormulaCell::GetSharedTopRow(), ScFormulaCell::IsShared(), ScAddress::Row(), and sc::SharedFormulaUtil::unshareFormulaCell().
Referenced by GetPositionToInsert().
void ScColumn::DetachFormulaCells | ( | const sc::CellStoreType::position_type & | aPos, |
size_t | nLength, | ||
std::vector< SCROW > * | pNewSharedRows | ||
) |
Definition at line 493 of file column3.cxx.
References GetDoc(), ScFormulaCell::GetSharedLength(), sc::SharedFormulaUtil::getSharedTopFormulaCell(), ScFormulaCell::GetSharedTopRow(), maCells, nLength, sc::ProcessFormula(), sc::SharedFormulaUtil::splitFormulaCellGroup(), and ValidRow().
Referenced by ConvertFormulaToValue(), CopyCellValuesFrom(), SetFormulaCells(), SetValues(), and TransferCellValuesTo().
void ScColumn::DetachFormulaCells | ( | sc::EndListeningContext & | rCxt, |
SCROW | nRow1, | ||
SCROW | nRow2 | ||
) |
Definition at line 611 of file column3.cxx.
References GetDoc(), maCells, sc::ProcessFormula(), sc::SharedFormulaUtil::splitFormulaCellGroup(), and ValidRow().
void ScColumn::DumpColumnStorage | ( | ) | const |
void ScColumn::DuplicateNotes | ( | SCROW | nStartRow, |
size_t | nDataSize, | ||
ScColumn & | rDestCol, | ||
sc::ColumnBlockPosition & | rDestBlockPos, | ||
bool | bCloneCaption, | ||
SCROW | nRowOffsetDest = 0 |
||
) | const |
Definition at line 1972 of file column2.cxx.
References CopyCellNotesToDocument(), maCellNotes, and sc::ColumnBlockPosition::miCellNotePos.
|
private |
Definition at line 370 of file column4.cxx.
References ScAddress::Col(), GetDoc(), sc::CopyFromClipContext::getInsertFlag(), sc::CopyFromClipContext::getSingleSparkline(), i, ScAddress::IncRow(), maSparklines, sc::ColumnBlockPosition::miSparklinePos, NONE, ScAddress::Row(), ScDocument::SearchSparklineGroup(), and SPARKLINES.
Referenced by CopyOneCellFromClip().
void ScColumn::DuplicateSparklines | ( | SCROW | nStartRow, |
size_t | nDataSize, | ||
ScColumn & | rDestCol, | ||
sc::ColumnBlockPosition & | rDestBlockPos, | ||
SCROW | nRowOffsetDest = 0 |
||
) | const |
Definition at line 2154 of file column2.cxx.
References CopyCellSparklinesToDocument(), maSparklines, and sc::ColumnBlockPosition::miSparklinePos.
void ScColumn::EndListening | ( | sc::EndListeningContext & | rCxt, |
const ScAddress & | rAddress, | ||
SvtListener & | rListener | ||
) |
Definition at line 3523 of file column2.cxx.
References sc::EndListeningContext::addEmptyBroadcasterPosition(), ScAddress::Col(), sc::element_type_broadcaster, SvtListener::EndListening(), sc::EndListeningContext::getBlockPosition(), SvtBroadcaster::HasListeners(), maBroadcasters, p, ScAddress::Row(), and ScAddress::Tab().
void ScColumn::EndListening | ( | SvtListener & | rLst, |
SCROW | nRow | ||
) |
Definition at line 3492 of file column2.cxx.
References SvtListener::EndListening(), GetBroadcaster(), GetDoc(), SvtBroadcaster::HasListeners(), maBroadcasters, and mbEmptyBroadcastersPending.
void ScColumn::EndListeningFormulaCells | ( | sc::EndListeningContext & | rCxt, |
SCROW | nRow1, | ||
SCROW | nRow2, | ||
SCROW * | pStartRow, | ||
SCROW * | pEndRow | ||
) |
Definition at line 1617 of file column4.cxx.
References HasFormulaCell(), maCells, and sc::ProcessBlock().
|
private |
Definition at line 1713 of file column4.cxx.
References sc::element_type_formula, ScFormulaCell::EndListeningTo(), and maCells.
|
private |
Definition at line 1634 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 1668 of file column4.cxx.
References sc::element_type_formula, ScFormulaCell::EndListeningTo(), ScFormulaCell::GetCellGroup(), ScAddress::IncRow(), ScFormulaCell::IsSharedTop(), and maCells.
Definition at line 1993 of file column4.cxx.
References GetDoc(), HasFormulaCell(), lcl_EvalDirty(), maCells, and ValidRow().
|
inline |
Definition at line 940 of file column.hxx.
References ScColumnData::pAttrArray.
|
private |
Definition at line 3321 of file column2.cxx.
References GetFormulaCellBlockAddress().
Referenced by GetFormula(), and GetFormulaCell().
formula::VectorRefArray ScColumn::FetchVectorRefArray | ( | SCROW | nRow1, |
SCROW | nRow2 | ||
) |
Definition at line 2962 of file column2.cxx.
References 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, nCol, nPos, nTab, p, and sc::FormulaGroupContext::setCachedColArray().
void ScColumn::FillMatrix | ( | ScMatrix & | rMat, |
size_t | nMatCol, | ||
SCROW | nRow1, | ||
SCROW | nRow2, | ||
svl::SharedStringPool * | pPool | ||
) | const |
Definition at line 2691 of file column2.cxx.
References GetDoc(), maCells, and sc::ParseBlock().
void ScColumn::FindDataAreaPos | ( | SCROW & | rRow, |
bool | bDown | ||
) | const |
Definition at line 3328 of file column2.cxx.
References sc::element_type_empty, FindNextVisibleRow(), FindNextVisibleRowWithContent(), and maCells.
Definition at line 1592 of file column2.cxx.
References GetDoc(), ScDocument::MaxRow(), nTab, and ScDocument::RowHidden().
Referenced by FindDataAreaPos().
|
private |
Definition at line 1616 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 3113 of file column.cxx.
References maCells, and sc::ParseFormula().
|
inline |
Definition at line 1005 of file column.hxx.
References ScColumnData::pAttrArray.
void ScColumn::FindUsed | ( | SCROW | nStartRow, |
SCROW | nEndRow, | ||
mdds::flat_segment_tree< SCROW, bool > & | rUsed | ||
) | const |
Definition at line 3450 of file column2.cxx.
References maCells, and sc::ParseBlock().
Definition at line 779 of file column4.cxx.
References GetDoc(), maCellNotes, sc::ProcessNote(), and ValidRow().
void ScColumn::FreeAll | ( | ) |
Definition at line 238 of file column3.cxx.
References CellStorageModified(), GetDoc(), ScDocument::GetMaxRowCount(), maCellNotes, maCells, maCellTextAttrs, and maSparklines.
Referenced by ~ScColumn().
void ScColumn::FreeNotes | ( | ) |
Definition at line 255 of file column3.cxx.
References GetDoc(), and maCellNotes.
void ScColumn::GetAllNoteEntries | ( | std::vector< sc::NoteEntry > & | rNotes | ) | const |
Definition at line 857 of file column4.cxx.
References GetDoc(), maCellNotes, nCol, and nTab.
const ScStyleSheet * ScColumn::GetAreaStyle | ( | bool & | rFound, |
SCROW | nRow1, | ||
SCROW | nRow2 | ||
) | const |
Definition at line 593 of file column.cxx.
References GetDoc(), ScPatternAttr::GetStyleSheet(), ScAttrIterator::Next(), and ScColumnData::pAttrArray.
|
inline |
Definition at line 132 of file column.hxx.
Referenced by sc::CopyFromClipContext::isDateCell().
|
inline |
Definition at line 137 of file column.hxx.
|
inline |
Definition at line 133 of file column.hxx.
|
inline |
Definition at line 138 of file column.hxx.
sc::MatrixEdge ScColumn::GetBlockMatrixEdges | ( | SCROW | nRow1, |
SCROW | nRow2, | ||
sc::MatrixEdge | nMask, | ||
bool | bNoMatrixAtAll | ||
) | const |
Definition at line 111 of file column.cxx.
References sc::element_type_formula, GetDoc(), ScFormulaCell::GetMatrixEdge(), ScFormulaCell::GetMatrixFlag(), i, ScAddress::INITIALIZE_INVALID, maCells, NONE, and ValidRow().
SvtBroadcaster * ScColumn::GetBroadcaster | ( | SCROW | nRow | ) |
Definition at line 1979 of file column2.cxx.
References maBroadcasters.
Referenced by EndListening().
const SvtBroadcaster * ScColumn::GetBroadcaster | ( | SCROW | nRow | ) | const |
Definition at line 1984 of file column2.cxx.
References maBroadcasters.
|
inline |
Definition at line 259 of file column.hxx.
References maCellTextAttrs.
|
inline |
Definition at line 260 of file column.hxx.
References maCellTextAttrs.
SCSIZE ScColumn::GetCellCount | ( | ) | const |
Definition at line 3202 of file column3.cxx.
References maCells.
ScPostIt * ScColumn::GetCellNote | ( | sc::ColumnBlockConstPosition & | rBlockPos, |
SCROW | nRow | ||
) |
Definition at line 2215 of file column2.cxx.
References GetCellNote().
const ScPostIt * ScColumn::GetCellNote | ( | sc::ColumnBlockConstPosition & | rBlockPos, |
SCROW | nRow | ||
) | const |
Definition at line 2204 of file column2.cxx.
References sc::element_type_cellnote, maCellNotes, and sc::ColumnBlockConstPosition::miCellNotePos.
Definition at line 2199 of file column2.cxx.
References maCellNotes.
SCROW ScColumn::GetCellNotesMaxRow | ( | ) | const |
Definition at line 2275 of file column2.cxx.
References sc::element_type_cellnote, and maCellNotes.
SCROW ScColumn::GetCellNotesMinRow | ( | ) | const |
Definition at line 2286 of file column2.cxx.
References maCellNotes.
|
inline |
Definition at line 261 of file column.hxx.
References maCellNotes.
|
inline |
Definition at line 262 of file column.hxx.
References maCellNotes.
|
inline |
Definition at line 257 of file column.hxx.
References maCells.
|
inline |
Definition at line 258 of file column.hxx.
References maCells.
const sc::CellTextAttr * ScColumn::GetCellTextAttr | ( | sc::ColumnBlockConstPosition & | rBlockPos, |
SCROW | nRow | ||
) | const |
Definition at line 699 of file column.cxx.
References sc::element_type_celltextattr, maCellTextAttrs, and sc::ColumnBlockConstPosition::miCellTextAttrPos.
const sc::CellTextAttr * ScColumn::GetCellTextAttr | ( | SCROW | nRow | ) | const |
Definition at line 692 of file column.cxx.
References GetCellTextAttr(), maCellTextAttrs, and sc::ColumnBlockConstPosition::miCellTextAttrPos.
Referenced by GetCellTextAttr(), and sc::CopyFromClipContext::setSingleCell().
Definition at line 3160 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, sc::element_type_string, and maCells.
|
static |
Definition at line 667 of file column.cxx.
References sc::element_type_edittext, sc::element_type_formula, sc::element_type_numeric, and sc::element_type_string.
ScRefCellValue ScColumn::GetCellValue | ( | sc::ColumnBlockConstPosition & | rBlockPos, |
SCROW | nRow | ||
) | const |
Definition at line 657 of file column.cxx.
References GetCellValue(), maCells, and sc::ColumnBlockConstPosition::miCellPos.
ScRefCellValue ScColumn::GetCellValue | ( | sc::ColumnBlockPosition & | rBlockPos, |
SCROW | nRow | ||
) |
Definition at line 647 of file column.cxx.
References GetCellValue(), maCells, and sc::ColumnBlockPosition::miCellPos.
ScRefCellValue ScColumn::GetCellValue | ( | SCROW | nRow | ) | const |
Definition at line 638 of file column.cxx.
References GetCellValue(), and maCells.
Referenced by ScTable::CreateSortInfoArray(), GetCellValue(), GetInputString(), GetNeededSize(), GetOptimalColWidth(), GetString(), ScTable::InvalidateTextWidth(), ScTable::MaybeAddExtraColumn(), ParseString(), and UpdateScriptType().
sal_uInt64 ScColumn::GetCodeCount | ( | ) | const |
Definition at line 3816 of file column2.cxx.
References maCells, and sc::ParseFormula().
|
inline |
Definition at line 256 of file column.hxx.
References nCol.
Referenced by sc::FormulaGroupAreaListener::collectFormulaCells(), sc::FormulaGroupAreaListener::FormulaGroupAreaListener(), and Swap().
std::optional< sc::ColumnIterator > ScColumn::GetColumnIterator | ( | SCROW | nRow1, |
SCROW | nRow2 | ||
) | const |
Definition at line 1773 of file column4.cxx.
References GetDoc(), maCells, and ValidRow().
Referenced by ScTable::GetColumnIterator().
bool ScColumn::GetDataEntries | ( | SCROW | nRow, |
std::set< ScTypedStrData > & | rStrings | ||
) | const |
Definition at line 2830 of file column3.cxx.
void ScColumn::GetDataExtrasAt | ( | SCROW | nRow, |
ScDataAreaExtras & | rDataAreaExtras | ||
) | const |
Definition at line 3410 of file column2.cxx.
References HasVisibleAttrIn(), IsDrawObjectsEmptyBlock(), IsNotesEmptyBlock(), ScDataAreaExtras::mbCellDrawObjects, ScDataAreaExtras::mbCellFormats, ScDataAreaExtras::mbCellNotes, ScDataAreaExtras::mnEndRow, and ScDataAreaExtras::mnStartRow.
Referenced by HasDataAt().
|
inline |
Definition at line 127 of file column.hxx.
Referenced by ApplyAttr(), ApplyPattern(), ApplyPatternIfNumberformatIncompatible(), AttachFormulaCells(), AttachNewFormulaCell(), AttachNewFormulaCells(), Broadcast(), BroadcastCells(), BroadcastNewCell(), BroadcastRecalcOnRefMove(), BroadcastRows(), CalculateInThread(), CellNotesDeleting(), CellStorageModified(), CheckVectorizationState(), CloneFormulaCell(), CollectFormulaCells(), CollectListeners(), CompileHybridFormula(), ConvertFormulaToValue(), CopyCellNotesToDocument(), CopyCellToDocument(), CopyCellValuesFrom(), CopyFromClip(), CopyOneCellFromClip(), CopyScenarioFrom(), CopyScenarioTo(), CopyStaticToDocument(), CopyToClip(), CopyToColumn(), CopyUpdated(), ScColumnData::CreateAttrIterator(), CreateSparklineCell(), sc::DelayStartListeningFormulaCells::DelayStartListeningFormulaCells(), DeleteArea(), DeleteBeforeCopyFromClip(), DeleteCells(), DeleteContent(), DeleteRow(), DeleteSparkline(), DeleteSparklineCells(), DetachFormulaCell(), DetachFormulaCells(), duplicateSparkline(), EndListening(), EndListeningIntersectedGroup(), EnsureFormulaCellResults(), FetchVectorRefArray(), FillMatrix(), FindNextVisibleRow(), FindNextVisibleRowWithContent(), ForgetNoteCaptions(), FreeAll(), FreeNotes(), GetAllNoteEntries(), GetAreaStyle(), GetBlockMatrixEdges(), GetColumnIterator(), ScCellIterator::getCurrent(), GetDataEntries(), GetFormulaCellBlockAddress(), GetInputString(), GetLastDataPos(), GetMaxNumberStringLen(), GetNeededSize(), GetNextSpellingCell(), GetNumberFormat(), GetOptimalColWidth(), GetOptimalHeight(), GetPositionToInsert(), GetRangeScriptType(), GetScriptType(), GetSelectionStyle(), GetString(), HandleRefArrayForParallelism(), HasFormulaCell(), HasSelectionMatrixFragment(), InsertRow(), InterpretCellsIfNeeded(), InterpretDirtyCells(), IsDrawObjectsEmptyBlock(), IsFormulaDirty(), MarkScenarioIn(), MoveTo(), ParseString(), PreprocessDBDataUpdate(), PreprocessRangeNameUpdate(), ReleaseNote(), RemoveEditAttribs(), RemoveProtected(), ResolveStaticReference(), RestoreFromCache(), sc::DelayStartListeningFormulaCells::set(), SetAllFormulasDirty(), SetDirty(), SetDirtyAfterLoad(), SetDirtyFromClip(), SetDirtyIfPostponed(), SetEditText(), SetError(), SetFormula(), SetFormulaCell(), SetFormulaCells(), SetRawString(), SetScriptType(), SetString(), SetTableOpDirty(), SetValue(), SetValues(), SplitFormulaGroupByRelativeRef(), StartListening(), StartListeningUnshared(), Swap(), SwapCol(), SwapNonEmpty(), TestCopyScenarioTo(), TestInsertRow(), TransferCellValuesTo(), UndoToColumn(), UpdateDrawObjectsForRow(), UpdateReference(), UpdateReferenceOnCopy(), UpdateScriptType(), UpdateScriptTypes(), UpdateSelectionFunction(), and sc::DelayStartListeningFormulaCells::~DelayStartListeningFormulaCells().
const EditTextObject * ScColumn::GetEditText | ( | SCROW | nRow | ) | const |
Definition at line 3115 of file column3.cxx.
References sc::element_type_edittext, and maCells.
SCSIZE ScColumn::GetEmptyLinesInBlock | ( | SCROW | nStartRow, |
SCROW | nEndRow, | ||
ScDirection | eDir | ||
) | const |
Definition at line 1363 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 3209 of file column3.cxx.
References sc::element_type_formula, GetErrCode(), maCells, and p.
Referenced by GetErrCode().
void ScColumn::GetFilterEntries | ( | sc::ColumnBlockConstPosition & | rBlockPos, |
SCROW | nStartRow, | ||
SCROW | nEndRow, | ||
ScFilterEntries & | rFilterEntries, | ||
bool | bFiltering, | ||
bool | bFilteredRow | ||
) |
Definition at line 2695 of file column3.cxx.
References maCells, sc::ColumnBlockConstPosition::miCellPos, and sc::ParseAll().
SCROW ScColumn::GetFirstDataPos | ( | ) | const |
Definition at line 1405 of file column2.cxx.
References sc::element_type_empty, IsEmptyData(), and maCells.
|
inline |
Definition at line 888 of file column.hxx.
References ScColumnData::pAttrArray.
OUString ScColumn::GetFormula | ( | SCROW | nRow | ) | const |
Definition at line 3142 of file column3.cxx.
References FetchFormulaCell(), and p.
ScFormulaCell * ScColumn::GetFormulaCell | ( | SCROW | nRow | ) |
Definition at line 3155 of file column3.cxx.
References FetchFormulaCell().
const ScFormulaCell * ScColumn::GetFormulaCell | ( | SCROW | nRow | ) | const |
Definition at line 3150 of file column3.cxx.
References FetchFormulaCell().
Referenced by AttachNewFormulaCell().
ScFormulaCell *const * ScColumn::GetFormulaCellBlockAddress | ( | SCROW | nRow, |
size_t & | rBlockSize | ||
) | const |
Definition at line 3294 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 2448 of file column.cxx.
References maCells.
Referenced by CompileHybridFormula(), ScFormulaGroupIterator::next(), PreprocessDBDataUpdate(), PreprocessRangeNameUpdate(), ScFormulaGroupIterator::ScFormulaGroupIterator(), and UpdateReference().
|
private |
Definition at line 3088 of file column3.cxx.
References GetDoc(), ScCellFormat::GetInputString(), and GetNumberFormat().
|
inline |
Definition at line 450 of file column.hxx.
References GetCellValue(), and GetInputString().
|
inline |
Definition at line 448 of file column.hxx.
References GetCellValue(), and GetInputString().
Referenced by GetInputString().
SCROW ScColumn::GetLastDataPos | ( | ) | const |
Definition at line 1417 of file column2.cxx.
References sc::element_type_empty, GetDoc(), IsEmptyData(), maCells, and ScDocument::MaxRow().
Referenced by BroadcastRows(), GetLastVisibleAttr(), GetNextSpellingCell(), sc::SingleColumnSpanSet::scan(), and StoreToCache().
SCROW ScColumn::GetLastDataPos | ( | SCROW | nLastRow, |
ScDataAreaExtras * | pDataAreaExtras = nullptr |
||
) | const |
Definition at line 1429 of file column2.cxx.
References sc::element_type_empty, GetDoc(), HasVisibleAttrIn(), IsDrawObjectsEmptyBlock(), IsNotesEmptyBlock(), maCells, ScDataAreaExtras::mbCellDrawObjects, ScDataAreaExtras::mbCellFormats, ScDataAreaExtras::mbCellNotes, and ScDataAreaExtras::mnEndRow.
|
inline |
Definition at line 893 of file column.hxx.
References GetLastDataPos(), and ScColumnData::pAttrArray.
sal_Int32 ScColumn::GetMaxNumberStringLen | ( | sal_uInt16 & | nPrecision, |
SCROW | nRowStart, | ||
SCROW | nRowEnd | ||
) | const |
Definition at line 3520 of file column3.cxx.
References GetDoc(), ScDocument::GetDocOptions(), ScDocOptions::GetStdPrecision(), maCells, and sc::ParseFormulaNumeric().
sal_Int32 ScColumn::GetMaxStringLen | ( | SCROW | nRowStart, |
SCROW | nRowEnd, | ||
rtl_TextEncoding | eCharSet | ||
) | const |
Definition at line 3359 of file column3.cxx.
References maCells, and sc::ParseAllNonEmpty().
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 85 of file column2.cxx.
References ScDocument::ApplyAsianEditSettings(), 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, o3tl::convert(), ScDocument::CreateFieldEditEngine(), ScDocument::DisposeFieldEditEngine(), EE_PARA_HYPHENATE(), sc::element_type_empty, ScPatternAttr::FillEditItemSet(), ScPatternAttr::fillFontOnly(), SfxItemSet::Get(), SvxMarginItem::GetBottomMargin(), ScPatternAttr::GetCellOrientation(), GetCellValue(), ScMergeAttr::GetColMerge(), ScDocument::GetColWidth(), ScDocument::GetCondResult(), ScGlobal::GetDefaultScriptType(), Fraction::GetDenominator(), GetDoc(), ScRefCellValue::getEditText(), OutputDevice::GetFont(), vcl::Font::GetFontSize(), ScDocument::GetFormatTable(), ScRefCellValue::getFormula(), LinguMgr::GetHyphenator(), ScPatternAttr::GetItem(), SfxItemSet::GetItemIfSet(), 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(), ScRefCellValue::getType(), SvNumberFormatter::GetType(), CntUInt16Item::GetValue(), SfxBoolItem::GetValue(), SdrAngleItem::GetValue(), ScMergeFlagAttr::HasAutoFilter(), ScRefCellValue::hasNumeric(), Size::Height(), IsAmbiguousScript(), ScMergeFlagAttr::IsHorOverlapped(), ScFormulaCell::IsMultilineResult(), ScFormulaCell::IsRunning(), ScFormulaCell::IsValue(), ScMergeFlagAttr::IsVerOverlapped(), OutputDevice::LogicToPixel(), maCells, o3tl::mm100, nCol, nPPTX, nPPTY, nTab, nValue, OUTDEV_PRINTER, ScColumnData::pAttrArray, OutputDevice::PixelToLogic(), ScNeededSizeOptions::pPattern, o3tl::pt, o3tl::px, Right, SC_ROT_BREAK_FACTOR, OutputDevice::SetFont(), Size::setHeight(), OutputDevice::SetMapMode(), ScPatternAttr::SetStyleSheet(), Size::setWidth(), SVX_ROTATE_MODE_STANDARD, toRadians(), o3tl::toTwips(), o3tl::twip, and Size::Width().
Referenced by GetOptimalColWidth(), GetOptimalHeight(), and ScTable::MaybeAddExtraColumn().
bool ScColumn::GetNextDataPos | ( | SCROW & | rRow | ) | const |
Definition at line 1500 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 1104 of file column2.cxx.
References sc::element_type_edittext, sc::element_type_empty, sc::element_type_string, eType, GetDoc(), GetLastDataPos(), GetNextDataPos(), ScMarkData::GetNextMarked(), ScColumnData::HasAttrib(), ScDocument::IsTabProtected(), maCells, ScDocument::MaxRow(), nCol, nTab, Protected, and ScDocument::ValidRow().
size_t ScColumn::GetNoteCount | ( | ) | const |
Definition at line 734 of file column4.cxx.
References maCellNotes.
SCROW ScColumn::GetNotePosition | ( | size_t | nIndex | ) | const |
Definition at line 792 of file column4.cxx.
References sc::element_type_cellnote, maCellNotes, nCount, and nIndex.
void ScColumn::GetNotesInRange | ( | SCROW | nStartRow, |
SCROW | nEndRow, | ||
std::vector< sc::NoteEntry > & | rNotes | ||
) | const |
Definition at line 862 of file column4.cxx.
References maCellNotes, nCol, and nTab.
|
inline |
Definition at line 154 of file column.hxx.
Referenced by CopyStaticToDocument(), ScCountIfCellIterator< ScQueryCellIteratorAccess::SortedCache >::GetCount(), ScValueIterator::GetCurNumFmtInfo(), GetInputString(), GetString(), ParseString(), SetFormula(), SetFormulaCell(), and SetFormulaCells().
Definition at line 155 of file column.cxx.
References GetDoc(), ScFormulaCell::GetMatrixEdge(), ScFormulaCell::GetMatrixFlag(), Left, NONE, and Right.
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 729 of file column2.cxx.
References ATTR_MARGIN(), ScNeededSizeOptions::bFormula, ScNeededSizeOptions::bGetFont, sc::element_type_empty, ScPatternAttr::fillFontOnly(), GetCellValue(), ScGlobal::GetDefaultScriptType(), GetDoc(), 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, nPPTY, nTab, sc::ParseAllNonEmpty(), ScNeededSizeOptions::pPattern, sc::SingleColumnSpanSet::scan(), OutputDevice::SetFont(), and SV_COUNTRY_LANGUAGE_OFFSET.
void ScColumn::GetOptimalHeight | ( | sc::RowHeightContext & | rCxt, |
SCROW | nStartRow, | ||
SCROW | nEndRow, | ||
sal_uInt16 | nMinHeight, | ||
SCROW | nMinStart | ||
) |
Definition at line 891 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(), ScDocument::GetSheetOptimalMinRowHeight(), sc::SingleColumnSpanSet::getSpans(), ScCompressedArray< A, D >::GetValue(), sc::RowHeightContext::getZoomX(), sc::RowHeightContext::getZoomY(), HasEditCells(), sc::RowHeightContext::isForceAutoSize(), ScMergeFlagAttr::IsOverlapped(), lcl_GetAttribHeight(), maCells, maCellTextAttrs, ManualSize, ScAttrIterator::Next(), nIndex, nTab, ScColumnData::pAttrArray, ScNeededSizeOptions::pPattern, ScAttrIterator::Resync(), sc::SingleColumnSpanSet::scan(), and ScCompressedArray< A, D >::SetValue().
|
inline |
Definition at line 145 of file column.hxx.
Referenced by GetOptimalColWidth(), Swap(), and UpdateScriptType().
|
inline |
Definition at line 905 of file column.hxx.
References ScColumnData::pAttrArray.
Definition at line 910 of file column.hxx.
References ScColumnData::pAttrArray.
|
private |
Definition at line 654 of file column3.cxx.
References DetachFormulaCell(), sc::element_type_formula, GetDoc(), lcl_AddFormulaGroupBoundaries(), and maCells.
|
private |
Definition at line 356 of file column3.cxx.
References GetPositionToInsert(), and maCells.
Referenced by GetPositionToInsert(), SetEditText(), SetError(), SetFormula(), SetFormulaCell(), SetRawString(), and SetValue().
bool ScColumn::GetPrevDataPos | ( | SCROW & | rRow | ) | const |
Definition at line 1454 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 2321 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 2313 of file column2.cxx.
References GetDoc(), maCellTextAttrs, and ValidRow().
const ScStyleSheet * ScColumn::GetSelectionStyle | ( | const ScMarkData & | rMark, |
bool & | rFound | ||
) | const |
Definition at line 554 of file column.cxx.
References ScDocument::GetDefPattern(), GetDoc(), ScMarkData::GetMultiSelData(), ScPatternAttr::GetStyleSheet(), ScMarkData::IsMultiMarked(), nCol, ScAttrIterator::Next(), ScMultiSelIter::Next(), and ScColumnData::pAttrArray.
svl::SharedString ScColumn::GetSharedString | ( | SCROW | nRow | ) | const |
Definition at line 2536 of file column3.cxx.
References sc::element_type_edittext, sc::element_type_string, EditTextObject::GetSharedStrings(), and maCells.
sc::SparklineCell * ScColumn::GetSparklineCell | ( | SCROW | nRow | ) |
Definition at line 2056 of file column2.cxx.
References maSparklines.
SCROW ScColumn::GetSparklinesMaxRow | ( | ) | const |
Definition at line 2168 of file column2.cxx.
References sc::element_type_sparkline, and maSparklines.
SCROW ScColumn::GetSparklinesMinRow | ( | ) | const |
Definition at line 2179 of file column2.cxx.
References maSparklines.
|
inline |
Definition at line 263 of file column.hxx.
References maSparklines.
|
inline |
Definition at line 264 of file column.hxx.
References maSparklines.
|
private |
Definition at line 3063 of file column3.cxx.
References CELLTYPE_FORMULA, GetDoc(), ScInterpreterContext::GetFormatTable(), ScRefCellValue::getFormula(), GetNumberFormat(), ScCellFormat::GetString(), ScRefCellValue::getType(), and ScFormulaCell::MaybeInterpret().
|
inline |
Definition at line 443 of file column.hxx.
References GetCellValue(), and GetString().
|
inline |
Definition at line 441 of file column.hxx.
References GetCellValue(), and GetString().
Referenced by GetString().
|
inline |
Definition at line 255 of file column.hxx.
References nTab.
Referenced by sc::FormulaGroupAreaListener::collectFormulaCells(), CreateSparklineCell(), sc::FormulaGroupAreaListener::FormulaGroupAreaListener(), and Swap().
sal_uInt16 ScColumn::GetTextWidth | ( | SCROW | nRow | ) | const |
Definition at line 2297 of file column2.cxx.
References maCellTextAttrs.
Referenced by ScTable::MaybeAddExtraColumn().
void ScColumn::GetUnprotectedCells | ( | SCROW | nStartRow, |
SCROW | nEndRow, | ||
ScRangeList & | rRangeList | ||
) | const |
Definition at line 910 of file column4.cxx.
References ATTR_PROTECTION(), ScPatternAttr::GetItem(), ScRangeList::Join(), nCol, nTab, and ScColumnData::pAttrArray.
double ScColumn::GetValue | ( | SCROW | nRow | ) | const |
Definition at line 3094 of file column3.cxx.
References sc::element_type_formula, sc::element_type_numeric, ScFormulaCell::GetValue(), ScFormulaCell::IsValue(), maCells, and p.
double * ScColumn::GetValueCell | ( | SCROW | nRow | ) |
Definition at line 3075 of file column3.cxx.
References sc::element_type_numeric, and maCells.
Referenced by ScTable::GetValueCell().
sal_uInt64 ScColumn::GetWeightedCount | ( | ) | const |
Definition at line 3784 of file column2.cxx.
References maCells.
Definition at line 3791 of file column2.cxx.
References maCells.
bool ScColumn::HandleRefArrayForParallelism | ( | SCROW | nRow1, |
SCROW | nRow2, | ||
const ScFormulaCellGroupRef & | mxGroup | ||
) |
Definition at line 2006 of file column4.cxx.
References GetDoc(), lcl_EvalDirty(), and maCells.
void ScColumn::HandleStuffAfterParallelCalculation | ( | SCROW | nRow, |
size_t | nLen, | ||
ScInterpreter * | pInterpreter | ||
) |
Definition at line 3260 of file column2.cxx.
References sc::element_type_formula, ScFormulaCell::HandleStuffAfterParallelCalculation(), i, and maCells.
bool ScColumn::HasAttribSelection | ( | const ScMarkData & | rMark, |
HasAttrFlags | nMask | ||
) | const |
Definition at line 300 of file column.cxx.
References ScMarkData::GetMultiSelData(), ScMarkData::IsMultiMarked(), nCol, ScMultiSelIter::Next(), and ScColumnData::pAttrArray.
Definition at line 878 of file column4.cxx.
References sc::element_type_cellnote, maCellNotes, and o3tl::make_unsigned().
bool ScColumn::HasCellNotes | ( | ) | const |
Definition at line 2268 of file column2.cxx.
References sc::element_type_empty, and maCellNotes.
bool ScColumn::HasDataAt | ( | sc::ColumnBlockConstPosition & | rBlockPos, |
SCROW | nRow, | ||
ScDataAreaExtras * | pDataAreaExtras = nullptr |
||
) | const |
Definition at line 3384 of file column2.cxx.
References sc::element_type_empty, GetDataExtrasAt(), maCells, and sc::ColumnBlockConstPosition::miCellPos.
bool ScColumn::HasDataAt | ( | sc::ColumnBlockPosition & | rBlockPos, |
SCROW | nRow, | ||
ScDataAreaExtras * | pDataAreaExtras = nullptr |
||
) |
Definition at line 3397 of file column2.cxx.
References sc::element_type_empty, GetDataExtrasAt(), maCells, and sc::ColumnBlockPosition::miCellPos.
bool ScColumn::HasDataAt | ( | SCROW | nRow, |
ScDataAreaExtras * | pDataAreaExtras = nullptr |
||
) | const |
Definition at line 3376 of file column2.cxx.
References sc::element_type_empty, GetDataExtrasAt(), and maCells.
sc::MultiDataCellState::StateType ScColumn::HasDataCellsInRange | ( | SCROW | nRow1, |
SCROW | nRow2, | ||
SCROW * | pRow1 | ||
) | const |
Definition at line 47 of file column4.cxx.
References sc::element_type_empty, sc::MultiDataCellState::Empty, sc::MultiDataCellState::HasMultipleCells, sc::MultiDataCellState::HasOneCell, and maCells.
Definition at line 3331 of file column.cxx.
References sc::FindFormulaEditText(), and maCells.
Referenced by GetOptimalHeight().
bool ScColumn::HasFormulaCell | ( | ) | const |
Definition at line 1399 of file column4.cxx.
References mnBlkCountFormula.
Referenced by EndListeningFormulaCells(), EnsureFormulaCellResults(), HasFormulaCell(), and StartListeningFormulaCells().
Definition at line 1416 of file column4.cxx.
References sc::FindFormula(), GetDoc(), HasFormulaCell(), maCells, mnBlkCountFormula, and ValidRow().
bool ScColumn::HasSelectionMatrixFragment | ( | const ScMarkData & | rMark, |
const ScRangeList & | rRangeList | ||
) | const |
Definition at line 192 of file column.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), sc::element_type_formula, GetDoc(), ScDocument::GetFormulaCell(), 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().
bool ScColumn::HasSparklines | ( | ) | const |
Definition at line 2161 of file column2.cxx.
References sc::element_type_empty, and maSparklines.
Return true if there is a string or editcell in the range.
Definition at line 3265 of file column3.cxx.
References sc::element_type_edittext, sc::element_type_string, and maCells.
bool ScColumn::HasStringData | ( | SCROW | nRow | ) | const |
Definition at line 3223 of file column3.cxx.
References sc::element_type_edittext, sc::element_type_formula, sc::element_type_string, maCells, and p.
bool ScColumn::HasValueData | ( | SCROW | nRow | ) | const |
Definition at line 3243 of file column3.cxx.
References sc::element_type_formula, sc::element_type_numeric, maCells, and p.
Definition at line 900 of file column.hxx.
References ScColumnData::pAttrArray.
Referenced by GetDataExtrasAt(), and GetLastDataPos().
bool ScColumn::HasVisibleDataAt | ( | SCROW | nRow | ) | const |
Definition at line 1318 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 101 of file column.cxx.
References ScColumnData::InitAttrArray(), ScDocument::maTabs, nCol, and nTab.
void ScColumn::InitBlockPosition | ( | sc::ColumnBlockConstPosition & | rBlockPos | ) | const |
Definition at line 1168 of file column3.cxx.
References maCellNotes, maCells, maCellTextAttrs, sc::ColumnBlockConstPosition::miCellNotePos, sc::ColumnBlockConstPosition::miCellPos, and sc::ColumnBlockConstPosition::miCellTextAttrPos.
void ScColumn::InitBlockPosition | ( | sc::ColumnBlockPosition & | rBlockPos | ) |
Definition at line 1159 of file column3.cxx.
References maBroadcasters, maCellNotes, maCells, maCellTextAttrs, maSparklines, sc::ColumnBlockPosition::miBroadcasterPos, sc::ColumnBlockPosition::miCellNotePos, sc::ColumnBlockPosition::miCellPos, sc::ColumnBlockPosition::miCellTextAttrPos, and sc::ColumnBlockPosition::miSparklinePos.
Referenced by CloneFormulaCell(), ScTable::CreateSortInfoArray(), DeleteArea(), and ScTable::InitColumnBlockPosition().
Definition at line 765 of file column.cxx.
References CellStorageModified(), GetDoc(), maBroadcasters, maCellNotes, maCells, maCellTextAttrs, maSparklines, and ScColumnData::pAttrArray.
Definition at line 195 of file column3.cxx.
References GetDoc(), maCells, sc::ProcessFormula(), and ValidRow().
Definition at line 186 of file column3.cxx.
References GetDoc(), maCells, sc::ProcessFormula(), and ValidRow().
Definition at line 1857 of file column.cxx.
References GetDoc(), ScDocument::GetDrawLayer(), ScDrawLayer::HasObjectsAnchoredInRange(), nCol, and nTab.
Referenced by GetDataExtrasAt(), and GetLastDataPos().
|
inline |
Definition at line 873 of file column.hxx.
References ScColumnData::pAttrArray.
Referenced by TestInsertCol().
bool ScColumn::IsEmptyData | ( | ) | const |
Definition at line 1284 of file column2.cxx.
References sc::element_type_empty, and maCells.
Referenced by ScQueryCellIteratorBase< accessType, queryType >::BinarySearch(), DeleteArea(), ScCellIterator::getCurrent(), GetFirstDataPos(), GetLastDataPos(), ScValueIterator::GetThis(), ScQueryCellIteratorBase< accessType, queryType >::PerformQuery(), TestInsertCol(), and UpdateReference().
Definition at line 1329 of file column2.cxx.
References sc::element_type_empty, and maCells.
bool ScColumn::IsFormulaDirty | ( | SCROW | nRow | ) | const |
Definition at line 3125 of file column.cxx.
References sc::element_type_formula, GetDoc(), maCells, p, and ValidRow().
Referenced by ScDocument::IdleCalcTextWidth().
|
inline |
Definition at line 920 of file column.hxx.
References ScColumnData::pAttrArray.
Definition at line 1346 of file column2.cxx.
References sc::element_type_empty, and maCellNotes.
Referenced by CopyCellNotesToDocument(), GetDataExtrasAt(), and GetLastDataPos().
Definition at line 2088 of file column2.cxx.
References sc::element_type_empty, and maSparklines.
Referenced by CopyCellSparklinesToDocument().
|
inline |
Definition at line 1010 of file column.hxx.
References ScColumnData::pAttrArray.
|
inline |
Definition at line 883 of file column.hxx.
References ScColumnData::pAttrArray.
|
static |
Definition at line 362 of file column3.cxx.
References sc::element_type_formula, and sc::SharedFormulaUtil::joinFormulaCells().
Referenced by AttachNewFormulaCell(), AttachNewFormulaCells(), and CloneFormulaCell().
void ScColumn::MarkScenarioIn | ( | ScMarkData & | rDestMark | ) | const |
Definition at line 1770 of file column.cxx.
References ScRange::aEnd, ScRange::aStart, ATTR_MERGE_FLAG(), GetDoc(), ScPatternAttr::GetItem(), nCol, ScAttrIterator::Next(), nTab, ScColumnData::pAttrArray, ScMarkData::SetMultiMarkArea(), and ScAddress::SetRow().
|
inline |
Definition at line 952 of file column.hxx.
References ScColumnData::pAttrArray.
void ScColumn::MergeSelectionPattern | ( | ScMergePatternState & | rState, |
const ScMarkData & | rMark, | ||
bool | bDeep | ||
) | const |
Definition at line 320 of file column.cxx.
References ScMarkData::GetMultiSelData(), ScMultiSel::HasMarks(), ScMarkData::IsMultiMarked(), nCol, ScMultiSelIter::Next(), and ScColumnData::pAttrArray.
void ScColumn::MixData | ( | sc::MixDocContext & | rCxt, |
SCROW | nRow1, | ||
SCROW | nRow2, | ||
ScPasteFunc | nFunction, | ||
bool | bSkipEmpty, | ||
const ScColumn & | rSrcCol | ||
) |
Definition at line 2030 of file column3.cxx.
References CellStorageModified(), sc::ClipContextBase::getBlockPosition(), maCells, nCol, nTab, p, and sc::ParseAll().
Referenced by MixMarked().
void ScColumn::MixMarked | ( | sc::MixDocContext & | rCxt, |
const ScMarkData & | rMark, | ||
ScPasteFunc | nFunction, | ||
bool | bSkipEmpty, | ||
const ScColumn & | rSrcCol | ||
) |
Definition at line 1607 of file column3.cxx.
References ScMarkData::GetMultiSelData(), ScMarkData::IsMultiMarked(), MixData(), nCol, and ScMultiSelIter::Next().
Definition at line 1897 of file column.cxx.
References ScDocument::AreaBroadcast(), CellStorageModified(), GetDoc(), sc::SingleColumnSpanSet::getSpans(), sc::SharedFormulaUtil::joinFormulaCellAbove(), maBroadcasters, maCellNotes, maCells, maCellTextAttrs, nCol, nTab, ScColumnData::pAttrArray, sc::SingleColumnSpanSet::scan(), ScHint::SetAddressRow(), sc::SharedFormulaUtil::splitFormulaCellGroup(), UpdateNoteCaptions(), and ValidRow().
|
private |
Definition at line 2108 of file column3.cxx.
References ScSetStringParam::Always, ApplyAttr(), ATTR_VALUE_FORMAT(), CELLTYPE_NONE, CELLTYPE_VALUE, ScDocument::CheckLinkFormulaNeedingCheck(), GetCellValue(), ScFormulaCell::GetCode(), GetDoc(), SvNumberFormatter::GetEditFormat(), SvNumberFormatter::GetEntry(), SvNumberFormatter::GetEvalDateFormat(), SvNumberFormatter::GetFormatForLanguageIfBuiltIn(), ScDocument::GetFormatTable(), SvNumberformat::GetLanguage(), SvNumberFormatter::GetLocaleData(), SvNumberformat::GetMaskedType(), GetNumberFormat(), ScDocument::GetSharedStringPool(), SvNumberFormatter::GetStandardFormat(), ScCellValue::getType(), ScRefCellValue::getType(), SvNumberFormatter::GetType(), ScRefCellValue::getValue(), formula::FormulaGrammar::GRAM_DEFAULT, svl::SharedStringPool::intern(), SvNumberFormatter::IsCompatible(), SvNumberFormatter::IsNumberFormat(), ScSetStringParam::mbCheckLinkFormula, ScSetStringParam::mbDetectNumberFormat, ScSetStringParam::mbDetectScientificNumberFormat, ScSetStringParam::mbHandleApostrophe, formula::FormulaGrammar::mergeToGrammar(), ScSetStringParam::meSetTextNumFormat, ScSetStringParam::mpNumFormatter, nCol, ScSetStringParam::Never, NF_EVALDATEFORMAT_FORMAT_INTL, NF_EVALDATEFORMAT_INTL_FORMAT, nIndex, NONE, ScStringUtil::parseSimpleNumber(), pLocale, ScCellValue::set(), SvNumberFormatter::SetEvalDateFormat(), and ScSetStringParam::SpecialNumberOnly.
Referenced by SetString().
void ScColumn::PrepareBroadcastersForDestruction | ( | ) |
Definition at line 1995 of file column2.cxx.
References sc::element_type_broadcaster, and maBroadcasters.
void ScColumn::PreprocessDBDataUpdate | ( | sc::EndListeningContext & | rEndListenCxt, |
sc::CompileFormulaContext & | rCompileCxt | ||
) |
Definition at line 1093 of file column4.cxx.
References GetDoc(), GetFormulaGroupEntries(), ocBad, ocColRowName, ocDBArea, and ocTableRef.
void ScColumn::PreprocessRangeNameUpdate | ( | sc::EndListeningContext & | rEndListenCxt, |
sc::CompileFormulaContext & | rCompileCxt | ||
) |
Definition at line 1079 of file column4.cxx.
References GetDoc(), GetFormulaGroupEntries(), ocBad, ocColRowName, and ocName.
void ScColumn::RegroupFormulaCells | ( | std::vector< ScAddress > * | pGroupPos = nullptr | ) |
Regroup formula cells for the entire column.
Definition at line 3658 of file column3.cxx.
References maCells.
Referenced by CompileColRowNameFormula(), CompileDBFormula(), CompileXML(), ScDocumentImport::initColumn(), and SwapNonEmpty().
Definition at line 724 of file column4.cxx.
References GetDoc(), maCellNotes, p, and ValidRow().
Definition at line 990 of file column.hxx.
References nIndex, and ScColumnData::pAttrArray.
void ScColumn::RemoveEditAttribs | ( | sc::ColumnBlockPosition & | rBlockPos, |
SCROW | nStartRow, | ||
SCROW | nEndRow | ||
) |
Definition at line 1267 of file column2.cxx.
References GetDoc(), maCells, sc::ColumnBlockPosition::miCellPos, and sc::ProcessEditText().
Referenced by DeleteArea(), and DeleteBeforeCopyFromClip().
void ScColumn::RemoveEditTextCharAttribs | ( | SCROW | nRow, |
const ScPatternAttr & | rAttr | ||
) |
Definition at line 3128 of file column3.cxx.
References sc::element_type_edittext, maCells, p, and ScEditUtil::RemoveCharAttribs().
Definition at line 1020 of file column.hxx.
References ScColumnData::pAttrArray.
Definition at line 2933 of file column3.cxx.
References ATTR_PROTECTION(), CONTENTS, DeleteArea(), GetDoc(), ScProtectionAttr::GetHideCell(), ScProtectionAttr::GetHideFormula(), ScPatternAttr::GetItem(), maCells, ScAttrIterator::Next(), sc::ParseFormula(), and ScColumnData::pAttrArray.
|
inline |
Definition at line 915 of file column.hxx.
References ScColumnData::pAttrArray.
Definition at line 3325 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 1296 of file column4.cxx.
References maCells, nCol, and sc::ProcessFormula().
Definition at line 2490 of file column2.cxx.
References GetDoc(), maCells, and sc::ParseAllNonEmpty().
formula::FormulaTokenRef ScColumn::ResolveStaticReference | ( | SCROW | nRow | ) |
Definition at line 2406 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(), maCells, and p.
void ScColumn::RestoreFromCache | ( | SvStream & | rStrm | ) |
Definition at line 2119 of file column4.cxx.
References aStr, 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 rStrm.
SCROW ScColumn::SearchStyle | ( | SCROW | nRow, |
const ScStyleSheet * | pSearchStyle, | ||
bool | bUp, | ||
bool | bInSelection, | ||
const ScMarkData & | rMark | ||
) | const |
May return -1 if not found.
Definition at line 3346 of file column.cxx.
References ScMarkData::GetMarkArray(), ScMarkData::IsMultiMarked(), nCol, and ScColumnData::pAttrArray.
bool ScColumn::SearchStyleRange | ( | SCROW & | rRow, |
SCROW & | rEndRow, | ||
const ScStyleSheet * | pSearchStyle, | ||
bool | bUp, | ||
bool | bInSelection, | ||
const ScMarkData & | rMark | ||
) | const |
Definition at line 3364 of file column.cxx.
References ScMarkData::GetMarkArray(), ScMarkData::IsMultiMarked(), nCol, and ScColumnData::pAttrArray.
void ScColumn::SetAllFormulasDirty | ( | const sc::SetFormulaDirtyContext & | rCxt | ) |
Definition at line 3147 of file column.cxx.
References GetDoc(), maCells, and sc::ProcessFormula().
Definition at line 2220 of file column2.cxx.
References maCellNotes.
Referenced by ScTable::SetNote().
void ScColumn::SetDirty | ( | SCROW | nRow1, |
SCROW | nRow2, | ||
BroadcastMode | eMode | ||
) |
Definition at line 3199 of file column.cxx.
References BROADCAST_BROADCASTERS, BROADCAST_DATA_POSITIONS, BROADCAST_NONE, BroadcastBroadcasters(), eMode, GetDoc(), maCells, sc::ProcessFormula(), and ScDocument::TrackFormulas().
void ScColumn::SetDirtyAfterLoad | ( | ) |
Definition at line 3250 of file column.cxx.
References GetDoc(), maCells, and sc::ProcessFormula().
void ScColumn::SetDirtyFromClip | ( | SCROW | nRow1, |
SCROW | nRow2, | ||
sc::ColumnSpanSet & | rBroadcastSpans | ||
) |
Definition at line 3155 of file column.cxx.
References GetDoc(), maCells, and sc::ProcessFormula().
void ScColumn::SetDirtyIfPostponed | ( | ) |
Definition at line 3277 of file column.cxx.
References GetDoc(), maCells, and sc::ProcessFormula().
void ScColumn::SetDirtyVar | ( | ) |
Definition at line 3119 of file column.cxx.
References maCells, and sc::ProcessFormula().
void ScColumn::SetEditText | ( | sc::ColumnBlockPosition & | rBlockPos, |
SCROW | nRow, | ||
const EditTextObject & | rEditText | ||
) |
Definition at line 2389 of file column3.cxx.
References EditTextObject::Clone(), EditEngine::CreateTextObject(), GetDoc(), ScDocument::GetEditEngine(), EditTextObject::GetPool(), SetEditText(), and EditEngine::SetText().
void ScColumn::SetEditText | ( | sc::ColumnBlockPosition & | rBlockPos, |
SCROW | nRow, | ||
std::unique_ptr< EditTextObject > | pEditText | ||
) |
Definition at line 2373 of file column3.cxx.
References BroadcastNewCell(), CellStorageModified(), GetDoc(), GetPositionToInsert(), maCells, maCellTextAttrs, sc::ColumnBlockPosition::miCellPos, sc::ColumnBlockPosition::miCellTextAttrPos, and StartListeningUnshared().
void ScColumn::SetEditText | ( | SCROW | nRow, |
const EditTextObject & | rEditText, | ||
const SfxItemPool * | pEditPool | ||
) |
Definition at line 2405 of file column3.cxx.
References EditTextObject::Clone(), EditEngine::CreateTextObject(), GetDoc(), ScDocument::GetEditEngine(), SetEditText(), and EditEngine::SetText().
void ScColumn::SetEditText | ( | SCROW | nRow, |
std::unique_ptr< EditTextObject > | pEditText | ||
) |
Definition at line 2359 of file column3.cxx.
References BroadcastNewCell(), CellStorageModified(), GetDoc(), GetPositionToInsert(), maCells, maCellTextAttrs, and StartListeningUnshared().
Referenced by ScCellValue::release(), SetEditText(), and ScTable::SetEditText().
void ScColumn::SetError | ( | SCROW | nRow, |
const FormulaError | nError | ||
) |
Definition at line 2959 of file column3.cxx.
References AttachNewFormulaCell(), CellStorageModified(), GetDoc(), GetPositionToInsert(), maCells, maCellTextAttrs, nCol, nTab, ScFormulaCell::SetErrCode(), and ValidRow().
void ScColumn::SetFormula | ( | SCROW | nRow, |
const OUString & | rFormula, | ||
formula::FormulaGrammar::Grammar | eGram | ||
) |
Definition at line 2439 of file column3.cxx.
References AttachNewFormulaCell(), CellStorageModified(), GetDoc(), GetNumberFormat(), GetPositionToInsert(), maCells, maCellTextAttrs, nCol, nTab, ScFormulaCell::SetNeedNumberFormat(), and SV_COUNTRY_LANGUAGE_OFFSET.
void ScColumn::SetFormula | ( | SCROW | nRow, |
const ScTokenArray & | rArray, | ||
formula::FormulaGrammar::Grammar | eGram | ||
) |
Definition at line 2421 of file column3.cxx.
References AttachNewFormulaCell(), CellStorageModified(), GetDoc(), GetNumberFormat(), GetPositionToInsert(), maCells, maCellTextAttrs, nCol, nTab, ScFormulaCell::SetNeedNumberFormat(), and SV_COUNTRY_LANGUAGE_OFFSET.
Referenced by ScTable::SetFormula().
void ScColumn::SetFormulaCell | ( | sc::ColumnBlockPosition & | rBlockPos, |
SCROW | nRow, | ||
ScFormulaCell * | pCell, | ||
sc::StartListeningType | eListenType = sc::SingleCellListening , |
||
bool | bInheritNumFormatIfNeeded = true |
||
) |
Definition at line 2476 of file column3.cxx.
References AttachNewFormulaCell(), CellStorageModified(), GetDoc(), GetNumberFormat(), GetPositionToInsert(), maCells, maCellTextAttrs, sc::ColumnBlockPosition::miCellPos, sc::ColumnBlockPosition::miCellTextAttrPos, 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 2457 of file column3.cxx.
References AttachNewFormulaCell(), CellStorageModified(), GetDoc(), GetNumberFormat(), GetPositionToInsert(), maCells, maCellTextAttrs, ScFormulaCell::SetNeedNumberFormat(), and SV_COUNTRY_LANGUAGE_OFFSET.
Referenced by CopyCellToDocument(), CopyFromClip(), ScCellValue::release(), and ScTable::SetFormulaCell().
bool ScColumn::SetFormulaCells | ( | SCROW | nRow, |
std::vector< ScFormulaCell * > & | rCells | ||
) |
Definition at line 2495 of file column3.cxx.
References AttachNewFormulaCells(), CellStorageModified(), DetachFormulaCells(), GetDoc(), GetNumberFormat(), i, maCells, maCellTextAttrs, n, SV_COUNTRY_LANGUAGE_OFFSET, and ValidRow().
Referenced by ScTable::SetFormulaCells().
void ScColumn::SetFormulaResults | ( | SCROW | nRow, |
const double * | pResults, | ||
size_t | nLen | ||
) |
Definition at line 3185 of file column2.cxx.
References sc::element_type_formula, GetDoubleErrorValue(), maCells, ScFormulaCell::ResetDirty(), ScFormulaCell::SetChanged(), ScFormulaCell::SetResultDouble(), and ScFormulaCell::SetResultError().
|
private |
Definition at line 1743 of file column4.cxx.
References sc::element_type_formula, maCells, and ScFormulaCell::SetNeedsListening().
Referenced by AttachNewFormulaCell(), and ScTable::SetNeedsListeningGroup().
void ScColumn::SetNumberFormat | ( | SCROW | nRow, |
sal_uInt32 | nNumberFormat | ||
) |
Definition at line 3289 of file column2.cxx.
References ApplyAttr(), and ATTR_VALUE_FORMAT().
Referenced by ScTable::CopyStaticToDocument(), CopyStaticToDocument(), and ScTable::SetNumberFormat().
|
inline |
Definition at line 1035 of file column.hxx.
References ScColumnData::pAttrArray.
|
inline |
Definition at line 1030 of file column.hxx.
References ScColumnData::pAttrArray.
Referenced by ScTable::SetPattern(), and Swap().
|
inline |
Definition at line 1040 of file column.hxx.
References ScColumnData::pAttrArray.
Referenced by ScTable::SetPatternAreaCondFormat().
void ScColumn::SetRawString | ( | sc::ColumnBlockPosition & | rBlockPos, |
SCROW | nRow, | ||
const svl::SharedString & | rStr, | ||
bool | bBroadcast = true |
||
) |
Definition at line 3006 of file column3.cxx.
References BroadcastNewCell(), CellStorageModified(), GetDoc(), GetPositionToInsert(), maCells, maCellTextAttrs, sc::ColumnBlockPosition::miCellPos, sc::ColumnBlockPosition::miCellTextAttrPos, StartListeningUnshared(), and ValidRow().
void ScColumn::SetRawString | ( | SCROW | nRow, |
const OUString & | rStr | ||
) |
Definition at line 2977 of file column3.cxx.
References svl::SharedString::getData(), GetDoc(), ScDocument::GetSharedStringPool(), svl::SharedStringPool::intern(), SetRawString(), and ValidRow().
Referenced by ScCellValue::release(), ScTable::SetRawString(), and SetRawString().
void ScColumn::SetRawString | ( | SCROW | nRow, |
const svl::SharedString & | rStr | ||
) |
Definition at line 2989 of file column3.cxx.
References BroadcastNewCell(), CellStorageModified(), GetDoc(), GetPositionToInsert(), maCells, maCellTextAttrs, StartListeningUnshared(), and ValidRow().
void ScColumn::SetScriptType | ( | SCROW | nRow, |
SvtScriptType | nType | ||
) |
Definition at line 2392 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 2339 of file column3.cxx.
References GetDoc(), ScSetStringParam::meStartListening, ParseString(), ScCellValue::release(), and ValidRow().
Referenced by ScTable::SetString().
void ScColumn::SetTableOpDirty | ( | const ScRange & | rRange | ) |
Definition at line 3240 of file column.cxx.
References ScRange::aEnd, ScRange::aStart, GetDoc(), maCells, sc::ProcessFormula(), and ScAddress::Row().
void ScColumn::SetTabNo | ( | SCTAB | nNewTab | ) |
Definition at line 3104 of file column.cxx.
References maCells, nTab, ScColumnData::pAttrArray, and sc::ProcessFormula().
void ScColumn::SetTextWidth | ( | SCROW | nRow, |
sal_uInt16 | nWidth | ||
) |
Definition at line 2302 of file column2.cxx.
References CellStorageModified(), sc::element_type_celltextattr, and maCellTextAttrs.
Referenced by ScTable::InvalidateTextWidth(), and ScTable::MaybeAddExtraColumn().
void ScColumn::SetValue | ( | sc::ColumnBlockPosition & | rBlockPos, |
SCROW | nRow, | ||
double | fVal, | ||
bool | bBroadcast = true |
||
) |
Definition at line 3043 of file column3.cxx.
References BroadcastNewCell(), CellStorageModified(), GetDoc(), GetPositionToInsert(), maCells, maCellTextAttrs, sc::ColumnBlockPosition::miCellPos, sc::ColumnBlockPosition::miCellTextAttrPos, StartListeningUnshared(), and ValidRow().
void ScColumn::SetValue | ( | SCROW | nRow, |
double | fVal | ||
) |
Definition at line 3026 of file column3.cxx.
References BroadcastNewCell(), CellStorageModified(), GetDoc(), GetPositionToInsert(), maCells, maCellTextAttrs, StartListeningUnshared(), and ValidRow().
Referenced by ScCellValue::release(), and ScTable::SetValue().
void ScColumn::SetValues | ( | const SCROW | nRow, |
const std::vector< double > & | rVals | ||
) |
Definition at line 399 of file column4.cxx.
References BroadcastCells(), CellStorageModified(), DetachFormulaCells(), GetDoc(), i, maCells, maCellTextAttrs, StartListeningUnshared(), and ValidRow().
Referenced by ScTable::SetValues().
void ScColumn::SplitFormulaGroupByRelativeRef | ( | const ScRange & | rBoundRange | ) |
Definition at line 1330 of file column4.cxx.
References ScRange::aEnd, ScRange::aStart, GetDoc(), maCells, sc::ProcessFormula(), ScAddress::Row(), and sc::SharedFormulaUtil::splitFormulaCellGroups().
void ScColumn::StartListeners | ( | sc::StartListeningContext & | rCxt, |
bool | bAll | ||
) |
Definition at line 2090 of file column3.cxx.
References maCells.
void ScColumn::StartListening | ( | sc::StartListeningContext & | rCxt, |
const ScAddress & | rAddress, | ||
SvtListener & | rListener | ||
) |
Definition at line 3508 of file column2.cxx.
References ScAddress::Col(), sc::StartListeningContext::getBlockPosition(), GetDoc(), maBroadcasters, p, ScAddress::Row(), ScAddress::Tab(), and ValidRow().
void ScColumn::StartListening | ( | SvtListener & | rLst, |
SCROW | nRow | ||
) |
Definition at line 3486 of file column2.cxx.
References maBroadcasters.
Referenced by ScTable::StartListening().
void ScColumn::StartListeningFormulaCells | ( | sc::StartListeningContext & | rStartCxt, |
sc::EndListeningContext & | rEndCxt, | ||
SCROW | nRow1, | ||
SCROW | nRow2 | ||
) |
Definition at line 1606 of file column4.cxx.
References HasFormulaCell(), maCells, and sc::ProcessBlock().
Referenced by AttachNewFormulaCell(), ScDocument::EnableDelayStartListeningFormulaCells(), and StartListeningUnshared().
void ScColumn::StartListeningUnshared | ( | const std::vector< SCROW > & | rNewSharedRows | ) |
Re-establish listeners on unshared formula groups.
Definition at line 435 of file column3.cxx.
References ScDocument::CanDelayStartListeningFormulaCells(), GetDoc(), ScDocument::IsDelayedFormulaGrouping(), and StartListeningFormulaCells().
Referenced by AttachNewFormulaCell(), AttachNewFormulaCells(), SetEditText(), SetRawString(), SetValue(), and SetValues().
void ScColumn::StoreToCache | ( | SvStream & | rStrm | ) | const |
Definition at line 2109 of file column4.cxx.
References GetLastDataPos(), maCells, nCol, sc::ParseBlock(), rStrm, and SvStream::WriteUInt64().
Definition at line 1217 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().
void ScColumn::SwapCol | ( | ScColumn & | rCol | ) |
Definition at line 1867 of file column.cxx.
References CellStorageModified(), GetDoc(), maBroadcasters, maCellNotes, maCells, maCellTextAttrs, maSparklines, mnBlkCountFormula, nCol, ScColumnData::pAttrArray, and UpdateNoteCaptions().
void ScColumn::SwapNonEmpty | ( | sc::TableValues & | rValues, |
sc::StartListeningContext & | rStartCxt, | ||
sc::EndListeningContext & | rEndCxt | ||
) |
Definition at line 592 of file column4.cxx.
References ScRange::aEnd, ScRange::aStart, CellStorageModified(), GetDoc(), sc::TableValues::getNonEmptySpans(), sc::TableValues::getRange(), maCells, 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 1753 of file column.cxx.
References ATTR_MERGE_FLAG(), GetDoc(), ScPatternAttr::GetItem(), ScAttrIterator::Next(), ScColumnData::pAttrArray, and Protected.
Definition at line 713 of file column.cxx.
References sc::element_type_empty, IsEmptyAttr(), IsEmptyData(), maCells, and ScColumnData::pAttrArray.
Definition at line 735 of file column.cxx.
References sc::element_type_empty, GetDoc(), maCells, o3tl::make_unsigned(), ScDocument::MaxRow(), and ScColumnData::pAttrArray.
bool ScColumn::TestTabRefAbs | ( | SCTAB | nTable | ) | const |
Definition at line 1277 of file column2.cxx.
References maCells, and sc::ParseFormula().
void ScColumn::TransferCellValuesTo | ( | SCROW | nRow, |
size_t | nLen, | ||
sc::CellValues & | rDest | ||
) |
Definition at line 429 of file column4.cxx.
References BroadcastCells(), CellStorageModified(), DetachFormulaCells(), GetDoc(), i, maCells, sc::CellValues::transferFrom(), and ValidRow().
Referenced by ScTable::TransferCellValuesTo().
Definition at line 1546 of file column2.cxx.
References 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 1662 of file column.cxx.
References CopyToColumn(), FORMULA, and GetDoc().
void ScColumn::UpdateCompile | ( | bool | bForceIfNameInUse = false | ) |
Definition at line 3098 of file column.cxx.
References maCells, and sc::ProcessFormula().
Referenced by CopyScenarioFrom(), and CopyScenarioTo().
void ScColumn::UpdateDeleteTab | ( | sc::RefUpdateDeleteTabContext & | rCxt | ) |
Definition at line 3065 of file column.cxx.
References CellStorageModified(), maCells, maCellTextAttrs, sc::RefUpdateDeleteTabContext::mnDeletePos, sc::RefUpdateDeleteTabContext::mnSheets, nTab, ScColumnData::pAttrArray, and sc::ProcessFormulaEditText().
void ScColumn::UpdateDrawObjects | ( | std::vector< std::vector< SdrObject * > > & | pObjects, |
SCROW | nRowStart, | ||
SCROW | nRowEnd | ||
) |
Definition at line 1830 of file column.cxx.
References nCol, and UpdateDrawObjectsForRow().
void ScColumn::UpdateDrawObjectsForRow | ( | std::vector< SdrObject * > & | pObjects, |
SCCOL | nTargetCol, | ||
SCROW | nTargetRow | ||
) |
Definition at line 1844 of file column.cxx.
References GetDoc(), ScDocument::GetDrawLayer(), ScDrawLayer::MoveObject(), nTab, and pObject.
Referenced by Swap(), and UpdateDrawObjects().
Definition at line 3040 of file column.cxx.
References maCells, and sc::ProcessFormula().
void ScColumn::UpdateInsertTab | ( | sc::RefUpdateInsertTabContext & | rCxt | ) |
Definition at line 3046 of file column.cxx.
References sc::RefUpdateInsertTabContext::mnInsertPos, sc::RefUpdateInsertTabContext::mnSheets, nTab, ScColumnData::pAttrArray, and UpdateInsertTabOnlyCells().
void ScColumn::UpdateInsertTabAbs | ( | SCTAB | nNewPos | ) |
Definition at line 3079 of file column.cxx.
References CellStorageModified(), maCells, maCellTextAttrs, nTab, and sc::ProcessFormulaEditText().
void ScColumn::UpdateInsertTabOnlyCells | ( | sc::RefUpdateInsertTabContext & | rCxt | ) |
Definition at line 3057 of file column.cxx.
References CellStorageModified(), maCells, maCellTextAttrs, nTab, and sc::ProcessFormulaEditText().
Referenced by UpdateInsertTab().
void ScColumn::UpdateMoveTab | ( | sc::RefUpdateMoveTabContext & | rCxt, |
SCTAB | nTabNo | ||
) |
Definition at line 3087 of file column.cxx.
References CellStorageModified(), maCells, maCellTextAttrs, nTab, ScColumnData::pAttrArray, and sc::ProcessFormulaEditText().
Definition at line 1824 of file column.cxx.
References maCellNotes, nCol, 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 2384 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, nCol, nTab, ScAddress::Row(), sc::ColumnSet::set(), sc::SharedFormulaUtil::splitFormulaCellGroups(), ScAddress::Tab(), UpdateReferenceOnCopy(), URM_COPY, and ScDocument::ValidRow().
bool ScColumn::UpdateReferenceOnCopy | ( | sc::RefUpdateContext & | rCxt, |
ScDocument * | pUndoDoc = nullptr |
||
) |
Definition at line 2359 of file column.cxx.
References ScRange::aEnd, ScRange::aStart, sc::RefUpdateContext::getBlockPosition(), GetDoc(), sc::SharedFormulaUtil::joinFormulaCellAbove(), maCells, sc::RefUpdateContext::maRange, sc::ColumnBlockPosition::miCellPos, nCol, nTab, sc::ProcessBlock(), and ScAddress::Row().
Referenced by CopyScenarioFrom(), CopyScenarioTo(), and UpdateReference().
|
private |
Definition at line 840 of file column3.cxx.
References aStr, ATTR_CONDITIONAL(), GetCellValue(), ScCondFormatItem::GetCondFormatData(), ScDocument::GetCondFormList(), ScDocument::GetCondResult(), GetDoc(), ScDocument::GetFormatTable(), ScPatternAttr::GetItem(), ScPatternAttr::GetNumberFormat(), GetPattern(), ScCellFormat::GetString(), ScDocument::GetStringScriptType(), maCells, sc::CellTextAttr::mnScriptType, nCol, nTab, and pos.
Referenced by GetRangeScriptType().
Definition at line 1206 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 3655 of file column2.cxx.
References sc::SingleColumnSpanSet::empty(), GetDoc(), ScFunctionData::getFunc(), ScFlatBoolRowSegments::getRangeData(), sc::SingleColumnSpanSet::getSpans(), maCells, ScFlatBoolRowSegments::RangeData::mbValue, ScFlatBoolRowSegments::RangeData::mnRow2, nCol, nTab, 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 3033 of file column.cxx.
References maCells, and sc::ProcessFormula().
Definition at line 1311 of file column2.cxx.
References maCells, and sc::ParseBlock().
|
friend |
Definition at line 229 of file column.hxx.
|
friend |
Definition at line 227 of file column.hxx.
|
friend |
Definition at line 225 of file column.hxx.
|
friend |
Definition at line 223 of file column.hxx.
|
friend |
Definition at line 226 of file column.hxx.
|
friend |
Definition at line 224 of file column.hxx.
|
friend |
Definition at line 228 of file column.hxx.
|
friend |
Definition at line 219 of file column.hxx.
|
friend |
Definition at line 221 of file column.hxx.
|
friend |
Definition at line 213 of file column.hxx.
|
friend |
Definition at line 209 of file column.hxx.
|
friend |
Definition at line 222 of file column.hxx.
|
friend |
Definition at line 218 of file column.hxx.
|
friend |
Definition at line 220 of file column.hxx.
|
friend |
Definition at line 212 of file column.hxx.
|
friend |
Definition at line 217 of file column.hxx.
|
friend |
Definition at line 215 of file column.hxx.
|
friend |
Definition at line 210 of file column.hxx.
|
friend |
Definition at line 211 of file column.hxx.
|
private |
Definition at line 194 of file column.hxx.
Referenced by BroadcastBroadcasters(), CellStorageModified(), CollectBroadcasterState(), CollectListeners(), DeleteBroadcasters(), DeleteEmptyBroadcasters(), DeleteRow(), EndListening(), GetBroadcaster(), InitBlockPosition(), InsertRow(), MoveTo(), PrepareBroadcastersForDestruction(), StartListening(), Swap(), and SwapCol().
|
private |
Definition at line 191 of file column.hxx.
Referenced by CellNotesDeleting(), CopyCellNotesToDocument(), ScTable::CopyCellToDocument(), CopyCellToDocument(), CopyOneCellFromClip(), CreateAllNoteCaptions(), Delete(), DeleteCellNotes(), DeleteRow(), DuplicateNotes(), ForgetNoteCaptions(), FreeAll(), FreeNotes(), GetAllNoteEntries(), GetCellNote(), GetCellNotesMaxRow(), GetCellNotesMinRow(), GetCellNoteStore(), GetNoteCount(), GetNotePosition(), GetNotesInRange(), HasCellNote(), HasCellNotes(), InitBlockPosition(), InsertRow(), IsNotesEmptyBlock(), MoveTo(), ReleaseNote(), SetCellNote(), Swap(), SwapCol(), and UpdateNoteCaptions().
|
private |
Definition at line 197 of file column.hxx.
Referenced by AssertNoInterpretNeeded(), AttachFormulaCells(), AttachNewFormulaCell(), ScDocumentImport::broadcastRecalcAfterImportColumn(), BroadcastRecalcOnRefMove(), CalcAfterLoad(), CalcAll(), CalculateInThread(), CellStorageModified(), CheckIntegrity(), CheckVectorizationState(), CloneFormulaCell(), CollectFormulaCells(), CompileAll(), CompileColRowNameFormula(), CompileDBFormula(), CompileErrorCells(), CompileXML(), ConvertFormulaToValue(), sc::CellValues::copyCellsTo(), ScTable::CopyCellToDocument(), CopyCellToDocument(), CopyCellValuesFrom(), CopyFromClip(), CopyOneCellFromClip(), ScTable::CopyStaticToDocument(), CopyStaticToDocument(), CopyToClip(), CopyToColumn(), CopyUpdated(), DeleteCells(), DeleteContent(), DeleteRow(), DetachFormulaCells(), EndListeningFormulaCells(), EndListeningGroup(), EndListeningIntersectedGroup(), EndListeningIntersectedGroups(), EnsureFormulaCellResults(), FetchVectorRefArray(), ScDocument::FillInfo(), FillMatrix(), FindDataAreaPos(), FindNextVisibleRowWithContent(), FindRangeNamesInUse(), FindUsed(), ScCellIterator::first(), FreeAll(), GetBlockMatrixEdges(), GetCellCount(), GetCellStore(), GetCellType(), GetCellValue(), GetCodeCount(), GetColumnIterator(), ScCountIfCellIterator< ScQueryCellIteratorAccess::SortedCache >::GetCount(), ScCellIterator::getCurrent(), GetDataEntries(), GetEditText(), GetEmptyLinesInBlock(), GetErrCode(), GetFilterEntries(), GetFirstDataPos(), GetFormulaCellBlockAddress(), GetFormulaGroupEntries(), GetLastDataPos(), GetMaxNumberStringLen(), GetMaxStringLen(), GetNeededSize(), GetNextSpellingCell(), GetOptimalColWidth(), GetOptimalHeight(), GetPositionToInsert(), GetPrevDataPos(), GetSharedString(), ScValueIterator::GetThis(), GetValue(), GetValueCell(), GetWeightedCount(), HandleRefArrayForParallelism(), HandleStuffAfterParallelCalculation(), HasDataAt(), HasDataCellsInRange(), HasEditCells(), HasFormulaCell(), HasSelectionMatrixFragment(), HasStringCells(), HasStringData(), HasValueData(), HasVisibleDataAt(), InitBlockPosition(), ScDocumentImport::initColumn(), ScQueryCellIteratorAccessSpecific< ScQueryCellIteratorAccess::Direct >::InitPos(), InsertRow(), InterpretCellsIfNeeded(), InterpretDirtyCells(), IsEmptyData(), IsFormulaDirty(), MixData(), MoveTo(), ScQueryCellIteratorBase< accessType, queryType >::PerformQuery(), RegroupFormulaCells(), RemoveEditAttribs(), RemoveEditTextCharAttribs(), RemoveProtected(), ResetChanged(), ResetFormulaCellPositions(), ResolveStaticReference(), RestoreFromCache(), sc::SingleColumnSpanSet::scan(), ScColumn(), SetAllFormulasDirty(), SetDirty(), SetDirtyAfterLoad(), SetDirtyFromClip(), SetDirtyIfPostponed(), SetDirtyVar(), SetEditText(), SetError(), SetFormula(), SetFormulaCell(), SetFormulaCells(), SetFormulaResults(), SetNeedsListeningGroup(), ScCellIterator::setPos(), SetRawString(), ScHorizontalCellIterator::SetTab(), SetTableOpDirty(), SetTabNo(), SetValue(), SetValues(), SplitFormulaGroupByRelativeRef(), StartListeners(), StartListeningFormulaCells(), StoreToCache(), Swap(), SwapCol(), SwapNonEmpty(), sc::CellValues::swapNonEmpty(), TestInsertCol(), TestInsertRow(), TestTabRefAbs(), TransferCellValuesTo(), sc::CellValues::transferFrom(), TrimEmptyBlocks(), UpdateCompile(), UpdateDeleteTab(), UpdateGrow(), UpdateInsertTabAbs(), UpdateInsertTabOnlyCells(), UpdateMoveTab(), UpdateReference(), UpdateReferenceOnCopy(), UpdateScriptType(), UpdateScriptTypes(), UpdateSelectionFunction(), UpdateTranspose(), and VisibleCount().
|
private |
Definition at line 188 of file column.hxx.
Referenced by CellStorageModified(), CloneFormulaCell(), sc::CellValues::copyCellTextAttrsTo(), CopyCellTextAttrsToDocument(), ScTable::CopyCellToDocument(), CopyCellToDocument(), CopyFromClip(), CopyOneCellFromClip(), ScTable::CopyStaticToDocument(), CopyToClip(), Delete(), DeleteRow(), FreeAll(), GetCellAttrStore(), GetCellTextAttr(), GetOptimalHeight(), GetRangeScriptType(), GetScriptType(), GetTextWidth(), InitBlockPosition(), ScDocumentImport::initColumn(), InsertRow(), MoveTo(), ScColumnTextWidthIterator::ScColumnTextWidthIterator(), SetEditText(), SetError(), SetFormula(), SetFormulaCell(), SetFormulaCells(), SetRawString(), SetScriptType(), SetTextWidth(), SetValue(), SetValues(), Swap(), SwapCol(), sc::CellValues::swapNonEmpty(), sc::CellValues::transferFrom(), UpdateDeleteTab(), UpdateInsertTabAbs(), UpdateInsertTabOnlyCells(), and UpdateMoveTab().
|
private |
Definition at line 200 of file column.hxx.
Referenced by CopyCellSparklinesToDocument(), CreateSparklineCell(), Delete(), DeleteSparkline(), DeleteSparklineCells(), duplicateSparkline(), DuplicateSparklines(), FreeAll(), GetSparklineCell(), GetSparklinesMaxRow(), GetSparklinesMinRow(), GetSparklineStore(), HasSparklines(), InitBlockPosition(), InsertRow(), IsSparklinesEmptyBlock(), and SwapCol().
|
private |
Definition at line 207 of file column.hxx.
Referenced by DeleteEmptyBroadcasters(), and EndListening().
|
private |
Definition at line 202 of file column.hxx.
Referenced by CheckIntegrity(), sc::CellStoreEvent::element_block_acquired(), sc::CellStoreEvent::element_block_released(), HasFormulaCell(), and SwapCol().
|
private |
Definition at line 204 of file column.hxx.
Referenced by ApplySelectionCache(), ApplySelectionLineStyle(), ApplySelectionStyle(), Broadcast(), BroadcastBroadcasters(), BroadcastCells(), CellNotesDeleting(), ChangeSelectionIndent(), ClearSelectionItems(), CloneFormulaCell(), CollectBroadcasterState(), ConvertFormulaToValue(), CopyCellToDocument(), CopyFromClip(), CopyOneCellFromClip(), CopyScenarioFrom(), CopyScenarioTo(), CopyToClip(), CopyToColumn(), CreateAllNoteCaptions(), DeleteArea(), DeleteBeforeCopyFromClip(), DeleteRow(), DeleteSelection(), EndListeningIntersectedGroup(), FetchVectorRefArray(), GetAllNoteEntries(), GetCol(), GetNeededSize(), GetNextSpellingCell(), GetNotesInRange(), GetOptimalColWidth(), GetSelectionStyle(), GetUnprotectedCells(), HasAttribSelection(), HasSelectionMatrixFragment(), Init(), ScDocumentImport::initColumn(), IsDrawObjectsEmptyBlock(), MarkScenarioIn(), MergeSelectionPattern(), MixData(), MixMarked(), MoveTo(), ParseString(), ResetFormulaCellPositions(), RestoreFromCache(), SearchStyle(), SearchStyleRange(), SetError(), SetFormula(), StoreToCache(), SwapCol(), SwapNonEmpty(), UpdateDrawObjects(), UpdateNoteCaptions(), UpdateReference(), UpdateReferenceOnCopy(), UpdateScriptType(), and UpdateSelectionFunction().
|
private |
Definition at line 205 of file column.hxx.
Referenced by Broadcast(), BroadcastBroadcasters(), BroadcastCells(), CellNotesDeleting(), CloneFormulaCell(), CollectBroadcasterState(), ConvertFormulaToValue(), CopyCellToDocument(), CopyFromClip(), CopyOneCellFromClip(), CopyScenarioFrom(), CopyScenarioTo(), CopyToClip(), CopyToColumn(), CreateAllNoteCaptions(), DeleteArea(), DeleteBeforeCopyFromClip(), DeleteRow(), DeleteSparkline(), DeleteSparklineCells(), EndListeningIntersectedGroup(), FetchVectorRefArray(), FindNextVisibleRow(), FindNextVisibleRowWithContent(), GetAllNoteEntries(), GetNeededSize(), GetNextSpellingCell(), GetNotesInRange(), GetOptimalColWidth(), GetOptimalHeight(), GetTab(), GetUnprotectedCells(), HasSelectionMatrixFragment(), Init(), ScDocumentImport::initColumn(), IsDrawObjectsEmptyBlock(), MarkScenarioIn(), MixData(), MoveTo(), RestoreFromCache(), SetError(), SetFormula(), SetTabNo(), SwapNonEmpty(), UpdateDeleteTab(), UpdateDrawObjectsForRow(), UpdateInsertTab(), UpdateInsertTabAbs(), UpdateInsertTabOnlyCells(), UpdateMoveTab(), UpdateNoteCaptions(), UpdateReference(), UpdateReferenceOnCopy(), UpdateScriptType(), and UpdateSelectionFunction().