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) |
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, const svl::SharedString **pShared=nullptr, 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 () |
bool | GetCellArea (SCCOL &rEndCol, SCROW &rEndRow) const |
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) |
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 ScRange * | GetRepeatColRange () const |
const ScRange * | GetRepeatRowRange () const |
void | SetRepeatColRange (std::unique_ptr< ScRange > pNew) |
void | SetRepeatRowRange (std::unique_ptr< ScRange > pNew) |
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 *pnMaxHeight=nullptr) 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) |
void | 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 |
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) |
bool | SearchAll (const SvxSearchItem &rSearchItem, const ScMarkData &rMark, ScRangeList &rMatchedRanges, OUString &rUndoStr, ScDocument *pUndoDoc) |
bool | Replace (const SvxSearchItem &rSearchItem, SCCOL &rCol, SCROW &rRow, const ScMarkData &rMark, OUString &rUndoStr, ScDocument *pUndoDoc) |
bool | ReplaceAll (const SvxSearchItem &rSearchItem, const ScMarkData &rMark, ScRangeList &rMatchedRanges, OUString &rUndoStr, ScDocument *pUndoDoc) |
bool | SearchStyle (const SvxSearchItem &rSearchItem, SCCOL &rCol, SCROW &rRow, const ScMarkData &rMark) |
bool | ReplaceStyle (const SvxSearchItem &rSearchItem, SCCOL &rCol, SCROW &rRow, const ScMarkData &rMark, bool bIsUndo) |
bool | SearchAllStyle (const SvxSearchItem &rSearchItem, const ScMarkData &rMark, ScRangeList &rMatchedRanges) |
bool | ReplaceAllStyle (const SvxSearchItem &rSearchItem, const ScMarkData &rMark, ScRangeList &rMatchedRanges, ScDocument *pUndoDoc) |
bool | SearchAndReplaceEmptyCells (const SvxSearchItem &rSearchItem, SCCOL &rCol, SCROW &rRow, const ScMarkData &rMark, ScRangeList &rMatchedRanges, OUString &rUndoStr, ScDocument *pUndoDoc) |
bool | SearchRangeForEmptyCell (const ScRange &rRange, const SvxSearchItem &rSearchItem, SCCOL &rCol, SCROW &rRow, OUString &rUndoStr) |
bool | SearchRangeForAllEmptyCells (const ScRange &rRange, const SvxSearchItem &rSearchItem, ScRangeList &rMatchedRanges, OUString &rUndoStr, ScDocument *pUndoDoc) |
bool | IsSorted (SCCOLROW nStart, SCCOLROW nEnd) const |
short | CompareCell (sal_uInt16 nSort, ScRefCellValue &rCell1, SCCOL nCell1Col, SCROW nCell1Row, ScRefCellValue &rCell2, SCCOL nCell2Col, SCROW nCell2Row) const |
short | Compare (SCCOLROW nIndex1, SCCOLROW nIndex2) const |
short | Compare (ScSortInfoArray *, SCCOLROW nIndex1, SCCOLROW nIndex2) const |
std::unique_ptr< 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(), false, 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, rDocument, ScDrawLayer::ScAddPage(), ScDrawLayer::ScRenamePage(), ScDrawLayer::SetPageSize(), ScColContainer::size(), STD_COL_WIDTH, and o3tl::twip.
ScTable::~ScTable | ( | ) |
Definition at line 317 of file table1.cxx.
References aCol, DestroySortCollator(), ScDocument::GetDrawLayer(), ScDocument::IsInDtorClear(), mpRangeName, nTab, pDBDataNoName, pOutlineTable, pRepeatColRange, pRepeatRowRange, pScenarioRanges, pSearchText, pSheetEvents, rDocument, ScDrawLayer::ScRemovePage(), and ScColContainer::size().
|
delete |
sal_uLong ScTable::AddCondFormat | ( | std::unique_ptr< ScConditionalFormat > | pNew | ) |
Definition at line 2440 of file table1.cxx.
References mpCondFormatList.
void ScTable::AddCondFormatData | ( | const ScRangeList & | rRange, |
sal_uInt32 | nIndex | ||
) |
Definition at line 2935 of file table2.cxx.
References ScColumn::AddCondFormat(), ScRange::aEnd, ScRange::aStart, ScAddress::Col(), CreateColumnIfNotExists(), i, n, ScAddress::Row(), and ScRangeList::size().
Adds a new print ranges.
Definition at line 2300 of file table1.cxx.
References aPrintRanges, bPrintEntireSheet, InvalidatePageBreaks(), and SetStreamValid().
void ScTable::ApplyAttr | ( | SCCOL | nCol, |
SCROW | nRow, | ||
const SfxPoolItem & | rAttr | ||
) |
Definition at line 3181 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 2851 of file table2.cxx.
References aCol, ClampToAllocatedColumns(), i, PutInOrder(), and ValidColRow().
bool ScTable::ApplyFlags | ( | SCCOL | nStartCol, |
SCROW | nStartRow, | ||
SCCOL | nEndCol, | ||
SCROW | nEndRow, | ||
ScMF | nFlags | ||
) |
Definition at line 3140 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 2865 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 2871 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 2925 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 3187 of file table2.cxx.
References aCol, aDefaultColData, ScRange::aEnd, ScColumnData::ApplySelectionCache(), ScAddress::Col(), CreateColumnIfNotExists(), ScMarkData::GetArea(), GetDoc(), ScMarkData::GetStartOfEqualColumns(), ScMarkData::GetTableSelect(), i, ScDocument::MaxCol(), and ScColContainer::size().
Referenced by DeleteSelection().
void ScTable::ApplySelectionLineStyle | ( | const ScMarkData & | rMark, |
const ::editeng::SvxBorderLine * | pLine, | ||
bool | bColorOnly | ||
) |
Definition at line 3030 of file table2.cxx.
References aCol, i, and ScColContainer::size().
void ScTable::ApplySelectionStyle | ( | const ScStyleSheet & | rStyle, |
const ScMarkData & | rMark | ||
) |
Definition at line 3024 of file table2.cxx.
References aCol, i, and ScColContainer::size().
Referenced by ReplaceAllStyle().
void ScTable::ApplyStyle | ( | SCCOL | nCol, |
SCROW | nRow, | ||
const ScStyleSheet * | rStyle | ||
) |
Definition at line 2986 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 2993 of file table2.cxx.
References aCol, aDefaultColData, ScColumnData::ApplyStyleArea(), CreateColumnIfNotExists(), i, ScDocument::MaxCol(), PutInOrder(), ScColContainer::size(), and ValidColRow().
Referenced by ScDocumentImport::setCellStyleToSheet().
Definition at line 2526 of file table1.cxx.
References aCol, IsColValid(), and ValidRow().
|
private |
Definition at line 1271 of file table2.cxx.
References aCol, and ClampToAllocatedColumns().
Referenced by SortReorderByRow().
void ScTable::AutoFormat | ( | SCCOL | nStartCol, |
SCROW | nStartRow, | ||
SCCOL | nEndCol, | ||
SCROW | nEndRow, | ||
sal_uInt16 | nFormatNo | ||
) |
Definition at line 2596 of file table4.cxx.
References AutoFormatArea(), ScAutoFormatData::FillToItemSet(), ScAutoFormat::findByIndex(), GetItemSet(), ScGlobal::GetOrCreateAutoFormat(), ScDocument::GetPool(), i, ScAutoFormatData::IsEqualData(), nIndex, pData, rDocument, and ValidColRow().
|
private |
Definition at line 2585 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 2154 of file table2.cxx.
References aCol, and ClampToAllocatedColumns().
Referenced by ScDocument::BroadcastCells().
void ScTable::BroadcastRecalcOnRefMove | ( | ) |
Broadcast dirty formula cells that contain functions such as CELL(), COLUMN() or ROW() which may change its value on move.
Definition at line 2147 of file table2.cxx.
References aCol, i, and ScColContainer::size().
void ScTable::CalcAfterLoad | ( | sc::CompileFormulaContext & | rCxt, |
bool | bStartListening | ||
) |
Definition at line 2212 of file table2.cxx.
References aCol, i, and ScColContainer::size().
void ScTable::CalcAll | ( | ) |
Definition at line 2169 of file table2.cxx.
References aCol, i, mpCondFormatList, and ScColContainer::size().
void ScTable::CalculateInColumnInThread | ( | ScInterpreterContext & | rContext, |
SCCOL | nColStart, | ||
SCCOL | nColEnd, | ||
SCROW | nRowStart, | ||
SCROW | nRowEnd, | ||
unsigned | nThisThread, | ||
unsigned | nThreadsTotal | ||
) |
Definition at line 2619 of file table1.cxx.
References aCol, and ValidCol().
Referenced by ScDocument::CalculateInColumnInThread().
void ScTable::ChangeSelectionIndent | ( | bool | bIncrement, |
const ScMarkData & | rMark | ||
) |
Definition at line 3211 of file table2.cxx.
References aCol, aDefaultColData, ScRange::aEnd, ScColumnData::ChangeSelectionIndent(), ScAddress::Col(), CreateColumnIfNotExists(), ScMarkData::GetArea(), GetDoc(), ScMarkData::GetStartOfEqualColumns(), ScMarkData::GetTableSelect(), i, ScDocument::MaxCol(), and ScColContainer::size().
void ScTable::CheckIntegrity | ( | ) | const |
Definition at line 646 of file table7.cxx.
References aCol.
Referenced by ScDocument::CheckIntegrity().
void ScTable::CheckVectorizationState | ( | ) |
Definition at line 2099 of file table2.cxx.
References aCol, i, and ScColContainer::size().
Definition at line 1126 of file table.hxx.
References ScColContainer::size().
Referenced by ApplyBlockFrame(), 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 2290 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 3234 of file table2.cxx.
References aCol, aDefaultColData, ScRange::aEnd, ScColumnData::ClearSelectionItems(), ScAddress::Col(), CreateColumnIfNotExists(), ScMarkData::GetArea(), GetDoc(), ScMarkData::GetStartOfEqualColumns(), ScMarkData::GetTableSelect(), i, ScDocument::MaxCol(), and ScColContainer::size().
bool ScTable::ColFiltered | ( | SCCOL | nCol, |
SCCOL * | pFirstCol = nullptr , |
||
SCCOL * | pLastCol = nullptr |
||
) | const |
Definition at line 859 of file table5.cxx.
References aData, ScFlatBoolColSegments::RangeData::mbValue, ScFlatBoolColSegments::RangeData::mnCol1, ScFlatBoolColSegments::RangeData::mnCol2, 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, ScFlatBoolColSegments::RangeData::mbValue, ScFlatBoolColSegments::RangeData::mnCol1, ScFlatBoolColSegments::RangeData::mnCol2, 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().
|
inline |
Definition at line 1140 of file table.hxx.
References 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(), svl::SharedString::getString(), GetString(), ScGlobal::GetUserList(), ScRefCellValue::getValue(), ScUserListData::ICompare(), ScRefCellValue::isEmpty(), ScFormulaCell::IsValue(), ScSortParam::maKeyState, ScRefCellValue::meType, ScRefCellValue::mpFormula, ScRefCellValue::mpString, ScSortParam::nUserIndex, pSortCollator, rData, and ScUserList::size().
Referenced by Compare().
void ScTable::CompileAll | ( | sc::CompileFormulaContext & | rCxt | ) |
Definition at line 2177 of file table2.cxx.
References aCol, i, mpCondFormatList, and ScColContainer::size().
|
private |
Definition at line 2935 of file table4.cxx.
References aCol, i, and ScColContainer::size().
|
private |
Definition at line 2929 of file table4.cxx.
References aCol, i, and ScColContainer::size().
bool ScTable::CompileErrorCells | ( | sc::CompileFormulaContext & | rCxt, |
FormulaError | nErrCode | ||
) |
Definition at line 2200 of file table2.cxx.
References aCol, i, and ScColContainer::size().
void ScTable::CompileHybridFormula | ( | sc::StartListeningContext & | rStartListenCxt, |
sc::CompileFormulaContext & | rCompileCxt | ||
) |
Definition at line 239 of file table7.cxx.
References aCol, i, and ScColContainer::size().
Referenced by ScDocument::CompileHybridFormula().
void ScTable::CompileXML | ( | sc::CompileFormulaContext & | rCxt, |
ScProgress & | rProgress | ||
) |
Definition at line 2186 of file table2.cxx.
References aCol, i, mpCondFormatList, mpRangeName, and ScColContainer::size().
Referenced by ScDocument::CompileXML().
bool ScTable::ContainsNotesInRange | ( | const ScRange & | rRange | ) | const |
Definition at line 1991 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 1475 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(), 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 4144 of file table2.cxx.
References ScFormulaCell::aPos, ScCellValue::assign(), CELLTYPE_FORMULA, CreateColumnIfNotExists(), GetPattern(), sc::RefUpdateContext::maRange, sc::RefUpdateContext::meMode, ScCellValue::meType, sc::RefUpdateContext::mnColDelta, sc::RefUpdateContext::mnRowDelta, sc::RefUpdateContext::mnTabDelta, ScCellValue::mpFormula, nTab, ScCellValue::release(), ScAddress::SetCol(), SetPattern(), ScDocument::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(), 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().
Definition at line 2245 of file table1.cxx.
References aPrintRanges, bPrintEntireSheet, nTab, pRepeatColRange, and pRepeatRowRange.
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().
Definition at line 1567 of file table2.cxx.
References aCol, bScenario, CreateColumnIfNotExists(), i, and ScColContainer::size().
Definition at line 1559 of file table2.cxx.
References aCol, bScenario, CreateColumnIfNotExists(), i, and ScColContainer::size().
void ScTable::CopySparklinesToTable | ( | SCCOL | nCol1, |
SCROW | nRow1, | ||
SCCOL | nCol2, | ||
SCROW | nRow2, | ||
ScTable * | pDestTab | ||
) |
Definition at line 1463 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, |
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(), CreateColumnIfNotExists(), i, IsProtected(), ManualSize, mpColWidth, mpCondFormatList, mpRangeName, mpRowHeights, pDBDataNoName, pRowFlags, rDocument, SetAnonymousDBData(), and ValidColRow().
Referenced by CopyToClip().
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::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(), GetRangeName(), GetRowHeight(), i, InvalidatePageBreaks(), ScDocument::IsUndo(), maColManualBreaks, maRowManualBreaks, ScDocument::MaxCol(), ScDocument::MaxRow(), mpColFlags, mpColWidth, mpCondFormatList, mpRowHeights, NOCAPTIONS, NONE, NOTE, nTab, OUTLINE, pDBDataNoName, pOutlineTable, pRowFlags, rDocument, RowFiltered(), RowHidden(), SetAnonymousDBData(), SetColHidden(), SetColManualBreaks(), SetOutlineTable(), ScChartListenerCollection::SetRangeDirty(), SetRangeName(), SetRowFiltered(), SetRowHidden(), SetRowManualBreaks(), SPARKLINES, and ValidColRow().
Referenced by ScDocument::CopyToDocument().
Definition at line 1541 of file table2.cxx.
References aCol, CreateColumnIfNotExists(), FetchColumn(), i, and ScColContainer::size().
Definition at line 983 of file table5.cxx.
References aData, ScFlatBoolRowSegments::RangeData::mbValue, ScFlatBoolRowSegments::RangeData::mnRow2, mpFilteredRows, and nCount.
Definition at line 795 of file table5.cxx.
References aData, ScFlatBoolColSegments::RangeData::mbValue, ScFlatBoolColSegments::RangeData::mnCol2, mpHiddenCols, and nCount.
Referenced by GetAutoFillPreview().
Definition at line 751 of file table5.cxx.
References aData, ScFlatBoolRowSegments::RangeData::mbValue, ScFlatBoolRowSegments::RangeData::mnRow2, mpHiddenRows, and nCount.
Referenced by GetAutoFillPreview().
void ScTable::CreateAllNoteCaptions | ( | ) |
Definition at line 1920 of file table2.cxx.
References aCol, i, and ScColContainer::size().
Definition at line 289 of file table.hxx.
References CreateColumnIfNotExistsImpl(), and ScColContainer::size().
Referenced by AddCondFormatData(), ApplyAttr(), 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(), 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().
Definition at line 2717 of file table1.cxx.
References aCol, ScDocument::GetSheetLimits(), Init(), nTab, rDocument, ScColContainer::resize(), and ScColContainer::size().
Referenced by CreateColumnIfNotExists().
|
private |
Definition at line 2676 of file table3.cxx.
References aCol, ClampToAllocatedColumns(), ScQueryEntry::eConnect, ScQueryParamBase::FillInExcelSyntax(), ScQueryParamBase::GetEntry(), GetInputString(), ScDocument::GetSharedStringPool(), GetUpperCellString(), ScDocument::GetUpperCellString(), ScQueryParamTable::nCol1, ScQueryParamTable::nCol2, ScQueryEntry::nField, ScQueryParamTable::nRow1, ScQueryParamTable::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 2860 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(), SvNumberFormatter::IsNumberFormat(), ScQueryEntry::Item::maString, ScQueryEntry::Item::meType, ScQueryEntry::Item::mfVal, nCount, 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(), ScColumn::GetCellValue(), 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 1851 of file table2.cxx.
References CreateColumnIfNotExists(), ScColumn::CreateSparklineCell(), and ValidCol().
Referenced by FillSparkline().
|
private |
Definition at line 2754 of file table3.cxx.
References aStr, ScQueryEntry::bDoQuery, ScQueryEntry::eConnect, ScQueryEntry::eOp, ScQueryParamBase::GetEntry(), ScQueryEntry::GetQueryItem(), ScDocument::GetSharedStringPool(), GetString(), GetUpperCellString(), ScDocument::GetUpperCellString(), svl::SharedStringPool::intern(), ScQueryEntry::Item::maString, ScQueryParamTable::nCol1, ScQueryParamTable::nCol2, ScQueryEntry::nField, ScQueryParamTable::nRow1, ScQueryParamTable::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().
Definition at line 3733 of file table2.cxx.
References ScDocument::GetChartListenerCollection(), InvalidatePageBreaks(), ScDocument::MaxCol(), nTab, pOutlineTable, pRowFlags, ScChartListenerCollection::SetRangeDirty(), SetRowFiltered(), SetRowHidden(), UpdateOutlineRow(), and ValidRow().
Referenced by DoSubTotals().
Definition at line 3759 of file table2.cxx.
References ScDocument::GetChartListenerCollection(), ScDocument::MaxCol(), nTab, pOutlineTable, RowHiddenLeaf(), ScChartListenerCollection::SetRangeDirty(), SetRowFiltered(), SetRowHidden(), and UpdateOutlineRow().
Referenced by Query().
|
staticprivate |
Definition at line 1778 of file table3.cxx.
References ScSortInfoArray::Swap(), and comphelper::rng::uniform_int_distribution().
Referenced by Sort(), and TopTenQuery().
void ScTable::DeleteArea | ( | SCCOL | nCol1, |
SCROW | nRow1, | ||
SCCOL | nCol2, | ||
SCROW | nRow2, | ||
InsertDeleteFlags | nDelFlag, | ||
bool | bBroadcast = true , |
||
sc::ColumnSpanSet * | pBroadcastSpans = nullptr |
||
) |
Definition at line 421 of file table2.cxx.
References aCol, ApplyPatternArea(), ATTRIB, ScDocument::GetBASM(), ScPatternAttr::GetItemSet(), ScDocument::GetPool(), i, IsProtected(), ScDocument::MaxRow(), mpCondFormatList, SfxItemSet::Put(), rDocument, SetStreamValid(), ScColContainer::size(), and ValidColRow().
Referenced by 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(), 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 2574 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(), 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.
Definition at line 2663 of file table1.cxx.
References mpCondFormatList.
void ScTable::DeleteEmptyBroadcasters | ( | ) |
Definition at line 2583 of file table1.cxx.
References aCol.
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(), ScDocument::GetBASM(), sc::ColumnSet::getColumns(), InvalidatePageBreaks(), maRowManualBreaks, ScDocument::MaxCol(), mpFilteredRows, mpHiddenRows, mpRowHeights, nTab, pOutlineTable, pRowFlags, rDocument, and SetStreamValid().
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(), ScMarkData::FillRangeListWithMarks(), ScDocument::GetBASM(), ScDocument::GetPool(), i, IsProtected(), mpCondFormatList, nTab, SfxItemSet::Put(), rDocument, ScAddress::Row(), SetStreamValid(), ScColContainer::size(), ScRangeList::size(), and ScAddress::Tab().
Definition at line 1864 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, and ClampToAllocatedColumns().
Referenced by SortReorderByRow().
Definition at line 4072 of file table2.cxx.
References aCol, ScRange::aEnd, ScRange::aStart, CELLTYPE_FORMULA, ClampToAllocatedColumns(), ScAddress::Col(), DiffSign(), sc::FindFormula(), ScFormulaCell::HasRefListExpressibleAsOneReference(), ScOutlineArray::Insert(), IsEmptyData(), ScDocument::MaxRow(), ScRefCellValue::meType, ScRefCellValue::mpFormula, pOutlineTable, ScAddress::Row(), StartOutlineTable(), and ScAddress::Tab().
Referenced by DoSubTotals().
bool ScTable::DoSubTotals | ( | ScSubTotalParam & | rParam | ) |
Definition at line 2064 of file table3.cxx.
References aArr, formula::FormulaTokenArray::AddDouble(), ScTokenArray::AddDoubleReference(), ScTokenArray::AddOpCode(), ApplyStyle(), ScSubTotalParam::bCaseSens, ScSubTotalParam::bDoSort, ScSubTotalParam::bGroupActive, ScSubTotalParam::bIncludePattern, ScSubTotalParam::bPagebreak, DBShowRow(), DIR_BOTTOM, DoAutoOutline(), SfxStyleSheetBasePool::Find(), ScGlobal::getCharClass(), GetEmptyLinesInBlock(), GetString(), ScDocument::GetStyleSheetPool(), ScComplexRefData::InitFlags(), ScDocument::InsertRow(), label(), 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(), ScCompressedArray< A, D >::GetValue(), ScDocument::MaxCol(), mpColWidth, mpRowHeights, ScGlobal::nStdRowHeight, and STD_COL_WIDTH.
Referenced by dumpSheetGeomData().
|
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 3972 of file table2.cxx.
References aData, ColHidden(), ScDocument::MaxCol(), ScDocument::MaxRow(), ScFlatBoolRowSegments::RangeData::mbValue, ScFlatBoolRowSegments::RangeData::mnRow1, mpHiddenRows, RowHidden(), and ValidRow().
bool ScTable::ExtendMerge | ( | SCCOL | nStartCol, |
SCROW | nStartRow, | ||
SCCOL & | rEndCol, | ||
SCROW & | rEndRow, | ||
bool | bRefresh | ||
) |
Definition at line 2317 of file table2.cxx.
References aCol, aDefaultColData, ATTR_MERGE(), ClampToAllocatedColumns(), ScColumnData::GetAttr(), i, ScColContainer::size(), and ValidCol().
Referenced by ScAccessibleTableBase::getAccessibleColumnExtentAt(), and ScAccessibleTableBase::getAccessibleRowExtentAt().
void ScTable::ExtendPrintArea | ( | OutputDevice * | pDev, |
SCCOL | nStartCol, | ||
SCROW | nStartRow, | ||
SCCOL & | rEndCol, | ||
SCROW | nEndRow | ||
) |
Definition at line 2056 of file table1.cxx.
References aCol, ColHidden(), GetCellCount(), ScTable::VisibleDataCellIterator::getRow(), ScRefCellValue::isEmpty(), OutputDevice::LogicToPixel(), ScDocument::MaxCol(), MaybeAddExtraColumn(), ScFlatBoolColSegments::RangeData::mbValue, ScFlatBoolColSegments::RangeData::mnCol1, mpColFlags, mpHiddenRows, ScTable::VisibleDataCellIterator::next(), nPPTX, nPPTY, Point, rDocument, ScTable::VisibleDataCellIterator::reset(), ScFlatBoolColSegments::setFalse(), 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 2514 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 2574 of file table4.cxx.
References FILL_AUTO, FillAuto(), and FillSeries().
|
private |
Definition at line 219 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(), ScDocument::GetFormatTable(), ScPatternAttr::GetItem(), ScPatternAttr::GetItemSet(), SfxItemSet::GetItemState(), Date::GetMonth(), SvNumberFormatter::GetNullDate(), GetNumberFormat(), GetPattern(), ScRefCellValue::getString(), GetString(), ScUserListData::GetSubCount(), ScUserListData::GetSubIndex(), SvNumberFormatter::GetType(), ScGlobal::GetUserList(), GetValue(), Date::GetYear(), i, Date::IsEndOfMonth(), KEY_MOD1, meType, ScRefCellValue::meType, ScRefCellValue::mfValue, nCount, nScFillModeMouseModifier, rDocument, and void().
Referenced by FillAuto(), and GetAutoFillPreview().
|
private |
Definition at line 790 of file table4.cxx.
References aCol, aStr, ATTR_CONDITIONAL(), ATTR_MERGE_FLAG(), AUTOFILL, SfxItemSet::ClearItem(), ColHidden(), DeleteArea(), FetchColumn(), FILL_SIMPLE, FILL_TO_BOTTOM, FILL_TO_RIGHT, FILL_TO_TOP, FillAnalyse(), FillAutoSimple(), FillSeries(), FillSparkline(), ScCondFormatItem::GetCondFormatData(), ScDocument::GetDefPattern(), ScPatternAttr::GetItem(), ScPatternAttr::GetItemSet(), SfxItemSet::GetItemState(), GetPattern(), ScConditionalFormat::GetRange(), ScProgress::GetState(), GetString(), ScPatternAttr::GetStyleSheet(), ScUserListData::GetSubCount(), ScUserListData::GetSubIndex(), ScUserListData::GetSubStr(), Hor, i, IsDataFiltered(), ScRangeList::Join(), MAXDOUBLE, mpCondFormatList, NONE, nTab, SfxItemSet::Put(), PutInOrder(), rDocument, RowHidden(), ScConditionalFormat::SetRange(), ScProgress::SetStateOnPercent(), ValidColRow(), Ver, and void().
Referenced by Fill().
|
private |
Definition at line 1835 of file table4.cxx.
References aCol, aStr, CELLTYPE_EDIT, CELLTYPE_FORMULA, CELLTYPE_STRING, CELLTYPE_VALUE, ColHidden(), ScCellValue::commit(), FillFormula(), FillFormulaVertical(), GetCellValue(), ScDocument::GetFormatTable(), ScDocument::GetNonThreadedContext(), GetNumberFormat(), ScGlobal::GetOrdinalSuffix(), svl::SharedString::getString(), ScEditUtil::GetString(), SvNumberFormatter::GetType(), ScCellValue::isEmpty(), KEY_MOD1, ScDocument::MaxCol(), ScDocument::MaxRow(), ScCellValue::meType, ScCellValue::mfValue, ScCellValue::mpEditText, ScCellValue::mpFormula, ScCellValue::mpString, nScFillModeMouseModifier, rDocument, RowHidden(), and ScProgress::SetStateOnPercent().
Referenced by FillAuto().
|
private |
Definition at line 748 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 1690 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 2589 of file table1.cxx.
References aCol, and ClampToAllocatedColumns().
Referenced by ScDocument::FillMatrix().
|
private |
Definition at line 2375 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 2325 of file table1.cxx.
References aPrintRanges, bPrintEntireSheet, pRepeatColRange, pRepeatRowRange, ScPrintSaverTab::SetAreas(), and ScPrintSaverTab::SetRepeat().
|
private |
Definition at line 2129 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(), ScPatternAttr::GetItem(), ScGlobal::GetOrdinalSuffix(), ScProgress::GetState(), svl::SharedString::getString(), ScEditUtil::GetString(), ScFormulaCell::GetValue(), i, IncDate(), IsDataFiltered(), ScCellValue::isEmpty(), LONG_MAX, ScCellValue::meType, ScCellValue::mfValue, ScCellValue::mpEditText, ScCellValue::mpFormula, ScCellValue::mpString, nIndex, nTab, PutInOrder(), rDocument, RowHidden(), SubTotal::SafeMult(), SubTotal::SafePlus(), SetPatternAreaCondFormat(), and ScProgress::SetStateOnPercent().
Referenced by Fill(), and FillAuto().
|
private |
Definition at line 1755 of file table4.cxx.
References aCol, CELLTYPE_FORMULA, ScCellValue::commit(), FillFormula(), FillFormulaVertical(), ScCellValue::meType, ScCellValue::mpFormula, 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 1217 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.
Referenced by ScDocument::finalizeOutlineImport().
void ScTable::FindAreaPos | ( | SCCOL & | rCol, |
SCROW & | rRow, | ||
ScMoveDirection | eDirection | ||
) | const |
Definition at line 1364 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 2444 of file table2.cxx.
References ATTR_CONDITIONAL(), ColHidden(), ScFormatEntry::Condition, o3tl::sorted_vector< Value, Compare, Find, class >::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, pRowFlags, and ScConditionalFormat::size().
Definition at line 1277 of file table1.cxx.
References ScDocument::ColHidden(), ScDocument::MaxCol(), nTab, and rDocument.
Referenced by FindAreaPos().
Definition at line 1301 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 2049 of file table1.cxx.
References aCol, and IsColValid().
Definition at line 937 of file table5.cxx.
References aData, ScFlatBoolRowSegments::RangeData::mbValue, ScFlatBoolRowSegments::RangeData::mnRow2, mpFilteredRows, and ValidRow().
Definition at line 705 of file table5.cxx.
References aData, ScFlatBoolRowSegments::RangeData::mbValue, ScFlatBoolRowSegments::RangeData::mnRow2, mpHiddenRows, and ValidRow().
void ScTable::ForgetNoteCaptions | ( | SCCOL | nCol1, |
SCROW | nRow1, | ||
SCCOL | nCol2, | ||
SCROW | nRow2, | ||
bool | bPreserveData | ||
) |
Definition at line 1926 of file table2.cxx.
References aCol, i, ScColContainer::size(), and ValidCol().
Referenced by ScDocument::ForgetNoteCaptions().
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 1952 of file table2.cxx.
References aCol, ScRange::aEnd, ALLHIDDEN, ALLSHOWN, ScRange::aStart, ScColContainer::begin(), ClampToAllocatedColumns(), ScAddress::Col(), ScDocument::FetchTable(), ScDocument::HasColNotes(), MIXED, and ScAddress::Row().
void ScTable::GetAllNoteEntries | ( | std::vector< sc::NoteEntry > & | rNotes | ) | const |
Definition at line 1935 of file table2.cxx.
References aCol, and ScColContainer::size().
Referenced by ScDocument::GetAllNoteEntries().
|
inline |
Definition at line 1127 of file table.hxx.
References 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 2696 of file table1.cxx.
References aCol, GetColumnsRange(), and ScColContainer::size().
Referenced by EndListeningIntersectedGroups(), InsertRow(), IsEmptyData(), TestInsertCol(), and UpdateReference().
Definition at line 332 of file table5.cxx.
References copy(), maRowManualBreaks, and maRowPageBreaks.
const ScStyleSheet * ScTable::GetAreaStyle | ( | bool & | rFound, |
SCCOL | nCol1, | ||
SCROW | nRow1, | ||
SCCOL | nCol2, | ||
SCROW | nRow2 | ||
) | const |
Definition at line 3073 of file table2.cxx.
References aCol, ClampToAllocatedColumns(), and i.
const SfxPoolItem * ScTable::GetAttr | ( | SCCOL | nCol, |
SCROW | nRow, | ||
sal_uInt16 | nWhich | ||
) | const |
Definition at line 2231 of file table2.cxx.
References ColumnData(), ScColumnData::GetAttr(), and ValidColRow().
Referenced by FillAnalyse(), GetAttr(), and GetAutoFormatFrame().
|
inline |
const SfxPoolItem * ScTable::GetAttr | ( | SCCOL | nCol, |
SCROW | nRow, | ||
sal_uInt16 | nWhich, | ||
SCROW & | nStartRow, | ||
SCROW & | nEndRow | ||
) | const |
Definition at line 2238 of file table2.cxx.
References ColumnData(), ScColumnData::GetAttr(), and ValidColRow().
|
inline |
Definition at line 1268 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(), ScDocument::GetFormatTable(), GetNumberFormat(), ScGlobal::GetOrdinalSuffix(), SvNumberFormatter::GetOutputString(), ScRefCellValue::getString(), ScUserListData::GetSubCount(), ScUserListData::GetSubStr(), SvNumberFormatter::GetType(), ScFormulaCell::GetValue(), i, IncDate(), ScRefCellValue::isEmpty(), KEY_MOD1, ScRefCellValue::meType, ScRefCellValue::mfValue, ScRefCellValue::mpFormula, nIndex, nPos, nScFillModeMouseModifier, rDocument, ScAddress::Row(), SubTotal::SafeMult(), and SubTotal::SafePlus().
|
private |
Definition at line 2732 of file table4.cxx.
References ScDocument::GetFormatTable(), ScAutoFormatData::GetFromItemSet(), GetItemSet(), GetNumberFormat(), GetPattern(), and rDocument.
Referenced by GetAutoFormatData().
void ScTable::GetAutoFormatData | ( | SCCOL | nStartCol, |
SCROW | nStartRow, | ||
SCCOL | nEndCol, | ||
SCROW | nEndRow, | ||
ScAutoFormatData & | rData | ||
) |
Definition at line 2805 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 2745 of file table4.cxx.
References ATTR_BORDER(), GetAttr(), SvxBoxItem::GetBottom(), SvxBoxItem::GetLeft(), SvxBoxItem::GetRight(), SvxBoxItem::GetTop(), LF_BOTTOM, LF_LEFT, LF_RIGHT, LF_TOP, ScAutoFormatData::PutItem(), ScHasPriority(), and SvxBoxItem::SetLine().
Referenced by GetAutoFormatData().
SvtBroadcaster * ScTable::GetBroadcaster | ( | SCCOL | nCol, |
SCROW | nRow | ||
) |
Definition at line 2566 of file table1.cxx.
References aCol, and IsColRowValid().
Referenced by ScDocument::GetBroadcaster().
const SvtBroadcaster * ScTable::GetBroadcaster | ( | SCCOL | nCol, |
SCROW | nRow | ||
) | const |
Definition at line 2655 of file table1.cxx.
References aCol, and IsColRowValid().
|
inline |
Definition at line 341 of file table.hxx.
References bCalcNotification.
Definition at line 513 of file table1.cxx.
References aCol, IsEmptyData(), and ScColContainer::size().
Referenced by ReplaceAll(), Search(), and SearchAll().
sal_uInt64 ScTable::GetCellCount | ( | ) | const |
Definition at line 3015 of file table3.cxx.
References aCol, and ScColContainer::size().
Referenced by ExtendPrintArea(), and GetCodeCount().
Definition at line 463 of file table.hxx.
References CELLTYPE_NONE, ScAddress::Col(), GetDoc(), ScAddress::Row(), ScColContainer::size(), and ValidColRow().
Referenced by HasColHeader(), and HasRowHeader().
Definition at line 2006 of file table2.cxx.
References aCol, CELLTYPE_NONE, GetAllocatedColumnsCount(), and ValidColRow().
ScRefCellValue ScTable::GetCellValue | ( | SCCOL | nCol, |
sc::ColumnBlockPosition & | rBlockPos, | ||
SCROW | nRow | ||
) |
Definition at line 2021 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 2013 of file table2.cxx.
References aCol, GetAllocatedColumnsCount(), and ValidColRow().
sal_uInt64 ScTable::GetCodeCount | ( | ) | const |
Definition at line 3045 of file table3.cxx.
References aCol, GetCellCount(), and ScColContainer::size().
|
inline |
Definition at line 3877 of file table2.cxx.
References mpColFlags, NONE, and ValidCol().
tools::Long ScTable::GetColOffset | ( | SCCOL | nCol, |
bool | bHiddenAsZero = true |
||
) | const |
Definition at line 4358 of file table2.cxx.
References ColHidden(), i, mpColWidth, and n.
Referenced by SetDrawPageSize().
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 2706 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 3435 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 3450 of file table2.cxx.
References ColHidden(), mpColWidth, and ValidCol().
sal_uInt16 ScTable::GetCommonWidth | ( | SCCOL | nEndCol | ) | const |
Definition at line 3482 of file table2.cxx.
References ColHidden(), ScDocument::MaxCol(), mpColWidth, and ValidCol().
ScConditionalFormatList * ScTable::GetCondFormList | ( | ) |
Definition at line 2673 of file table1.cxx.
References mpCondFormatList.
const ScConditionalFormatList * ScTable::GetCondFormList | ( | ) | const |
Definition at line 2681 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 872 of file table1.cxx.
References aCol, GetLastDataRow(), IsEmptyData(), ScDocument::MaxRow(), rDocument, and ScColContainer::size().
Referenced by StoreToCache().
bool ScTable::GetDataAreaSubrange | ( | ScRange & | rRange | ) | const |
Definition at line 995 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 3008 of file table3.cxx.
References aCol, GetAllocatedColumnsCount(), and ValidCol().
Definition at line 796 of file table1.cxx.
References aCol, IsEmptyData(), ScDocument::MaxRow(), rDocument, and ScColContainer::size().
|
inline |
Definition at line 283 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 1797 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 1187 of file table1.cxx.
References aCol, DIR_BOTTOM, DIR_RIGHT, DIR_TOP, and ScColContainer::size().
Referenced by DoSubTotals().
|
inline |
Definition at line 645 of file table.hxx.
References ScAddress::Col(), IsColRowValid(), and ScAddress::Row().
void ScTable::GetFilteredFilterEntries | ( | SCCOL | nCol, |
SCROW | nRow1, | ||
SCROW | nRow2, | ||
const ScQueryParam & | rParam, | ||
ScFilterEntries & | rFilterEntries, | ||
bool | bFiltering | ||
) |
Definition at line 2984 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 2974 of file table3.cxx.
References aCol, and ScColContainer::size().
Definition at line 2029 of file table2.cxx.
References aCol, IsEmptyData(), ScDocument::MaxRow(), and ScColContainer::size().
Referenced by SearchAndReplaceEmptyCells().
Definition at line 1674 of file table2.cxx.
References aCol, ClampToAllocatedColumns(), i, ScDocument::MaxRow(), ValidCol(), and ValidRow().
Referenced by ScDocument::GetFirstEditTextRow().
Definition at line 1813 of file table2.cxx.
References aCol, GetAllocatedColumnsCount(), and ValidColRow().
const ScFormulaCell * ScTable::GetFormulaCell | ( | SCCOL | nCol, |
SCROW | nRow | ||
) | const |
Definition at line 1821 of file table2.cxx.
References aCol, GetAllocatedColumnsCount(), and ValidColRow().
Referenced by ScDocument::SetString(), and ScDocument::SetValue().
ScFormulaCell * ScTable::GetFormulaCell | ( | SCCOL | nCol, |
SCROW | nRow | ||
) |
Definition at line 1829 of file table2.cxx.
References aCol, GetAllocatedColumnsCount(), and ValidColRow().
sal_Int64 ScTable::GetHashCode | ( | ) | const |
Definition at line 346 of file table1.cxx.
Definition at line 3676 of file table2.cxx.
References RowHidden(), and ValidRow().
OUString ScTable::GetInputString | ( | SCCOL | nCol, |
SCROW | nRow, | ||
const svl::SharedString ** | pShared = nullptr , |
||
bool | bForceSystemLocale = false |
||
) | const |
Definition at line 1782 of file table2.cxx.
References aCol, GetAllocatedColumnsCount(), and ValidColRow().
Referenced by CreateExcelQuery(), and GetUpperCellString().
SCCOL ScTable::GetLastChangedColFlagsWidth | ( | ) | const |
Definition at line 3923 of file table2.cxx.
References All, GetDoc(), ScDocument::MaxCol(), mpColFlags, mpColWidth, and STD_COL_WIDTH.
SCROW ScTable::GetLastChangedRowFlagsWidth | ( | ) | const |
Definition at line 3937 of file table2.cxx.
References GetLastFlaggedRow(), mpRowHeights, ScGlobal::nStdRowHeight, pRowFlags, and ValidRow().
Definition at line 2044 of file table2.cxx.
References aCol, IsEmptyData(), ScDocument::MaxRow(), and ScColContainer::size().
Referenced by LimitChartArea(), ReplaceAll(), Search(), SearchAll(), and SearchAndReplaceEmptyCells().
SCROW ScTable::GetLastDataRow | ( | SCCOL | nCol1, |
SCCOL | nCol2, | ||
SCROW | nLastRow, | ||
ScDataAreaExtras * | pDataAreaExtras = nullptr |
||
) | const |
Definition at line 1160 of file table1.cxx.
References aCol, IsColValid(), ScColContainer::size(), and ValidCol().
Referenced by GetDataArea(), ScDocument::GetLastDataRow(), and ShrinkToUsedDataArea().
SCROW ScTable::GetLastFlaggedRow | ( | ) | const |
Definition at line 3893 of file table2.cxx.
References All, maRowManualBreaks, mpFilteredRows, mpHiddenRows, pRowFlags, and ValidRow().
Referenced by GetLastChangedRowFlagsWidth().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 368 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 3065 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 3056 of file table3.cxx.
References aCol, and IsColValid().
const ScPatternAttr * ScTable::GetMostUsedPattern | ( | SCCOL | nCol, |
SCROW | nStartRow, | ||
SCROW | nEndRow | ||
) | const |
Definition at line 2280 of file table2.cxx.
References ColumnData(), ScColumnData::GetMostUsedPattern(), ValidColRow(), and ValidRow().
|
inline |
Definition at line 375 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 439 of file table1.cxx.
References aCol, ScNeededSizeOptions::bSkipMerged, ScNeededSizeOptions::bTotalSize, 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 1744 of file table1.cxx.
References aCol, sc::element_type_empty, ScMarkData::GetMarkArray(), 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 1499 of file table1.cxx.
References aCol, aDefaultColData, ScRange::aEnd, ScRange::aStart, ScAddress::Col(), ColHidden(), ScMarkData::GetMarkArea(), ScMarkData::GetMultiMarkArea(), ScMarkData::GetNextMarked(), ScColumnData::GetNextUnprotected(), ScDocument::GetPrintArea(), 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 2889 of file table4.cxx.
References aCol, GetAllocatedColumnsCount(), ScDocument::MaxCol(), ScDocument::MaxRow(), rDocument, and ValidCol().
Definition at line 1889 of file table2.cxx.
References aCol, GetAllocatedColumnsCount(), and ValidCol().
size_t ScTable::GetNoteCount | ( | SCCOL | nCol | ) | const |
Definition at line 1904 of file table2.cxx.
References aCol, GetAllocatedColumnsCount(), and ValidCol().
Referenced by ScDocument::GetNoteCount().
Definition at line 1912 of file table2.cxx.
References aCol, GetAllocatedColumnsCount(), and ValidCol().
Referenced by ScDocument::GetNotePosition().
void ScTable::GetNotesInRange | ( | const ScRange & | rRange, |
std::vector< sc::NoteEntry > & | rNotes | ||
) | const |
Definition at line 1941 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 2245 of file table2.cxx.
References ScAddress::Col(), ColumnData(), ScAddress::Row(), and ValidColRow().
Referenced by FillAnalyse(), FillAutoSimple(), GetAutoFillPreview(), GetAutoFormatAttr(), ScQueryEvaluator::getCellString(), GetNumberFormat(), and ScQueryEvaluator::getNumFmt().
Definition at line 2252 of file table2.cxx.
References ScDocument::GetNonThreadedContext(), and GetNumberFormat().
Definition at line 2257 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 426 of file table1.cxx.
References aCol, ScColContainer::size(), STD_COL_WIDTH, and STD_EXTRA_WIDTH.
sal_uInt16 ScTable::GetOriginalHeight | ( | SCROW | nRow | ) | const |
Definition at line 3664 of file table2.cxx.
References mpRowHeights, ScGlobal::nStdRowHeight, and ValidRow().
Referenced by CopyOneCellFromClip().
sal_uInt16 ScTable::GetOriginalWidth | ( | SCCOL | nCol | ) | const |
Definition at line 3472 of file table2.cxx.
References mpColWidth, STD_COL_WIDTH, and ValidCol().
|
inline |
Size ScTable::GetPageSize | ( | ) | const |
Definition at line 1108 of file table5.cxx.
References aPageSizeTwips, and bPageSizeValid.
|
inline |
Definition at line 386 of file table.hxx.
References aPageStyle.
const ScPatternAttr * ScTable::GetPattern | ( | SCCOL | nCol, |
SCROW | nRow | ||
) | const |
Definition at line 2273 of file table2.cxx.
References ColumnData(), ScColumnData::GetPattern(), and ValidColRow().
Referenced by CopyData(), FillAnalyse(), FillAuto(), GetAutoFormatAttr(), lcl_RemoveNumberFormat(), and MaybeAddExtraColumn().
Definition at line 2941 of file table4.cxx.
References aCol, and ValidCol().
Definition at line 2949 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 591 of file table1.cxx.
References aCol, ScDocument::ColHidden(), IsEmptyData(), ScDocument::MaxCol(), ScDocument::MaxRow(), nTab, rDocument, and ScColContainer::size().
Referenced by GetTableArea().
Definition at line 698 of file table1.cxx.
References aCol, IsEmptyData(), ScDocument::MaxCol(), rDocument, and ScColContainer::size().
bool ScTable::GetPrintAreaVer | ( | SCCOL | nStartCol, |
SCCOL | nEndCol, | ||
SCROW & | rEndRow, | ||
bool | bNotes | ||
) | const |
Definition at line 743 of file table1.cxx.
References aCol, IsEmptyData(), and ScColContainer::size().
const ScRange * ScTable::GetPrintRange | ( | sal_uInt16 | nPos | ) | const |
Definition at line 2320 of file table1.cxx.
References aPrintRanges, and GetPrintRangeCount().
Referenced by UpdatePageBreaks().
|
inline |
Definition at line 801 of file table.hxx.
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 4261 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 2469 of file table1.cxx.
References aCol, ScColContainer::begin(), IsColValid(), and sc::ColumnBlockPosition::miCellTextAttrPos.
ScRefCellValue ScTable::GetRefCellValue | ( | SCCOL | nCol, |
SCROW | nRow | ||
) |
Definition at line 2550 of file table1.cxx.
References aCol, and IsColRowValid().
ScRefCellValue ScTable::GetRefCellValue | ( | SCCOL | nCol, |
SCROW | nRow, | ||
sc::ColumnBlockPosition & | rBlockPos | ||
) |
Definition at line 2558 of file table1.cxx.
References aCol, and IsColRowValid().
|
inline |
|
inline |
Sequence< TablePageBreakData > ScTable::GetRowBreakData | ( | ) | const |
Definition at line 464 of file table5.cxx.
References aSeq, copy(), HasRowManualBreak(), maRowManualBreaks, and maRowPageBreaks.
Definition at line 3885 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 4291 of file table2.cxx.
References aData, if(), ScDocument::MaxRow(), ScFlatBoolRowSegments::RangeData::mbValue, ScFlatBoolRowSegments::RangeData::mnRow2, ScFlatUInt16RowSegments::RangeData::mnRow2, ScFlatUInt16RowSegments::RangeData::mnValue, mpHiddenRows, and mpRowHeights.
sal_uInt16 ScTable::GetRowHeight | ( | SCROW | nRow, |
SCROW * | pStartRow, | ||
SCROW * | pEndRow, | ||
bool | bHiddenAsZero = true |
||
) | const |
Definition at line 3533 of file table2.cxx.
References aData, ScFlatUInt16RowSegments::RangeData::mnRow1, ScFlatUInt16RowSegments::RangeData::mnRow2, ScFlatUInt16RowSegments::RangeData::mnValue, 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 3575 of file table2.cxx.
References mpRowHeights, ScGlobal::nStdRowHeight, RowHidden(), and ValidRow().
tools::Long ScTable::GetRowOffset | ( | SCROW | nRow, |
bool | bHiddenAsZero = true |
||
) | const |
Definition at line 4268 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 tools::Long * | pnMaxHeight = nullptr |
||
) | const |
Definition at line 3600 of file table2.cxx.
References ScFlatUInt16RowSegments::ForwardIterator::getLastPos(), ScFlatUInt16RowSegments::ForwardIterator::getValue(), mpRowHeights, ScGlobal::nStdRowHeight, RowHidden(), and ValidRow().
|
inline |
Definition at line 353 of file table.hxx.
References aScenarioColor.
|
inline |
|
inline |
Definition at line 357 of file table.hxx.
References nScenarioFlags.
const ScRangeList * ScTable::GetScenarioRanges | ( | ) | const |
Definition at line 1616 of file table2.cxx.
References bScenario, false, ScDocument::GetSheetLimits(), MarkScenarioIn(), NONE, and pScenarioRanges.
Referenced by HasScenarioRange().
SvtScriptType ScTable::GetScriptType | ( | SCCOL | nCol, |
SCROW | nRow | ||
) | const |
Definition at line 2453 of file table1.cxx.
References aCol, and IsColValid().
const ScStyleSheet * ScTable::GetSelectionStyle | ( | const ScMarkData & | rMark, |
bool & | rFound | ||
) | const |
Definition at line 3047 of file table2.cxx.
References aCol, ScMarkData::HasMultiMarks(), i, and ScColContainer::size().
svl::SharedString ScTable::GetSharedString | ( | SCCOL | nCol, |
SCROW | nRow | ||
) | const |
Definition at line 1746 of file table2.cxx.
References aCol, GetAllocatedColumnsCount(), and ValidColRow().
|
inline |
std::shared_ptr< sc::Sparkline > ScTable::GetSparkline | ( | SCCOL | nCol, |
SCROW | nRow | ||
) |
Definition at line 1839 of file table2.cxx.
References aCol, GetAllocatedColumnsCount(), and ValidCol().
Referenced by FillSparkline().
sc::SparklineList & ScTable::GetSparklineList | ( | ) |
Definition at line 1874 of file table2.cxx.
References maSparklineList.
OUString ScTable::GetString | ( | SCCOL | nCol, |
SCROW | nRow, | ||
const ScInterpreterContext * | pContext = nullptr |
||
) | const |
Definition at line 1766 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 3040 of file table2.cxx.
References ColumnData(), ScColumnData::GetStyle(), and ValidColRow().
Referenced by FindMaxRotCol().
|
inline |
Definition at line 285 of file table.hxx.
References nTab.
Referenced by ScQueryEvaluator::compareByBackgroundColor(), ScQueryEvaluator::compareByTextColor(), ScQueryEvaluator::getCellString(), ScQueryEvaluator::getNumFmt(), SetColHidden(), and SetRowHidden().
|
inline |
Definition at line 355 of file table.hxx.
References aTabBgColor.
Definition at line 563 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, ScFlatBoolRowSegments::RangeData::mbValue, ScFlatBoolRowSegments::RangeData::mnRow2, mpHiddenRows, and mpRowHeights.
Referenced by GetRowOffset(), and UpdatePageBreaks().
void ScTable::GetUnprotectedCells | ( | ScRangeList & | rRangeList | ) | const |
Definition at line 1985 of file table2.cxx.
References aCol, and ScDocument::MaxRow().
Definition at line 4217 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 359 of file table1.cxx.
References aName, aUpperName, ScGlobal::getCharClass(), and CharClass::uppercase().
Definition at line 1790 of file table2.cxx.
References aCol, GetAllocatedColumnsCount(), and ValidColRow().
Referenced by FillAnalyse(), and SetPageStyle().
Definition at line 1774 of file table2.cxx.
References CreateColumnIfNotExists(), ScColumn::GetValueCell(), and ValidColRow().
sal_uInt64 ScTable::GetWeightedCount | ( | ) | const |
Definition at line 3025 of file table3.cxx.
References aCol, and ScColContainer::size().
Referenced by GetWeightedCount(), SetOptimalHeight(), and SetOptimalHeightOnly().
Definition at line 3035 of file table3.cxx.
References aCol, GetWeightedCount(), and ScColContainer::size().
ScColumnsRange ScTable::GetWritableColumnsRange | ( | SCCOL | begin, |
SCCOL | end | ||
) |
Definition at line 2686 of file table1.cxx.
References CreateColumnIfNotExists(), GetColumnsRange(), and GetDoc().
bool ScTable::HandleRefArrayForParallelism | ( | SCCOL | nCol, |
SCROW | nRow1, | ||
SCROW | nRow2, | ||
const ScFormulaCellGroupRef & | mxGroup | ||
) |
Definition at line 2534 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 2636 of file table1.cxx.
References aCol, and ValidCol().
Referenced by ScDocument::HandleStuffAfterParallelCalculation().
bool ScTable::HasAttrib | ( | SCCOL | nCol1, |
SCROW | nRow1, | ||
SCCOL | nCol2, | ||
SCROW | nRow2, | ||
HasAttrFlags | nMask | ||
) | const |
Definition at line 2287 of file table2.cxx.
References aCol, aDefaultColData, ScColumnData::HasAttrib(), and ScColContainer::size().
Referenced by IsBlockEditable(), and IsEditActionAllowed().
bool ScTable::HasAttrib | ( | SCCOL | nCol, |
SCROW | nRow, | ||
HasAttrFlags | nMask, | ||
SCROW * | nStartRow = nullptr , |
||
SCROW * | nEndRow = nullptr |
||
) | const |
Definition at line 2297 of file table2.cxx.
References ColumnData(), and ScColumnData::HasAttrib().
bool ScTable::HasAttribSelection | ( | const ScMarkData & | rMark, |
HasAttrFlags | nMask | ||
) | const |
Definition at line 2302 of file table2.cxx.
References aCol, and ScMarkData::GetMarkedColSpans().
Referenced by IsSelectionEditable().
bool ScTable::HasBlockMatrixFragment | ( | const SCCOL | nCol1, |
SCROW | nRow1, | ||
const SCCOL | nCol2, | ||
SCROW | nRow2, | ||
bool | bNoMatrixAtAll = false |
||
) | const |
Definition at line 2519 of file table2.cxx.
References aCol, i, IsColValid(), Left, n, Right, and ScColContainer::size().
Referenced by IsBlockEditable(), and IsEditActionAllowed().
Definition at line 2900 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 2055 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, IsColValid(), ScColContainer::size(), and ValidCol().
Referenced by 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 2937 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().
Referenced by GetRowBreakData().
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 1588 of file table2.cxx.
References ScRange::aEnd, ScRange::aStart, bScenario, GetScenarioRanges(), ScRange::Intersects(), n, ScAddress::SetTab(), and ScRangeList::size().
bool ScTable::HasSelectionMatrixFragment | ( | const ScMarkData & | rMark | ) | const |
Definition at line 2615 of file table2.cxx.
References aCol, ClampToAllocatedColumns(), ScMarkData::GetMarkedColSpans(), and ScMarkData::GetMarkedRanges().
Referenced by IsSelectionEditable().
bool ScTable::HasStringCells | ( | SCCOL | nStartCol, |
SCROW | nStartRow, | ||
SCCOL | nEndCol, | ||
SCROW | nEndRow | ||
) | const |
Definition at line 2079 of file table2.cxx.
References aCol, ClampToAllocatedColumns(), and ValidCol().
Definition at line 2063 of file table2.cxx.
References aCol, GetAllocatedColumnsCount(), and ValidColRow().
Definition at line 257 of file table7.cxx.
References aData, ScFlatUInt16RowSegments::RangeData::mnRow2, mpRowHeights, and ValidRow().
Referenced by ScDocument::HasUniformRowHeight().
Definition at line 2071 of file table2.cxx.
References aCol, GetAllocatedColumnsCount(), and ValidColRow().
|
private |
Definition at line 1561 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 2604 of file table1.cxx.
References aCol, and ClampToAllocatedColumns().
Referenced by ScDocument::InterpretCellsIfNeeded().
Definition at line 2597 of file table1.cxx.
References aCol, and ClampToAllocatedColumns().
Referenced by ScDocument::InterpretDirtyCells().
void ScTable::InvalidatePageBreaks | ( | ) |
Definition at line 1554 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 1611 of file table2.cxx.
References pScenarioRanges.
void ScTable::InvalidateTableArea | ( | ) |
Definition at line 1548 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(), ScColumnTextWidthIterator::getPos(), ScColumnTextWidthIterator::hasCell(), InitColumnBlockPosition(), ScRefCellValue::isEmpty(), ScDocument::MaxRow(), ScRefCellValue::meType, ScRefCellValue::mpFormula, ScColumnTextWidthIterator::next(), rDocument, ScAddress::Row(), ScFormulaCell::SetDirty(), ScColumn::SetScriptType(), ScColumn::SetTextWidth(), ScColumnTextWidthIterator::setValue(), ScColContainer::size(), and TEXTWIDTH_DIRTY.
Referenced by PageStyleModified(), and SetPageStyle().
|
inline |
Definition at line 360 of file table.hxx.
References bActiveScenario.
bool ScTable::IsBlockEditable | ( | SCCOL | nCol1, |
SCROW | nRow1, | ||
SCCOL | nCol2, | ||
SCROW | nRow2, | ||
bool * | pOnlyNotBecauseOfMatrix = nullptr , |
||
bool | bNoMatrixAtAll = false |
||
) | const |
Definition at line 2632 of file table2.cxx.
References ScDocument::GetScenarioFlags(), HasAttrib(), HasBlockMatrixFragment(), ScDocument::HasScenarioRange(), ScDocument::IsActiveScenario(), IsProtected(), ScDocument::IsScenario(), ScDocument::IsTabProtected(), nLockCount, nTab, Protected, pTabProtection, SAL_WARN, TwoWay, and ValidColRow().
Referenced by IsEditActionAllowed(),