LibreOffice Module sc (master) 1
|
#include <table.hxx>
Classes | |
class | VisibleDataCellIterator |
Use this to iterate through non-empty visible cells in a single column. More... | |
Public Member Functions | |
ScTable (ScDocument &rDoc, SCTAB nNewTab, const OUString &rNewName, bool bColInfo=true, bool bRowInfo=true) | |
~ScTable () COVERITY_NOEXCEPT_FALSE | |
ScTable (const ScTable &)=delete | |
ScTable & | operator= (const ScTable &)=delete |
ScDocument & | GetDoc () |
const ScDocument & | GetDoc () const |
SCTAB | GetTab () const |
ScOutlineTable * | GetOutlineTable () |
ScColumn & | CreateColumnIfNotExists (const SCCOL nScCol) |
void | CreateColumnIfNotExistsImpl (const SCCOL nScCol) |
ScColumnData & | GetColumnData (SCCOL nCol) |
sal_uInt64 | GetCellCount () const |
sal_uInt64 | GetWeightedCount () const |
sal_uInt64 | GetWeightedCount (SCROW nStartRow, SCROW nEndRow) const |
sal_uInt64 | GetCodeCount () const |
sal_uInt16 | GetTextWidth (SCCOL nCol, SCROW nRow) const |
bool | SetOutlineTable (const ScOutlineTable *pNewOutline) |
void | StartOutlineTable () |
void | DoAutoOutline (SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow) |
bool | TestRemoveSubTotals (const ScSubTotalParam &rParam) |
void | RemoveSubTotals (ScSubTotalParam &rParam) |
bool | DoSubTotals (ScSubTotalParam &rParam) |
const ScSheetEvents * | GetSheetEvents () const |
void | SetSheetEvents (std::unique_ptr< ScSheetEvents > pNew) |
bool | IsVisible () const |
void | SetVisible (bool bVis) |
bool | IsStreamValid () const |
void | SetStreamValid (bool bSet, bool bIgnoreLock=false) |
bool | IsColValid (const SCCOL nScCol) const |
bool | IsColRowValid (const SCCOL nScCol, const SCROW nScRow) const |
bool | IsColRowTabValid (const SCCOL nScCol, const SCROW nScRow, const SCTAB nScTab) const |
bool | ValidCol (SCCOL nCol) const |
bool | ValidRow (SCROW nRow) const |
bool | ValidColRow (SCCOL nCol, SCROW nRow) const |
bool | IsPendingRowHeights () const |
void | SetPendingRowHeights (bool bSet) |
bool | GetCalcNotification () const |
void | SetCalcNotification (bool bSet) |
bool | IsLayoutRTL () const |
bool | IsLoadingRTL () const |
void | SetLayoutRTL (bool bSet) |
void | SetLoadingRTL (bool bSet) |
bool | IsScenario () const |
void | SetScenario (bool bFlag) |
void | GetScenarioComment (OUString &rComment) const |
void | SetScenarioComment (const OUString &rComment) |
const Color & | GetScenarioColor () const |
void | SetScenarioColor (const Color &rNew) |
const Color & | GetTabBgColor () const |
void | SetTabBgColor (const Color &rColor) |
ScScenarioFlags | GetScenarioFlags () const |
void | SetScenarioFlags (ScScenarioFlags nNew) |
void | SetActiveScenario (bool bSet) |
bool | IsActiveScenario () const |
ScLinkMode | GetLinkMode () const |
bool | IsLinked () const |
const OUString & | GetLinkDoc () const |
const OUString & | GetLinkFlt () const |
const OUString & | GetLinkOpt () const |
const OUString & | GetLinkTab () const |
sal_uLong | GetLinkRefreshDelay () const |
void | SetLink (ScLinkMode nMode, const OUString &rDoc, const OUString &rFlt, const OUString &rOpt, const OUString &rTab, sal_uLong nRefreshDelay) |
sal_Int64 | GetHashCode () const |
const OUString & | GetName () const |
void | SetName (const OUString &rNewName) |
void | SetAnonymousDBData (std::unique_ptr< ScDBData > pDBData) |
ScDBData * | GetAnonymousDBData () |
const OUString & | GetCodeName () const |
void | SetCodeName (const OUString &rNewName) |
const OUString & | GetUpperName () const |
const OUString & | GetPageStyle () const |
void | SetPageStyle (const OUString &rName) |
void | PageStyleModified (const OUString &rNewName) |
bool | IsProtected () const |
void | SetProtection (const ScTableProtection *pProtect) |
const ScTableProtection * | GetProtection () const |
void | GetUnprotectedCells (ScRangeList &rRangeList) const |
bool | IsEditActionAllowed (sc::ColRowEditAction eAction, SCCOLROW nStart, SCCOLROW nEnd) const |
Size | GetPageSize () const |
void | SetPageSize (const Size &rSize) |
void | SetRepeatArea (SCCOL nStartCol, SCCOL nEndCol, SCROW nStartRow, SCROW nEndRow) |
void | LockTable () |
void | UnlockTable () |
bool | IsBlockEditable (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, bool *pOnlyNotBecauseOfMatrix=nullptr, bool bNoMatrixAtAll=false) const |
bool | IsSelectionEditable (const ScMarkData &rMark, bool *pOnlyNotBecauseOfMatrix=nullptr) const |
bool | HasBlockMatrixFragment (const SCCOL nCol1, SCROW nRow1, const SCCOL nCol2, SCROW nRow2, bool bNoMatrixAtAll=false) const |
bool | HasSelectionMatrixFragment (const ScMarkData &rMark) const |
bool | IsBlockEmpty (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2) const |
bool | SetString (SCCOL nCol, SCROW nRow, SCTAB nTab, const OUString &rString, const ScSetStringParam *pParam=nullptr) |
bool | SetEditText (SCCOL nCol, SCROW nRow, std::unique_ptr< EditTextObject > pEditText) |
void | SetEditText (SCCOL nCol, SCROW nRow, const EditTextObject &rEditText, const SfxItemPool *pEditPool) |
SCROW | GetFirstEditTextRow (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2) const |
void | SetEmptyCell (SCCOL nCol, SCROW nRow) |
void | SetFormula (SCCOL nCol, SCROW nRow, const ScTokenArray &rArray, formula::FormulaGrammar::Grammar eGram) |
void | SetFormula (SCCOL nCol, SCROW nRow, const OUString &rFormula, formula::FormulaGrammar::Grammar eGram) |
ScFormulaCell * | SetFormulaCell (SCCOL nCol, SCROW nRow, ScFormulaCell *pCell) |
Takes ownership of pCell. More... | |
bool | SetFormulaCells (SCCOL nCol, SCROW nRow, std::vector< ScFormulaCell * > &rCells) |
bool | HasFormulaCell (const SCCOL nCol1, SCROW nRow1, const SCCOL nCol2, SCROW nRow2) const |
svl::SharedString | GetSharedString (SCCOL nCol, SCROW nRow) const |
void | SetValue (SCCOL nCol, SCROW nRow, const double &rVal) |
void | SetValues (const SCCOL nCol, const SCROW nRow, const std::vector< double > &rVals) |
void | SetError (SCCOL nCol, SCROW nRow, FormulaError nError) |
SCSIZE | GetPatternCount (SCCOL nCol) const |
SCSIZE | GetPatternCount (SCCOL nCol, SCROW nRow1, SCROW nRow2) const |
bool | ReservePatternCount (SCCOL nCol, SCSIZE nReserve) |
void | SetRawString (SCCOL nCol, SCROW nRow, const svl::SharedString &rStr) |
OUString | GetString (SCCOL nCol, SCROW nRow, const ScInterpreterContext *pContext=nullptr) const |
double * | GetValueCell (SCCOL nCol, SCROW nRow) |
OUString | GetInputString (SCCOL nCol, SCROW nRow, bool bForceSystemLocale=false) const |
double | GetValue (SCCOL nCol, SCROW nRow) const |
const EditTextObject * | GetEditText (SCCOL nCol, SCROW nRow) const |
void | RemoveEditTextCharAttribs (SCCOL nCol, SCROW nRow, const ScPatternAttr &rAttr) |
OUString | GetFormula (SCCOL nCol, SCROW nRow) const |
const ScFormulaCell * | GetFormulaCell (SCCOL nCol, SCROW nRow) const |
ScFormulaCell * | GetFormulaCell (SCCOL nCol, SCROW nRow) |
CellType | GetCellType (const ScAddress &rPos) const |
CellType | GetCellType (SCCOL nCol, SCROW nRow) const |
ScRefCellValue | GetCellValue (SCCOL nCol, sc::ColumnBlockPosition &rBlockPos, SCROW nRow) |
ScRefCellValue | GetCellValue (SCCOL nCol, SCROW nRow) const |
void | GetFirstDataPos (SCCOL &rCol, SCROW &rRow) const |
void | GetLastDataPos (SCCOL &rCol, SCROW &rRow) const |
std::shared_ptr< sc::Sparkline > | GetSparkline (SCCOL nCol, SCROW nRow) |
sc::Sparkline * | CreateSparkline (SCCOL nCol, SCROW nRow, std::shared_ptr< sc::SparklineGroup > const &pSparklineGroup) |
bool | DeleteSparkline (SCCOL nCol, SCROW nRow) |
sc::SparklineList & | GetSparklineList () |
void | CopySparklinesToTable (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, ScTable *pDestTab) |
void | FillSparkline (bool bVertical, SCCOLROW nFixed, SCCOLROW nIteratingStart, SCCOLROW nIteratingEnd, SCCOLROW nFillStart, SCCOLROW nFillEnd) |
std::unique_ptr< ScPostIt > | ReleaseNote (SCCOL nCol, SCROW nRow) |
ScPostIt * | GetNote (SCCOL nCol, SCROW nRow) |
void | SetNote (SCCOL nCol, SCROW nRow, std::unique_ptr< ScPostIt > pNote) |
size_t | GetNoteCount (SCCOL nCol) const |
SCROW | GetNotePosition (SCCOL nCol, size_t nIndex) const |
void | CreateAllNoteCaptions () |
void | ForgetNoteCaptions (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, bool bPreserveData) |
void | GetAllNoteEntries (std::vector< sc::NoteEntry > &rNotes) const |
void | GetNotesInRange (const ScRange &rRange, std::vector< sc::NoteEntry > &rNotes) const |
CommentCaptionState | GetAllNoteCaptionsState (const ScRange &rRange, std::vector< sc::NoteEntry > &rNotes) |
bool | ContainsNotesInRange (const ScRange &rRange) const |
bool | TestInsertRow (SCCOL nStartCol, SCCOL nEndCol, SCROW nStartRow, SCSIZE nSize) const |
void | InsertRow (SCCOL nStartCol, SCCOL nEndCol, SCROW nStartRow, SCSIZE nSize) |
void | DeleteRow (const sc::ColumnSet &rRegroupCols, SCCOL nStartCol, SCCOL nEndCol, SCROW nStartRow, SCSIZE nSize, bool *pUndoOutline, std::vector< ScAddress > *pGroupPos) |
bool | TestInsertCol (SCROW nStartRow, SCROW nEndRow, SCSIZE nSize) const |
void | InsertCol (const sc::ColumnSet &rRegroupCols, SCCOL nStartCol, SCROW nStartRow, SCROW nEndRow, SCSIZE nSize) |
void | DeleteCol (const sc::ColumnSet &rRegroupCols, SCCOL nStartCol, SCROW nStartRow, SCROW nEndRow, SCSIZE nSize, bool *pUndoOutline) |
void | DeleteArea (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, InsertDeleteFlags nDelFlag, bool bBroadcast=true, sc::ColumnSpanSet *pBroadcastSpans=nullptr) |
void | CopyToClip (sc::CopyToClipContext &rCxt, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, ScTable *pTable) |
void | CopyToClip (sc::CopyToClipContext &rCxt, const ScRangeList &rRanges, ScTable *pTable) |
void | CopyStaticToDocument (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, const SvNumberFormatterMergeMap &rMap, ScTable *pDestTab) |
void | CopyCellToDocument (SCCOL nSrcCol, SCROW nSrcRow, SCCOL nDestCol, SCROW nDestRow, ScTable &rDestTab) |
bool | InitColumnBlockPosition (sc::ColumnBlockPosition &rBlockPos, SCCOL nCol) |
void | DeleteBeforeCopyFromClip (sc::CopyFromClipContext &rCxt, const ScTable &rClipTab, sc::ColumnSpanSet &rBroadcastSpans) |
void | CopyOneCellFromClip (sc::CopyFromClipContext &rCxt, const SCCOL nCol1, const SCROW nRow1, const SCCOL nCol2, const SCROW nRow2, const SCROW nSrcRow, const ScTable *pSrcTab) |
void | CopyFromClip (sc::CopyFromClipContext &rCxt, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, SCCOL nDx, SCROW nDy, ScTable *pTable) |
void | StartListeningFormulaCells (sc::StartListeningContext &rStartCxt, sc::EndListeningContext &rEndCxt, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2) |
void | SetDirtyFromClip (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, sc::ColumnSpanSet &rBroadcastSpans) |
void | CopyToTable (sc::CopyToDocContext &rCxt, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, InsertDeleteFlags nFlags, bool bMarked, ScTable *pDestTab, const ScMarkData *pMarkData, bool bAsLink, bool bColRowFlags, bool bGlobalNamesToLocal, bool bCopyCaptions) |
void | CopyCaptionsToTable (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, ScTable *pDestTab, bool bCloneCaption) |
void | UndoToTable (sc::CopyToDocContext &rCxt, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, InsertDeleteFlags nFlags, bool bMarked, ScTable *pDestTab) |
void | CopyConditionalFormat (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, SCCOL nDx, SCROW nDy, const ScTable *pTable) |
void | TransposeClip (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, SCROW nCombinedStartRow, SCROW nRowDestOffset, ScTable *pTransClip, InsertDeleteFlags nFlags, bool bAsLink, bool bIncludeFiltered) |
void | MixMarked (sc::MixDocContext &rCxt, const ScMarkData &rMark, ScPasteFunc nFunction, bool bSkipEmpty, const ScTable *pSrcTab) |
void | MixData (sc::MixDocContext &rCxt, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, ScPasteFunc nFunction, bool bSkipEmpty, const ScTable *pSrcTab) |
void | CopyData (SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, SCCOL nDestCol, SCROW nDestRow, SCTAB nDestTab) |
void | CopyScenarioFrom (const ScTable *pSrcTab) |
void | CopyScenarioTo (ScTable *pDestTab) const |
bool | TestCopyScenarioTo (const ScTable *pDestTab) const |
void | MarkScenarioIn (ScMarkData &rMark, ScScenarioFlags nNeededBits) const |
bool | HasScenarioRange (const ScRange &rRange) const |
void | InvalidateScenarioRanges () |
const ScRangeList * | GetScenarioRanges () const |
void | CopyUpdated (const ScTable *pPosTab, ScTable *pDestTab) const |
void | InvalidateTableArea () |
void | InvalidatePageBreaks () |
void | InvalidateCellArea () |
bool | GetCellArea (SCCOL &rEndCol, SCROW &rEndRow) |
bool | GetTableArea (SCCOL &rEndCol, SCROW &rEndRow, bool bCalcHiddens=false) const |
bool | GetPrintArea (SCCOL &rEndCol, SCROW &rEndRow, bool bNotes, bool bCalcHiddens=false) const |
bool | GetPrintAreaHor (SCROW nStartRow, SCROW nEndRow, SCCOL &rEndCol) const |
bool | GetPrintAreaVer (SCCOL nStartCol, SCCOL nEndCol, SCROW &rEndRow, bool bNotes) const |
bool | GetDataStart (SCCOL &rStartCol, SCROW &rStartRow) const |
void | ExtendPrintArea (OutputDevice *pDev, SCCOL nStartCol, SCROW nStartRow, SCCOL &rEndCol, SCROW nEndRow) |
void | GetDataArea (SCCOL &rStartCol, SCROW &rStartRow, SCCOL &rEndCol, SCROW &rEndRow, bool bIncludeOld, bool bOnlyDown) const |
bool | GetDataAreaSubrange (ScRange &rRange) const |
bool | ShrinkToUsedDataArea (bool &o_bShrunk, SCCOL &rStartCol, SCROW &rStartRow, SCCOL &rEndCol, SCROW &rEndRow, bool bColumnsOnly, bool bStickyTopRow, bool bStickyLeftCol, ScDataAreaExtras *pDataAreaExtras) const |
SCROW | GetLastDataRow (SCCOL nCol1, SCCOL nCol2, SCROW nLastRow, ScDataAreaExtras *pDataAreaExtras=nullptr) const |
bool | IsEmptyData (SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow) const |
SCSIZE | GetEmptyLinesInBlock (SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, ScDirection eDir) const |
void | FindAreaPos (SCCOL &rCol, SCROW &rRow, ScMoveDirection eDirection) const |
void | GetNextPos (SCCOL &rCol, SCROW &rRow, SCCOL nMovX, SCROW nMovY, bool bMarked, bool bUnprotected, const ScMarkData &rMark, SCCOL nTabStartCol) const |
bool | SkipRow (const SCCOL rCol, SCROW &rRow, const SCROW nMovY, const ScMarkData &rMark, const bool bUp, const SCROW nUsedY, const bool bMarked, const bool bSheetProtected) const |
void | LimitChartArea (SCCOL &rStartCol, SCROW &rStartRow, SCCOL &rEndCol, SCROW &rEndRow) const |
bool | HasData (SCCOL nCol, SCROW nRow) const |
bool | HasStringData (SCCOL nCol, SCROW nRow) const |
bool | HasValueData (SCCOL nCol, SCROW nRow) const |
bool | HasStringCells (SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow) const |
sc::MultiDataCellState | HasMultipleDataCells (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2) const |
FormulaError | GetErrCode (const ScAddress &rPos) const |
void | ResetChanged (const ScRange &rRange) |
void | CheckVectorizationState () |
void | SetAllFormulasDirty (const sc::SetFormulaDirtyContext &rCxt) |
void | SetDirty (const ScRange &, ScColumn::BroadcastMode) |
void | SetDirtyAfterLoad () |
void | SetDirtyVar () |
void | SetTableOpDirty (const ScRange &) |
void | CalcAll () |
void | CalcAfterLoad (sc::CompileFormulaContext &rCxt, bool bStartListening) |
void | CompileAll (sc::CompileFormulaContext &rCxt) |
void | CompileXML (sc::CompileFormulaContext &rCxt, ScProgress &rProgress) |
bool | BroadcastBroadcasters (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, SfxHintId nHint) |
Broadcast single broadcasters in range, without explicitly setting anything dirty, not doing area broadcasts. More... | |
bool | CompileErrorCells (sc::CompileFormulaContext &rCxt, FormulaError nErrCode) |
void | UpdateReference (sc::RefUpdateContext &rCxt, ScDocument *pUndoDoc=nullptr, bool bIncludeDraw=true, bool bUpdateNoteCaptionPos=true) |
void | UpdateDrawRef (UpdateRefMode eUpdateRefMode, SCCOL nCol1, SCROW nRow1, SCTAB nTab1, SCCOL nCol2, SCROW nRow2, SCTAB nTab2, SCCOL nDx, SCROW nDy, SCTAB nDz, bool bUpdateNoteCaptionPos=true) |
void | UpdateTranspose (const ScRange &rSource, const ScAddress &rDest, ScDocument *pUndoDoc) |
void | UpdateGrow (const ScRange &rArea, SCCOL nGrowX, SCROW nGrowY) |
void | UpdateInsertTab (sc::RefUpdateInsertTabContext &rCxt) |
void | UpdateDeleteTab (sc::RefUpdateDeleteTabContext &rCxt) |
void | UpdateMoveTab (sc::RefUpdateMoveTabContext &rCxt, SCTAB nTabNo, ScProgress *pProgress) |
void | UpdateCompile (bool bForceIfNameInUse=false) |
void | SetTabNo (SCTAB nNewTab) |
void | FindRangeNamesInUse (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, sc::UpdatedRangeNames &rIndexes) const |
void | Fill (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, sal_uInt64 nFillCount, FillDir eFillDir, FillCmd eFillCmd, FillDateCmd eFillDateCmd, double nStepValue, double nMaxValue, ScProgress *pProgress) |
OUString | GetAutoFillPreview (const ScRange &rSource, SCCOL nEndX, SCROW nEndY) |
void | UpdateSelectionFunction (ScFunctionData &rData, const ScMarkData &rMark) |
void | AutoFormat (SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, sal_uInt16 nFormatNo) |
void | GetAutoFormatData (SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, ScAutoFormatData &rData) |
bool | SearchAndReplace (const SvxSearchItem &rSearchItem, SCCOL &rCol, SCROW &rRow, const ScMarkData &rMark, ScRangeList &rMatchedRanges, OUString &rUndoStr, ScDocument *pUndoDoc, bool &bMatchedRangesWereClamped) |
void | FindMaxRotCol (RowInfo *pRowInfo, SCSIZE nArrCount, SCCOL nX1, SCCOL nX2) |
bool | HasAttrib (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, HasAttrFlags nMask) const |
bool | HasAttribSelection (const ScMarkData &rMark, HasAttrFlags nMask) const |
bool | HasAttrib (SCCOL nCol, SCROW nRow, HasAttrFlags nMask, SCROW *nStartRow=nullptr, SCROW *nEndRow=nullptr) const |
bool | IsMerged (SCCOL nCol, SCROW nRow) const |
bool | ExtendMerge (SCCOL nStartCol, SCROW nStartRow, SCCOL &rEndCol, SCROW &rEndRow, bool bRefresh) |
void | SetMergedCells (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2) |
const SfxPoolItem * | GetAttr (SCCOL nCol, SCROW nRow, sal_uInt16 nWhich) const |
template<class T > | |
const T * | GetAttr (SCCOL nCol, SCROW nRow, TypedWhichId< T > nWhich) const |
const SfxPoolItem * | GetAttr (SCCOL nCol, SCROW nRow, sal_uInt16 nWhich, SCROW &nStartRow, SCROW &nEndRow) const |
template<class T > | |
const T * | GetAttr (SCCOL nCol, SCROW nRow, TypedWhichId< T > nWhich, SCROW &nStartRow, SCROW &nEndRow) const |
const ScPatternAttr * | GetPattern (SCCOL nCol, SCROW nRow) const |
const ScPatternAttr * | GetMostUsedPattern (SCCOL nCol, SCROW nStartRow, SCROW nEndRow) const |
sal_uInt32 | GetNumberFormat (const ScInterpreterContext &rContext, const ScAddress &rPos) const |
sal_uInt32 | GetNumberFormat (SCCOL nCol, SCROW nRow) const |
sal_uInt32 | GetNumberFormat (SCCOL nCol, SCROW nStartRow, SCROW nEndRow) const |
void | SetNumberFormat (SCCOL nCol, SCROW nRow, sal_uInt32 nNumberFormat) |
void | MergeSelectionPattern (ScMergePatternState &rState, const ScMarkData &rMark, bool bDeep) const |
void | MergePatternArea (ScMergePatternState &rState, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, bool bDeep) const |
void | MergeBlockFrame (SvxBoxItem *pLineOuter, SvxBoxInfoItem *pLineInner, ScLineFlags &rFlags, SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow) const |
void | ApplyBlockFrame (const SvxBoxItem &rLineOuter, const SvxBoxInfoItem *pLineInner, SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow) |
void | ApplyAttr (SCCOL nCol, SCROW nRow, const SfxPoolItem &rAttr) |
void | ApplyPattern (SCCOL nCol, SCROW nRow, const ScPatternAttr &rAttr) |
void | ApplyPatternArea (SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, const ScPatternAttr &rAttr, ScEditDataArray *pDataArray=nullptr, bool *const pIsChanged=nullptr) |
void | SetAttrEntries (SCCOL nStartCol, SCCOL nEndCol, std::vector< ScAttrEntry > &&vNewData) |
void | SetPattern (const ScAddress &rPos, const ScPatternAttr &rAttr) |
const ScPatternAttr * | SetPattern (SCCOL nCol, SCROW nRow, std::unique_ptr< ScPatternAttr >) |
void | SetPattern (SCCOL nCol, SCROW nRow, const ScPatternAttr &rAttr) |
void | ApplyPatternIfNumberformatIncompatible (const ScRange &rRange, const ScPatternAttr &rPattern, SvNumFormatType nNewType) |
void | AddCondFormatData (const ScRangeList &rRange, sal_uInt32 nIndex) |
void | RemoveCondFormatData (const ScRangeList &rRange, sal_uInt32 nIndex) |
void | SetPatternAreaCondFormat (SCCOL nCol, SCROW nStartRow, SCROW nEndRow, const ScPatternAttr &rAttr, const ScCondFormatIndexes &rCondFormatIndexes) |
void | ApplyStyle (SCCOL nCol, SCROW nRow, const ScStyleSheet *rStyle) |
void | ApplyStyleArea (SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, const ScStyleSheet &rStyle) |
void | ApplySelectionStyle (const ScStyleSheet &rStyle, const ScMarkData &rMark) |
void | ApplySelectionLineStyle (const ScMarkData &rMark, const ::editeng::SvxBorderLine *pLine, bool bColorOnly) |
const ScStyleSheet * | GetStyle (SCCOL nCol, SCROW nRow) const |
const ScStyleSheet * | GetSelectionStyle (const ScMarkData &rMark, bool &rFound) const |
const ScStyleSheet * | GetAreaStyle (bool &rFound, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2) const |
void | StyleSheetChanged (const SfxStyleSheetBase *pStyleSheet, bool bRemoved, OutputDevice *pDev, double nPPTX, double nPPTY, const Fraction &rZoomX, const Fraction &rZoomY) |
bool | IsStyleSheetUsed (const ScStyleSheet &rStyle) const |
bool | ApplyFlags (SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, ScMF nFlags) |
bool | RemoveFlags (SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, ScMF nFlags) |
void | ApplySelectionCache (SfxItemPoolCache *pCache, const ScMarkData &rMark, ScEditDataArray *pDataArray=nullptr, bool *const pIsChanged=nullptr) |
void | DeleteSelection (InsertDeleteFlags nDelFlag, const ScMarkData &rMark, bool bBroadcast=true) |
void | ClearSelectionItems (const sal_uInt16 *pWhich, const ScMarkData &rMark) |
void | ChangeSelectionIndent (bool bIncrement, const ScMarkData &rMark) |
const std::optional< ScRange > & | GetRepeatColRange () const |
const std::optional< ScRange > & | GetRepeatRowRange () const |
void | SetRepeatColRange (std::optional< ScRange > oNew) |
void | SetRepeatRowRange (std::optional< ScRange > oNew) |
sal_uInt16 | GetPrintRangeCount () const |
const ScRange * | GetPrintRange (sal_uInt16 nPos) const |
bool | IsPrintEntireSheet () const |
Returns true, if the sheet is always printed. More... | |
void | ClearPrintRanges () |
Removes all print ranges. More... | |
void | AddPrintRange (const ScRange &rNew) |
Adds a new print ranges. More... | |
void | SetPrintEntireSheet () |
Marks the specified sheet to be printed completely. More... | |
void | FillPrintSaver (ScPrintSaverTab &rSaveTab) const |
void | RestorePrintRanges (const ScPrintSaverTab &rSaveTab) |
sal_uInt16 | GetOptimalColWidth (SCCOL nCol, OutputDevice *pDev, double nPPTX, double nPPTY, const Fraction &rZoomX, const Fraction &rZoomY, bool bFormula, const ScMarkData *pMarkData, const ScColWidthParam *pParam) |
bool | SetOptimalHeight (sc::RowHeightContext &rCxt, SCROW nStartRow, SCROW nEndRow, bool bApi, ScProgress *pOuterProgress=nullptr, sal_uInt64 nProgressStart=0) |
void | SetOptimalHeightOnly (sc::RowHeightContext &rCxt, SCROW nStartRow, SCROW nEndRow, ScProgress *pOuterProgress=nullptr, sal_uInt64 nProgressStart=0) |
tools::Long | GetNeededSize (SCCOL nCol, SCROW nRow, OutputDevice *pDev, double nPPTX, double nPPTY, const Fraction &rZoomX, const Fraction &rZoomY, bool bWidth, bool bTotalSize, bool bInPrintTwips=false) |
void | SetColWidth (SCCOL nCol, sal_uInt16 nNewWidth) |
void | SetColWidthOnly (SCCOL nCol, sal_uInt16 nNewWidth) |
void | SetRowHeight (SCROW nRow, sal_uInt16 nNewHeight) |
bool | SetRowHeightRange (SCROW nStartRow, SCROW nEndRow, sal_uInt16 nNewHeight, double nPPTY, bool bApi) |
void | SetRowHeightOnly (SCROW nStartRow, SCROW nEndRow, sal_uInt16 nNewHeight) |
Set specified row height to specified ranges. More... | |
void | SetManualHeight (SCROW nStartRow, SCROW nEndRow, bool bManual) |
sal_uInt16 | GetColWidth (SCCOL nCol, bool bHiddenAsZero=true) const |
tools::Long | GetColWidth (SCCOL nStartCol, SCCOL nEndCol) const |
sal_uInt16 | GetRowHeight (SCROW nRow, SCROW *pStartRow, SCROW *pEndRow, bool bHiddenAsZero=true) const |
tools::Long | GetRowHeight (SCROW nStartRow, SCROW nEndRow, bool bHiddenAsZero=true) const |
tools::Long | GetScaledRowHeight (SCROW nStartRow, SCROW nEndRow, double fScale) const |
tools::Long | GetColOffset (SCCOL nCol, bool bHiddenAsZero=true) const |
tools::Long | GetRowOffset (SCROW nRow, bool bHiddenAsZero=true) const |
SCROW | GetRowForHeight (tools::Long nHeight) const |
Get the last row such that the height of row 0 to the end row is as high as possible without exceeding the specified height value. More... | |
sal_uInt16 | GetOriginalWidth (SCCOL nCol) const |
sal_uInt16 | GetOriginalHeight (SCROW nRow) const |
sal_uInt16 | GetCommonWidth (SCCOL nEndCol) const |
SCROW | GetHiddenRowCount (SCROW nRow) const |
void | ShowCol (SCCOL nCol, bool bShow) |
void | ShowRow (SCROW nRow, bool bShow) |
void | DBShowRow (SCROW nRow, bool bShow) |
void | ShowRows (SCROW nRow1, SCROW nRow2, bool bShow) |
void | DBShowRows (SCROW nRow1, SCROW nRow2, bool bShow) |
void | SetRowFlags (SCROW nRow, CRFlags nNewFlags) |
void | SetRowFlags (SCROW nStartRow, SCROW nEndRow, CRFlags nNewFlags) |
SCROW | GetLastFlaggedRow () const |
SCCOL | GetLastChangedColFlagsWidth () const |
SCROW | GetLastChangedRowFlagsWidth () const |
bool | IsDataFiltered (SCCOL nColStart, SCROW nRowStart, SCCOL nColEnd, SCROW nRowEnd) const |
bool | IsDataFiltered (const ScRange &rRange) const |
CRFlags | GetColFlags (SCCOL nCol) const |
CRFlags | GetRowFlags (SCROW nRow) const |
const ScBitMaskCompressedArray< SCROW, CRFlags > * | GetRowFlagsArray () const |
bool | UpdateOutlineCol (SCCOL nStartCol, SCCOL nEndCol, bool bShow) |
bool | UpdateOutlineRow (SCROW nStartRow, SCROW nEndRow, bool bShow) |
void | UpdatePageBreaks (const ScRange *pUserArea) |
void | RemoveManualBreaks () |
bool | HasManualBreaks () const |
void | SetRowManualBreaks (::std::set< SCROW > &&rBreaks) |
void | SetColManualBreaks (::std::set< SCCOL > &&rBreaks) |
void | GetAllRowBreaks (::std::set< SCROW > &rBreaks, bool bPage, bool bManual) const |
void | GetAllColBreaks (::std::set< SCCOL > &rBreaks, bool bPage, bool bManual) const |
bool | HasRowPageBreak (SCROW nRow) const |
bool | HasColPageBreak (SCCOL nCol) const |
bool | HasRowManualBreak (SCROW nRow) const |
bool | HasColManualBreak (SCCOL nCol) const |
SCROW | GetNextManualBreak (SCROW nRow) const |
Get the row position of the next manual break that occurs at or below specified row. More... | |
void | RemoveRowPageBreaks (SCROW nStartRow, SCROW nEndRow) |
void | RemoveRowBreak (SCROW nRow, bool bPage, bool bManual) |
void | RemoveColBreak (SCCOL nCol, bool bPage, bool bManual) |
void | SetRowBreak (SCROW nRow, bool bPage, bool bManual) |
void | SetColBreak (SCCOL nCol, bool bPage, bool bManual) |
css::uno::Sequence< css::sheet::TablePageBreakData > | GetRowBreakData () const |
bool | RowHidden (SCROW nRow, SCROW *pFirstRow=nullptr, SCROW *pLastRow=nullptr) const |
bool | RowHiddenLeaf (SCROW nRow, SCROW *pFirstRow=nullptr, SCROW *pLastRow=nullptr) const |
bool | HasHiddenRows (SCROW nStartRow, SCROW nEndRow) const |
bool | ColHidden (SCCOL nCol, SCCOL *pFirstCol=nullptr, SCCOL *pLastCol=nullptr) const |
bool | SetRowHidden (SCROW nStartRow, SCROW nEndRow, bool bHidden) |
void | SetColHidden (SCCOL nStartCol, SCCOL nEndCol, bool bHidden) |
void | CopyColHidden (const ScTable &rTable, SCCOL nStartCol, SCCOL nEndCol) |
void | CopyRowHidden (const ScTable &rTable, SCROW nStartRow, SCROW nEndRow) |
void | CopyRowHeight (const ScTable &rSrcTable, SCROW nStartRow, SCROW nEndRow, SCROW nSrcOffset) |
SCROW | FirstVisibleRow (SCROW nStartRow, SCROW nEndRow) const |
SCROW | LastVisibleRow (SCROW nStartRow, SCROW nEndRow) const |
SCROW | CountVisibleRows (SCROW nStartRow, SCROW nEndRow) const |
tools::Long | GetTotalRowHeight (SCROW nStartRow, SCROW nEndRow, bool bHiddenAsZero=true) const |
SCCOL | CountVisibleCols (SCCOL nStartCol, SCCOL nEndCol) const |
SCCOLROW | LastHiddenColRow (SCCOLROW nPos, bool bCol) const |
bool | RowFiltered (SCROW nRow, SCROW *pFirstRow=nullptr, SCROW *pLastRow=nullptr) const |
bool | ColFiltered (SCCOL nCol, SCCOL *pFirstCol=nullptr, SCCOL *pLastCol=nullptr) const |
bool | HasFilteredRows (SCROW nStartRow, SCROW nEndRow) const |
void | CopyColFiltered (const ScTable &rTable, SCCOL nStartCol, SCCOL nEndCol) |
void | CopyRowFiltered (const ScTable &rTable, SCROW nStartRow, SCROW nEndRow) |
void | SetRowFiltered (SCROW nStartRow, SCROW nEndRow, bool bFiltered) |
void | SetColFiltered (SCCOL nStartCol, SCCOL nEndCol, bool bFiltered) |
SCROW | FirstNonFilteredRow (SCROW nStartRow, SCROW nEndRow) const |
SCROW | LastNonFilteredRow (SCROW nStartRow, SCROW nEndRow) const |
SCROW | CountNonFilteredRows (SCROW nStartRow, SCROW nEndRow) const |
bool | IsManualRowHeight (SCROW nRow) const |
bool | HasUniformRowHeight (SCROW nRow1, SCROW nRow2) const |
void | SyncColRowFlags () |
void | StripHidden (SCCOL &rX1, SCROW &rY1, SCCOL &rX2, SCROW &rY2) |
void | ExtendHidden (SCCOL &rX1, SCROW &rY1, SCCOL &rX2, SCROW &rY2) |
void | Sort (const ScSortParam &rSortParam, bool bKeepQuery, bool bUpdateRefs, ScProgress *pProgress, sc::ReorderParam *pUndo) |
Sort a range of data. More... | |
void | Reorder (const sc::ReorderParam &rParam) |
void | TopTenQuery (ScQueryParam &) |
void | PrepareQuery (ScQueryParam &rQueryParam) |
SCSIZE | Query (const ScQueryParam &rQueryParam, bool bKeepSub) |
bool | CreateQueryParam (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, ScQueryParam &rQueryParam) |
void | GetFilterEntries (SCCOL nCol, SCROW nRow1, SCROW nRow2, ScFilterEntries &rFilterEntries, bool bFiltering=false) |
void | GetFilteredFilterEntries (SCCOL nCol, SCROW nRow1, SCROW nRow2, const ScQueryParam &rParam, ScFilterEntries &rFilterEntries, bool bFiltering) |
bool | GetDataEntries (SCCOL nCol, SCROW nRow, std::set< ScTypedStrData > &rStrings) |
bool | HasColHeader (SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow) const |
bool | HasRowHeader (SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow) const |
sal_Int32 | GetMaxStringLen (SCCOL nCol, SCROW nRowStart, SCROW nRowEnd, rtl_TextEncoding eCharSet) const |
sal_Int32 | GetMaxNumberStringLen (sal_uInt16 &nPrecision, SCCOL nCol, SCROW nRowStart, SCROW nRowEnd) const |
bool | IsSortCollatorGlobal () const |
void | InitSortCollator (const ScSortParam &rPar) |
void | DestroySortCollator () |
void | SetDrawPageSize (bool bResetStreamValid=true, bool bUpdateNoteCaptionPos=true, const ScObjectHandling eObjectHandling=ScObjectHandling::RecalcPosMode) |
void | SetRangeName (std::unique_ptr< ScRangeName > pNew) |
ScRangeName * | GetRangeName () const |
void | PreprocessRangeNameUpdate (sc::EndListeningContext &rEndListenCxt, sc::CompileFormulaContext &rCompileCxt) |
void | CompileHybridFormula (sc::StartListeningContext &rStartListenCxt, sc::CompileFormulaContext &rCompileCxt) |
void | PreprocessDBDataUpdate (sc::EndListeningContext &rEndListenCxt, sc::CompileFormulaContext &rCompileCxt) |
ScConditionalFormatList * | GetCondFormList () |
const ScConditionalFormatList * | GetCondFormList () const |
void | SetCondFormList (ScConditionalFormatList *pList) |
void | DeleteConditionalFormat (sal_uLong nOldIndex) |
sal_uLong | AddCondFormat (std::unique_ptr< ScConditionalFormat > pNew) |
SvtScriptType | GetScriptType (SCCOL nCol, SCROW nRow) const |
void | SetScriptType (SCCOL nCol, SCROW nRow, SvtScriptType nType) |
void | UpdateScriptTypes (const SCCOL nCol1, SCROW nRow1, const SCCOL nCol2, SCROW nRow2) |
SvtScriptType | GetRangeScriptType (sc::ColumnBlockPosition &rBlockPos, SCCOL nCol, SCROW nRow1, SCROW nRow2) |
formula::FormulaTokenRef | ResolveStaticReference (SCCOL nCol, SCROW nRow) |
formula::FormulaTokenRef | ResolveStaticReference (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2) |
formula::VectorRefArray | FetchVectorRefArray (SCCOL nCol, SCROW nRow1, SCROW nRow2) |
bool | HandleRefArrayForParallelism (SCCOL nCol, SCROW nRow1, SCROW nRow2, const ScFormulaCellGroupRef &mxGroup) |
void | AssertNoInterpretNeeded (SCCOL nCol, SCROW nRow1, SCROW nRow2) |
void | SplitFormulaGroups (SCCOL nCol, std::vector< SCROW > &rRows) |
void | UnshareFormulaCells (SCCOL nCol, std::vector< SCROW > &rRows) |
void | RegroupFormulaCells (SCCOL nCol) |
ScRefCellValue | GetRefCellValue (SCCOL nCol, SCROW nRow) |
ScRefCellValue | GetRefCellValue (SCCOL nCol, SCROW nRow, sc::ColumnBlockPosition &rBlockPos) |
SvtBroadcaster * | GetBroadcaster (SCCOL nCol, SCROW nRow) |
const SvtBroadcaster * | GetBroadcaster (SCCOL nCol, SCROW nRow) const |
void | DeleteBroadcasters (sc::ColumnBlockPosition &rBlockPos, SCCOL nCol, SCROW nRow1, SCROW nRow2) |
void | DeleteEmptyBroadcasters () |
void | FillMatrix (ScMatrix &rMat, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, svl::SharedStringPool *pPool) const |
void | InterpretDirtyCells (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2) |
bool | InterpretCellsIfNeeded (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2) |
void | SetFormulaResults (SCCOL nCol, SCROW nRow, const double *pResults, size_t nLen) |
void | CalculateInColumnInThread (ScInterpreterContext &rContext, SCCOL nColStart, SCCOL nColEnd, SCROW nRowStart, SCROW nRowEnd, unsigned nThisThread, unsigned nThreadsTotal) |
void | HandleStuffAfterParallelCalculation (SCCOL nColStart, SCCOL nColEnd, SCROW nRow, size_t nLen, ScInterpreter *pInterpreter) |
void | StartListeners (sc::StartListeningContext &rCxt, bool bAll) |
Either start all formula cells as listeners unconditionally, or start those that are marked "needs listening". More... | |
void | SetDirtyIfPostponed () |
Mark formula cells dirty that have the mbPostponedDirty flag set or contain named ranges with relative references. More... | |
void | BroadcastRecalcOnRefMove () |
Broadcast dirty formula cells that contain functions such as CELL(), COLUMN() or ROW() which may change its value on move. More... | |
void | TransferCellValuesTo (const SCCOL nCol, SCROW nRow, size_t nLen, sc::CellValues &rDest) |
void | CopyCellValuesFrom (const SCCOL nCol, SCROW nRow, const sc::CellValues &rSrc) |
std::optional< sc::ColumnIterator > | GetColumnIterator (SCCOL nCol, SCROW nRow1, SCROW nRow2) const |
bool | EnsureFormulaCellResults (const SCCOL nCol1, SCROW nRow1, const SCCOL nCol2, SCROW nRow2, bool bSkipRunning=false) |
void | ConvertFormulaToValue (sc::EndListeningContext &rCxt, const SCCOL nCol1, const SCROW nRow1, const SCCOL nCol2, const SCROW nRow2, sc::TableValues *pUndo) |
void | SwapNonEmpty (sc::TableValues &rValues, sc::StartListeningContext &rStartCxt, sc::EndListeningContext &rEndCxt) |
void | finalizeOutlineImport () |
void | StoreToCache (SvStream &rStrm) const |
void | RestoreFromCache (SvStream &rStrm) |
void | DumpColumnStorage (SCCOL nCol) const |
ScColumnsRange | GetWritableColumnsRange (SCCOL begin, SCCOL end) |
ScColumnsRange | GetAllocatedColumnsRange (SCCOL begin, SCCOL end) const |
ScColumnsRange | GetColumnsRange (SCCOL begin, SCCOL end) const |
SCCOL | ClampToAllocatedColumns (SCCOL nCol) const |
SCCOL | GetAllocatedColumnsCount () const |
OString | dumpSheetGeomData (bool bColumns, SheetGeomType eGeomType) |
Serializes the sheet's geometry data. More... | |
std::set< SCCOL > | QueryColumnsWithFormulaCells () const |
const ScColumnData & | ColumnData (SCCOL nCol) const |
void | CheckIntegrity () const |
void | CollectBroadcasterState (sc::BroadcasterState &rState) const |
Static Public Member Functions | |
static void | UpdateSearchItemAddressForReplace (const SvxSearchItem &rSearchItem, SCCOL &rCol, SCROW &rRow) |
Replace behaves differently to the Search; adjust the rCol and rRow accordingly. More... | |
Private Types | |
typedef ::std::vector< ScRange > | ScRangeVec |
Private Member Functions | |
void | FillFormulaVertical (const ScFormulaCell &rSrcCell, SCCOLROW &rInner, SCCOL nCol, SCROW nRow1, SCROW nRow2, ScProgress *pProgress, sal_uInt64 &rProgress) |
void | FillSeriesSimple (const ScCellValue &rSrcCell, SCCOLROW &rInner, SCCOLROW nIMin, SCCOLROW nIMax, const SCCOLROW &rCol, const SCCOLROW &rRow, bool bVertical, ScProgress *pProgress, sal_uInt64 &rProgress) |
void | FillAutoSimple (SCCOLROW nISrcStart, SCCOLROW nISrcEnd, SCCOLROW nIStart, SCCOLROW nIEnd, SCCOLROW &rInner, const SCCOLROW &rCol, const SCCOLROW &rRow, sal_uInt64 nActFormCnt, sal_uInt64 nMaxFormCnt, bool bHasFiltered, bool bVertical, bool bPositive, ScProgress *pProgress, sal_uInt64 &rProgress) |
void | FillSeries (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, sal_uInt64 nFillCount, FillDir eFillDir, FillCmd eFillCmd, FillDateCmd eFillDateCmd, double nStepValue, double nMaxValue, sal_uInt16 nMinDigits, bool bAttribs, ScProgress *pProgress, bool bSkipOverlappedCells=false, std::vector< sal_Int32 > *pNonOverlappedCellIdx=nullptr) |
void | FillAnalyse (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, FillCmd &rCmd, FillDateCmd &rDateCmd, double &rInc, sal_uInt16 &rMinDigits, ScUserListData *&rListData, sal_uInt16 &rListIndex, bool bHasFiltered, bool &rSkipOverlappedCells, std::vector< sal_Int32 > &rNonOverlappedCellIdx) |
void | FillAuto (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, sal_uInt64 nFillCount, FillDir eFillDir, ScProgress *pProgress) |
bool | ValidNextPos (SCCOL nCol, SCROW nRow, const ScMarkData &rMark, bool bMarked, bool bUnprotected) const |
void | AutoFormatArea (SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, const ScPatternAttr &rAttr, sal_uInt16 nFormatNo) |
void | GetAutoFormatAttr (SCCOL nCol, SCROW nRow, sal_uInt16 nIndex, ScAutoFormatData &rData) |
void | GetAutoFormatFrame (SCCOL nCol, SCROW nRow, sal_uInt16 nFlags, sal_uInt16 nIndex, ScAutoFormatData &rData) |
bool | SearchCell (const SvxSearchItem &rSearchItem, SCCOL nCol, sc::ColumnBlockConstPosition &rBlockPos, SCROW nRow, const ScMarkData &rMark, OUString &rUndoStr, ScDocument *pUndoDoc) |
bool | Search (const SvxSearchItem &rSearchItem, SCCOL &rCol, SCROW &rRow, const ScMarkData &rMark, OUString &rUndoStr, ScDocument *pUndoDoc) |
bool | Search (const SvxSearchItem &rSearchItem, SCCOL &rCol, SCROW &rRow, SCCOL nLastCol, SCROW nLastRow, const ScMarkData &rMark, OUString &rUndoStr, ScDocument *pUndoDoc, std::vector< sc::ColumnBlockConstPosition > &blockPos) |
bool | SearchAll (const SvxSearchItem &rSearchItem, const ScMarkData &rMark, ScRangeList &rMatchedRanges, OUString &rUndoStr, ScDocument *pUndoDoc) |
bool | Replace (const SvxSearchItem &rSearchItem, SCCOL &rCol, SCROW &rRow, const ScMarkData &rMark, OUString &rUndoStr, ScDocument *pUndoDoc) |
bool | ReplaceAll (const SvxSearchItem &rSearchItem, const ScMarkData &rMark, ScRangeList &rMatchedRanges, OUString &rUndoStr, ScDocument *pUndoDoc, bool &bMatchedRangesWereClamped) |
bool | SearchStyle (const SvxSearchItem &rSearchItem, SCCOL &rCol, SCROW &rRow, const ScMarkData &rMark) |
bool | ReplaceStyle (const SvxSearchItem &rSearchItem, SCCOL &rCol, SCROW &rRow, const ScMarkData &rMark, bool bIsUndo) |
bool | SearchAllStyle (const SvxSearchItem &rSearchItem, const ScMarkData &rMark, ScRangeList &rMatchedRanges) |
bool | ReplaceAllStyle (const SvxSearchItem &rSearchItem, const ScMarkData &rMark, ScRangeList &rMatchedRanges, ScDocument *pUndoDoc) |
bool | SearchAndReplaceEmptyCells (const SvxSearchItem &rSearchItem, SCCOL &rCol, SCROW &rRow, const ScMarkData &rMark, ScRangeList &rMatchedRanges, OUString &rUndoStr, ScDocument *pUndoDoc) |
bool | SearchRangeForEmptyCell (const ScRange &rRange, const SvxSearchItem &rSearchItem, SCCOL &rCol, SCROW &rRow, OUString &rUndoStr) |
bool | SearchRangeForAllEmptyCells (const ScRange &rRange, const SvxSearchItem &rSearchItem, ScRangeList &rMatchedRanges, OUString &rUndoStr, ScDocument *pUndoDoc) |
bool | IsSorted (SCCOLROW nStart, SCCOLROW nEnd) const |
short | CompareCell (sal_uInt16 nSort, ScRefCellValue &rCell1, SCCOL nCell1Col, SCROW nCell1Row, ScRefCellValue &rCell2, SCCOL nCell2Col, SCROW nCell2Row) const |
short | Compare (SCCOLROW nIndex1, SCCOLROW nIndex2) const |
short | Compare (ScSortInfoArray *, SCCOLROW nIndex1, SCCOLROW nIndex2) const |
std::unique_ptr< ScSortInfoArray > | CreateSortInfoArray (const sc::ReorderParam &rParam) |
std::unique_ptr< ScSortInfoArray > | CreateSortInfoArray (const ScSortParam &rSortParam, SCCOLROW nInd1, SCCOLROW nInd2, bool bKeepQuery, bool bUpdateRefs) |
void | QuickSort (ScSortInfoArray *, SCCOLROW nLo, SCCOLROW nHi) |
void | SortReorderByColumn (const ScSortInfoArray *pArray, SCROW nRow1, SCROW nRow2, bool bPattern, ScProgress *pProgress) |
void | SortReorderAreaExtrasByColumn (const ScSortInfoArray *pArray, SCROW nDataRow1, SCROW nDataRow2, const ScDataAreaExtras &rDataAreaExtras, ScProgress *pProgress) |
void | SortReorderByRow (ScSortInfoArray *pArray, SCCOL nCol1, SCCOL nCol2, ScProgress *pProgress, bool bOnlyDataAreaExtras) |
void | SortReorderByRowRefUpdate (ScSortInfoArray *pArray, SCCOL nCol1, SCCOL nCol2, ScProgress *pProgress) |
void | SortReorderAreaExtrasByRow (ScSortInfoArray *pArray, SCCOL nDataCol1, SCCOL nDataCol2, const ScDataAreaExtras &rDataAreaExtras, ScProgress *pProgress) |
bool | CreateExcelQuery (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, ScQueryParam &rQueryParam) |
bool | CreateStarQuery (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, ScQueryParam &rQueryParam) |
OUString | GetUpperCellString (SCCOL nCol, SCROW nRow) |
bool | RefVisible (const ScFormulaCell *pCell) |
bool | IsEmptyLine (SCROW nRow, SCCOL nStartCol, SCCOL nEndCol) const |
void | IncDate (double &rVal, sal_uInt16 &nDayOfMonth, double nStep, FillDateCmd eCmd) |
void | FillFormula (const ScFormulaCell *pSrcCell, SCCOL nDestCol, SCROW nDestRow, bool bLast) |
void | UpdateInsertTabAbs (SCTAB nNewPos) |
bool | GetNextSpellingCell (SCCOL &rCol, SCROW &rRow, bool bInSel, const ScMarkData &rMark) const |
bool | GetNextMarkedCell (SCCOL &rCol, SCROW &rRow, const ScMarkData &rMark) const |
void | TestTabRefAbs (SCTAB nTable) const |
void | CompileDBFormula (sc::CompileFormulaContext &rCxt) |
void | CompileColRowNameFormula (sc::CompileFormulaContext &rCxt) |
void | StartListening (const ScAddress &rAddress, SvtListener *pListener) |
void | EndListening (const ScAddress &rAddress, SvtListener *pListener) |
void | StartListening (sc::StartListeningContext &rCxt, const ScAddress &rAddress, SvtListener &rListener) |
void | EndListening (sc::EndListeningContext &rCxt, const ScAddress &rAddress, SvtListener &rListener) |
void | AttachFormulaCells (sc::StartListeningContext &rCxt, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2) |
void | DetachFormulaCells (sc::EndListeningContext &rCxt, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2) |
void | SetLoadingMedium (bool bLoading) |
SCSIZE | FillMaxRot (RowInfo *pRowInfo, SCSIZE nArrCount, SCCOL nX1, SCCOL nX2, SCCOL nCol, SCROW nAttrRow1, SCROW nAttrRow2, SCSIZE nArrY, const ScPatternAttr *pPattern, const SfxItemSet *pCondSet) |
void | InvalidateTextWidth (const ScAddress *pAdrFrom, const ScAddress *pAdrTo, bool bNumFormatChanged, bool bBroadcast) |
void | SkipFilteredRows (SCROW &rRow, SCROW &rLastNonFilteredRow, bool bForward) |
void | MaybeAddExtraColumn (SCCOL &rCol, SCROW nRow, OutputDevice *pDev, double nPPTX, double nPPTY) |
In case the cell text goes beyond the column width, move the max column position to the right. More... | |
void | CopyPrintRange (const ScTable &rTable) |
SCCOL | FindNextVisibleColWithContent (SCCOL nCol, bool bRight, SCROW nRow) const |
SCCOL | FindNextVisibleCol (SCCOL nCol, bool bRight) const |
void | TransposeColPatterns (ScTable *pTransClip, SCCOL nCol1, SCCOL nCol, SCROW nRow1, SCROW nRow2, SCROW nCombinedStartRow, bool bIncludeFiltered, const std::vector< SCROW > &rFilteredRows, SCROW nRowDestOffset) |
Transpose clipboard patterns. More... | |
void | TransposeColNotes (ScTable *pTransClip, SCCOL nCol1, SCCOL nCol, SCROW nRow1, SCROW nRow2, SCROW nCombinedStartRow, bool bIncludeFiltered, SCROW nRowDestOffset) |
Transpose clipboard notes. More... | |
ScColumn * | FetchColumn (SCCOL nCol) |
const ScColumn * | FetchColumn (SCCOL nCol) const |
void | EndListeningIntersectedGroup (sc::EndListeningContext &rCxt, SCCOL nCol, SCROW nRow, std::vector< ScAddress > *pGroupPos) |
void | EndListeningIntersectedGroups (sc::EndListeningContext &rCxt, const SCCOL nCol1, SCROW nRow1, const SCCOL nCol2, SCROW nRow2, std::vector< ScAddress > *pGroupPos) |
void | EndListeningGroup (sc::EndListeningContext &rCxt, const SCCOL nCol, SCROW nRow) |
void | SetNeedsListeningGroup (SCCOL nCol, SCROW nRow) |
OString | dumpColumnRowSizes (bool bColumns) |
Returns list-of-spans representation of the column-widths/row-heights in twips encoded as an OString. More... | |
OString | dumpHiddenFiltered (bool bColumns, bool bHidden) |
Returns list-of-spans representation of hidden/filtered states of columns/rows encoded as an OString. More... | |
OString | dumpColumnRowGroups (bool bColumns) const |
Returns list-of-spans representation of the column/row groupings encoded as an OString. More... | |
SCCOL | GetLOKFreezeCol () const |
SCROW | GetLOKFreezeRow () const |
bool | SetLOKFreezeCol (SCCOL nFreezeCol) |
bool | SetLOKFreezeRow (SCROW nFreezeRow) |
Static Private Member Functions | |
static void | DecoladeRow (ScSortInfoArray *, SCROW nRow1, SCROW nRow2) |
Friends | |
class | ScDocument |
class | ScColumn |
class | ScValueIterator |
class | ScHorizontalValueIterator |
class | ScDBQueryDataIterator |
class | ScFormulaGroupIterator |
class | ScCellIterator |
template<ScQueryCellIteratorAccess accessType, ScQueryCellIteratorType queryType> | |
class | ScQueryCellIteratorBase |
template<ScQueryCellIteratorAccess accessType> | |
class | ScQueryCellIteratorAccessSpecific |
class | ScHorizontalCellIterator |
class | ScColumnTextWidthIterator |
class | ScDocumentImport |
class | sc::DocumentStreamAccess |
class | sc::ColumnSpanSet |
class | sc::RangeColumnSpanSet |
class | sc::EditTextIterator |
class | sc::FormulaGroupAreaListener |
|
private |
ScTable::ScTable | ( | ScDocument & | rDoc, |
SCTAB | nNewTab, | ||
const OUString & | rNewName, | ||
bool | bColInfo = true , |
||
bool | bRowInfo = true |
||
) |
Definition at line 235 of file table1.cxx.
References aCol, aDefaultColData, aName, aName, bLayoutRTL, bVisible, COL_AUTO(), COL_LIGHTGRAY(), o3tl::convert(), ScDocument::GetDrawLayer(), Init(), ScColumnData::InitAttrArray(), ScDocument::IsDocVisible(), ScGlobal::IsSystemRTL(), ScDocument::MaxCol(), ScDocument::MaxRow(), o3tl::mm10, o3tl::mm100, mpColFlags, mpColWidth, mpRowHeights, NONE, ScGlobal::nStdRowHeight, nTab, nx, ny, pRowFlags, rDocument, ScDrawLayer::ScAddPage(), ScDrawLayer::ScRenamePage(), ScDrawLayer::SetPageSize(), ScColContainer::size(), STD_COL_WIDTH, and o3tl::twip.
ScTable::~ScTable | ( | ) |
Definition at line 321 of file table1.cxx.
References aCol, DestroySortCollator(), ScDocument::GetDrawLayer(), ScDocument::IsInDtorClear(), moRepeatColRange, moRepeatRowRange, mpRangeName, nTab, pDBDataNoName, pOutlineTable, pRowFlags, pScenarioRanges, pSearchText, pSheetEvents, rDocument, ScDrawLayer::ScRemovePage(), and ScColContainer::size().
|
delete |
sal_uLong ScTable::AddCondFormat | ( | std::unique_ptr< ScConditionalFormat > | pNew | ) |
Definition at line 2451 of file table1.cxx.
References mpCondFormatList.
void ScTable::AddCondFormatData | ( | const ScRangeList & | rRange, |
sal_uInt32 | nIndex | ||
) |
Definition at line 2955 of file table2.cxx.
References ScColumn::AddCondFormat(), ScRange::aEnd, ScRange::aStart, ScAddress::Col(), CreateColumnIfNotExists(), i, n, nIndex, ScAddress::Row(), and ScRangeList::size().
void ScTable::AddPrintRange | ( | const ScRange & | rNew | ) |
Adds a new print ranges.
Definition at line 2313 of file table1.cxx.
References aPrintRanges, bPrintEntireSheet, InvalidatePageBreaks(), and SetStreamValid().
void ScTable::ApplyAttr | ( | SCCOL | nCol, |
SCROW | nRow, | ||
const SfxPoolItem & | rAttr | ||
) |
Definition at line 3201 of file table2.cxx.
References ScColumn::ApplyAttr(), CreateColumnIfNotExists(), and ValidColRow().
Referenced by SetMergedCells().
void ScTable::ApplyBlockFrame | ( | const SvxBoxItem & | rLineOuter, |
const SvxBoxInfoItem * | pLineInner, | ||
SCCOL | nStartCol, | ||
SCROW | nStartRow, | ||
SCCOL | nEndCol, | ||
SCROW | nEndRow | ||
) |
Definition at line 2859 of file table2.cxx.
References aCol, ApplyBlockFrame(), CreateColumnIfNotExists(), i, PutInOrder(), and ValidColRow().
Referenced by ApplyBlockFrame().
bool ScTable::ApplyFlags | ( | SCCOL | nStartCol, |
SCROW | nStartRow, | ||
SCCOL | nEndCol, | ||
SCROW | nEndRow, | ||
ScMF | nFlags | ||
) |
Definition at line 3160 of file table2.cxx.
References ScColumn::ApplyFlags(), CreateColumnIfNotExists(), i, and ValidColRow().
Referenced by SetMergedCells().
void ScTable::ApplyPattern | ( | SCCOL | nCol, |
SCROW | nRow, | ||
const ScPatternAttr & | rAttr | ||
) |
Definition at line 2873 of file table2.cxx.
References ScColumn::ApplyPattern(), CreateColumnIfNotExists(), and ValidColRow().
void ScTable::ApplyPatternArea | ( | SCCOL | nStartCol, |
SCROW | nStartRow, | ||
SCCOL | nEndCol, | ||
SCROW | nEndRow, | ||
const ScPatternAttr & | rAttr, | ||
ScEditDataArray * | pDataArray = nullptr , |
||
bool *const | pIsChanged = nullptr |
||
) |
Definition at line 2879 of file table2.cxx.
References aCol, aDefaultColData, ScColumnData::ApplyPatternArea(), CreateColumnIfNotExists(), GetDoc(), i, PutInOrder(), ScColContainer::size(), and ValidColRow().
Referenced by AutoFormatArea(), CopyFromClip(), and DeleteArea().
void ScTable::ApplyPatternIfNumberformatIncompatible | ( | const ScRange & | rRange, |
const ScPatternAttr & | rPattern, | ||
SvNumFormatType | nNewType | ||
) |
Definition at line 2945 of file table2.cxx.
References aCol, ScRange::aEnd, ScRange::aStart, and ScAddress::Col().
void ScTable::ApplySelectionCache | ( | SfxItemPoolCache * | pCache, |
const ScMarkData & | rMark, | ||
ScEditDataArray * | pDataArray = nullptr , |
||
bool *const | pIsChanged = nullptr |
||
) |
Definition at line 3207 of file table2.cxx.
References aCol, aDefaultColData, ScRange::aEnd, ScColumnData::ApplySelectionCache(), ApplySelectionCache(), ScAddress::Col(), CreateColumnIfNotExists(), ScMarkData::GetArea(), GetDoc(), ScMarkData::GetStartOfEqualColumns(), ScMarkData::GetTableSelect(), i, nTab, and ScColContainer::size().
Referenced by ApplySelectionCache(), and DeleteSelection().
void ScTable::ApplySelectionLineStyle | ( | const ScMarkData & | rMark, |
const ::editeng::SvxBorderLine * | pLine, | ||
bool | bColorOnly | ||
) |
Definition at line 3050 of file table2.cxx.
References aCol, ApplySelectionLineStyle(), i, and ScColContainer::size().
Referenced by ApplySelectionLineStyle().
void ScTable::ApplySelectionStyle | ( | const ScStyleSheet & | rStyle, |
const ScMarkData & | rMark | ||
) |
Definition at line 3044 of file table2.cxx.
References aCol, ApplySelectionStyle(), i, and ScColContainer::size().
Referenced by ApplySelectionStyle(), and ReplaceAllStyle().
void ScTable::ApplyStyle | ( | SCCOL | nCol, |
SCROW | nRow, | ||
const ScStyleSheet * | rStyle | ||
) |
Definition at line 3006 of file table2.cxx.
References ScColumn::ApplyStyle(), CreateColumnIfNotExists(), and ValidColRow().
Referenced by DoSubTotals(), and ReplaceStyle().
void ScTable::ApplyStyleArea | ( | SCCOL | nStartCol, |
SCROW | nStartRow, | ||
SCCOL | nEndCol, | ||
SCROW | nEndRow, | ||
const ScStyleSheet & | rStyle | ||
) |
Definition at line 3013 of file table2.cxx.
References aCol, aDefaultColData, ApplyStyleArea(), ScColumnData::ApplyStyleArea(), CreateColumnIfNotExists(), i, ScDocument::MaxCol(), PutInOrder(), rDocument, ScColContainer::size(), and ValidColRow().
Referenced by ApplyStyleArea(), and ScDocumentImport::setCellStyleToSheet().
Definition at line 2537 of file table1.cxx.
References aCol, IsColValid(), and ValidRow().
|
private |
Definition at line 1271 of file table2.cxx.
References aCol, AttachFormulaCells(), and ClampToAllocatedColumns().
Referenced by AttachFormulaCells(), and SortReorderByRow().
void ScTable::AutoFormat | ( | SCCOL | nStartCol, |
SCROW | nStartRow, | ||
SCCOL | nEndCol, | ||
SCROW | nEndRow, | ||
sal_uInt16 | nFormatNo | ||
) |
Definition at line 2621 of file table4.cxx.
References AutoFormatArea(), ScAutoFormat::findByIndex(), GetItemSet(), ScGlobal::GetOrCreateAutoFormat(), ScDocument::GetPool(), i, nIndex, pData, rDocument, and ValidColRow().
|
private |
Definition at line 2610 of file table4.cxx.
References ApplyPatternArea(), ScAutoFormat::findByIndex(), ScGlobal::GetOrCreateAutoFormat(), and pData.
Referenced by AutoFormat().
bool ScTable::BroadcastBroadcasters | ( | SCCOL | nCol1, |
SCROW | nRow1, | ||
SCCOL | nCol2, | ||
SCROW | nRow2, | ||
SfxHintId | nHint | ||
) |
Broadcast single broadcasters in range, without explicitly setting anything dirty, not doing area broadcasts.
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 2162 of file table2.cxx.
References aCol, BroadcastBroadcasters(), ClampToAllocatedColumns(), and rDocument.
Referenced by BroadcastBroadcasters(), and ScDocument::BroadcastCells().
void ScTable::BroadcastRecalcOnRefMove | ( | ) |
Broadcast dirty formula cells that contain functions such as CELL(), COLUMN() or ROW() which may change its value on move.
Definition at line 2155 of file table2.cxx.
References aCol, BroadcastRecalcOnRefMove(), i, rDocument, and ScColContainer::size().
Referenced by BroadcastRecalcOnRefMove().
void ScTable::CalcAfterLoad | ( | sc::CompileFormulaContext & | rCxt, |
bool | bStartListening | ||
) |
Definition at line 2220 of file table2.cxx.
References aCol, CalcAfterLoad(), i, and ScColContainer::size().
Referenced by CalcAfterLoad().
void ScTable::CalcAll | ( | ) |
Definition at line 2177 of file table2.cxx.
References aCol, CalcAll(), i, mpCondFormatList, and ScColContainer::size().
Referenced by CalcAll().
void ScTable::CalculateInColumnInThread | ( | ScInterpreterContext & | rContext, |
SCCOL | nColStart, | ||
SCCOL | nColEnd, | ||
SCROW | nRowStart, | ||
SCROW | nRowEnd, | ||
unsigned | nThisThread, | ||
unsigned | nThreadsTotal | ||
) |
Definition at line 2633 of file table1.cxx.
References aCol, and ValidCol().
Referenced by ScDocument::CalculateInColumnInThread().
void ScTable::ChangeSelectionIndent | ( | bool | bIncrement, |
const ScMarkData & | rMark | ||
) |
Definition at line 3231 of file table2.cxx.
References aCol, aDefaultColData, ScRange::aEnd, ChangeSelectionIndent(), ScColumnData::ChangeSelectionIndent(), ScAddress::Col(), CreateColumnIfNotExists(), ScMarkData::GetArea(), GetDoc(), ScMarkData::GetStartOfEqualColumns(), ScMarkData::GetTableSelect(), i, nTab, and ScColContainer::size().
Referenced by ChangeSelectionIndent().
void ScTable::CheckIntegrity | ( | ) | const |
Definition at line 646 of file table7.cxx.
References aCol.
Referenced by ScDocument::CheckIntegrity().
void ScTable::CheckVectorizationState | ( | ) |
Definition at line 2107 of file table2.cxx.
References aCol, CheckVectorizationState(), i, rDocument, and ScColContainer::size().
Referenced by CheckVectorizationState().
Definition at line 1142 of file table.hxx.
References aCol, and ScColContainer::size().
Referenced by AttachFormulaCells(), BroadcastBroadcasters(), ContainsNotesInRange(), CopyCaptionsToTable(), CopySparklinesToTable(), CopyToClip(), CopyToTable(), CreateExcelQuery(), DeleteCol(), DeleteRow(), DetachFormulaCells(), DoAutoOutline(), sc::RangeColumnSpanSet::executeColumnAction(), ExtendMerge(), FillMatrix(), GetAllNoteCaptionsState(), GetAreaStyle(), GetFirstEditTextRow(), GetNotesInRange(), ScDocument::HasNote(), HasSelectionMatrixFragment(), HasStringCells(), ScDocument::IdleCalcTextWidth(), InterpretCellsIfNeeded(), InterpretDirtyCells(), IsBlockEmpty(), MergeBlockFrame(), MergePatternArea(), MergeSelectionPattern(), RemoveCondFormatData(), RemoveFlags(), RemoveSubTotals(), ResetChanged(), sc::ColumnSpanSet::scan(), SetDirty(), SetTableOpDirty(), TestInsertRow(), TestRemoveSubTotals(), and UpdateSelectionFunction().
void ScTable::ClearPrintRanges | ( | ) |
Removes all print ranges.
Definition at line 2303 of file table1.cxx.
References aPrintRanges, bPrintEntireSheet, InvalidatePageBreaks(), and SetStreamValid().
Referenced by SetPrintEntireSheet().
void ScTable::ClearSelectionItems | ( | const sal_uInt16 * | pWhich, |
const ScMarkData & | rMark | ||
) |
Definition at line 3254 of file table2.cxx.
References aCol, aDefaultColData, ScRange::aEnd, ClearSelectionItems(), ScColumnData::ClearSelectionItems(), ScAddress::Col(), CreateColumnIfNotExists(), ScMarkData::GetArea(), GetDoc(), ScMarkData::GetStartOfEqualColumns(), ScMarkData::GetTableSelect(), i, nTab, and ScColContainer::size().
Referenced by ClearSelectionItems().
bool ScTable::ColFiltered | ( | SCCOL | nCol, |
SCCOL * | pFirstCol = nullptr , |
||
SCCOL * | pLastCol = nullptr |
||
) | const |
Definition at line 859 of file table5.cxx.
References aData, mpFilteredCols, and ValidCol().
Referenced by CopyColFiltered().
bool ScTable::ColHidden | ( | SCCOL | nCol, |
SCCOL * | pFirstCol = nullptr , |
||
SCCOL * | pLastCol = nullptr |
||
) | const |
Definition at line 555 of file table5.cxx.
References aData, mpHiddenCols, and ValidCol().
Referenced by CopyColHidden(), CopyToTable(), ExtendHidden(), ExtendPrintArea(), FillAuto(), FillAutoSimple(), FillSeries(), FindMaxRotCol(), GetColOffset(), GetColWidth(), GetCommonWidth(), GetNextPos(), IsDataFiltered(), LastHiddenColRow(), SetRowHidden(), ShowCol(), StripHidden(), UpdatePageBreaks(), UpdateSelectionFunction(), and ValidNextPos().
void ScTable::CollectBroadcasterState | ( | sc::BroadcasterState & | rState | ) | const |
Definition at line 652 of file table7.cxx.
References aCol.
|
inline |
Definition at line 1156 of file table.hxx.
References aCol, aDefaultColData, and ScColContainer::size().
Referenced by GetAttr(), GetMostUsedPattern(), GetNumberFormat(), GetPattern(), GetStyle(), and HasAttrib().
Definition at line 1731 of file table3.cxx.
References aCol, aSortParam, ScSortParam::bByRow, CompareCell(), GetAllocatedColumnsCount(), ScSortParam::GetSortKeyCount(), and ScSortParam::maKeyState.
Referenced by QuickSort().
|
private |
Definition at line 1660 of file table3.cxx.
References aSortParam, ScSortParam::bByRow, CompareCell(), ScSortInfoArray::Get(), and ScSortParam::maKeyState.
|
private |
Definition at line 1525 of file table3.cxx.
References aSortParam, ScSortParam::bCaseSens, ScSortParam::bNaturalSort, ScSortParam::bUserDef, CELLTYPE_FORMULA, CELLTYPE_STRING, CELLTYPE_VALUE, ScUserListData::Compare(), naturalsort::Compare(), CollatorWrapper::compareString(), ScFormulaCell::GetErrCode(), ScRefCellValue::getFormula(), ScRefCellValue::getSharedString(), svl::SharedString::getString(), GetString(), ScRefCellValue::getType(), ScGlobal::GetUserList(), ScRefCellValue::getValue(), ScUserListData::ICompare(), ScRefCellValue::isEmpty(), ScFormulaCell::IsValue(), ScSortParam::maKeyState, ScSortParam::nUserIndex, pSortCollator, and ScUserList::size().
Referenced by Compare().
void ScTable::CompileAll | ( | sc::CompileFormulaContext & | rCxt | ) |
Definition at line 2185 of file table2.cxx.
References aCol, CompileAll(), i, mpCondFormatList, and ScColContainer::size().
Referenced by CompileAll().
|
private |
Definition at line 2960 of file table4.cxx.
References aCol, CompileColRowNameFormula(), i, and ScColContainer::size().
Referenced by CompileColRowNameFormula().
|
private |
Definition at line 2954 of file table4.cxx.
References aCol, CompileDBFormula(), i, and ScColContainer::size().
Referenced by CompileDBFormula().
bool ScTable::CompileErrorCells | ( | sc::CompileFormulaContext & | rCxt, |
FormulaError | nErrCode | ||
) |
Definition at line 2208 of file table2.cxx.
References aCol, CompileErrorCells(), i, and ScColContainer::size().
Referenced by CompileErrorCells().
void ScTable::CompileHybridFormula | ( | sc::StartListeningContext & | rStartListenCxt, |
sc::CompileFormulaContext & | rCompileCxt | ||
) |
Definition at line 239 of file table7.cxx.
References aCol, CompileHybridFormula(), i, and ScColContainer::size().
Referenced by CompileHybridFormula().
void ScTable::CompileXML | ( | sc::CompileFormulaContext & | rCxt, |
ScProgress & | rProgress | ||
) |
Definition at line 2194 of file table2.cxx.
References aCol, i, mpCondFormatList, mpRangeName, and ScColContainer::size().
bool ScTable::ContainsNotesInRange | ( | const ScRange & | rRange | ) | const |
Definition at line 1999 of file table2.cxx.
References aCol, ScRange::aEnd, ScRange::aStart, ClampToAllocatedColumns(), ScAddress::Col(), and ScAddress::Row().
void ScTable::ConvertFormulaToValue | ( | sc::EndListeningContext & | rCxt, |
const SCCOL | nCol1, | ||
const SCROW | nRow1, | ||
const SCCOL | nCol2, | ||
const SCROW | nRow2, | ||
sc::TableValues * | pUndo | ||
) |
Definition at line 205 of file table7.cxx.
References ScColumn::ConvertFormulaToValue(), CreateColumnIfNotExists(), and ValidCol().
Referenced by ScDocument::ConvertFormulaToValue().
void ScTable::CopyCaptionsToTable | ( | SCCOL | nCol1, |
SCROW | nRow1, | ||
SCCOL | nCol2, | ||
SCROW | nRow2, | ||
ScTable * | pDestTab, | ||
bool | bCloneCaption | ||
) |
Definition at line 1483 of file table2.cxx.
References aCol, ClampToAllocatedColumns(), CreateColumnIfNotExists(), i, and ValidColRow().
Referenced by CopyToTable().
void ScTable::CopyCellToDocument | ( | SCCOL | nSrcCol, |
SCROW | nSrcRow, | ||
SCCOL | nDestCol, | ||
SCROW | nDestRow, | ||
ScTable & | rDestTab | ||
) |
Definition at line 583 of file table2.cxx.
References aCol, ScColumn::CellStorageModified(), ScColumn::CopyCellToDocument(), CreateColumnIfNotExists(), GetAllocatedColumnsCount(), ScColumn::maCellNotes, ScColumn::maCells, ScColumn::maCellTextAttrs, and ValidColRow().
Referenced by ScDocument::CopyCellToDocument().
void ScTable::CopyCellValuesFrom | ( | const SCCOL | nCol, |
SCROW | nRow, | ||
const sc::CellValues & | rSrc | ||
) |
Definition at line 197 of file table7.cxx.
References ScColumn::CopyCellValuesFrom(), CreateColumnIfNotExists(), and ValidCol().
Referenced by ScDocument::CopyCellValuesFrom().
Definition at line 892 of file table5.cxx.
References ColFiltered(), and SetColFiltered().
Referenced by CopyToClip().
Definition at line 656 of file table5.cxx.
References ColHidden(), and SetColHidden().
Referenced by CopyToClip().
void ScTable::CopyConditionalFormat | ( | SCCOL | nCol1, |
SCROW | nRow1, | ||
SCCOL | nCol2, | ||
SCROW | nRow2, | ||
SCCOL | nDx, | ||
SCROW | nDy, | ||
const ScTable * | pTable | ||
) |
Definition at line 630 of file table2.cxx.
References ScDocument::AddCondFormatData(), ScConditionalFormat::Clone(), ScFormatEntry::Condition, ScStyleSheetPool::CopyStyleFrom(), ScFormatEntry::Date, ScFormatEntry::ExtCondition, SfxStyleSheetBasePool::Find(), ScRangeList::GetIntersectedRange(), GetStyle(), ScCondDateFormatEntry::GetStyleName(), ScDocument::GetStyleSheetPool(), ScFormatEntry::GetType(), i, ScRangeList::Intersects(), sc::RefUpdateContext::maRange, sc::RefUpdateContext::meMode, sc::RefUpdateContext::mnColDelta, sc::RefUpdateContext::mnRowDelta, sc::RefUpdateContext::mnTabDelta, mpCondFormatList, n, nTab, rDocument, and URM_COPY.
Referenced by CopyFromClip(), CopyOneCellFromClip(), and CopyToTable().
void ScTable::CopyData | ( | SCCOL | nStartCol, |
SCROW | nStartRow, | ||
SCCOL | nEndCol, | ||
SCROW | nEndRow, | ||
SCCOL | nDestCol, | ||
SCROW | nDestRow, | ||
SCTAB | nDestTab | ||
) |
Definition at line 4141 of file table2.cxx.
References ScFormulaCell::aPos, ScCellValue::assign(), CELLTYPE_FORMULA, CreateColumnIfNotExists(), ScCellValue::getFormula(), GetPattern(), ScCellValue::getType(), sc::RefUpdateContext::maRange, sc::RefUpdateContext::meMode, sc::RefUpdateContext::mnColDelta, sc::RefUpdateContext::mnRowDelta, sc::RefUpdateContext::mnTabDelta, nTab, rDocument, ScCellValue::release(), ScAddress::SetCol(), ScDocument::SetPattern(), SetPattern(), ScAddress::SetRow(), ScFormulaCell::UpdateReference(), and URM_COPY.
Referenced by Query().
void ScTable::CopyFromClip | ( | sc::CopyFromClipContext & | rCxt, |
SCCOL | nCol1, | ||
SCROW | nRow1, | ||
SCCOL | nCol2, | ||
SCROW | nRow2, | ||
SCCOL | nDx, | ||
SCROW | nDy, | ||
ScTable * | pTable | ||
) |
Definition at line 723 of file table2.cxx.
References aCol, ApplyPatternArea(), ATTR_CONDITIONAL(), ATTRIB, CopyConditionalFormat(), CopyRowHeight(), CreateColumnIfNotExists(), sc::CopyFromClipContext::getInsertFlag(), ScPatternAttr::GetItemSet(), ScDocument::GetPool(), i, IsProtected(), ManualSize, ScDocument::MaxCol(), ScDocument::MaxRow(), mpColWidth, mpRowHeights, NONE, pRowFlags, SfxItemSet::Put(), rDocument, and ValidColRow().
void ScTable::CopyOneCellFromClip | ( | sc::CopyFromClipContext & | rCxt, |
const SCCOL | nCol1, | ||
const SCROW | nRow1, | ||
const SCCOL | nCol2, | ||
const SCROW | nRow2, | ||
const SCROW | nSrcRow, | ||
const ScTable * | pSrcTab | ||
) |
Definition at line 126 of file table7.cxx.
References ScRange::aEnd, ScRange::aStart, ATTRIB, ScAddress::Col(), CopyConditionalFormat(), ScDrawLayer::CopyFromClip(), ScColumn::CopyOneCellFromClip(), CreateColumnIfNotExists(), sc::CopyFromClipContext::getClipDoc(), ScDocument::GetClipParam(), GetDoc(), ScDocument::GetDrawLayer(), sc::CopyFromClipContext::getInsertFlag(), ScDocument::GetMMRect(), GetOriginalHeight(), ScClipParam::getWholeRange(), ManualSize, ScDocument::MaxCol(), ScDocument::mpDrawLayer, mpRowHeights, NONE, nTab, OBJECTS, pRowFlags, rDocument, ScAddress::Row(), and ScAddress::Tab().
|
private |
Definition at line 2258 of file table1.cxx.
References aPrintRanges, bPrintEntireSheet, moRepeatColRange, moRepeatRowRange, and nTab.
Definition at line 907 of file table5.cxx.
References RowFiltered(), and SetRowFiltered().
Referenced by CopyToClip().
void ScTable::CopyRowHeight | ( | const ScTable & | rSrcTable, |
SCROW | nStartRow, | ||
SCROW | nEndRow, | ||
SCROW | nSrcOffset | ||
) |
Definition at line 685 of file table5.cxx.
References ScFlatUInt16RowSegments::RangeData::mnRow2, ScFlatUInt16RowSegments::RangeData::mnValue, and mpRowHeights.
Referenced by CopyFromClip(), CopyToClip(), CopyToTable(), and UndoToTable().
Definition at line 671 of file table5.cxx.
References RowHidden(), and SetRowHidden().
Referenced by CopyToClip().
void ScTable::CopyScenarioFrom | ( | const ScTable * | pSrcTab | ) |
Definition at line 1575 of file table2.cxx.
References aCol, bScenario, CopyScenarioFrom(), CreateColumnIfNotExists(), i, and ScColContainer::size().
Referenced by CopyScenarioFrom().
void ScTable::CopyScenarioTo | ( | ScTable * | pDestTab | ) | const |
Definition at line 1567 of file table2.cxx.
References aCol, bScenario, CopyScenarioTo(), CreateColumnIfNotExists(), i, and ScColContainer::size().
Referenced by CopyScenarioTo().
void ScTable::CopySparklinesToTable | ( | SCCOL | nCol1, |
SCROW | nRow1, | ||
SCCOL | nCol2, | ||
SCROW | nRow2, | ||
ScTable * | pDestTab | ||
) |
Definition at line 1471 of file table2.cxx.
References aCol, ClampToAllocatedColumns(), CreateColumnIfNotExists(), i, and ValidColRow().
Referenced by CopyToTable().
void ScTable::CopyStaticToDocument | ( | SCCOL | nCol1, |
SCROW | nRow1, | ||
SCCOL | nCol2, | ||
SCROW | nRow2, | ||
const SvNumberFormatterMergeMap & | rMap, | ||
ScTable * | pDestTab | ||
) |
Definition at line 545 of file table2.cxx.
References aCol, aDefaultColData, ScColumn::CellStorageModified(), ScColumn::CopyStaticToDocument(), CreateColumnIfNotExists(), GetAllocatedColumnsCount(), ScInterpreterContext::GetFormatTable(), ScDocument::GetNonThreadedContext(), ScPatternAttr::GetNumberFormat(), ScColumnData::GetPattern(), i, ScColumn::maCells, ScColumn::maCellTextAttrs, rDocument, and ScColumn::SetNumberFormat().
Referenced by ScDocument::CopyStaticToDocument().
void ScTable::CopyToClip | ( | sc::CopyToClipContext & | rCxt, |
const ScRangeList & | rRanges, | ||
ScTable * | pTable | ||
) |
Definition at line 535 of file table2.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), CopyToClip(), i, ScAddress::Row(), and ScRangeList::size().
void ScTable::CopyToClip | ( | sc::CopyToClipContext & | rCxt, |
SCCOL | nCol1, | ||
SCROW | nRow1, | ||
SCCOL | nCol2, | ||
SCROW | nRow2, | ||
ScTable * | pTable | ||
) |
Definition at line 489 of file table2.cxx.
References aCol, ClampToAllocatedColumns(), CopyColFiltered(), CopyColHidden(), CopyRowFiltered(), CopyRowHeight(), CopyRowHidden(), CopyToClip(), CreateColumnIfNotExists(), i, IsProtected(), ManualSize, mpColWidth, mpCondFormatList, mpRangeName, mpRowHeights, pDBDataNoName, pRowFlags, rDocument, SetAnonymousDBData(), and ValidColRow().
Referenced by CopyToClip().
void ScTable::CopyToTable | ( | sc::CopyToDocContext & | rCxt, |
SCCOL | nCol1, | ||
SCROW | nRow1, | ||
SCCOL | nCol2, | ||
SCROW | nRow2, | ||
InsertDeleteFlags | nFlags, | ||
bool | bMarked, | ||
ScTable * | pDestTab, | ||
const ScMarkData * | pMarkData, | ||
bool | bAsLink, | ||
bool | bColRowFlags, | ||
bool | bGlobalNamesToLocal, | ||
bool | bCopyCaptions | ||
) |
Definition at line 1310 of file table2.cxx.
References aCol, ADDNOTES, ATTRIB, ClampToAllocatedColumns(), ColHidden(), CONTENTS, CopyCaptionsToTable(), CopyConditionalFormat(), CopyRowHeight(), CopySparklinesToTable(), CreateColumnIfNotExists(), ScDocument::GetChartListenerCollection(), ScDocument::GetDocumentShell(), GetRangeName(), GetRowHeight(), i, InvalidatePageBreaks(), ScDocument::IsClipOrUndo(), ScDocument::IsUndo(), maColManualBreaks, maRowManualBreaks, ScDocument::MaxCol(), ScDocument::MaxRow(), mpColFlags, mpColWidth, mpCondFormatList, mpRangeName, mpRowHeights, NOCAPTIONS, NONE, NOTE, nTab, OUTLINE, pDBDataNoName, pOutlineTable, pRowFlags, rDocument, RowFiltered(), RowHidden(), SetAnonymousDBData(), ScDocShell::SetAreasChangedNeedBroadcast(), SetColHidden(), SetColManualBreaks(), SetOutlineTable(), ScChartListenerCollection::SetRangeDirty(), SetRangeName(), SetRowFiltered(), SetRowHidden(), SetRowManualBreaks(), SPARKLINES, and ValidColRow().
Referenced by ScDocument::CopyToDocument().
Definition at line 1549 of file table2.cxx.
References aCol, CopyUpdated(), CreateColumnIfNotExists(), FetchColumn(), i, and ScColContainer::size().
Referenced by CopyUpdated().
Definition at line 983 of file table5.cxx.
References aData, mpFilteredRows, and nCount.
Definition at line 795 of file table5.cxx.
References aData, mpHiddenCols, and nCount.
Referenced by GetAutoFillPreview().
Definition at line 751 of file table5.cxx.
References aData, mpHiddenRows, and nCount.
Referenced by GetAutoFillPreview().
void ScTable::CreateAllNoteCaptions | ( | ) |
Definition at line 1928 of file table2.cxx.
References aCol, CreateAllNoteCaptions(), i, and ScColContainer::size().
Referenced by CreateAllNoteCaptions().
Definition at line 296 of file table.hxx.
References aCol, CreateColumnIfNotExistsImpl(), and ScColContainer::size().
Referenced by AddCondFormatData(), ApplyAttr(), ApplyBlockFrame(), ApplyFlags(), ApplyPattern(), ApplyPatternArea(), ApplySelectionCache(), ApplyStyle(), ApplyStyleArea(), ChangeSelectionIndent(), ClearSelectionItems(), ConvertFormulaToValue(), CopyCaptionsToTable(), CopyCellToDocument(), CopyCellValuesFrom(), CopyData(), CopyFromClip(), CopyOneCellFromClip(), CopyScenarioFrom(), CopyScenarioTo(), CopySparklinesToTable(), CopyStaticToDocument(), CopyToClip(), CopyToTable(), CopyUpdated(), ScDocument::CreateColumnIfNotExists(), CreateSortInfoArray(), CreateSparkline(), DeleteBeforeCopyFromClip(), FetchColumn(), FillSeries(), GetColumnIterator(), GetValueCell(), GetWritableColumnsRange(), InitColumnBlockPosition(), InsertCol(), SetAttrEntries(), SetEditText(), SetFormula(), SetFormulaCell(), SetFormulaCells(), SetNeedsListeningGroup(), SetNote(), SetNumberFormat(), SetPattern(), SetPatternAreaCondFormat(), SetRawString(), SetString(), SetValue(), SetValues(), SortReorderAreaExtrasByRow(), StartListening(), SwapNonEmpty(), TransferCellValuesTo(), and UndoToTable().
void ScTable::CreateColumnIfNotExistsImpl | ( | const SCCOL | nScCol | ) |
Definition at line 2731 of file table1.cxx.
References aCol, ScDocument::GetSheetLimits(), i, Init(), nTab, rDocument, ScColContainer::resize(), and ScColContainer::size().
Referenced by CreateColumnIfNotExists().
|
private |
Definition at line 2700 of file table3.cxx.
References aCol, ClampToAllocatedColumns(), ScQueryEntry::eConnect, ScQueryParamBase::FillInExcelSyntax(), ScQueryParamBase::GetEntry(), GetInputString(), ScDocument::GetSharedStringPool(), GetUpperCellString(), ScDocument::GetUpperCellString(), i, ScQueryParamTable::nCol1, ScQueryParamTable::nCol2, ScQueryEntry::nField, nIndex, ScQueryParamTable::nRow1, ScQueryParamTable::nTab, nTab, rDocument, ScQueryParamBase::Resize(), SC_AND, SC_OR, SCSIZE_MAX, and SCTAB_MAX.
Referenced by CreateQueryParam().
bool ScTable::CreateQueryParam | ( | SCCOL | nCol1, |
SCROW | nRow1, | ||
SCCOL | nCol2, | ||
SCROW | nRow2, | ||
ScQueryParam & | rQueryParam | ||
) |
Definition at line 2884 of file table3.cxx.
References ScQueryEntry::ByDate, ScQueryEntry::ByString, ScQueryEntry::ByValue, ScQueryEntry::Clear(), CreateExcelQuery(), CreateStarQuery(), ScQueryParamBase::GetEntry(), ScQueryParamBase::GetEntryCount(), ScDocument::GetFormatTable(), ScQueryEntry::GetQueryItem(), svl::SharedString::getString(), i, SvNumberFormatter::IsNumberFormat(), ScQueryEntry::Item::maString, ScQueryEntry::Item::meType, ScQueryEntry::Item::mfVal, nCount, nIndex, PutInOrder(), and rDocument.
Referenced by ScDocument::CreateQueryParam().
|
private |
Definition at line 461 of file table3.cxx.
References aCol, ScRange::aEnd, ScRange::aStart, ScAddress::Col(), CreateColumnIfNotExists(), sc::ReorderParam::maDataAreaExtras, sc::ReorderParam::maSortRange, sc::ReorderParam::mbByRow, ScDataAreaExtras::mbCellFormats, sc::ReorderParam::mbHiddenFiltered, sc::ReorderParam::mbUpdateRefs, and ScAddress::Row().
Referenced by Reorder(), Sort(), and TopTenQuery().
|
private |
Definition at line 494 of file table3.cxx.
References aCol, ScSortParam::aDataAreaExtras, ScSortParam::bByRow, CreateColumnIfNotExists(), GetCellValue(), ScColumn::GetCellValue(), ScSortParam::GetSortKeyCount(), ScColumn::InitBlockPosition(), ScSortParam::maKeyState, ScDataAreaExtras::mbCellFormats, ScSortParam::nCol1, and ScSortParam::nCol2.
sc::Sparkline * ScTable::CreateSparkline | ( | SCCOL | nCol, |
SCROW | nRow, | ||
std::shared_ptr< sc::SparklineGroup > const & | pSparklineGroup | ||
) |
Definition at line 1859 of file table2.cxx.
References CreateColumnIfNotExists(), ScColumn::CreateSparklineCell(), and ValidCol().
Referenced by FillSparkline().
|
private |
Definition at line 2778 of file table3.cxx.
References aStr, ScQueryEntry::bDoQuery, ScQueryEntry::eConnect, ScQueryEntry::eOp, ScQueryParamBase::GetEntry(), ScQueryEntry::GetQueryItem(), ScDocument::GetSharedStringPool(), GetString(), GetUpperCellString(), ScDocument::GetUpperCellString(), i, svl::SharedStringPool::intern(), ScQueryEntry::Item::maString, ScQueryParamTable::nCol1, ScQueryParamTable::nCol2, ScQueryEntry::nField, nIndex, ScQueryParamTable::nRow1, ScQueryParamTable::nTab, nTab, rDocument, ScQueryParamBase::Resize(), SC_AND, SC_EQUAL, SC_GREATER, SC_GREATER_EQUAL, SC_LESS, SC_LESS_EQUAL, SC_NOT_EQUAL, SC_OR, ScResId(), and SCTAB_MAX.
Referenced by CreateQueryParam().
void ScTable::DBShowRow | ( | SCROW | nRow, |
bool | bShow | ||
) |
Definition at line 3730 of file table2.cxx.
References ScDocument::GetChartListenerCollection(), InvalidatePageBreaks(), ScDocument::MaxCol(), nTab, pOutlineTable, pRowFlags, rDocument, ScChartListenerCollection::SetRangeDirty(), SetRowFiltered(), SetRowHidden(), UpdateOutlineRow(), and ValidRow().
Referenced by DoSubTotals().
Definition at line 3756 of file table2.cxx.
References ScDocument::GetChartListenerCollection(), ScDocument::MaxCol(), nTab, pOutlineTable, rDocument, RowHiddenLeaf(), ScChartListenerCollection::SetRangeDirty(), SetRowFiltered(), SetRowHidden(), and UpdateOutlineRow().
Referenced by Query().
|
staticprivate |
Definition at line 1778 of file table3.cxx.
References i, ScSortInfoArray::Swap(), and comphelper::rng::uniform_int_distribution().
Referenced by Sort(), and TopTenQuery().
void ScTable::DeleteArea | ( | SCCOL | nCol1, |
SCROW | nRow1, | ||
SCCOL | nCol2, | ||
SCROW | nRow2, | ||
InsertDeleteFlags | nDelFlag, | ||
bool | bBroadcast = true , |
||
sc::ColumnSpanSet * | pBroadcastSpans = nullptr |
||
) |
Definition at line 421 of file table2.cxx.
References aCol, ApplyPatternArea(), ATTRIB, DeleteArea(), ScDocument::GetBASM(), ScPatternAttr::GetItemSet(), ScDocument::GetPool(), i, IsProtected(), ScDocument::MaxRow(), mpCondFormatList, SfxItemSet::Put(), rDocument, SetStreamValid(), ScColContainer::size(), and ValidColRow().
Referenced by DeleteArea(), DeleteCol(), FillAuto(), and FillSeries().
void ScTable::DeleteBeforeCopyFromClip | ( | sc::CopyFromClipContext & | rCxt, |
const ScTable & | rClipTab, | ||
sc::ColumnSpanSet & | rBroadcastSpans | ||
) |
Definition at line 98 of file table7.cxx.
References aCol, ScRange::aEnd, ScRange::aStart, ScAddress::Col(), CreateColumnIfNotExists(), sc::CopyFromClipContext::getClipDoc(), ScDocument::GetClipParam(), sc::CopyFromClipContext::getDestRange(), ScClipParam::getWholeRange(), IsProtected(), sc::CopyFromClipContext::Range::mnCol1, sc::CopyFromClipContext::Range::mnCol2, mpCondFormatList, sc::CopyFromClipContext::setCondFormatList(), SetStreamValid(), sc::CopyFromClipContext::setTableProtected(), ScColContainer::size(), and ValidCol().
Referenced by ScDocument::DeleteBeforeCopyFromClip().
void ScTable::DeleteBroadcasters | ( | sc::ColumnBlockPosition & | rBlockPos, |
SCCOL | nCol, | ||
SCROW | nRow1, | ||
SCROW | nRow2 | ||
) |
Definition at line 2585 of file table1.cxx.
References aCol, and IsColValid().
Referenced by ScDocument::DeleteBroadcasters().
void ScTable::DeleteCol | ( | const sc::ColumnSet & | rRegroupCols, |
SCCOL | nStartCol, | ||
SCROW | nStartRow, | ||
SCROW | nEndRow, | ||
SCSIZE | nSize, | ||
bool * | pUndoOutline | ||
) |
Definition at line 356 of file table2.cxx.
References aCol, ALL, ClampToAllocatedColumns(), col, DeleteArea(), sc::ColumnSet::getColumns(), i, InvalidatePageBreaks(), maColManualBreaks, o3tl::make_unsigned(), ScDocument::MaxCol(), ScDocument::MaxRow(), mpColFlags, mpColWidth, mpFilteredCols, mpHiddenCols, NONE, nTab, pOutlineTable, rDocument, SetStreamValid(), ScColContainer::size(), and STD_COL_WIDTH.
void ScTable::DeleteConditionalFormat | ( | sal_uLong | nOldIndex | ) |
Definition at line 2677 of file table1.cxx.
References mpCondFormatList, and nIndex.
void ScTable::DeleteEmptyBroadcasters | ( | ) |
Definition at line 2594 of file table1.cxx.
void ScTable::DeleteRow | ( | const sc::ColumnSet & | rRegroupCols, |
SCCOL | nStartCol, | ||
SCCOL | nEndCol, | ||
SCROW | nStartRow, | ||
SCSIZE | nSize, | ||
bool * | pUndoOutline, | ||
std::vector< ScAddress > * | pGroupPos | ||
) |
Definition at line 202 of file table2.cxx.
References aCol, ClampToAllocatedColumns(), DeleteRow(), ScDocument::GetBASM(), sc::ColumnSet::getColumns(), InvalidatePageBreaks(), maRowManualBreaks, ScDocument::MaxCol(), mpFilteredRows, mpHiddenRows, mpRowHeights, nTab, pOutlineTable, pRowFlags, rDocument, and SetStreamValid().
Referenced by DeleteRow().
void ScTable::DeleteSelection | ( | InsertDeleteFlags | nDelFlag, |
const ScMarkData & | rMark, | ||
bool | bBroadcast = true |
||
) |
Definition at line 453 of file table2.cxx.
References aCol, ScRange::aEnd, ApplySelectionCache(), ScRange::aStart, ATTRIB, ScAddress::Col(), DeleteSelection(), ScMarkData::FillRangeListWithMarks(), ScDocument::GetBASM(), ScDocument::GetPool(), i, IsProtected(), mpCondFormatList, nTab, SfxItemSet::Put(), rDocument, ScAddress::Row(), SetStreamValid(), ScColContainer::size(), ScRangeList::size(), and ScAddress::Tab().
Referenced by DeleteSelection().
Definition at line 1872 of file table2.cxx.
References aCol, GetAllocatedColumnsCount(), and ValidCol().
void ScTable::DestroySortCollator | ( | ) |
Definition at line 644 of file table3.cxx.
References IsSortCollatorGlobal(), and pSortCollator.
Referenced by InitSortCollator(), Sort(), TopTenQuery(), and ~ScTable().
|
private |
Definition at line 1279 of file table2.cxx.
References aCol, ClampToAllocatedColumns(), and DetachFormulaCells().
Referenced by DetachFormulaCells(), and SortReorderByRow().
Definition at line 4069 of file table2.cxx.
References aCol, ScRange::aEnd, ScRange::aStart, CELLTYPE_FORMULA, ClampToAllocatedColumns(), ScAddress::Col(), DiffSign(), sc::FindFormula(), ScRefCellValue::getFormula(), ScRefCellValue::getType(), ScFormulaCell::HasRefListExpressibleAsOneReference(), ScOutlineArray::Insert(), IsEmptyData(), ScDocument::MaxRow(), nTab, pOutlineTable, rDocument, ScAddress::Row(), StartOutlineTable(), and ScAddress::Tab().
Referenced by DoSubTotals().
bool ScTable::DoSubTotals | ( | ScSubTotalParam & | rParam | ) |
Definition at line 2088 of file table3.cxx.
References aArr, ApplyStyle(), ScSubTotalParam::bCaseSens, ScSubTotalParam::bDoSort, ScSubTotalParam::bGroupActive, ScSubTotalParam::bIncludePattern, ScSubTotalParam::bPagebreak, DBShowRow(), DIR_BOTTOM, DoAutoOutline(), SfxStyleSheetBasePool::Find(), ScGlobal::getCharClass(), GetEmptyLinesInBlock(), GetString(), ScDocument::GetStyleSheetPool(), i, ScComplexRefData::InitFlags(), ScDocument::InsertRow(), label(), lcl_GetGrandSubTotalStrId(), lcl_GetSubTotalStrId(), lcl_RemoveNumberFormat(), ScDocument::MaxCol(), ScDocument::MaxRow(), MAXSUBTOTAL, ScSubTotalParam::nCol1, ScSubTotalParam::nCol2, ScSubTotalParam::nField, ScSubTotalParam::nRow1, ScSubTotalParam::nRow2, ScSubTotalParam::nSubTotals, nTab, ocClose, ocOpen, ocSep, ocStop, ocSubTotal, ScSubTotalParam::pFunctions, ScSubTotalParam::pSubTotals, rDocument, ScComplexRefData::Ref1, ScComplexRefData::Ref2, RowFiltered(), ScResId(), ScSingleRefData::SetAbsCol(), ScSingleRefData::SetAbsRow(), ScSingleRefData::SetAbsTab(), SetFormulaCell(), ScFormulaCell::SetNeedNumberFormat(), SetRowBreak(), SetString(), and CharClass::uppercase().
|
private |
Returns list-of-spans representation of the column/row groupings encoded as an OString.
Definition at line 578 of file table7.cxx.
References pOutlineTable.
Referenced by dumpSheetGeomData().
|
private |
Returns list-of-spans representation of the column-widths/row-heights in twips encoded as an OString.
Definition at line 518 of file table7.cxx.
References GetDoc(), mpColWidth, mpRowHeights, ScGlobal::nStdRowHeight, and STD_COL_WIDTH.
Referenced by dumpSheetGeomData().
void ScTable::DumpColumnStorage | ( | SCCOL | nCol | ) | const |
|
private |
Returns list-of-spans representation of hidden/filtered states of columns/rows encoded as an OString.
Definition at line 558 of file table7.cxx.
References GetDoc(), mpFilteredCols, mpFilteredRows, mpHiddenCols, and mpHiddenRows.
Referenced by dumpSheetGeomData().
OString ScTable::dumpSheetGeomData | ( | bool | bColumns, |
SheetGeomType | eGeomType | ||
) |
Serializes the sheet's geometry data.
bColumns | - if true it dumps the data for columns, else it does for rows. |
eGeomType | indicates the type of data to be dumped for rows/columns. |
Definition at line 485 of file table7.cxx.
References dumpColumnRowGroups(), dumpColumnRowSizes(), dumpHiddenFiltered(), FILTERED, GROUPS, HIDDEN, and SIZES.
Referenced by ScDocument::dumpSheetGeomData().
|
private |
Definition at line 1137 of file table5.cxx.
References aCol, ScAddress::Col(), ScAddress::Row(), ScColContainer::size(), and ValidCol().
Referenced by ScDocument::EndListeningCell().
|
private |
Definition at line 1155 of file table5.cxx.
References aCol, ScAddress::Col(), ScColContainer::size(), and ValidCol().
|
private |
Definition at line 328 of file table7.cxx.
References aCol, and IsColValid().
Referenced by ScDocument::EndListeningGroups().
|
private |
Definition at line 308 of file table7.cxx.
References aCol, and IsColValid().
Referenced by ScDocument::EndListeningIntersectedGroup().
|
private |
Definition at line 317 of file table7.cxx.
References aCol, GetAllocatedColumnsRange(), IsColValid(), and ValidCol().
Referenced by ScDocument::EndListeningIntersectedGroups().
bool ScTable::EnsureFormulaCellResults | ( | const SCCOL | nCol1, |
SCROW | nRow1, | ||
const SCCOL | nCol2, | ||
SCROW | nRow2, | ||
bool | bSkipRunning = false |
||
) |
Definition at line 433 of file table7.cxx.
References aCol, IsColValid(), ScColContainer::size(), and ValidCol().
Referenced by ScDocument::EnsureFormulaCellResults().
Definition at line 3969 of file table2.cxx.
References aData, ColHidden(), ScDocument::MaxCol(), ScDocument::MaxRow(), mpHiddenRows, rDocument, RowHidden(), and ValidRow().
bool ScTable::ExtendMerge | ( | SCCOL | nStartCol, |
SCROW | nStartRow, | ||
SCCOL & | rEndCol, | ||
SCROW & | rEndRow, | ||
bool | bRefresh | ||
) |
Definition at line 2325 of file table2.cxx.
References aCol, aDefaultColData, ATTR_MERGE(), ClampToAllocatedColumns(), ExtendMerge(), ScColumnData::GetAttr(), i, ScColContainer::size(), and ValidCol().
Referenced by ExtendMerge(), ScAccessibleTableBase::getAccessibleColumnExtentAt(), and ScAccessibleTableBase::getAccessibleRowExtentAt().
void ScTable::ExtendPrintArea | ( | OutputDevice * | pDev, |
SCCOL | nStartCol, | ||
SCROW | nStartRow, | ||
SCCOL & | rEndCol, | ||
SCROW | nEndRow | ||
) |
Definition at line 2069 of file table1.cxx.
References aCol, ColHidden(), GetCellCount(), ScFlatBoolColSegments::getRangeData(), ScTable::VisibleDataCellIterator::getRow(), i, ScRefCellValue::isEmpty(), OutputDevice::LogicToPixel(), ScDocument::MaxCol(), MaybeAddExtraColumn(), ScFlatBoolColSegments::RangeData::mbValue, ScFlatBoolColSegments::RangeData::mnCol1, mpColFlags, mpHiddenRows, ScTable::VisibleDataCellIterator::next(), nPPTX, nPPTY, Point, pRowFlags, rDocument, ScTable::VisibleDataCellIterator::reset(), ScFlatBoolColSegments::setFalse(), ScFlatBoolColSegments::setTrue(), and ScColContainer::size().
Definition at line 1235 of file table2.cxx.
References CreateColumnIfNotExists(), and ValidCol().
Referenced by ScDocument::CopyOneCellFromClip(), CopyUpdated(), FillAuto(), sc::FormulaGroupAreaListener::FormulaGroupAreaListener(), ScFormulaGroupIterator::next(), and ScFormulaGroupIterator::ScFormulaGroupIterator().
Definition at line 1243 of file table2.cxx.
References aCol, GetAllocatedColumnsCount(), and ValidCol().
formula::VectorRefArray ScTable::FetchVectorRefArray | ( | SCCOL | nCol, |
SCROW | nRow1, | ||
SCROW | nRow2 | ||
) |
Definition at line 2525 of file table1.cxx.
References aCol, IsColValid(), and ValidRow().
void ScTable::Fill | ( | SCCOL | nCol1, |
SCROW | nRow1, | ||
SCCOL | nCol2, | ||
SCROW | nRow2, | ||
sal_uInt64 | nFillCount, | ||
FillDir | eFillDir, | ||
FillCmd | eFillCmd, | ||
FillDateCmd | eFillDateCmd, | ||
double | nStepValue, | ||
double | nMaxValue, | ||
ScProgress * | pProgress | ||
) |
Definition at line 2599 of file table4.cxx.
References FILL_AUTO, FillAuto(), and FillSeries().
|
private |
Definition at line 241 of file table4.cxx.
References Date::AddDays(), aStr, ATTR_MERGE_FLAG(), ATTR_VALUE_FORMAT(), CELLTYPE_EDIT, CELLTYPE_NONE, CELLTYPE_STRING, CELLTYPE_VALUE, eType, FILL_DATE, FILL_DAY, FILL_END_OF_MONTH, FILL_LINEAR, FILL_MONTH, FILL_SIMPLE, FILL_YEAR, GetAttr(), GetCellValue(), ScUserList::GetData(), Date::GetDay(), ScRefCellValue::getDouble(), ScDocument::GetFormatTable(), ScPatternAttr::GetItem(), ScPatternAttr::GetItemSet(), SfxItemSet::GetItemState(), Date::GetMonth(), SvNumberFormatter::GetNullDate(), GetNumberFormat(), GetPattern(), ScRefCellValue::getString(), GetString(), ScUserListData::GetSubCount(), ScUserListData::GetSubIndex(), ScRefCellValue::getType(), getType(), SvNumberFormatter::GetType(), ScGlobal::GetUserList(), GetValue(), Date::GetYear(), i, Date::IsEndOfMonth(), KEY_MOD1, nCount, nScFillModeMouseModifier, and rDocument.
Referenced by FillAuto(), and GetAutoFillPreview().
|
private |
Definition at line 815 of file table4.cxx.
References aCol, aStr, ATTR_CONDITIONAL(), ATTR_MERGE_FLAG(), AUTOFILL, SfxItemSet::ClearItem(), col, ColHidden(), DeleteArea(), FetchColumn(), FILL_SIMPLE, FILL_TO_BOTTOM, FILL_TO_RIGHT, FILL_TO_TOP, FillAnalyse(), FillAutoSimple(), FillSeries(), FillSparkline(), GetColumnData(), ScCondFormatItem::GetCondFormatData(), ScDocument::GetDefPattern(), ScPatternAttr::GetItem(), ScPatternAttr::GetItemSet(), SfxItemSet::GetItemState(), GetPattern(), ScColumnData::GetPattern(), ScConditionalFormat::GetRange(), ScProgress::GetState(), GetString(), ScPatternAttr::GetStyleSheet(), ScUserListData::GetSubCount(), ScUserListData::GetSubIndex(), ScUserListData::GetSubStr(), Hor, i, IsDataFiltered(), ScRangeList::Join(), MAXDOUBLE, mpCondFormatList, nAdjust, NONE, nTab, SfxItemSet::Put(), PutInOrder(), rDocument, RowHidden(), rSet, ScConditionalFormat::SetRange(), ScProgress::SetStateOnPercent(), ValidColRow(), and Ver.
Referenced by Fill().
|
private |
Definition at line 1860 of file table4.cxx.
References aCol, aStr, CELLTYPE_EDIT, CELLTYPE_FORMULA, CELLTYPE_STRING, CELLTYPE_VALUE, ColHidden(), ScCellValue::commit(), FillFormula(), FillFormulaVertical(), GetCellValue(), GetColumnData(), ScCellValue::getDouble(), ScCellValue::getEditText(), ScDocument::GetFormatTable(), ScCellValue::getFormula(), ScDocument::GetNonThreadedContext(), GetNumberFormat(), ScGlobal::GetOrdinalSuffix(), ScCellValue::getSharedString(), svl::SharedString::getString(), ScEditUtil::GetString(), ScCellValue::getType(), SvNumberFormatter::GetType(), ScCellValue::isEmpty(), KEY_MOD1, ScDocument::MaxCol(), ScDocument::MaxRow(), nScFillModeMouseModifier, rDocument, RowHidden(), and ScProgress::SetStateOnPercent().
Referenced by FillAuto().
|
private |
Definition at line 773 of file table4.cxx.
References aCol, ScAddress::Col(), Formula, GetDoc(), ScDocument::GetFormulaCell(), ScFormulaCell::GetMatrixFlag(), ScFormulaCell::GetMatrixOrigin(), NONE, nTab, rDocument, ScAddress::Row(), ScFormulaCell::SetMatColsRows(), ScDocument::SetNoListening(), and ScFormulaCell::StartListeningTo().
Referenced by FillAutoSimple(), and FillSeriesSimple().
|
private |
Definition at line 1715 of file table4.cxx.
References aCol, ScColumn::BROADCAST_NONE, DATETIME, FORMULA, OUTLINE, PutInOrder(), rDocument, ScProgress::SetStateOnPercent(), STRING, and VALUE.
Referenced by FillAutoSimple(), and FillSeriesSimple().
void ScTable::FillMatrix | ( | ScMatrix & | rMat, |
SCCOL | nCol1, | ||
SCROW | nRow1, | ||
SCCOL | nCol2, | ||
SCROW | nRow2, | ||
svl::SharedStringPool * | pPool | ||
) | const |
Definition at line 2600 of file table1.cxx.
References aCol, ClampToAllocatedColumns(), and FillMatrix().
Referenced by FillMatrix(), and ScDocument::FillMatrix().
|
private |
Definition at line 2383 of file table2.cxx.
References ATTR_ROTATE_VALUE(), GetColWidth(), GetItem(), ScPatternAttr::GetRotateDir(), Left, mpRowHeights, NONE, RowInfo::nRotMaxCol, Right, RowHidden(), and toRadians().
Referenced by FindMaxRotCol().
void ScTable::FillPrintSaver | ( | ScPrintSaverTab & | rSaveTab | ) | const |
Definition at line 2338 of file table1.cxx.
References aPrintRanges, bPrintEntireSheet, moRepeatColRange, moRepeatRowRange, ScPrintSaverTab::SetAreas(), and ScPrintSaverTab::SetRepeat().
|
private |
Definition at line 2154 of file table4.cxx.
References aCol, aStr, ATTR_CONDITIONAL(), AUTOFILL, CELLTYPE_EDIT, CELLTYPE_FORMULA, CELLTYPE_STRING, CELLTYPE_VALUE, ColHidden(), CONTENTS, CreateColumnIfNotExists(), D_MAX_LONG_, DeleteArea(), FILL_DATE, FILL_GROWTH, FILL_LINEAR, FILL_SIMPLE, FILL_TO_BOTTOM, FILL_TO_RIGHT, FILL_TO_TOP, FillSeriesSimple(), GetCellValue(), ScCondFormatItem::GetCondFormatData(), ScCellValue::getDouble(), ScCellValue::getEditText(), ScCellValue::getFormula(), ScPatternAttr::GetItem(), ScGlobal::GetOrdinalSuffix(), ScCellValue::getSharedString(), ScProgress::GetState(), svl::SharedString::getString(), ScEditUtil::GetString(), ScCellValue::getType(), ScFormulaCell::GetValue(), i, IncDate(), IsDataFiltered(), ScCellValue::isEmpty(), LONG_MAX, nIndex, nTab, PutInOrder(), rDocument, RowHidden(), SubTotal::SafeMult(), SubTotal::SafePlus(), SetPatternAreaCondFormat(), and ScProgress::SetStateOnPercent().
Referenced by Fill(), and FillAuto().
|
private |
Definition at line 1780 of file table4.cxx.
References aCol, CELLTYPE_FORMULA, ScCellValue::commit(), FillFormula(), FillFormulaVertical(), ScCellValue::getFormula(), ScCellValue::getType(), nTab, ScAddress::Row(), and ScProgress::SetStateOnPercent().
Referenced by FillSeries().
void ScTable::FillSparkline | ( | bool | bVertical, |
SCCOLROW | nFixed, | ||
SCCOLROW | nIteratingStart, | ||
SCCOLROW | nIteratingEnd, | ||
SCCOLROW | nFillStart, | ||
SCCOLROW | nFillEnd | ||
) |
Definition at line 1242 of file table4.cxx.
References CreateSparkline(), GetSparkline(), and nIndex.
Referenced by FillAuto().
void ScTable::finalizeOutlineImport | ( | ) |
Definition at line 451 of file table7.cxx.
References pOutlineTable, and pRowFlags.
void ScTable::FindAreaPos | ( | SCCOL & | rCol, |
SCROW & | rRow, | ||
ScMoveDirection | eDirection | ||
) | const |
Definition at line 1377 of file table1.cxx.
References aCol, FindNextVisibleCol(), FindNextVisibleColWithContent(), ScDocument::MaxCol(), ScDocument::MaxRow(), rDocument, SC_MOVE_DOWN, SC_MOVE_LEFT, SC_MOVE_RIGHT, and ScColContainer::size().
Definition at line 2452 of file table2.cxx.
References ATTR_CONDITIONAL(), ColHidden(), ScFormatEntry::Condition, o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::empty(), ScFormatEntry::ExtCondition, FillMaxRot(), SfxStyleSheetBasePool::Find(), GetColumnsRange(), ScConditionalFormat::GetEntry(), SfxItemSet::GetItemIfSet(), SfxStyleSheetBase::GetItemSet(), ScPatternAttr::GetItemSet(), ScDocAttrIterator::GetNext(), GetStyle(), ScDocument::GetStyleSheetPool(), ScFormatEntry::GetType(), ScDocument::MaxCol(), mpColFlags, mpColWidth, mpCondFormatList, mpRowHeights, RowInfo::nRowNo, nTab, pRowFlags, rDocument, and ScConditionalFormat::size().
Definition at line 1290 of file table1.cxx.
References ScDocument::ColHidden(), ScDocument::MaxCol(), nTab, and rDocument.
Referenced by FindAreaPos().
Definition at line 1314 of file table1.cxx.
References aCol, ScDocument::ColHidden(), ScDocument::MaxCol(), nTab, rDocument, and ScColContainer::size().
Referenced by FindAreaPos().
void ScTable::FindRangeNamesInUse | ( | SCCOL | nCol1, |
SCROW | nRow1, | ||
SCCOL | nCol2, | ||
SCROW | nRow2, | ||
sc::UpdatedRangeNames & | rIndexes | ||
) | const |
Definition at line 2062 of file table1.cxx.
References aCol, FindRangeNamesInUse(), i, and IsColValid().
Referenced by FindRangeNamesInUse().
Definition at line 937 of file table5.cxx.
References aData, mpFilteredRows, and ValidRow().
Definition at line 705 of file table5.cxx.
References aData, mpHiddenRows, and ValidRow().
void ScTable::ForgetNoteCaptions | ( | SCCOL | nCol1, |
SCROW | nRow1, | ||
SCCOL | nCol2, | ||
SCROW | nRow2, | ||
bool | bPreserveData | ||
) |
Definition at line 1934 of file table2.cxx.
References aCol, ForgetNoteCaptions(), i, ScColContainer::size(), and ValidCol().
Referenced by ScDocument::ForgetNoteCaptions(), and ForgetNoteCaptions().
void ScTable::GetAllColBreaks | ( | ::std::set< SCCOL > & | rBreaks, |
bool | bPage, | ||
bool | bManual | ||
) | const |
Definition at line 344 of file table5.cxx.
References copy(), maColManualBreaks, and maColPageBreaks.
CommentCaptionState ScTable::GetAllNoteCaptionsState | ( | const ScRange & | rRange, |
std::vector< sc::NoteEntry > & | rNotes | ||
) |
Definition at line 1960 of file table2.cxx.
References aCol, ScRange::aEnd, ALLHIDDEN, ALLSHOWN, ScRange::aStart, ScColContainer::begin(), ClampToAllocatedColumns(), ScAddress::Col(), ScDocument::FetchTable(), ScDocument::HasColNotes(), MIXED, nTab, rDocument, and ScAddress::Row().
void ScTable::GetAllNoteEntries | ( | std::vector< sc::NoteEntry > & | rNotes | ) | const |
Definition at line 1943 of file table2.cxx.
References aCol, GetAllNoteEntries(), and ScColContainer::size().
Referenced by ScDocument::GetAllNoteEntries(), and GetAllNoteEntries().
|
inline |
Definition at line 1143 of file table.hxx.
References aCol, and ScColContainer::size().
Referenced by Compare(), CopyCellToDocument(), CopyStaticToDocument(), DeleteSparkline(), sc::ColumnSpanSet::executeAction(), sc::ColumnSpanSet::executeColumnAction(), FetchColumn(), GetCellType(), GetCellValue(), ScDBQueryDataIterator::GetColumnCellStore(), GetDataEntries(), GetEditText(), GetFormula(), GetFormulaCell(), GetInputString(), GetNextSpellingCell(), GetNote(), GetNoteCount(), GetNotePosition(), GetSharedString(), GetSparkline(), GetString(), GetValue(), ScDocument::HasColNotes(), HasData(), ScDocument::HasNote(), HasStringData(), HasValueData(), IsMerged(), MaybeAddExtraColumn(), ReleaseNote(), RemoveEditTextCharAttribs(), and SetEmptyCell().
ScColumnsRange ScTable::GetAllocatedColumnsRange | ( | SCCOL | begin, |
SCCOL | end | ||
) | const |
Definition at line 2710 of file table1.cxx.
References aCol, GetColumnsRange(), and ScColContainer::size().
Referenced by EndListeningIntersectedGroups(), InsertRow(), IsEmptyData(), TestInsertCol(), and UpdateReference().
void ScTable::GetAllRowBreaks | ( | ::std::set< SCROW > & | rBreaks, |
bool | bPage, | ||
bool | bManual | ||
) | const |
Definition at line 332 of file table5.cxx.
References copy(), maRowManualBreaks, and maRowPageBreaks.
|
inline |
Definition at line 394 of file table.hxx.
References pDBDataNoName.
const ScStyleSheet * ScTable::GetAreaStyle | ( | bool & | rFound, |
SCCOL | nCol1, | ||
SCROW | nRow1, | ||
SCCOL | nCol2, | ||
SCROW | nRow2 | ||
) | const |
Definition at line 3093 of file table2.cxx.
References aCol, ClampToAllocatedColumns(), and i.
const SfxPoolItem * ScTable::GetAttr | ( | SCCOL | nCol, |
SCROW | nRow, | ||
sal_uInt16 | nWhich | ||
) | const |
Definition at line 2239 of file table2.cxx.
References ColumnData(), ScColumnData::GetAttr(), and ValidColRow().
Referenced by FillAnalyse(), GetAttr(), and GetAutoFormatFrame().
const SfxPoolItem * ScTable::GetAttr | ( | SCCOL | nCol, |
SCROW | nRow, | ||
sal_uInt16 | nWhich, | ||
SCROW & | nStartRow, | ||
SCROW & | nEndRow | ||
) | const |
Definition at line 2246 of file table2.cxx.
References ColumnData(), ScColumnData::GetAttr(), and ValidColRow().
|
inline |
|
inline |
Definition at line 1293 of file table4.cxx.
References ScRange::aEnd, ScRange::aStart, CELLTYPE_EDIT, CELLTYPE_FORMULA, CELLTYPE_STRING, CELLTYPE_VALUE, ScAddress::Col(), CountVisibleCols(), CountVisibleRows(), eType, FILL_DATE, FILL_LINEAR, FILL_SIMPLE, FILL_TO_BOTTOM, FILL_TO_LEFT, FILL_TO_RIGHT, FILL_TO_TOP, FillAnalyse(), GetCellValue(), ScRefCellValue::getDouble(), ScDocument::GetFormatTable(), ScRefCellValue::getFormula(), GetNumberFormat(), ScGlobal::GetOrdinalSuffix(), SvNumberFormatter::GetOutputString(), ScRefCellValue::getString(), ScUserListData::GetSubCount(), ScUserListData::GetSubStr(), ScRefCellValue::getType(), SvNumberFormatter::GetType(), ScFormulaCell::GetValue(), i, IncDate(), ScRefCellValue::isEmpty(), KEY_MOD1, nIndex, nPos, nScFillModeMouseModifier, rDocument, ScAddress::Row(), SubTotal::SafeMult(), and SubTotal::SafePlus().
|
private |
Definition at line 2757 of file table4.cxx.
References ScDocument::GetFormatTable(), ScAutoFormatData::GetFromItemSet(), GetItemSet(), GetNumberFormat(), GetPattern(), nIndex, and rDocument.
Referenced by GetAutoFormatData().
void ScTable::GetAutoFormatData | ( | SCCOL | nStartCol, |
SCROW | nStartRow, | ||
SCCOL | nEndCol, | ||
SCROW | nEndRow, | ||
ScAutoFormatData & | rData | ||
) |
Definition at line 2830 of file table4.cxx.
References ATTR_BORDER(), ScAutoFormatData::CopyItem(), GetAutoFormatAttr(), GetAutoFormatFrame(), LF_ALL, LF_BOTTOM, LF_LEFT, LF_RIGHT, LF_TOP, and ValidColRow().
|
private |
Definition at line 2770 of file table4.cxx.
References ATTR_BORDER(), GetAttr(), SvxBoxItem::GetBottom(), SvxBoxItem::GetLeft(), SvxBoxItem::GetRight(), SvxBoxItem::GetTop(), LF_BOTTOM, LF_LEFT, LF_RIGHT, LF_TOP, nIndex, ScAutoFormatData::PutItem(), ScHasPriority(), and SvxBoxItem::SetLine().
Referenced by GetAutoFormatData().
SvtBroadcaster * ScTable::GetBroadcaster | ( | SCCOL | nCol, |
SCROW | nRow | ||
) |
Definition at line 2577 of file table1.cxx.
References aCol, and IsColRowValid().
Referenced by ScDocument::GetBroadcaster().
const SvtBroadcaster * ScTable::GetBroadcaster | ( | SCCOL | nCol, |
SCROW | nRow | ||
) | const |
Definition at line 2669 of file table1.cxx.
References aCol, and IsColRowValid().
|
inline |
Definition at line 356 of file table.hxx.
References bCalcNotification.
Definition at line 517 of file table1.cxx.
References aCol, i, IsEmptyData(), mbCellAreaDirty, mbCellAreaEmpty, mnEndCol, mnEndRow, and ScColContainer::size().
Referenced by ScModelObj::getDataArea(), ReplaceAll(), Search(), and SearchAll().
sal_uInt64 ScTable::GetCellCount | ( | ) | const |
Definition at line 3027 of file table3.cxx.
References aCol, GetCellCount(), and ScColContainer::size().
Referenced by ExtendPrintArea(), GetCellCount(), and GetCodeCount().
Definition at line 478 of file table.hxx.
References aCol, CELLTYPE_NONE, ScAddress::Col(), GetDoc(), ScAddress::Row(), ScColContainer::size(), and ValidColRow().
Referenced by HasColHeader(), and HasRowHeader().
Definition at line 2014 of file table2.cxx.
References aCol, CELLTYPE_NONE, GetAllocatedColumnsCount(), and ValidColRow().
ScRefCellValue ScTable::GetCellValue | ( | SCCOL | nCol, |
sc::ColumnBlockPosition & | rBlockPos, | ||
SCROW | nRow | ||
) |
Definition at line 2029 of file table2.cxx.
References aCol, GetAllocatedColumnsCount(), and ValidColRow().
Referenced by CreateSortInfoArray(), FillAnalyse(), FillAutoSimple(), FillSeries(), GetAutoFillPreview(), Query(), and ScQueryEvaluator::ValidQuery().
ScRefCellValue ScTable::GetCellValue | ( | SCCOL | nCol, |
SCROW | nRow | ||
) | const |
Definition at line 2021 of file table2.cxx.
References aCol, GetAllocatedColumnsCount(), and ValidColRow().
sal_uInt64 ScTable::GetCodeCount | ( | ) | const |
Definition at line 3057 of file table3.cxx.
References aCol, GetCellCount(), and ScColContainer::size().
|
inline |
Definition at line 3874 of file table2.cxx.
References mpColFlags, NONE, and ValidCol().
tools::Long ScTable::GetColOffset | ( | SCCOL | nCol, |
bool | bHiddenAsZero = true |
||
) | const |
Definition at line 4355 of file table2.cxx.
References ColHidden(), i, mpColWidth, and n.
Referenced by SetDrawPageSize().
|
inline |
Definition at line 305 of file table.hxx.
References aCol, aDefaultColData, and ScColContainer::size().
Referenced by FillAuto(), and FillAutoSimple().
std::optional< sc::ColumnIterator > ScTable::GetColumnIterator | ( | SCCOL | nCol, |
SCROW | nRow1, | ||
SCROW | nRow2 | ||
) | const |
Definition at line 425 of file table7.cxx.
References CreateColumnIfNotExists(), ScColumn::GetColumnIterator(), and ValidCol().
Referenced by ScDocument::GetColumnIterator().
ScColumnsRange ScTable::GetColumnsRange | ( | SCCOL | begin, |
SCCOL | end | ||
) | const |
Definition at line 2720 of file table1.cxx.
References GetDoc().
Referenced by FindMaxRotCol(), GetAllocatedColumnsRange(), GetWritableColumnsRange(), and UpdatePageBreaks().
sal_uInt16 ScTable::GetColWidth | ( | SCCOL | nCol, |
bool | bHiddenAsZero = true |
||
) | const |
Definition at line 3455 of file table2.cxx.
References ColHidden(), mpColFlags, mpColWidth, STD_COL_WIDTH, and ValidCol().
Referenced by FillMaxRot(), ScDocument::GetColWidth(), ScDocument::GetEmbeddedRect(), ScDocument::GetRange(), and MaybeAddExtraColumn().
tools::Long ScTable::GetColWidth | ( | SCCOL | nStartCol, |
SCCOL | nEndCol | ||
) | const |
Definition at line 3470 of file table2.cxx.
References ColHidden(), mpColWidth, and ValidCol().
sal_uInt16 ScTable::GetCommonWidth | ( | SCCOL | nEndCol | ) | const |
Definition at line 3502 of file table2.cxx.
References ColHidden(), ScDocument::MaxCol(), mpColWidth, rDocument, and ValidCol().
ScConditionalFormatList * ScTable::GetCondFormList | ( | ) |
Definition at line 2687 of file table1.cxx.
References mpCondFormatList.
const ScConditionalFormatList * ScTable::GetCondFormList | ( | ) | const |
Definition at line 2695 of file table1.cxx.
References mpCondFormatList.
void ScTable::GetDataArea | ( | SCCOL & | rStartCol, |
SCROW & | rStartRow, | ||
SCCOL & | rEndCol, | ||
SCROW & | rEndRow, | ||
bool | bIncludeOld, | ||
bool | bOnlyDown | ||
) | const |
Definition at line 885 of file table1.cxx.
References aCol, GetLastDataRow(), i, IsEmptyData(), ScDocument::MaxRow(), rDocument, and ScColContainer::size().
Referenced by StoreToCache().
bool ScTable::GetDataAreaSubrange | ( | ScRange & | rRange | ) | const |
Definition at line 1008 of file table1.cxx.
References aCol, ScRange::aEnd, ScRange::aStart, ScAddress::Col(), ScAddress::Row(), ScAddress::Set(), ScColContainer::size(), and ScAddress::Tab().
bool ScTable::GetDataEntries | ( | SCCOL | nCol, |
SCROW | nRow, | ||
std::set< ScTypedStrData > & | rStrings | ||
) |
Definition at line 3020 of file table3.cxx.
References aCol, GetAllocatedColumnsCount(), and ValidCol().
Definition at line 809 of file table1.cxx.
References aCol, i, IsEmptyData(), ScDocument::MaxRow(), rDocument, and ScColContainer::size().
|
inline |
Definition at line 290 of file table.hxx.
References rDocument.
Referenced by ApplyPatternArea(), ApplySelectionCache(), ChangeSelectionIndent(), ClearSelectionItems(), CopyOneCellFromClip(), dumpColumnRowSizes(), dumpHiddenFiltered(), FillFormula(), GetCellType(), GetColumnsRange(), GetFilteredFilterEntries(), GetLastChangedColFlagsWidth(), GetWritableColumnsRange(), InvalidateTextWidth(), IsColRowTabValid(), IsColRowValid(), Query(), SearchAndReplace(), SetColHidden(), SetRowHidden(), Sort(), SortReorderByRow(), SortReorderByRowRefUpdate(), SplitFormulaGroups(), ValidCol(), ValidColRow(), and ValidRow().
|
inline |
const EditTextObject * ScTable::GetEditText | ( | SCCOL | nCol, |
SCROW | nRow | ||
) | const |
Definition at line 1805 of file table2.cxx.
References aCol, GetAllocatedColumnsCount(), and ValidColRow().
SCSIZE ScTable::GetEmptyLinesInBlock | ( | SCCOL | nStartCol, |
SCROW | nStartRow, | ||
SCCOL | nEndCol, | ||
SCROW | nEndRow, | ||
ScDirection | eDir | ||
) | const |
Definition at line 1200 of file table1.cxx.
References aCol, DIR_BOTTOM, DIR_RIGHT, DIR_TOP, GetEmptyLinesInBlock(), nCount, and ScColContainer::size().
Referenced by DoSubTotals(), and GetEmptyLinesInBlock().
|
inline |
Definition at line 661 of file table.hxx.
References aCol, ScAddress::Col(), IsColRowValid(), and ScAddress::Row().
void ScTable::GetFilteredFilterEntries | ( | SCCOL | nCol, |
SCROW | nRow1, | ||
SCROW | nRow2, | ||
const ScQueryParam & | rParam, | ||
ScFilterEntries & | rFilterEntries, | ||
bool | bFiltering | ||
) |
Definition at line 2992 of file table3.cxx.
References aCol, GetDoc(), rDocument, ScQueryParamBase::RemoveEntryByField(), ScColContainer::size(), and ScQueryEvaluator::ValidQuery().
void ScTable::GetFilterEntries | ( | SCCOL | nCol, |
SCROW | nRow1, | ||
SCROW | nRow2, | ||
ScFilterEntries & | rFilterEntries, | ||
bool | bFiltering = false |
||
) |
Definition at line 2982 of file table3.cxx.
References aCol, and ScColContainer::size().
Definition at line 2037 of file table2.cxx.
References aCol, GetFirstDataPos(), IsEmptyData(), ScDocument::MaxRow(), rDocument, and ScColContainer::size().
Referenced by GetFirstDataPos(), and SearchAndReplaceEmptyCells().
Definition at line 1682 of file table2.cxx.
References aCol, ClampToAllocatedColumns(), i, ScDocument::MaxRow(), rDocument, ValidCol(), and ValidRow().
Referenced by ScDocument::GetFirstEditTextRow().
Definition at line 1821 of file table2.cxx.
References aCol, GetAllocatedColumnsCount(), and ValidColRow().
ScFormulaCell * ScTable::GetFormulaCell | ( | SCCOL | nCol, |
SCROW | nRow | ||
) |
Definition at line 1837 of file table2.cxx.
References aCol, GetAllocatedColumnsCount(), and ValidColRow().
const ScFormulaCell * ScTable::GetFormulaCell | ( | SCCOL | nCol, |
SCROW | nRow | ||
) | const |
Definition at line 1829 of file table2.cxx.
References aCol, GetAllocatedColumnsCount(), and ValidColRow().
Referenced by ScDocument::SetString(), and ScDocument::SetValue().
sal_Int64 ScTable::GetHashCode | ( | ) | const |
Definition at line 350 of file table1.cxx.
Definition at line 3673 of file table2.cxx.
References RowHidden(), and ValidRow().
Definition at line 1790 of file table2.cxx.
References aCol, GetAllocatedColumnsCount(), and ValidColRow().
Referenced by CreateExcelQuery(), and GetUpperCellString().
SCCOL ScTable::GetLastChangedColFlagsWidth | ( | ) | const |
Definition at line 3920 of file table2.cxx.
References All, GetDoc(), ScDocument::MaxCol(), mpColFlags, mpColWidth, and STD_COL_WIDTH.
SCROW ScTable::GetLastChangedRowFlagsWidth | ( | ) | const |
Definition at line 3934 of file table2.cxx.
References GetLastFlaggedRow(), mpRowHeights, ScGlobal::nStdRowHeight, pRowFlags, and ValidRow().
Definition at line 2052 of file table2.cxx.
References aCol, GetLastDataPos(), IsEmptyData(), ScDocument::MaxRow(), rDocument, and ScColContainer::size().
Referenced by GetLastDataPos(), LimitChartArea(), ReplaceAll(), Search(), SearchAll(), and SearchAndReplaceEmptyCells().
SCROW ScTable::GetLastDataRow | ( | SCCOL | nCol1, |
SCCOL | nCol2, | ||
SCROW | nLastRow, | ||
ScDataAreaExtras * | pDataAreaExtras = nullptr |
||
) | const |
Definition at line 1173 of file table1.cxx.
References aCol, i, IsColValid(), ScColContainer::size(), and ValidCol().
Referenced by GetDataArea(), ScDocument::GetLastDataRow(), and ShrinkToUsedDataArea().
SCROW ScTable::GetLastFlaggedRow | ( | ) | const |
Definition at line 3890 of file table2.cxx.
References All, maRowManualBreaks, mpFilteredRows, mpHiddenRows, pRowFlags, and ValidRow().
Referenced by GetLastChangedRowFlagsWidth().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 383 of file table.hxx.
References nLinkRefreshDelay.
|
inline |
|
private |
Definition at line 589 of file table7.cxx.
References ScAddress::Col(), and maLOKFreezeCell.
Referenced by ScDocument::GetLOKFreezeCol().
|
private |
Definition at line 594 of file table7.cxx.
References maLOKFreezeCell, and ScAddress::Row().
Referenced by ScDocument::GetLOKFreezeRow().
sal_Int32 ScTable::GetMaxNumberStringLen | ( | sal_uInt16 & | nPrecision, |
SCCOL | nCol, | ||
SCROW | nRowStart, | ||
SCROW | nRowEnd | ||
) | const |
Definition at line 3077 of file table3.cxx.
References aCol, and IsColValid().
sal_Int32 ScTable::GetMaxStringLen | ( | SCCOL | nCol, |
SCROW | nRowStart, | ||
SCROW | nRowEnd, | ||
rtl_TextEncoding | eCharSet | ||
) | const |
Definition at line 3068 of file table3.cxx.
References aCol, and IsColValid().
const ScPatternAttr * ScTable::GetMostUsedPattern | ( | SCCOL | nCol, |
SCROW | nStartRow, | ||
SCROW | nEndRow | ||
) | const |
Definition at line 2288 of file table2.cxx.
References ColumnData(), ScColumnData::GetMostUsedPattern(), ValidColRow(), and ValidRow().
|
inline |
Definition at line 390 of file table.hxx.
References aName.
Referenced by ScDocument::GetAllTableNames().
tools::Long ScTable::GetNeededSize | ( | SCCOL | nCol, |
SCROW | nRow, | ||
OutputDevice * | pDev, | ||
double | nPPTX, | ||
double | nPPTY, | ||
const Fraction & | rZoomX, | ||
const Fraction & | rZoomY, | ||
bool | bWidth, | ||
bool | bTotalSize, | ||
bool | bInPrintTwips = false |
||
) |
Definition at line 443 of file table1.cxx.
References aCol, ScNeededSizeOptions::bSkipMerged, ScNeededSizeOptions::bTotalSize, nPPTX, nPPTY, and ScColContainer::size().
Get the row position of the next manual break that occurs at or below specified row.
When no more manual breaks are present at or below the specified row, -1 is returned.
nRow | row at which the search begins. |
Definition at line 388 of file table5.cxx.
References maRowManualBreaks.
Referenced by UpdatePageBreaks().
|
private |
Definition at line 1757 of file table1.cxx.
References aCol, sc::element_type_empty, ScMarkData::GetMarkArray(), ScMarkArray::GetMarkEnd(), ScMarkArray::GetNextMarked(), ScDocument::MaxCol(), ScDocument::MaxRow(), rDocument, and ScColContainer::size().
void ScTable::GetNextPos | ( | SCCOL & | rCol, |
SCROW & | rRow, | ||
SCCOL | nMovX, | ||
SCROW | nMovY, | ||
bool | bMarked, | ||
bool | bUnprotected, | ||
const ScMarkData & | rMark, | ||
SCCOL | nTabStartCol | ||
) | const |
Definition at line 1512 of file table1.cxx.
References aCol, aDefaultColData, ScRange::aEnd, ScRange::aStart, ScAddress::Col(), ColHidden(), ScMarkData::GetMarkArea(), ScMarkData::GetMultiMarkArea(), ScMarkData::GetNextMarked(), ScColumnData::GetNextUnprotected(), ScDocument::GetPrintArea(), i, ScMarkData::IsMarked(), ScMarkData::IsMultiMarked(), IsProtected(), ScDocument::MaxCol(), ScDocument::MaxRow(), nTab, rDocument, ScAddress::Row(), SC_TABSTART_NONE, ScColContainer::size(), SkipRow(), ScAddress::UNINITIALIZED, ValidCol(), ValidColRow(), and ValidNextPos().
|
private |
Definition at line 2914 of file table4.cxx.
References aCol, GetAllocatedColumnsCount(), GetNextSpellingCell(), ScDocument::MaxCol(), ScDocument::MaxRow(), rDocument, and ValidCol().
Referenced by GetNextSpellingCell().
Definition at line 1897 of file table2.cxx.
References aCol, GetAllocatedColumnsCount(), and ValidCol().
size_t ScTable::GetNoteCount | ( | SCCOL | nCol | ) | const |
Definition at line 1912 of file table2.cxx.
References aCol, GetAllocatedColumnsCount(), and ValidCol().
Referenced by ScDocument::GetNoteCount().
Definition at line 1920 of file table2.cxx.
References aCol, GetAllocatedColumnsCount(), nIndex, and ValidCol().
Referenced by ScDocument::GetNotePosition().
void ScTable::GetNotesInRange | ( | const ScRange & | rRange, |
std::vector< sc::NoteEntry > & | rNotes | ||
) | const |
Definition at line 1949 of file table2.cxx.
References aCol, ScRange::aEnd, ScRange::aStart, ClampToAllocatedColumns(), ScAddress::Col(), and ScAddress::Row().
sal_uInt32 ScTable::GetNumberFormat | ( | const ScInterpreterContext & | rContext, |
const ScAddress & | rPos | ||
) | const |
Definition at line 2253 of file table2.cxx.
References ScAddress::Col(), ColumnData(), ScColumnData::GetNumberFormat(), ScAddress::Row(), and ValidColRow().
Referenced by FillAnalyse(), FillAutoSimple(), GetAutoFillPreview(), GetAutoFormatAttr(), ScQueryEvaluator::getCellString(), GetNumberFormat(), and ScQueryEvaluator::getNumFmt().
Definition at line 2260 of file table2.cxx.
References ScDocument::GetNonThreadedContext(), GetNumberFormat(), nTab, and rDocument.
Definition at line 2265 of file table2.cxx.
References ColumnData(), ScColumnData::GetNumberFormat(), ValidCol(), and ValidRow().
sal_uInt16 ScTable::GetOptimalColWidth | ( | SCCOL | nCol, |
OutputDevice * | pDev, | ||
double | nPPTX, | ||
double | nPPTY, | ||
const Fraction & | rZoomX, | ||
const Fraction & | rZoomY, | ||
bool | bFormula, | ||
const ScMarkData * | pMarkData, | ||
const ScColWidthParam * | pParam | ||
) |
Definition at line 430 of file table1.cxx.
References aCol, nPPTX, nPPTY, ScColContainer::size(), STD_COL_WIDTH, and STD_EXTRA_WIDTH.
sal_uInt16 ScTable::GetOriginalHeight | ( | SCROW | nRow | ) | const |
Definition at line 3661 of file table2.cxx.
References ScGlobal::nStdRowHeight, and ValidRow().
Referenced by CopyOneCellFromClip().
sal_uInt16 ScTable::GetOriginalWidth | ( | SCCOL | nCol | ) | const |
Definition at line 3492 of file table2.cxx.
References STD_COL_WIDTH, and ValidCol().
|
inline |
Definition at line 294 of file table.hxx.
References pOutlineTable.
Size ScTable::GetPageSize | ( | ) | const |
Definition at line 1108 of file table5.cxx.
References aPageSizeTwips, and bPageSizeValid.
|
inline |
Definition at line 401 of file table.hxx.
References aPageStyle.
const ScPatternAttr * ScTable::GetPattern | ( | SCCOL | nCol, |
SCROW | nRow | ||
) | const |
Definition at line 2281 of file table2.cxx.
References ColumnData(), ScColumnData::GetPattern(), and ValidColRow().
Referenced by CopyData(), FillAnalyse(), FillAuto(), GetAutoFormatAttr(), lcl_RemoveNumberFormat(), and MaybeAddExtraColumn().
Definition at line 2966 of file table4.cxx.
References aCol, and ValidCol().
Definition at line 2974 of file table4.cxx.
References aCol, ValidCol(), and ValidRow().
bool ScTable::GetPrintArea | ( | SCCOL & | rEndCol, |
SCROW & | rEndRow, | ||
bool | bNotes, | ||
bool | bCalcHiddens = false |
||
) | const |
Definition at line 604 of file table1.cxx.
References aCol, ScDocument::ColHidden(), i, IsEmptyData(), ScDocument::MaxCol(), ScDocument::MaxRow(), nTab, rDocument, SC_COLUMNS_STOP, and ScColContainer::size().
Referenced by GetTableArea().
Definition at line 711 of file table1.cxx.
References aCol, i, IsEmptyData(), ScDocument::MaxCol(), rDocument, and ScColContainer::size().
bool ScTable::GetPrintAreaVer | ( | SCCOL | nStartCol, |
SCCOL | nEndCol, | ||
SCROW & | rEndRow, | ||
bool | bNotes | ||
) | const |
Definition at line 756 of file table1.cxx.
References aCol, i, IsEmptyData(), and ScColContainer::size().
const ScRange * ScTable::GetPrintRange | ( | sal_uInt16 | nPos | ) | const |
Definition at line 2333 of file table1.cxx.
References aPrintRanges, GetPrintRangeCount(), and nPos.
Referenced by UpdatePageBreaks().
|
inline |
Definition at line 817 of file table.hxx.
References aPrintRanges.
Referenced by GetPrintRange(), UpdatePageBreaks(), and UpdateReference().
const ScTableProtection * ScTable::GetProtection | ( | ) | const |
Definition at line 1106 of file table5.cxx.
References pTabProtection.
ScRangeName * ScTable::GetRangeName | ( | ) | const |
Definition at line 4258 of file table2.cxx.
References mpRangeName.
Referenced by CopyToTable(), and UndoToTable().
SvtScriptType ScTable::GetRangeScriptType | ( | sc::ColumnBlockPosition & | rBlockPos, |
SCCOL | nCol, | ||
SCROW | nRow1, | ||
SCROW | nRow2 | ||
) |
Definition at line 2480 of file table1.cxx.
References aCol, ScColContainer::begin(), IsColValid(), and sc::ColumnBlockPosition::miCellTextAttrPos.
ScRefCellValue ScTable::GetRefCellValue | ( | SCCOL | nCol, |
SCROW | nRow | ||
) |
Definition at line 2561 of file table1.cxx.
References aCol, and IsColRowValid().
ScRefCellValue ScTable::GetRefCellValue | ( | SCCOL | nCol, |
SCROW | nRow, | ||
sc::ColumnBlockPosition & | rBlockPos | ||
) |
Definition at line 2569 of file table1.cxx.
References aCol, and IsColRowValid().
|
inline |
Definition at line 812 of file table.hxx.
References moRepeatColRange.
|
inline |
Definition at line 813 of file table.hxx.
References moRepeatRowRange.
Sequence< TablePageBreakData > ScTable::GetRowBreakData | ( | ) | const |
Definition at line 464 of file table5.cxx.
References aSeq, copy(), maRowManualBreaks, and maRowPageBreaks.
Definition at line 3882 of file table2.cxx.
References NONE, pRowFlags, and ValidRow().
|
inline |
SCROW ScTable::GetRowForHeight | ( | tools::Long | nHeight | ) | const |
Get the last row such that the height of row 0 to the end row is as high as possible without exceeding the specified height value.
nHeight | maximum desired height |
Definition at line 4288 of file table2.cxx.
References aData, if(), ScDocument::MaxRow(), ScFlatUInt16RowSegments::RangeData::mnRow2, ScFlatUInt16RowSegments::RangeData::mnValue, mpHiddenRows, mpRowHeights, and rDocument.
sal_uInt16 ScTable::GetRowHeight | ( | SCROW | nRow, |
SCROW * | pStartRow, | ||
SCROW * | pEndRow, | ||
bool | bHiddenAsZero = true |
||
) | const |
Definition at line 3553 of file table2.cxx.
References aData, mpRowHeights, ScGlobal::nStdRowHeight, RowHidden(), SAL_WARN_IF, and ValidRow().
Referenced by CopyToTable(), ScDocument::GetEmbeddedRect(), GetRowOffset(), and lcl_AddTwipsWhile().
tools::Long ScTable::GetRowHeight | ( | SCROW | nStartRow, |
SCROW | nEndRow, | ||
bool | bHiddenAsZero = true |
||
) | const |
Definition at line 3595 of file table2.cxx.
References mpRowHeights, ScGlobal::nStdRowHeight, RowHidden(), and ValidRow().
tools::Long ScTable::GetRowOffset | ( | SCROW | nRow, |
bool | bHiddenAsZero = true |
||
) | const |
Definition at line 4265 of file table2.cxx.
References GetRowHeight(), GetTotalRowHeight(), mpHiddenRows, mpRowHeights, and n.
Referenced by SetDrawPageSize().
tools::Long ScTable::GetScaledRowHeight | ( | SCROW | nStartRow, |
SCROW | nEndRow, | ||
double | fScale | ||
) | const |
Definition at line 3620 of file table2.cxx.
References ScFlatUInt16RowSegments::ForwardIterator::getLastPos(), ScFlatUInt16RowSegments::ForwardIterator::getValue(), mpRowHeights, ScGlobal::nStdRowHeight, RowHidden(), and ValidRow().
|
inline |
Definition at line 368 of file table.hxx.
References aScenarioColor.
|
inline |
|
inline |
Definition at line 372 of file table.hxx.
References nScenarioFlags.
const ScRangeList * ScTable::GetScenarioRanges | ( | ) | const |
Definition at line 1624 of file table2.cxx.
References bScenario, ScMarkData::FillRangeListWithMarks(), ScDocument::GetSheetLimits(), MarkScenarioIn(), NONE, pScenarioRanges, and rDocument.
Referenced by HasScenarioRange().
SvtScriptType ScTable::GetScriptType | ( | SCCOL | nCol, |
SCROW | nRow | ||
) | const |
Definition at line 2464 of file table1.cxx.
References aCol, and IsColValid().
const ScStyleSheet * ScTable::GetSelectionStyle | ( | const ScMarkData & | rMark, |
bool & | rFound | ||
) | const |
Definition at line 3067 of file table2.cxx.
References aCol, ScMarkData::HasMultiMarks(), i, and ScColContainer::size().
svl::SharedString ScTable::GetSharedString | ( | SCCOL | nCol, |
SCROW | nRow | ||
) | const |
Definition at line 1754 of file table2.cxx.
References aCol, GetAllocatedColumnsCount(), and ValidColRow().
|
inline |
Definition at line 328 of file table.hxx.
References pSheetEvents.
std::shared_ptr< sc::Sparkline > ScTable::GetSparkline | ( | SCCOL | nCol, |
SCROW | nRow | ||
) |
Definition at line 1847 of file table2.cxx.
References aCol, GetAllocatedColumnsCount(), sc::SparklineCell::getSparkline(), and ValidCol().
Referenced by FillSparkline().
sc::SparklineList & ScTable::GetSparklineList | ( | ) |
Definition at line 1882 of file table2.cxx.
References maSparklineList.
OUString ScTable::GetString | ( | SCCOL | nCol, |
SCROW | nRow, | ||
const ScInterpreterContext * | pContext = nullptr |
||
) | const |
Definition at line 1774 of file table2.cxx.
References aCol, GetAllocatedColumnsCount(), and ValidColRow().
Referenced by CompareCell(), CreateStarQuery(), DoSubTotals(), FillAnalyse(), FillAuto(), and Query().
const ScStyleSheet * ScTable::GetStyle | ( | SCCOL | nCol, |
SCROW | nRow | ||
) | const |
Definition at line 3060 of file table2.cxx.
References ColumnData(), ScColumnData::GetStyle(), and ValidColRow().
Referenced by CopyConditionalFormat(), and FindMaxRotCol().
|
inline |
Definition at line 292 of file table.hxx.
References nTab.
Referenced by ScQueryEvaluator::compareByBackgroundColor(), ScQueryEvaluator::compareByTextColor(), ScQueryEvaluator::getCellString(), ScQueryEvaluator::getNumFmt(), SetColHidden(), and SetRowHidden().
|
inline |
Definition at line 370 of file table.hxx.
References aTabBgColor.
Definition at line 576 of file table1.cxx.
References bTableAreaValid, bTableAreaVisibleValid, GetPrintArea(), nTableAreaVisibleX, nTableAreaVisibleY, nTableAreaX, and nTableAreaY.
Definition at line 86 of file table2.cxx.
References aCol.
tools::Long ScTable::GetTotalRowHeight | ( | SCROW | nStartRow, |
SCROW | nEndRow, | ||
bool | bHiddenAsZero = true |
||
) | const |
Definition at line 772 of file table5.cxx.
References aData, mpHiddenRows, and mpRowHeights.
Referenced by GetRowOffset(), and UpdatePageBreaks().
void ScTable::GetUnprotectedCells | ( | ScRangeList & | rRangeList | ) | const |
Definition at line 1993 of file table2.cxx.
References aCol, ScDocument::MaxRow(), and rDocument.
Definition at line 4214 of file table2.cxx.
References ScGlobal::getCharClass(), GetInputString(), trim(), and CharClass::uppercase().
Referenced by CreateExcelQuery(), and CreateStarQuery().
const OUString & ScTable::GetUpperName | ( | ) | const |
Definition at line 363 of file table1.cxx.
References aName, aUpperName, ScGlobal::getCharClass(), and CharClass::uppercase().
Definition at line 1798 of file table2.cxx.
References aCol, GetAllocatedColumnsCount(), and ValidColRow().
Referenced by FillAnalyse(), and SetPageStyle().
Definition at line 1782 of file table2.cxx.
References CreateColumnIfNotExists(), ScColumn::GetValueCell(), and ValidColRow().
sal_uInt64 ScTable::GetWeightedCount | ( | ) | const |
Definition at line 3037 of file table3.cxx.
References aCol, GetWeightedCount(), and ScColContainer::size().
Referenced by GetWeightedCount(), SetOptimalHeight(), and SetOptimalHeightOnly().
Definition at line 3047 of file table3.cxx.
References aCol, GetWeightedCount(), and ScColContainer::size().
ScColumnsRange ScTable::GetWritableColumnsRange | ( | SCCOL | begin, |
SCCOL | end | ||
) |
Definition at line 2700 of file table1.cxx.
References CreateColumnIfNotExists(), GetColumnsRange(), and GetDoc().
Referenced by TransposeClip().
bool ScTable::HandleRefArrayForParallelism | ( | SCCOL | nCol, |
SCROW | nRow1, | ||
SCROW | nRow2, | ||
const ScFormulaCellGroupRef & | mxGroup | ||
) |
Definition at line 2545 of file table1.cxx.
References aCol, IsColValid(), mpFilteredCols, mpFilteredRows, mpHiddenCols, mpHiddenRows, and ValidRow().
void ScTable::HandleStuffAfterParallelCalculation | ( | SCCOL | nColStart, |
SCCOL | nColEnd, | ||
SCROW | nRow, | ||
size_t | nLen, | ||
ScInterpreter * | pInterpreter | ||
) |
Definition at line 2650 of file table1.cxx.
References aCol, HandleStuffAfterParallelCalculation(), and ValidCol().
Referenced by HandleStuffAfterParallelCalculation(), and ScDocument::HandleStuffAfterParallelCalculation().
bool ScTable::HasAttrib | ( | SCCOL | nCol, |
SCROW | nRow, | ||
HasAttrFlags | nMask, | ||
SCROW * | nStartRow = nullptr , |
||
SCROW * | nEndRow = nullptr |
||
) | const |
Definition at line 2305 of file table2.cxx.
References ColumnData(), and ScColumnData::HasAttrib().
bool ScTable::HasAttrib | ( | SCCOL | nCol1, |
SCROW | nRow1, | ||
SCCOL | nCol2, | ||
SCROW | nRow2, | ||
HasAttrFlags | nMask | ||
) | const |
Definition at line 2295 of file table2.cxx.
References aCol, aDefaultColData, HasAttrib(), ScColumnData::HasAttrib(), and ScColContainer::size().
Referenced by HasAttrib(), IsBlockEditable(), and IsEditActionAllowed().
bool ScTable::HasAttribSelection | ( | const ScMarkData & | rMark, |
HasAttrFlags | nMask | ||
) | const |
Definition at line 2310 of file table2.cxx.
References aCol, ScMarkData::GetMarkedColSpans(), and HasAttribSelection().
Referenced by HasAttribSelection(), and IsSelectionEditable().
bool ScTable::HasBlockMatrixFragment | ( | const SCCOL | nCol1, |
SCROW | nRow1, | ||
const SCCOL | nCol2, | ||
SCROW | nRow2, | ||
bool | bNoMatrixAtAll = false |
||
) | const |
Definition at line 2527 of file table2.cxx.
References aCol, i, IsColValid(), Left, n, Right, and ScColContainer::size().
Referenced by IsBlockEditable(), and IsEditActionAllowed().
Definition at line 2924 of file table3.cxx.
References CELLTYPE_EDIT, CELLTYPE_STRING, eType, and GetCellType().
bool ScTable::HasColManualBreak | ( | SCCOL | nCol | ) | const |
Definition at line 380 of file table5.cxx.
References maColManualBreaks, and ValidCol().
Referenced by UpdatePageBreaks().
bool ScTable::HasColPageBreak | ( | SCCOL | nCol | ) | const |
Definition at line 364 of file table5.cxx.
References maColPageBreaks, and ValidCol().
Definition at line 2063 of file table2.cxx.
References aCol, GetAllocatedColumnsCount(), and ValidColRow().
Definition at line 877 of file table5.cxx.
References RowFiltered().
bool ScTable::HasFormulaCell | ( | const SCCOL | nCol1, |
SCROW | nRow1, | ||
const SCCOL | nCol2, | ||
SCROW | nRow2 | ||
) | const |
Definition at line 294 of file table7.cxx.
References aCol, HasFormulaCell(), IsColValid(), ScColContainer::size(), and ValidCol().
Referenced by HasFormulaCell(), and ScDocument::HasFormulaCell().
Definition at line 540 of file table5.cxx.
References RowHidden().
bool ScTable::HasManualBreaks | ( | ) | const |
Definition at line 313 of file table5.cxx.
References maColManualBreaks, and maRowManualBreaks.
sc::MultiDataCellState ScTable::HasMultipleDataCells | ( | SCCOL | nCol1, |
SCROW | nRow1, | ||
SCCOL | nCol2, | ||
SCROW | nRow2 | ||
) | const |
Definition at line 35 of file table7.cxx.
References aCol, ScColContainer::empty(), sc::MultiDataCellState::Empty, sc::MultiDataCellState::HasMultipleCells, sc::MultiDataCellState::HasOneCell, sc::MultiDataCellState::meState, sc::MultiDataCellState::mnCol1, sc::MultiDataCellState::mnRow1, ScColContainer::size(), and ValidColRow().
Referenced by ScDocument::HasMultipleDataCells().
Definition at line 2953 of file table3.cxx.
References CELLTYPE_EDIT, CELLTYPE_STRING, eType, and GetCellType().
bool ScTable::HasRowManualBreak | ( | SCROW | nRow | ) | const |
Definition at line 372 of file table5.cxx.
References maRowManualBreaks, and ValidRow().
bool ScTable::HasRowPageBreak | ( | SCROW | nRow | ) | const |
Definition at line 356 of file table5.cxx.
References maRowPageBreaks, and ValidRow().
bool ScTable::HasScenarioRange | ( | const ScRange & | rRange | ) | const |
Definition at line 1596 of file table2.cxx.
References ScRange::aEnd, ScRange::aStart, bScenario, GetScenarioRanges(), ScRange::Intersects(), n, nTab, ScAddress::SetTab(), and ScRangeList::size().
bool ScTable::HasSelectionMatrixFragment | ( | const ScMarkData & | rMark | ) | const |
Definition at line 2623 of file table2.cxx.
References aCol, ClampToAllocatedColumns(), ScMarkData::GetMarkedColSpans(), ScMarkData::GetMarkedRanges(), and HasSelectionMatrixFragment().
Referenced by HasSelectionMatrixFragment(), and IsSelectionEditable().
bool ScTable::HasStringCells | ( | SCCOL | nStartCol, |
SCROW | nStartRow, | ||
SCCOL | nEndCol, | ||
SCROW | nEndRow | ||
) | const |
Definition at line 2087 of file table2.cxx.
References aCol, ClampToAllocatedColumns(), HasStringCells(), and ValidCol().
Referenced by HasStringCells().
Definition at line 2071 of file table2.cxx.
References aCol, GetAllocatedColumnsCount(), and ValidColRow().
Definition at line 257 of file table7.cxx.
References aData, mpRowHeights, and ValidRow().
Referenced by ScDocument::HasUniformRowHeight().
Definition at line 2079 of file table2.cxx.
References aCol, GetAllocatedColumnsCount(), and ValidColRow().
|
private |
Definition at line 1586 of file table4.cxx.
References Date::AddDays(), FILL_DAY, FILL_END_OF_MONTH, FILL_MONTH, FILL_WEEKDAY, FILL_YEAR, Date::GetDay(), Date::GetDayOfWeek(), Date::GetDaysInMonth(), ScDocument::GetFormatTable(), Date::GetMonth(), SvNumberFormatter::GetNullDate(), Date::GetYear(), rDocument, SATURDAY, Date::SetDay(), Date::SetMonth(), Date::SetYear(), and SUNDAY.
Referenced by FillSeries(), and GetAutoFillPreview().
bool ScTable::InitColumnBlockPosition | ( | sc::ColumnBlockPosition & | rBlockPos, |
SCCOL | nCol | ||
) |
Definition at line 712 of file table2.cxx.
References CreateColumnIfNotExists(), ScColumn::InitBlockPosition(), and ValidCol().
Referenced by InvalidateTextWidth().
void ScTable::InitSortCollator | ( | const ScSortParam & | rPar | ) |
Definition at line 628 of file table3.cxx.
References ScSortParam::aCollatorAlgorithm, ScSortParam::aCollatorLocale, ScSortParam::bCaseSens, DestroySortCollator(), ScGlobal::GetCollator(), comphelper::getProcessComponentContext(), IsSortCollatorGlobal(), CollatorWrapper::loadCollatorAlgorithm(), pSortCollator, and SC_COLLATOR_IGNORES.
Referenced by Sort(), and TopTenQuery().
void ScTable::InsertCol | ( | const sc::ColumnSet & | rRegroupCols, |
SCCOL | nStartCol, | ||
SCROW | nStartRow, | ||
SCROW | nEndRow, | ||
SCSIZE | nSize | ||
) |
Definition at line 277 of file table2.cxx.
References aCol, ATTR_MERGE(), ATTRIB, Auto, CreateColumnIfNotExists(), sc::ColumnSet::getColumns(), Hor, i, InvalidatePageBreaks(), maColManualBreaks, ScDocument::MaxCol(), ScDocument::MaxRow(), mpColFlags, mpColWidth, mpCondFormatList, mpFilteredCols, mpHiddenCols, NONE, nTab, pOutlineTable, rDocument, SetStreamValid(), ScColContainer::size(), STD_COL_WIDTH, and Ver.
Definition at line 153 of file table2.cxx.
References aCol, aDefaultColData, GetAllocatedColumnsRange(), ScColumnData::InsertRow(), InvalidatePageBreaks(), ManualSize, maRowManualBreaks, ScDocument::MaxCol(), mpCondFormatList, mpFilteredRows, mpHiddenRows, mpRowHeights, NONE, nTab, pOutlineTable, pRowFlags, rDocument, and SetStreamValid().
Definition at line 2615 of file table1.cxx.
References aCol, ClampToAllocatedColumns(), and InterpretCellsIfNeeded().
Referenced by ScDocument::InterpretCellsIfNeeded(), and InterpretCellsIfNeeded().
Definition at line 2608 of file table1.cxx.
References aCol, ClampToAllocatedColumns(), and InterpretDirtyCells().
Referenced by ScDocument::InterpretDirtyCells(), and InterpretDirtyCells().
|
inline |
Definition at line 614 of file table.hxx.
References mbCellAreaDirty.
void ScTable::InvalidatePageBreaks | ( | ) |
Definition at line 1562 of file table2.cxx.
References mbPageBreaksValid.
Referenced by AddPrintRange(), ClearPrintRanges(), CopyToTable(), DBShowRow(), DeleteCol(), DeleteRow(), InsertCol(), InsertRow(), RemoveColBreak(), RemoveManualBreaks(), RemoveRowBreak(), RestorePrintRanges(), SetColBreak(), SetColManualBreaks(), SetColWidth(), SetPageSize(), SetRepeatArea(), SetRepeatColRange(), SetRepeatRowRange(), SetRowBreak(), SetRowHeight(), SetRowHeightRange(), SetRowManualBreaks(), ShowRow(), and ShowRows().
void ScTable::InvalidateScenarioRanges | ( | ) |
Definition at line 1619 of file table2.cxx.
References pScenarioRanges.
void ScTable::InvalidateTableArea | ( | ) |
Definition at line 1556 of file table2.cxx.
References bTableAreaValid, and bTableAreaVisibleValid.
|
private |
Definition at line 1213 of file table5.cxx.
References aCol, ScColumn::Broadcast(), CELLTYPE_FORMULA, CELLTYPE_VALUE, ScAddress::Col(), ScColumn::GetCellValue(), GetDoc(), ScRefCellValue::getFormula(), ScColumnTextWidthIterator::getPos(), ScRefCellValue::getType(), ScColumnTextWidthIterator::hasCell(), InitColumnBlockPosition(), ScRefCellValue::isEmpty(), ScDocument::MaxRow(), ScColumnTextWidthIterator::next(), rDocument, ScAddress::Row(), ScFormulaCell::SetDirty(), ScColumn::SetScriptType(), ScColumn::SetTextWidth(), ScColumnTextWidthIterator::setValue(), ScColContainer::size(), and TEXTWIDTH_DIRTY.
Referenced by PageStyleModified(), and SetPageStyle().