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

#include <document.hxx>

Collaboration diagram for ScDocument:
[legend]

Classes

class  NumFmtMergeHandler
 Use this class as a locale variable to merge number formatter from another document, and set NULL pointer to pFormatExchangeList when done. More...
 

Public Types

enum class  HardRecalcState {
  OFF ,
  TEMPORARY ,
  ETERNAL
}
 

Public Member Functions

bool IsCellInChangeTrack (const ScAddress &cell, Color *pColCellBorder)
 
void GetCellChangeTrackNote (const ScAddress &cell, OUString &strTrackText, bool &pbLeftEdge)
 
bool IsEmbedFonts () const
 
bool IsEmbedUsedFontsOnly () const
 
bool IsEmbedFontScriptLatin () const
 
bool IsEmbedFontScriptAsian () const
 
bool IsEmbedFontScriptComplex () const
 
void SetEmbedFonts (bool bUse)
 
void SetEmbedUsedFontsOnly (bool bUse)
 
void SetEmbedFontScriptLatin (bool bUse)
 
void SetEmbedFontScriptAsian (bool bUse)
 
void SetEmbedFontScriptComplex (bool bUse)
 
void SetImagePreferredDPI (sal_Int32 nValue)
 
sal_Int32 GetImagePreferredDPI ()
 
SC_DLLPUBLIC sal_uInt64 GetCellCount () const
 
SC_DLLPUBLIC sal_uInt64 GetFormulaGroupCount () const
 
sal_uInt64 GetCodeCount () const
 
 DECL_LINK (GetUserDefinedColor, sal_uInt16, Color *)
 
SC_DLLPUBLIC ScDocument (ScDocumentMode eMode=SCDOCMODE_DOCUMENT, SfxObjectShell *pDocShell=nullptr)
 
SC_DLLPUBLIC ~ScDocument ()
 
void SetName (const OUString &r)
 
const OUString & GetCodeName () const
 
void SetCodeName (const OUString &r)
 
const OUString & GetFileURL () const
 
void GetDocStat (ScDocStat &rDocStat)
 
SC_DLLPUBLIC void InitDrawLayer (SfxObjectShell *pDocShell=nullptr)
 
ScInterpreterContextGetNonThreadedContext () const
 
ScInterpreterContextGetThreadedContext () const
 
void SetupContextFromNonThreadedContext (ScInterpreterContext &threadedContext, int threadNumber)
 
void MergeContextBackIntoNonThreadedContext (ScInterpreterContext &threadedContext, int threadNumber)
 
void SetThreadedGroupCalcInProgress (bool set)
 
bool IsThreadedGroupCalcInProgress () const
 
SC_DLLPUBLIC sfx2::LinkManagerGetLinkManager ()
 
SC_DLLPUBLIC const sfx2::LinkManagerGetLinkManager () const
 
sc::DocumentLinkManagerGetDocLinkManager ()
 
const sc::DocumentLinkManagerGetDocLinkManager () const
 
SC_DLLPUBLIC const ScDocOptionsGetDocOptions () const
 
SC_DLLPUBLIC void SetDocOptions (const ScDocOptions &rOpt)
 
SC_DLLPUBLIC const ScViewOptionsGetViewOptions () const
 
SC_DLLPUBLIC void SetViewOptions (const ScViewOptions &rOpt)
 
void SetPrintOptions ()
 
ScExtDocOptionsGetExtDocOptions ()
 
SC_DLLPUBLIC void SetExtDocOptions (std::unique_ptr< ScExtDocOptions > pNewOptions)
 
ScClipOptionsGetClipOptions ()
 
void SetClipOptions (std::unique_ptr< ScClipOptions > pClipOptions)
 
SC_DLLPUBLIC void GetLanguage (LanguageType &rLatin, LanguageType &rCjk, LanguageType &rCtl) const
 
void SetLanguage (LanguageType eLatin, LanguageType eCjk, LanguageType eCtl)
 
void SetConsolidateDlgData (std::unique_ptr< ScConsolidateParam > pData)
 
const ScConsolidateParamGetConsolidateDlgData () const
 
void Clear (bool bFromDestructor=false)
 
std::unique_ptr< ScFieldEditEngineCreateFieldEditEngine ()
 
void DisposeFieldEditEngine (std::unique_ptr< ScFieldEditEngine > &rpEditEngine)
 
SC_DLLPUBLIC void GetAllTabRangeNames (ScRangeName::TabNameCopyMap &rRangeNames) const
 Get all range names that are local to each table. More...
 
SC_DLLPUBLIC void SetAllRangeNames (const std::map< OUString, ScRangeName > &rRangeMap)
 
SC_DLLPUBLIC void GetRangeNameMap (std::map< OUString, ScRangeName * > &rRangeName)
 
SC_DLLPUBLIC ScRangeNameGetRangeName (SCTAB nTab) const
 
SC_DLLPUBLIC ScRangeNameGetRangeName () const
 
void SetRangeName (SCTAB nTab, std::unique_ptr< ScRangeName > pNew)
 
void SetRangeName (std::unique_ptr< ScRangeName > pNewRangeName)
 
bool IsAddressInRangeName (RangeNameScope eScope, const ScAddress &rAddress)
 
ScRangeDataFindRangeNameBySheetAndIndex (SCTAB nTab, sal_uInt16 nIndex) const
 Find a named expression / range name in either global or a local scope. More...
 
bool FindRangeNamesReferencingSheet (sc::UpdatedRangeNames &rIndexes, SCTAB nTokenTab, const sal_uInt16 nTokenIndex, SCTAB nGlobalRefTab, SCTAB nLocalRefTab, SCTAB nOldTokenTab, SCTAB nOldTokenTabReplacement, bool bSameDoc, int nRecursion) const
 Recursively find all named expressions that directly or indirectly (nested) reference a given sheet, starting from a given named expression nTokenTab/nTokenIndex. More...
 
bool CopyAdjustRangeName (SCTAB &rSheet, sal_uInt16 &rIndex, ScRangeData *&rpRangeData, ScDocument &rNewDoc, const ScAddress &rNewPos, const ScAddress &rOldPos, const bool bGlobalNamesToLocal, const bool bUsedByFormula) const
 If necessary (name references sheet rOldPos.Tab()) copy and adjust named expression/range from sheet-local to sheet-local, or global to sheet-local if bGlobalNamesToLocal==true. More...
 
SC_DLLPUBLIC void PreprocessAllRangeNamesUpdate (const std::map< OUString, ScRangeName > &rRangeMap)
 Call this immediately before updating all named ranges. More...
 
SC_DLLPUBLIC void PreprocessRangeNameUpdate ()
 
SC_DLLPUBLIC void PreprocessDBDataUpdate ()
 
SC_DLLPUBLIC void CompileHybridFormula ()
 Call this immediately after updating named ranges. More...
 
bool InsertNewRangeName (const OUString &rName, const ScAddress &rPos, const OUString &rExpr)
 Insert a new named expression to the global scope. More...
 
bool InsertNewRangeName (SCTAB nTab, const OUString &rName, const ScAddress &rPos, const OUString &rExpr)
 Insert a new named expression to a sheet-local scope. More...
 
SC_DLLPUBLIC sal_Unicode GetSheetSeparator () const
 Obtain the sheet separator corresponding to the document's grammar. More...
 
SCTAB GetMaxTableNumber () const
 
ScRangePairListGetColNameRanges ()
 
ScRangePairListGetRowNameRanges ()
 
ScRangePairListRefGetColNameRangesRef ()
 
ScRangePairListRefGetRowNameRangesRef ()
 
SC_DLLPUBLIC SCCOL ClampToAllocatedColumns (SCTAB nTab, SCCOL nCol) const
 
SC_DLLPUBLIC SCCOL GetAllocatedColumnsCount (SCTAB nTab) const
 
SC_DLLPUBLIC ScDBCollectionGetDBCollection () const
 
void SetDBCollection (std::unique_ptr< ScDBCollection > pNewDBCollection, bool bRemoveAutoFilter=false)
 
const ScDBDataGetDBAtCursor (SCCOL nCol, SCROW nRow, SCTAB nTab, ScDBDataPortion ePortion) const
 
ScDBDataGetDBAtCursor (SCCOL nCol, SCROW nRow, SCTAB nTab, ScDBDataPortion ePortion)
 
SC_DLLPUBLIC const ScDBDataGetDBAtArea (SCTAB nTab, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2) const
 
SC_DLLPUBLIC ScDBDataGetDBAtArea (SCTAB nTab, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2)
 
void RefreshDirtyTableColumnNames ()
 
SC_DLLPUBLIC sc::ExternalDataMapperGetExternalDataMapper ()
 
SC_DLLPUBLIC const ScRangeDataGetRangeAtBlock (const ScRange &rBlock, OUString &rName, bool *pSheetLocal=nullptr) const
 
SC_DLLPUBLIC bool HasPivotTable () const
 
SC_DLLPUBLIC ScDPCollectionGetDPCollection ()
 
SC_DLLPUBLIC const ScDPCollectionGetDPCollection () const
 
SC_DLLPUBLIC ScDPObjectGetDPAtCursor (SCCOL nCol, SCROW nRow, SCTAB nTab) const
 
SC_DLLPUBLIC ScDPObjectGetDPAtCursor (ScAddress const &rAddress) const
 
SC_DLLPUBLIC bool HasDataPilotAtPosition (ScAddress const &rAddress) const
 
ScDPObjectGetDPAtBlock (const ScRange &rBlock) const
 
void StopTemporaryChartLock ()
 
void EnsureGraphicNames ()
 
SdrObjectGetObjectAtPoint (SCTAB nTab, const Point &rPos)
 
bool HasChartAtPoint (SCTAB nTab, const Point &rPos, OUString &rName)
 
css::uno::Reference< css::chart2::XChartDocument > GetChartByName (std::u16string_view rChartName)
 
SC_DLLPUBLIC void GetChartRanges (std::u16string_view rChartName, std::vector< ScRangeList > &rRanges, const ScDocument &rSheetNameDoc)
 
void SetChartRanges (std::u16string_view rChartName, const std::vector< ScRangeList > &rRanges)
 
void UpdateChartArea (const OUString &rChartName, const ScRange &rNewArea, bool bColHeaders, bool bRowHeaders, bool bAdd)
 
void UpdateChartArea (const OUString &rChartName, const ScRangeListRef &rNewList, bool bColHeaders, bool bRowHeaders, bool bAdd)
 
void GetOldChartParameters (std::u16string_view rName, ScRangeList &rRanges, bool &rColHeaders, bool &rRowHeaders)
 
css::uno::Reference< css::embed::XEmbeddedObject > FindOleObjectByName (std::u16string_view rName)
 
SC_DLLPUBLIC void MakeTable (SCTAB nTab, bool _bNeedsNameCheck=true)
 
SCTAB GetVisibleTab () const
 
SC_DLLPUBLIC void SetVisibleTab (SCTAB nTab)
 
SCCOL GetPosLeft () const
 
SC_DLLPUBLIC void SetPosLeft (SCCOL nCol)
 
SCROW GetPosTop () const
 
SC_DLLPUBLIC void SetPosTop (SCROW nRow)
 
SC_DLLPUBLIC bool HasTable (SCTAB nTab) const
 
SC_DLLPUBLIC bool GetHashCode (SCTAB nTab, sal_Int64 &rHashCode) const
 
SC_DLLPUBLIC bool GetName (SCTAB nTab, OUString &rName) const
 
SC_DLLPUBLIC bool GetCodeName (SCTAB nTab, OUString &rName) const
 
SC_DLLPUBLIC bool SetCodeName (SCTAB nTab, const OUString &rName)
 
SC_DLLPUBLIC bool GetTable (const OUString &rName, SCTAB &rTab) const
 
SC_DLLPUBLIC SCCOL MaxCol () const
 
SC_DLLPUBLIC SCROW MaxRow () const
 
SC_DLLPUBLIC SCCOL GetMaxColCount () const
 
SC_DLLPUBLIC SCROW GetMaxRowCount () const
 
SC_DLLPUBLIC OUString MaxRowAsString () const
 
SC_DLLPUBLIC OUString MaxColAsString () const
 
ScSheetLimitsGetSheetLimits () const
 
bool ValidCol (SCCOL nCol) const
 
bool ValidRow (SCROW nRow) const
 
bool ValidColRow (SCCOL nCol, SCROW nRow) const
 
bool ValidColRowTab (SCCOL nCol, SCROW nRow, SCTAB nTab) const
 
bool ValidRange (const ScRange &rRange) const
 
bool ValidAddress (const ScAddress &rAddress) const
 
SCCOL SanitizeCol (SCCOL nCol) const
 
SCROW SanitizeRow (SCROW nRow) const
 
SC_DLLPUBLIC std::vector< OUString > GetAllTableNames () const
 
OUString GetCopyTabName (SCTAB nTab) const
 
SC_DLLPUBLIC void SetAnonymousDBData (SCTAB nTab, std::unique_ptr< ScDBData > pDBData)
 
SC_DLLPUBLIC ScDBDataGetAnonymousDBData (SCTAB nTab)
 
SC_DLLPUBLIC void SetAnonymousDBData (std::unique_ptr< ScDBData > pDBData)
 One document global anonymous database range for temporary operations, used if the corresponding sheet-local anonymous database range is already used with AutoFilter and range differs. More...
 
SC_DLLPUBLIC ScDBDataGetAnonymousDBData ()
 
SC_DLLPUBLIC SCTAB GetTableCount () const
 
SvNumberFormatterIndexTableGetFormatExchangeList () const
 
SC_DLLPUBLIC ScDocProtectionGetDocProtection () const
 
SC_DLLPUBLIC void SetDocProtection (const ScDocProtection *pProtect)
 
SC_DLLPUBLIC bool IsDocProtected () const
 
bool IsDocEditable () const
 
SC_DLLPUBLIC bool IsTabProtected (SCTAB nTab) const
 
SC_DLLPUBLIC const ScTableProtectionGetTabProtection (SCTAB nTab) const
 
SC_DLLPUBLIC void SetTabProtection (SCTAB nTab, const ScTableProtection *pProtect)
 
void CopyTabProtection (SCTAB nTabSrc, SCTAB nTabDest)
 
void LockTable (SCTAB nTab)
 
void UnlockTable (SCTAB nTab)
 
bool IsBlockEditable (SCTAB nTab, SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, bool *pOnlyNotBecauseOfMatrix=nullptr, bool bNoMatrixAtAll=false) const
 
bool IsSelectionEditable (const ScMarkData &rMark, bool *pOnlyNotBecauseOfMatrix=nullptr) const
 
bool HasSelectedBlockMatrixFragment (SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, const ScMarkData &rMark) const
 
bool IsEditActionAllowed (sc::ColRowEditAction eAction, SCTAB nTab, SCCOLROW nStart, SCCOLROW nEnd) const
 
bool IsEditActionAllowed (sc::ColRowEditAction eAction, const ScMarkData &rMark, SCCOLROW nStart, SCCOLROW nEnd) const
 
SC_DLLPUBLIC bool GetMatrixFormulaRange (const ScAddress &rCellPos, ScRange &rMatrix)
 
bool IsEmbedded () const
 
void GetEmbedded (ScRange &rRange) const
 
void SetEmbedded (const ScRange &rRange)
 
void ResetEmbedded ()
 
tools::Rectangle GetEmbeddedRect () const
 
void SetEmbedded (SCTAB nTab, const tools::Rectangle &rRect)
 
SC_DLLPUBLIC bool ValidNewTabName (const OUString &rName) const
 
SC_DLLPUBLIC void CreateValidTabName (OUString &rName) const
 
SC_DLLPUBLIC void CreateValidTabNames (std::vector< OUString > &aNames, SCTAB nCount) const
 
void AppendTabOnLoad (const OUString &rName)
 
void SetTabNameOnLoad (SCTAB nTab, const OUString &rName)
 
void InvalidateStreamOnSave ()
 
SC_DLLPUBLIC bool InsertTab (SCTAB nPos, const OUString &rName, bool bExternalDocument=false, bool bUndoDeleteTab=false)
 
SC_DLLPUBLIC bool InsertTabs (SCTAB nPos, const std::vector< OUString > &rNames, bool bNamesValid=false)
 
SC_DLLPUBLIC bool DeleteTabs (SCTAB nTab, SCTAB nSheets)
 
SC_DLLPUBLIC bool DeleteTab (SCTAB nTab)
 
SC_DLLPUBLIC bool RenameTab (SCTAB nTab, const OUString &rName, bool bExternalDocument=false)
 
bool MoveTab (SCTAB nOldPos, SCTAB nNewPos, ScProgress *pProgress=nullptr)
 
SC_DLLPUBLIC bool CopyTab (SCTAB nOldPos, SCTAB nNewPos, const ScMarkData *pOnlyMarked=nullptr)
 
SC_DLLPUBLIC sal_uLong TransferTab (ScDocument &rSrcDoc, SCTAB nSrcPos, SCTAB nDestPos, bool bInsertNew=true, bool bResultsOnly=false)
 
SC_DLLPUBLIC void TransferDrawPage (const ScDocument &rSrcDoc, SCTAB nSrcPos, SCTAB nDestPos)
 
SC_DLLPUBLIC void SetVisible (SCTAB nTab, bool bVisible)
 
SC_DLLPUBLIC bool IsVisible (SCTAB nTab) const
 
bool IsStreamValid (SCTAB nTab) const
 
void SetStreamValid (SCTAB nTab, bool bSet, bool bIgnoreLock=false)
 
void LockStreamValid (bool bLock)
 
bool IsStreamValidLocked () const
 
bool IsPendingRowHeights (SCTAB nTab) const
 
void SetPendingRowHeights (SCTAB nTab, bool bSet)
 
sal_uInt16 GetSheetOptimalMinRowHeight (SCTAB nTab) const
 
SC_DLLPUBLIC void SetLayoutRTL (SCTAB nTab, bool bRTL, ScObjectHandling eObjectHandling=ScObjectHandling::RecalcPosMode)
 
SC_DLLPUBLIC bool IsLayoutRTL (SCTAB nTab) const
 
SC_DLLPUBLIC bool IsNegativePage (SCTAB nTab) const
 
SC_DLLPUBLIC void SetScenario (SCTAB nTab, bool bFlag)
 
SC_DLLPUBLIC bool IsScenario (SCTAB nTab) const
 
SC_DLLPUBLIC void GetScenarioData (SCTAB nTab, OUString &rComment, Color &rColor, ScScenarioFlags &rFlags) const
 
SC_DLLPUBLIC void SetScenarioData (SCTAB nTab, const OUString &rComment, const Color &rColor, ScScenarioFlags nFlags)
 
SC_DLLPUBLIC Color GetTabBgColor (SCTAB nTab) const
 
SC_DLLPUBLIC void SetTabBgColor (SCTAB nTab, const Color &rColor)
 
SC_DLLPUBLIC bool IsDefaultTabBgColor (SCTAB nTab) const
 
void GetScenarioFlags (SCTAB nTab, ScScenarioFlags &rFlags) const
 
SC_DLLPUBLIC bool IsActiveScenario (SCTAB nTab) const
 
SC_DLLPUBLIC void SetActiveScenario (SCTAB nTab, bool bActive)
 
SC_DLLPUBLIC formula::FormulaGrammar::AddressConvention GetAddressConvention () const
 
SC_DLLPUBLIC formula::FormulaGrammar::Grammar GetGrammar () const
 
SC_DLLPUBLIC void SetGrammar (formula::FormulaGrammar::Grammar eGram)
 
SC_DLLPUBLIC ScLinkMode GetLinkMode (SCTAB nTab) const
 
bool IsLinked (SCTAB nTab) const
 
SC_DLLPUBLIC OUString GetLinkDoc (SCTAB nTab) const
 
OUString GetLinkFlt (SCTAB nTab) const
 
OUString GetLinkOpt (SCTAB nTab) const
 
SC_DLLPUBLIC OUString GetLinkTab (SCTAB nTab) const
 
sal_uLong GetLinkRefreshDelay (SCTAB nTab) const
 
void SetLink (SCTAB nTab, ScLinkMode nMode, const OUString &rDoc, const OUString &rFilter, const OUString &rOptions, const OUString &rTabName, sal_uLong nRefreshDelay)
 
bool HasLink (std::u16string_view rDoc, std::u16string_view rFilter, std::u16string_view rOptions) const
 
SC_DLLPUBLIC bool LinkExternalTab (SCTAB &nTab, const OUString &aDocTab, const OUString &aFileName, const OUString &aTabName)
 
bool HasExternalRefManager () const
 
SC_DLLPUBLIC ScExternalRefManagerGetExternalRefManager () const
 
bool IsInExternalReferenceMarking () const
 
void MarkUsedExternalReferences ()
 
bool MarkUsedExternalReferences (const ScTokenArray &rArr, const ScAddress &rPos)
 
ScFormulaParserPoolGetFormulaParserPool () const
 Returns the pool containing external formula parsers. More...
 
bool HasAreaLinks () const
 
void UpdateExternalRefLinks (weld::Window *pWin)
 
void UpdateAreaLinks ()
 
void IncInDdeLinkUpdate ()
 
void DecInDdeLinkUpdate ()
 
bool IsInDdeLinkUpdate () const
 
SC_DLLPUBLIC void CopyDdeLinks (ScDocument &rDestDoc) const
 
SC_DLLPUBLIC bool FindDdeLink (std::u16string_view rAppl, std::u16string_view rTopic, std::u16string_view rItem, sal_uInt8 nMode, size_t &rnDdePos)
 Tries to find a DDE link with the specified connection data. More...
 
bool GetDdeLinkData (size_t nDdePos, OUString &rAppl, OUString &rTopic, OUString &rItem) const
 Returns the connection data of the specified DDE link. More...
 
bool GetDdeLinkMode (size_t nDdePos, sal_uInt8 &rnMode) const
 Returns the link mode of the specified DDE link. More...
 
SC_DLLPUBLIC const ScMatrixGetDdeLinkResultMatrix (size_t nDdePos) const
 Returns the result matrix of the specified DDE link. More...
 
SC_DLLPUBLIC bool CreateDdeLink (const OUString &rAppl, const OUString &rTopic, const OUString &rItem, sal_uInt8 nMode, const ScMatrixRef &pResults)
 Tries to find a DDE link or creates a new, if not extant. More...
 
bool SetDdeLinkResultMatrix (size_t nDdePos, const ScMatrixRef &pResults)
 Sets a result matrix for the specified DDE link. More...
 
SfxBindingsGetViewBindings ()
 
SfxObjectShellGetDocumentShell () const
 
SC_DLLPUBLIC ScDrawLayerGetDrawLayer ()
 
SC_DLLPUBLIC const ScDrawLayerGetDrawLayer () const
 
SfxBroadcasterGetDrawBroadcaster ()
 
void BeginDrawUndo ()
 
void BeginUnoRefUndo ()
 
bool HasUnoRefUndo () const
 
std::unique_ptr< ScUnoRefListEndUnoRefUndo ()
 
sal_Int64 GetNewUnoId ()
 
void AddUnoRefChange (sal_Int64 nId, const ScRangeList &rOldRanges)
 
void UpdateChartRef (UpdateRefMode eUpdateRefMode, SCCOL nCol1, SCROW nRow1, SCTAB nTab1, SCCOL nCol2, SCROW nRow2, SCTAB nTab2, SCCOL nDx, SCROW nDy, SCTAB nDz)
 
void SetChartRangeList (std::u16string_view rChartName, const ScRangeListRef &rNewRangeListRef)
 only assigns the new RangeList, no ChartListener or the like More...
 
void StartAnimations (SCTAB nTab)
 
bool HasBackgroundDraw (SCTAB nTab, const tools::Rectangle &rMMRect) const
 
bool HasAnyDraw (SCTAB nTab, const tools::Rectangle &rMMRect) const
 
const ScSheetEventsGetSheetEvents (SCTAB nTab) const
 
void SetSheetEvents (SCTAB nTab, std::unique_ptr< ScSheetEvents > pNew)
 
bool HasSheetEventScript (SCTAB nTab, ScSheetEventId nEvent, bool bWithVbaEvents=false) const
 
bool HasAnySheetEventScript (ScSheetEventId nEvent, bool bWithVbaEvents=false) const
 
bool HasAnyCalcNotification () const
 
bool HasCalcNotification (SCTAB nTab) const
 
void SetCalcNotification (SCTAB nTab)
 
void ResetCalcNotifications ()
 
SC_DLLPUBLIC ScOutlineTableGetOutlineTable (SCTAB nTab, bool bCreate=false)
 
bool SetOutlineTable (SCTAB nTab, const ScOutlineTable *pNewOutline)
 
void DoAutoOutline (SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, SCTAB nTab)
 
bool DoSubTotals (SCTAB nTab, ScSubTotalParam &rParam)
 
void RemoveSubTotals (SCTAB nTab, ScSubTotalParam &rParam)
 
bool TestRemoveSubTotals (SCTAB nTab, const ScSubTotalParam &rParam)
 
bool HasSubTotalCells (const ScRange &rRange)
 
SC_DLLPUBLIC void EnsureTable (SCTAB nTab)
 
SC_DLLPUBLIC bool SetString (SCCOL nCol, SCROW nRow, SCTAB nTab, const OUString &rString, const ScSetStringParam *pParam=nullptr)
 
SC_DLLPUBLIC bool SetString (const ScAddress &rPos, const OUString &rString, const ScSetStringParam *pParam=nullptr)
 
SC_DLLPUBLIC bool SetEditText (const ScAddress &rPos, std::unique_ptr< EditTextObject > pEditText)
 This method manages the lifecycle of the passed edit text object. More...
 
void SetEditText (const ScAddress &rPos, const EditTextObject &rEditText, const SfxItemPool *pEditPool)
 
SC_DLLPUBLIC void SetEditText (const ScAddress &rPos, const OUString &rStr)
 
SC_DLLPUBLIC SCROW GetFirstEditTextRow (const ScRange &rRange) const
 
SC_DLLPUBLIC void SetTextCell (const ScAddress &rPos, const OUString &rStr)
 Call this if you are not sure whether to put this as an edit text or a simple text. More...
 
void SetEmptyCell (const ScAddress &rPos)
 
SC_DLLPUBLIC void SetValue (SCCOL nCol, SCROW nRow, SCTAB nTab, const double &rVal)
 
SC_DLLPUBLIC void SetValue (const ScAddress &rPos, double fVal)
 
void SetValues (const ScAddress &rPos, const std::vector< double > &rVals)
 
void SetError (SCCOL nCol, SCROW nRow, SCTAB nTab, const FormulaError nError)
 
SC_DLLPUBLIC void SetFormula (const ScAddress &rPos, const ScTokenArray &rArray)
 
SC_DLLPUBLIC void SetFormula (const ScAddress &rPos, const OUString &rFormula, formula::FormulaGrammar::Grammar eGram)
 
SC_DLLPUBLIC ScFormulaCellSetFormulaCell (const ScAddress &rPos, ScFormulaCell *pCell)
 Set formula cell, and transfer its ownership to the document. More...
 
bool SetFormulaCells (const ScAddress &rPos, std::vector< ScFormulaCell * > &rCells)
 
bool HasFormulaCell (const ScRange &rRange) const
 Check if there is at least one formula cell in specified range. More...
 
SC_DLLPUBLIC void InsertMatrixFormula (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, const ScMarkData &rMark, const OUString &rFormula, const ScTokenArray *p=nullptr, const formula::FormulaGrammar::Grammar=formula::FormulaGrammar::GRAM_DEFAULT)
 
SC_DLLPUBLIC void InsertTableOp (const ScTabOpParam &rParam, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, const ScMarkData &rMark)
 
SC_DLLPUBLIC OUString GetString (SCCOL nCol, SCROW nRow, SCTAB nTab, const ScInterpreterContext *pContext=nullptr) const
 
SC_DLLPUBLIC OUString GetString (const ScAddress &rPos, const ScInterpreterContext *pContext=nullptr) const
 
SC_DLLPUBLIC double * GetValueCell (const ScAddress &rPos)
 Return a pointer to the double value stored in value cell. More...
 
SC_DLLPUBLIC svl::SharedStringPoolGetSharedStringPool ()
 
const svl::SharedStringPoolGetSharedStringPool () const
 
svl::SharedString GetSharedString (const ScAddress &rPos) const
 
std::shared_ptr< sc::FormulaGroupContext > & GetFormulaGroupContext ()
 
void DiscardFormulaGroupContext ()
 
void BlockFormulaGroupContextDiscard (bool block)
 
SC_DLLPUBLIC OUString GetInputString (SCCOL nCol, SCROW nRow, SCTAB nTab, bool bForceSystemLocale=false) const
 
FormulaError GetStringForFormula (const ScAddress &rPos, OUString &rString)
 
SC_DLLPUBLIC double GetValue (const ScAddress &rPos) const
 
SC_DLLPUBLIC double GetValue (SCCOL nCol, SCROW nRow, SCTAB nTab) const
 
SC_DLLPUBLIC const EditTextObjectGetEditText (const ScAddress &rPos) const
 
void RemoveEditTextCharAttribs (const ScAddress &rPos, const ScPatternAttr &rAttr)
 
SC_DLLPUBLIC double RoundValueAsShown (double fVal, sal_uInt32 nFormat, const ScInterpreterContext *pContext=nullptr) const
 
SC_DLLPUBLIC sal_uInt32 GetNumberFormat (SCCOL nCol, SCROW nRow, SCTAB nTab) const
 
sal_uInt32 GetNumberFormat (const ScRange &rRange) const
 
SC_DLLPUBLIC sal_uInt32 GetNumberFormat (const ScInterpreterContext &rContext, const ScAddress &) const
 
SC_DLLPUBLIC void SetNumberFormat (const ScAddress &rPos, sal_uInt32 nNumberFormat)
 
void GetNumberFormatInfo (const ScInterpreterContext &rContext, SvNumFormatType &nType, sal_uInt32 &nIndex, const ScAddress &rPos) const
 
SC_DLLPUBLIC const ScFormulaCellGetFormulaCell (const ScAddress &rPos) const
 
SC_DLLPUBLIC ScFormulaCellGetFormulaCell (const ScAddress &rPos)
 
SC_DLLPUBLIC OUString GetFormula (SCCOL nCol, SCROW nRow, SCTAB nTab) const
 
SC_DLLPUBLIC CellType GetCellType (SCCOL nCol, SCROW nRow, SCTAB nTab) const
 
SC_DLLPUBLIC CellType GetCellType (const ScAddress &rPos) const
 
SC_DLLPUBLIC bool HasData (SCCOL nCol, SCROW nRow, SCTAB nTab)
 
SC_DLLPUBLIC bool HasStringData (SCCOL nCol, SCROW nRow, SCTAB nTab) const
 
SC_DLLPUBLIC bool HasValueData (SCCOL nCol, SCROW nRow, SCTAB nTab) const
 
SC_DLLPUBLIC bool HasValueData (const ScAddress &rPos) const
 
bool HasStringCells (const ScRange &rRange) const
 
bool HasSelectionData (SCCOL nCol, SCROW nRow, SCTAB nTab) const
 Returns true, if there is any data to create a selection list for rPos. More...
 
bool HasValidationData (SCCOL nCol, SCROW nRow, SCTAB nTab) const
 
sc::MultiDataCellState HasMultipleDataCells (const ScRange &rRange) const
 Check if the specified range contains either: 1) one non-empty cell, 2) more than one non-empty cells, or 3) totally empty. More...
 
SC_DLLPUBLIC std::shared_ptr< sc::SparklineGetSparkline (ScAddress const &rPosition)
 Returns sparkline at the address if it exists. More...
 
SC_DLLPUBLIC bool HasSparkline (ScAddress const &rPosition)
 
SC_DLLPUBLIC sc::SparklineCreateSparkline (ScAddress const &rPosition, std::shared_ptr< sc::SparklineGroup > const &pSparklineGroup)
 
SC_DLLPUBLIC sc::SparklineListGetSparklineList (SCTAB nTab)
 
SC_DLLPUBLIC bool DeleteSparkline (ScAddress const &rPosition)
 
SC_DLLPUBLIC bool GetSparklineGroupInRange (ScRange const &rRange, std::shared_ptr< sc::SparklineGroup > &rGroup)
 Returns true if the whole range covers one and the same sparkline group and returns the group via out parameter. More...
 
SC_DLLPUBLIC bool HasOneSparklineGroup (ScRange const &rRange)
 
SC_DLLPUBLIC std::shared_ptr< sc::SparklineGroupSearchSparklineGroup (tools::Guid const &rGuid)
 
SC_DLLPUBLIC ScPostItGetNote (const ScAddress &rPos)
 
SC_DLLPUBLIC ScPostItGetNote (SCCOL nCol, SCROW nRow, SCTAB nTab)
 
void SetNote (const ScAddress &rPos, std::unique_ptr< ScPostIt > pNote)
 
void SetNote (SCCOL nCol, SCROW nRow, SCTAB nTab, std::unique_ptr< ScPostIt > pNote)
 
SC_DLLPUBLIC bool HasNote (const ScAddress &rPos) const
 
bool HasNote (SCCOL nCol, SCROW nRow, SCTAB nTab) const
 
bool HasNote (SCTAB nTab, SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow) const
 
SC_DLLPUBLIC bool HasColNotes (SCCOL nCol, SCTAB nTab) const
 
SC_DLLPUBLIC bool HasTabNotes (SCTAB nTab) const
 
bool HasNotes () const
 
SC_DLLPUBLIC std::unique_ptr< ScPostItReleaseNote (const ScAddress &rPos)
 
SC_DLLPUBLIC ScPostItGetOrCreateNote (const ScAddress &rPos)
 
SC_DLLPUBLIC ScPostItCreateNote (const ScAddress &rPos)
 
size_t GetNoteCount (SCTAB nTab, SCCOL nCol) const
 
void CreateAllNoteCaptions ()
 Ensure that all note objects have an associated sdr object. More...
 
void ForgetNoteCaptions (const ScRangeList &rRanges, bool bPreserveData)
 
CommentCaptionState GetAllNoteCaptionsState (const ScRangeList &rRanges)
 
ScAddress GetNotePosition (size_t nIndex) const
 
ScAddress GetNotePosition (size_t nIndex, SCTAB nTab) const
 
SCROW GetNotePosition (SCTAB nTab, SCCOL nCol, size_t nIndex) const
 
SC_DLLPUBLIC void GetAllNoteEntries (std::vector< sc::NoteEntry > &rNotes) const
 
SC_DLLPUBLIC void GetAllNoteEntries (SCTAB nTab, std::vector< sc::NoteEntry > &rNotes) const
 
void GetNotesInRange (const ScRangeList &rRange, std::vector< sc::NoteEntry > &rNotes) const
 
bool ContainsNotesInRange (const ScRangeList &rRange) const
 
SC_DLLPUBLIC void SetDrawPageSize (SCTAB nTab)
 
bool IsMerged (const ScAddress &rPos) const
 
void ExtendMergeSel (SCCOL nStartCol, SCROW nStartRow, SCCOL &rEndCol, SCROW &rEndRow, const ScMarkData &rMark, bool bRefresh=false)
 
SC_DLLPUBLIC bool ExtendMerge (SCCOL nStartCol, SCROW nStartRow, SCCOL &rEndCol, SCROW &rEndRow, SCTAB nTab, bool bRefresh=false)
 
bool ExtendMerge (ScRange &rRange, bool bRefresh=false)
 
SC_DLLPUBLIC void ExtendTotalMerge (ScRange &rRange) const
 
SC_DLLPUBLIC void ExtendOverlapped (SCCOL &rStartCol, SCROW &rStartRow, SCCOL nEndCol, SCROW nEndRow, SCTAB nTab) const
 
SC_DLLPUBLIC void ExtendOverlapped (ScRange &rRange) const
 
bool RefreshAutoFilter (SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, SCTAB nTab)
 
SC_DLLPUBLIC void DoMergeContents (SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, SCTAB nTab)
 
SC_DLLPUBLIC void DoEmptyBlock (SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, SCTAB nTab)
 
SC_DLLPUBLIC void DoMerge (SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, SCTAB nTab, bool bDeleteCaptions=true)
 
void RemoveMerge (SCCOL nCol, SCROW nRow, SCTAB nTab)
 
bool IsBlockEmpty (SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, SCTAB nTab) const
 
bool IsPrintEmpty (SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, SCTAB nTab, bool bLeftIsEmpty=false, ScRange *pLastRange=nullptr, tools::Rectangle *pLastMM=nullptr) const
 
void SkipOverlapped (SCCOL &rCol, SCROW &rRow, SCTAB nTab) const
 
bool IsHorOverlapped (SCCOL nCol, SCROW nRow, SCTAB nTab) const
 
bool IsVerOverlapped (SCCOL nCol, SCROW nRow, SCTAB nTab, SCROW *nStartRow=nullptr, SCROW *nEndRow=nullptr) const
 
SC_DLLPUBLIC bool HasAttrib (SCCOL nCol1, SCROW nRow1, SCTAB nTab1, SCCOL nCol2, SCROW nRow2, SCTAB nTab2, HasAttrFlags nMask) const
 
SC_DLLPUBLIC bool HasAttrib (const ScRange &rRange, HasAttrFlags nMask) const
 
bool HasAttrib (SCCOL nCol, SCROW nRow, SCTAB nTab, HasAttrFlags nMask, SCROW *nStartRow=nullptr, SCROW *nEndRow=nullptr) const
 
SC_DLLPUBLIC void GetBorderLines (SCCOL nCol, SCROW nRow, SCTAB nTab, const ::editeng::SvxBorderLine **ppLeft, const ::editeng::SvxBorderLine **ppTop, const ::editeng::SvxBorderLine **ppRight, const ::editeng::SvxBorderLine **ppBottom) const
 
void ResetChanged (const ScRange &rRange)
 
void CheckVectorizationState ()
 
void SetAllFormulasDirty (const sc::SetFormulaDirtyContext &rCxt)
 
void SetDirty (const ScRange &, bool bIncludeEmptyCells)
 
void SetTableOpDirty (const ScRange &)
 
void InterpretDirtyCells (const ScRangeList &rRanges)
 
bool InterpretCellsIfNeeded (const ScRangeList &rRanges)
 
SC_DLLPUBLIC void CalcAll ()
 
SC_DLLPUBLIC void CalcAfterLoad (bool bStartListening=true)
 
void CompileAll ()
 
void CompileXML ()
 
bool CompileErrorCells (FormulaError nErrCode)
 Re-compile formula cells with error. More...
 
ScAutoNameCacheGetAutoNameCache ()
 
void SetPreviewFont (std::unique_ptr< SfxItemSet > pFontSet)
 
SfxItemSetGetPreviewFont ()
 
SfxItemSetGetPreviewFont (SCCOL nCol, SCROW nRow, SCTAB nTab)
 
const ScMarkDataGetPreviewSelection () const
 
void SetPreviewSelection (const ScMarkData &rSel)
 
ScStyleSheetGetPreviewCellStyle ()
 
ScStyleSheetGetPreviewCellStyle (SCCOL nCol, SCROW nRow, SCTAB nTab)
 
void SetPreviewCellStyle (ScStyleSheet *pStyle)
 
SC_DLLPUBLIC void SetAutoNameCache (std::unique_ptr< ScAutoNameCache > pCache)
 
ScLookupCacheGetLookupCache (const ScRange &rRange, ScInterpreterContext *pContext)
 Creates a ScLookupCache cache for the range if it doesn't already exist. More...
 
ScSortedRangeCacheGetSortedRangeCache (const ScRange &rRange, const ScQueryParam &param, ScInterpreterContext *pContext)
 
void RemoveLookupCache (ScLookupCache &rCache)
 Only ScLookupCache dtor uses RemoveLookupCache(), do not use elsewhere! More...
 
void RemoveSortedRangeCache (ScSortedRangeCache &rCache)
 
void ClearLookupCaches ()
 Zap all caches. More...
 
SC_DLLPUBLIC void SetAutoCalc (bool bNewAutoCalc)
 
SC_DLLPUBLIC bool GetAutoCalc () const
 
void SetAutoCalcShellDisabled (bool bNew)
 
bool IsAutoCalcShellDisabled () const
 
void SetForcedFormulaPending (bool bNew)
 
bool IsForcedFormulaPending () const
 
bool IsCalculatingFormulaTree () const
 
void DelayFormulaGrouping (bool delay)
 If set, joining cells into shared formula groups will be delayed until reset again (RegroupFormulaCells() will be called as needed). More...
 
bool IsDelayedFormulaGrouping () const
 
void AddDelayedFormulaGroupingCell (const ScFormulaCell *cell)
 To be used only by SharedFormulaUtil::joinFormulaCells(). More...
 
void EnableDelayStartListeningFormulaCells (ScColumn *column, bool delay)
 If set, ScColumn::StartListeningFormulaCells() calls may be delayed using CanDelayStartListeningFormulaCells() until reset again, at which point the function will be called as necessary. More...
 
bool IsEnabledDelayStartListeningFormulaCells (ScColumn *column) const
 
bool CanDelayStartListeningFormulaCells (ScColumn *column, SCROW row1, SCROW row2)
 If true is returned, ScColumn::StartListeningFormulaCells() for the given cells will be performed later. More...
 
void EnableDelayDeletingBroadcasters (bool set)
 If set, cells will not delete their empty broadcasters, avoiding possible extensive mdds vector changes. More...
 
bool IsDelayedDeletingBroadcasters () const
 
FormulaError GetErrCode (const ScAddress &) const
 
bool ShrinkToDataArea (SCTAB nTab, SCCOL &rStartCol, SCROW &rStartRow, SCCOL &rEndCol, SCROW &rEndRow) const
 Shrink a range to only include data area. More...
 
bool ShrinkToUsedDataArea (bool &o_bShrunk, SCTAB nTab, SCCOL &rStartCol, SCROW &rStartRow, SCCOL &rEndCol, SCROW &rEndRow, bool bColumnsOnly, bool bStickyTopRow=false, bool bStickyLeftCol=false, ScDataAreaExtras *pDataAreaExtras=nullptr) const
 Shrink a range to only include used data area. More...
 
SC_DLLPUBLIC SCROW GetLastDataRow (SCTAB nTab, SCCOL nCol1, SCCOL nCol2, SCROW nLastRow) const
 Return the last non-empty row position in given columns that's no greater than the initial last row position, or 0 if the columns are empty. More...
 
SC_DLLPUBLIC void GetDataArea (SCTAB nTab, SCCOL &rStartCol, SCROW &rStartRow, SCCOL &rEndCol, SCROW &rEndRow, bool bIncludeOld, bool bOnlyDown) const
 Return the smallest area containing at least all contiguous cells having data. More...
 
bool GetDataAreaSubrange (ScRange &rRange) const
 Returns true if there is a non-empty subrange in the range given as input. More...
 
SC_DLLPUBLIC bool GetCellArea (SCTAB nTab, SCCOL &rEndCol, SCROW &rEndRow) const
 
SC_DLLPUBLIC bool GetTableArea (SCTAB nTab, SCCOL &rEndCol, SCROW &rEndRow, bool bCalcHiddens=false) const
 
SC_DLLPUBLIC bool GetPrintArea (SCTAB nTab, SCCOL &rEndCol, SCROW &rEndRow, bool bNotes=true) const
 
SC_DLLPUBLIC bool GetPrintAreaHor (SCTAB nTab, SCROW nStartRow, SCROW nEndRow, SCCOL &rEndCol) const
 
SC_DLLPUBLIC bool GetPrintAreaVer (SCTAB nTab, SCCOL nStartCol, SCCOL nEndCol, SCROW &rEndRow, bool bNotes) const
 
void InvalidateTableArea ()
 
SC_DLLPUBLIC void GetTiledRenderingArea (SCTAB nTab, SCCOL &rEndCol, SCROW &rEndRow) const
 Return the number of columns / rows that should be visible for the tiled rendering. More...
 
SC_DLLPUBLIC bool GetDataStart (SCTAB nTab, SCCOL &rStartCol, SCROW &rStartRow) const
 
void ExtendPrintArea (OutputDevice *pDev, SCTAB nTab, SCCOL nStartCol, SCROW nStartRow, SCCOL &rEndCol, SCROW nEndRow) const
 Find the maximum column position that contains printable data for the specified row range. More...
 
SC_DLLPUBLIC bool IsEmptyData (SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, SCTAB nTab) const
 
SC_DLLPUBLIC SCSIZE GetEmptyLinesInBlock (SCCOL nStartCol, SCROW nStartRow, SCTAB nStartTab, SCCOL nEndCol, SCROW nEndRow, SCTAB nEndTab, ScDirection eDir)
 
void FindAreaPos (SCCOL &rCol, SCROW &rRow, SCTAB nTab, ScMoveDirection eDirection) const
 
SC_DLLPUBLIC void GetNextPos (SCCOL &rCol, SCROW &rRow, SCTAB nTab, SCCOL nMovX, SCROW nMovY, bool bMarked, bool bUnprotected, const ScMarkData &rMark, SCCOL nTabStartCol=SC_TABSTART_NONE) const
 
bool GetNextMarkedCell (SCCOL &rCol, SCROW &rRow, SCTAB nTab, const ScMarkData &rMark)
 
void LimitChartArea (SCTAB nTab, SCCOL &rStartCol, SCROW &rStartRow, SCCOL &rEndCol, SCROW &rEndRow)
 
void LimitChartIfAll (ScRangeListRef &rRangeList)
 
bool InsertRow (SCCOL nStartCol, SCTAB nStartTab, SCCOL nEndCol, SCTAB nEndTab, SCROW nStartRow, SCSIZE nSize, ScDocument *pRefUndoDoc=nullptr, const ScMarkData *pTabMark=nullptr)
 
SC_DLLPUBLIC bool InsertRow (const ScRange &rRange)
 
void DeleteRow (SCCOL nStartCol, SCTAB nStartTab, SCCOL nEndCol, SCTAB nEndTab, SCROW nStartRow, SCSIZE nSize, ScDocument *pRefUndoDoc=nullptr, bool *pUndoOutline=nullptr, const ScMarkData *pTabMark=nullptr)
 
SC_DLLPUBLIC void DeleteRow (const ScRange &rRange)
 
bool InsertCol (SCROW nStartRow, SCTAB nStartTab, SCROW nEndRow, SCTAB nEndTab, SCCOL nStartCol, SCSIZE nSize, ScDocument *pRefUndoDoc=nullptr, const ScMarkData *pTabMark=nullptr)
 
SC_DLLPUBLIC bool InsertCol (const ScRange &rRange)
 
void DeleteCol (SCROW nStartRow, SCTAB nStartTab, SCROW nEndRow, SCTAB nEndTab, SCCOL nStartCol, SCSIZE nSize, ScDocument *pRefUndoDoc=nullptr, bool *pUndoOutline=nullptr, const ScMarkData *pTabMark=nullptr)
 
void DeleteCol (const ScRange &rRange)
 
bool CanInsertRow (const ScRange &rRange) const
 
bool CanInsertCol (const ScRange &rRange) const
 
void FitBlock (const ScRange &rOld, const ScRange &rNew, bool bClear=true)
 
bool CanFitBlock (const ScRange &rOld, const ScRange &rNew)
 
bool IsClipOrUndo () const
 
bool IsUndo () const
 
bool IsClipboard () const
 
bool IsUndoEnabled () const
 
SC_DLLPUBLIC void EnableUndo (bool bVal)
 
bool IsFunctionAccess () const
 
bool IsAdjustHeightLocked () const
 
void LockAdjustHeight ()
 
SC_DLLPUBLIC void UnlockAdjustHeight ()
 
bool IsExecuteLinkEnabled () const
 
void EnableExecuteLink (bool bVal)
 
bool IsChangeReadOnlyEnabled () const
 
void EnableChangeReadOnly (bool bVal)
 
SC_DLLPUBLIC bool IsUserInteractionEnabled () const
 
SC_DLLPUBLIC void EnableUserInteraction (bool bVal)
 
SC_DLLPUBLIC sal_Int16 GetNamedRangesLockCount () const
 
void SetNamedRangesLockCount (sal_Int16 nCount)
 
SC_DLLPUBLIC void ResetClip (ScDocument *pSourceDoc, const ScMarkData *pMarks)
 
SC_DLLPUBLIC void ResetClip (ScDocument *pSourceDoc, SCTAB nTab)
 
void SetCutMode (bool bCut)
 
bool IsCutMode ()
 
void SetClipArea (const ScRange &rArea, bool bCut=false)
 
SC_DLLPUBLIC bool IsDocVisible () const
 
SC_DLLPUBLIC void SetDocVisible (bool bSet)
 
bool HasOLEObjectsInArea (const ScRange &rRange, const ScMarkData *pTabMark=nullptr)
 
void DeleteObjectsInArea (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, const ScMarkData &rMark, bool bAnchored=false)
 
void DeleteObjectsInSelection (const ScMarkData &rMark)
 
SC_DLLPUBLIC void DeleteArea (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, const ScMarkData &rMark, InsertDeleteFlags nDelFlag, bool bBroadcast=true, sc::ColumnSpanSet *pBroadcastSpans=nullptr)
 
SC_DLLPUBLIC void DeleteAreaTab (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, SCTAB nTab, InsertDeleteFlags nDelFlag)
 
void DeleteAreaTab (const ScRange &rRange, InsertDeleteFlags nDelFlag)
 
SC_DLLPUBLIC void CopyToClip (const ScClipParam &rClipParam, ScDocument *pClipDoc, const ScMarkData *pMarks, bool bKeepScenarioFlags, bool bIncludeObjects)
 
SC_DLLPUBLIC void CopyStaticToDocument (const ScRange &rSrcRange, SCTAB nDestTab, ScDocument &rDestDoc)
 Copy only raw cell values to another document. More...
 
void CopyCellToDocument (const ScAddress &rSrcPos, const ScAddress &rDestPos, ScDocument &rDestDoc)
 Copy only cell, nothing but cell to another document. More...
 
void CopyTabToClip (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, SCTAB nTab, ScDocument *pClipDoc)
 
SC_DLLPUBLIC bool InitColumnBlockPosition (sc::ColumnBlockPosition &rBlockPos, SCTAB nTab, SCCOL nCol)
 
void DeleteBeforeCopyFromClip (sc::CopyFromClipContext &rCxt, const ScMarkData &rMark, sc::ColumnSpanSet &rBroadcastSpans)
 
SC_DLLPUBLIC bool CopyOneCellFromClip (sc::CopyFromClipContext &rCxt, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2)
 
void CopyBlockFromClip (sc::CopyFromClipContext &rCxt, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, const ScMarkData &rMark, SCCOL nDx, SCROW nDy)
 
SCROW CopyNonFilteredFromClip (sc::CopyFromClipContext &rCxt, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, const ScMarkData &rMark, SCCOL nDx, SCROW &rClipStartRow, SCROW nClipEndRow)
 
void StartListeningFromClip (sc::StartListeningContext &rStartCxt, sc::EndListeningContext &rEndCxt, SCTAB nTab, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2)
 
void StartListeningFromClip (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, const ScMarkData &rMark, InsertDeleteFlags nInsFlag)
 
void SetDirtyFromClip (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, const ScMarkData &rMark, InsertDeleteFlags nInsFlag, sc::ColumnSpanSet &rBroadcastSpans)
 
SC_DLLPUBLIC void CopyFromClip (const ScRange &rDestRange, const ScMarkData &rMark, InsertDeleteFlags nInsFlag, ScDocument *pRefUndoDoc, ScDocument *pClipDoc, bool bResetCut=true, bool bAsLink=false, bool bIncludeFiltered=true, bool bSkipEmptyCells=false, const ScRangeList *pDestRanges=nullptr)
 Paste data from a clipboard document into this document. More...
 
void CopyMultiRangeFromClip (const ScAddress &rDestPos, const ScMarkData &rMark, InsertDeleteFlags nInsFlag, ScDocument *pClipDoc, bool bResetCut=true, bool bAsLink=false, bool bIncludeFiltered=true, bool bSkipAttrForEmpty=false)
 
void GetClipArea (SCCOL &nClipX, SCROW &nClipY, bool bIncludeFiltered)
 
void GetClipStart (SCCOL &nClipX, SCROW &nClipY)
 
bool HasClipFilteredRows ()
 
bool IsClipboardSource () const
 
SC_DLLPUBLIC void TransposeClip (ScDocument *pTransClip, InsertDeleteFlags nFlags, bool bAsLink, bool bIncludeFiltered)
 
ScClipParamGetClipParam ()
 
void SetClipParam (const ScClipParam &rParam)
 
void ClosingClipboardSource ()
 To be called at the clipboard document when closing a document that is the current clipboard source to decouple things from the originating document. More...
 
void MixDocument (const ScRange &rRange, ScPasteFunc nFunction, bool bSkipEmpty, ScDocument &rSrcDoc)
 
void FillTab (const ScRange &rSrcArea, const ScMarkData &rMark, InsertDeleteFlags nFlags, ScPasteFunc nFunction, bool bSkipEmpty, bool bAsLink)
 
void FillTabMarked (SCTAB nSrcTab, const ScMarkData &rMark, InsertDeleteFlags nFlags, ScPasteFunc nFunction, bool bSkipEmpty, bool bAsLink)
 
void TransliterateText (const ScMarkData &rMultiMark, TransliterationFlags nType)
 
SC_DLLPUBLIC void InitUndo (const ScDocument &rSrcDoc, SCTAB nTab1, SCTAB nTab2, bool bColInfo=false, bool bRowInfo=false)
 
void AddUndoTab (SCTAB nTab1, SCTAB nTab2, bool bColInfo=false, bool bRowInfo=false)
 
SC_DLLPUBLIC void InitUndoSelected (const ScDocument &rSrcDoc, const ScMarkData &rTabSelection, bool bColInfo=false, bool bRowInfo=false)
 
void CopyToDocument (SCCOL nCol1, SCROW nRow1, SCTAB nTab1, SCCOL nCol2, SCROW nRow2, SCTAB nTab2, InsertDeleteFlags nFlags, bool bMarked, ScDocument &rDestDoc, const ScMarkData *pMarks=nullptr, bool bColRowFlags=true)
 
void UndoToDocument (SCCOL nCol1, SCROW nRow1, SCTAB nTab1, SCCOL nCol2, SCROW nRow2, SCTAB nTab2, InsertDeleteFlags nFlags, bool bMarked, ScDocument &rDestDoc)
 
SC_DLLPUBLIC void CopyToDocument (const ScRange &rRange, InsertDeleteFlags nFlags, bool bMarked, ScDocument &rDestDoc, const ScMarkData *pMarks=nullptr, bool bColRowFlags=true)
 
void UndoToDocument (const ScRange &rRange, InsertDeleteFlags nFlags, bool bMarked, ScDocument &rDestDoc)
 
void CopyScenario (SCTAB nSrcTab, SCTAB nDestTab, bool bNewScenario=false)
 
bool TestCopyScenario (SCTAB nSrcTab, SCTAB nDestTab) const
 
void MarkScenario (SCTAB nSrcTab, SCTAB nDestTab, ScMarkData &rDestMark, bool bResetMark=true, ScScenarioFlags nNeededBits=ScScenarioFlags::NONE) const
 
bool HasScenarioRange (SCTAB nTab, const ScRange &rRange) const
 
SC_DLLPUBLIC const ScRangeListGetScenarioRanges (SCTAB nTab) const
 
SC_DLLPUBLIC void CopyUpdated (ScDocument *pPosDoc, ScDocument *pDestDoc)
 From this document this method copies the cells of positions at which there are also cells in pPosDoc to pDestDoc. More...
 
void UpdateReference (sc::RefUpdateContext &rCxt, ScDocument *pUndoDoc=nullptr, bool bIncludeDraw=true, bool bUpdateNoteCaptionPos=true)
 
SC_DLLPUBLIC void UpdateTranspose (const ScAddress &rDestPos, ScDocument *pClipDoc, const ScMarkData &rMark, ScDocument *pUndoDoc)
 
void UpdateGrow (const ScRange &rArea, SCCOL nGrowX, SCROW nGrowY)
 
SC_DLLPUBLIC void Fill (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, ScProgress *pProgress, const ScMarkData &rMark, sal_uInt64 nFillCount, FillDir eFillDir=FILL_TO_BOTTOM, FillCmd eFillCmd=FILL_LINEAR, FillDateCmd eFillDateCmd=FILL_DAY, double nStepValue=1.0, double nMaxValue=1E307)
 
OUString GetAutoFillPreview (const ScRange &rSource, SCCOL nEndX, SCROW nEndY)
 
bool GetSelectionFunction (ScSubTotalFunc eFunc, const ScAddress &rCursor, const ScMarkData &rMark, double &rResult)
 
SC_DLLPUBLIC const SfxPoolItemGetAttr (SCCOL nCol, SCROW nRow, SCTAB nTab, sal_uInt16 nWhich) const
 
template<class T >
const T * GetAttr (SCCOL nCol, SCROW nRow, SCTAB nTab, TypedWhichId< T > nWhich) const
 
SC_DLLPUBLIC const SfxPoolItemGetAttr (SCCOL nCol, SCROW nRow, SCTAB nTab, sal_uInt16 nWhich, SCROW &nStartRow, SCROW &nEndRow) const
 
template<class T >
const T * GetAttr (SCCOL nCol, SCROW nRow, SCTAB nTab, TypedWhichId< T > nWhich, SCROW &nStartRow, SCROW &nEndRow) const
 
SC_DLLPUBLIC const SfxPoolItemGetAttr (const ScAddress &rPos, sal_uInt16 nWhich) const
 
template<class T >
const T * GetAttr (const ScAddress &rPos, TypedWhichId< T > nWhich) const
 
SC_DLLPUBLIC const ScPatternAttrGetPattern (SCCOL nCol, SCROW nRow, SCTAB nTab) const
 
SC_DLLPUBLIC const ScPatternAttrGetPattern (const ScAddress &rPos) const
 
SC_DLLPUBLIC const ScPatternAttrGetMostUsedPattern (SCCOL nCol, SCROW nStartRow, SCROW nEndRow, SCTAB nTab) const
 
const ScPatternAttrGetSelectionPattern (const ScMarkData &rMark)
 
std::unique_ptr< ScPatternAttrCreateSelectionPattern (const ScMarkData &rMark, bool bDeep=true)
 
SC_DLLPUBLIC void AddCondFormatData (const ScRangeList &rRange, SCTAB nTab, sal_uInt32 nIndex)
 
void RemoveCondFormatData (const ScRangeList &rRange, SCTAB nTab, sal_uInt32 nIndex)
 
SC_DLLPUBLIC ScConditionalFormatGetCondFormat (SCCOL nCol, SCROW nRow, SCTAB nTab) const
 
SC_DLLPUBLIC const SfxItemSetGetCondResult (SCCOL nCol, SCROW nRow, SCTAB nTab, ScRefCellValue *pCell=nullptr) const
 
const SfxItemSetGetCondResult (ScRefCellValue &rCell, const ScAddress &rPos, const ScConditionalFormatList &rList, const ScCondFormatIndexes &rIndex) const
 
const SfxPoolItemGetEffItem (SCCOL nCol, SCROW nRow, SCTAB nTab, sal_uInt16 nWhich) const
 
template<class T >
const T * GetEffItem (SCCOL nCol, SCROW nRow, SCTAB nTab, TypedWhichId< T > nWhich) const
 
SC_DLLPUBLIC const css::uno::Reference< css::i18n::XBreakIterator > & GetBreakIterator ()
 
bool HasStringWeakCharacters (const OUString &rString)
 
SC_DLLPUBLIC SvtScriptType GetStringScriptType (const OUString &rString)
 
SC_DLLPUBLIC SvtScriptType GetCellScriptType (const ScAddress &rPos, sal_uInt32 nNumberFormat, const ScRefCellValue *pCell=nullptr)
 
SC_DLLPUBLIC SvtScriptType GetScriptType (SCCOL nCol, SCROW nRow, SCTAB nTab, const ScRefCellValue *pCell=nullptr)
 
SvtScriptType GetRangeScriptType (sc::ColumnBlockPosition &rBlockPos, const ScAddress &rPos, SCROW nLength)
 
SvtScriptType GetRangeScriptType (const ScRangeList &rRanges)
 
bool HasDetectiveOperations () const
 
void AddDetectiveOperation (const ScDetOpData &rData)
 
void ClearDetectiveOperations ()
 
ScDetOpListGetDetOpList () const
 
void SetDetOpList (std::unique_ptr< ScDetOpList > pNew)
 
bool HasDetectiveObjects (SCTAB nTab) const
 
void GetSelectionFrame (const ScMarkData &rMark, SvxBoxItem &rLineOuter, SvxBoxInfoItem &rLineInner)
 
void ApplySelectionFrame (const ScMarkData &rMark, const SvxBoxItem &rLineOuter, const SvxBoxInfoItem *pLineInner)
 
void ApplyFrameAreaTab (const ScRange &rRange, const SvxBoxItem &rLineOuter, const SvxBoxInfoItem &rLineInner)
 
void ClearSelectionItems (const sal_uInt16 *pWhich, const ScMarkData &rMark)
 
void ChangeSelectionIndent (bool bIncrement, const ScMarkData &rMark)
 
SC_DLLPUBLIC sal_uLong AddCondFormat (std::unique_ptr< ScConditionalFormat > pNew, SCTAB nTab)
 
void DeleteConditionalFormat (sal_uLong nIndex, SCTAB nTab)
 
void SetCondFormList (ScConditionalFormatList *pList, SCTAB nTab)
 
SC_DLLPUBLIC sal_uLong AddValidationEntry (const ScValidationData &rNew)
 
SC_DLLPUBLIC const ScValidationDataGetValidationEntry (sal_uInt32 nIndex) const
 
SC_DLLPUBLIC ScConditionalFormatListGetCondFormList (SCTAB nTab) const
 
const ScValidationDataListGetValidationList () const
 
ScValidationDataListGetValidationList ()
 
SC_DLLPUBLIC void ApplyAttr (SCCOL nCol, SCROW nRow, SCTAB nTab, const SfxPoolItem &rAttr)
 
SC_DLLPUBLIC void ApplyPattern (SCCOL nCol, SCROW nRow, SCTAB nTab, const ScPatternAttr &rAttr)
 
SC_DLLPUBLIC void ApplyPatternArea (SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, const ScMarkData &rMark, const ScPatternAttr &rAttr, ScEditDataArray *pDataArray=nullptr, bool *const pIsChanged=nullptr)
 
SC_DLLPUBLIC void ApplyPatternAreaTab (SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, SCTAB nTab, const ScPatternAttr &rAttr)
 
SC_DLLPUBLIC void ApplyPatternIfNumberformatIncompatible (const ScRange &rRange, const ScMarkData &rMark, const ScPatternAttr &rPattern, SvNumFormatType nNewType)
 
void ApplyStyle (SCCOL nCol, SCROW nRow, SCTAB nTab, const ScStyleSheet &rStyle)
 
void ApplyStyleArea (SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, const ScMarkData &rMark, const ScStyleSheet &rStyle)
 
SC_DLLPUBLIC void ApplyStyleAreaTab (SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, SCTAB nTab, const ScStyleSheet &rStyle)
 
SC_DLLPUBLIC void ApplySelectionStyle (const ScStyleSheet &rStyle, const ScMarkData &rMark)
 
void ApplySelectionLineStyle (const ScMarkData &rMark, const ::editeng::SvxBorderLine *pLine, bool bColorOnly)
 
const ScStyleSheetGetStyle (SCCOL nCol, SCROW nRow, SCTAB nTab) const
 
const ScStyleSheetGetSelectionStyle (const ScMarkData &rMark) 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
 
SC_DLLPUBLIC bool ApplyFlagsTab (SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, SCTAB nTab, ScMF nFlags)
 
SC_DLLPUBLIC bool RemoveFlagsTab (SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, SCTAB nTab, ScMF nFlags)
 
SC_DLLPUBLIC void SetPattern (const ScAddress &, const ScPatternAttr &rAttr)
 
SC_DLLPUBLIC const ScPatternAttrSetPattern (SCCOL nCol, SCROW nRow, SCTAB nTab, std::unique_ptr< ScPatternAttr > pAttr)
 
SC_DLLPUBLIC const ScPatternAttrSetPattern (const ScAddress &rPos, std::unique_ptr< ScPatternAttr > pAttr)
 
SC_DLLPUBLIC void SetPattern (SCCOL nCol, SCROW nRow, SCTAB nTab, const ScPatternAttr &rAttr)
 
void AutoFormat (SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, sal_uInt16 nFormatNo, const ScMarkData &rMark)
 
void GetAutoFormatData (SCTAB nTab, SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, ScAutoFormatData &rData)
 
bool SearchAndReplace (const SvxSearchItem &rSearchItem, SCCOL &rCol, SCROW &rRow, SCTAB &rTab, const ScMarkData &rMark, ScRangeList &rMatchedRanges, OUString &rUndoStr, ScDocument *pUndoDoc, bool &bMatchedRangesWereClamped)
 
void GetSearchAndReplaceStart (const SvxSearchItem &rSearchItem, SCCOL &rCol, SCROW &rRow)
 
bool Solver (SCCOL nFCol, SCROW nFRow, SCTAB nFTab, SCCOL nVCol, SCROW nVRow, SCTAB nVTab, const OUString &sValStr, double &nX)
 (Goal Seek) Find a value of x that is a root of f(x) More...
 
SC_DLLPUBLIC void ApplySelectionPattern (const ScPatternAttr &rAttr, const ScMarkData &rMark, ScEditDataArray *pDataArray=nullptr, bool *pIsChanged=nullptr)
 
SC_DLLPUBLIC void DeleteSelection (InsertDeleteFlags nDelFlag, const ScMarkData &rMark, bool bBroadcast=true)
 
void DeleteSelectionTab (SCTAB nTab, InsertDeleteFlags nDelFlag, const ScMarkData &rMark)
 
SC_DLLPUBLIC void SetColWidth (SCCOL nCol, SCTAB nTab, sal_uInt16 nNewWidth)
 
SC_DLLPUBLIC void SetColWidthOnly (SCCOL nCol, SCTAB nTab, sal_uInt16 nNewWidth)
 
SC_DLLPUBLIC void SetRowHeight (SCROW nRow, SCTAB nTab, sal_uInt16 nNewHeight)
 
SC_DLLPUBLIC void SetRowHeightRange (SCROW nStartRow, SCROW nEndRow, SCTAB nTab, sal_uInt16 nNewHeight)
 
SC_DLLPUBLIC void SetRowHeightOnly (SCROW nStartRow, SCROW nEndRow, SCTAB nTab, sal_uInt16 nNewHeight)
 
SC_DLLPUBLIC void SetManualHeight (SCROW nStartRow, SCROW nEndRow, SCTAB nTab, bool bManual)
 
SC_DLLPUBLIC sal_uInt16 GetColWidth (SCCOL nCol, SCTAB nTab, bool bHiddenAsZero=true) const
 
SC_DLLPUBLIC tools::Long GetColWidth (SCCOL nStartCol, SCCOL nEndCol, SCTAB nTab) const
 
SC_DLLPUBLIC sal_uInt16 GetRowHeight (SCROW nRow, SCTAB nTab, bool bHiddenAsZero=true) const
 
SC_DLLPUBLIC sal_uInt16 GetRowHeight (SCROW nRow, SCTAB nTab, SCROW *pStartRow, SCROW *pEndRow, bool bHiddenAsZero=true) const
 
SC_DLLPUBLIC tools::Long GetRowHeight (SCROW nStartRow, SCROW nEndRow, SCTAB nTab, bool bHiddenAsZero=true) const
 
SCROW GetRowForHeight (SCTAB nTab, tools::Long nHeight) const
 Given the height i.e. More...
 
tools::Long GetScaledRowHeight (SCROW nStartRow, SCROW nEndRow, SCTAB nTab, double fScale) const
 
SC_DLLPUBLIC tools::Long GetColOffset (SCCOL nCol, SCTAB nTab, bool bHiddenAsZero=true) const
 
SC_DLLPUBLIC tools::Long GetRowOffset (SCROW nRow, SCTAB nTab, bool bHiddenAsZero=true) const
 
SC_DLLPUBLIC sal_uInt16 GetOriginalWidth (SCCOL nCol, SCTAB nTab) const
 
SC_DLLPUBLIC sal_uInt16 GetOriginalHeight (SCROW nRow, SCTAB nTab) const
 
sal_uInt16 GetCommonWidth (SCCOL nEndCol, SCTAB nTab) const
 
SCROW GetHiddenRowCount (SCROW nRow, SCTAB nTab) const
 
sal_uInt16 GetOptimalColWidth (SCCOL nCol, SCTAB nTab, OutputDevice *pDev, double nPPTX, double nPPTY, const Fraction &rZoomX, const Fraction &rZoomY, bool bFormula, const ScMarkData *pMarkData=nullptr, const ScColWidthParam *pParam=nullptr)
 
SC_DLLPUBLIC bool SetOptimalHeight (sc::RowHeightContext &rCxt, SCROW nStartRow, SCROW nEndRow, SCTAB nTab, bool bApi)
 
void UpdateAllRowHeights (sc::RowHeightContext &rCxt, const ScMarkData *pTabMark)
 
tools::Long GetNeededSize (SCCOL nCol, SCROW nRow, SCTAB nTab, OutputDevice *pDev, double nPPTX, double nPPTY, const Fraction &rZoomX, const Fraction &rZoomY, bool bWidth, bool bTotalSize=false, bool bInPrintTwips=false)
 
SC_DLLPUBLIC void ShowCol (SCCOL nCol, SCTAB nTab, bool bShow)
 
SC_DLLPUBLIC void ShowRow (SCROW nRow, SCTAB nTab, bool bShow)
 
SC_DLLPUBLIC void ShowRows (SCROW nRow1, SCROW nRow2, SCTAB nTab, bool bShow)
 
SC_DLLPUBLIC void SetRowFlags (SCROW nRow, SCTAB nTab, CRFlags nNewFlags)
 
SC_DLLPUBLIC void SetRowFlags (SCROW nStartRow, SCROW nEndRow, SCTAB nTab, CRFlags nNewFlags)
 
SC_DLLPUBLIC CRFlags GetColFlags (SCCOL nCol, SCTAB nTab) const
 
SC_DLLPUBLIC CRFlags GetRowFlags (SCROW nRow, SCTAB nTab) const
 
SC_DLLPUBLIC void GetAllRowBreaks (std::set< SCROW > &rBreaks, SCTAB nTab, bool bPage, bool bManual) const
 
SC_DLLPUBLIC void GetAllColBreaks (std::set< SCCOL > &rBreaks, SCTAB nTab, bool bPage, bool bManual) const
 
SC_DLLPUBLIC ScBreakType HasRowBreak (SCROW nRow, SCTAB nTab) const
 
SC_DLLPUBLIC ScBreakType HasColBreak (SCCOL nCol, SCTAB nTab) const
 
SC_DLLPUBLIC void SetRowBreak (SCROW nRow, SCTAB nTab, bool bPage, bool bManual)
 
SC_DLLPUBLIC void SetColBreak (SCCOL nCol, SCTAB nTab, bool bPage, bool bManual)
 
void RemoveRowBreak (SCROW nRow, SCTAB nTab, bool bPage, bool bManual)
 
void RemoveColBreak (SCCOL nCol, SCTAB nTab, bool bPage, bool bManual)
 
css::uno::Sequence< css::sheet::TablePageBreakData > GetRowBreakData (SCTAB nTab) const
 
SC_DLLPUBLIC bool RowHidden (SCROW nRow, SCTAB nTab, SCROW *pFirstRow=nullptr, SCROW *pLastRow=nullptr) const
 
SC_DLLPUBLIC bool HasHiddenRows (SCROW nStartRow, SCROW nEndRow, SCTAB nTab) const
 
SC_DLLPUBLIC bool ColHidden (SCCOL nCol, SCTAB nTab, SCCOL *pFirstCol=nullptr, SCCOL *pLastCol=nullptr) const
 
SC_DLLPUBLIC void SetRowHidden (SCROW nStartRow, SCROW nEndRow, SCTAB nTab, bool bHidden)
 
SC_DLLPUBLIC void SetColHidden (SCCOL nStartCol, SCCOL nEndCol, SCTAB nTab, bool bHidden)
 
SC_DLLPUBLIC SCROW FirstVisibleRow (SCROW nStartRow, SCROW nEndRow, SCTAB nTab) const
 
SC_DLLPUBLIC SCROW LastVisibleRow (SCROW nStartRow, SCROW nEndRow, SCTAB nTab) const
 
SCROW CountVisibleRows (SCROW nStartRow, SCROW nEndRow, SCTAB nTab) const
 
SC_DLLPUBLIC bool RowFiltered (SCROW nRow, SCTAB nTab, SCROW *pFirstRow=nullptr, SCROW *pLastRow=nullptr) const
 
bool HasFilteredRows (SCROW nStartRow, SCROW nEndRow, SCTAB nTab) const
 
bool ColFiltered (SCCOL nCol, SCTAB nTab) const
 
SC_DLLPUBLIC void SetRowFiltered (SCROW nStartRow, SCROW nEndRow, SCTAB nTab, bool bFiltered)
 
SCROW FirstNonFilteredRow (SCROW nStartRow, SCROW nEndRow, SCTAB nTab) const
 
SCROW LastNonFilteredRow (SCROW nStartRow, SCROW nEndRow, SCTAB nTab) const
 
SCROW CountNonFilteredRows (SCROW nStartRow, SCROW nEndRow, SCTAB nTab) const
 
SC_DLLPUBLIC bool IsManualRowHeight (SCROW nRow, SCTAB nTab) const
 
bool HasUniformRowHeight (SCTAB nTab, SCROW nRow1, SCROW nRow2) const
 
void SyncColRowFlags ()
 Write all column row flags to table's flag data, because not all column row attributes are stored in the flag data members. More...
 
SC_DLLPUBLIC SCROW GetLastFlaggedRow (SCTAB nTab) const
 
SCCOL GetLastChangedColFlagsWidth (SCTAB nTab) const
 
SCROW GetLastChangedRowFlagsWidth (SCTAB nTab) const
 
SCCOL GetNextDifferentChangedColFlagsWidth (SCTAB nTab, SCCOL nStart) const
 
SCROW GetNextDifferentChangedRowFlagsWidth (SCTAB nTab, SCROW nStart) const
 
void GetColDefault (SCTAB nTab, SCCOL nCol, SCROW nLastRow, SCROW &nDefault)
 
bool UpdateOutlineCol (SCCOL nStartCol, SCCOL nEndCol, SCTAB nTab, bool bShow)
 Adapt Outline. More...
 
bool UpdateOutlineRow (SCROW nStartRow, SCROW nEndRow, SCTAB nTab, bool bShow)
 
void StripHidden (SCCOL &rX1, SCROW &rY1, SCCOL &rX2, SCROW &rY2, SCTAB nTab)
 
void ExtendHidden (SCCOL &rX1, SCROW &rY1, SCCOL &rX2, SCROW &rY2, SCTAB nTab)
 
SC_DLLPUBLIC ScPatternAttrGetDefPattern () const
 
SC_DLLPUBLIC ScDocumentPoolGetPool ()
 
SC_DLLPUBLIC ScStyleSheetPoolGetStyleSheetPool () const
 
void GetUnprotectedCells (ScRangeList &rRange, SCTAB nTab) const
 
SC_DLLPUBLIC OUString GetPageStyle (SCTAB nTab) const
 
SC_DLLPUBLIC void SetPageStyle (SCTAB nTab, const OUString &rName)
 
Size GetPageSize (SCTAB nTab) const
 
void SetPageSize (SCTAB nTab, const Size &rSize)
 
void SetRepeatArea (SCTAB nTab, SCCOL nStartCol, SCCOL nEndCol, SCROW nStartRow, SCROW nEndRow)
 
void InvalidatePageBreaks (SCTAB nTab)
 
void UpdatePageBreaks (SCTAB nTab, const ScRange *pUserArea=nullptr)
 
void RemoveManualBreaks (SCTAB nTab)
 
bool HasManualBreaks (SCTAB nTab) const
 
bool IsPageStyleInUse (std::u16string_view rStrPageStyle, SCTAB *pInTab)
 
bool RemovePageStyleInUse (std::u16string_view rStrPageStyle)
 
bool RenamePageStyleInUse (std::u16string_view rOld, const OUString &rNew)
 
void ModifyStyleSheet (SfxStyleSheetBase &rPageStyle, const SfxItemSet &rChanges)
 
void PageStyleModified (SCTAB nTab, const OUString &rNewName)
 
SC_DLLPUBLIC bool NeedPageResetAfterTab (SCTAB nTab) const
 
SC_DLLPUBLIC bool HasPrintRange ()
 
SC_DLLPUBLIC sal_uInt16 GetPrintRangeCount (SCTAB nTab)
 
SC_DLLPUBLIC const ScRangeGetPrintRange (SCTAB nTab, sal_uInt16 nPos)
 
SC_DLLPUBLIC std::optional< ScRangeGetRepeatColRange (SCTAB nTab)
 
SC_DLLPUBLIC std::optional< ScRangeGetRepeatRowRange (SCTAB nTab)
 
bool IsPrintEntireSheet (SCTAB nTab) const
 Returns true, if the specified sheet is always printed. More...
 
SC_DLLPUBLIC void ClearPrintRanges (SCTAB nTab)
 Removes all print ranges. More...
 
SC_DLLPUBLIC void AddPrintRange (SCTAB nTab, const ScRange &rNew)
 Adds a new print ranges. More...
 
SC_DLLPUBLIC void SetPrintEntireSheet (SCTAB nTab)
 Marks the specified sheet to be printed completely. More...
 
SC_DLLPUBLIC void SetRepeatColRange (SCTAB nTab, std::optional< ScRange > oNew)
 
SC_DLLPUBLIC void SetRepeatRowRange (SCTAB nTab, std::optional< ScRange > oNew)
 
std::unique_ptr< ScPrintRangeSaverCreatePrintRangeSaver () const
 
void RestorePrintRanges (const ScPrintRangeSaver &rSaver)
 
SC_DLLPUBLIC tools::Rectangle GetMMRect (SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, SCTAB nTab, bool bHiddenAsZero=true) const
 
SC_DLLPUBLIC ScRange GetRange (SCTAB nTab, const tools::Rectangle &rMMRect, bool bHiddenAsZero=true) const
 
void UpdStlShtPtrsFrmNms ()
 
void StylesToNames ()
 
SC_DLLPUBLIC void CopyStdStylesFrom (const ScDocument &rSrcDoc)
 
void SetSrcCharSet (rtl_TextEncoding eNew)
 
void UpdateFontCharSet ()
 
void FillInfo (ScTableInfo &rTabInfo, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, SCTAB nTab, double fColScale, double fRowScale, bool bPageMode, bool bFormulaMode, const ScMarkData *pMarkData=nullptr)
 
SC_DLLPUBLIC SvNumberFormatterGetFormatTable () const
 
void Sort (SCTAB nTab, 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 PrepareQuery (SCTAB nTab, ScQueryParam &rQueryParam)
 
SCSIZE Query (SCTAB nTab, const ScQueryParam &rQueryParam, bool bKeepSub)
 
SC_DLLPUBLIC bool CreateQueryParam (const ScRange &rRange, ScQueryParam &rQueryParam)
 
OUString GetUpperCellString (SCCOL nCol, SCROW nRow, SCTAB nTab)
 
void GetFilterEntries (SCCOL nCol, SCROW nRow, SCTAB nTab, ScFilterEntries &rFilterEntries)
 Get a list of unique strings to use in filtering criteria. More...
 
SC_DLLPUBLIC void GetFilterEntriesArea (SCCOL nCol, SCROW nStartRow, SCROW nEndRow, SCTAB nTab, bool bCaseSens, ScFilterEntries &rFilterEntries)
 Entries for Filter dialog. More...
 
void GetDataEntries (SCCOL nCol, SCROW nRow, SCTAB nTab, std::vector< ScTypedStrData > &rStrings, bool bValidation=false)
 Entries for selection list listbox (no numbers/formulas) More...
 
void GetFormulaEntries (ScTypedCaseStrSet &rStrings)
 Entries for Formula auto input. More...
 
bool HasAutoFilter (SCCOL nCol, SCROW nRow, SCTAB nTab)
 
void GetFilterSelCount (SCCOL nCol, SCROW nRow, SCTAB nTab, SCSIZE &nSelected, SCSIZE &nTotal)
 
SC_DLLPUBLIC bool HasColHeader (SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, SCTAB nTab)
 
SC_DLLPUBLIC bool HasRowHeader (SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, SCTAB nTab)
 
SfxPrinterGetPrinter (bool bCreateIfNotExist=true)
 
void SetPrinter (VclPtr< SfxPrinter > const &pNewPrinter)
 
VirtualDeviceGetVirtualDevice_100th_mm ()
 
SC_DLLPUBLIC OutputDeviceGetRefDevice ()
 
bool GetNextSpellingCell (SCCOL &nCol, SCROW &nRow, SCTAB nTab, bool bInSel, const ScMarkData &rMark) const
 
void ReplaceStyle (const SvxSearchItem &rSearchItem, SCCOL nCol, SCROW nRow, SCTAB nTab, const ScMarkData &rMark)
 
void InvalidateTextWidth (std::u16string_view rStyleName)
 
void InvalidateTextWidth (SCTAB nTab)
 
void InvalidateTextWidth (const ScAddress *pAdrFrom, const ScAddress *pAdrTo, bool bNumFormatChanged)
 
bool IdleCalcTextWidth ()
 
void RepaintRange (const ScRange &rRange)
 
void RepaintRange (const ScRangeList &rRange)
 
bool IsIdleEnabled () const
 
void EnableIdle (bool bDo)
 
bool IsDetectiveDirty () const
 
void SetDetectiveDirty (bool bSet)
 
bool HasLinkFormulaNeedingCheck () const
 
void SetLinkFormulaNeedingCheck (bool bSet)
 
SC_DLLPUBLIC void CheckLinkFormulaNeedingCheck (const ScTokenArray &rCode)
 Check token array and set link check if ocDde/ocWebservice is contained. More...
 
void SetRangeOverflowType (ErrCode nType)
 
bool HasRangeOverflow () const
 
SC_DLLPUBLIC const ErrCodeGetRangeOverflowType () const
 
void SetInsertingFromOtherDoc (bool bVal)
 
bool IsInsertingFromOtherDoc () const
 
void SetLoadingMedium (bool bVal)
 
SC_DLLPUBLIC void SetImportingXML (bool bVal)
 
bool IsImportingXML () const
 
bool IsCalcingAfterLoad () const
 
void SetNoListening (bool bVal)
 
bool GetNoListening () const
 
ScBroadcastAreaSlotMachineGetBASM () const
 
SC_DLLPUBLIC ScChartListenerCollectionGetChartListenerCollection () const
 
void SetChartListenerCollection (std::unique_ptr< ScChartListenerCollection >, bool bSetChartRangeLists)
 
void UpdateChart (const OUString &rName)
 
void RestoreChartListener (const OUString &rName)
 
SC_DLLPUBLIC void UpdateChartListenerCollection ()
 
bool IsChartListenerCollectionNeedsUpdate () const
 
void SetChartListenerCollectionNeedsUpdate (bool bFlg)
 
void AddOLEObjectToCollection (const OUString &rName)
 
ScChangeViewSettingsGetChangeViewSettings () const
 
SC_DLLPUBLIC void SetChangeViewSettings (const ScChangeViewSettings &rNew)
 
const std::shared_ptr< SvxForbiddenCharactersTable > & GetForbiddenCharacters () const
 
void SetForbiddenCharacters (const std::shared_ptr< SvxForbiddenCharactersTable > &rNew)
 
CharCompressType GetAsianCompression () const
 
bool IsValidAsianCompression () const
 
void SetAsianCompression (CharCompressType nNew)
 
bool GetAsianKerning () const
 
bool IsValidAsianKerning () const
 
void SetAsianKerning (bool bNew)
 
void ApplyAsianEditSettings (ScEditEngineDefaulter &rEngine)
 
EEHorizontalTextDirection GetEditTextDirection (SCTAB nTab) const
 
SC_DLLPUBLIC ScLkUpdMode GetLinkMode () const
 
void SetLinkMode (ScLkUpdMode nSet)
 
SC_DLLPUBLIC ScMacroManagerGetMacroManager ()
 
void FillMatrix (ScMatrix &rMat, SCTAB nTab, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, svl::SharedStringPool *pPool=nullptr) const
 
void SC_DLLPUBLIC SetFormulaResults (const ScAddress &rTopPos, const double *pResults, size_t nLen)
 Set an array of numerical formula results to a group of contiguous formula cells. More...
 
void CalculateInColumnInThread (ScInterpreterContext &rContext, const ScRange &rCalcRange, unsigned nThisThread, unsigned nThreadsTotal)
 
void HandleStuffAfterParallelCalculation (SCCOL nColStart, SCCOL nColEnd, SCROW nRow, size_t nLen, SCTAB nTab, ScInterpreter *pInterpreter)
 
void TransferCellValuesTo (const ScAddress &rTopPos, size_t nLen, sc::CellValues &rDest)
 Transfer a series of contiguous cell values from specified position to the passed container. More...
 
void CopyCellValuesFrom (const ScAddress &rTopPos, const sc::CellValues &rSrc)
 
std::set< ColorGetDocColors ()
 
sc::IconSetBitmapMapGetIconSetBitmapMap ()
 
std::set< SCCOLQueryColumnsWithFormulaCells (SCTAB nTab) const
 
void CheckIntegrity (SCTAB nTab) const
 Check the integrity of the internal table state. More...
 
void StartListeningArea (const ScRange &rRange, bool bGroupListening, SvtListener *pListener)
 
void EndListeningArea (const ScRange &rRange, bool bGroupListening, SvtListener *pListener)
 
void Broadcast (const ScHint &rHint)
 Broadcast wrapper, calls rHint.GetCell()->Broadcast() and AreaBroadcast() and TrackFormulas() Preferred. More...
 
void BroadcastCells (const ScRange &rRange, SfxHintId nHint, bool bBroadcastSingleBroadcasters=true)
 
void AreaBroadcast (const ScHint &rHint)
 only area, no cell broadcast More...
 
void DelBroadcastAreasInRange (const ScRange &rRange)
 
void UpdateBroadcastAreas (UpdateRefMode eUpdateRefMode, const ScRange &rRange, SCCOL nDx, SCROW nDy, SCTAB nDz)
 
void StartListeningCell (const ScAddress &rAddress, SvtListener *pListener)
 
void EndListeningCell (const ScAddress &rAddress, SvtListener *pListener)
 
void StartListeningCell (sc::StartListeningContext &rCxt, const ScAddress &rPos, SvtListener &rListener)
 
void EndListeningCell (sc::EndListeningContext &rCxt, const ScAddress &rPos, SvtListener &rListener)
 
void EndListeningFormulaCells (std::vector< ScFormulaCell * > &rCells)
 
sc::BroadcasterState GetBroadcasterState () const
 
void PutInFormulaTree (ScFormulaCell *pCell)
 
void RemoveFromFormulaTree (ScFormulaCell *pCell)
 
SC_DLLPUBLIC void CalcFormulaTree (bool bOnlyForced=false, bool bProgressBar=true, bool bSetAllDirty=true)
 Calculate formula cells that are on the formula tree either partially, or in full. More...
 
void ClearFormulaTree ()
 
void AppendToFormulaTrack (ScFormulaCell *pCell)
 
void RemoveFromFormulaTrack (ScFormulaCell *pCell)
 
void TrackFormulas (SfxHintId nHintId=SfxHintId::ScDataChanged)
 
void SetTrackFormulasPending ()
 
bool IsTrackFormulasPending () const
 
void FinalTrackFormulas (SfxHintId nHintId)
 
bool IsFinalTrackFormulas () const
 
bool IsInFormulaTree (const ScFormulaCell *pCell) const
 
bool IsInFormulaTrack (const ScFormulaCell *pCell) const
 
HardRecalcState GetHardRecalcState () const
 
void SetHardRecalcState (HardRecalcState eVal)
 
void StartAllListeners ()
 
void StartNeededListeners ()
 
void StartNeededListeners (const std::shared_ptr< const sc::ColumnSet > &rpColSet)
 
SC_DLLPUBLIC void StartAllListeners (const ScRange &rRange)
 
void SetForcedFormulas (bool bVal)
 
sal_uInt64 GetFormulaCodeInTree () const
 
bool IsInInterpreter () const
 
void IncInterpretLevel ()
 
void DecInterpretLevel ()
 
sal_uInt16 GetMacroInterpretLevel () const
 
void IncMacroInterpretLevel ()
 
void DecMacroInterpretLevel ()
 
bool IsInInterpreterTableOp () const
 
void IncInterpreterTableOpLevel ()
 
void DecInterpreterTableOpLevel ()
 
void AddTableOpFormulaCell (ScFormulaCell *)
 
void InvalidateLastTableOpParams ()
 
ScRecursionHelperGetRecursionHelper ()
 
bool IsInDtorClear () const
 
void SetExpandRefs (bool bVal)
 
bool IsExpandRefs () const
 
sal_uInt64 GetXMLImportedFormulaCount () const
 
void IncXMLImportedFormulaCount (sal_uInt64 nVal)
 
void DecXMLImportedFormulaCount (sal_uInt64 nVal)
 
void StartTrackTimer ()
 
void CompileDBFormula ()
 
void CompileColRowNameFormula ()
 
sal_Int32 GetMaxStringLen (SCTAB nTab, SCCOL nCol, SCROW nRowStart, SCROW nRowEnd, rtl_TextEncoding eCharSet) const
 Maximum string length of a column, e.g. More...
 
sal_Int32 GetMaxNumberStringLen (sal_uInt16 &nPrecision, SCTAB nTab, SCCOL nCol, SCROW nRowStart, SCROW nRowEnd) const
 Maximum string length of numerical cells of a column, e.g. More...
 
void KeyInput ()
 
ScChangeTrackGetChangeTrack () const
 
SC_DLLPUBLIC void SetChangeTrack (std::unique_ptr< ScChangeTrack > pTrack)
 only for import filter, deletes any existing ChangeTrack via EndChangeTracking() and takes ownership of new ChangeTrack pTrack More...
 
void StartChangeTracking ()
 
void EndChangeTracking ()
 
SC_DLLPUBLIC void CompareDocument (ScDocument &rOtherDoc)
 
void AddUnoObject (SfxListener &rObject)
 
void RemoveUnoObject (SfxListener &rObject)
 
void BroadcastUno (const SfxHint &rHint)
 
void AddUnoListenerCall (const css::uno::Reference< css::util::XModifyListener > &rListener, const css::lang::EventObject &rEvent)
 
void SetInLinkUpdate (bool bSet)
 
bool IsInLinkUpdate () const
 
SC_DLLPUBLIC SfxItemPoolGetEditPool () const
 
SC_DLLPUBLIC SfxItemPoolGetEnginePool () const
 
SC_DLLPUBLIC ScFieldEditEngineGetEditEngine ()
 
SC_DLLPUBLIC ScNoteEditEngineGetNoteEngine ()
 
std::unique_ptr< EditTextObjectCreateSharedStringTextObject (const svl::SharedString &rSS)
 
std::unique_ptr< ScRefreshTimerControl > const & GetRefreshTimerControlAddress () const
 
void SetPastingDrawFromOtherDoc (bool bVal)
 
bool PastingDrawFromOtherDoc () const
 
sal_uInt32 GetDocumentID () const
 an ID unique to each document instance More...
 
void InvalidateStyleSheetUsage ()
 
void SC_DLLPUBLIC GetSortParam (ScSortParam &rParam, SCTAB nTab)
 
void SC_DLLPUBLIC SetSortParam (const ScSortParam &rParam, SCTAB nTab)
 
void SetVbaEventProcessor (const css::uno::Reference< css::script::vba::XVBAEventProcessor > &rxVbaEvents)
 
const css::uno::Reference< css::script::vba::XVBAEventProcessor > & GetVbaEventProcessor () const
 
void SetStorageGrammar (formula::FormulaGrammar::Grammar eGrammar)
 Should only be GRAM_PODF or GRAM_ODFF. More...
 
formula::FormulaGrammar::Grammar GetStorageGrammar () const
 
SC_DLLPUBLIC ScUndoManagerGetUndoManager ()
 
bool IsInVBAMode () const
 
ScRowBreakIteratorGetRowBreakIterator (SCTAB nTab) const
 
void AddSubTotalCell (ScFormulaCell *pCell)
 
void RemoveSubTotalCell (ScFormulaCell *pCell)
 
void SetSubTotalCellsDirty (const ScRange &rDirtyRange)
 
sal_uInt16 GetTextWidth (const ScAddress &rPos) const
 
SvtScriptType GetScriptType (const ScAddress &rPos) const
 
void SetScriptType (const ScAddress &rPos, SvtScriptType nType)
 
void UpdateScriptTypes (const ScAddress &rPos, SCCOL nColSize, SCROW nRowSize)
 
void UnshareFormulaCells (SCTAB nTab, SCCOL nCol, std::vector< SCROW > &rRows)
 Make specified formula cells non-grouped. More...
 
void RegroupFormulaCells (SCTAB nTab, SCCOL nCol)
 
SC_DLLPUBLIC void RegroupFormulaCells (const ScRange &range)
 
formula::FormulaTokenRef ResolveStaticReference (const ScAddress &rPos)
 
formula::FormulaTokenRef ResolveStaticReference (const ScRange &rRange)
 
formula::VectorRefArray FetchVectorRefArray (const ScAddress &rPos, SCROW nLength)
 
bool HandleRefArrayForParallelism (const ScAddress &rPos, SCROW nLength, const ScFormulaCellGroupRef &mxGroup)
 
void AssertNoInterpretNeeded (const ScAddress &rPos, SCROW nLength)
 
void PrepareFormulaCalc ()
 Call this before any operations that might trigger one or more formula cells to get calculated. More...
 
SC_DLLPUBLIC bool EnsureFormulaCellResults (const ScRange &rRange, bool bSkipRunning=false)
 Make sure all of the formula cells in the specified range have been fully calculated. More...
 
SvtBroadcasterGetBroadcaster (const ScAddress &rPos)
 
const SvtBroadcasterGetBroadcaster (const ScAddress &rPos) const
 
void DeleteBroadcasters (sc::ColumnBlockPosition &rBlockPos, const ScAddress &rTopPos, SCROW nLength)
 
std::optional< sc::ColumnIteratorGetColumnIterator (SCTAB nTab, SCCOL nCol, SCROW nRow1, SCROW nRow2) const
 
void CreateColumnIfNotExists (SCTAB nTab, SCCOL nCol)
 
SC_DLLPUBLIC void StoreTabToCache (SCTAB nTab, SvStream &rStrm) const
 
SC_DLLPUBLIC void RestoreTabFromCache (SCTAB nTab, SvStream &rStream)
 
SC_DLLPUBLIC void DumpColumnStorage (SCTAB nTab, SCCOL nCol) const
 
SC_DLLPUBLIC void SetCalcConfig (const ScCalcConfig &rConfig)
 
const ScCalcConfigGetCalcConfig () const
 
void ConvertFormulaToValue (const ScRange &rRange, sc::TableValues *pUndo)
 
void SwapNonEmpty (sc::TableValues &rValues)
 
void finalizeOutlineImport ()
 
SC_DLLPUBLIC ScColumnsRange GetWritableColumnsRange (SCTAB nTab, SCCOL nColBegin, SCCOL nColEnd)
 
SC_DLLPUBLIC ScColumnsRange GetAllocatedColumnsRange (SCTAB nTab, SCCOL nColBegin, SCCOL nColEnd) const
 
SC_DLLPUBLIC ScColumnsRange GetColumnsRange (SCTAB nTab, SCCOL nColBegin, SCCOL nColEnd) const
 
bool IsInDocShellRecalc () const
 
void SetDocShellRecalc (bool bSet)
 
bool IsInLayoutStrings () const
 
void SetLayoutStrings (bool bSet)
 
OString dumpSheetGeomData (SCTAB nTab, bool bColumns, SheetGeomType eGeomType)
 Serializes the specified sheet's geometry data. More...
 
SCCOL GetLOKFreezeCol (SCTAB nTab) const
 
SCROW GetLOKFreezeRow (SCTAB nTab) const
 
bool SetLOKFreezeCol (SCCOL nFreezeCol, SCTAB nTab)
 
bool SetLOKFreezeRow (SCROW nFreezeRow, SCTAB nTab)
 
SC_DLLPUBLIC ScTableFetchTable (SCTAB nTab)
 
const ScTableFetchTable (SCTAB nTab) const
 
ScRefCellValue GetRefCellValue (const ScAddress &rPos)
 

Static Public Member Functions

static SC_DLLPUBLIC bool ValidTabName (const OUString &rName)
 
static bool IsChart (const SdrObject *pObject)
 
static bool IsEmptyCellSearch (const SvxSearchItem &rSearchItem)
 
static sal_uInt16 GetSrcVersion ()
 

Public Attributes

std::vector< ScInterpreterTableOpParams * > m_TableOpList
 list of ScInterpreterTableOpParams currently in use More...
 
ScInterpreterTableOpParams aLastTableOpParams
 

Private Types

typedef std::vector< ScTableUniquePtrTableContainer
 

Private Member Functions

 ScDocument (const ScDocument &r)=delete
 
void FindMaxRotCol (SCTAB nTab, RowInfo *pRowInfo, SCSIZE nArrCount, SCCOL nX1, SCCOL nX2) const
 
sal_uInt16 RowDifferences (SCROW nThisRow, SCTAB nThisTab, ScDocument &rOtherDoc, SCROW nOtherRow, SCTAB nOtherTab, SCCOL nMaxCol, const SCCOLROW *pOtherCols)
 
sal_uInt16 ColDifferences (SCCOL nThisCol, SCTAB nThisTab, ScDocument &rOtherDoc, SCCOL nOtherCol, SCTAB nOtherTab, SCROW nMaxRow, const SCCOLROW *pOtherRows)
 
void FindOrder (SCCOLROW *pOtherRows, SCCOLROW nThisEndRow, SCCOLROW nOtherEndRow, bool bColumns, ScDocument &rOtherDoc, SCTAB nThisTab, SCTAB nOtherTab, SCCOLROW nEndCol, const SCCOLROW *pTranslate, ScProgress *pProgress, sal_uInt64 nProAdd)
 
 DECL_LINK (TrackTimeHdl, Timer *, void)
 
bool LimitRangeToAvailableSheets (const ScRange &rRange, ScRange &o_rRange, bool &o_bEntirelyOutOfBounds) const
 Adjust a range to available sheets. More...
 
void MergeNumberFormatter (const ScDocument &rSrcDoc)
 
void ImplCreateOptions ()
 
void ImplDeleteOptions ()
 
SC_DLLPUBLIC bool DrawGetPrintArea (ScRange &rRange, bool bSetHor, bool bSetVer) const
 
void UpdateDrawPrinter ()
 
void UpdateDrawLanguages ()
 
SC_DLLPUBLIC void InitClipPtrs (ScDocument *pSourceDoc)
 
void LoadDdeLinks (SvStream &rStream)
 
void SaveDdeLinks (SvStream &rStream) const
 
void DeleteAreaLinksOnTab (SCTAB nTab)
 
void UpdateRefAreaLinks (UpdateRefMode eUpdateRefMode, const ScRange &r, SCCOL nDx, SCROW nDy, SCTAB nDz)
 
void CopyRangeNamesToClip (ScDocument *pClipDoc, const ScRange &rClipRange, const ScMarkData *pMarks)
 
bool HasPartOfMerged (const ScRange &rRange)
 
ScRefCellValue GetRefCellValue (const ScAddress &rPos, sc::ColumnBlockPosition &rBlockPos)
 
SCSIZE GetPatternCount (SCTAB nTab, SCCOL nCol) const
 
SCSIZE GetPatternCount (SCTAB nTab, SCCOL nCol, SCROW nRow1, SCROW nRow2) const
 
void ReservePatternCount (SCTAB nTab, SCCOL nCol, SCSIZE nReserve)
 
void SharePooledResources (const ScDocument *pSrcDoc)
 
void EndListeningIntersectedGroup (sc::EndListeningContext &rCxt, const ScAddress &rPos, std::vector< ScAddress > *pGroupPos)
 
void EndListeningIntersectedGroups (sc::EndListeningContext &rCxt, const ScRange &rRange, std::vector< ScAddress > *pGroupPos)
 
void EndListeningGroups (const std::vector< ScAddress > &rPosArray)
 
void SetNeedsListeningGroups (const std::vector< ScAddress > &rPosArray)
 
bool BroadcastHintInternal (const ScHint &rHint)
 

Private Attributes

rtl::Reference< ScPoolHelpermxPoolHelper
 
std::shared_ptr< svl::SharedStringPoolmpCellStringPool
 
std::unique_ptr< sc::DocumentLinkManagermpDocLinkMgr
 
std::shared_ptr< sc::FormulaGroupContextmpFormulaGroupCxt
 
bool mbFormulaGroupCxtBlockDiscard
 
ScCalcConfig maCalcConfig
 
ScUndoManagermpUndoManager
 
std::unique_ptr< ScFieldEditEnginempEditEngine
 
std::unique_ptr< ScNoteEditEnginempNoteEngine
 
SfxObjectShellmpShell
 
VclPtr< SfxPrintermpPrinter
 
VclPtr< VirtualDevicempVirtualDevice_100th_mm
 
std::unique_ptr< ScDrawLayermpDrawLayer
 
rtl::Reference< XColorListpColorList
 
std::unique_ptr< ScValidationDataListpValidationList
 
SvNumberFormatterIndexTablepFormatExchangeList
 
TableContainer maTabs
 
rtl::Reference< ScSheetLimitsmxSheetLimits
 
std::vector< OUString > maTabNames
 
std::unique_ptr< ScRangeNamepRangeName
 
std::unique_ptr< ScDBCollectionpDBCollection
 
std::unique_ptr< ScDPCollectionpDPCollection
 
std::unique_ptr< ScTemporaryChartLockapTemporaryChartLock
 
std::unique_ptr< ScPatternAttrpSelectionAttr
 
ScFormulaCellpFormulaTree
 
ScFormulaCellpEOFormulaTree
 
ScFormulaCellpFormulaTrack
 
ScFormulaCellpEOFormulaTrack
 
std::unique_ptr< ScBroadcastAreaSlotMachinepBASM
 
std::unique_ptr< ScChartListenerCollectionpChartListenerCollection
 
std::unique_ptr< SvMemoryStreampClipData
 
std::unique_ptr< ScDetOpListpDetOpList
 
std::unique_ptr< ScChangeTrackpChangeTrack
 
std::unique_ptr< SfxBroadcasterpUnoBroadcaster
 
std::unique_ptr< ScUnoListenerCallspUnoListenerCalls
 
std::unique_ptr< ScUnoRefListpUnoRefUndoList
 
std::unique_ptr< ScChangeViewSettingspChangeViewSettings
 
std::unique_ptr< ScScriptTypeDatapScriptTypeData
 
std::unique_ptr< ScRefreshTimerControlpRefreshTimerControl
 
std::shared_ptr< SvxForbiddenCharactersTablexForbiddenCharacters
 
std::unique_ptr< ScDBDatampAnonymousDBData
 
std::unique_ptr< sc::ExternalDataMappermpDataMapper
 
std::unique_ptr< ScFieldEditEnginepCacheFieldEditEngine
 
std::unique_ptr< ScDocProtectionpDocProtection
 
std::unique_ptr< ScClipParammpClipParam
 
std::unique_ptr< ScExternalRefManagerpExternalRefMgr
 
std::unique_ptr< ScMacroManagermpMacroMgr
 
std::unique_ptr< ScFormulaParserPoolmxFormulaParserPool
 
OUString aDocName
 Pool for all external formula parsers used by this document. More...
 
OUString aDocCodeName
 
OUString maFileURL
 
ScRangePairListRef xColNameRanges
 
ScRangePairListRef xRowNameRanges
 
std::unique_ptr< ScViewOptionspViewOptions
 
std::unique_ptr< ScDocOptionspDocOptions
 
std::unique_ptr< ScExtDocOptionspExtDocOptions
 
std::unique_ptr< ScClipOptionsmpClipOptions
 
std::unique_ptr< ScConsolidateParampConsolidateDlgData
 
std::unique_ptr< ScAutoNameCachepAutoNameCache
 
std::unique_ptr< SfxItemSetpPreviewFont
 
ScStyleSheetpPreviewCellStyle
 
ScMarkData maPreviewSelection
 
sal_Int64 nUnoObjectId
 
ErrCode nRangeOverflowType
 
ScRange aEmbedRange
 
ScAddress aCurTextWidthCalcPos
 
Idle aTrackIdle
 
css::uno::Reference< css::script::vba::XVBAEventProcessor > mxVbaEvents
 
LanguageType eLanguage
 
LanguageType eCjkLanguage
 
LanguageType eCtlLanguage
 
rtl_TextEncoding eSrcSet
 
formula::FormulaGrammar::Grammar eStorageGrammar
 The compiler grammar used in document storage. More...
 
sal_uInt64 nFormulaCodeInTree
 
sal_uInt64 nXMLImportedFormulaCount
 
sal_uInt16 nInterpretLevel
 
sal_uInt16 nMacroInterpretLevel
 
sal_uInt16 nInterpreterTableOpLevel
 
ScDocumentThreadSpecific maNonThreaded
 
ScInterpreterContext maInterpreterContext
 
std::shared_mutex mScLookupMutex
 
std::unique_ptr< ScSortedRangeCacheMapmxScSortedRangeCache
 
sal_uInt16 nFormulaTrackCount
 
HardRecalcState eHardRecalcState
 
SCTAB nVisibleTab
 
SCCOL nPosLeft
 
SCROW nPosTop
 
ScLkUpdMode eLinkMode
 
bool bAutoCalc
 
bool bAutoCalcShellDisabled
 
bool bForcedFormulaPending
 
bool bCalculatingFormulaTree
 
bool bIsClip
 
bool bIsUndo
 
bool bIsFunctionAccess
 
bool bIsVisible
 
bool bIsEmbedded
 
bool bInsertingFromOtherDoc
 
bool bLoadingMedium
 
bool bImportingXML
 
bool bCalcingAfterLoad
 
bool bNoListening
 
bool mbIdleEnabled
 
bool bInLinkUpdate
 
bool bChartListenerCollectionNeedsUpdate
 
bool bHasForcedFormulas
 
bool bInDtorClear
 
bool bExpandRefs
 
bool bDetectiveDirty
 
std::unique_ptr< ScRangepDelayedFormulaGrouping
 
std::unordered_map< ScColumn *, std::pair< SCROW, SCROW > > pDelayedStartListeningFormulaCells
 
bool bDelayedDeletingBroadcasters
 
bool bLinkFormulaNeedingCheck
 
CharCompressType nAsianCompression
 
sal_uInt8 nAsianKerning
 
bool bPastingDrawFromOtherDoc
 
sal_uInt8 nInDdeLinkUpdate
 
bool bInUnoBroadcast
 
bool bInUnoListenerCall
 
sal_uInt32 nAdjustHeightLock
 
formula::FormulaGrammar::Grammar eGrammar
 
bool bStyleSheetUsageInvalid
 
bool mbUndoEnabled:1
 
bool mbExecuteLinkEnabled:1
 
bool mbChangeReadOnlyEnabled:1
 
bool mbStreamValidLocked:1
 
bool mbUserInteractionEnabled:1
 
sal_Int16 mnNamedRangesLockCount
 
std::set< ScFormulaCell * > maSubTotalCells
 
bool mbEmbedFonts: 1
 
bool mbEmbedUsedFontsOnly: 1
 
bool mbEmbedFontScriptLatin: 1
 
bool mbEmbedFontScriptAsian: 1
 
bool mbEmbedFontScriptComplex: 1
 
sal_Int32 mnImagePreferredDPI
 
std::unique_ptr< sc::IconSetBitmapMapm_pIconSetBitmapMap
 
bool mbTrackFormulasPending: 1
 
bool mbFinalTrackFormulas: 1
 
bool mbDocShellRecalc: 1
 
bool mbLayoutStrings: 1
 
size_t mnMutationGuardFlags
 
std::map< SCTAB, ScSortParammSheetSortParams
 

Static Private Attributes

static thread_local ScDocumentThreadSpecific maThreadSpecific
 
static const sal_uInt16 nSrcVer = SC_CURRENT_VERSION
 

Friends

class ScValueIterator
 
class ScHorizontalValueIterator
 
class ScDBQueryDataIterator
 
class ScCellIterator
 
template<ScQueryCellIteratorAccess accessType, ScQueryCellIteratorType queryType>
class ScQueryCellIteratorBase
 
template<ScQueryCellIteratorAccess accessType>
class ScQueryCellIteratorAccessSpecific
 
class ScHorizontalCellIterator
 
class ScHorizontalAttrIterator
 
class ScDocAttrIterator
 
class ScAttrRectIterator
 
class ScDocShell
 
class ScDocRowHeightUpdater
 
class ScColumnTextWidthIterator
 
class ScTable
 
class ScColumn
 
struct ScRefCellValue
 
class ScDocumentImport
 
class sc::EditTextIterator
 
struct ScMutationGuard
 
struct ScMutationDisable
 

Detailed Description

Definition at line 322 of file document.hxx.

Member Typedef Documentation

◆ TableContainer

typedef std::vector<ScTableUniquePtr> ScDocument::TableContainer
private

Definition at line 347 of file document.hxx.

Member Enumeration Documentation

◆ HardRecalcState

enum class ScDocument::HardRecalcState
strong
Enumerator
OFF 
TEMPORARY 

normal calculation of dependencies

ETERNAL 

CalcAll() without broadcast/notify but setting up new listeners.

no new listeners are setup, no broadcast/notify

Definition at line 350 of file document.hxx.

Constructor & Destructor Documentation

◆ ScDocument() [1/2]

ScDocument::ScDocument ( ScDocumentMode  eMode = SCDOCMODE_DOCUMENT,
SfxObjectShell pDocShell = nullptr 
)

◆ ~ScDocument()

ScDocument::~ScDocument ( )

◆ ScDocument() [2/2]

ScDocument::ScDocument ( const ScDocument r)
privatedelete

Member Function Documentation

◆ AddCondFormat()

sal_uLong ScDocument::AddCondFormat ( std::unique_ptr< ScConditionalFormat pNew,
SCTAB  nTab 
)

◆ AddCondFormatData()

void ScDocument::AddCondFormatData ( const ScRangeList rRange,
SCTAB  nTab,
sal_uInt32  nIndex 
)

◆ AddDelayedFormulaGroupingCell()

void ScDocument::AddDelayedFormulaGroupingCell ( const ScFormulaCell cell)

To be used only by SharedFormulaUtil::joinFormulaCells().

Definition at line 395 of file document10.cxx.

References ScFormulaCell::aPos, and pDelayedFormulaGrouping.

Referenced by sc::SharedFormulaUtil::joinFormulaCells().

◆ AddDetectiveOperation()

void ScDocument::AddDetectiveOperation ( const ScDetOpData rData)

◆ AddOLEObjectToCollection()

void ScDocument::AddOLEObjectToCollection ( const OUString &  rName)

Definition at line 646 of file documen5.cxx.

References pChartListenerCollection.

Referenced by ScMyOLEFixer::CreateChartListener().

◆ AddPrintRange()

void ScDocument::AddPrintRange ( SCTAB  nTab,
const ScRange rNew 
)

◆ AddSubTotalCell()

void ScDocument::AddSubTotalCell ( ScFormulaCell pCell)

◆ AddTableOpFormulaCell()

void ScDocument::AddTableOpFormulaCell ( ScFormulaCell pCell)

Definition at line 3919 of file document.cxx.

References ScFormulaCell::aPos, m_TableOpList, and p.

Referenced by ScFormulaCell::Notify(), and ScFormulaCell::SetTableOpDirty().

◆ AddUndoTab()

void ScDocument::AddUndoTab ( SCTAB  nTab1,
SCTAB  nTab2,
bool  bColInfo = false,
bool  bRowInfo = false 
)

Definition at line 2000 of file document.cxx.

References bIsUndo, GetTableCount(), maTabs, and ScTable.

◆ AddUnoListenerCall()

void ScDocument::AddUnoListenerCall ( const css::uno::Reference< css::util::XModifyListener > &  rListener,
const css::lang::EventObject &  rEvent 
)

◆ AddUnoObject()

void ScDocument::AddUnoObject ( SfxListener rObject)

Definition at line 901 of file documen3.cxx.

References pUnoBroadcaster, and SfxListener::StartListening().

Referenced by ScTabViewShell::AddAccessibilityObject(), ScStyleObj::InitDoc(), sc::PivotTableDataSequence::PivotTableDataSequence(), ScAccessibleHeaderTextData::ScAccessibleHeaderTextData(), ScAccessibleNoteTextData::ScAccessibleNoteTextData(), ScAddressConversionObj::ScAddressConversionObj(), ScAnnotationEditSource::ScAnnotationEditSource(), ScAreaLinkObj::ScAreaLinkObj(), ScAreaLinksObj::ScAreaLinksObj(), ScCellFieldsObj::ScCellFieldsObj(), ScCellFormatsEnumeration::ScCellFormatsEnumeration(), ScCellFormatsObj::ScCellFormatsObj(), ScCellsEnumeration::ScCellsEnumeration(), ScCellsObj::ScCellsObj(), ScCellTextData::ScCellTextData(), ScChart2DataProvider::ScChart2DataProvider(), ScChart2DataSequence::ScChart2DataSequence(), ScChart2DataSource::ScChart2DataSource(), ScChartObj::ScChartObj(), ScCondFormatsObj::ScCondFormatsObj(), ScDatabaseRangeObj::ScDatabaseRangeObj(), ScDatabaseRangesObj::ScDatabaseRangesObj(), ScDataPilotDescriptorBase::ScDataPilotDescriptorBase(), ScDataPilotTablesObj::ScDataPilotTablesObj(), ScDDELinkObj::ScDDELinkObj(), ScDDELinksObj::ScDDELinksObj(), ScDocumentConfiguration::ScDocumentConfiguration(), ScDrawDefaultsObj::ScDrawDefaultsObj(), ScDrawPagesObj::ScDrawPagesObj(), ScFilterDescriptorBase::ScFilterDescriptorBase(), ScForbiddenCharsObj::ScForbiddenCharsObj(), ScLabelRangeObj::ScLabelRangeObj(), ScLabelRangesObj::ScLabelRangesObj(), ScLinkTargetTypeObj::ScLinkTargetTypeObj(), ScModelObj::ScModelObj(), ScNamedRangeObj::ScNamedRangeObj(), ScNamedRangesObj::ScNamedRangesObj(), ScScenariosObj::ScScenariosObj(), ScSheetLinksObj::ScSheetLinksObj(), ScStyleFamiliesObj::ScStyleFamiliesObj(), ScStyleFamilyObj::ScStyleFamilyObj(), ScStyleObj::ScStyleObj(), ScTableColumnsObj::ScTableColumnsObj(), ScTableSheetsObj::ScTableSheetsObj(), ScUniqueCellFormatsEnumeration::ScUniqueCellFormatsEnumeration(), ScUniqueCellFormatsObj::ScUniqueCellFormatsObj(), and ScUnnamedDatabaseRangesObj::ScUnnamedDatabaseRangesObj().

◆ AddUnoRefChange()

void ScDocument::AddUnoRefChange ( sal_Int64  nId,
const ScRangeList rOldRanges 
)

Definition at line 1002 of file documen3.cxx.

References nId, and pUnoRefUndoList.

Referenced by ScChart2DataSequence::Notify().

◆ AddValidationEntry()

sal_uLong ScDocument::AddValidationEntry ( const ScValidationData rNew)

◆ AppendTabOnLoad()

void ScDocument::AppendTabOnLoad ( const OUString &  rName)

Definition at line 453 of file document.cxx.

References aName, CreateValidTabName(), GetTableCount(), maTabs, ScTable, and ValidTab().

Referenced by ScMyTables::NewSheet().

◆ AppendToFormulaTrack()

void ScDocument::AppendToFormulaTrack ( ScFormulaCell pCell)

◆ ApplyAsianEditSettings()

void ScDocument::ApplyAsianEditSettings ( ScEditEngineDefaulter rEngine)

◆ ApplyAttr()

void ScDocument::ApplyAttr ( SCCOL  nCol,
SCROW  nRow,
SCTAB  nTab,
const SfxPoolItem rAttr 
)

◆ ApplyFlagsTab()

bool ScDocument::ApplyFlagsTab ( SCCOL  nStartCol,
SCROW  nStartRow,
SCCOL  nEndCol,
SCROW  nEndRow,
SCTAB  nTab,
ScMF  nFlags 
)

◆ ApplyFrameAreaTab()

void ScDocument::ApplyFrameAreaTab ( const ScRange rRange,
const SvxBoxItem rLineOuter,
const SvxBoxInfoItem rLineInner 
)

◆ ApplyPattern()

void ScDocument::ApplyPattern ( SCCOL  nCol,
SCROW  nRow,
SCTAB  nTab,
const ScPatternAttr rAttr 
)

◆ ApplyPatternArea()

void ScDocument::ApplyPatternArea ( SCCOL  nStartCol,
SCROW  nStartRow,
SCCOL  nEndCol,
SCROW  nEndRow,
const ScMarkData rMark,
const ScPatternAttr rAttr,
ScEditDataArray pDataArray = nullptr,
bool *const  pIsChanged = nullptr 
)

◆ ApplyPatternAreaTab()

void ScDocument::ApplyPatternAreaTab ( SCCOL  nStartCol,
SCROW  nStartRow,
SCCOL  nEndCol,
SCROW  nEndRow,
SCTAB  nTab,
const ScPatternAttr rAttr 
)

◆ ApplyPatternIfNumberformatIncompatible()

void ScDocument::ApplyPatternIfNumberformatIncompatible ( const ScRange rRange,
const ScMarkData rMark,
const ScPatternAttr rPattern,
SvNumFormatType  nNewType 
)

Definition at line 4777 of file document.cxx.

References GetTableCount(), and maTabs.

Referenced by ScViewFunc::EnterBlock().

◆ ApplySelectionFrame()

void ScDocument::ApplySelectionFrame ( const ScMarkData rMark,
const SvxBoxItem rLineOuter,
const SvxBoxInfoItem pLineInner 
)

◆ ApplySelectionLineStyle()

void ScDocument::ApplySelectionLineStyle ( const ScMarkData rMark,
const ::editeng::SvxBorderLine pLine,
bool  bColorOnly 
)

Definition at line 4852 of file document.cxx.

References GetTableCount(), and maTabs.

Referenced by ScViewFunc::SetSelectionFrameLines().

◆ ApplySelectionPattern()

void ScDocument::ApplySelectionPattern ( const ScPatternAttr rAttr,
const ScMarkData rMark,
ScEditDataArray pDataArray = nullptr,
bool *  pIsChanged = nullptr 
)

◆ ApplySelectionStyle()

void ScDocument::ApplySelectionStyle ( const ScStyleSheet rStyle,
const ScMarkData rMark 
)

◆ ApplyStyle()

void ScDocument::ApplyStyle ( SCCOL  nCol,
SCROW  nRow,
SCTAB  nTab,
const ScStyleSheet rStyle 
)

Definition at line 4802 of file document.cxx.

References FetchTable().

Referenced by ScViewFunc::SetStyleSheetToMarked().

◆ ApplyStyleArea()

void ScDocument::ApplyStyleArea ( SCCOL  nStartCol,
SCROW  nStartRow,
SCCOL  nEndCol,
SCROW  nEndRow,
const ScMarkData rMark,
const ScStyleSheet rStyle 
)

Definition at line 4808 of file document.cxx.

References GetTableCount(), and maTabs.

Referenced by ApplySelectionStyle().

◆ ApplyStyleAreaTab()

void ScDocument::ApplyStyleAreaTab ( SCCOL  nStartCol,
SCROW  nStartRow,
SCCOL  nEndCol,
SCROW  nEndRow,
SCTAB  nTab,
const ScStyleSheet rStyle 
)

Definition at line 4823 of file document.cxx.

References FetchTable().

Referenced by XclImpXF::ApplyPattern(), ScDBDocFunc::Query(), and oox::xls::Xf::writeToDoc().

◆ AreaBroadcast()

void ScDocument::AreaBroadcast ( const ScHint rHint)

only area, no cell broadcast

Definition at line 203 of file documen7.cxx.

References eHardRecalcState, SfxHint::GetId(), OFF, pBASM, and TrackFormulas().

Referenced by ScColumn::MoveTo().

◆ AssertNoInterpretNeeded()

void ScDocument::AssertNoInterpretNeeded ( const ScAddress rPos,
SCROW  nLength 
)

◆ AutoFormat()

void ScDocument::AutoFormat ( SCCOL  nStartCol,
SCROW  nStartRow,
SCCOL  nEndCol,
SCROW  nEndRow,
sal_uInt16  nFormatNo,
const ScMarkData rMark 
)

Definition at line 1187 of file documen3.cxx.

References maTabs, and PutInOrder().

Referenced by ScDocFunc::AutoFormat(), and ScUndoAutoFormat::Redo().

◆ BeginDrawUndo()

void ScDocument::BeginDrawUndo ( )

◆ BeginUnoRefUndo()

void ScDocument::BeginUnoRefUndo ( )

Definition at line 990 of file documen3.cxx.

References pUnoRefUndoList.

◆ BlockFormulaGroupContextDiscard()

void ScDocument::BlockFormulaGroupContextDiscard ( bool  block)
inline

Definition at line 1215 of file document.hxx.

References mbFormulaGroupCxtBlockDiscard.

◆ Broadcast()

void ScDocument::Broadcast ( const ScHint rHint)

◆ BroadcastCells()

void ScDocument::BroadcastCells ( const ScRange rRange,
SfxHintId  nHint,
bool  bBroadcastSingleBroadcasters = true 
)

◆ BroadcastHintInternal()

bool ScDocument::BroadcastHintInternal ( const ScHint rHint)
private

◆ BroadcastUno()

void ScDocument::BroadcastUno ( const SfxHint rHint)

◆ CalcAfterLoad()

void ScDocument::CalcAfterLoad ( bool  bStartListening = true)

◆ CalcAll()

void ScDocument::CalcAll ( )

◆ CalcFormulaTree()

void ScDocument::CalcFormulaTree ( bool  bOnlyForced = false,
bool  bProgressBar = true,
bool  bSetAllDirty = true 
)

Calculate formula cells that are on the formula tree either partially, or in full.

Parameters
bOnlyForcedwhen true, it only calculates those formula cells that are marked "recalc forced".
bProgressBarwhether or not to use progress bar.
bSetAllDirtywhen true, it marks all formula cells currently on the formula tree dirty, which forces all of them to be recalculated. When false, only those cells that are marked dirty prior to this call get recalculated.

Definition at line 328 of file documen7.cxx.

References bAutoCalc, bCalculatingFormulaTree, CalcAll(), CORE, ScProgress::CreateInterpretProgress(), ScProgress::DeleteInterpretProgress(), eHardRecalcState, EnableIdle(), ETERNAL, GetAutoCalc(), ScFormulaCell::GetCode(), ScFormulaCell::GetDirty(), ScFormulaCell::GetNext(), ScFormulaCell::GetPrevious(), ScFormulaCell::Interpret(), IsCalculatingFormulaTree(), IsIdleEnabled(), formula::FormulaTokenArray::IsRecalcModeAlways(), formula::FormulaTokenArray::IsRecalcModeForced(), mpFormulaGroupCxt, nFormulaCodeInTree, pFormulaTree, ScFormulaCell::SetDirty(), ScFormulaCell::SetDirtyVar(), and SetForcedFormulaPending().

Referenced by SetAutoCalc(), and TrackFormulas().

◆ CalculateInColumnInThread()

void ScDocument::CalculateInColumnInThread ( ScInterpreterContext rContext,
const ScRange rCalcRange,
unsigned  nThisThread,
unsigned  nThreadsTotal 
)

◆ CanDelayStartListeningFormulaCells()

bool ScDocument::CanDelayStartListeningFormulaCells ( ScColumn column,
SCROW  row1,
SCROW  row2 
)

If true is returned, ScColumn::StartListeningFormulaCells() for the given cells will be performed later.

If false is returned, it needs to be done explicitly.

Definition at line 430 of file document10.cxx.

References pDelayedStartListeningFormulaCells.

Referenced by ScColumn::StartListeningUnshared().

◆ CanFitBlock()

bool ScDocument::CanFitBlock ( const ScRange rOld,
const ScRange rNew 
)

◆ CanInsertCol()

bool ScDocument::CanInsertCol ( const ScRange rRange) const

◆ CanInsertRow()

bool ScDocument::CanInsertRow ( const ScRange rRange) const

◆ ChangeSelectionIndent()

void ScDocument::ChangeSelectionIndent ( bool  bIncrement,
const ScMarkData rMark 
)

Definition at line 5897 of file document.cxx.

References GetTableCount(), and maTabs.

Referenced by ScDocFunc::ChangeIndent(), and ScUndoIndent::Redo().

◆ CheckIntegrity()

void ScDocument::CheckIntegrity ( SCTAB  nTab) const

Check the integrity of the internal table state.

Useful from testing code. It throws an exception upon first failure.

Feel free to add more checks as needed.

Definition at line 1097 of file document10.cxx.

References ScTable::CheckIntegrity(), and FetchTable().

◆ CheckLinkFormulaNeedingCheck()

void ScDocument::CheckLinkFormulaNeedingCheck ( const ScTokenArray rCode)

◆ CheckVectorizationState()

void ScDocument::CheckVectorizationState ( )

Definition at line 3805 of file document.cxx.

References a, bAutoCalc, GetAutoCalc(), maTabs, and SetAutoCalc().

Referenced by ScModelObj::enableOpenCL().

◆ ClampToAllocatedColumns()

SCCOL ScDocument::ClampToAllocatedColumns ( SCTAB  nTab,
SCCOL  nCol 
) const

Definition at line 2134 of file documen3.cxx.

References maTabs.

Referenced by ScChangeTrack::AppendContentRange(), and ScTabPageSortFields::FillFieldLists().

◆ Clear()

void ScDocument::Clear ( bool  bFromDestructor = false)

Definition at line 489 of file documen9.cxx.

References maTabs, mpDrawLayer, and pSelectionAttr.

Referenced by InitClipPtrs(), InitUndo(), InitUndoSelected(), and ~ScDocument().

◆ ClearDetectiveOperations()

void ScDocument::ClearDetectiveOperations ( )

Definition at line 900 of file documen4.cxx.

References pDetOpList.

Referenced by ScDocFunc::DetectiveDelAll(), and ScUndoDetective::Redo().

◆ ClearFormulaTree()

void ScDocument::ClearFormulaTree ( )

◆ ClearLookupCaches()

void ScDocument::ClearLookupCaches ( )

◆ ClearPrintRanges()

void ScDocument::ClearPrintRanges ( SCTAB  nTab)

◆ ClearSelectionItems()

void ScDocument::ClearSelectionItems ( const sal_uInt16 *  pWhich,
const ScMarkData rMark 
)

◆ ClosingClipboardSource()

void ScDocument::ClosingClipboardSource ( )

To be called at the clipboard document when closing a document that is the current clipboard source to decouple things from the originating document.

Done in ScDocument dtor after determining IsClipboardSource().

Definition at line 338 of file documen2.cxx.

References bIsClip, ForgetNoteCaptions(), GetTableCount(), MaxCol(), and MaxRow().

Referenced by ScDocShell::Notify().

◆ ColDifferences()

sal_uInt16 ScDocument::ColDifferences ( SCCOL  nThisCol,
SCTAB  nThisTab,
ScDocument rOtherDoc,
SCCOL  nOtherCol,
SCTAB  nOtherTab,
SCROW  nMaxRow,
const SCCOLROW pOtherRows 
)
private

Definition at line 956 of file documen4.cxx.

References ScRefCellValue::equalsWithoutFormat(), ScRefCellValue::isEmpty(), and ValidRow().

Referenced by FindOrder().

◆ ColFiltered()

bool ScDocument::ColFiltered ( SCCOL  nCol,
SCTAB  nTab 
) const

Definition at line 4489 of file document.cxx.

References FetchTable().

Referenced by ScAccessibleCellBase::isVisible().

◆ ColHidden()

bool ScDocument::ColHidden ( SCCOL  nCol,
SCTAB  nTab,
SCCOL pFirstCol = nullptr,
SCCOL pLastCol = nullptr 
) const

◆ CompareDocument()

void ScDocument::CompareDocument ( ScDocument rOtherDoc)

◆ CompileAll()

void ScDocument::CompileAll ( )

Definition at line 3963 of file document.cxx.

References a, maTabs, and SetAllFormulasDirty().

Referenced by ScRefUndoData::DoUndo().

◆ CompileColRowNameFormula()

void ScDocument::CompileColRowNameFormula ( )

◆ CompileDBFormula()

void ScDocument::CompileDBFormula ( )

◆ CompileErrorCells()

bool ScDocument::CompileErrorCells ( FormulaError  nErrCode)

Re-compile formula cells with error.

Parameters
nErrCodespecified error code to match. Only those cells with this error code will be re-compiled. If this value is 0, cells with any error values will be re-compiled.
Returns
true if at least one cell is re-compiled, false if no cells are re-compiled.

Definition at line 4016 of file document.cxx.

References ScTable::CompileErrorCells(), and maTabs.

Referenced by ScModule::ModifyOptions().

◆ CompileHybridFormula()

void ScDocument::CompileHybridFormula ( )

◆ CompileXML()

void ScDocument::CompileXML ( )

◆ ContainsNotesInRange()

bool ScDocument::ContainsNotesInRange ( const ScRangeList rRange) const

Definition at line 6870 of file document.cxx.

References ScRange::aEnd, ScRange::aStart, i, maTabs, ScRangeList::size(), and ScAddress::Tab().

Referenced by ScCellShell::GetState().

◆ ConvertFormulaToValue()

void ScDocument::ConvertFormulaToValue ( const ScRange rRange,
sc::TableValues pUndo 
)

◆ CopyAdjustRangeName()

bool ScDocument::CopyAdjustRangeName ( SCTAB rSheet,
sal_uInt16 &  rIndex,
ScRangeData *&  rpRangeData,
ScDocument rNewDoc,
const ScAddress rNewPos,
const ScAddress rOldPos,
const bool  bGlobalNamesToLocal,
const bool  bUsedByFormula 
) const

If necessary (name references sheet rOldPos.Tab()) copy and adjust named expression/range from sheet-local to sheet-local, or global to sheet-local if bGlobalNamesToLocal==true.

Also copies nested names and adjusts the ocName tokens of the calling name.

Parameters
rSheetOn entry, the original sheet of the named expression/range, <0 global. On return TRUE, the new sheet. Else unchanged.
rIndexOn entry, the original index of the named expression/range. On return TRUE, the new index, or 0 if a new copied name couldn't be inserted. Else unchanged.
rpRangeDataOn entry, the pointer to the original named expression/range. On return TRUE, the pointer to the new copied name, or nullptr if hits happened.
rNewPosNew position of formula cell if called for that, else new base position of a to be created new name adjusted for Tab. rNewPos.nTab MUST point to the new sheet copied to.
rOldPosOld position of formula cell if called for that, else base position of the existing name adjusted for Tab. rOldPos.nTab MUST point to the old sheet copied from.
bGlobalNamesToLocalIf TRUE, affected global names are copied to sheet-local names. If FALSE, global names are copied to global names in another document.
bUsedByFormulaIf TRUE, forces a global name to be affected/used. If FALSE, a global name is only affected if it evaluates to be referencing the sheet.
Returns
TRUE if copied and caller may need to evaluate rpRangeData and rSheet and rIndex. FALSE if nothing to be done.

Definition at line 801 of file document10.cxx.

References ScRangeName::findByIndex(), ScRangeName::findByUpperName(), FindRangeNamesReferencingSheet(), formula::FormulaTokenArrayPlainIterator::First(), formula::FormulaTokenArray::GetCode(), GetDocumentShell(), ScRangeData::GetIndex(), GetPool(), GetRangeName(), ScRangeData::GetUpperName(), IsClipboard(), IsClipOrUndo(), IsCutMode(), sc::UpdatedRangeNames::isEmpty(), formula::FormulaTokenArrayPlainIterator::Next(), condformat::dialog::NONE, ocName, p, SAL_WARN, SAL_WARN_IF, ScDocShell::SetAreasChangedNeedBroadcast(), and ScAddress::Tab().

Referenced by ScRangeName::CopyUsedNames().

◆ CopyBlockFromClip()

void ScDocument::CopyBlockFromClip ( sc::CopyFromClipContext rCxt,
SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2,
const ScMarkData rMark,
SCCOL  nDx,
SCROW  nDy 
)

◆ CopyCellToDocument()

void ScDocument::CopyCellToDocument ( const ScAddress rSrcPos,
const ScAddress rDestPos,
ScDocument rDestDoc 
)

Copy only cell, nothing but cell to another document.

Parameters
rSrcPossource cell position
rDestPosdestination cell position
rDestDocdestination document

Definition at line 2230 of file document.cxx.

References ScAddress::Col(), ScTable::CopyCellToDocument(), HasTable(), maTabs, ScAddress::Row(), and ScAddress::Tab().

Referenced by ScConversionEngineBase::FindNextConversionCell().

◆ CopyCellValuesFrom()

void ScDocument::CopyCellValuesFrom ( const ScAddress rTopPos,
const sc::CellValues rSrc 
)

◆ CopyDdeLinks()

void ScDocument::CopyDdeLinks ( ScDocument rDestDoc) const

◆ CopyFromClip()

void ScDocument::CopyFromClip ( const ScRange rDestRange,
const ScMarkData rMark,
InsertDeleteFlags  nInsFlag,
ScDocument pRefUndoDoc,
ScDocument pClipDoc,
bool  bResetCut = true,
bool  bAsLink = false,
bool  bIncludeFiltered = true,
bool  bSkipEmptyCells = false,
const ScRangeList pDestRanges = nullptr 
)

Paste data from a clipboard document into this document.

Parameters
rDestRangedestination range.
pClipDocpointer to the clipboard document to copy data from.
bSkipEmptyCellsif this flag is set, empty cells in the source range in the clipboard document will not overwrite the target destination cells.
pDestRangesIf pDestRanges is given it overrides rDestRange, where rDestRange becomes the overall encompassing range.

Definition at line 2814 of file document.cxx.

References ADDNOTES, ScRange::aEnd, ScRange::aStart, ATTRIB, bInsertingFromOtherDoc, bIsClip, ScAddress::Col(), CONTENTS, CopyBlockFromClip(), CopyNonFilteredFromClip(), CopyOneCellFromClip(), DeleteBeforeCopyFromClip(), sc::ColumnSpanSet::executeColumnAction(), ExtendMerge(), GetBASM(), GetClipArea(), ScModule::GetClipDoc(), GetClipParam(), GetPatternCount(), sc::CopyFromClipContext::getTabEnd(), GetTableCount(), ScMarkData::GetTableSelect(), sc::CopyFromClipContext::getTabStart(), ScClipParam::getWholeRange(), i, maTabs, ScClipParam::mbCutMode, NONE, NOTE, ScRangeList::push_back(), ReservePatternCount(), ScAddress::Row(), sc::CopyFromClipContext::setDeleteFlag(), sc::CopyFromClipContext::setDestRange(), SetDirtyFromClip(), sc::CopyFromClipContext::setListeningFormulaSpans(), sc::CopyFromClipContext::setTabRange(), ScRangeList::size(), and sc::CopyFromClipContext::startListeningFormulas().

Referenced by ScTransferObj::InitDocShell(), lcl_CopyData(), ScDocFunc::MoveBlock(), ScViewFunc::PasteFromClip(), ScViewFunc::PasteFromClipToMultiRanges(), ScUndoDragDrop::Redo(), ScAreaLink::Refresh(), and sc::ScDBDataManager::WriteToDoc().

◆ CopyMultiRangeFromClip()

void ScDocument::CopyMultiRangeFromClip ( const ScAddress rDestPos,
const ScMarkData rMark,
InsertDeleteFlags  nInsFlag,
ScDocument pClipDoc,
bool  bResetCut = true,
bool  bAsLink = false,
bool  bIncludeFiltered = true,
bool  bSkipAttrForEmpty = false 
)

◆ CopyNonFilteredFromClip()

SCROW ScDocument::CopyNonFilteredFromClip ( sc::CopyFromClipContext rCxt,
SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2,
const ScMarkData rMark,
SCCOL  nDx,
SCROW rClipStartRow,
SCROW  nClipEndRow 
)
Returns
the number of non-filtered rows.

Definition at line 2736 of file document.cxx.

References CopyBlockFromClip(), FirstNonFilteredRow(), sc::CopyFromClipContext::getClipDoc(), maTabs, and RowFiltered().

Referenced by CopyFromClip(), and CopyMultiRangeFromClip().

◆ CopyOneCellFromClip()

bool ScDocument::CopyOneCellFromClip ( sc::CopyFromClipContext rCxt,
SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2 
)

◆ CopyRangeNamesToClip()

void ScDocument::CopyRangeNamesToClip ( ScDocument pClipDoc,
const ScRange rClipRange,
const ScMarkData pMarks 
)
private

◆ CopyScenario()

void ScDocument::CopyScenario ( SCTAB  nSrcTab,
SCTAB  nDestTab,
bool  bNewScenario = false 
)

◆ CopyStaticToDocument()

void ScDocument::CopyStaticToDocument ( const ScRange rSrcRange,
SCTAB  nDestTab,
ScDocument rDestDoc 
)

Copy only raw cell values to another document.

Formula cells are converted to raw cells. No formatting info are copied except for number formats.

Parameters
rSrcRangesource range in the source document
nDestTabtable in the clip document to copy to.
rDestDocdocument to copy to

Definition at line 2214 of file document.cxx.

References ScRange::aEnd, aMap, ScRange::aStart, ScAddress::Col(), SvNumberFormatter::ConvertMergeTableToMap(), ScTable::CopyStaticToDocument(), GetFormatTable(), GetTableCount(), maTabs, SvNumberFormatter::MergeFormatter(), ScAddress::Row(), and ScAddress::Tab().

◆ CopyStdStylesFrom()

void ScDocument::CopyStdStylesFrom ( const ScDocument rSrcDoc)

Definition at line 288 of file documen8.cxx.

References mxPoolHelper.

Referenced by ScTransferObj::InitDocShell().

◆ CopyTab()

bool ScDocument::CopyTab ( SCTAB  nOldPos,
SCTAB  nNewPos,
const ScMarkData pOnlyMarked = nullptr 
)

◆ CopyTabProtection()

void ScDocument::CopyTabProtection ( SCTAB  nTabSrc,
SCTAB  nTabDest 
)

Definition at line 1928 of file documen3.cxx.

References HasTable(), and maTabs.

Referenced by ScUndoCopyTab::Redo().

◆ CopyTabToClip()

void ScDocument::CopyTabToClip ( SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2,
SCTAB  nTab,
ScDocument pClipDoc 
)

◆ CopyToClip()

void ScDocument::CopyToClip ( const ScClipParam rClipParam,
ScDocument pClipDoc,
const ScMarkData pMarks,
bool  bKeepScenarioFlags,
bool  bIncludeObjects 
)

◆ CopyToDocument() [1/2]

void ScDocument::CopyToDocument ( const ScRange rRange,
InsertDeleteFlags  nFlags,
bool  bMarked,
ScDocument rDestDoc,
const ScMarkData pMarks = nullptr,
bool  bColRowFlags = true 
)

◆ CopyToDocument() [2/2]

void ScDocument::CopyToDocument ( SCCOL  nCol1,
SCROW  nRow1,
SCTAB  nTab1,
SCCOL  nCol2,
SCROW  nRow2,
SCTAB  nTab2,
InsertDeleteFlags  nFlags,
bool  bMarked,
ScDocument rDestDoc,
const ScMarkData pMarks = nullptr,
bool  bColRowFlags = true 
)

Definition at line 2041 of file document.cxx.

References CopyToDocument(), and ValidTab().

Referenced by ScDocFunc::ApplyAttributes(), ScHelperFunctions::ApplyBorder(), ScViewFunc::ApplyPatternLines(), ScViewFunc::ApplySelectionPattern(), ScDocFunc::ApplyStyle(), ScDocFunc::AutoFormat(), ScOutlineDocFunc::AutoOutline(), ScDocFunc::ChangeIndent(), ScDocFunc::ClearItems(), CopyToDocument(), sc::DocFuncUtil::createDeleteContentsUndoDoc(), ScViewFunc::CutToClip(), ScViewFunc::DataFormPutData(), ScDocFunc::DeleteCells(), ScViewFunc::DeleteMulti(), ScDocFunc::DeleteTable(), ScUndoPaste::DoChange(), ScUndoDataForm::DoChange(), ScUndoConditionalFormat::DoChange(), ScUndoRefConversion::DoChange(), ScUndoConversion::DoChange(), ScUndoListNames::DoChange(), ScDBDocFunc::DoImport(), ScViewFunc::DoRefConversion(), ScDBFunc::DoSubTotals(), ScDBDocFunc::DoSubTotals(), ScImportExport::EndPaste(), ScDocFunc::EnterMatrix(), ScDocFunc::FillAuto(), ScDocFunc::FillSeries(), ScDocFunc::FillSimple(), ScViewFunc::FillTab(), ScOutlineDocFunc::HideMarkedOutlines(), ScOutlineDocFunc::HideOutline(), ScDocFunc::InsertNameList(), lcl_PutDataArray(), lcl_PutFormulaArray(), ScDocFunc::MergeCells(), ScDocFunc::MoveBlock(), ScViewFunc::PasteFromClip(), ScViewFunc::PasteFromClipToMultiRanges(), ScViewFunc::PasteMultiRangesFromClip(), ScViewFunc::PasteRTF(), ScDBDocFunc::Query(), ScAreaLink::Refresh(), ScTableLink::Refresh(), ScTableSheetObj::removeAllManualPageBreaks(), ScOutlineDocFunc::RemoveAllOutlines(), ScViewFunc::RemoveManualBreaks(), ScDBFunc::RepeatDB(), ScDBDocFunc::RepeatDB(), ScTable::ReplaceAllStyle(), ScDocFunc::ReplaceConditionalFormat(), ScOutlineDocFunc::SelectLevel(), ScViewFunc::SetStyleSheetToMarked(), ScViewFunc::SetWidthOrHeight(), ScDocFunc::SetWidthOrHeight(), ScOutlineDocFunc::ShowMarkedOutlines(), ScOutlineDocFunc::ShowOutline(), ScImportExport::StartPaste(), ScDocFunc::TabOp(), ScDocFunc::TransliterateText(), ScUndoRefreshLink::Undo(), ScUndoImportData::Undo(), ScUndoImportTab::Undo(), UndoToDocument(), and ScDocFunc::UnmergeCells().

◆ CopyUpdated()

void ScDocument::CopyUpdated ( ScDocument pPosDoc,
ScDocument pDestDoc 
)

From this document this method copies the cells of positions at which there are also cells in pPosDoc to pDestDoc.

Definition at line 803 of file documen3.cxx.

References GetTableCount(), maTabs, and nCount.

Referenced by ScViewFunc::PasteFromClip().

◆ CountNonFilteredRows()

SCROW ScDocument::CountNonFilteredRows ( SCROW  nStartRow,
SCROW  nEndRow,
SCTAB  nTab 
) const

◆ CountVisibleRows()

SCROW ScDocument::CountVisibleRows ( SCROW  nStartRow,
SCROW  nEndRow,
SCTAB  nTab 
) const

Definition at line 4468 of file document.cxx.

References FetchTable().

Referenced by ScPreviewLocationData::GetTableInfo().

◆ CreateAllNoteCaptions()

void ScDocument::CreateAllNoteCaptions ( )

Ensure that all note objects have an associated sdr object.

The export code uses sdr objects to export note data.

Definition at line 6718 of file document.cxx.

References maTabs.

Referenced by ScXMLImportWrapper::Export().

◆ CreateColumnIfNotExists()

void ScDocument::CreateColumnIfNotExists ( SCTAB  nTab,
SCCOL  nCol 
)

◆ CreateDdeLink()

bool ScDocument::CreateDdeLink ( const OUString &  rAppl,
const OUString &  rTopic,
const OUString &  rItem,
sal_uInt8  nMode,
const ScMatrixRef pResults 
)

Tries to find a DDE link or creates a new, if not extant.

Parameters
pResultsIf not 0, sets the matrix as DDE link result matrix (also for existing links).
Returns
true = DDE link found; false = Unpredictable error occurred, no DDE link created.

Definition at line 988 of file documen8.cxx.

References bAutoCalc, GetDocLinkManager(), sc::DocumentLinkManager::getLinkManager(), sfx2::LinkManager::InsertDDELink(), SC_DDE_IGNOREMODE, and ScDdeLink::SetResult().

Referenced by ScDDELinksObj::addDDELink(), XclImpExtName::CreateDdeData(), and ScXMLDDELinkContext::CreateDDELink().

◆ CreateFieldEditEngine()

std::unique_ptr< ScFieldEditEngine > ScDocument::CreateFieldEditEngine ( )

◆ CreateNote()

ScPostIt * ScDocument::CreateNote ( const ScAddress rPos)

Definition at line 6704 of file document.cxx.

References SetNote().

Referenced by GetOrCreateNote().

◆ CreatePrintRangeSaver()

std::unique_ptr< ScPrintRangeSaver > ScDocument::CreatePrintRangeSaver ( ) const

◆ CreateQueryParam()

bool ScDocument::CreateQueryParam ( const ScRange rRange,
ScQueryParam rQueryParam 
)

◆ CreateSelectionPattern()

std::unique_ptr< ScPatternAttr > ScDocument::CreateSelectionPattern ( const ScMarkData rMark,
bool  bDeep = true 
)

◆ CreateSharedStringTextObject()

std::unique_ptr< EditTextObject > ScDocument::CreateSharedStringTextObject ( const svl::SharedString rSS)

◆ CreateSparkline()

sc::Sparkline * ScDocument::CreateSparkline ( ScAddress const &  rPosition,
std::shared_ptr< sc::SparklineGroup > const &  pSparklineGroup 
)

◆ CreateValidTabName()

void ScDocument::CreateValidTabName ( OUString &  rName) const

◆ CreateValidTabNames()

void ScDocument::CreateValidTabNames ( std::vector< OUString > &  aNames,
SCTAB  nCount 
) const

◆ DecInDdeLinkUpdate()

void ScDocument::DecInDdeLinkUpdate ( )
inline

Definition at line 1044 of file document.hxx.

References nInDdeLinkUpdate.

Referenced by ScDdeLink::TryUpdate().

◆ DecInterpreterTableOpLevel()

void ScDocument::DecInterpreterTableOpLevel ( )
inline

Definition at line 2445 of file document.hxx.

References nInterpreterTableOpLevel.

Referenced by ScInterpreter::ScTableOp().

◆ DecInterpretLevel()

void ScDocument::DecInterpretLevel ( )
inline

Definition at line 2420 of file document.hxx.

References IsThreadedGroupCalcInProgress(), and nInterpretLevel.

Referenced by ScFormulaCell::Interpret().

◆ DECL_LINK() [1/2]

ScDocument::DECL_LINK ( GetUserDefinedColor  ,
sal_uInt16  ,
Color  
)

◆ DECL_LINK() [2/2]

ScDocument::DECL_LINK ( TrackTimeHdl  ,
Timer ,
void   
)
private

◆ DecMacroInterpretLevel()

void ScDocument::DecMacroInterpretLevel ( )
inline

Definition at line 2433 of file document.hxx.

References IsThreadedGroupCalcInProgress(), and nMacroInterpretLevel.

Referenced by ScInterpreter::ScMacro().

◆ DecXMLImportedFormulaCount()

void ScDocument::DecXMLImportedFormulaCount ( sal_uInt64  nVal)
inline

Definition at line 2465 of file document.hxx.

References nXMLImportedFormulaCount.

Referenced by ScFormulaCell::CompileXML().

◆ DelayFormulaGrouping()

void ScDocument::DelayFormulaGrouping ( bool  delay)

If set, joining cells into shared formula groups will be delayed until reset again (RegroupFormulaCells() will be called as needed).

Definition at line 380 of file document10.cxx.

References ScAddress::INITIALIZE_INVALID, pDelayedFormulaGrouping, and RegroupFormulaCells().

Referenced by sc::DelayFormulaGroupingSwitch::DelayFormulaGroupingSwitch(), sc::DelayFormulaGroupingSwitch::reset(), and sc::DelayFormulaGroupingSwitch::~DelayFormulaGroupingSwitch().

◆ DelBroadcastAreasInRange()

void ScDocument::DelBroadcastAreasInRange ( const ScRange rRange)

Definition at line 215 of file documen7.cxx.

References pBASM.

Referenced by DeleteCol(), DeleteRow(), DeleteTab(), and DeleteTabs().

◆ DeleteArea()

void ScDocument::DeleteArea ( SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2,
const ScMarkData rMark,
InsertDeleteFlags  nDelFlag,
bool  bBroadcast = true,
sc::ColumnSpanSet pBroadcastSpans = nullptr 
)

◆ DeleteAreaLinksOnTab()

void ScDocument::DeleteAreaLinksOnTab ( SCTAB  nTab)
private

◆ DeleteAreaTab() [1/2]

void ScDocument::DeleteAreaTab ( const ScRange rRange,
InsertDeleteFlags  nDelFlag 
)

◆ DeleteAreaTab() [2/2]

void ScDocument::DeleteAreaTab ( SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2,
SCTAB  nTab,
InsertDeleteFlags  nDelFlag 
)

◆ DeleteBeforeCopyFromClip()

void ScDocument::DeleteBeforeCopyFromClip ( sc::CopyFromClipContext rCxt,
const ScMarkData rMark,
sc::ColumnSpanSet rBroadcastSpans 
)

◆ DeleteBroadcasters()

void ScDocument::DeleteBroadcasters ( sc::ColumnBlockPosition rBlockPos,
const ScAddress rTopPos,
SCROW  nLength 
)

◆ DeleteCol() [1/2]

void ScDocument::DeleteCol ( const ScRange rRange)

◆ DeleteCol() [2/2]

void ScDocument::DeleteCol ( SCROW  nStartRow,
SCTAB  nStartTab,
SCROW  nEndRow,
SCTAB  nEndTab,
SCCOL  nStartCol,
SCSIZE  nSize,
ScDocument pRefUndoDoc = nullptr,
bool *  pUndoOutline = nullptr,
const ScMarkData pTabMark = nullptr 
)

◆ DeleteConditionalFormat()

void ScDocument::DeleteConditionalFormat ( sal_uLong  nIndex,
SCTAB  nTab 
)

Definition at line 881 of file documen4.cxx.

References FetchTable().

Referenced by ScDocFunc::ReplaceConditionalFormat().

◆ DeleteObjectsInArea()

void ScDocument::DeleteObjectsInArea ( SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2,
const ScMarkData rMark,
bool  bAnchored = false 
)

◆ DeleteObjectsInSelection()

void ScDocument::DeleteObjectsInSelection ( const ScMarkData rMark)

Definition at line 256 of file documen9.cxx.

References mpDrawLayer.

Referenced by ScViewFunc::CutToClip(), and ScDocFunc::DeleteContents().

◆ DeleteRow() [1/2]

void ScDocument::DeleteRow ( const ScRange rRange)

◆ DeleteRow() [2/2]

void ScDocument::DeleteRow ( SCCOL  nStartCol,
SCTAB  nStartTab,
SCCOL  nEndCol,
SCTAB  nEndTab,
SCROW  nStartRow,
SCSIZE  nSize,
ScDocument pRefUndoDoc = nullptr,
bool *  pUndoOutline = nullptr,
const ScMarkData pTabMark = nullptr 
)

◆ DeleteSelection()

void ScDocument::DeleteSelection ( InsertDeleteFlags  nDelFlag,
const ScMarkData rMark,
bool  bBroadcast = true 
)

◆ DeleteSelectionTab()

void ScDocument::DeleteSelectionTab ( SCTAB  nTab,
InsertDeleteFlags  nDelFlag,
const ScMarkData rMark 
)

◆ DeleteSparkline()

bool ScDocument::DeleteSparkline ( ScAddress const &  rPosition)

◆ DeleteTab()

bool ScDocument::DeleteTab ( SCTAB  nTab)

◆ DeleteTabs()

bool ScDocument::DeleteTabs ( SCTAB  nTab,
SCTAB  nSheets 
)

◆ DiscardFormulaGroupContext()

void ScDocument::DiscardFormulaGroupContext ( )

◆ DisposeFieldEditEngine()

void ScDocument::DisposeFieldEditEngine ( std::unique_ptr< ScFieldEditEngine > &  rpEditEngine)

Definition at line 1203 of file documen2.cxx.

References pCacheFieldEditEngine.

Referenced by ScColumn::GetNeededSize(), and ScCellTextData::~ScCellTextData().

◆ DoAutoOutline()

void ScDocument::DoAutoOutline ( SCCOL  nStartCol,
SCROW  nStartRow,
SCCOL  nEndCol,
SCROW  nEndRow,
SCTAB  nTab 
)

Definition at line 760 of file documen3.cxx.

References FetchTable().

Referenced by ScOutlineDocFunc::AutoOutline().

◆ DoEmptyBlock()

void ScDocument::DoEmptyBlock ( SCCOL  nStartCol,
SCROW  nStartRow,
SCCOL  nEndCol,
SCROW  nEndRow,
SCTAB  nTab 
)

Definition at line 2050 of file documen3.cxx.

References SetString().

Referenced by ScDocFunc::MergeCells().

◆ DoMerge()

void ScDocument::DoMerge ( SCCOL  nStartCol,
SCROW  nStartRow,
SCCOL  nEndCol,
SCROW  nEndRow,
SCTAB  nTab,
bool  bDeleteCaptions = true 
)

◆ DoMergeContents()

void ScDocument::DoMergeContents ( SCCOL  nStartCol,
SCROW  nStartRow,
SCCOL  nEndCol,
SCROW  nEndRow,
SCTAB  nTab 
)

Definition at line 2026 of file documen3.cxx.

References GetString(), and SetString().

Referenced by ScUndoMerge::DoChange(), and ScDocFunc::MergeCells().

◆ DoSubTotals()

bool ScDocument::DoSubTotals ( SCTAB  nTab,
ScSubTotalParam rParam 
)

Definition at line 779 of file documen3.cxx.

References ScTable::DoSubTotals(), and FetchTable().

Referenced by ScDBFunc::DoSubTotals(), and ScDBDocFunc::DoSubTotals().

◆ DrawGetPrintArea()

bool ScDocument::DrawGetPrintArea ( ScRange rRange,
bool  bSetHor,
bool  bSetVer 
) const
private

Definition at line 235 of file documen9.cxx.

References mpDrawLayer.

Referenced by GetDataStart(), GetPrintArea(), GetPrintAreaHor(), and GetPrintAreaVer().

◆ DumpColumnStorage()

SC_DLLPUBLIC void ScDocument::DumpColumnStorage ( SCTAB  nTab,
SCCOL  nCol 
) const

◆ dumpSheetGeomData()

OString ScDocument::dumpSheetGeomData ( SCTAB  nTab,
bool  bColumns,
SheetGeomType  eGeomType 
)

Serializes the specified sheet's geometry data.

Parameters
nTabis the index of the sheet to operate on.
bColumns- if true it dumps the data for columns, else it does for rows.
eGeomTypeindicates the type of data to be dumped for rows/columns.
Returns
the serialization of the specified sheet's geometry data as an OString.

Definition at line 1044 of file document10.cxx.

References ScTable::dumpSheetGeomData(), and FetchTable().

Referenced by ScTabView::getSheetGeometryData().

◆ EnableChangeReadOnly()

void ScDocument::EnableChangeReadOnly ( bool  bVal)
inline

◆ EnableDelayDeletingBroadcasters()

void ScDocument::EnableDelayDeletingBroadcasters ( bool  set)

If set, cells will not delete their empty broadcasters, avoiding possible extensive mdds vector changes.

Disabling delay will collect and delete all empty broadcasters.

Definition at line 449 of file document10.cxx.

References bDelayedDeletingBroadcasters, maTabs, and set().

Referenced by sc::DelayDeletingBroadcasters::DelayDeletingBroadcasters(), InsertCol(), InsertRow(), and sc::DelayDeletingBroadcasters::~DelayDeletingBroadcasters().

◆ EnableDelayStartListeningFormulaCells()

void ScDocument::EnableDelayStartListeningFormulaCells ( ScColumn column,
bool  delay 
)

◆ EnableExecuteLink()

void ScDocument::EnableExecuteLink ( bool  bVal)
inline

◆ EnableIdle()

void ScDocument::EnableIdle ( bool  bDo)
inline

◆ EnableUndo()

void ScDocument::EnableUndo ( bool  bVal)

◆ EnableUserInteraction()

void ScDocument::EnableUserInteraction ( bool  bVal)

Definition at line 6472 of file document.cxx.

References mbUserInteractionEnabled.

Referenced by ScExternalRefManager::loadSrcDocument().

◆ EndChangeTracking()

void ScDocument::EndChangeTracking ( )

Definition at line 287 of file documen2.cxx.

References mpShell, pChangeTrack, and SfxObjectShell::SetModified().

Referenced by ScDocShell::Execute(), and SetChangeTrack().

◆ EndListeningArea()

void ScDocument::EndListeningArea ( const ScRange rRange,
bool  bGroupListening,
SvtListener pListener 
)

◆ EndListeningCell() [1/2]

void ScDocument::EndListeningCell ( const ScAddress rAddress,
SvtListener pListener 
)

Definition at line 230 of file documen7.cxx.

References FetchTable(), and ScAddress::Tab().

Referenced by ScFormulaCell::EndListeningTo().

◆ EndListeningCell() [2/2]

void ScDocument::EndListeningCell ( sc::EndListeningContext rCxt,
const ScAddress rPos,
SvtListener rListener 
)

Definition at line 246 of file documen7.cxx.

References FetchTable(), and ScAddress::Tab().

◆ EndListeningFormulaCells()

void ScDocument::EndListeningFormulaCells ( std::vector< ScFormulaCell * > &  rCells)

Definition at line 253 of file documen7.cxx.

References sc::EndListeningContext::purgeEmptyBroadcasters().

◆ EndListeningGroups()

void ScDocument::EndListeningGroups ( const std::vector< ScAddress > &  rPosArray)
private

◆ EndListeningIntersectedGroup()

void ScDocument::EndListeningIntersectedGroup ( sc::EndListeningContext rCxt,
const ScAddress rPos,
std::vector< ScAddress > *  pGroupPos 
)
private

◆ EndListeningIntersectedGroups()

void ScDocument::EndListeningIntersectedGroups ( sc::EndListeningContext rCxt,
const ScRange rRange,
std::vector< ScAddress > *  pGroupPos 
)
private

◆ EndUnoRefUndo()

std::unique_ptr< ScUnoRefList > ScDocument::EndUnoRefUndo ( )

Definition at line 996 of file documen3.cxx.

References pUnoRefUndoList.

◆ EnsureFormulaCellResults()

bool ScDocument::EnsureFormulaCellResults ( const ScRange rRange,
bool  bSkipRunning = false 
)

Make sure all of the formula cells in the specified range have been fully calculated.

This method only re-calculates those formula cells that have been flagged dirty. In case of formula-groups, this calculates only the dirty subspans along with the dependents in the same way recursively.

Parameters
rRangerange in which to potentially calculate the formula cells.
bSkipRunningflag to skip evaluation of formula-cells that are marked as already being evaluated.
Returns
true if at least one formula-cell in the specified range was dirty else returns false.

Definition at line 1001 of file document10.cxx.

References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), ScTable::EnsureFormulaCellResults(), FetchTable(), ScAddress::Row(), and ScAddress::Tab().

Referenced by ScOutputData::FindChanged(), and ScDPCache::InitFromDoc().

◆ EnsureGraphicNames()

void ScDocument::EnsureGraphicNames ( )

Definition at line 381 of file documen9.cxx.

References mpDrawLayer.

Referenced by ScViewFunc::PasteDraw().

◆ EnsureTable()

void ScDocument::EnsureTable ( SCTAB  nTab)

◆ ExtendHidden()

void ScDocument::ExtendHidden ( SCCOL rX1,
SCROW rY1,
SCCOL rX2,
SCROW rY2,
SCTAB  nTab 
)

Definition at line 4676 of file document.cxx.

References FetchTable().

Referenced by ScGridWindow::Draw(), and ScGridWindow::UpdateFormulas().

◆ ExtendMerge() [1/2]

bool ScDocument::ExtendMerge ( SCCOL  nStartCol,
SCROW  nStartRow,
SCCOL rEndCol,
SCROW rEndRow,
SCTAB  nTab,
bool  bRefresh = false 
)

◆ ExtendMerge() [2/2]

bool ScDocument::ExtendMerge ( ScRange rRange,
bool  bRefresh = false 
)

◆ ExtendMergeSel()

void ScDocument::ExtendMergeSel ( SCCOL  nStartCol,
SCROW  nStartRow,
SCCOL rEndCol,
SCROW rEndRow,
const ScMarkData rMark,
bool  bRefresh = false 
)

Definition at line 5528 of file document.cxx.

References ExtendMerge(), GetTableCount(), and maTabs.

Referenced by ScViewFunc::PasteFromClip().

◆ ExtendOverlapped() [1/2]

void ScDocument::ExtendOverlapped ( SCCOL rStartCol,
SCROW rStartRow,
SCCOL  nEndCol,
SCROW  nEndRow,
SCTAB  nTab 
) const

◆ ExtendOverlapped() [2/2]

void ScDocument::ExtendOverlapped ( ScRange rRange) const

◆ ExtendPrintArea()

void ScDocument::ExtendPrintArea ( OutputDevice pDev,
SCTAB  nTab,
SCCOL  nStartCol,
SCROW  nStartRow,
SCCOL rEndCol,
SCROW  nEndRow 
) const

Find the maximum column position that contains printable data for the specified row range.

The final column position must be equal or less than the initial value of rEndCol.

Definition at line 2096 of file documen3.cxx.

References HasTable(), and maTabs.

Referenced by ScPrintFunc::AdjustPrintArea(), and IsPrintEmpty().

◆ ExtendTotalMerge()

void ScDocument::ExtendTotalMerge ( ScRange rRange) const

◆ FetchTable() [1/2]

ScTable * ScDocument::FetchTable ( SCTAB  nTab)

Definition at line 2509 of file document.cxx.

References HasTable(), and maTabs.

Referenced by AddCondFormat(), AddCondFormatData(), AddPrintRange(), ApplyAttr(), ApplyFlagsTab(), ApplyPattern(), ApplyPatternAreaTab(), ApplyStyle(), ApplyStyleAreaTab(), AssertNoInterpretNeeded(), BroadcastCells(), CalculateInColumnInThread(), CheckIntegrity(), ClearPrintRanges(), ColFiltered(), ColHidden(), ConvertFormulaToValue(), CopyCellValuesFrom(), CopyOneCellFromClip(), CopyToDocument(), CountNonFilteredRows(), CountVisibleRows(), CreateColumnIfNotExists(), CreateQueryParam(), CreateSparkline(), DeleteAreaTab(), DeleteBeforeCopyFromClip(), DeleteBroadcasters(), DeleteConditionalFormat(), DeleteSelectionTab(), DeleteSparkline(), DoAutoOutline(), DoMerge(), DoSubTotals(), dumpSheetGeomData(), EndListeningCell(), EndListeningGroups(), EndListeningIntersectedGroup(), EndListeningIntersectedGroups(), EnsureFormulaCellResults(), sc::ColumnSpanSet::executeAction(), sc::ColumnSpanSet::executeColumnAction(), sc::RangeColumnSpanSet::executeColumnAction(), ExtendHidden(), ExtendMerge(), ExtendOverlapped(), FetchVectorRefArray(), FillMatrix(), FillTab(), FillTabMarked(), oox::xls::WorksheetGlobals::finalizeWorksheetImport(), FindAreaPos(), FirstNonFilteredRow(), FirstVisibleRow(), ForgetNoteCaptions(), sc::FormulaGroupAreaListener::FormulaGroupAreaListener(), ScAccessibleTableBase::getAccessibleColumnExtentAt(), ScAccessibleTableBase::getAccessibleRowExtentAt(), GetAllColBreaks(), ScTable::GetAllNoteCaptionsState(), GetAllNoteEntries(), GetAllocatedColumnsRange(), GetAllRowBreaks(), GetAnonymousDBData(), ScTabView::GetAreaMoveEndPosition(), GetAttr(), GetAutoFormatData(), GetBroadcaster(), GetCellType(), GetCodeName(), GetColFlags(), GetColOffset(), ScDBQueryDataIterator::GetColumnCellStore(), GetColumnIterator(), GetColumnsRange(), GetColWidth(), GetCommonWidth(), ScModelObj::getDataArea(), GetDataArea(), GetDataAreaSubrange(), GetDataStart(), GetEditText(), GetEmptyLinesInBlock(), GetErrCode(), GetFilterEntriesArea(), ScValueIterator::GetFirst(), GetFirstEditTextRow(), GetFormula(), GetFormulaCell(), GetHashCode(), GetHiddenRowCount(), GetInputString(), GetLastChangedColFlagsWidth(), GetLastChangedRowFlagsWidth(), GetLastDataRow(), GetLastFlaggedRow(), GetLinkDoc(), GetLinkFlt(), GetLinkMode(), GetLinkOpt(), GetLinkRefreshDelay(), GetLinkTab(), GetLOKFreezeCol(), GetLOKFreezeRow(), GetMaxNumberStringLen(), GetMaxStringLen(), GetMostUsedPattern(), GetName(), GetNeededSize(), GetNextDifferentChangedColFlagsWidth(), GetNextDifferentChangedRowFlagsWidth(), GetNextMarkedCell(), GetNextPos(), GetNextSpellingCell(), GetNote(), GetNoteCount(), GetNotePosition(), GetNumberFormat(), GetOptimalColWidth(), GetOriginalHeight(), GetOriginalWidth(), GetOutlineTable(), GetPageSize(), GetPageStyle(), GetPattern(), GetPatternCount(), GetPrintArea(), GetPrintAreaHor(), GetPrintAreaVer(), GetPrintRange(), GetPrintRangeCount(), GetRangeName(), GetRefCellValue(), GetRepeatColRange(), GetRepeatRowRange(), GetRowBreakData(), GetRowFlags(), GetRowHeight(), GetRowOffset(), GetScaledRowHeight(), GetScenarioData(), GetScenarioFlags(), GetScenarioRanges(), GetScriptType(), GetSharedString(), GetSheetEvents(), GetSheetOptimalMinRowHeight(), GetSparkline(), GetSparklineList(), GetString(), GetStyle(), GetTabBgColor(), GetTableArea(), GetTabProtection(), GetTextWidth(), GetUnprotectedCells(), GetUpperCellString(), GetValue(), GetValueCell(), GetWritableColumnsRange(), HandleRefArrayForParallelism(), HandleStuffAfterParallelCalculation(), HasCalcNotification(), HasColBreak(), HasColHeader(), HasColNotes(), HasData(), HasFilteredRows(), HasFormulaCell(), HasHiddenRows(), HasManualBreaks(), HasMultipleDataCells(), HasNote(), HasRowBreak(), HasRowHeader(), HasScenarioRange(), HasSheetEventScript(), HasStringData(), HasTabNotes(), HasUniformRowHeight(), HasValueData(), InitColumnBlockPosition(), InsertMatrixFormula(), InterpretCellsIfNeeded(), InterpretDirtyCells(), InvalidatePageBreaks(), IsActiveScenario(), IsBlockEditable(), IsDefaultTabBgColor(), IsEditActionAllowed(), IsEmptyData(), IsLayoutRTL(), IsLinked(), IsManualRowHeight(), IsMerged(), IsPendingRowHeights(), IsPrintEntireSheet(), IsScenario(), IsStreamValid(), IsTabProtected(), IsVisible(), LastNonFilteredRow(), LastVisibleRow(), LimitChartArea(), LimitChartIfAll(), LockTable(), MarkScenario(), MixDocument(), ScFormulaGroupIterator::next(), PageStyleModified(), PrepareQuery(), Query(), QueryColumnsWithFormulaCells(), RefreshAutoFilter(), RegroupFormulaCells(), ReleaseNote(), RemoveColBreak(), RemoveCondFormatData(), RemoveEditTextCharAttribs(), RemoveFlagsTab(), RemoveManualBreaks(), RemoveRowBreak(), RemoveSubTotals(), Reorder(), ReplaceStyle(), ReservePatternCount(), ResolveStaticReference(), RestoreTabFromCache(), RowFiltered(), RowHidden(), sc::ColumnSpanSet::scan(), ScFormulaGroupIterator::ScFormulaGroupIterator(), ScHorizontalCellIterator::ScHorizontalCellIterator(), ScSortedRangeCache::ScSortedRangeCache(), SetActiveScenario(), SetAnonymousDBData(), SetCalcNotification(), SetCodeName(), SetColBreak(), SetColHidden(), SetColWidth(), SetColWidthOnly(), SetCondFormList(), SetDrawPageSize(), SetEditText(), SetEmptyCell(), SetError(), SetFormula(), SetFormulaCell(), SetFormulaCells(), SetFormulaResults(), SetLayoutRTL(), SetLink(), SetLOKFreezeCol(), SetLOKFreezeRow(), SetManualHeight(), SetNeedsListeningGroups(), SetNote(), SetNumberFormat(), SetOptimalHeight(), SetOutlineTable(), SetPageSize(), SetPageStyle(), SetPattern(), SetPendingRowHeights(), SetPrintEntireSheet(), SetRangeName(), SetRepeatArea(), SetRepeatColRange(), SetRepeatRowRange(), SetRowBreak(), SetRowFiltered(), SetRowFlags(), SetRowHeight(), SetRowHeightOnly(), SetRowHeightRange(), SetRowHidden(), SetScenario(), SetScenarioData(), SetScriptType(), SetSheetEvents(), SetStreamValid(), SetString(), SetTabBgColor(), SetTabProtection(), SetTextCell(), SetValue(), SetValues(), SetVisible(), ShowCol(), ShowRow(), ShowRows(), ShrinkToUsedDataArea(), Sort(), StartAllListeners(), StartListeningCell(), StartListeningFromClip(), StoreTabToCache(), StripHidden(), SwapNonEmpty(), sc::TableColumnBlockPositionSet::TableColumnBlockPositionSet(), TestRemoveSubTotals(), TransferCellValuesTo(), TransferTab(), UnlockTable(), UnshareFormulaCells(), UpdateOutlineCol(), UpdateOutlineRow(), UpdatePageBreaks(), and UpdateScriptTypes().

◆ FetchTable() [2/2]

const ScTable * ScDocument::FetchTable ( SCTAB  nTab) const

Definition at line 2517 of file document.cxx.

References HasTable(), and maTabs.

◆ FetchVectorRefArray()

formula::VectorRefArray ScDocument::FetchVectorRefArray ( const ScAddress rPos,
SCROW  nLength 
)

◆ Fill()

void ScDocument::Fill ( SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2,
ScProgress pProgress,
const ScMarkData rMark,
sal_uInt64  nFillCount,
FillDir  eFillDir = FILL_TO_BOTTOM,
FillCmd  eFillCmd = FILL_LINEAR,
FillDateCmd  eFillDateCmd = FILL_DAY,
double  nStepValue = 1.0,
double  nMaxValue = 1E307 
)

◆ FillInfo()

void ScDocument::FillInfo ( ScTableInfo rTabInfo,
SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2,
SCTAB  nTab,
double  fColScale,
double  fRowScale,
bool  bPageMode,
bool  bFormulaMode,
const ScMarkData pMarkData = nullptr 
)

Definition at line 355 of file fillinfo.cxx.

References aData, ATTR_BACKGROUND(), ATTR_BORDER(), ATTR_BORDER_BLTR(), ATTR_BORDER_TLBR(), ATTR_CONDITIONAL(), ATTR_MERGE(), ATTR_MERGE_FLAG(), ATTR_PROTECTION(), ATTR_SHADOW(), Auto, RowInfo::basicCellInfo(), ScCellInfo::bAutoFilter, RowInfo::bAutoFilter, RowInfo::bEmptyBack, ScBasicCellInfo::bEmptyCellText, ScCellInfo::bFilterActive, ScCellInfo::bHOverlapped, ScCellInfo::bMerged, ScCellInfo::bPivotButton, RowInfo::bPivotButton, ScCellInfo::bPivotCollapseButton, ScCellInfo::bPivotExpandButton, ScCellInfo::bPivotPopupButton, ScCellInfo::bPivotPopupButtonMulti, RowInfo::bPivotToggle, Button, ButtonPopup, ButtonPopup2, ScCellInfo::bVOverlapped, RowInfo::cellInfo(), CELLTYPE_FORMULA, ColHidden(), Conditional, Count, ScAttrArray::Count(), DpCollapse, DpExpand, ScCellInfo::eHShadowPart, o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::empty(), ScConditionalFormatList::endRendering(), ScCellInfo::eVShadowPart, FindMaxRotCol(), Get(), GetAllocatedColumnsCount(), SvxBoxItem::GetBottom(), ScGlobal::GetButtonBrushItem(), GetColWidth(), GetCondFormList(), GetCondResult(), ScConditionalFormat::GetData(), SfxItemPool::GetDefaultItem(), GetDefPattern(), ScConditionalFormatList::GetFormat(), ScProtectionAttr::GetHideCell(), ScProtectionAttr::GetHideFormula(), ScPatternAttr::GetItem(), SfxItemSet::GetItemIfSet(), ScPatternAttr::GetItemSet(), SvxBoxItem::GetLeft(), SvxLineItem::GetLine(), SvxShadowItem::GetLocation(), ScMarkData::GetMarkArray(), GetPattern(), GetPreviewCellStyle(), SvxBoxItem::GetRight(), GetRowHeight(), SvxBoxItem::GetTop(), ScRefCellValue::getType(), HasAttrib(), HiddenMember, Hor, svx::frame::Array::Initialize(), IsLayoutRTL(), svx::frame::Array::IsMerged(), ScMarkData::IsMultiMarked(), IsTabProtected(), lcl_GetMergeRange(), ScTableInfo::maArray, ScCellInfo::maCell, ScColumn::maCells, maTabs, MaxCol(), MaxRow(), ScTableInfo::mbPageMode, svx::frame::Array::MirrorSelfX(), ScTableInfo::mnArrCapacity, ScTableInfo::mnArrCount, ScCellInfo::mpBLTRLine, ScTableInfo::mpRowInfo, ScCellInfo::mpTLBRLine, ScAttrArray::mvData, ScMarkArray::mvData, ScCellInfo::mxColorScale, mxPoolHelper, nIndex, RowInfo::nRotMaxCol, RowInfo::nRowNo, ScBasicCellInfo::nWidth, sc::ParseAllNonEmpty(), ScColumnData::pAttrArray, ScCellInfo::pBackground, ScCellInfo::pConditionSet, ScCellInfo::pHShadowOrigin, ScCellInfo::pLinesAttr, ScCellInfo::pPatternAttr, ScCellInfo::pShadowAttr, SfxItemPool::Put(), ScCellInfo::pVShadowOrigin, Rotate, RowHidden(), SC_ROTMAX_NONE, SC_SHADOW_CORNER, SC_SHADOW_HORIZ, SC_SHADOW_HSTART, SC_SHADOW_VERT, SC_SHADOW_VSTART, Scenario, ScAttrArray::Search(), ScMarkArray::Search(), svx::frame::Array::SetAddMergedBottomSize(), svx::frame::Array::SetAddMergedLeftSize(), svx::frame::Array::SetAddMergedRightSize(), svx::frame::Array::SetAddMergedTopSize(), svx::frame::Array::SetCellStyleBLTR(), svx::frame::Array::SetCellStyleBottom(), svx::frame::Array::SetCellStyleLeft(), svx::frame::Array::SetCellStyleRight(), svx::frame::Array::SetCellStyleTLBR(), svx::frame::Array::SetCellStyleTop(), svx::frame::Array::SetMergedRange(), ScPatternAttr::SetStyleSheet(), ScConditionalFormatList::startRendering(), STD_COL_WIDTH, ValidCol(), and Ver.

Referenced by ScGridWindow::Draw(), ScPrintFunc::DrawToDev(), ScInputHandler::GetReferenceMark(), ScGridWindow::PaintTile(), ScPrintFunc::PrintArea(), and ScGridWindow::UpdateFormulas().

◆ FillMatrix()

void ScDocument::FillMatrix ( ScMatrix rMat,
SCTAB  nTab,
SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2,
svl::SharedStringPool pPool = nullptr 
) const

◆ FillTab()

void ScDocument::FillTab ( const ScRange rSrcArea,
const ScMarkData rMark,
InsertDeleteFlags  nFlags,
ScPasteFunc  nFunction,
bool  bSkipEmpty,
bool  bAsLink 
)

◆ FillTabMarked()

void ScDocument::FillTabMarked ( SCTAB  nSrcTab,
const ScMarkData rMark,
InsertDeleteFlags  nFlags,
ScPasteFunc  nFunction,
bool  bSkipEmpty,
bool  bAsLink 
)

◆ finalizeOutlineImport()

void ScDocument::finalizeOutlineImport ( )

Definition at line 585 of file document10.cxx.

References maTabs, and p.

◆ FinalTrackFormulas()

void ScDocument::FinalTrackFormulas ( SfxHintId  nHintId)

◆ FindAreaPos()

void ScDocument::FindAreaPos ( SCCOL rCol,
SCROW rRow,
SCTAB  nTab,
ScMoveDirection  eDirection 
) const

Definition at line 6078 of file document.cxx.

References FetchTable().

Referenced by ScViewFunc::FillCrossDblClick(), and ScTabView::GetAreaMoveEndPosition().

◆ FindDdeLink()

bool ScDocument::FindDdeLink ( std::u16string_view  rAppl,
std::u16string_view  rTopic,
std::u16string_view  rItem,
sal_uInt8  nMode,
size_t &  rnDdePos 
)

Tries to find a DDE link with the specified connection data.

Parameters
rnDdePos(out-param) Returns the index of the DDE link (does not include other links from link manager).
Returns
true = DDE link found, rnDdePos valid.

Definition at line 954 of file documen8.cxx.

References GetLinkManager().

Referenced by ScDDELinkObj::getResults(), and ScDDELinkObj::setResults().

◆ FindMaxRotCol()

void ScDocument::FindMaxRotCol ( SCTAB  nTab,
RowInfo pRowInfo,
SCSIZE  nArrCount,
SCCOL  nX1,
SCCOL  nX2 
) const
private

Definition at line 5228 of file document.cxx.

References HasTable(), and maTabs.

Referenced by FillInfo().

◆ FindOleObjectByName()

uno::Reference< embed::XEmbeddedObject > ScDocument::FindOleObjectByName ( std::u16string_view  rName)

◆ FindOrder()

void ScDocument::FindOrder ( SCCOLROW pOtherRows,
SCCOLROW  nThisEndRow,
SCCOLROW  nOtherEndRow,
bool  bColumns,
ScDocument rOtherDoc,
SCTAB  nThisTab,
SCTAB  nOtherTab,
SCCOLROW  nEndCol,
const SCCOLROW pTranslate,
ScProgress pProgress,
sal_uInt64  nProAdd 
)
private

◆ FindRangeNameBySheetAndIndex()

ScRangeData * ScDocument::FindRangeNameBySheetAndIndex ( SCTAB  nTab,
sal_uInt16  nIndex 
) const

Find a named expression / range name in either global or a local scope.

Parameters
nTabIf <0 search nIndex in global scope, if >=0 search nIndex in scope of nTab.
nIndexIndex of named expression / range name.
Returns
nullptr if indexed name not found.

Definition at line 269 of file documen3.cxx.

References ScRangeName::findByIndex(), GetRangeName(), and nIndex.

Referenced by ScChart2DataProvider::detectArguments(), FindRangeNamesReferencingSheet(), ScCompiler::GetRangeData(), ScRefTokenHelper::getRangeFromToken(), ScValidationData::GetSelectionFromFormula(), HasRelRefIgnoringSheet0Relative(), lcl_FindRangeNamesInUse(), lcl_HasRelRef(), ScFormulaCell::ScFormulaCell(), ScFormulaCell::UpdateGrow(), and ScFormulaCell::UpdateTranspose().

◆ FindRangeNamesReferencingSheet()

bool ScDocument::FindRangeNamesReferencingSheet ( sc::UpdatedRangeNames rIndexes,
SCTAB  nTokenTab,
const sal_uInt16  nTokenIndex,
SCTAB  nGlobalRefTab,
SCTAB  nLocalRefTab,
SCTAB  nOldTokenTab,
SCTAB  nOldTokenTabReplacement,
bool  bSameDoc,
int  nRecursion 
) const

Recursively find all named expressions that directly or indirectly (nested) reference a given sheet, starting from a given named expression nTokenTab/nTokenIndex.

Used to collect all named expressions/ranges that will need to be copied along when copying sheets.

The different tab/sheets passed cater for the situation that a sheet is copied and was already inserted and global names are already adjusted but the sheet-local names of the shifted original sheet are not yet. If no sheet was inserted and global and local names' references not updated yet, then all 4 tab arguments would be identical.

Parameters
nTokenTabTab/sheet on which to find the name, -1 if global scope. For example obtained from ocName token.
nTokenIndexIndex of named expression. For example obtained from ocName token.
nGlobalRefTabTab to check if used in global names.
nLocalRefTabTab to check if used in sheet-local names.
nOldTokenTabThe original tab of the copied sheet, used as sheet-local base position for relative references.
nOldTokenTabReplacementThe replacement to use for relative references if the name encountered uses nOldTokenTab as base position.
bSameDocFALSE if collecting names for a sheet to be copied to another document. Then all names encountered are considered to be referencing the sheet. Else TRUE if collecting names to be copied into the same document.
nRecursionRecursion guard, initialize with 0.

Definition at line 594 of file document10.cxx.

References FindRangeNameBySheetAndIndex(), FindRangeNamesReferencingSheet(), formula::FormulaTokenArrayPlainIterator::First(), sc::UpdatedRangeNames::isNameUpdated(), formula::FormulaTokenArrayPlainIterator::Next(), ocName, p, pData, ScTokenArray::ReferencesSheet(), SAL_WARN, SAL_WARN_IF, and sc::UpdatedRangeNames::setUpdatedName().

Referenced by CopyAdjustRangeName(), and FindRangeNamesReferencingSheet().

◆ FirstNonFilteredRow()

SCROW ScDocument::FirstNonFilteredRow ( SCROW  nStartRow,
SCROW  nEndRow,
SCTAB  nTab 
) const

Definition at line 4502 of file document.cxx.

References FetchTable().

Referenced by CopyNonFilteredFromClip().

◆ FirstVisibleRow()

SCROW ScDocument::FirstVisibleRow ( SCROW  nStartRow,
SCROW  nEndRow,
SCTAB  nTab 
) const

◆ FitBlock()

void ScDocument::FitBlock ( const ScRange rOld,
const ScRange rNew,
bool  bClear = true 
)

◆ ForgetNoteCaptions()

void ScDocument::ForgetNoteCaptions ( const ScRangeList rRanges,
bool  bPreserveData 
)

◆ GetAddressConvention()

formula::FormulaGrammar::AddressConvention ScDocument::GetAddressConvention ( ) const

Definition at line 492 of file documen3.cxx.

References eGrammar, and formula::FormulaGrammar::extractRefConvention().

Referenced by ScChartsObj::addNewByName(), ScOutputData::AddPDFNotes(), ScColRowNameRangesDlg::AdjustColRowData(), FormulaTemplate::applyAddress(), FormulaTemplate::applyRange(), FormulaTemplate::applyRangeList(), ScDocFunc::CreateOneName(), ScTabPageSortOptions::DeactivatePage(), ScTabView::DoChartSelection(), ScPosWnd::DoEnter(), ScValidationData::DoMacro(), ScPrintFunc::DoNotes(), ScViewFunc::DoRefConversion(), ScValidationData::DoScript(), ScGridWindow::DropTransferObj(), ScTabPageSortOptions::EdOutPosModHdl(), ScDocShell::Execute(), ScEditShell::Execute(), ScTabViewShell::Execute(), ScCellShell::ExecuteEdit(), sc::SearchResultsDlg::FillResults(), ScAreaLink::FindExtRange(), FuInsertChart::FuInsertChart(), ScRangeStringConverter::GetAddressFromString(), GetChartRanges(), ScCondFormatDlg::GetConditionalFormat(), ScChartObj::GetData_Impl(), ScColBar::GetEntryText(), GetOldChartParameters(), ScFilterDlg::GetOutputItem(), ScDocumentConfiguration::getPropertyValue(), ScRandomNumberGeneratorDialog::GetRangeFromSelection(), ScChangeAction::GetRefString(), ScChangeActionContent::GetRefString(), getScRangeListForAddress(), sc::DataStreamDlg::GetStartRange(), ScTabViewShell::GetState(), ScRangeStringConverter::GetStringFromXMLRangeString(), ScRegressionDialog::GetVariableNameFormula(), ScPrintAreasDlg::Impl_CheckRefStrings(), ScPrintAreasDlg::Impl_FillLists(), ScPrintAreasDlg::Impl_GetItem(), IMPL_LINK_NOARG(), ScPrintAreasDlg::Impl_Reset(), ScCondFormatManagerWindow::Init(), ScConsolidateDlg::Init(), ScFilterOptionsMgr::Init(), ScSolverDlg::Init(), ScTabPageSortOptions::Init(), sc::DataStreamDlg::Init(), ScOptSolverDlg::Init(), ScSpecialFilterDlg::Init(), ScInputHandler::InitRangeFinder(), lcl_appendCellAddress(), lcl_appendCellRangeAddress(), lcl_CheckRepeatString(), lcl_GetInputType(), lcl_GetRepeatRangeString(), lcl_Parse(), ScGridWindow::MouseButtonUp(), ScOptSolverDlg::ParseRef(), ScFormulaReferenceHelper::ParseWithNames(), ScViewFunc::PasteDataFormat(), ScXMLSourceDlg::RefEditModified(), ScTabPageSortOptions::Reset(), RestoreChartListener(), ScInterpreter::ScAddressFunc(), ScInterpreter::ScCell(), ScInterpreter::ScCellExternal(), ScCondFormatDlg::ScCondFormatDlg(), ScInterpreter::ScIndirect(), ScNameDefDlg::ScNameDefDlg(), ScTable::SearchCell(), SetChartRangeList(), SetChartRanges(), ScColRowNameRangesDlg::SetColRowData(), ScCompiler::SetGrammarAndRefConvention(), sc::SparklineDialog::setInputSelection(), ScViewFunc::SetPrintRanges(), ScCondFormatDlg::SetReference(), ScXMLSourceDlg::SetReference(), ScPrintAreasDlg::SetReference(), ScConsolidateDlg::SetReference(), ScFilterDlg::SetReference(), ScSpecialFilterDlg::SetReference(), ScHighlightChgDlg::SetReference(), ScNameDefDlg::SetReference(), ScNameDlg::SetReference(), ScOptSolverDlg::SetReference(), ScRandomNumberGeneratorDialog::SetReference(), ScSamplingDialog::SetReference(), ScSimpleRefDlg::SetReference(), ScSolverDlg::SetReference(), ScStatisticsInputOutputDialog::SetReference(), ScStatisticsTwoVariableDialog::SetReference(), ScTabOpDlg::SetReference(), sc::SparklineDataRangeDialog::SetReference(), sc::SparklineDialog::SetReference(), ScTPValidationValue::SetReferenceHdl(), ScTable::SetString(), sc::SparklineDataRangeDialog::setupValues(), ScXMLSourceDlg::TreeItemSelected(), UpdateChartArea(), ScColRowNameRangesDlg::UpdateNames(), ScColRowNameRangesDlg::UpdateRangeData(), ScConsolidateDlg::VerifyEdit(), ScFilterOptionsMgr::VerifyPosStr(), ScRegressionDialog::WriteRegressionEstimatesWithCI(), and ExcDocument::WriteXml().

◆ GetAllColBreaks()

void ScDocument::GetAllColBreaks ( std::set< SCCOL > &  rBreaks,
SCTAB  nTab,
bool  bPage,
bool  bManual 
) const

◆ GetAllNoteCaptionsState()

CommentCaptionState ScDocument::GetAllNoteCaptionsState ( const ScRangeList rRanges)

◆ GetAllNoteEntries() [1/2]

void ScDocument::GetAllNoteEntries ( SCTAB  nTab,
std::vector< sc::NoteEntry > &  rNotes 
) const

Definition at line 6846 of file document.cxx.

References FetchTable().

◆ GetAllNoteEntries() [2/2]

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

◆ GetAllocatedColumnsCount()

SCCOL ScDocument::GetAllocatedColumnsCount ( SCTAB  nTab) const

◆ GetAllocatedColumnsRange()

ScColumnsRange ScDocument::GetAllocatedColumnsRange ( SCTAB  nTab,
SCCOL  nColBegin,
SCCOL  nColEnd 
) const

Definition at line 2534 of file document.cxx.

References FetchTable().

Referenced by ScAnnotationsObj::getCount(), and GetNotePosition().

◆ GetAllRowBreaks()

void ScDocument::GetAllRowBreaks ( std::set< SCROW > &  rBreaks,
SCTAB  nTab,
bool  bPage,
bool  bManual 
) const

◆ GetAllTableNames()

std::vector< OUString > ScDocument::GetAllTableNames ( ) const

◆ GetAllTabRangeNames()

void ScDocument::GetAllTabRangeNames ( ScRangeName::TabNameCopyMap rRangeNames) const

Get all range names that are local to each table.

It only returns non-empty range name set.

Definition at line 107 of file documen3.cxx.

References GetTableCount(), i, maTabs, and p.

Referenced by XclExpNameManagerImpl::CreateUserNames(), and sc::TokenStringContext::TokenStringContext().

◆ GetAnonymousDBData() [1/2]

ScDBData * ScDocument::GetAnonymousDBData ( )

Definition at line 313 of file document.cxx.

References mpAnonymousDBData.

◆ GetAnonymousDBData() [2/2]

ScDBData * ScDocument::GetAnonymousDBData ( SCTAB  nTab)

◆ GetAsianCompression()

CharCompressType ScDocument::GetAsianCompression ( ) const

◆ GetAsianKerning()

bool ScDocument::GetAsianKerning ( ) const

◆ GetAttr() [1/6]

const SfxPoolItem * ScDocument::GetAttr ( const ScAddress rPos,
sal_uInt16  nWhich 
) const

Definition at line 4714 of file document.cxx.

References ScAddress::Col(), GetAttr(), ScAddress::Row(), and ScAddress::Tab().

◆ GetAttr() [2/6]

template<class T >
const T * ScDocument::GetAttr ( const ScAddress rPos,
TypedWhichId< T >  nWhich 
) const
inline

Definition at line 1812 of file document.hxx.

References GetAttr().

◆ GetAttr() [3/6]

const SfxPoolItem * ScDocument::GetAttr ( SCCOL  nCol,
SCROW  nRow,
SCTAB  nTab,
sal_uInt16  nWhich 
) const

Definition at line 4684 of file document.cxx.

References FetchTable(), and mxPoolHelper.

Referenced by ScDBFunc::ApplyAutoFilter(), ScGridWindow::DoPushPivotToggle(), ScGridWindow::DrawButtons(), ScOutputData::DrawClipMarks(), ScOutputData::DrawFormulaMarks(), ScOutputData::DrawGrid(), ScViewFunc::EnterData(), ExcAutoFilterRecs::ExcAutoFilterRecs(), ScCellShell::ExecuteDB(), ScTabView::ExpandBlock(), ExtendOverlapped(), XclImpXFRangeBuffer::Finalize(), oox::xls::AutoFilter::finalizeImport(), ScOutputData::FindChanged(), ScConversionEngineBase::FindNextConversionCell(), ScAccessiblePreviewTable::getAccessibleColumnExtentAt(), ScAccessiblePreviewTable::getAccessibleRowExtentAt(), GetAttr(), ScAccessibleCell::GetBoundingBox(), ScTable::GetCellBackgroundColor(), ScDrawLayer::GetCellRect(), ScTable::GetCellTextColor(), ScAccessibleCell::getCharacterAttributes(), GetCondFormat(), GetDataEntries(), ScViewUtil::GetEffLanguage(), ScGridWindow::GetListValButtonRect(), ScOutputData::GetMergeOrigin(), ScViewData::GetMergeSizePixel(), ScViewData::GetMergeSizePrintTwips(), ScViewData::GetPosFromPixel(), ScGridWindow::GetRectsAnyFor(), ScTabViewObj::getSelection(), ScCellShell::GetState(), ScAccessibleCellTextData::GetTextForwarder(), ScGridWindow::HandleMouseButtonDown(), HasAutoFilter(), HasSelectionData(), ScDBFunc::HasSelectionForDateGroup(), HasValidationData(), ScDBFunc::HideAutoFilter(), ScFormulaCell::InterpretTail(), ScAccessibleCell::IsDropdown(), ScAccessibleCell::IsEditable(), IsHorOverlapped(), FuSelection::IsNoteCaptionClicked(), ScAccessibleCell::IsOpaque(), ScAccessiblePreviewCell::IsOpaque(), ScTabViewShell::IsRefInputMode(), IsVerOverlapped(), ScGridWindow::LaunchDataSelectMenu(), lcl_GetMergeRange(), lcl_HasButton(), oox::xls::lcl_SetBorderLine(), lcl_UnLockComment(), ScClipUtil::PasteFromClipboard(), RemoveMerge(), ScInterpreter::ScCell(), XclImpXFRangeBuffer::SetBorderLine(), XclImpAutoFilterData::SetCellAttribs(), ScDocFunc::SetNormalString(), ScTabView::StartDataSelect(), ScTransferObj::StripRefs(), ScTabView::TestHintWindow(), ScDBFunc::ToggleAutoFilter(), TransliterateText(), ScTabViewShell::UpdateInputHandler(), ScHTMLExport::WriteCell(), and ScHTMLImport::WriteToDocument().

◆ GetAttr() [4/6]

const SfxPoolItem * ScDocument::GetAttr ( SCCOL  nCol,
SCROW  nRow,
SCTAB  nTab,
sal_uInt16  nWhich,
SCROW nStartRow,
SCROW nEndRow 
) const

Definition at line 4699 of file document.cxx.

References FetchTable(), and mxPoolHelper.

◆ GetAttr() [5/6]

template<class T >
const T * ScDocument::GetAttr ( SCCOL  nCol,
SCROW  nRow,
SCTAB  nTab,
TypedWhichId< T >  nWhich 
) const
inline

Definition at line 1800 of file document.hxx.

References GetAttr().

◆ GetAttr() [6/6]

template<class T >
const T * ScDocument::GetAttr ( SCCOL  nCol,
SCROW  nRow,
SCTAB  nTab,
TypedWhichId< T >  nWhich,
SCROW nStartRow,
SCROW nEndRow 
) const
inline

Definition at line 1806 of file document.hxx.

References GetAttr().

◆ GetAutoCalc()

SC_DLLPUBLIC bool ScDocument::GetAutoCalc ( ) const
inline

◆ GetAutoFillPreview()

OUString ScDocument::GetAutoFillPreview ( const ScRange rSource,
SCCOL  nEndX,
SCROW  nEndY 
)

Definition at line 1178 of file documen3.cxx.

References ScRange::aStart, GetTableCount(), maTabs, and ScAddress::Tab().

Referenced by ScTabView::UpdateRef().

◆ GetAutoFormatData()

void ScDocument::GetAutoFormatData ( SCTAB  nTab,
SCCOL  nStartCol,
SCROW  nStartRow,
SCCOL  nEndCol,
SCROW  nEndRow,
ScAutoFormatData rData 
)

Definition at line 1202 of file documen3.cxx.

References FetchTable(), and PutInOrder().

Referenced by ScViewFunc::CreateAutoFormatData().

◆ GetAutoNameCache()

ScAutoNameCache * ScDocument::GetAutoNameCache ( )
inline

Definition at line 1388 of file document.hxx.

References pAutoNameCache.

Referenced by ScCompiler::ParseColRowName().

◆ GetBASM()

ScBroadcastAreaSlotMachine * ScDocument::GetBASM ( ) const
inline

◆ GetBorderLines()

void ScDocument::GetBorderLines ( SCCOL  nCol,
SCROW  nRow,
SCTAB  nTab,
const ::editeng::SvxBorderLine **  ppLeft,
const ::editeng::SvxBorderLine **  ppTop,
const ::editeng::SvxBorderLine **  ppRight,
const ::editeng::SvxBorderLine **  ppBottom 
) const

◆ GetBreakIterator()

const uno::Reference< i18n::XBreakIterator > & ScDocument::GetBreakIterator ( )

◆ GetBroadcaster() [1/2]

SvtBroadcaster * ScDocument::GetBroadcaster ( const ScAddress rPos)

◆ GetBroadcaster() [2/2]

const SvtBroadcaster * ScDocument::GetBroadcaster ( const ScAddress rPos) const

◆ GetBroadcasterState()

sc::BroadcasterState ScDocument::GetBroadcasterState ( ) const

Definition at line 1106 of file document10.cxx.

References maTabs, and pBASM.

◆ GetCalcConfig()

const ScCalcConfig & ScDocument::GetCalcConfig ( ) const
inline

◆ GetCellArea()

bool ScDocument::GetCellArea ( SCTAB  nTab,
SCCOL rEndCol,
SCROW rEndRow 
) const

Definition at line 998 of file document.cxx.

References HasTable(), and maTabs.

Referenced by CompareDocument(), ScViewFunc::PasteDataFormat(), and ScAreaLink::Refresh().

◆ GetCellChangeTrackNote()

void ScDocument::GetCellChangeTrackNote ( const ScAddress cell,
OUString &  strTrackText,
bool &  pbLeftEdge 
)

◆ GetCellCount()

sal_uInt64 ScDocument::GetCellCount ( ) const

Definition at line 6125 of file document.cxx.

References a, and maTabs.

Referenced by ScXMLExport::ExportMeta_(), and GetDocStat().

◆ GetCellScriptType()

SvtScriptType ScDocument::GetCellScriptType ( const ScAddress rPos,
sal_uInt32  nNumberFormat,
const ScRefCellValue pCell = nullptr 
)

◆ GetCellType() [1/2]

CellType ScDocument::GetCellType ( const ScAddress rPos) const

Definition at line 3728 of file document.cxx.

References CELLTYPE_NONE, FetchTable(), and ScAddress::Tab().

◆ GetCellType() [2/2]

CellType ScDocument::GetCellType ( SCCOL  nCol,
SCROW  nRow,
SCTAB  nTab 
) const

◆ GetChangeTrack()

ScChangeTrack * ScDocument::GetChangeTrack ( ) const
inline

Definition at line 2494 of file document.hxx.

References pChangeTrack.

Referenced by ScTabControl::AcceptDrop(), ScAcceptChgDlg::AcceptFiltered(), ScChangeViewSettings::AdjustDateMode(), ScAcceptChgDlg::AppendChangeAction(), ScAcceptChgDlg::AppendFilteredAction(), ScViewFunc::CopyToClipMultiRange(), ScViewFunc::CopyToClipSingleRange(), ScXMLChangeTrackingImportHelper::CreateChangeTrack(), XclExpChangeTrack::CreateTempChangeTrack(), ScViewFunc::DataFormPutData(), ScTabViewShell::Deactivate(), ScDocFunc::DeleteCells(), ScUndoPaste::DoChange(), ScUndoInsertCells::DoChange(), ScUndoDeleteCells::DoChange(), ScUndoCut::DoChange(), ScUndoDeleteContents::DoChange(), ScUndoFillTable::DoChange(), ScUndoDataForm::DoChange(), ScDBDocFunc::DoImport(), ScUndoDragDrop::DoUndo(), ScOutputData::DrawChangeTrack(), ScGridWindow::DrawContent(), ScCellShell::Execute(), ScDocShell::Execute(), ScTabControl::ExecuteDrop(), ScCellShell::ExecuteEdit(), ScTabViewShell::ExecuteTable(), ScXMLExport::ExportContent_(), ExcTable::FillAsHeaderBinary(), ExcTable::FillAsHeaderXml(), ScCellShell::GetBlockState(), GetCellChangeTrackNote(), ScDocShell::GetChangeAction(), ScCellShell::GetDBState(), ScAcceptChgDlg::GetDependents(), ScCellShell::GetState(), ScPivotShell::GetState(), ScTabViewShell::GetState(), ScTabViewShell::GetStateTable(), ScModelObj::getTrackedChanges(), ScAcceptChgDlg::Init(), ScHighlightChgDlg::Init(), ScFilterDlg::Init(), ScSpecialFilterDlg::Init(), ScAcceptChgDlg::InsertAcceptedORejected(), ScDocFunc::InsertCells(), ScAcceptChgDlg::InsertChangeActionContent(), ScAcceptChgDlg::InsertChildren(), ScAcceptChgDlg::InsertDeletedChildren(), ScViewUtil::IsActionShown(), IsCellInChangeTrack(), lcl_TestScenarioRedliningDrop(), ScDocShell::MergeDocument(), ScDocShell::MergeSharedDocument(), ScViewFunc::PasteFromClip(), ScAcceptChgDlg::ReInit(), ScAcceptChgDlg::RejectFiltered(), ScChangeTrackingExportHelper::ScChangeTrackingExportHelper(), ScConflictsDlg::ScConflictsDlg(), ScDocShell::SetChangeComment(), ScUndoInsertCells::SetChangeTrack(), ScUndoDeleteCells::SetChangeTrack(), ScUndoDeleteMulti::SetChangeTrack(), ScUndoCut::SetChangeTrack(), ScUndoPaste::SetChangeTrack(), ScUndoDragDrop::SetChangeTrack(), ScUndoDeleteContents::SetChangeTrack(), ScUndoFillTable::SetChangeTrack(), ScUndoAutoFill::SetChangeTrack(), ScUndoReplace::SetChangeTrack(), ScUndoConversion::SetChangeTrack(), ScUndoRefConversion::SetChangeTrack(), ScUndoEnterMatrix::SetChangeTrack(), ScUndoEnterData::SetChangeTrack(), ScUndoEnterValue::SetChangeTrack(), ScUndoSetCell::SetChangeTrack(), ScUndoInsertTab::SetChangeTrack(), ScUndoInsertTables::SetChangeTrack(), ScUndoDeleteTab::SetChangeTrack(), ScUndoThesaurus::SetChangeTrack(), ScXMLImport::SetConfigurationSettings(), ScGridWindow::ShowNoteMarker(), ScUndoDeleteMulti::Undo(), ScUndoAutoFill::Undo(), ScUndoReplace::Undo(), ScUndoConversion::Undo(), ScUndoRefConversion::Undo(), ScUndoEnterMatrix::Undo(), ScUndoEnterData::Undo(), ScUndoEnterValue::Undo(), ScUndoSetCell::Undo(), ScUndoThesaurus::Undo(), ScUndoInsertTab::Undo(), ScUndoInsertTables::Undo(), ScUndoDeleteTab::Undo(), ScFormulaCell::UpdateReferenceOnMove(), ScFormulaCell::UpdateReferenceOnShift(), ScAcceptChgDlg::UpdateView(), and ScAcceptChgDlg::~ScAcceptChgDlg().

◆ GetChangeViewSettings()

ScChangeViewSettings * ScDocument::GetChangeViewSettings ( ) const
inline

◆ GetChartByName()

uno::Reference< chart2::XChartDocument > ScDocument::GetChartByName ( std::u16string_view  rChartName)

◆ GetChartListenerCollection()

SC_DLLPUBLIC ScChartListenerCollection * ScDocument::GetChartListenerCollection ( ) const
inline

◆ GetChartRanges()

void ScDocument::GetChartRanges ( std::u16string_view  rChartName,
std::vector< ScRangeList > &  rRanges,
const ScDocument rSheetNameDoc 
)

◆ GetClipArea()

void ScDocument::GetClipArea ( SCCOL nClipX,
SCROW nClipY,
bool  bIncludeFiltered 
)

◆ GetClipOptions()

ScClipOptions * ScDocument::GetClipOptions ( )
inline

Definition at line 647 of file document.hxx.

References mpClipOptions.

◆ GetClipParam()

ScClipParam & ScDocument::GetClipParam ( )

◆ GetClipStart()

void ScDocument::GetClipStart ( SCCOL nClipX,
SCROW nClipY 
)

◆ GetCodeCount()

sal_uInt64 ScDocument::GetCodeCount ( ) const

Definition at line 6151 of file document.cxx.

References a, and maTabs.

Referenced by ScUndoMoveTab::DoChange().

◆ GetCodeName() [1/2]

const OUString & ScDocument::GetCodeName ( ) const
inline

◆ GetCodeName() [2/2]

bool ScDocument::GetCodeName ( SCTAB  nTab,
OUString &  rName 
) const

Definition at line 233 of file document.cxx.

References FetchTable().

◆ GetColDefault()

void ScDocument::GetColDefault ( SCTAB  nTab,
SCCOL  nCol,
SCROW  nLastRow,
SCROW nDefault 
)

Definition at line 4623 of file document.cxx.

References ScDocAttrIterator::GetNext().

Referenced by ScMyDefaultStyles::FillDefaultStyles().

◆ GetColFlags()

CRFlags ScDocument::GetColFlags ( SCCOL  nCol,
SCTAB  nTab 
) const

Definition at line 4327 of file document.cxx.

References FetchTable(), and NONE.

Referenced by ScTableColumnObj::GetOnePropertyValue(), and ScTableColumnsObj::getPropertyValue().

◆ GetColNameRanges()

ScRangePairList * ScDocument::GetColNameRanges ( )
inline

◆ GetColNameRangesRef()

ScRangePairListRef & ScDocument::GetColNameRangesRef ( )
inline

◆ GetColOffset()

tools::Long ScDocument::GetColOffset ( SCCOL  nCol,
SCTAB  nTab,
bool  bHiddenAsZero = true 
) const

◆ GetColumnIterator()

std::optional< sc::ColumnIterator > ScDocument::GetColumnIterator ( SCTAB  nTab,
SCCOL  nCol,
SCROW  nRow1,
SCROW  nRow2 
) const

Definition at line 983 of file document10.cxx.

References FetchTable(), and ScTable::GetColumnIterator().

◆ GetColumnsRange()

ScColumnsRange ScDocument::GetColumnsRange ( SCTAB  nTab,
SCCOL  nColBegin,
SCCOL  nColEnd 
) const

◆ GetColWidth() [1/2]

sal_uInt16 ScDocument::GetColWidth ( SCCOL  nCol,
SCTAB  nTab,
bool  bHiddenAsZero = true 
) const

Definition at line 4122 of file document.cxx.

References FetchTable().

Referenced by ScTabView::AlignToCursor(), ScDrawUtil::CalcScale(), ScTabView::CalcZoom(), ScViewData::CellsAtX(), ScAttrArray::ChangeIndent(), ScOutputData::DrawClipMarks(), ScOutputData::DrawGrid(), ScOutputData::DrawRotated(), ScPrintFunc::DrawToDev(), ScGridWindow::dumpColumnInformationHmm(), ScGridWindow::dumpColumnInformationPixel(), ScViewData::EditGrowX(), FillInfo(), ScDrawLayer::GetCellRect(), ScModelObj::getDocumentSize(), ScDetectiveFunc::GetDrawPos(), ScEditUtil::GetEditArea(), ScColBar::GetEntrySize(), ScDataTableColView::GetEntrySize(), ScTabView::GetInsertPos(), ScGridWindow::GetListValButtonRect(), ScViewData::GetMergeSizePixel(), ScViewData::GetMergeSizePrintTwips(), GetMMRect(), ScColumn::GetNeededSize(), ScPreviewLocationData::GetOffsetPixel(), ScOutputData::GetOutputArea(), ScViewData::GetPosFromPixel(), ScDrawLayer::GetPrintArea(), ScViewData::GetPrintTwipsPos(), ScGridWindow::GetRectsAnyFor(), ScViewData::GetScrPos(), ScBoundsProvider::GetSize(), ScCellShell::GetState(), ScPreviewLocationData::GetTableInfo(), ScTransferObj::InitDocShell(), IsPrintEmpty(), ScGridWindow::LaunchAutoFilterMenu(), lcl_FitsInWindow(), ScPrintFunc::LocateArea(), ScPrintFunc::LocateColHdr(), ScTabView::MakeVisible(), ScViewFunc::ModifyCellSize(), ScPreview::MouseButtonUp(), ScDrawLayer::MoveArea(), ScGridWindow::Paint(), ScViewFunc::PasteDataFormat(), ScOutputData::PrePrintDrawingLayer(), ScPrintFunc::PrintColHdr(), ScPrintFunc::PrintPage(), ScViewData::RecalcPixPos(), ScDrawLayer::RecalcPos(), ScInterpreter::ScCell(), ScDataFormDlg::ScDataFormDlg(), ScViewFunctionSet::SetCursorAtCell(), ScViewData::SetMaxTiledCol(), ScViewData::SetPosX(), ScViewData::SetScreen(), ScViewData::SetScreenPos(), ScGridWindow::UpdateDragRectOverlay(), ScViewData::UpdateFixX(), ScHTMLExport::WriteCell(), ScRTFExport::WriteTab(), ScHTMLExport::WriteTables(), and XclExpColinfo::XclExpColinfo().

◆ GetColWidth() [2/2]

tools::Long ScDocument::GetColWidth ( SCCOL  nStartCol,
SCCOL  nEndCol,
SCTAB  nTab 
) const

Definition at line 4130 of file document.cxx.

References FetchTable().

◆ GetCommonWidth()

sal_uInt16 ScDocument::GetCommonWidth ( SCCOL  nEndCol,
SCTAB  nTab 
) const

Definition at line 4145 of file document.cxx.

References FetchTable().

Referenced by ScViewData::CalcPPT().

◆ GetCondFormat()

ScConditionalFormat * ScDocument::GetCondFormat ( SCCOL  nCol,
SCROW  nRow,
SCTAB  nTab 
) const

◆ GetCondFormList()

ScConditionalFormatList * ScDocument::GetCondFormList ( SCTAB  nTab) const

◆ GetCondResult() [1/2]

const SfxItemSet * ScDocument::GetCondResult ( SCCOL  nCol,
SCROW  nRow,
SCTAB  nTab,
ScRefCellValue pCell = nullptr 
) const

◆ GetCondResult() [2/2]

const SfxItemSet * ScDocument::GetCondResult ( ScRefCellValue rCell,
const ScAddress rPos,
const ScConditionalFormatList rList,
const ScCondFormatIndexes rIndex 
) const

◆ GetConsolidateDlgData()

const ScConsolidateParam * ScDocument::GetConsolidateDlgData ( ) const
inline

◆ GetCopyTabName()

OUString ScDocument::GetCopyTabName ( SCTAB  nTab) const

Definition at line 215 of file document.cxx.

References maTabNames, and ValidTab().

◆ GetDataArea()

void ScDocument::GetDataArea ( SCTAB  nTab,
SCCOL rStartCol,
SCROW rStartRow,
SCCOL rEndCol,
SCROW rEndRow,
bool  bIncludeOld,
bool  bOnlyDown 
) const

Return the smallest area containing at least all contiguous cells having data.

This area is a square containing also empty cells. It may shrink or extend the area given as input Flags as modifiers:

Parameters
bIncludeOldwhen true, ensure that the returned area contains at least the initial area even if the actual data area is smaller than the initial area.
bOnlyDownwhen true, extend / shrink the data area only in a downward direction i.e. only modify the end row position.

Definition at line 1072 of file document.cxx.

References FetchTable().

Referenced by ScVbaRange::AutoFilter(), ScCellCursorObj::collapseToCurrentRegion(), ScDBData::ExtendDataArea(), ScDBFunc::GetAnonymousDBData(), ScCellCursorObj::gotoEnd(), ScCellCursorObj::gotoStart(), lcl_GetSortParam(), ScTabView::MarkDataArea(), and ScInterpreter::ScColRowNameAuto().

◆ GetDataAreaSubrange()

bool ScDocument::GetDataAreaSubrange ( ScRange rRange) const

Returns true if there is a non-empty subrange in the range given as input.

In that case it also modifies rRange to largest subrange that does not have empty col/row inrange-segments in the beginning/end. It returns false if rRange is completely empty and in this case rRange is left unmodified.

Definition at line 1079 of file document.cxx.

References ScRange::aEnd, ScRange::aStart, FetchTable(), and ScAddress::Tab().

Referenced by ScMovingAverageDialog::ApplyOutput(), and ScInterpreter::IterateParametersIfs().

◆ GetDataEntries()

void ScDocument::GetDataEntries ( SCCOL  nCol,
SCROW  nRow,
SCTAB  nTab,
std::vector< ScTypedStrData > &  rStrings,
bool  bValidation = false 
)

Entries for selection list listbox (no numbers/formulas)

Definition at line 1622 of file documen3.cxx.

References ATTR_VALIDDATA(), GetAttr(), GetDataEntries(), GetValidationEntry(), HasTable(), maTabs, and pData.

Referenced by ScInputHandler::GetColData(), GetDataEntries(), and ScGridWindow::LaunchDataSelectMenu().

◆ GetDataStart()

bool ScDocument::GetDataStart ( SCTAB  nTab,
SCCOL rStartCol,
SCROW rStartRow 
) const

◆ GetDBAtArea() [1/2]

ScDBData * ScDocument::GetDBAtArea ( SCTAB  nTab,
SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2 
)

Definition at line 346 of file documen3.cxx.

References pDBCollection.

◆ GetDBAtArea() [2/2]

const ScDBData * ScDocument::GetDBAtArea ( SCTAB  nTab,
SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2 
) const

◆ GetDBAtCursor() [1/2]

ScDBData * ScDocument::GetDBAtCursor ( SCCOL  nCol,
SCROW  nRow,
SCTAB  nTab,
ScDBDataPortion  ePortion 
)

Definition at line 330 of file documen3.cxx.

References pDBCollection.

◆ GetDBAtCursor() [2/2]

const ScDBData * ScDocument::GetDBAtCursor ( SCCOL  nCol,
SCROW  nRow,
SCTAB  nTab,
ScDBDataPortion  ePortion 
) const

◆ GetDBCollection()

SC_DLLPUBLIC ScDBCollection * ScDocument::GetDBCollection ( ) const
inline

Definition at line 827 of file document.hxx.

References pDBCollection.

Referenced by ScDBDocFunc::AddDBRange(), ScTabViewShell::Construct(), ScXMLDatabaseRangeContext::ConvertToDBData(), ScCompiler::CreateStringFromIndex(), ScDBDocFunc::DeleteDBRange(), ScRefUndoData::DeleteUnchanged(), ScUndoAutoFilter::DoChange(), ScDBFunc::DoSubTotals(), ScDBDocFunc::DoSubTotals(), ScXMLDatabaseRangeContext::endFastElement(), ScCellShell::ExecuteDB(), oox::xls::WorksheetGlobals::finalizeWorksheetImport(), oox::xls::WorkbookGlobals::findDatabaseRangeByIndex(), ScAreaLink::FindExtRange(), ScDatabaseRangesObj::getCount(), sc::ScDBDataManager::getDBData(), ScDatabaseRangeObj::GetDBData_Impl(), ScContentTree::GetDbNames(), ScDatabaseRangesObj::getElementNames(), ScDatabaseRangesObj::GetObjectByIndex_Impl(), ScValidationData::GetSelectionFromFormula(), ScDBFunc::GotoDBArea(), ScCompiler::HandleDbData(), ScCompiler::HandleTableRef(), ScDatabaseRangesObj::hasByName(), ScDataProviderDlg::import(), ScConsolidateDlg::Init(), ScDbNameDlg::Init(), ScFilterOptionsMgr::Init(), ScTabPageSortFields::Init(), ScPivotFilterDlg::Init(), XclExpTablesManager::Initialize(), lcl_GetDBAreaRange(), lcl_GetRange(), ScRangeUtil::MakeRangeFromName(), ScDBDocFunc::ModifyAllDBData(), ScDBDocFunc::ModifyDBData(), ScHeaderControl::Paint(), ScCompiler::ParseDBRange(), ScCompiler::ParseTableRefColumn(), ScCompiler::ParseValue(), ScDBDocFunc::Query(), ScDBDocFunc::RenameDBRange(), ScDBFunc::RepeatDB(), ScDBDocFunc::RepeatDB(), ScDataProviderDlg::ScDataProviderDlg(), ScInterpreter::ScDBArea(), ScInterpreter::ScIndirect(), ScRefUndoData::ScRefUndoData(), ScDatabaseRangeObj::setPropertyValue(), ScDBDocFunc::Sort(), sc::TokenStringContext::TokenStringContext(), ScUndoConsolidate::Undo(), ScDBDocFunc::UpdateImport(), ScLinkedAreaDlg::UpdateSourceRanges(), ScTabViewShell::UseSubTotal(), ScXMLExportDatabaseRanges::WriteDatabaseRanges(), and XclExpDxfs::XclExpDxfs().

◆ GetDdeLinkData()

bool ScDocument::GetDdeLinkData ( size_t  nDdePos,
OUString &  rAppl,
OUString &  rTopic,
OUString &  rItem 
) const

Returns the connection data of the specified DDE link.

Parameters
nDdePosIndex of the DDE link (does not include other links from link manager).
rAppl(out-param) The application name.
rTopic(out-param) The DDE topic.
rItem(out-param) The DDE item.
Returns
true = DDE link found, out-parameters valid.

Definition at line 960 of file documen8.cxx.

References GetLinkManager().

Referenced by ScDDELinksObj::getElementNames(), ScDDELinksObj::GetObjectByIndex_Impl(), ScDDELinksObj::GetObjectByName_Impl(), and ScDDELinksObj::hasByName().

◆ GetDdeLinkMode()

bool ScDocument::GetDdeLinkMode ( size_t  nDdePos,
sal_uInt8 rnMode 
) const

Returns the link mode of the specified DDE link.

Parameters
nDdePosIndex of the DDE link (does not include other links from link manager).
rnMode(out-param) The link mode of the specified DDE link.
Returns
true = DDE link found, rnMode valid.

Definition at line 972 of file documen8.cxx.

References GetLinkManager().

Referenced by ScXMLExportDDELinks::WriteDDELinks().

◆ GetDdeLinkResultMatrix()

const ScMatrix * ScDocument::GetDdeLinkResultMatrix ( size_t  nDdePos) const

Returns the result matrix of the specified DDE link.

Parameters
nDdePosIndex of the DDE link (does not include other links from link manager).
Returns
The result matrix, if the DDE link has been found, 0 otherwise.

Definition at line 982 of file documen8.cxx.

References GetLinkManager(), and ScDdeLink::GetResult().

Referenced by ScDDELinkObj::getResults(), and ScXMLExportDDELinks::WriteTable().

◆ GetDefPattern()

ScPatternAttr * ScDocument::GetDefPattern ( ) const

◆ GetDetOpList()

ScDetOpList * ScDocument::GetDetOpList ( ) const
inline

◆ GetDocColors()

std::set< Color > ScDocument::GetDocColors ( )

◆ GetDocLinkManager() [1/2]

sc::DocumentLinkManager & ScDocument::GetDocLinkManager ( )

◆ GetDocLinkManager() [2/2]

const sc::DocumentLinkManager & ScDocument::GetDocLinkManager ( ) const

Definition at line 246 of file documen2.cxx.

References GetDocLinkManager().

◆ GetDocOptions()

const ScDocOptions & ScDocument::GetDocOptions ( ) const

Definition at line 1936 of file documen3.cxx.

References pDocOptions.

Referenced by ImportExcel8::Calccount(), ScInterpreter::Compare(), ScInterpreter::CompareMat(), ScTabViewShell::Construct(), ScModule::CreateItemSet(), ScChartArray::CreateMemChartMulti(), ScChartArray::CreateMemChartSingle(), ImportExcel8::Delta(), ScInterpreter::DetectSearchType(), ScGridWindow::DrawContent(), ScModule::Execute(), ExcTable::FillAsHeaderBinary(), ScViewFunc::FillAuto(), ScViewFunc::FillSimple(), ScColumn::GetMaxNumberStringLen(), ScVbaWorkbook::getPrecisionAsDisplayed(), ScDocDefaultsObj::getPropertyValue(), ScModelObj::getPropertyValue(), ScModule::GetState(), ScCompiler::HandleColRowName(), ImportExcel::ImportExcel(), InitClipPtrs(), InitDrawLayer(), ScModelObj::initializeForTiledRendering(), ScFormulaCell::Interpret(), ScFormulaCell::InterpretTail(), InvalidateTextWidth(), ScQueryEvaluator::isMatchWholeCell(), ImportExcel8::Iteration(), ScFormulaCell::MaybeInterpret(), ScModule::ModifyOptions(), ScCompiler::ParseColRowName(), ImportExcel8::Precision(), ImportExcel::ReadUsesElfs(), ImportExcel::Rec1904(), RoundValueAsShown(), ScInterpreter::ScExternal(), ScVbaWorkbook::setPrecisionAsDisplayed(), ScDocDefaultsObj::setPropertyValue(), ScModelObj::setPropertyValue(), TestImportXLS(), ScViewData::UpdateOutlinerFlags(), ScInputHandler::UpdateSpellSettings(), ScDPCache::ValidQuery(), ScXMLExport::WriteCalculationSettings(), XclCalccount::XclCalccount(), XclDelta::XclDelta(), and XclIteration::XclIteration().

◆ GetDocProtection()

ScDocProtection * ScDocument::GetDocProtection ( ) const

◆ GetDocStat()

void ScDocument::GetDocStat ( ScDocStat rDocStat)

◆ GetDocumentID()

sal_uInt32 ScDocument::GetDocumentID ( ) const

an ID unique to each document instance

Definition at line 268 of file documen2.cxx.

References mpShell.

Referenced by ScViewFunc::CopyToClipSingleRange(), and ScViewFunc::PasteFromClip().

◆ GetDocumentShell()

SfxObjectShell * ScDocument::GetDocumentShell ( ) const
inline

Definition at line 1083 of file document.hxx.

References mpShell.

Referenced by XclImpWebQuery::Apply(), ScSimpleFormulaCalculator::Calculate(), ScAddInAsync::CallBack(), ScVbaRange::characters(), ScVbaTextBoxShape::characters(), ScBroadcastAreaSlot::CheckHardRecalcStateCondition(), CompareDocument(), ScDocShell::CompareDocument(), CompileXML(), ScChangeTrack::ConfigurationChanged(), ScExternalRefManager::convertToAbsName(), CopyAdjustRangeName(), ScViewFunc::CopyToClipSingleRange(), ScTable::CopyToTable(), ScProgress::CreateInterpretProgress(), ScOutputData::CreateProcessor2D(), ScCellRangeObj::CreateRangeFromDoc(), oox::xls::WorkbookGlobals::createUnnamedDatabaseRangeObject(), ScDrawLayer::createUnoModel(), DeleteTab(), DeleteTabs(), ScDBDocFunc::DoImport(), ScValidationData::DoMacro(), ScValidationData::DoScript(), ScContentTree::DrawNamesChanged(), ScGridWindow::DropTransferObj(), ScXMLImport::endDocument(), ScXMLTableSourceContext::endFastElement(), ScXMLImportWrapper::Export(), ScImportExport::ExportStream(), ScXMLImportWrapper::ExportToComponent(), ScDocFunc::FillAuto(), ScDocFunc::FillSeries(), ScDocFunc::FillSimple(), ScVbaRange::Font(), ScAccessibleDocument::getAccessibleName(), ScAccessibleDocumentPagePreview::getAccessibleName(), ScShapeObj::getAnchor(), ScAccessibleCellBase::getBackground(), ScAccessibleCellBase::getBorderAttrs(), ScEditUtil::GetCellFieldValue(), XclRoot::GetDocShell(), ScAccessiblePreviewCellTextData::GetDocShell(), ScAccessiblePreviewHeaderCellTextData::GetDocShell(), ScContentTree::GetDrawNames(), ScAccessibleEditObject::GetFgBgColor(), getFileNameFromDoc(), ScAccessibleCellBase::getForeground(), ScFormulaParserPool::getFormulaParser(), ScAccessibleCellBase::GetNote(), ScDrawView::GetObjectByName(), ScExternalRefManager::getOwnDocumentName(), ScVbaInterior::getPalette(), ScShapeObj::getParent(), ScShapeObj::getPropertyValue(), ScAccessibleCellBase::getShadowAttrs(), GetUndoManager(), oox::xls::ExcelFilter::importDocument(), XclExpRoot::InitializeGlobals(), ScMacroManager::InitUserFuncData(), ScAreaLinkSaver::InsertNewLink(), InsertTab(), ScTabViewShell::InsertURLButton(), ScInputHandler::IsModalMode(), lcl_HasValidStream(), lcl_setupBorders(), ScExternalRefManager::loadSrcDocument(), ScHTMLQueryParser::MetaOn(), ScAddInListener::modified(), ScXMLSourceDlg::OkPressed(), ImportLotus::parse(), ScRange::Parse_XL_Header(), ScCompiler::ParseMacro(), ScHTMLLayoutParser::ProcToken(), ScDBDocFunc::Query(), ImportLotus::Read(), ScHTMLLayoutParser::Read(), ScHTMLQueryParser::Read(), ScUndoAutoFill::Redo(), sc::CSVDataProvider::Refresh(), RenameTab(), ScAccessibleHeaderTextData::ScAccessibleHeaderTextData(), ScAccessibleNoteTextData::ScAccessibleNoteTextData(), ScInterpreter::ScCell(), ScDrawLayer::ScDrawLayer(), ScFormatFilterPluginImpl::ScExportDif(), ScInterpreter::ScExternal(), ScFormulaDlg::ScFormulaDlg(), ScFormatFilterPluginImpl::ScImportDif(), ScImportLotus123old(), ScInterpreter::ScMacro(), ScInterpreter::ScStyle(), ScDrawView::SelectCurrentViewObject(), ScDrawView::SelectObject(), ScXMLTableRowCellContext::SetCellRangeSource(), ScAccessibleCellBase::setCurrentValue(), SetNote(), ScAttrArray::SetPatternAreaImpl(), ScShapeObj::setPropertyValue(), ScInputHandler::SetReference(), ScFormulaDlg::SetReference(), ScXMLImport::setTargetDocument(), ScDBFunc::ShowDataPilotSourceData(), ScHTMLQueryParser::TitleOff(), TransferTab(), ScTable::UndoToTable(), ScDocRowHeightUpdater::update(), ScDocRowHeightUpdater::updateAll(), ScDetectiveFunc::UpdateAllComments(), UpdateAllRowHeights(), UpdateExternalRefLinks(), ScTabControl::UpdateInputContext(), VBA_InsertModule(), ScHTMLExport::WriteHeader(), sc::ScDBDataManager::WriteToDoc(), and ScEEImport::WriteToDocument().

◆ GetDPAtBlock()

ScDPObject * ScDocument::GetDPAtBlock ( const ScRange rBlock) const

Definition at line 391 of file documen3.cxx.

References i, and pDPCollection.

Referenced by ScCellShell::GetDBState(), and ScInterpreter::ScGetPivotData().

◆ GetDPAtCursor() [1/2]

SC_DLLPUBLIC ScDPObject * ScDocument::GetDPAtCursor ( ScAddress const &  rAddress) const
inline

Definition at line 844 of file document.hxx.

References ScAddress::Col(), GetDPAtCursor(), ScAddress::Row(), and ScAddress::Tab().

◆ GetDPAtCursor() [2/2]

ScDPObject * ScDocument::GetDPAtCursor ( SCCOL  nCol,
SCROW  nRow,
SCTAB  nTab 
) const

◆ GetDPCollection() [1/2]

ScDPCollection * ScDocument::GetDPCollection ( )

◆ GetDPCollection() [2/2]

const ScDPCollection * ScDocument::GetDPCollection ( ) const

Definition at line 372 of file documen3.cxx.

References pDPCollection.

◆ GetDrawBroadcaster()

SfxBroadcaster * ScDocument::GetDrawBroadcaster ( )

◆ GetDrawLayer() [1/2]

SC_DLLPUBLIC ScDrawLayer * ScDocument::GetDrawLayer ( )
inline

Definition at line 1084 of file document.hxx.

References mpDrawLayer.

Referenced by ScChartHelper::AdjustRangesOfChartsOnDestinationPage(), sc::ThemeColorChanger::apply(), sc::tools::ChartIterator::ChartIterator(), ScTabViewShell::Construct(), XclImpChartDrawing::ConvertObjects(), ScColumn::CopyCellNotesToDocument(), ScTable::CopyOneCellFromClip(), ScDrawLayer::CopyToClip(), ScViewFunc::CopyToClipSingleRange(), ScPostIt::CreateCaption(), ScOutputData::CreateProcessor2D(), ScDetectiveFunc::DeleteAll(), ScDetectiveFunc::DeleteArrowsAt(), ScDetectiveFunc::DeleteBox(), ScDetectiveFunc::DeleteCirclesAt(), ScDrawView::DeleteMarked(), ScDetectiveFunc::DeletePred(), ScDetectiveFunc::DeleteSucc(), ScDocFunc::DetectiveAddError(), ScDocFunc::DetectiveAddPred(), ScDocFunc::DetectiveAddSucc(), ScDocFunc::DetectiveDelAll(), ScDocFunc::DetectiveDelPred(), ScDocFunc::DetectiveDelSucc(), ScDocFunc::DetectiveMarkInvalid(), ScDocFunc::DetectiveRefresh(), DoSdrUndoAction(), ScDBFunc::DoUpdateCharts(), ScDetectiveFunc::DrawCircle(), ScContentTree::DrawNamesChanged(), ScOutputData::DrawSelectiveObjects(), ScPrintFunc::DrawToDev(), ScGridWindow::dumpGraphicInformation(), ScViewFunc::EditNote(), EnableDrawAdjust(), ScXMLImport::endDocument(), ScDrawShell::ExecDrawAttr(), ScDrawShell::ExecDrawFunc(), ScDrawShell::ExecuteAreaDlg(), ScDrawShell::ExecuteLineDlg(), ScXMLImportWrapper::Export(), ScXMLExport::exportDoc(), oox::xls::WorkbookGlobals::finalize(), oox::xls::CommentsBuffer::finalizeImport(), oox::xls::WorkbookFragment::finalizeImport(), ScDetectiveFunc::FindFrameForObject(), sc::tools::getAllPivotChartsConnectedTo(), ScTabViewObj::GetClickedObject(), ScChartsObj::getCount(), ScContentTree::GetDrawNames(), ScChildrenShapes::GetDrawPage(), ScShapeChildren::GetDrawPage(), ScChartsObj::getElementNames(), ScUndoRenameObject::GetObject(), ScChartsObj::GetObjectByIndex_Impl(), ScModelObj::getPropertyValue(), ScModelObj::getSdrModelFromUnoModel(), XclRoot::GetSdrPage(), GetSdrUndoAction(), ScDetectiveFunc::HasArrow(), IMPL_LINK(), ScViewFunc::ImportTables(), ScDrawTransferObj::InitDocShell(), ScDetectiveFunc::InsertArrow(), ScEEImport::InsertGraphic(), ScDetectiveFunc::InsertObject(), InsertTab(), ScDetectiveFunc::InsertToOtherTab(), ScColumn::IsDrawObjectsEmptyBlock(), ScGridWindow::IsMyModel(), lcl_DoDragObject(), lcl_ParseTarget(), ScTabView::MakeDrawView(), ScDetectiveFunc::MarkInvalid(), ScDocFunc::MergeCells(), ScModule::ModifyOptions(), ScViewFunc::MoveTable(), ScDocFunc::NotifyDrawUndo(), ScModelObj::paintTile(), ScGridWindow::PaintTile(), ScViewFunc::PasteDataFormat(), ScViewFunc::PasteDraw(), ScViewFunc::PasteFromClip(), ScModelObj::postMouseEvent(), ScOutputData::PrintDrawingLayer(), ScViewData::ReadUserDataSequence(), ScViewDataTable::ReadUserDataSequence(), sc::UndoThemeChange::Redo(), ScChartsObj::removeByName(), sc::TablePivotCharts::removeByName(), ScPostIt::RemoveCaption(), ScDBDocFunc::RemovePivotTable(), RenameTab(), ScModelObj::render(), ScDocFunc::ReplaceNote(), ScChildrenShapes::ScChildrenShapes(), ScTable::ScTable(), ScTable::SetColHidden(), ScChildrenShapes::SetDrawBroadcaster(), ScTable::SetDrawPageSize(), ScTable::SetRowHeightRange(), ScTable::SetRowHidden(), ScDetectiveFunc::ShowError(), ScDetectiveFunc::ShowPred(), ScTable::ShowRows(), ScDetectiveFunc::ShowSucc(), FuText::StopEditMode(), ScColumn::Swap(), sc::UndoThemeChange::Undo(), ScDetectiveFunc::UpdateAllArrowColors(), ScDetectiveFunc::UpdateAllComments(), ScDBFunc::UpdateCharts(), ScChartHelper::UpdateChartsOnDestinationPage(), ScColumn::UpdateDrawObjectsForRow(), ScTable::UpdateDrawRef(), ScPreview::UpdateDrawView(), ScHTMLExport::WriteTables(), ScViewData::WriteUserDataSequence(), ScViewDataTable::WriteUserDataSequence(), ExcDocument::WriteXml(), XclImpChEscherFormat::XclImpChEscherFormat(), and ScTable::~ScTable().

◆ GetDrawLayer() [2/2]

SC_DLLPUBLIC const ScDrawLayer * ScDocument::GetDrawLayer ( ) const
inline

Definition at line 1085 of file document.hxx.

References mpDrawLayer.

◆ GetEditEngine()

ScFieldEditEngine & ScDocument::GetEditEngine ( )

◆ GetEditPool()

SfxItemPool * ScDocument::GetEditPool ( ) const

◆ GetEditText()

const EditTextObject * ScDocument::GetEditText ( const ScAddress rPos) const

◆ GetEditTextDirection()

EEHorizontalTextDirection ScDocument::GetEditTextDirection ( SCTAB  nTab) const

◆ GetEffItem() [1/2]

const SfxPoolItem * ScDocument::GetEffItem ( SCCOL  nCol,
SCROW  nRow,
SCTAB  nTab,
sal_uInt16  nWhich 
) const

◆ GetEffItem() [2/2]

template<class T >
const T * ScDocument::GetEffItem ( SCCOL  nCol,
SCROW  nRow,
SCTAB  nTab,
TypedWhichId< T >  nWhich 
) const
inline

Definition at line 1832 of file document.hxx.

References GetEffItem().

◆ GetEmbedded()

void ScDocument::GetEmbedded ( ScRange rRange) const

◆ GetEmbeddedRect()

tools::Rectangle ScDocument::GetEmbeddedRect ( ) const

◆ GetEmptyLinesInBlock()

SCSIZE ScDocument::GetEmptyLinesInBlock ( SCCOL  nStartCol,
SCROW  nStartRow,
SCTAB  nStartTab,
SCCOL  nEndCol,
SCROW  nEndRow,
SCTAB  nEndTab,
ScDirection  eDir 
)

◆ GetEnginePool()

SfxItemPool * ScDocument::GetEnginePool ( ) const

◆ GetErrCode()

FormulaError ScDocument::GetErrCode ( const ScAddress rPos) const

Definition at line 4066 of file document.cxx.

References FetchTable(), and ScAddress::Tab().

Referenced by ScInterpreter::GetErrorType().

◆ GetExtDocOptions()

ScExtDocOptions * ScDocument::GetExtDocOptions ( )
inline

◆ GetExternalDataMapper()

sc::ExternalDataMapper & ScDocument::GetExternalDataMapper ( )

◆ GetExternalRefManager()

ScExternalRefManager * ScDocument::GetExternalRefManager ( ) const

Definition at line 625 of file documen3.cxx.

References pExternalRefMgr.

Referenced by ScExternalRefLink::Closed(), ScCompiler::CompileString(), ScFormulaCell::CompileXML(), ScTabViewShell::Construct(), ExcelToSc8::ConvertExternName(), ScFormulaDlg::convertToTokenArray(), ScTokenConversion::ConvertToTokenArray(), ScTokenConversion::ConvertToTokenSequence(), XclImpExtName::CreateExtNameData(), XclImpExtName::CreateOleData(), ScCompiler::CreateStringFromExternal(), ScExternalRefLink::DataChanged(), ScViewFunc::DetectiveMarkPred(), ScXMLImport::endDocument(), ScXMLExternalRefTabSourceContext::endFastElement(), ScXMLExport::ExportAutoStyles_(), XclExpXmlStream::exportDocument(), ScXMLExport::ExportExternalRefCacheStyles(), ScChart2DataSequence::FillCacheFromExternalRef(), oox::xls::FormulaBuffer::finalizeImport(), ScInterpreter::GetExternalDoubleRef(), ExcelToSc8::GetExternalFileIdFromXti(), ScCompiler::HandleExternalReference(), oox::xls::ExternalName::importDefinedName(), lcl_appendCellAddress(), lcl_appendCellRangeAddress(), lcl_ScAddress_Parse_OOo(), lcl_ScRange_External_TabSpan(), XclImpSupbook::LoadCachedValues(), MarkUsedExternalReferences(), ScGridWindow::MouseButtonUp(), ScRange::Parse_XL_Header(), ScCompiler::ParseDoubleReference(), ScCompiler::ParseExternalNamedRange(), ScCompiler::ParseSingleReference(), ScInterpreter::PopExternalSingleRef(), XclExpFmlaCompImpl::ProcessExternalName(), XclImpChangeTrack::Read3DTabRefInfo(), ScInterpreter::ScCellExternal(), ScChart2DataSequence::ScChart2DataSequence(), ScXMLTableContext::ScXMLTableContext(), ScChart2DataSequence::StopListeningToAllExternalRefs(), sc::TokenStringContext::TokenStringContext(), ScXMLExport::WriteExternalRefCaches(), ScChartListener::~ScChartListener(), and ScFormulaCell::~ScFormulaCell().

◆ GetFileURL()

const OUString & ScDocument::GetFileURL ( ) const
inline

Definition at line 611 of file document.hxx.

References maFileURL.

◆ GetFilterEntries()

void ScDocument::GetFilterEntries ( SCCOL  nCol,
SCROW  nRow,
SCTAB  nTab,
ScFilterEntries rFilterEntries 
)

Get a list of unique strings to use in filtering criteria.

Entries for AutoFilter listbox.

The string values are sorted, and there are no duplicate values in the list. The data range to use to populate the filter entries is inferred from the database range that contains the specified cell position.

??

Definition at line 1556 of file documen3.cxx.

References AREA, ScQueryParamBase::bCaseSens, ScQueryEntry::eConnect, ScDBData::ExtendDataArea(), ScDBData::GetArea(), ScQueryParamBase::GetEntry(), ScQueryParamBase::GetEntryCount(), ScDBData::GetQueryParam(), ScDBData::HasHeader(), HasTable(), i, ScFilterEntries::maStrData, maTabs, pDBCollection, and SC_AND.

Referenced by ScGridWindow::LaunchAutoFilterMenu().

◆ GetFilterEntriesArea()

void ScDocument::GetFilterEntriesArea ( SCCOL  nCol,
SCROW  nStartRow,
SCROW  nEndRow,
SCTAB  nTab,
bool  bCaseSens,
ScFilterEntries rFilterEntries 
)

Entries for Filter dialog.

Definition at line 1608 of file documen3.cxx.

References FetchTable(), and ScFilterEntries::maStrData.

Referenced by ScPivotFilterDlg::UpdateValueList(), ScFilterDlg::UpdateValueList(), and XclExpDxfs::XclExpDxfs().

◆ GetFilterSelCount()

void ScDocument::GetFilterSelCount ( SCCOL  nCol,
SCROW  nRow,
SCTAB  nTab,
SCSIZE nSelected,
SCSIZE nTotal 
)

◆ GetFirstEditTextRow()

SCROW ScDocument::GetFirstEditTextRow ( const ScRange rRange) const

◆ GetForbiddenCharacters()

const std::shared_ptr< SvxForbiddenCharactersTable > & ScDocument::GetForbiddenCharacters ( ) const

Definition at line 604 of file documen9.cxx.

References xForbiddenCharacters.

Referenced by lcl_GetForbidden().

◆ GetFormatExchangeList()

SvNumberFormatterIndexTable * ScDocument::GetFormatExchangeList ( ) const
inline

Definition at line 923 of file document.hxx.

References pFormatExchangeList.

Referenced by ScStyleSheetPool::CopyStyleFrom(), and ScPatternAttr::PutInPool().

◆ GetFormatTable()

SvNumberFormatter * ScDocument::GetFormatTable ( ) const

Definition at line 467 of file documen2.cxx.

References IsThreadedGroupCalcInProgress(), and mxPoolHelper.

Referenced by ScCheckListMenuControl::addDateMember(), ScDPSaveGroupDimension::AddToCache(), ScDPSaveNumGroupDimension::AddToCache(), ScChangeTrack::AppendContentsIfInRefDoc(), ScViewFunc::ApplyAttributes(), ScColumn::ApplyPatternIfNumberformatIncompatible(), ScOrcusNumberFormat::applyToItemSet(), ScFormulaDlg::calculateValue(), ScOptSolverDlg::CallSolver(), ScViewFunc::ChangeNumFmtDecimals(), ScSolverDlg::CheckTargetValue(), ScFillSeriesDlg::CheckValues(), ScQueryEvaluator::compareByValue(), CopyStaticToDocument(), ScMyCellInfo::CreateCell(), ScIconSetFrmtDataEntry::CreateEntry(), ScTable::CreateQueryParam(), ScDBQueryDataIterator::DataAccessInternal::DataAccessInternal(), ScDdeLink::DataChanged(), ScImportExport::Doc2Text(), ScOutputData::DrawRotated(), ScViewFunc::EnterBlock(), ScViewFunc::EnterData(), ScInputHandler::EnterHandler(), Exc1904::Exc1904(), ScTabViewShell::ExecStyle(), ScTabViewShell::ExecuteCellFormatDlg(), ScCellShell::ExecuteDB(), ScCellShell::ExecuteEdit(), ScFormatShell::ExecuteNumFormat(), ScXMLExport::exportAnnotationMeta(), ScTable::FillAnalyse(), ScTable::FillAutoSimple(), ScChart2DataSequence::FillCacheFromExternalRef(), ScExternalRefManager::fillCellFormat(), ScConversionEngineBase::FillFromCell(), ScDPGroupTableData::FillGroupValues(), ScValidationData::FillSelectionList(), ScAutoFormatData::FillToItemSet(), oox::xls::NumberFormat::fillToItemSet(), ScCellRangeObj::filter(), oox::xls::FormulaBuffer::finalizeImport(), FormCache::FormCache(), ScTable::GetAutoFillPreview(), ScTable::GetAutoFormatAttr(), ScEditUtil::GetCellFieldValue(), ScQueryEvaluator::getCellString(), ScTable::GetCellTextColor(), ScFormatShell::GetCurrentNumberFormatType(), ScConditionEntry::GetExpression(), ScHTMLTable::GetFormatTable(), ScDPCache::GetFormattedString(), XclRoot::GetFormatter(), ScTabViewShell::GetFunction(), ScStyleSheet::GetItemSet(), ScExternalRefManager::getMappedNumberFormat(), ScColumn::GetNeededSize(), ScDPTableData::GetNumberFormatByIdx(), ScDPCache::GetNumberFormatter(), ScFormatShell::GetNumFormatState(), ScColumn::GetOptimalColWidth(), ScCellFormat::GetOutputString(), ScStyleObj::getPropertyValue_Impl(), ScValidationData::GetSelectionFromFormula(), GetStringForFormula(), ScChangeActionContent::GetStringOfCell(), ScCellTextData::GetTextForwarder(), ScFormulaCell::GetURLResult(), ScDBFunc::HasSelectionForDateGroup(), ImportExcel::ImportExcel(), ScTable::IncDate(), ScValidationDataIsNumeric::init(), ScFillSeriesDlg::Init(), ScInterpreterContext::initFormatTable(), ScDPCache::InitFromDataBase(), ScCellObj::InputEnglishString(), ScViewFunc::InsertCurrentTime(), ScFormulaCell::Interpret(), ScValidationData::IsDataValid(), ScValidationData::IsDataValidCustom(), sc::CopyFromClipContext::isDateCell(), ScDPCache::IsDateDimension(), ScValidationData::isFormulaResultsValidatable(), sc::NumFmtUtil::isLatinScript(), ScTabViewShell::IsRefInputMode(), ScCondDateFormatEntry::IsValid(), ScOutputData::LayoutStrings(), lcl_Calculate(), lcl_GetInputString(), lcl_isNumberFormatText(), lcl_PutFormulaArray(), lcl_PutString(), lcl_SetCellProperty(), ScTabViewShell::MakeNumberInfoItem(), ScDPGroupTableData::ModifyFilterCriteria(), ModifyStyleSheet(), ScColumn::ParseString(), ScDatabaseDocUtil::PutData(), ScOutputData::DrawEditParam::readCellContent(), ImportExcel::Rec1904(), RoundValueAsShown(), ScAttrArray_IterGetNumberFormat(), ScSheetDPData::ScSheetDPData(), ScOrcusSheet::set_date_time(), ScXMLTableRowCellContext::SetAnnotation(), ScChangeActionContent::SetCell(), ScDocFunc::SetCellText(), ScFilterDescriptorBase::setFilterFields(), ScViewFunc::SetNumberFormat(), ScViewFunc::SetNumFmtByStr(), ScDrawStringsVars::SetPattern(), ScDrawStringsVars::SetPatternSimple(), ScStyleObj::setPropertyValue_Impl(), ScDrawStringsVars::SetText(), ScDrawStringsVars::SetTextToWidthOrHash(), ScFilterDlg::SetValString(), ScChangeActionContent::SetValue(), ScChangeTrackingExportHelper::SetValueAttributes(), ScViewFunc::Solve(), Solver(), ScInputHandler::StartTable(), ScImportExport::Sylk2Doc(), sc::DateTimeTransformation::Transform(), ScTabViewShell::UpdateInputHandler(), ScColumn::UpdateScriptType(), and ScEEImport::WriteToDocument().

◆ GetFormula()

OUString ScDocument::GetFormula ( SCCOL  nCol,
SCROW  nRow,
SCTAB  nTab 
) const

◆ GetFormulaCell() [1/2]

ScFormulaCell * ScDocument::GetFormulaCell ( const ScAddress rPos)

Definition at line 3721 of file document.cxx.

References ScAddress::Col(), FetchTable(), ScAddress::Row(), and ScAddress::Tab().

◆ GetFormulaCell() [2/2]

const ScFormulaCell * ScDocument::GetFormulaCell ( const ScAddress rPos) const

◆ GetFormulaCodeInTree()

sal_uInt64 ScDocument::GetFormulaCodeInTree ( ) const
inline

◆ GetFormulaEntries()

void ScDocument::GetFormulaEntries ( ScTypedCaseStrSet rStrings)

◆ GetFormulaGroupContext()

std::shared_ptr< sc::FormulaGroupContext > & ScDocument::GetFormulaGroupContext ( )

Definition at line 3533 of file document.cxx.

References CORE, and mpFormulaGroupCxt.

Referenced by ScGroupTokenConverter::convert(), and ScColumn::FetchVectorRefArray().

◆ GetFormulaGroupCount()

sal_uInt64 ScDocument::GetFormulaGroupCount ( ) const

Definition at line 6138 of file document.cxx.

References ScFormulaGroupIterator::first(), and ScFormulaGroupIterator::next().

Referenced by GetDocStat().

◆ GetFormulaParserPool()

ScFormulaParserPool & ScDocument::GetFormulaParserPool ( ) const

Returns the pool containing external formula parsers.

Creates the pool on first call.

Definition at line 654 of file documen3.cxx.

References mxFormulaParserPool.

Referenced by ScCompiler::CompileString(), and ScXMLImport::ExtractFormulaNamespaceGrammar().

◆ GetGrammar()

SC_DLLPUBLIC formula::FormulaGrammar::Grammar ScDocument::GetGrammar ( ) const
inline

Definition at line 1010 of file document.hxx.

References eGrammar.

Referenced by ScFunctionAccess::callFunction(), ScColumn::CloneFormulaCell(), ScFormulaCell::CompileTokenArray(), ScChart2DataProvider::convertRangeToXML(), ScMyOLEFixer::CreateChartListener(), ScFormulaDlg::createCompiler(), ScChart2DataProvider::createDataSequenceByRangeRepresentation(), ScChart2DataProvider::createDataSequenceByRangeRepresentationPossible(), ScChart2DataProvider::createDataSource(), ScChart2DataProvider::createDataSourcePossible(), ScIconSetFrmtDataEntry::CreateEntry(), ScChart2DataProvider::detectArguments(), ScViewFunc::DoRefConversion(), ScViewFunc::EnterData(), ScCellShell::Execute(), ScCellShell::ExecuteFillSingleEdit(), ScViewFunc::GetAutoSumFormula(), ScFormulaDlg::getCompiler(), GetSheetSeparator(), sc::FormulaLogger::GroupScope::Impl::Impl(), ScFormulaReferenceHelper::Init(), XclExpRoot::InitializeGlobals(), InsertNewRangeName(), ScFormulaCell::InterpretInvariantFormulaGroup(), ScNameDefDlg::IsFormulaValid(), ScNameDlg::IsFormulaValid(), ScTabViewShell::IsRefInputMode(), ScServiceProvider::MakeInstance(), ScRangeUtil::MakeRangeFromName(), ScFormulaParserObj::parseFormula(), ScFormulaParserObj::printFormula(), ScUndoEnterMatrix::Repeat(), ScCompiler::ScCompiler(), ScFormulaFrmtEntry::ScFormulaFrmtEntry(), ScInterpreter::ScIndirect(), ScRangeData::ScRangeData(), ScTable::SearchCell(), ScFormulaParserObj::setPropertyValue(), ScConditionEntryObj::setPropertyValue(), ScFormulaDlg::SetReference(), and ScChangeActionContent::SetValueString().

◆ GetHardRecalcState()

HardRecalcState ScDocument::GetHardRecalcState ( ) const
inline

◆ GetHashCode()

bool ScDocument::GetHashCode ( SCTAB  nTab,
sal_Int64 &  rHashCode 
) const

Definition at line 194 of file document.cxx.

References FetchTable().

Referenced by ScModelObj::getPartHash().

◆ GetHiddenRowCount()

SCROW ScDocument::GetHiddenRowCount ( SCROW  nRow,
SCTAB  nTab 
) const

Definition at line 4216 of file document.cxx.

References FetchTable().

Referenced by ScRowBar::GetHiddenCount().

◆ GetIconSetBitmapMap()

sc::IconSetBitmapMap & ScDocument::GetIconSetBitmapMap ( )

Definition at line 1499 of file documen2.cxx.

References m_pIconSetBitmapMap.

Referenced by ScOutputData::DrawBackground().

◆ GetImagePreferredDPI()

sal_Int32 ScDocument::GetImagePreferredDPI ( )
inline

Definition at line 596 of file document.hxx.

References mnImagePreferredDPI.

Referenced by ScDocumentConfiguration::getPropertyValue().

◆ GetInputString()

OUString ScDocument::GetInputString ( SCCOL  nCol,
SCROW  nRow,
SCTAB  nTab,
bool  bForceSystemLocale = false 
) const

◆ GetLanguage()

void ScDocument::GetLanguage ( LanguageType rLatin,
LanguageType rCjk,
LanguageType rCtl 
) const

◆ GetLastChangedColFlagsWidth()

SCCOL ScDocument::GetLastChangedColFlagsWidth ( SCTAB  nTab) const
Returns
the index of the last changed column (flags and column width, auto pagebreak is ignored).

Definition at line 4546 of file document.cxx.

References FetchTable().

Referenced by ScXMLExport::collectAutoStyles().

◆ GetLastChangedRowFlagsWidth()

SCROW ScDocument::GetLastChangedRowFlagsWidth ( SCTAB  nTab) const
Returns
the index of the last changed row (flags and row height, auto pagebreak is ignored).

Definition at line 4553 of file document.cxx.

References FetchTable().

Referenced by ScXMLExport::collectAutoStyles().

◆ GetLastDataRow()

SCROW ScDocument::GetLastDataRow ( SCTAB  nTab,
SCCOL  nCol1,
SCCOL  nCol2,
SCROW  nLastRow 
) const

Return the last non-empty row position in given columns that's no greater than the initial last row position, or 0 if the columns are empty.

A negative value is returned if the given sheet or column positions are invalid.

It starts from the specified last row position, and finds the first non-empty row position in the upward direction if the start row position is empty.

Definition at line 1063 of file document.cxx.

References FetchTable().

Referenced by ScChangeTrack::AppendContentRange(), ScDataTransformationBaseControl::getLastRow(), sc::DataTransformation::getLastRow(), and ScGroupTokenConverter::trimLength().

◆ GetLastFlaggedRow()

SCROW ScDocument::GetLastFlaggedRow ( SCTAB  nTab) const
Returns
the index of the last row with any set flags (auto-pagebreak is ignored).

Definition at line 4539 of file document.cxx.

References FetchTable().

Referenced by XclExpCellTable::XclExpCellTable().

◆ GetLinkDoc()

OUString ScDocument::GetLinkDoc ( SCTAB  nTab) const

◆ GetLinkFlt()

OUString ScDocument::GetLinkFlt ( SCTAB  nTab) const

◆ GetLinkManager() [1/2]

sfx2::LinkManager * ScDocument::GetLinkManager ( )

◆ GetLinkManager() [2/2]

const sfx2::LinkManager * ScDocument::GetLinkManager ( ) const

◆ GetLinkMode() [1/2]

SC_DLLPUBLIC ScLkUpdMode ScDocument::GetLinkMode ( ) const
inline

Definition at line 2260 of file document.hxx.

References eLinkMode.

◆ GetLinkMode() [2/2]

ScLinkMode ScDocument::GetLinkMode ( SCTAB  nTab) const

◆ GetLinkOpt()

OUString ScDocument::GetLinkOpt ( SCTAB  nTab) const

◆ GetLinkRefreshDelay()

sal_uLong ScDocument::GetLinkRefreshDelay ( SCTAB  nTab) const

◆ GetLinkTab()

OUString ScDocument::GetLinkTab ( SCTAB  nTab) const

◆ GetLOKFreezeCol()

SCCOL ScDocument::GetLOKFreezeCol ( SCTAB  nTab) const

◆ GetLOKFreezeRow()

SCROW ScDocument::GetLOKFreezeRow ( SCTAB  nTab) const

◆ GetLookupCache()

ScLookupCache & ScDocument::GetLookupCache ( const ScRange rRange,
ScInterpreterContext pContext 
)

Creates a ScLookupCache cache for the range if it doesn't already exist.

Definition at line 1214 of file documen2.cxx.

References ScLookupCacheMap::aCacheMap, mScLookupMutex, ScInterpreterContext::mxScLookupCache, and StartListeningArea().

Referenced by ScInterpreter::LookupQueryWithCache().

◆ GetMacroInterpretLevel()

sal_uInt16 ScDocument::GetMacroInterpretLevel ( ) const
inline

Definition at line 2426 of file document.hxx.

References nMacroInterpretLevel.

Referenced by ScCellFormat::GetString().

◆ GetMacroManager()

ScMacroManager * ScDocument::GetMacroManager ( )

◆ GetMatrixFormulaRange()

bool ScDocument::GetMatrixFormulaRange ( const ScAddress rCellPos,
ScRange rMatrix 
)

◆ GetMaxColCount()

SC_DLLPUBLIC SCCOL ScDocument::GetMaxColCount ( ) const
inline

Definition at line 894 of file document.hxx.

References mxSheetLimits.

Referenced by DeleteCol(), ScBroadcastAreaSlotMachine::DoChecks(), and UpdateReference().

◆ GetMaxNumberStringLen()

sal_Int32 ScDocument::GetMaxNumberStringLen ( sal_uInt16 &  nPrecision,
SCTAB  nTab,
SCCOL  nCol,
SCROW  nRowStart,
SCROW  nRowEnd 
) const

Maximum string length of numerical cells of a column, e.g.

for dBase export.

Returns
String length in characters (!) including the decimal separator, and the decimal precision needed.

Definition at line 594 of file documen4.cxx.

References FetchTable().

◆ GetMaxRowCount()

SC_DLLPUBLIC SCROW ScDocument::GetMaxRowCount ( ) const
inline

◆ GetMaxStringLen()

sal_Int32 ScDocument::GetMaxStringLen ( SCTAB  nTab,
SCCOL  nCol,
SCROW  nRowStart,
SCROW  nRowEnd,
rtl_TextEncoding  eCharSet 
) const

Maximum string length of a column, e.g.

for dBase export.

Returns
String length in octets (!) of the destination encoding. In case of non-octet encodings (e.g. UCS2) the length in code points times sizeof(sal_Unicode) is returned.

Definition at line 586 of file documen4.cxx.

References FetchTable().

◆ GetMaxTableNumber()

SCTAB ScDocument::GetMaxTableNumber ( ) const
inline

◆ GetMMRect()

tools::Rectangle ScDocument::GetMMRect ( SCCOL  nStartCol,
SCROW  nStartRow,
SCCOL  nEndCol,
SCROW  nEndRow,
SCTAB  nTab,
bool  bHiddenAsZero = true 
) const

◆ GetMostUsedPattern()

const ScPatternAttr * ScDocument::GetMostUsedPattern ( SCCOL  nCol,
SCROW  nStartRow,
SCROW  nEndRow,
SCTAB  nTab 
) const

Definition at line 4734 of file document.cxx.

References FetchTable().

Referenced by XclExpColinfo::XclExpColinfo().

◆ GetName()

bool ScDocument::GetName ( SCTAB  nTab,
OUString &  rName 
) const

Definition at line 204 of file document.cxx.

References FetchTable().

Referenced by ScTableSheetObj::apply(), XclExpTabInfo::CalcSortedIndexes(), CompareDocument(), ScAccessibleSpreadsheet::ConstructScAccessibleSpreadsheet(), ScDrawLayer::CopyFromClip(), CopyTab(), ScAccessiblePreviewTable::createAccessibleName(), ScAccessibleTableBase::createAccessibleName(), ScCompiler::CreateStringFromIndex(), ScDocFunc::DeleteTable(), ScGridWindow::DoScenarioMenu(), ExcEScenario::ExcEScenario(), ScCellShell::Execute(), ScTabViewShell::Execute(), ScTabViewShell::ExecuteTable(), ScPreviewShell::FillFieldData(), ScTabViewShell::FillFieldData(), ScPosWnd::FillRangeNames(), ScInsertTableDlg::FillTables_Impl(), ScContentTree::GetAreaNames(), XMLCodeNameProvider::getByName(), ScEditUtil::GetCellFieldValue(), ScConflictsDlg::GetConflictString(), ScExternalRefManager::getDoubleRefTokensFromSrcDoc(), ScTableSheetsObj::getElementNames(), ScScenariosObj::getElementNames(), XMLCodeNameProvider::getElementNames(), ScAccessibleDocument::getExtendedAttributes(), ScTableSheetObj::getName(), ScModelObj::getPartName(), ScExternalRefManager::getRangeNameTokensFromSrcDoc(), ScChangeAction::GetRefString(), ScScenariosObj::GetScenarioIndex_Impl(), ScCellShell::GetState(), ScTabViewShell::GetStateTable(), ScContentTree::GetTableNames(), ScModelObj::getViewData(), XMLCodeNameProvider::hasByName(), XMLCodeNameProvider::hasElements(), IMPL_LINK(), IMPL_LINK_NOARG(), ScViewFunc::ImportTables(), ScOrcusXMLContextImpl::importXML(), ScNameDlg::Init(), ScViewFunc::InsertTableLink(), lcl_DrawScenarioFrames(), lcl_Format(), lcl_GetAreaName(), lcl_Split_DocTab(), ScDBFunc::MakePivotTable(), ScPrintFunc::MakeTableString(), ScViewFunc::MoveTable(), ScAccessibleSpreadsheet::Notify(), ScInputHandler::NotifyChange(), ImportLotus::parse(), ImportExcel8::Read(), ScTableLink::Refresh(), ScDocFunc::RenameTable(), ScModelObj::render(), XclExpXmlStream::restoreTabNames(), XclExpXmlPivotCaches::SavePivotCacheXml(), ScInterpreter::ScCell(), ScFormatFilterPluginImpl::ScExportDif(), ScNameDefDlg::ScNameDefDlg(), ScTabControl::ScTabControl(), XMLCodeNameProvider::set(), ScNavigatorDlg::SetCurrentTableStr(), ScRetypePassDlg::SetDataFromDocument(), ScTableSheetObj::SetOnePropertyValue(), ScTableSheetObj::setScenarioComment(), TransferTab(), ScUndoImportTab::Undo(), ScTabControl::UpdateStatus(), XclExpXmlStream::validateTabNames(), ScHTMLExport::WriteOverview(), ScHTMLExport::WriteTables(), ScViewData::WriteUserDataSequence(), XclExpPivotCache::XclExpPivotCache(), and XclExpTabInfo::XclExpTabInfo().

◆ GetNamedRangesLockCount()

SC_DLLPUBLIC sal_Int16 ScDocument::GetNamedRangesLockCount ( ) const
inline

◆ GetNeededSize()

tools::Long ScDocument::GetNeededSize ( SCCOL  nCol,
SCROW  nRow,
SCTAB  nTab,
OutputDevice pDev,
double  nPPTX,
double  nPPTY,
const Fraction rZoomX,
const Fraction rZoomY,
bool  bWidth,
bool  bTotalSize = false,
bool  bInPrintTwips = false 
)

Definition at line 4253 of file document.cxx.

References FetchTable(), nPPTX, and nPPTY.

Referenced by ScEditUtil::GetEditArea(), IdleCalcTextWidth(), and ScViewFunc::ModifyCellSize().

◆ GetNewUnoId()

sal_Int64 ScDocument::GetNewUnoId ( )
inline

Definition at line 1093 of file document.hxx.

References nUnoObjectId.

Referenced by ScChart2DataSequence::ScChart2DataSequence().

◆ GetNextDifferentChangedColFlagsWidth()

SCCOL ScDocument::GetNextDifferentChangedColFlagsWidth ( SCTAB  nTab,
SCCOL  nStart 
) const

Definition at line 4560 of file document.cxx.

References FetchTable(), Hidden, ManualBreak, and MaxCol().

Referenced by ScXMLExport::collectAutoStyles().

◆ GetNextDifferentChangedRowFlagsWidth()

SCROW ScDocument::GetNextDifferentChangedRowFlagsWidth ( SCTAB  nTab,
SCROW  nStart 
) const

◆ GetNextMarkedCell()

bool ScDocument::GetNextMarkedCell ( SCCOL rCol,
SCROW rRow,
SCTAB  nTab,
const ScMarkData rMark 
)

Definition at line 538 of file documen4.cxx.

References FetchTable().

Referenced by ScCellsEnumeration::Advance_Impl(), and TransliterateText().

◆ GetNextPos()

void ScDocument::GetNextPos ( SCCOL rCol,
SCROW rRow,
SCTAB  nTab,
SCCOL  nMovX,
SCROW  nMovY,
bool  bMarked,
bool  bUnprotected,
const ScMarkData rMark,
SCCOL  nTabStartCol = SC_TABSTART_NONE 
) const

◆ GetNextSpellingCell()

bool ScDocument::GetNextSpellingCell ( SCCOL nCol,
SCROW nRow,
SCTAB  nTab,
bool  bInSel,
const ScMarkData rMark 
) const

Definition at line 530 of file documen4.cxx.

References FetchTable().

Referenced by ScConversionEngineBase::FindNextConversionCell().

◆ GetNoListening()

bool ScDocument::GetNoListening ( ) const
inline

◆ GetNonThreadedContext()

ScInterpreterContext & ScDocument::GetNonThreadedContext ( ) const
inline

◆ GetNote() [1/2]

ScPostIt * ScDocument::GetNote ( const ScAddress rPos)

◆ GetNote() [2/2]

ScPostIt * ScDocument::GetNote ( SCCOL  nCol,
SCROW  nRow,
SCTAB  nTab 
)

Definition at line 6592 of file document.cxx.

References FetchTable().

◆ GetNoteCount()

size_t ScDocument::GetNoteCount ( SCTAB  nTab,
SCCOL  nCol 
) const

Definition at line 6711 of file document.cxx.

References FetchTable().

Referenced by ScAnnotationsObj::getCount(), and GetNotePosition().

◆ GetNoteEngine()

ScNoteEditEngine & ScDocument::GetNoteEngine ( )

◆ GetNotePosition() [1/3]

SCROW ScDocument::GetNotePosition ( SCTAB  nTab,
SCCOL  nCol,
size_t  nIndex 
) const

Definition at line 6830 of file document.cxx.

References FetchTable(), and nIndex.

◆ GetNotePosition() [2/3]

ScAddress ScDocument::GetNotePosition ( size_t  nIndex) const

◆ GetNotePosition() [3/3]

ScAddress ScDocument::GetNotePosition ( size_t  nIndex,
SCTAB  nTab 
) const

◆ GetNotesInRange()

void ScDocument::GetNotesInRange ( const ScRangeList rRange,
std::vector< sc::NoteEntry > &  rNotes 
) const

◆ GetNumberFormat() [1/3]

sal_uInt32 ScDocument::GetNumberFormat ( const ScInterpreterContext rContext,
const ScAddress rPos 
) const

Definition at line 3674 of file document.cxx.

References FetchTable(), and ScAddress::Tab().

◆ GetNumberFormat() [2/3]

sal_uInt32 ScDocument::GetNumberFormat ( const ScRange rRange) const

◆ GetNumberFormat() [3/3]

sal_uInt32 ScDocument::GetNumberFormat ( SCCOL  nCol,
SCROW  nRow,
SCTAB  nTab 
) const

◆ GetNumberFormatInfo()

void ScDocument::GetNumberFormatInfo ( const ScInterpreterContext rContext,
SvNumFormatType nType,
sal_uInt32 &  nIndex,
const ScAddress rPos 
) const

◆ GetObjectAtPoint()

SdrObject * ScDocument::GetObjectAtPoint ( SCTAB  nTab,
const Point rPos 
)

◆ GetOldChartParameters()

void ScDocument::GetOldChartParameters ( std::u16string_view  rName,
ScRangeList rRanges,
bool &  rColHeaders,
bool &  rRowHeaders 
)

◆ GetOptimalColWidth()

sal_uInt16 ScDocument::GetOptimalColWidth ( SCCOL  nCol,
SCTAB  nTab,
OutputDevice pDev,
double  nPPTX,
double  nPPTY,
const Fraction rZoomX,
const Fraction rZoomY,
bool  bFormula,
const ScMarkData pMarkData = nullptr,
const ScColWidthParam pParam = nullptr 
)

◆ GetOrCreateNote()

ScPostIt * ScDocument::GetOrCreateNote ( const ScAddress rPos)

◆ GetOriginalHeight()

sal_uInt16 ScDocument::GetOriginalHeight ( SCROW  nRow,
SCTAB  nTab 
) const

◆ GetOriginalWidth()

sal_uInt16 ScDocument::GetOriginalWidth ( SCCOL  nCol,
SCTAB  nTab 
) const

◆ GetOutlineTable()

ScOutlineTable * ScDocument::GetOutlineTable ( SCTAB  nTab,
bool  bCreate = false 
)

◆ GetPageSize()

Size ScDocument::GetPageSize ( SCTAB  nTab) const

◆ GetPageStyle()

OUString ScDocument::GetPageStyle ( SCTAB  nTab) const

◆ GetPattern() [1/2]

const ScPatternAttr * ScDocument::GetPattern ( const ScAddress rPos) const

Definition at line 4726 of file document.cxx.

References ScAddress::Col(), FetchTable(), ScAddress::Row(), and ScAddress::Tab().

◆ GetPattern() [2/2]

const ScPatternAttr * ScDocument::GetPattern ( SCCOL  nCol,
SCROW  nRow,
SCTAB  nTab 
) const

Definition at line 4719 of file document.cxx.

References FetchTable().

Referenced by ScChangeTrack::AppendContentsIfInRefDoc(), ScViewFunc::ApplySelectionPattern(), CopyOneCellFromClip(), ScViewFunc::DoAutoAttributes(), ScDBDocFunc::DoImport(), ScViewFunc::DoThesaurus(), ScGridWindow::DrawContent(), ScOutputData::DrawEdit(), ScOutputData::DrawRotated(), ScOutputData::DrawRotatedFrame(), ScGridWindow::dumpCellProperties(), ScViewData::EditGrowX(), ScViewFunc::EnterBlock(), ScViewFunc::EnterData(), ScInputHandler::EnterHandler(), ScTabViewShell::ExecStyle(), ScCellShell::ExecuteEdit(), FillInfo(), oox::xls::SheetDataBuffer::finalizeImport(), ScConversionEngineBase::FindNextConversionCell(), ScTable::GetCellBackgroundColor(), ScTable::GetCellTextColor(), GetCondResult(), ScEditUtil::GetEditArea(), ScGridWindow::GetEditUrl(), GetEffItem(), ScIconSetFormat::GetIconSetInfo(), ScEditUtil::GetIndent(), ScEditUtil::GetMargins(), ScGridWindow::GetRectsAnyFor(), GetScriptType(), ScViewFunc::GetSelectionFrame(), ScViewData::GetSimpleArea(), ScCellTextData::GetTextForwarder(), ScValidationDataIsNumeric::init(), ScOutputData::IsAvailable(), ScOutputData::LayoutStrings(), lcl_FindBackground(), lcl_GetEditAreaTLOffset(), lcl_GetHyperlinkCell(), lcl_GetRotateDir(), ScViewFunc::ModifyCellSize(), ScViewFunc::PasteRTF(), ScDocFunc::PutData(), ScGridWindow::RequestHelp(), ScEEImport::ScEEImport(), ScInterpreter::ScText(), ScUniqueCellFormatsObj::ScUniqueCellFormatsObj(), ScOutputData::SetCellRotations(), ScViewData::SetEditEngine(), ScDocFunc::SetNormalString(), ScViewFunc::Solve(), ScInputHandler::StartTable(), TransliterateText(), ScUndoEnterData::Undo(), ScGridWindow::UpdateCursorOverlay(), ScHTMLExport::WriteCell(), ScRTFExport::WriteCell(), ScRTFExport::WriteRow(), and ScEEImport::WriteToDocument().

◆ GetPatternCount() [1/2]

SCSIZE ScDocument::GetPatternCount ( SCTAB  nTab,
SCCOL  nCol 
) const
private

Definition at line 2103 of file documen3.cxx.

References FetchTable().

Referenced by CopyFromClip().

◆ GetPatternCount() [2/2]

SCSIZE ScDocument::GetPatternCount ( SCTAB  nTab,
SCCOL  nCol,
SCROW  nRow1,
SCROW  nRow2 
) const
private

Definition at line 2111 of file documen3.cxx.

References FetchTable().

◆ GetPool()

ScDocumentPool * ScDocument::GetPool ( )

Definition at line 6050 of file document.cxx.

References mxPoolHelper.

Referenced by ScAttrArray::AddCondFormat(), ScTableSheetObj::addRanges(), XclImpValidationManager::Apply(), DifColumn::Apply(), ScColumn::ApplyAttr(), ScAttrArray::ApplyCacheArea(), ScAttrArray::ApplyFrame(), ScAttrArray::ApplyLineStyleArea(), oox::xls::Xf::applyPatternToAttrList(), XclImpXF::ApplyPatternToAttrVector(), ScAttrArray::ApplyStyleArea(), ScTable::AutoFormat(), ScViewFunc::ChangeNumFmtDecimals(), ScAttrArray::Concat(), CopyAdjustRangeName(), ScAttrArray::CopyArea(), ScAttrArray::CopyAreaSafe(), CopyBlockFromClip(), ScTable::CopyFromClip(), ScColumn::CopyFromClip(), ScDrawLayer::CopyFromClip(), ScColumn::CopyOneCellFromClip(), ScColumn::CopyToColumn(), ScDrawLayer::CreateDefaultStyles(), CreateSelectionPattern(), ScTable::DeleteArea(), ScColumn::DeleteBeforeCopyFromClip(), ScDocFunc::DeleteCells(), ScAttrArray::DeleteRange(), ScTable::DeleteSelection(), ScUndoDeleteCells::DoChange(), ScUndoModifyStyle::DoChange(), ScPrintFunc::DoNotes(), ScPreview::DoPrint(), ScDPFieldButton::draw(), ScGridWindow::DrawPagePreview(), ScViewFunc::EnterBlock(), ScViewFunc::EnterData(), ScInputHandler::EnterHandler(), ScTabViewShell::ExecStyle(), ScFormatShell::ExecuteAttr(), ScFormatShell::ExecuteNumFormat(), ScViewFunc::ExtendScenario(), oox::xls::SheetDataBuffer::finalizeImport(), ScConversionEngineBase::FindNextConversionCell(), ScAttrArray::FindStyleSheet(), GetDocColors(), ScDocDefaultsObj::getPropertyDefault(), ScDocDefaultsObj::getPropertyValue(), ScCellObj::InputEnglishString(), ScStyleFamilyObj::insertByName(), ScAttrArray::InsertRow(), lcl_CopyData(), lcl_DrawOneFrame(), lcl_PutString(), LotAttrCache::LotAttrCache(), ScPrintFunc::MakeEditEngine(), OP_CreatePattern123(), ScPrintFunc::PrintPage(), ScDocFunc::PutData(), ScPatternAttr::PutInPool(), ScUndoRemoveMerge::Redo(), ScAreaLink::Refresh(), ScAttrArray::RemoveAreaMerge(), ScAttrArray::Reset(), ScAttrArray::ScAttrArray(), ScFormulaCell::ScFormulaCell(), ScTabEditEngine::ScTabEditEngine(), ScUndoCursorAttr::ScUndoCursorAttr(), ScUndoSelectionAttr::ScUndoSelectionAttr(), ScOrcusSheet::set_column_format(), ScOrcusSheet::set_row_format(), ScAttrArray::SetAttrEntries(), ScXMLTableRowCellContext::SetContentValidation(), ScQProStyle::SetFormat(), ScStyleObj::setName(), ScViewFunc::SetNumberFormat(), ScViewFunc::SetNumFmtByStr(), ScAttrArray::SetPatternAreaImpl(), ScAttrArray::SetPatternAreaSafe(), ScDocDefaultsObj::setPropertyToDefault(), ScDocumentConfiguration::setPropertyValue(), ScDocDefaultsObj::setPropertyValue(), ScViewFunc::SetSelectionFrameLines(), ScTable::SortReorderByRow(), ScTable::SortReorderByRowRefUpdate(), ScColumn::Swap(), ScDocFunc::UnmergeCells(), ScEEImport::WriteToDocument(), ScAttrArray::~ScAttrArray(), ScUndoCursorAttr::~ScUndoCursorAttr(), and ScUndoSelectionAttr::~ScUndoSelectionAttr().

◆ GetPosLeft()

SCCOL ScDocument::GetPosLeft ( ) const
inline

Definition at line 881 of file document.hxx.

References nPosLeft.

Referenced by ScModelObj::getViewData().

◆ GetPosTop()

SCROW ScDocument::GetPosTop ( ) const
inline

Definition at line 883 of file document.hxx.

References nPosTop.

Referenced by ScModelObj::getViewData().

◆ GetPreviewCellStyle() [1/2]

ScStyleSheet * ScDocument::GetPreviewCellStyle ( )
inline

◆ GetPreviewCellStyle() [2/2]

ScStyleSheet * ScDocument::GetPreviewCellStyle ( SCCOL  nCol,
SCROW  nRow,
SCTAB  nTab 
)

◆ GetPreviewFont() [1/2]

SfxItemSet * ScDocument::GetPreviewFont ( )
inline

◆ GetPreviewFont() [2/2]

SfxItemSet * ScDocument::GetPreviewFont ( SCCOL  nCol,
SCROW  nRow,
SCTAB  nTab 
)

◆ GetPreviewSelection()

const ScMarkData & ScDocument::GetPreviewSelection ( ) const
inline

◆ GetPrintArea()

bool ScDocument::GetPrintArea ( SCTAB  nTab,
SCCOL rEndCol,
SCROW rEndRow,
bool  bNotes = true 
) const

◆ GetPrintAreaHor()

bool ScDocument::GetPrintAreaHor ( SCTAB  nTab,
SCROW  nStartRow,
SCROW  nEndRow,
SCCOL rEndCol 
) const

◆ GetPrintAreaVer()

bool ScDocument::GetPrintAreaVer ( SCTAB  nTab,
SCCOL  nStartCol,
SCCOL  nEndCol,
SCROW rEndRow,
bool  bNotes 
) const

◆ GetPrinter()

SfxPrinter * ScDocument::GetPrinter ( bool  bCreateIfNotExist = true)

◆ GetPrintRange()

const ScRange * ScDocument::GetPrintRange ( SCTAB  nTab,
sal_uInt16  nPos 
)

◆ GetPrintRangeCount()

sal_uInt16 ScDocument::GetPrintRangeCount ( SCTAB  nTab)

◆ GetRange()

ScRange ScDocument::GetRange ( SCTAB  nTab,
const tools::Rectangle rMMRect,
bool  bHiddenAsZero = true 
) const

◆ GetRangeAtBlock()

const ScRangeData * ScDocument::GetRangeAtBlock ( const ScRange rBlock,
OUString &  rName,
bool *  pSheetLocal = nullptr 
) const

◆ GetRangeName() [1/2]

ScRangeName * ScDocument::GetRangeName ( ) const

◆ GetRangeName() [2/2]

ScRangeName * ScDocument::GetRangeName ( SCTAB  nTab) const

Definition at line 171 of file documen3.cxx.

References FetchTable().

Referenced by ScExternalRefManager::breakLink(), ScOrcusNamedExpression::commit(), ScGroupTokenConverter::convert(), CopyAdjustRangeName(), CopyRangeNamesToClip(), oox::xls::WorkbookGlobals::createLocalNamedRangeObject(), oox::xls::WorkbookGlobals::createNamedRangeObject(), ScDocFunc::CreateNames(), ScRefUndoData::DeleteUnchanged(), ScPosWnd::DoEnter(), ScDBFunc::DoSubTotals(), ScDBDocFunc::DoSubTotals(), ScCellShell::ExecuteDataPilotDialog(), ScPosWnd::FillRangeNames(), ScAreaLink::FindExtRange(), ScContentTree::GetAreaNames(), ScHTMLImport::GetHTMLRangeNameList(), XclRoot::GetNamedRanges(), ScGlobalNamedRangesObj::GetObjectByIndex_Impl(), ScLocalNamedRangesObj::GetObjectByIndex_Impl(), ScCompiler::GetRangeData(), ScNamedRangeObj::GetRangeData_Impl(), ScRangeStringConverter::GetRangeDataFromString(), ScGlobalNamedRangesObj::GetRangeName_Impl(), ScLocalNamedRangesObj::GetRangeName_Impl(), ScExternalRefManager::getRangeNameTokensFromSrcDoc(), getScRangeListForAddress(), ScSheetSourceDesc::GetSourceRange(), ScCompiler::HasPossibleNamedRangeConflict(), ScPrintAreasDlg::Impl_FillLists(), ScConsolidateDlg::Init(), ScSpecialFilterDlg::Init(), ScViewFunc::InsertName(), XclImpName::InsertName(), XclExpNameManagerImpl::InsertName(), ScDocFunc::InsertNameList(), ScHTMLImport::InsertRangeName(), lcl_FillRangeFromName(), lcl_GetRange(), ScRangeUtil::MakeRangeFromName(), ScNamedRangeObj::Modify_Impl(), ScCompiler::ParseNamedRange(), ScUndoAddRangeData::Redo(), ScDBFunc::RepeatDB(), ScDBDocFunc::RepeatDB(), ScRefUndoData::ScRefUndoData(), ScXMLImport::SetNamedRanges(), ScDocFunc::SetNewRangeNames(), ScXMLImport::SetSheetNamedRanges(), sc::TokenStringContext::TokenStringContext(), TransferTab(), TransposeClip(), ScUndoAddRangeData::Undo(), ScUndoDragDrop::Undo(), ScLinkedAreaDlg::UpdateSourceRanges(), ScXMLExport::WriteNamedExpressions(), ScXMLExport::WriteTable(), ScEEImport::WriteToDocument(), and ScHTMLImport::WriteToDocument().

◆ GetRangeNameMap()

void ScDocument::GetRangeNameMap ( std::map< OUString, ScRangeName * > &  rRangeName)

◆ GetRangeOverflowType()

SC_DLLPUBLIC const ErrCode & ScDocument::GetRangeOverflowType ( ) const
inline

Definition at line 2220 of file document.hxx.

References nRangeOverflowType.

Referenced by ScXMLImportWrapper::ImportFromComponent().

◆ GetRangeScriptType() [1/2]

SvtScriptType ScDocument::GetRangeScriptType ( const ScRangeList rRanges)

◆ GetRangeScriptType() [2/2]

SvtScriptType ScDocument::GetRangeScriptType ( sc::ColumnBlockPosition rBlockPos,
const ScAddress rPos,
SCROW  nLength 
)

◆ GetRecursionHelper()

ScRecursionHelper & ScDocument::GetRecursionHelper ( )

◆ GetRefCellValue() [1/2]

ScRefCellValue ScDocument::GetRefCellValue ( const ScAddress rPos)

◆ GetRefCellValue() [2/2]

ScRefCellValue ScDocument::GetRefCellValue ( const ScAddress rPos,
sc::ColumnBlockPosition rBlockPos 
)
private

◆ GetRefDevice()

OutputDevice * ScDocument::GetRefDevice ( )

◆ GetRefreshTimerControlAddress()

std::unique_ptr< ScRefreshTimerControl > const & ScDocument::GetRefreshTimerControlAddress ( ) const
inline

◆ GetRepeatColRange()

std::optional< ScRange > ScDocument::GetRepeatColRange ( SCTAB  nTab)

◆ GetRepeatRowRange()

std::optional< ScRange > ScDocument::GetRepeatRowRange ( SCTAB  nTab)

◆ GetRowBreakData()

Sequence< TablePageBreakData > ScDocument::GetRowBreakData ( SCTAB  nTab) const

Definition at line 4408 of file document.cxx.

References FetchTable().

Referenced by ScTableSheetObj::getRowPageBreaks().

◆ GetRowBreakIterator()

ScRowBreakIterator * ScDocument::GetRowBreakIterator ( SCTAB  nTab) const

Definition at line 6379 of file document.cxx.

References HasTable(), and maTabs.

Referenced by sc::PrintPageRanges::calculate().

◆ GetRowFlags()

CRFlags ScDocument::GetRowFlags ( SCROW  nRow,
SCTAB  nTab 
) const

◆ GetRowForHeight()

SCROW ScDocument::GetRowForHeight ( SCTAB  nTab,
tools::Long  nHeight 
) const

Given the height i.e.

total vertical distance from the top of the sheet grid, return the first visible row whose top position is below the specified height.

Definition at line 4193 of file document.cxx.

References maTabs.

Referenced by ScDrawLayer::GetPrintArea().

◆ GetRowHeight() [1/3]

sal_uInt16 ScDocument::GetRowHeight ( SCROW  nRow,
SCTAB  nTab,
bool  bHiddenAsZero = true 
) const

Definition at line 4161 of file document.cxx.

References FetchTable().

Referenced by ScViewData::AddPixelsWhile(), ScViewData::AddPixelsWhileBackward(), ScViewFunc::AdjustRowHeight(), ScTabView::AlignToCursor(), ScDrawUtil::CalcScale(), ScTabView::CalcZoom(), ScGridWindow::DoAutoFilterButton(), ScGridWindow::DoScenarioMenu(), ScGridWindow::DrawButtons(), ScOutputData::DrawClipMarks(), ScPrintFunc::DrawToDev(), ScViewData::EditGrowY(), FillInfo(), ScDrawLayer::GetCellRect(), ScModelObj::getDocumentSize(), ScDetectiveFunc::GetDrawPos(), ScEditUtil::GetEditArea(), ScDataTableRowView::GetEntrySize(), ScTabView::GetInsertPos(), ScGridWindow::GetListValButtonRect(), ScViewData::GetMergeSizePixel(), ScViewData::GetMergeSizePrintTwips(), GetMMRect(), ScColumn::GetNeededSize(), ScPreviewLocationData::GetOffsetPixel(), XclExpRowBuffer::GetOrCreateRow(), ScOutputData::GetOutputArea(), ScViewData::GetPosFromPixel(), ScDrawLayer::GetPrintArea(), ScViewData::GetPrintTwipsPos(), ScGridWindow::GetRectsAnyFor(), GetRowHeight(), GetScaledRowHeight(), ScViewData::GetScrPos(), ScBoundsProvider::GetSize(), ScCellShell::GetState(), ScDrawLayer::HasObjectsInRows(), ScTransferObj::InitDocShell(), lcl_FitsInWindow(), ScPrintFunc::LocateArea(), ScTabView::MakeVisible(), ScViewFunc::ModifyCellSize(), ScDrawLayer::MoveArea(), ScViewFunc::PasteDataFormat(), ScOutputData::PrePrintDrawingLayer(), ScPrintFunc::PrintPage(), ScPrintFunc::PrintRowHdr(), ScViewData::RecalcPixPos(), ScDrawLayer::RecalcPos(), ScViewFunctionSet::SetCursorAtCell(), ScViewData::SetMaxTiledRow(), ScViewData::SetPosY(), ScViewData::SetScreen(), ScViewData::SetScreenPos(), ScGridWindow::UpdateDragRectOverlay(), ScViewData::UpdateFixY(), ScHTMLExport::WriteCell(), ScRTFExport::WriteRow(), and ScEEImport::WriteToDocument().

◆ GetRowHeight() [2/3]

sal_uInt16 ScDocument::GetRowHeight ( SCROW  nRow,
SCTAB  nTab,
SCROW pStartRow,
SCROW pEndRow,
bool  bHiddenAsZero = true 
) const

Definition at line 4169 of file document.cxx.

References FetchTable().

◆ GetRowHeight() [3/3]

tools::Long ScDocument::GetRowHeight ( SCROW  nStartRow,
SCROW  nEndRow,
SCTAB  nTab,
bool  bHiddenAsZero = true 
) const

Definition at line 4177 of file document.cxx.

References FetchTable(), and GetRowHeight().

◆ GetRowNameRanges()

ScRangePairList * ScDocument::GetRowNameRanges ( )
inline

◆ GetRowNameRangesRef()

ScRangePairListRef & ScDocument::GetRowNameRangesRef ( )
inline

◆ GetRowOffset()

tools::Long ScDocument::GetRowOffset ( SCROW  nRow,
SCTAB  nTab,
bool  bHiddenAsZero = true 
) const

◆ GetScaledRowHeight()

tools::Long ScDocument::GetScaledRowHeight ( SCROW  nStartRow,
SCROW  nEndRow,
SCTAB  nTab,
double  fScale 
) const

◆ GetScenarioData()

void ScDocument::GetScenarioData ( SCTAB  nTab,
OUString &  rComment,
Color rColor,
ScScenarioFlags rFlags 
) const

◆ GetScenarioFlags()

void ScDocument::GetScenarioFlags ( SCTAB  nTab,
ScScenarioFlags rFlags 
) const

◆ GetScenarioRanges()

const ScRangeList * ScDocument::GetScenarioRanges ( SCTAB  nTab) const

◆ GetScriptType() [1/2]

SvtScriptType ScDocument::GetScriptType ( const ScAddress rPos) const

Definition at line 6441 of file document.cxx.

References ScAddress::Col(), FetchTable(), ScAddress::Row(), and ScAddress::Tab().

◆ GetScriptType() [2/2]

SvtScriptType ScDocument::GetScriptType ( SCCOL  nCol,
SCROW  nRow,
SCTAB  nTab,
const ScRefCellValue pCell = nullptr 
)

◆ GetSearchAndReplaceStart()

void ScDocument::GetSearchAndReplaceStart ( const SvxSearchItem rSearchItem,
SCCOL rCol,
SCROW rRow 
)

◆ GetSelectionFrame()

void ScDocument::GetSelectionFrame ( const ScMarkData rMark,
SvxBoxItem rLineOuter,
SvxBoxInfoItem rLineInner 
)

◆ GetSelectionFunction()

bool ScDocument::GetSelectionFunction ( ScSubTotalFunc  eFunc,
const ScAddress rCursor,
const ScMarkData rMark,
double &  rResult 
)

◆ GetSelectionPattern()

const ScPatternAttr * ScDocument::GetSelectionPattern ( const ScMarkData rMark)

◆ GetSelectionStyle()

const ScStyleSheet * ScDocument::GetSelectionStyle ( const ScMarkData rMark) const

◆ GetSharedString()

svl::SharedString ScDocument::GetSharedString ( const ScAddress rPos) const

Definition at line 3526 of file document.cxx.

References ScAddress::Col(), FetchTable(), ScAddress::Row(), and ScAddress::Tab().

◆ GetSharedStringPool() [1/2]

svl::SharedStringPool & ScDocument::GetSharedStringPool ( )

Definition at line 601 of file documen2.cxx.

References mpCellStringPool.

Referenced by ScXMLTableRowCellContext::AddFormulaCell(), ScFunctionAccess::callFunction(), convertToToken(), ScFormulaDlg::convertToTokenArray(), ScTokenConversion::ConvertToTokenArray(), convertToTokenArray(), ScColumn::CopyFromClip(), ScColumn::CopyOneCellFromClip(), ScColumn::CopyStaticToDocument(), ScColumn::CopyToColumn(), XclImpExtName::CreateDdeData(), ScTable::CreateExcelQuery(), ScConditionEntry::CreateFlatCopiedTokenArray(), CreateSharedStringTextObject(), ScTable::CreateStarQuery(), ScDdeLink::DataChanged(), ScViewFunc::DoThesaurus(), ScXMLDDELinkContext::endFastElement(), ScXMLExternalRefCellContext::endFastElement(), ScXMLConditionContext::endFastElement(), ScXMLDPConditionContext::endFastElement(), ScCellRangeObj::filter(), ScOrcusFactory::finalize(), oox::xls::CondFormatRule::finalizeImport(), ScPivotFilterDlg::GetOutputItem(), ScValidationData::GetSelectionFromFormula(), XclImpSupbook::GetSharedStringPool(), ScValidationData::IsDataValid(), ScValidationData::IsDataValidCustom(), ScValidationData::IsListValid(), ScInterpreter::IterateParametersIf(), ScInterpreter::IterateParametersIfs(), ScInterpreter::MatConcat(), ScCompiler::NextNewToken(), OP_Formula(), OP_Formula123(), ScCompiler::ParseString(), ScColumn::ParseString(), ScInterpreter::PushExternalDoubleRef(), ScInterpreter::PushExternalSingleRef(), ScInterpreter::PushString(), ScInterpreter::PushStringBuffer(), ScXMLTableRowCellContext::PutTextCell(), XclImpValidationManager::ReadDV(), ExcelToSc::ReadExtensionArray(), ScTokenArray::ReadjustAbsolute3DReferences(), ScQProReader::readSheet(), ScExternalRefManager::refreshSrcDocument(), ScColumn::RestoreFromCache(), ScInterpreter::ScCountIf(), ScFormulaCell::ScFormulaCell(), ScXMLSetItemContext::ScXMLSetItemContext(), ScExternalSheetCacheObj::setCellValue(), ScFilterDescriptorBase::setFilterFields(), ScXMLTableRowCellContext::SetFormulaCell(), ScColumn::SetRawString(), ScUnoAddInCall::SetResult(), and ScGridWindow::UpdateAutoFilterFromMenu().

◆ GetSharedStringPool() [2/2]

const svl::SharedStringPool & ScDocument::GetSharedStringPool ( ) const

Definition at line 606 of file documen2.cxx.

References mpCellStringPool.

◆ GetSheetEvents()

const ScSheetEvents * ScDocument::GetSheetEvents ( SCTAB  nTab) const

◆ GetSheetLimits()

ScSheetLimits & ScDocument::GetSheetLimits ( ) const
inline

Definition at line 898 of file document.hxx.

References mxSheetLimits.

Referenced by ScMyTables::AddColStyle(), ScScenariosObj::addNewByName(), ScTableSheetObj::addRanges(), ScViewFunc::AdjustBlockHeight(), ScTokenArray::AdjustReferenceInMovedName(), ScTokenArray::AdjustReferenceInName(), ScTokenArray::AdjustReferenceOnShift(), ScCellsEnumeration::Advance_Impl(), ScHelperFunctions::ApplyBorder(), ScDocFunc::AutoFormat(), ScFunctionAccess::callFunction(), ScCellsEnumeration::CheckPos_Impl(), ScCompiler::CompileString(), ScChangeTrack::ComputeContentSlot(), XclExpFmlaCompImpl::ConvertRefData(), ScCompiler::CorrectSumRange(), ScTable::CreateColumnIfNotExistsImpl(), ScRefTokenHelper::createRefToken(), ScCompiler::CreateStringFromDoubleRef(), ScCompiler::CreateStringFromExternal(), ScCompiler::CreateStringFromSingleRef(), ScDocFunc::DeleteCells(), ScViewFunc::DoAutoAttributes(), ScUndoPaste::DoChange(), ScUndoDeleteCells::DoChange(), ScDBDocFunc::DoImport(), ScViewFunc::EnterData(), ScDocFunc::EnterMatrix(), ScCellShell::ExecuteEdit(), ScCompiler::ExtendRangeReference(), ScDocFunc::FillAuto(), ScTabPageSortFields::FillFieldLists(), ScTpSubTotalGroup::FillListBoxes(), ScDocFunc::FillSeries(), ScDocFunc::FillSimple(), ScModelObj::getRenderer(), ScTable::GetScenarioRanges(), ScInterpreter::GetSortArray(), ScRefTokenHelper::getTokenFromRange(), ScCompiler::HandleColRowName(), ScCompiler::HandleDbData(), ScCompiler::HandleTableRef(), ScGridWindow::HasScenarioButton(), IMPL_LINK(), ScTpSubTotalGroup::Init(), ScSingleRefData::InitAddressRel(), ScTransferObj::InitDocShell(), ScDPCache::InitFromDoc(), ScSingleRefData::InitFromRefAddress(), ScComplexRefData::InitFromRefAddresses(), ScDocFunc::InsertCells(), ScAccessibleCell::IsDropdown(), lcl_CheckOne_OOO(), lcl_CheckOne_XL_R1C1(), lcl_CopyData(), lcl_DoDragCells(), lcl_DrawScenarioFrames(), lcl_FindRangeOrEntry(), lcl_PutDataArray(), lcl_PutFormulaArray(), lcl_ScRange_Parse_XL_R1C1(), ScDocFunc::MoveBlock(), ScRefUpdate::MoveRelWrap(), ScModelObj::NotifyChanges(), ScConsData::OutputToDocument(), ScCompiler::ParseColRowName(), ScRange::ParseCols(), ScCompiler::ParseDoubleReference(), ScRange::ParseRows(), ScCompiler::ParseSingleReference(), ScViewFunc::PasteDataFormat(), ScViewFunc::PasteRTF(), ScInterpreter::PopRefListPushMatrixOrRef(), ScVbaWorksheets::PrintPreview(), ScInterpreter::PushDoubleRef(), ScInterpreter::PushSingleRef(), ScDocFunc::PutData(), ScChangeActionContent::PutValueToDoc(), ScDBDocFunc::Query(), LotusToSc::ReadSRD(), ScUndoDragDrop::Redo(), ScUndoAutoFormat::Redo(), ScUndoEnterMatrix::Redo(), ScUndoBorder::Redo(), ScAreaLink::Refresh(), ScAnnotationsObj::removeByIndex(), ScConditionalFormatList::RemoveFromDocument(), ScModelObj::render(), ScCompiler::ReplaceDoubleRefII(), ScDocFunc::ResizeMatrix(), ScInterpreter::ScColRowNameAuto(), ScInterpreter::ScDBArea(), ScInterpreter::ScIntersect(), ScInterpreter::ScRangeFunc(), ScXMLTableColContext::ScXMLTableColContext(), ScXMLTableRowCellContext::ScXMLTableRowCellContext(), ScXMLTableRowContext::ScXMLTableRowContext(), ScCellRangeObj::setArrayTokens(), ScDocFunc::SetWidthOrHeight(), ShrinkToDataArea(), FuText::StopEditMode(), ScImportExport::Sylk2Doc(), ScDocFunc::TabOp(), ScSingleRefData::toAbs(), ScComplexRefData::toAbs(), ScUndoBorder::Undo(), ScFormulaCell::UpdateGrow(), ScRangeData::UpdateGrow(), ScNavigatorDlg::UpdateSheetLimits(), ScRangeData::UpdateTranspose(), ScFormulaCell::UpdateTranspose(), ScRangeData::ValidateTabRefs(), and sc::ScDBDataManager::WriteToDoc().

◆ GetSheetOptimalMinRowHeight()

sal_uInt16 ScDocument::GetSheetOptimalMinRowHeight ( SCTAB  nTab) const

◆ GetSheetSeparator()

sal_Unicode ScDocument::GetSheetSeparator ( ) const

Obtain the sheet separator corresponding to the document's grammar.

Returns
'.' for our own grammars, '!' for Excel grammars.

Definition at line 1351 of file documen4.cxx.

References GetGrammar(), ScCompiler::GetRefConvention(), ScCompiler::Convention::getSpecialSymbol(), and ScCompiler::Convention::SHEET_SEPARATOR.

Referenced by ScInputHandler::InitRangeFinder(), ScNamePasteDlg::ScNamePasteDlg(), and ScInputHandler::ShowArgumentsTip().

◆ GetSortedRangeCache()

ScSortedRangeCache & ScDocument::GetSortedRangeCache ( const ScRange rRange,
const ScQueryParam param,
ScInterpreterContext pContext 
)

◆ GetSortParam()

void ScDocument::GetSortParam ( ScSortParam rParam,
SCTAB  nTab 
)

Definition at line 2124 of file documen3.cxx.

References mSheetSortParams.

Referenced by ScVbaRange::Sort().

◆ GetSparkline()

std::shared_ptr< sc::Sparkline > ScDocument::GetSparkline ( ScAddress const &  rPosition)

◆ GetSparklineGroupInRange()

bool ScDocument::GetSparklineGroupInRange ( ScRange const &  rRange,
std::shared_ptr< sc::SparklineGroup > &  rGroup 
)

Returns true if the whole range covers one and the same sparkline group and returns the group via out parameter.

Definition at line 6537 of file document.cxx.

References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), GetSparkline(), ScAddress::Row(), and ScAddress::Tab().

Referenced by HasOneSparklineGroup().

◆ GetSparklineList()

sc::SparklineList * ScDocument::GetSparklineList ( SCTAB  nTab)

◆ GetSrcVersion()

static sal_uInt16 ScDocument::GetSrcVersion ( )
inlinestatic

Definition at line 2137 of file document.hxx.

References nSrcVer.

Referenced by ScFormulaCell::CalcAfterLoad().

◆ GetStorageGrammar()

formula::FormulaGrammar::Grammar ScDocument::GetStorageGrammar ( ) const
inline

◆ GetString() [1/2]

OUString ScDocument::GetString ( const ScAddress rPos,
const ScInterpreterContext pContext = nullptr 
) const

Definition at line 3512 of file document.cxx.

References ScAddress::Col(), FetchTable(), ScAddress::Row(), and ScAddress::Tab().

◆ GetString() [2/2]

OUString ScDocument::GetString ( SCCOL  nCol,
SCROW  nRow,
SCTAB  nTab,
const ScInterpreterContext pContext = nullptr 
) const

◆ GetStringForFormula()

FormulaError ScDocument::GetStringForFormula ( const ScAddress rPos,
OUString &  rString 
)

◆ GetStringScriptType()

SvtScriptType ScDocument::GetStringScriptType ( const OUString &  rString)

◆ GetStyle()

const ScStyleSheet * ScDocument::GetStyle ( SCCOL  nCol,
SCROW  nRow,
SCTAB  nTab 
) const

Definition at line 4868 of file document.cxx.

References FetchTable().

Referenced by ScViewFunc::GetStyleSheetFromMarked(), and ScInterpreter::ScStyle().

◆ GetStyleSheetPool()

ScStyleSheetPool * ScDocument::GetStyleSheetPool ( ) const

Definition at line 6055 of file document.cxx.

References mxPoolHelper.

Referenced by oox::xls::Xf::applyPatternToAttrList(), XclImpXF::ApplyPatternToAttrVector(), ScDocFunc::ApplyStyle(), ScTabView::CalcZoom(), ScOrucsImportCellStyle::commit(), ScPrintFunc::Construct(), ScTable::CopyConditionalFormat(), ScDrawLayer::CopyFromClip(), ScPostIt::CreateCaption(), ScPostIt::CreateCaptionFromInitData(), oox::xls::CellStyle::createCellStyle(), ScNoteUtil::CreateNoteFromCaption(), ScNoteUtil::CreateTempCaption(), ScUndoPrintZoom::DoChange(), ScUndoSelectionStyle::DoChange(), ScUndoModifyStyle::DoChange(), ScTable::DoSubTotals(), ScPrintFunc::DrawToDev(), ScTabViewShell::ExecStyle(), ScPreviewShell::Execute(), ScFormatShell::ExecuteStyle(), oox::xls::ColorFilter::finalizeImport(), ScTable::FindMaxRotCol(), ScAttrArray::FindStyleSheet(), ScAccessiblePageHeader::getAccessibleChildCount(), ScStyleFamilyObj::getCount(), ScStyleFamilyObj::getElementNames(), ScStyleFamilyObj::GetObjectByIndex_Impl(), ScStyleFamilyObj::GetObjectByName_Impl(), ScPreviewShell::GetPageSize(), ScPreviewShell::GetState(), ScTabViewShell::GetState(), ScStyleObj::GetStyle_Impl(), XclRoot::GetStyleSheetPool(), ScTabViewShell::GetStyleState(), ScStyleFamilyObj::hasByName(), ScDrawTransferObj::InitDocShell(), ScTransferObj::InitDocShell(), oox::xls::WorksheetGlobals::initializeWorksheetImport(), ScStyleFamilyObj::insertByName(), lcl_GetDocPageSize(), ScDocShell::LoadStylesArgs(), FuSelection::MouseButtonUp(), ScPreview::MouseButtonUp(), ScHTMLExport::PageDefaults(), ScPatternAttr::PutInPool(), ScStyleFamilyObj::removeByName(), ScUndoSelectionStyle::Repeat(), ScTable::ReplaceAllStyle(), ScTable::ReplaceStyle(), XclExpExtCF::SaveXml(), ScConditionFrmtEntry::ScConditionFrmtEntry(), ScDateFrmtEntry::ScDateFrmtEntry(), ScDrawLayer::ScDrawLayer(), ScOrcusStyles::ScOrcusStyles(), ScInterpreter::ScStyle(), ScTable::SearchAllStyle(), ScTable::SearchStyle(), ScTable::SetPageStyle(), TransferDrawPage(), ScDetectiveFunc::UpdateAllComments(), ScTable::UpdatePageBreaks(), ScPatternAttr::UpdateStyleSheet(), oox::xls::Xf::writeToDoc(), and XclExpDxfs::XclExpDxfs().

◆ GetTabBgColor()

Color ScDocument::GetTabBgColor ( SCTAB  nTab) const

◆ GetTable()

bool ScDocument::GetTable ( const OUString &  rName,
SCTAB rTab 
) const

◆ GetTableArea()

bool ScDocument::GetTableArea ( SCTAB  nTab,
SCCOL rEndCol,
SCROW rEndRow,
bool  bCalcHiddens = false 
) const

◆ GetTableCount()

SCTAB ScDocument::GetTableCount ( ) const

Definition at line 297 of file document.cxx.

References maTabs.

Referenced by ScTabControl::AddTabClick(), AddUndoTab(), ScChartHelper::AdjustRangesOfChartsOnDestinationPage(), ScViewFunc::AppendTable(), AppendTabOnLoad(), ApplyFrameAreaTab(), ApplyPatternArea(), ApplyPatternIfNumberformatIncompatible(), ScViewFunc::ApplyPatternLines(), ApplySelectionFrame(), ApplySelectionLineStyle(), ScViewFunc::ApplySelectionPattern(), ApplySelectionPattern(), ApplySelectionStyle(), ScDocFunc::ApplyStyle(), ApplyStyleArea(), ScDocFunc::AutoFormat(), ScExternalRefManager::breakLink(), Broadcast(), ScPreview::CalcPages(), CanInsertCol(), CanInsertRow(), ScDocFunc::ChangeIndent(), ChangeSelectionIndent(), ClearSelectionItems(), ClosingClipboardSource(), ScXMLExport::collectAutoStyles(), CompareDocument(), ScTabViewShell::Construct(), CopyBlockFromClip(), ScTableSheetsObj::copyByName(), CopyFromClip(), CopyMultiRangeFromClip(), CopyOneCellFromClip(), CopyRangeNamesToClip(), CopyScenario(), CopyStaticToDocument(), CopyTab(), ScViewData::CopyTab(), CopyTabToClip(), CopyToClip(), ScViewFunc::CopyToClipSingleRange(), CopyToDocument(), CopyUpdated(), sc::DocFuncUtil::createDeleteContentsUndoDoc(), CreatePrintRangeSaver(), CreateSelectionPattern(), XclExpChangeTrack::CreateTempChangeTrack(), oox::xls::WorkbookGlobals::createUnnamedDatabaseRangeObject(), XclExpNameManagerImpl::CreateUserNames(), CreateValidTabName(), CreateValidTabNames(), ScViewFunc::CutToClip(), DeleteArea(), ScDocFunc::DeleteCells(), DeleteCol(), ScViewFunc::DeleteMulti(), DeleteObjectsInArea(), ScDrawLayer::DeleteObjectsInSelection(), DeleteRow(), DeleteSelection(), DeleteTab(), ScDocFunc::DeleteTable(), ScViewFunc::DeleteTable(), ScViewFunc::DeleteTables(), DeleteTabs(), ScTabView::DeselectAllTables(), ScDocFunc::DetectiveRefresh(), ScUndoImportTab::DoChange(), ScUndoPaste::DoChange(), ScUndoMoveTab::DoChange(), ScUndoCut::DoChange(), ScUndoDeleteContents::DoChange(), ScUndoFillTable::DoChange(), ScUndoSelectionAttr::DoChange(), ScUndoSelectionStyle::DoChange(), ScUndoDataForm::DoChange(), ScUndoRefConversion::DoChange(), ScUndoConversion::DoChange(), ScViewFunc::DoRefConversion(), ScGridWindow::DoScenarioMenu(), DoSdrUndoAction(), ScDBFunc::DoSubTotals(), ScDBDocFunc::DoSubTotals(), ScRefUpdate::DoTranspose(), ScGridWindow::DrawContent(), ScContentTree::DrawNamesChanged(), ScGridWindow::DropTransferObj(), ScXMLImport::endDocument(), EnsureTable(), ScTabViewShell::ExecStyle(), ScGridWinUIObject::execute(), ScTabViewShell::Execute(), ScTabViewShell::ExecuteTable(), ScXMLExport::exportDoc(), ScXMLImportWrapper::ExportToComponent(), ExtendMerge(), ExtendMergeSel(), ExtendOverlapped(), ScDocFunc::FillAuto(), ScPosWnd::FillRangeNames(), ScModelObj::FillRenderMarkData(), ScDocFunc::FillSeries(), ScDocFunc::FillSimple(), FillTab(), ScInsertTableDlg::FillTables_Impl(), FillTabMarked(), oox::xls::FormulaBuffer::finalizeImport(), ScConversionEngineBase::FindNextConversionCell(), FuInsertChart::FuInsertChart(), GetAllTabRangeNames(), ScContentTree::GetAreaNames(), ScDBQueryDataIterator::GetAttrArrayByCol(), GetAutoFillPreview(), XMLCodeNameProvider::getByName(), ScUnnamedDatabaseRangesObj::getByTable(), GetClipArea(), ScDrawPagesObj::getCount(), ScTableSheetsObj::getCount(), ScScenariosObj::getCount(), ScSheetLinksObj::getCount(), ScValueIterator::GetCurNumFmtInfo(), GetDocStat(), ScContentTree::GetDrawNames(), ScTableSheetsObj::getElementNames(), ScSheetLinksObj::getElementNames(), XMLCodeNameProvider::getElementNames(), GetEmbeddedRect(), ScPreview::GetFirstPage(), ScHorizontalAttrIterator::GetNext(), GetNumberFormat(), GetNumberFormatInfo(), GetObjectAtPoint(), ScSheetLinksObj::GetObjectByIndex_Impl(), ScDrawView::GetObjectByName(), ScSheetLinksObj::GetObjectByName_Impl(), ScModelObj::getParts(), ScTabControl::GetPrivatDropPos(), GetRange(), GetRangeNameMap(), ScNamedRangeObj::getReferencePosition(), ScRefAddress::GetRefString(), ScModelObj::getRenderer(), ScModelObj::getRendererCount(), GetSelectionFrame(), GetSelectionFunction(), GetSelectionStyle(), ScCellShell::GetState(), ScTabViewShell::GetStateTable(), ScTabViewShell::GetStyleState(), ScPrintFuncCache::GetTabForPage(), GetTable(), ScContentTree::GetTableNames(), ScConditionEntry::GetValidSrcPos(), ScModelObj::HandleCalculateEvents(), HasAnyCalcNotification(), HasAnySheetEventScript(), HasAttrib(), ScSheetLinksObj::hasByName(), XMLCodeNameProvider::hasByName(), ScUnnamedDatabaseRangesObj::hasByTable(), HasClipFilteredRows(), XMLCodeNameProvider::hasElements(), HasLink(), HasOLEObjectsInArea(), sc::DocFuncUtil::hasProtectedTab(), ScGridWindow::HasScenarioButton(), HasSelectedBlockMatrixFragment(), HasStringCells(), HasTable(), ScViewFunc::HideTable(), IMPL_LINK(), IMPL_LINK_NOARG(), ScTableSheetsObj::importSheet(), ScCellIterator::init(), ScConsolidateDlg::Init(), ScNameDlg::Init(), ScInsertTableDlg::Init_Impl(), InitDrawLayer(), ScDocumentImportImpl::initForSheets(), ScPrintFuncCache::InitLocations(), InitUndo(), InitUndoSelected(), ScTableSheetsObj::insertByName(), ScDocFunc::InsertCells(), InsertCol(), InsertMatrixFormula(), InsertRow(), InsertTab(), ScDocFunc::InsertTable(), ScViewFunc::InsertTableLink(), InsertTableOp(), InsertTabs(), InvalidateTextWidth(), ScAccessibleCell::IsDropdown(), IsPageStyleInUse(), ScDBQueryDataIterator::IsQueryValid(), IsSelectionEditable(), ScBigAddress::IsValid(), lcl_DrawScenarioFrames(), lcl_Format(), lcl_HasValidStream(), lcl_ParseTarget(), lcl_TestScenarioRedliningDrop(), LimitRangeToAvailableSheets(), LinkExternalTab(), ScDBFunc::MakePivotTable(), MakeTable(), MixDocument(), ScAddress::Move(), ScDocFunc::MoveBlock(), ScViewFunc::MoveBlockTo(), ScRefUpdate::MoveRelWrap(), MoveTab(), ScViewData::MoveTab(), ScViewFunc::MoveTable(), NeedPageResetAfterTab(), ScPassHashHelper::needsPassHashRegen(), ScFormulaGroupIterator::next(), ScTabViewShell::Notify(), ScModelObj::NotifyChanges(), ScDocFunc::NotifyDrawUndo(), ScTabView::PaintExtras(), ImportLotus::parse(), ScViewFunc::PasteFromClip(), ImportExcel::PostDocLoad(), XclImpPivotCache::ReadPivotCacheStream(), ScUndoRefreshLink::Redo(), ScUndoCopyTab::Redo(), ScAreaLink::Refresh(), ScTableLink::Refresh(), RemovePageStyleInUse(), RenamePageStyleInUse(), RenameTab(), ScModelObj::render(), ScDBFunc::RepeatDB(), ScDBDocFunc::RepeatDB(), ResetCalcNotifications(), ResetChanged(), ResetClip(), RestorePrintRanges(), XclExpXmlStream::restoreTabNames(), ScDrawLayer::ScAddPage(), ScAttrRectIterator::ScAttrRectIterator(), ScInterpreter::ScCell(), ScDrawLayer::ScCopyPage(), ScDocAttrIterator::ScDocAttrIterator(), ScHorizontalAttrIterator::ScHorizontalAttrIterator(), ScHorizontalCellIterator::ScHorizontalCellIterator(), ScHTMLExport::ScHTMLExport(), ScDrawLayer::ScMovePage(), ScNameDefDlg::ScNameDefDlg(), ScPrintFuncCache::ScPrintFuncCache(), ScDrawLayer::ScRemovePage(), ScInterpreter::ScSheets(), ScTabControl::ScTabControl(), ScUndoRemoveLink::ScUndoRemoveLink(), ScValueIterator::ScValueIterator(), ScViewData::ScViewData(), SearchAndReplace(), ScViewFunc::SearchAndReplace(), ScTabControl::Select(), ScTabView::SelectAllTables(), ScDrawView::SelectCurrentViewObject(), ScTabView::SelectNextTab(), ScDrawView::SelectObject(), XMLCodeNameProvider::set(), ScUnnamedDatabaseRangesObj::setByTable(), ScUndoFillTable::SetChangeTrack(), ScNavigatorDlg::SetCurrentTableStr(), ScRetypePassDlg::SetDataFromDocument(), SetDirty(), SetDirtyFromClip(), ScSheetLinkObj::setFileName(), SetImportingXML(), ScDocumentConfiguration::setPropertyValue(), ScViewFunc::SetStyleSheetToMarked(), SetTableOpDirty(), ScDocFunc::SetTableVisible(), SetTabNameOnLoad(), ScTabView::SetTabNo(), ooo::vba::excel::setUpDocumentModules(), ScInterpreter::SingleRefToVars(), Solver(), ScTransferObj::StripRefs(), ScSingleRefData::TabValid(), ScEditableTester::TestSelectedBlock(), TransferTab(), ScDocFunc::TransliterateText(), TransliterateText(), TransposeClip(), ScUndoDragDrop::Undo(), ScUndoWidthOrHeight::Undo(), ScUndoAutoFill::Undo(), ScUndoAutoFormat::Undo(), ScUndoRefreshLink::Undo(), ScUndoIndent::Undo(), ScUndoTransliterate::Undo(), ScUndoCopyTab::Undo(), UndoToDocument(), ScDocRowHeightUpdater::update(), ScRefUpdate::Update(), ScDocRowHeightUpdater::updateAll(), ScDetectiveFunc::UpdateAllArrowColors(), UpdateAllRowHeights(), UpdateGrow(), ScPrintFunc::UpdatePages(), ScTabControl::UpdateStatus(), UpdateTranspose(), XclExpXmlStream::validateTabNames(), ScRangeData::ValidateTabRefs(), ScXMLExportDatabaseRanges::WriteDatabaseRanges(), ScRetypePassDlg::WriteNewDataToDocument(), ScHTMLExport::WriteOverview(), ScHTMLExport::WriteTables(), ScViewData::WriteUserData(), XclExpDxfs::XclExpDxfs(), XclExpTabInfo::XclExpTabInfo(), and ScTableLink::~ScTableLink().

◆ GetTabProtection()

const ScTableProtection * ScDocument::GetTabProtection ( SCTAB  nTab) const

◆ GetTextWidth()

sal_uInt16 ScDocument::GetTextWidth ( const ScAddress rPos) const

Definition at line 6433 of file document.cxx.

References ScAddress::Col(), FetchTable(), ScAddress::Row(), and ScAddress::Tab().

◆ GetThreadedContext()

ScInterpreterContext & ScDocument::GetThreadedContext ( ) const
inline

◆ GetTiledRenderingArea()

void ScDocument::GetTiledRenderingArea ( SCTAB  nTab,
SCCOL rEndCol,
SCROW rEndRow 
) const

Return the number of columns / rows that should be visible for the tiled rendering.

Definition at line 702 of file documen2.cxx.

References ScViewData::GetMaxTiledCol(), ScViewData::GetMaxTiledRow(), GetPrintArea(), and ScDocShell::GetViewData().

Referenced by ScModelObj::getDocumentSize(), and ScGridWindow::GetRectsAnyFor().

◆ GetUndoManager()

ScUndoManager * ScDocument::GetUndoManager ( )

Definition at line 6364 of file document.cxx.

References CORE, GetDocumentShell(), mpUndoManager, and SdrUndoManager::SetDocShell().

Referenced by EnableUndo(), and IMPL_LINK().

◆ GetUnprotectedCells()

void ScDocument::GetUnprotectedCells ( ScRangeList rRange,
SCTAB  nTab 
) const

Definition at line 6864 of file document.cxx.

References FetchTable().

Referenced by ScCellShell::ExecuteEdit().

◆ GetUpperCellString()

OUString ScDocument::GetUpperCellString ( SCCOL  nCol,
SCROW  nRow,
SCTAB  nTab 
)

Definition at line 1477 of file documen3.cxx.

References FetchTable().

Referenced by ScTable::CreateExcelQuery(), and ScTable::CreateStarQuery().

◆ GetValidationEntry()

const ScValidationData * ScDocument::GetValidationEntry ( sal_uInt32  nIndex) const

◆ GetValidationList() [1/2]

ScValidationDataList * ScDocument::GetValidationList ( )
inline

Definition at line 1880 of file document.hxx.

References pValidationList.

◆ GetValidationList() [2/2]

const ScValidationDataList * ScDocument::GetValidationList ( ) const
inline

Definition at line 1879 of file document.hxx.

References pValidationList.

Referenced by ScPatternAttr::PutInPool(), and ScUndoDragDrop::Undo().

◆ GetValue() [1/2]

double ScDocument::GetValue ( const ScAddress rPos) const

◆ GetValue() [2/2]

double ScDocument::GetValue ( SCCOL  nCol,
SCROW  nRow,
SCTAB  nTab 
) const

Definition at line 3634 of file document.cxx.

References GetValue().

◆ GetValueCell()

double * ScDocument::GetValueCell ( const ScAddress rPos)

Return a pointer to the double value stored in value cell.

Parameters
rPoscell position
Returns
pointer to the double value stored in a numeric cell, or NULL if the cell at specified position is not a numeric cell.

Definition at line 3519 of file document.cxx.

References ScAddress::Col(), FetchTable(), ScAddress::Row(), and ScAddress::Tab().

Referenced by Solver().

◆ GetVbaEventProcessor()

const css::uno::Reference< css::script::vba::XVBAEventProcessor > & ScDocument::GetVbaEventProcessor ( ) const
inline

◆ GetViewBindings()

SfxBindings * ScDocument::GetViewBindings ( )

◆ GetViewOptions()

const ScViewOptions & ScDocument::GetViewOptions ( ) const

◆ GetVirtualDevice_100th_mm()

VirtualDevice * ScDocument::GetVirtualDevice_100th_mm ( )

◆ GetVisibleTab()

SCTAB ScDocument::GetVisibleTab ( ) const
inline

◆ GetWritableColumnsRange()

ScColumnsRange ScDocument::GetWritableColumnsRange ( SCTAB  nTab,
SCCOL  nColBegin,
SCCOL  nColEnd 
)

Definition at line 2525 of file document.cxx.

References FetchTable(), and SAL_WARN.

Referenced by DifAttrCache::Apply(), and InsertMatrixFormula().

◆ GetXMLImportedFormulaCount()

sal_uInt64 ScDocument::GetXMLImportedFormulaCount ( ) const
inline

Definition at line 2459 of file document.hxx.

References nXMLImportedFormulaCount.

Referenced by CompileXML(), and ScFormulaCell::CompileXML().

◆ HandleRefArrayForParallelism()

bool ScDocument::HandleRefArrayForParallelism ( const ScAddress rPos,
SCROW  nLength,
const ScFormulaCellGroupRef mxGroup 
)

Definition at line 1788 of file document.cxx.

References ScAddress::Col(), FetchTable(), nLength, ScAddress::Row(), and ScAddress::Tab().

◆ HandleStuffAfterParallelCalculation()

void ScDocument::HandleStuffAfterParallelCalculation ( SCCOL  nColStart,
SCCOL  nColEnd,
SCROW  nRow,
size_t  nLen,
SCTAB  nTab,
ScInterpreter pInterpreter 
)

◆ HasAnyCalcNotification()

bool ScDocument::HasAnyCalcNotification ( ) const

Definition at line 706 of file documen3.cxx.

References GetTableCount(), and maTabs.

Referenced by ScModelObj::Notify().

◆ HasAnyDraw()

bool ScDocument::HasAnyDraw ( SCTAB  nTab,
const tools::Rectangle rMMRect 
) const

Definition at line 356 of file documen9.cxx.

References mpDrawLayer, SdrObjListIter::Next(), and pObject.

Referenced by IsPrintEmpty().

◆ HasAnySheetEventScript()

bool ScDocument::HasAnySheetEventScript ( ScSheetEventId  nEvent,
bool  bWithVbaEvents = false 
) const

◆ HasAreaLinks()

bool ScDocument::HasAreaLinks ( ) const

◆ HasAttrib() [1/3]

bool ScDocument::HasAttrib ( const ScRange rRange,
HasAttrFlags  nMask 
) const

◆ HasAttrib() [2/3]

bool ScDocument::HasAttrib ( SCCOL  nCol,
SCROW  nRow,
SCTAB  nTab,
HasAttrFlags  nMask,
SCROW nStartRow = nullptr,
SCROW nEndRow = nullptr 
) const

◆ HasAttrib() [3/3]

bool ScDocument::HasAttrib ( SCCOL  nCol1,
SCROW  nRow1,
SCTAB  nTab1,
SCCOL  nCol2,
SCROW  nRow2,
SCTAB  nTab2,
HasAttrFlags  nMask 
) const

◆ HasAutoFilter()

bool ScDocument::HasAutoFilter ( SCCOL  nCol,
SCROW  nRow,
SCTAB  nTab 
)

◆ HasBackgroundDraw()

bool ScDocument::HasBackgroundDraw ( SCTAB  nTab,
const tools::Rectangle rMMRect 
) const

Definition at line 331 of file documen9.cxx.

References mpDrawLayer, SdrObjListIter::Next(), pObject, and SC_LAYER_BACK().

Referenced by ScGridWindow::DrawContent().

◆ HasCalcNotification()

bool ScDocument::HasCalcNotification ( SCTAB  nTab) const

Definition at line 715 of file documen3.cxx.

References FetchTable().

Referenced by ScModelObj::HandleCalculateEvents().

◆ HasChartAtPoint()

bool ScDocument::HasChartAtPoint ( SCTAB  nTab,
const Point rPos,
OUString &  rName 
)

◆ HasClipFilteredRows()

bool ScDocument::HasClipFilteredRows ( )

◆ HasColBreak()

ScBreakType ScDocument::HasColBreak ( SCCOL  nCol,
SCTAB  nTab 
) const

◆ HasColHeader()

bool ScDocument::HasColHeader ( SCCOL  nStartCol,
SCROW  nStartRow,
SCCOL  nEndCol,
SCROW  nEndRow,
SCTAB  nTab 
)

◆ HasColNotes()

bool ScDocument::HasColNotes ( SCCOL  nCol,
SCTAB  nTab 
) const

◆ HasData()

bool ScDocument::HasData ( SCCOL  nCol,
SCROW  nRow,
SCTAB  nTab 
)

◆ HasDataPilotAtPosition()

SC_DLLPUBLIC bool ScDocument::HasDataPilotAtPosition ( ScAddress const &  rAddress) const
inline

Definition at line 848 of file document.hxx.

References GetDPAtCursor().

Referenced by ScTabView::CursorPosChanged().

◆ HasDetectiveObjects()

bool ScDocument::HasDetectiveObjects ( SCTAB  nTab) const

◆ HasDetectiveOperations()

bool ScDocument::HasDetectiveOperations ( ) const

Definition at line 887 of file documen4.cxx.

References pDetOpList.

Referenced by ScCellShell::GetState().

◆ HasExternalRefManager()

bool ScDocument::HasExternalRefManager ( ) const
inline

◆ HasFilteredRows()

bool ScDocument::HasFilteredRows ( SCROW  nStartRow,
SCROW  nEndRow,
SCTAB  nTab 
) const

Definition at line 4482 of file document.cxx.

References FetchTable().

Referenced by ScViewUtil::HasFiltered(), and TransposeClip().

◆ HasFormulaCell()

bool ScDocument::HasFormulaCell ( const ScRange rRange) const

Check if there is at least one formula cell in specified range.

Definition at line 462 of file document10.cxx.

References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), FetchTable(), ScTable::HasFormulaCell(), ScRange::IsValid(), ScAddress::Row(), and ScAddress::Tab().

Referenced by ScCellShell::GetBlockState().

◆ HasHiddenRows()

bool ScDocument::HasHiddenRows ( SCROW  nStartRow,
SCROW  nEndRow,
SCTAB  nTab 
) const

Definition at line 4423 of file document.cxx.

References FetchTable().

Referenced by ScDBDocFunc::Sort(), and ScHTMLExport::WriteTables().

◆ HasLink()

bool ScDocument::HasLink ( std::u16string_view  rDoc,
std::u16string_view  rFilter,
std::u16string_view  rOptions 
) const

◆ HasLinkFormulaNeedingCheck()

bool ScDocument::HasLinkFormulaNeedingCheck ( ) const
inline

◆ HasManualBreaks()

bool ScDocument::HasManualBreaks ( SCTAB  nTab) const

Definition at line 6222 of file document.cxx.

References FetchTable().

Referenced by ScTabViewShell::GetState().

◆ HasMultipleDataCells()

sc::MultiDataCellState ScDocument::HasMultipleDataCells ( const ScRange rRange) const

Check if the specified range contains either: 1) one non-empty cell, 2) more than one non-empty cells, or 3) totally empty.

In case the range contains at least one non-empty cell, specify the position of the first non-empty cell.

Definition at line 43 of file document10.cxx.

References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), sc::MultiDataCellState::Empty, FetchTable(), ScTable::HasMultipleDataCells(), ScAddress::Row(), and ScAddress::Tab().

Referenced by ScViewFunc::MergeCells().

◆ HasNote() [1/3]

bool ScDocument::HasNote ( const ScAddress rPos) const

◆ HasNote() [2/3]

bool ScDocument::HasNote ( SCCOL  nCol,
SCROW  nRow,
SCTAB  nTab 
) const

◆ HasNote() [3/3]

bool ScDocument::HasNote ( SCTAB  nTab,
SCCOL  nStartCol,
SCROW  nStartRow,
SCCOL  nEndCol,
SCROW  nEndRow 
) const

Definition at line 6639 of file document.cxx.

References FetchTable().

◆ HasNotes()

bool ScDocument::HasNotes ( ) const

Definition at line 6679 of file document.cxx.

References HasTabNotes(), i, and MAXTAB.

◆ HasOLEObjectsInArea()

bool ScDocument::HasOLEObjectsInArea ( const ScRange rRange,
const ScMarkData pTabMark = nullptr 
)

◆ HasOneSparklineGroup()

bool ScDocument::HasOneSparklineGroup ( ScRange const &  rRange)

◆ HasPartOfMerged()

bool ScDocument::HasPartOfMerged ( const ScRange rRange)
private

◆ HasPivotTable()

bool ScDocument::HasPivotTable ( ) const

◆ HasPrintRange()

bool ScDocument::HasPrintRange ( )

Definition at line 6239 of file document.cxx.

References a, and maTabs.

Referenced by XclExpNameManagerImpl::CreateBuiltInNames(), and ScPrintFunc::InitParam().

◆ HasRangeOverflow()

bool ScDocument::HasRangeOverflow ( ) const
inline

◆ HasRowBreak()

ScBreakType ScDocument::HasRowBreak ( SCROW  nRow,
SCTAB  nTab 
) const

◆ HasRowHeader()

bool ScDocument::HasRowHeader ( SCCOL  nStartCol,
SCROW  nStartRow,
SCCOL  nEndCol,
SCROW  nEndRow,
SCTAB  nTab 
)

Definition at line 1533 of file documen3.cxx.

References FetchTable(), and ScTable::HasRowHeader().

Referenced by ScVbaChart::setSourceData(), and ScVbaRange::Sort().

◆ HasScenarioRange()

bool ScDocument::HasScenarioRange ( SCTAB  nTab,
const ScRange rRange 
) const

◆ HasSelectedBlockMatrixFragment()

bool ScDocument::HasSelectedBlockMatrixFragment ( SCCOL  nStartCol,
SCROW  nStartRow,
SCCOL  nEndCol,
SCROW  nEndRow,
const ScMarkData rMark 
) const

◆ HasSelectionData()

bool ScDocument::HasSelectionData ( SCCOL  nCol,
SCROW  nRow,
SCTAB  nTab 
) const

Returns true, if there is any data to create a selection list for rPos.

Definition at line 3781 of file document.cxx.

References ATTR_VALIDDATA(), GetAttr(), GetValidationEntry(), HasStringCells(), MaxRow(), and pData.

Referenced by ScCellShell::GetState().

◆ HasSheetEventScript()

bool ScDocument::HasSheetEventScript ( SCTAB  nTab,
ScSheetEventId  nEvent,
bool  bWithVbaEvents = false 
) const

◆ HasSparkline()

bool ScDocument::HasSparkline ( ScAddress const &  rPosition)

Definition at line 6503 of file document.cxx.

References GetSparkline().

Referenced by ScTabView::CursorPosChanged(), and ScCellShell::GetBlockState().

◆ HasStringCells()

bool ScDocument::HasStringCells ( const ScRange rRange) const

◆ HasStringData()

bool ScDocument::HasStringData ( SCCOL  nCol,
SCROW  nRow,
SCTAB  nTab 
) const

◆ HasStringWeakCharacters()

bool ScDocument::HasStringWeakCharacters ( const OUString &  rString)

Definition at line 51 of file documen6.cxx.

References GetBreakIterator(), nPos, and nType.

Referenced by ScEditShell::Execute(), and ScViewFunc::InsertSpecialChar().

◆ HasSubTotalCells()

bool ScDocument::HasSubTotalCells ( const ScRange rRange)

◆ HasTable()

bool ScDocument::HasTable ( SCTAB  nTab) const

◆ HasTabNotes()

bool ScDocument::HasTabNotes ( SCTAB  nTab) const

Definition at line 6668 of file document.cxx.

References FetchTable(), and HasColNotes().

Referenced by ScCellShell::GetState(), and HasNotes().

◆ HasUniformRowHeight()

bool ScDocument::HasUniformRowHeight ( SCTAB  nTab,
SCROW  nRow1,
SCROW  nRow2 
) const

Definition at line 346 of file document10.cxx.

References FetchTable(), and ScTable::HasUniformRowHeight().

Referenced by ScDBDocFunc::Sort().

◆ HasUnoRefUndo()

bool ScDocument::HasUnoRefUndo ( ) const
inline

Definition at line 1090 of file document.hxx.

References pUnoRefUndoList.

Referenced by ScRefUndoData::DeleteUnchanged(), and ScChart2DataSequence::Notify().

◆ HasValidationData()

bool ScDocument::HasValidationData ( SCCOL  nCol,
SCROW  nRow,
SCTAB  nTab 
) const

Definition at line 3793 of file document.cxx.

References ATTR_VALIDDATA(), GetAttr(), GetValidationEntry(), pData, and SC_VALID_ANY.

Referenced by ScCellShell::GetState().

◆ HasValueData() [1/2]

bool ScDocument::HasValueData ( const ScAddress rPos) const

Definition at line 3757 of file document.cxx.

References ScAddress::Col(), HasValueData(), ScAddress::Row(), and ScAddress::Tab().

◆ HasValueData() [2/2]

bool ScDocument::HasValueData ( SCCOL  nCol,
SCROW  nRow,
SCTAB  nTab 
) const

◆ IdleCalcTextWidth()

bool ScDocument::IdleCalcTextWidth ( )

◆ ImplCreateOptions()

void ScDocument::ImplCreateOptions ( )
private

Definition at line 101 of file documen8.cxx.

References pDocOptions, and pViewOptions.

Referenced by ScDocument().

◆ ImplDeleteOptions()

void ScDocument::ImplDeleteOptions ( )
private

Definition at line 107 of file documen8.cxx.

References pDocOptions, pExtDocOptions, and pViewOptions.

Referenced by ~ScDocument().

◆ IncInDdeLinkUpdate()

void ScDocument::IncInDdeLinkUpdate ( )
inline

Definition at line 1043 of file document.hxx.

References nInDdeLinkUpdate.

Referenced by ScDdeLink::TryUpdate().

◆ IncInterpreterTableOpLevel()

void ScDocument::IncInterpreterTableOpLevel ( )
inline

Definition at line 2440 of file document.hxx.

References nInterpreterTableOpLevel.

Referenced by ScInterpreter::ScTableOp().

◆ IncInterpretLevel()

void ScDocument::IncInterpretLevel ( )
inline

Definition at line 2414 of file document.hxx.

References IsThreadedGroupCalcInProgress(), and nInterpretLevel.

Referenced by ScFormulaCell::Interpret().

◆ IncMacroInterpretLevel()

void ScDocument::IncMacroInterpretLevel ( )
inline

Definition at line 2427 of file document.hxx.

References IsThreadedGroupCalcInProgress(), and nMacroInterpretLevel.

Referenced by ScInterpreter::ScMacro().

◆ IncXMLImportedFormulaCount()

void ScDocument::IncXMLImportedFormulaCount ( sal_uInt64  nVal)
inline

◆ InitClipPtrs()

void ScDocument::InitClipPtrs ( ScDocument pSourceDoc)
private

◆ InitColumnBlockPosition()

bool ScDocument::InitColumnBlockPosition ( sc::ColumnBlockPosition rBlockPos,
SCTAB  nTab,
SCCOL  nCol 
)

◆ InitDrawLayer()

void ScDocument::InitDrawLayer ( SfxObjectShell pDocShell = nullptr)

◆ InitUndo()

void ScDocument::InitUndo ( const ScDocument rSrcDoc,
SCTAB  nTab1,
SCTAB  nTab2,
bool  bColInfo = false,
bool  bRowInfo = false 
)

◆ InitUndoSelected()

void ScDocument::InitUndoSelected ( const ScDocument rSrcDoc,
const ScMarkData rTabSelection,
bool  bColInfo = false,
bool  bRowInfo = false 
)

◆ InsertCol() [1/2]

bool ScDocument::InsertCol ( const ScRange rRange)

◆ InsertCol() [2/2]

bool ScDocument::InsertCol ( SCROW  nStartRow,
SCTAB  nStartTab,
SCROW  nEndRow,
SCTAB  nEndTab,
SCCOL  nStartCol,
SCSIZE  nSize,
ScDocument pRefUndoDoc = nullptr,
const ScMarkData pTabMark = nullptr 
)

◆ InsertMatrixFormula()

void ScDocument::InsertMatrixFormula ( SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2,
const ScMarkData rMark,
const OUString &  rFormula,
const ScTokenArray p = nullptr,
const formula::FormulaGrammar::Grammar  eGram = formula::FormulaGrammar::GRAM_DEFAULT 
)

◆ InsertNewRangeName() [1/2]

bool ScDocument::InsertNewRangeName ( const OUString &  rName,
const ScAddress rPos,
const OUString &  rExpr 
)

Insert a new named expression to the global scope.

Parameters
rNamename for the expression.
rPosbase position.
rExprformula expression to be associated with the name. The current grammar is used to compile this expression.
Returns
true if inserted successfully, false otherwise.

Definition at line 218 of file documen3.cxx.

References GetGrammar(), GetRangeName(), ScRangeName::insert(), ScRangeData::Name, and pName.

◆ InsertNewRangeName() [2/2]

bool ScDocument::InsertNewRangeName ( SCTAB  nTab,
const OUString &  rName,
const ScAddress rPos,
const OUString &  rExpr 
)

Insert a new named expression to a sheet-local scope.

Parameters
nTabsheet for local scope.
rNamename for the expression.
rPosbase position.
rExprformula expression to be associated with the name. The current grammar is used to compile this expression.
Returns
true if inserted successfully, false otherwise.

Definition at line 228 of file documen3.cxx.

References GetGrammar(), GetRangeName(), ScRangeName::insert(), ScRangeData::Name, and pName.

◆ InsertRow() [1/2]

bool ScDocument::InsertRow ( const ScRange rRange)

◆ InsertRow() [2/2]

bool ScDocument::InsertRow ( SCCOL  nStartCol,
SCTAB  nStartTab,
SCCOL  nEndCol,
SCTAB  nEndTab,
SCROW  nStartRow,
SCSIZE  nSize,
ScDocument pRefUndoDoc = nullptr,
const ScMarkData pTabMark = nullptr 
)

◆ InsertTab()

bool ScDocument::InsertTab ( SCTAB  nPos,
const OUString &  rName,
bool  bExternalDocument = false,
bool  bUndoDeleteTab = false 
)

◆ InsertTableOp()

void ScDocument::InsertTableOp ( const ScTabOpParam rParam,
SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2,
const ScMarkData rMark 
)

◆ InsertTabs()

bool ScDocument::InsertTabs ( SCTAB  nPos,
const std::vector< OUString > &  rNames,
bool  bNamesValid = false 
)

◆ InterpretCellsIfNeeded()

bool ScDocument::InterpretCellsIfNeeded ( const ScRangeList rRanges)

◆ InterpretDirtyCells()

void ScDocument::InterpretDirtyCells ( const ScRangeList rRanges)

◆ InvalidateLastTableOpParams()

void ScDocument::InvalidateLastTableOpParams ( )
inline

Definition at line 2453 of file document.hxx.

References aLastTableOpParams, and ScInterpreterTableOpParams::bValid.

◆ InvalidatePageBreaks()

void ScDocument::InvalidatePageBreaks ( SCTAB  nTab)

◆ InvalidateStreamOnSave()

void ScDocument::InvalidateStreamOnSave ( )

Definition at line 476 of file document.cxx.

References a, and maTabs.

◆ InvalidateStyleSheetUsage()

void ScDocument::InvalidateStyleSheetUsage ( )
inline

Definition at line 2533 of file document.hxx.

References bStyleSheetUsageInvalid.

◆ InvalidateTableArea()

void ScDocument::InvalidateTableArea ( )

Definition at line 574 of file documen4.cxx.

References maTabs.

◆ InvalidateTextWidth() [1/3]

void ScDocument::InvalidateTextWidth ( const ScAddress pAdrFrom,
const ScAddress pAdrTo,
bool  bNumFormatChanged 
)

◆ InvalidateTextWidth() [2/3]

void ScDocument::InvalidateTextWidth ( SCTAB  nTab)

Definition at line 303 of file documen8.cxx.

References InvalidateTextWidth(), MaxCol(), and MaxRow().

◆ InvalidateTextWidth() [3/3]

void ScDocument::InvalidateTextWidth ( std::u16string_view  rStyleName)

◆ IsActiveScenario()

bool ScDocument::IsActiveScenario ( SCTAB  nTab) const

◆ IsAddressInRangeName()

bool ScDocument::IsAddressInRangeName ( RangeNameScope  eScope,
const ScAddress rAddress 
)

Definition at line 196 of file documen3.cxx.

References ScRange::Contains(), GetRangeName(), GLOBAL, and ScAddress::Tab().

Referenced by ScCellShell::GetState().

◆ IsAdjustHeightLocked()

bool ScDocument::IsAdjustHeightLocked ( ) const
inline

◆ IsAutoCalcShellDisabled()

bool ScDocument::IsAutoCalcShellDisabled ( ) const
inline

◆ IsBlockEditable()

bool ScDocument::IsBlockEditable ( SCTAB  nTab,
SCCOL  nStartCol,
SCROW  nStartRow,
SCCOL  nEndCol,
SCROW  nEndRow,
bool *  pOnlyNotBecauseOfMatrix = nullptr,
bool  bNoMatrixAtAll = false 
) const

◆ IsBlockEmpty()

bool ScDocument::IsBlockEmpty ( SCCOL  nStartCol,
SCROW  nStartRow,
SCCOL  nEndCol,
SCROW  nEndRow,
SCTAB  nTab 
) const

◆ IsCalcingAfterLoad()

bool ScDocument::IsCalcingAfterLoad ( ) const
inline

Definition at line 2228 of file document.hxx.

References bCalcingAfterLoad.

Referenced by ScColumn::AttachNewFormulaCell(), and ScColumn::AttachNewFormulaCells().

◆ IsCalculatingFormulaTree()

bool ScDocument::IsCalculatingFormulaTree ( ) const
inline

Definition at line 1421 of file document.hxx.

References bCalculatingFormulaTree.

Referenced by CalcFormulaTree(), and TrackFormulas().

◆ IsCellInChangeTrack()

bool ScDocument::IsCellInChangeTrack ( const ScAddress cell,
Color pColCellBorder 
)

◆ IsChangeReadOnlyEnabled()

bool ScDocument::IsChangeReadOnlyEnabled ( ) const
inline

Definition at line 1604 of file document.hxx.

References mbChangeReadOnlyEnabled.

Referenced by ScModelObj::getPropertyValue(), and ScDocFunc::SetWidthOrHeight().

◆ IsChart()

bool ScDocument::IsChart ( const SdrObject pObject)
static

◆ IsChartListenerCollectionNeedsUpdate()

bool ScDocument::IsChartListenerCollectionNeedsUpdate ( ) const
inline

◆ IsClipboard()

bool ScDocument::IsClipboard ( ) const
inline

◆ IsClipboardSource()

bool ScDocument::IsClipboardSource ( ) const

◆ IsClipOrUndo()

bool ScDocument::IsClipOrUndo ( ) const
inline

◆ IsCutMode()

bool ScDocument::IsCutMode ( )

◆ IsDefaultTabBgColor()

bool ScDocument::IsDefaultTabBgColor ( SCTAB  nTab) const

Definition at line 462 of file documen3.cxx.

References COL_AUTO(), and FetchTable().

Referenced by ScTabControl::ScTabControl(), and ScTabControl::UpdateStatus().

◆ IsDelayedDeletingBroadcasters()

bool ScDocument::IsDelayedDeletingBroadcasters ( ) const
inline

Definition at line 1439 of file document.hxx.

References bDelayedDeletingBroadcasters.

Referenced by InsertCol(), and InsertRow().

◆ IsDelayedFormulaGrouping()

bool ScDocument::IsDelayedFormulaGrouping ( ) const
inline

◆ IsDetectiveDirty()

bool ScDocument::IsDetectiveDirty ( ) const
inline

Definition at line 2210 of file document.hxx.

References bDetectiveDirty.

◆ IsDocEditable()

bool ScDocument::IsDocEditable ( ) const

◆ IsDocProtected()

bool ScDocument::IsDocProtected ( ) const

◆ IsDocVisible()

SC_DLLPUBLIC bool ScDocument::IsDocVisible ( ) const
inline

◆ IsEditActionAllowed() [1/2]

bool ScDocument::IsEditActionAllowed ( sc::ColRowEditAction  eAction,
const ScMarkData rMark,
SCCOLROW  nStart,
SCCOLROW  nEnd 
) const

Definition at line 976 of file document10.cxx.

References ScMarkData::begin(), and ScMarkData::end().

◆ IsEditActionAllowed() [2/2]

bool ScDocument::IsEditActionAllowed ( sc::ColRowEditAction  eAction,
SCTAB  nTab,
SCCOLROW  nStart,
SCCOLROW  nEnd 
) const

◆ IsEmbedded()

bool ScDocument::IsEmbedded ( ) const
inline

◆ IsEmbedFonts()

bool ScDocument::IsEmbedFonts ( ) const
inline

Definition at line 583 of file document.hxx.

References mbEmbedFonts.

Referenced by ScDocumentConfiguration::getPropertyValue().

◆ IsEmbedFontScriptAsian()

bool ScDocument::IsEmbedFontScriptAsian ( ) const
inline

Definition at line 586 of file document.hxx.

References mbEmbedFontScriptAsian.

Referenced by ScDocumentConfiguration::getPropertyValue().

◆ IsEmbedFontScriptComplex()

bool ScDocument::IsEmbedFontScriptComplex ( ) const
inline

Definition at line 587 of file document.hxx.

References mbEmbedFontScriptComplex.

Referenced by ScDocumentConfiguration::getPropertyValue().

◆ IsEmbedFontScriptLatin()

bool ScDocument::IsEmbedFontScriptLatin ( ) const
inline

Definition at line 585 of file document.hxx.

References mbEmbedFontScriptLatin.

Referenced by ScDocumentConfiguration::getPropertyValue().

◆ IsEmbedUsedFontsOnly()

bool ScDocument::IsEmbedUsedFontsOnly ( ) const
inline

Definition at line 584 of file document.hxx.

References mbEmbedUsedFontsOnly.

Referenced by ScDocumentConfiguration::getPropertyValue().

◆ IsEmptyCellSearch()

bool ScDocument::IsEmptyCellSearch ( const SvxSearchItem rSearchItem)
static

◆ IsEmptyData()

bool ScDocument::IsEmptyData ( SCCOL  nStartCol,
SCROW  nStartRow,
SCCOL  nEndCol,
SCROW  nEndRow,
SCTAB  nTab 
) const

◆ IsEnabledDelayStartListeningFormulaCells()

bool ScDocument::IsEnabledDelayStartListeningFormulaCells ( ScColumn column) const

Definition at line 425 of file document10.cxx.

References pDelayedStartListeningFormulaCells.

◆ IsExecuteLinkEnabled()

bool ScDocument::IsExecuteLinkEnabled ( ) const
inline

◆ IsExpandRefs()

bool ScDocument::IsExpandRefs ( ) const
inline

◆ IsFinalTrackFormulas()

bool ScDocument::IsFinalTrackFormulas ( ) const
inline

Definition at line 2399 of file document.hxx.

References mbFinalTrackFormulas.

Referenced by TrackFormulas().

◆ IsForcedFormulaPending()

bool ScDocument::IsForcedFormulaPending ( ) const
inline

Definition at line 1419 of file document.hxx.

References bForcedFormulaPending.

◆ IsFunctionAccess()

bool ScDocument::IsFunctionAccess ( ) const
inline

Definition at line 1597 of file document.hxx.

References bIsFunctionAccess.

Referenced by ScInterpreter::ScWebservice().

◆ IsHorOverlapped()

bool ScDocument::IsHorOverlapped ( SCCOL  nCol,
SCROW  nRow,
SCTAB  nTab 
) const

◆ IsIdleEnabled()

bool ScDocument::IsIdleEnabled ( ) const
inline

◆ IsImportingXML()

bool ScDocument::IsImportingXML ( ) const
inline

◆ IsInDdeLinkUpdate()

bool ScDocument::IsInDdeLinkUpdate ( ) const
inline

Definition at line 1045 of file document.hxx.

References nInDdeLinkUpdate.

Referenced by ScFormulaCell::Interpret(), and IsInLinkUpdate().

◆ IsInDocShellRecalc()

bool ScDocument::IsInDocShellRecalc ( ) const
inline

◆ IsInDtorClear()

bool ScDocument::IsInDtorClear ( ) const
inline

◆ IsInExternalReferenceMarking()

bool ScDocument::IsInExternalReferenceMarking ( ) const

Definition at line 634 of file documen3.cxx.

References pExternalRefMgr.

Referenced by ScTableValidationObj::ScTableValidationObj().

◆ IsInFormulaTrack()

bool ScDocument::IsInFormulaTrack ( const ScFormulaCell pCell) const
inline

Definition at line 516 of file formulacell.hxx.

References ScFormulaCell::GetPreviousTrack(), and pFormulaTrack.

Referenced by ScFormulaCell::Notify().

◆ IsInFormulaTree()

bool ScDocument::IsInFormulaTree ( const ScFormulaCell pCell) const
inline

◆ IsInInterpreter()

bool ScDocument::IsInInterpreter ( ) const
inline

◆ IsInInterpreterTableOp()

bool ScDocument::IsInInterpreterTableOp ( ) const
inline

◆ IsInLayoutStrings()

bool ScDocument::IsInLayoutStrings ( ) const
inline

Definition at line 2635 of file document.hxx.

References mbLayoutStrings.

Referenced by ScFormulaCell::InterpretTail(), and ScOutputData::LayoutStrings().

◆ IsInLinkUpdate()

bool ScDocument::IsInLinkUpdate ( ) const

◆ IsInsertingFromOtherDoc()

bool ScDocument::IsInsertingFromOtherDoc ( ) const
inline

◆ IsInVBAMode()

bool ScDocument::IsInVBAMode ( ) const

◆ IsLayoutRTL()

bool ScDocument::IsLayoutRTL ( SCTAB  nTab) const

Definition at line 974 of file document.cxx.

References FetchTable().

Referenced by ScChartsObj::addNewByName(), sc::TablePivotCharts::addNewByName(), ScAttrArray::ApplyFrame(), ScGridWindow::Command(), ScDrawLayer::CopyFromClip(), CopyTab(), ScInputHandler::DataChanged(), ScAutoFmtPreview::DetectRTL(), ScGridWindow::DoAutoFilterButton(), ScTabView::DoHSplit(), ScPreview::DoPrint(), ScGridWindow::DoPushPivotToggle(), ScTabView::DoResize(), ScGridWindow::DoScenarioMenu(), ScGridWindow::DPConfigFieldPopup(), ScGridWindow::DPTestFieldPopupArrow(), ScGridWindow::DPTestMultiFieldPopupArrow(), ScGridWindow::Draw(), ScGridWindow::DrawButtons(), ScGridWindow::DrawContent(), ScPrintFunc::DrawToDev(), ScViewData::EditGrowX(), ScTabViewShell::ExecDraw(), ScDrawShell::ExecDrawAttr(), ScTabViewShell::ExecuteCellFormatDlg(), ScCellShell::ExecuteCursor(), ScCellShell::ExecuteCursorSel(), ScTabViewShell::ExecuteTable(), FillInfo(), ScTabView::FreezeSplitters(), getAlignmentFromContext(), ScTabView::GetBorderSize(), ScTabView::GetChartDialogPos(), ScTabView::GetChartInsertPos(), ScEditUtil::GetEditArea(), ScGridWindow::GetListValButtonRect(), ScViewData::GetMouseQuadrant(), ScTableSheetObj::GetOnePropertyValue(), ScModelObj::getPartInfo(), ScViewData::GetPosFromPixel(), XclObjAnchor::GetRect(), ScGridWindow::GetRectsAnyFor(), ScViewData::GetScrPos(), ScTabViewShell::GetStateTable(), ScViewPaneBase::GetVisArea(), ScGridWindow::HandleMouseButtonDown(), HasAttrib(), ScGridWindow::HasScenarioButton(), ScGridWindow::HitRangeFinder(), ScTabView::InitScrollBar(), ScColBar::IsLayoutRTL(), ScRowBar::IsMirrored(), IsNegativePage(), ScGridWindow::LaunchAutoFilterMenu(), ScGridWindow::LaunchDataSelectMenu(), lcl_DrawScenarioFrames(), lcl_GetEditAreaTLOffset(), ScPrintFunc::LocateRowHdr(), ScGridWindow::LogicInvalidate(), ScGridWindow::MouseButtonUp(), ScPreview::MouseButtonUp(), ScGridWindow::MouseMove(), ScGridWindow::Paint(), ScCornerButton::Paint(), ScTabView::PaintArea(), ScGridWindow::PaintTile(), ScTabView::PaintTopArea(), ScPrintFunc::PrintColHdr(), ScPrintFunc::PrintPage(), ScPrintFunc::PrintRowHdr(), ScDrawView::ScDrawView(), ScInsertCellDlg::ScInsertCellDlg(), ScOutputData::ScOutputData(), ScTabView::ScrollHdl(), ScViewData::SetEditEngine(), ScOutlineWindow::SetHeaderSize(), ScDocFunc::SetLayoutRTL(), ScModelObj::setPart(), XclObjAnchor::SetRect(), ScViewData::SetScreenPos(), ScGridWindow::TestMouse(), ScGridWindow::UpdateAutoFillOverlay(), ScGridWindow::UpdateCursorOverlay(), ScGridWindow::UpdateDragRectOverlay(), ScGridWindow::UpdateFormulas(), ScTabView::UpdateScrollBars(), ScGridWindow::UpdateSelectionOverlay(), and XclExpTabInfo::XclExpTabInfo().

◆ IsLinked()

bool ScDocument::IsLinked ( SCTAB  nTab) const

◆ IsManualRowHeight()

bool ScDocument::IsManualRowHeight ( SCROW  nRow,
SCTAB  nTab 
) const

Definition at line 4523 of file document.cxx.

References FetchTable().

◆ IsMerged()

bool ScDocument::IsMerged ( const ScAddress rPos) const

◆ IsNegativePage()

bool ScDocument::IsNegativePage ( SCTAB  nTab) const

◆ IsPageStyleInUse()

bool ScDocument::IsPageStyleInUse ( std::u16string_view  rStrPageStyle,
SCTAB pInTab 
)

Definition at line 310 of file documen8.cxx.

References GetPageStyle(), GetTableCount(), i, maTabs, and nCount.

Referenced by ScTabViewShell::ExecStyle(), and ScStyleSheet::IsUsed().

◆ IsPendingRowHeights()

bool ScDocument::IsPendingRowHeights ( SCTAB  nTab) const

Definition at line 915 of file document.cxx.

References FetchTable().

Referenced by CopyTab().

◆ IsPrintEmpty()

bool ScDocument::IsPrintEmpty ( SCCOL  nStartCol,
SCROW  nStartRow,
SCCOL  nEndCol,
SCROW  nEndRow,
SCTAB  nTab,
bool  bLeftIsEmpty = false,
ScRange pLastRange = nullptr,
tools::Rectangle pLastMM = nullptr 
) const

◆ IsPrintEntireSheet()

bool ScDocument::IsPrintEntireSheet ( SCTAB  nTab) const

◆ IsScenario()

bool ScDocument::IsScenario ( SCTAB  nTab) const

◆ IsSelectionEditable()

bool ScDocument::IsSelectionEditable ( const ScMarkData rMark,
bool *  pOnlyNotBecauseOfMatrix = nullptr 
) const

◆ IsStreamValid()

bool ScDocument::IsStreamValid ( SCTAB  nTab) const

◆ IsStreamValidLocked()

bool ScDocument::IsStreamValidLocked ( ) const
inline

Definition at line 990 of file document.hxx.

References mbStreamValidLocked.

Referenced by ScTable::SetStreamValid().

◆ IsStyleSheetUsed()

bool ScDocument::IsStyleSheetUsed ( const ScStyleSheet rStyle) const

◆ IsTabProtected()

bool ScDocument::IsTabProtected ( SCTAB  nTab) const

◆ IsThreadedGroupCalcInProgress()

bool ScDocument::IsThreadedGroupCalcInProgress ( ) const
inline

◆ IsTrackFormulasPending()

bool ScDocument::IsTrackFormulasPending ( ) const
inline

Definition at line 2397 of file document.hxx.

References mbTrackFormulasPending.

Referenced by ScBroadcastAreaSlotMachine::LeaveBulkBroadcast().

◆ IsUndo()

bool ScDocument::IsUndo ( ) const
inline

◆ IsUndoEnabled()

bool ScDocument::IsUndoEnabled ( ) const
inline

Definition at line 1595 of file document.hxx.

References mbUndoEnabled.

Referenced by ScDBDocFunc::AddDBRange(), ScViewFunc::AppendTable(), sc::ThemeColorChanger::apply(), ScDocFunc::ApplyAttributes(), ScHelperFunctions::ApplyBorder(), ScViewFunc::ApplyPatternLines(), ScViewFunc::ApplySelectionPattern(), ScDocFunc::ApplyStyle(), ScDocFunc::AutoFormat(), ScOutlineDocFunc::AutoOutline(), ScDocFunc::ChangeIndent(), ScDocFunc::ClearItems(), ScAreaLink::Closed(), ScTableLink::Closed(), ScTabViewShell::Construct(), ScDocFunc::ConvertFormulaToValue(), ScDBDocFunc::CreatePivotTable(), ScViewFunc::CutToClip(), ScViewFunc::DataFormPutData(), ScDBDocFunc::DataPilotUpdate(), ScDocFunc::DeleteCell(), ScDocFunc::DeleteCells(), ScDocFunc::DeleteContents(), ScViewFunc::DeleteContents(), ScDBDocFunc::DeleteDBRange(), ScDrawView::DeleteMarked(), ScViewFunc::DeleteMulti(), ScDocFunc::DeleteTable(), ScDocFunc::DetectiveAddError(), ScDocFunc::DetectiveAddPred(), ScDocFunc::DetectiveAddSucc(), ScDocFunc::DetectiveDelAll(), ScDocFunc::DetectiveDelPred(), ScDocFunc::DetectiveDelSucc(), ScDocFunc::DetectiveMarkInvalid(), ScDocFunc::DetectiveRefresh(), ScDBDocFunc::DoImport(), ScViewFunc::DoRefConversion(), ScViewFunc::DoSheetConversion(), ScDBFunc::DoSubTotals(), ScDBDocFunc::DoSubTotals(), ScViewFunc::DoThesaurus(), EnableUndo(), ScImportExport::EndPaste(), ScViewFunc::EnterData(), ScDocFunc::EnterMatrix(), ScViewFunc::EnterValue(), ScTabViewShell::ExecStyle(), ScDocFunc::FillAuto(), ScDocFunc::FillSeries(), ScDocFunc::FillSimple(), ScViewFunc::FillTab(), FuInsertChart::FuInsertChart(), ScModelObj::getPropertyValue(), ScOutlineDocFunc::HideMarkedOutlines(), ScOutlineDocFunc::HideOutline(), ScViewFunc::HideTable(), ScViewFunc::ImportTables(), ScDocFunc::InsertAreaLink(), ScDocFunc::InsertCells(), ScDocFunc::InsertNameList(), ScDocFunc::InsertPageBreak(), ScDocFunc::InsertTable(), ScViewFunc::InsertTables(), lcl_PutDataArray(), lcl_PutFormulaArray(), ScOutlineDocFunc::MakeOutline(), ScDBFunc::MakePivotTable(), ScDocFunc::MergeCells(), ScDBDocFunc::ModifyAllDBData(), ScDocFunc::ModifyAllRangeNames(), ScDBDocFunc::ModifyDBData(), ScPreview::MouseButtonUp(), ScDocFunc::MoveBlock(), ScViewFunc::MoveTable(), ScGridWindow::PagebreakMove(), ScViewFunc::PasteFromClip(), ScViewFunc::PasteFromClipToMultiRanges(), ScViewFunc::PasteMultiRangesFromClip(), ScViewFunc::PasteRTF(), ScTableSheetObj::PrintAreaUndo_Impl(), ScDocFunc::ProtectDocument(), ScDocFunc::ProtectSheet(), ScViewFunc::ProtectSheet(), ScDBDocFunc::Query(), ScAreaLink::Refresh(), ScTableLink::Refresh(), ScTableSheetObj::removeAllManualPageBreaks(), ScOutlineDocFunc::RemoveAllOutlines(), ScViewFunc::RemoveManualBreaks(), ScOutlineDocFunc::RemoveOutline(), ScDocFunc::RemovePageBreak(), ScDBDocFunc::RemovePivotTable(), ScDBDocFunc::RenameDBRange(), ScDocFunc::RenameTable(), ScDBFunc::RepeatDB(), ScDBDocFunc::RepeatDB(), ScDocFunc::ReplaceConditionalFormat(), ScDocFunc::ReplaceNote(), ScDocFunc::ResizeMatrix(), ScAuditingShell::ScAuditingShell(), ScDrawLayer::ScDrawLayer(), ScDrawTextObjectBar::ScDrawTextObjectBar(), ScFormatShell::ScFormatShell(), ScPageBreakShell::ScPageBreakShell(), ScPivotShell::ScPivotShell(), ScViewFunc::SearchAndReplace(), ScOutlineDocFunc::SelectLevel(), ScDocFunc::SetConditionalFormatList(), ScTabViewShell::SetDrawTextUndo(), ScDocFunc::SetEditCell(), ScDocFunc::SetFormulaCell(), ScDocFunc::SetFormulaCells(), ScDocFunc::SetLayoutRTL(), ScDocFunc::SetNewRangeNames(), ScDocFunc::SetNormalString(), ScTableSheetObj::setPrintAreas(), ScViewFunc::SetPrintRanges(), ScDocFunc::SetStringCell(), ScViewFunc::SetStyleSheetToMarked(), ScDocFunc::SetTabBgColor(), ScDocFunc::SetTableVisible(), ScDocFunc::SetValueCell(), ScDocFunc::SetValueCells(), ScViewFunc::SetWidthOrHeight(), ScDocFunc::SetWidthOrHeight(), ScOutlineDocFunc::ShowMarkedOutlines(), ScDocFunc::ShowNote(), ScOutlineDocFunc::ShowOutline(), ScViewFunc::ShowTable(), ScDBDocFunc::Sort(), sc::SparklineShell::SparklineShell(), ScImportExport::StartPaste(), FuText::StopEditMode(), ScDocFunc::TabOp(), ScDocFunc::TransliterateText(), ScDocFunc::UnmergeCells(), ScViewFunc::Unprotect(), ScChartObj::Update_Impl(), and ScDBDocFunc::UpdatePivotTable().

◆ IsUserInteractionEnabled()

SC_DLLPUBLIC bool ScDocument::IsUserInteractionEnabled ( ) const
inline

Definition at line 1606 of file document.hxx.

References mbUserInteractionEnabled.

Referenced by oox::xls::WorkbookFragment::recalcFormulaCells().

◆ IsValidAsianCompression()

bool ScDocument::IsValidAsianCompression ( ) const

Definition at line 618 of file documen9.cxx.

References nAsianCompression.

◆ IsValidAsianKerning()

bool ScDocument::IsValidAsianKerning ( ) const

Definition at line 640 of file documen9.cxx.

References nAsianKerning, and SC_ASIANKERNING_INVALID.

◆ IsVerOverlapped()

bool ScDocument::IsVerOverlapped ( SCCOL  nCol,
SCROW  nRow,
SCTAB  nTab,
SCROW nStartRow = nullptr,
SCROW nEndRow = nullptr 
) const

◆ IsVisible()

bool ScDocument::IsVisible ( SCTAB  nTab) const

◆ KeyInput()

void ScDocument::KeyInput ( )

Definition at line 1175 of file documen8.cxx.

References apTemporaryChartLock, and pChartListenerCollection.

Referenced by ScTabViewShell::TabKeyInput().

◆ LastNonFilteredRow()

SCROW ScDocument::LastNonFilteredRow ( SCROW  nStartRow,
SCROW  nEndRow,
SCTAB  nTab 
) const

Definition at line 4509 of file document.cxx.

References FetchTable().

Referenced by ScViewUtil::FitToUnfilteredRows().

◆ LastVisibleRow()

SCROW ScDocument::LastVisibleRow ( SCROW  nStartRow,
SCROW  nEndRow,
SCTAB  nTab 
) const

◆ LimitChartArea()

void ScDocument::LimitChartArea ( SCTAB  nTab,
SCCOL rStartCol,
SCROW rStartRow,
SCCOL rEndCol,
SCROW rEndRow 
)

Definition at line 1091 of file document.cxx.

References FetchTable().

◆ LimitChartIfAll()

void ScDocument::LimitChartIfAll ( ScRangeListRef rRangeList)

◆ LimitRangeToAvailableSheets()

bool ScDocument::LimitRangeToAvailableSheets ( const ScRange rRange,
ScRange o_rRange,
bool &  o_bEntirelyOutOfBounds 
) const
private

Adjust a range to available sheets.

Used to start and stop listening on a sane range. Both o_rRange and o_bEntirelyOutOfBounds are set only if needed and don't have to be initialized by the caller.

Parameters
o_bEntirelyOutOfBounds<TRUE> if both sheets in the range point outside the available sheet range, in which case no adjustment is done and o_rRange is not modified.
Returns
<TRUE> if any adjustment was done or o_bEntirelyOutOfBounds was set <TRUE>. <FALSE> if rRange was within the available sheets.

Definition at line 83 of file documen7.cxx.

References ScRange::aEnd, ScRange::aStart, BCA_LISTEN_ALWAYS, GetTableCount(), SAL_WARN, ScAddress::SetTab(), ScAddress::Tab(), and ValidTab().

Referenced by EndListeningArea(), and StartListeningArea().

◆ LinkExternalTab()

bool ScDocument::LinkExternalTab ( SCTAB nTab,
const OUString &  aDocTab,
const OUString &  aFileName,
const OUString &  aTabName 
)

◆ LoadDdeLinks()

void ScDocument::LoadDdeLinks ( SvStream rStream)
private

◆ LockAdjustHeight()

void ScDocument::LockAdjustHeight ( )
inline

◆ LockStreamValid()

void ScDocument::LockStreamValid ( bool  bLock)

Definition at line 910 of file document.cxx.

References mbStreamValidLocked.

Referenced by FuText::StopEditMode().

◆ LockTable()

void ScDocument::LockTable ( SCTAB  nTab)

◆ MakeTable()

void ScDocument::MakeTable ( SCTAB  nTab,
bool  _bNeedsNameCheck = true 
)

◆ MarkScenario()

void ScDocument::MarkScenario ( SCTAB  nSrcTab,
SCTAB  nDestTab,
ScMarkData rDestMark,
bool  bResetMark = true,
ScScenarioFlags  nNeededBits = ScScenarioFlags::NONE 
) const

◆ MarkUsedExternalReferences() [1/2]

void ScDocument::MarkUsedExternalReferences ( )

◆ MarkUsedExternalReferences() [2/2]

bool ScDocument::MarkUsedExternalReferences ( const ScTokenArray rArr,
const ScAddress rPos 
)

◆ MaxCol()

SC_DLLPUBLIC SCCOL ScDocument::MaxCol ( ) const
inline

Definition at line 892 of file document.hxx.

References mxSheetLimits.

Referenced by ScGridWindow::AcceptDrop(), ScGridWindow::AcceptPrivateDrop(), ScXMLTableRowCellContext::AddFormulaCell(), ScLabelRangesObj::addNew(), ScXMLTableRowCellContext::AddNonFormulaCell(), ScXMLTableRowCellContext::AddTextAndValueCell(), ScViewFunc::AdjustBlockHeight(), ScColRowNameRangesDlg::AdjustColRowData(), ScBlockUndo::AdjustHeight(), ScPrintFunc::AdjustPrintArea(), ScDocFunc::AdjustRowHeight(), ScViewFunc::AdjustRowHeight(), ScCompiler::AdjustSumRangeShape(), ScTabView::AlignToCursor(), AlphaToCol(), ScRangeListTabs::Append(), ScChangeTrack::AppendContentsIfInRefDoc(), ScChangeTrack::AppendDeleteRange(), ScChangeTrack::AppendOneDeleteRange(), LotAttrTable::Apply(), DifAttrCache::Apply(), ScTable::ApplyStyleArea(), ScDocFunc::AutoFormat(), ScDBFunc::AutoOutline(), ScOutlineDocFunc::AutoOutline(), ScViewFunc::AutoSum(), ScDPOutput::CalcSizes(), sc::PrintPageRanges::calculate(), ScFunctionAccess::callFunction(), ScInputHandler::CancelHandler(), CanFitBlock(), ScViewData::CellsAtX(), ScAttrArray::ChangeIndent(), ClosingClipboardSource(), ImportExcel::Colinfo(), ScXMLExport::collectAutoStyles(), ImportExcel::Columndefault(), ScSingleRefData::ColValid(), ScHeaderControl::Command(), CompareDocument(), ScChangeTrack::ConfigurationChanged(), XclImpColRowSettings::Convert(), XclImpColRowSettings::ConvertHiddenFlags(), convertToTokenArray(), ScTable::CopyFromClip(), ScTable::CopyOneCellFromClip(), CopyTab(), ScTable::CopyToTable(), ScTableSheetObj::createCursor(), ScXMLTableRowCellContext::createFastChildContext(), ScViewFunc::DataFormPutData(), ScTable::DBShowRow(), ScTable::DBShowRows(), ScVbaRange::Delete(), ScDocFunc::DeleteCells(), ScTable::DeleteCol(), DeleteCol(), ScViewFunc::DeleteMulti(), ScTable::DeleteRow(), DeleteTab(), ScDocFunc::DeleteTable(), DeleteTabs(), ScUndoDeleteMulti::DoChange(), ScUndoImportTab::DoChange(), ScUndoPaste::DoChange(), ScUndoPrintRange::DoChange(), ScUndoInsertCells::DoChange(), ScUndoDeleteCells::DoChange(), ScUndoFillTable::DoChange(), ScUndoDataForm::DoChange(), ScUndoUpdateAreaLink::DoChange(), ScUndoModifyStyle::DoChange(), ScUndoConversion::DoChange(), ScBroadcastAreaSlotMachine::DoChecks(), ScTabControl::DoDrag(), ScTabView::DoHSplit(), ScDBDocFunc::DoImport(), ScXMLTableRowCellContext::DoMerge(), ScDBFunc::DoSubTotals(), ScTable::DoSubTotals(), ScDBDocFunc::DoSubTotals(), ScGridWindow::DrawContent(), ScOutputData::DrawEdit(), ScGridWindow::DrawHiddenIndicator(), ScPrintFunc::DrawToDev(), ScGridWindow::DropScroll(), ScXMLTableColContext::endFastElement(), ScViewFunc::EnterMatrix(), ScCellShell::ExecuteEdit(), ScTabView::ExpandBlock(), ScTable::ExtendHidden(), ScAttrArray::ExtendMerge(), ScTable::ExtendPrintArea(), ScImportExport::ExtText2Doc(), ScTable::FillAutoSimple(), ScViewFunc::FillCrossDblClick(), ScAccessibleCell::FillDependents(), FillInfo(), XclImpPageSettings::Finalize(), oox::xls::PivotTableBuffer::finalizeImport(), ScTable::FindAreaPos(), ScOutputData::FindChanged(), ScTable::FindMaxRotCol(), ScTable::FindNextVisibleCol(), ScTable::FindNextVisibleColWithContent(), ScDetectiveFunc::FindSuccLevel(), ScRange::Format(), ScAccessibleSpreadsheet::getAccessibleRowHeaders(), ScDetectiveFunc::GetAllSuccs(), ScTabView::GetAreaMoveEndPosition(), ScCellShell::GetBlockState(), GetBorderLines(), ScTabView::GetChartInsertPos(), ScTableSheetObj::getColumnPageBreaks(), ScTable::GetCommonWidth(), ScAnnotationsObj::getCount(), ScMyTables::GetCurrentColCount(), GetDataStart(), ScVbaRange::getEntireColumnOrRow(), ScTable::GetLastChangedColFlagsWidth(), ScDataTransformationBaseControl::getLastCol(), ScGridWindow::GetListValButtonRect(), ScAccessiblePreviewHeaderCell::getMaximumValue(), ScAutoNameCache::GetNameOccurrences(), ScHorizontalAttrIterator::GetNext(), ScMyNotEmptyCellsIterator::GetNext(), GetNextDifferentChangedColFlagsWidth(), ScTable::GetNextMarkedCell(), ScTable::GetNextPos(), ScTable::GetNextSpellingCell(), GetNotePosition(), ScDrawLayer::GetObjectsAnchoredToRows(), ScViewData::GetPosFromPixel(), ScTable::GetPrintArea(), ScDrawLayer::GetPrintArea(), GetPrintArea(), ScTable::GetPrintAreaHor(), GetPrintAreaHor(), ScTableRowsObj::getPropertyValue(), GetRange(), XclObjAnchor::GetRect(), ScGridWindow::GetRectsAnyFor(), ScViewData::GetScrPos(), GetSearchAndReplaceStart(), ScTabView::getSheetGeometryData(), ScExternalRefManager::getSingleRefToken(), ScCellShell::GetState(), ScCompiler::HandleColRowName(), ScOutlineDocFunc::HideMarkedOutlines(), ScOutlineDocFunc::HideOutline(), ScViewFunc::HideTable(), IdleCalcTextWidth(), IMPL_LINK(), ScViewFunc::ImportTables(), ScRange::IncColIfNotLessThan(), ScRange::IncEndColSticky(), ScComplexRefData::IncEndColSticky(), ScCellIterator::init(), ScTabView::Init(), ScTabView::InitBlockMode(), ScHorizontalAttrIterator::InitForNextRow(), ScTableSheetObj::InitInsertSheet(), ScTableColumnsObj::insertByIndex(), ScTableRowsObj::insertByIndex(), ScDocFunc::InsertCells(), ScTable::InsertCol(), InsertCol(), InsertMatrixFormula(), ScDocFunc::InsertNameList(), ScDocFunc::InsertPageBreak(), ScTable::InsertRow(), ScDetectiveFunc::InsertSuccLevel(), InsertTab(), InsertTabs(), InvalidateTextWidth(), ScTable::IsEditActionAllowed(), ScRange::IsEndColSticky(), ScHeaderControl::IsSelectionAllowed(), ScAccessibleDocument::IsTableSelected(), ScBigAddress::IsValid(), ScDocumentImportImpl::isValid(), ScInterpreter::IterateParametersIf(), ScTable::LastHiddenColRow(), ScOutputData::LayoutStrings(), lcl_a1_get_col(), lcl_DrawScenarioFrames(), lcl_InvalidateReference(), lcl_MakeDropRange(), lcl_PaintAbove(), lcl_PaintOneRange(), lcl_PaintWidthHeight(), lcl_reduceBlock(), lcl_ScAddress_Parse_OOo(), lcl_ScRange_Parse_OOo(), lcl_ScRange_Parse_XL_A1(), lcl_ScRange_Parse_XL_R1C1(), lcl_WholeSheet(), LimitChartIfAll(), ScBigAddress::MakeAddress(), ScOutlineDocFunc::MakeOutline(), ScTabView::MakeVisible(), ScTabView::MarkCursor(), ScDetectiveFunc::MarkInvalid(), ScTabView::MarkRange(), ScTabView::MarkRows(), ScViewData::MaxCol(), MaxDocRange(), ScTable::MaybeAddExtraColumn(), ScDocFunc::MergeCells(), ScLabelRangeObj::Modify_Impl(), ScDBDocFunc::ModifyAllDBData(), ScViewFunc::ModifyCellSize(), ScHeaderControl::MouseButtonDown(), ScHeaderControl::MouseMove(), ScRange::Move(), ScAddress::Move(), ScDocFunc::MoveBlock(), ScTabView::MoveCursorAbs(), ScCompiler::MoveRelWrap(), ScRange::MoveSticky(), MoveTab(), ScViewFunc::MoveTable(), ScFormulaGroupIterator::next(), ScAccessibleSpreadsheet::Notify(), OP_Window1(), ScConsData::OutputToDocument(), ScGridWindow::Paint(), ScUndoDragDrop::PaintArea(), ScTabView::PaintMarks(), ScUndoUtil::PaintMore(), ScTabView::PaintRangeFinderEntry(), ScGridWindow::PaintTile(), ScTabView::PaintTopArea(), ScCompiler::ParseColRowName(), ScViewFunc::PasteFromClip(), ScClipUtil::PasteFromClipboard(), ScViewFunc::PasteFromClipToMultiRanges(), ScViewFunc::PasteMultiRangesFromClip(), ImportExcel::PostDocLoad(), ScDBDocFunc::Query(), ScEEImport::Read(), XclImpLabelranges::ReadLabelranges(), XclImpPivotCache::ReadPivotCacheStream(), ScUndoDeleteMulti::Redo(), ScUndoWidthOrHeight::Redo(), ScUndoAutoFormat::Redo(), ScUndoRefreshLink::Redo(), ScUndoRemoveBreaks::Redo(), ScUndoMakeOutline::Redo(), ScUndoImportData::Redo(), ScUndoImportTab::Redo(), ScAreaLink::Refresh(), ScTableLink::Refresh(), ScChangeActionDel::Reject(), ScTableSheetObj::removeAllManualPageBreaks(), ScOutlineDocFunc::RemoveAllOutlines(), ScLabelRangesObj::removeByIndex(), ScTableRowsObj::removeByIndex(), ScStyleFamilyObj::removeByName(), ScViewFunc::RemoveManualBreaks(), ScOutlineDocFunc::RemoveOutline(), ScDocFunc::RemovePageBreak(), ScViewFunc::RemoveStyleSheetInUse(), ScDBFunc::RepeatDB(), ScDBDocFunc::RepeatDB(), ScTable::ReplaceAllStyle(), ScGridWindow::RFMouseMove(), SanitizeCol(), ScChangeActionDel::ScChangeActionDel(), ScChangeActionIns::ScChangeActionIns(), ScInterpreter::ScColRowNameAuto(), ScDocument(), ScHorizontalValueIterator::ScHorizontalValueIterator(), ScInterpreter::ScLookup(), ScTabView::ScrollX(), ScTable::ScTable(), ScUndoDeleteCells::ScUndoDeleteCells(), ScUndoInsertCells::ScUndoInsertCells(), ScValueIterator::ScValueIterator(), ScTabView::SelectAll(), ScAccessibleSpreadsheet::selectAllAccessibleChildren(), ScOutlineDocFunc::SelectLevel(), ScAccessibleSpreadsheet::selectRow(), ScOrcusSheet::set_row_format(), ScStyleObj::setAllPropertiesToDefault(), ScTable::SetAttrEntries(), ScUndoDeleteMulti::SetChangeTrack(), ScUndoInsertTab::SetChangeTrack(), ScUndoInsertTables::SetChangeTrack(), ScUndoDeleteTab::SetChangeTrack(), ScColRowNameRangesDlg::SetColRowData(), ExcelToSc::SetComplCol(), ScTable::SetDirtyFromClip(), ScPositionHelper::setDocument(), ScTable::SetDrawPageSize(), ScColBar::SetEntrySize(), ScDocFunc::SetLayoutRTL(), ScViewData::SetMaxTiledCol(), ScXMLChangeTrackingImportHelper::SetNewCell(), ScStyleSheet::SetParent(), ScStyleObj::setParentStyle(), ScDocumentConfiguration::setPropertyValue(), ScTableRowsObj::setPropertyValue(), ScShapeObj::setPropertyValue(), ScStyleObj::setPropertyValue_Impl(), XclImpXFRangeBuffer::SetRowDefXF(), ScViewData::SetScreenPos(), ScDocFunc::SetTableVisible(), ScViewFunc::SetWidthOrHeight(), ScDocFunc::SetWidthOrHeight(), XclImpColRowSettings::SetWidthRange(), ScOutlineDocFunc::ShowMarkedOutlines(), ScOutlineDocFunc::ShowOutline(), ScTable::ShowRow(), ScTable::ShowRows(), ScViewFunc::ShowTable(), ScViewData::SimpleRowMarked(), ScTabView::SkipCursorHorizontal(), ScHTMLLayoutParser::SkipLocked(), ScDBDocFunc::Sort(), ScFormulaListener::startListening(), ScTable::StartListeningFormulaCells(), ScTable::StoreToCache(), ScImportExport::Sylk2Doc(), ScTable::SyncColRowFlags(), ScTable::TestInsertCol(), ScTable::TestInsertRow(), ScDBFunc::TestRemoveOutline(), TransferTab(), sc::DeleteRowTransformation::Transform(), sc::SwapRowsTransformation::Transform(), ScTable::TransposeColPatterns(), ScUndoDeleteMulti::Undo(), ScUndoWidthOrHeight::Undo(), ScUndoAutoFormat::Undo(), ScUndoReplace::Undo(), ScUndoUseScenario::Undo(), ScUndoRefreshLink::Undo(), ScUndoRemoveBreaks::Undo(), ScUndoDoOutline::Undo(), ScUndoMakeOutline::Undo(), ScUndoOutlineLevel::Undo(), ScUndoOutlineBlock::Undo(), ScUndoRemoveAllOutlines::Undo(), ScUndoAutoOutline::Undo(), ScUndoSubTotals::Undo(), ScUndoQuery::Undo(), ScUndoImportData::Undo(), ScUndoRepeatDB::Undo(), ScUndoConsolidate::Undo(), ScUndoDeleteTab::Undo(), ScUndoMakeScenario::Undo(), ScUndoImportTab::Undo(), ScMoveUndo::UndoRef(), UndoToDocument(), ScTable::UndoToTable(), ScAccessibleSpreadsheet::unselectRow(), ScRefUpdate::Update(), ScChartListenerCollection::UpdateChartsContainingTab(), ScTable::UpdateDeleteTab(), ScGridWindow::UpdateFormulas(), ScTable::UpdateInsertTab(), ScTable::UpdateMoveTab(), ScTable::UpdatePageBreaks(), ScPrintFunc::UpdatePages(), ScTable::UpdateReference(), ScTabView::UpdateScrollBars(), ScTable::UpdateSelectionFunction(), ScViewFunc::UpdateStyleSheetInUse(), ScGridWindow::UpdateVisibleRange(), ValidAddress(), ValidColRow(), ValidColRowTab(), ValidRange(), ScRTFExport::WriteTab(), and sc::ScDBDataManager::WriteToDoc().

◆ MaxColAsString()

SC_DLLPUBLIC OUString ScDocument::MaxColAsString ( ) const
inline

Definition at line 897 of file document.hxx.

References mxSheetLimits.

◆ MaxRow()

SC_DLLPUBLIC SCROW ScDocument::MaxRow ( ) const
inline

Definition at line 893 of file document.hxx.

References mxSheetLimits.

Referenced by ScGridWindow::AcceptDrop(), ScGridWindow::AcceptPrivateDrop(), ScXMLTableRowCellContext::AddFormulaCell(), ScLabelRangesObj::addNew(), ScXMLTableRowCellContext::AddNonFormulaCell(), ScXMLTableRowCellContext::AddTextAndValueCell(), ScViewFunc::AdjustBlockHeight(), ScColRowNameRangesDlg::AdjustColRowData(), ScBlockUndo::AdjustHeight(), ScPrintFunc::AdjustPrintArea(), ScDocFunc::AdjustRowHeight(), ScViewFunc::AdjustRowHeight(), ScCompiler::AdjustSumRangeShape(), ScTabView::AlignToCursor(), ScRangeListTabs::Append(), ScChangeTrack::AppendContentsIfInRefDoc(), ScChangeTrack::AppendDeleteRange(), ScChangeTrack::AppendOneDeleteRange(), ScDocFunc::AutoFormat(), ScDBFunc::AutoOutline(), ScOutlineDocFunc::AutoOutline(), ScViewFunc::AutoSum(), ScAccessibleSpreadsheet::CalcScAddressFromRangeList(), ScDPOutput::CalcSizes(), ScFunctionAccess::callFunction(), CanFitBlock(), ScViewData::CellsAtY(), ClosingClipboardSource(), ScXMLExport::collectAutoStyles(), ScHeaderControl::Command(), CompareDocument(), ScChangeTrack::ConfigurationChanged(), XclImpColRowSettings::Convert(), XclImpColRowSettings::ConvertHiddenFlags(), convertToTokenArray(), ScAttrArray::CopyArea(), ScAttrArray::CopyAreaSafe(), ScTable::CopyFromClip(), CopyTab(), ScTable::CopyToTable(), ScTableSheetObj::createCursor(), ScXMLTableRowCellContext::createFastChildContext(), ScViewFunc::DataFormPutData(), ScTable::DeleteArea(), ScDocFunc::DeleteCells(), ScTable::DeleteCol(), ScViewFunc::DeleteMulti(), DeleteRow(), ScAttrArray::DeleteRow(), DeleteTab(), ScDocFunc::DeleteTable(), DeleteTabs(), ScTable::DoAutoOutline(), ScUndoDeleteMulti::DoChange(), ScUndoImportTab::DoChange(), ScUndoPaste::DoChange(), ScUndoPrintRange::DoChange(), ScUndoInsertCells::DoChange(), ScUndoDeleteCells::DoChange(), ScUndoFillTable::DoChange(), ScUndoDataForm::DoChange(), ScUndoUpdateAreaLink::DoChange(), ScUndoModifyStyle::DoChange(), ScUndoConversion::DoChange(), ScBroadcastAreaSlotMachine::DoChecks(), ScTabControl::DoDrag(), ScDBDocFunc::DoImport(), ScXMLTableRowCellContext::DoMerge(), ScGridWindow::DoScenarioMenu(), ScDBFunc::DoSubTotals(), ScTable::DoSubTotals(), ScDBDocFunc::DoSubTotals(), ScTabView::DoVSplit(), ScGridWindow::DrawContent(), ScOutputData::DrawGrid(), ScGridWindow::DrawHiddenIndicator(), ScPrintFunc::DrawToDev(), ScGridWindow::DropScroll(), ScXMLTableRowContext::endFastElement(), ScViewFunc::EnterMatrix(), ExcelToSc8::ExcRelToScRel8(), ScTabViewShell::Execute(), ScCellShell::ExecuteEdit(), ScTabView::ExpandBlock(), ScDBData::ExtendDataArea(), ScTable::ExtendHidden(), ScAttrArray::ExtendMerge(), ExtendOverlapped(), ScImportExport::ExtText2Doc(), ScCellRangeObj::fillAuto(), ScTable::FillAutoSimple(), ScConditionEntry::FillCache(), ScViewFunc::FillCrossDblClick(), ScAccessibleCell::FillDependents(), FillInfo(), XclImpPageSettings::Finalize(), XclImpXFRangeBuffer::Finalize(), oox::xls::PivotTableBuffer::finalizeImport(), oox::xls::SheetDataBuffer::finalizeImport(), ScTable::FindAreaPos(), ScOutputData::FindChanged(), ScConversionEngineBase::FindNextConversionCell(), ScHorizontalCellIterator::FindNextNonEmptyRow(), ScColumn::FindNextVisibleRow(), ScColumn::FindNextVisibleRowWithContent(), ScDetectiveFunc::FindSuccLevel(), ScViewUtil::FitToUnfilteredRows(), ScRange::Format(), ScAccessibleSpreadsheet::getAccessibleColumnHeaders(), ScDetectiveFunc::GetAllSuccs(), ScTabView::GetAreaMoveEndPosition(), ScCellShell::GetBlockState(), GetBorderLines(), ScTabView::GetChartInsertPos(), sc::ColumnSpanSet::getColumn(), ScTable::GetDataArea(), ScTable::GetDataStart(), GetDataStart(), ScVbaRange::getEntireColumnOrRow(), ScTable::GetFirstDataPos(), ScTable::GetFirstEditTextRow(), ScColumn::GetLastDataPos(), ScTable::GetLastDataPos(), ScDataTransformationBaseControl::getLastRow(), sc::DataTransformation::getLastRow(), ScAttrArray::GetLastVisibleAttr(), ScAccessiblePreviewHeaderCell::getMaximumValue(), ScAutoNameCache::GetNameOccurrences(), ScMyNotEmptyCellsIterator::GetNext(), GetNextDifferentChangedRowFlagsWidth(), ScTable::GetNextMarkedCell(), ScTable::GetNextPos(), ScTable::GetNextSpellingCell(), ScColumn::GetNextSpellingCell(), ScAttrArray::GetNextUnprotected(), ScDrawLayer::GetObjectsAnchoredToCols(), ScAttrArray::GetPatternRange(), ScViewData::GetPosFromPixel(), ScTable::GetPrintArea(), ScDrawLayer::GetPrintArea(), GetPrintArea(), GetPrintAreaVer(), GetRange(), XclObjAnchor::GetRect(), ScGridWindow::GetRectsAnyFor(), ScTable::GetRowForHeight(), ScViewData::GetScrPos(), GetSearchAndReplaceStart(), ScExternalRefManager::getSingleRefToken(), ScCellShell::GetState(), ScTable::GetUnprotectedCells(), ScColorFormat::getValues(), ScCompiler::HandleColRowName(), HasAttrib(), ScAttrArray::HasAttrib(), ScDrawLayer::HasObjectsInRows(), HasSelectionData(), ScOutlineDocFunc::HideMarkedOutlines(), ScOutlineDocFunc::HideOutline(), ScViewFunc::HideTable(), IdleCalcTextWidth(), IMPL_LINK(), ScViewFunc::ImportTables(), ScRange::IncEndRowSticky(), ScComplexRefData::IncEndRowSticky(), ScRange::IncRowIfNotLessThan(), ScCellIterator::init(), ScTabView::Init(), sc::DataStreamDlg::Init(), ScHorizontalAttrIterator::InitForNextRow(), ScTableSheetObj::InitInsertSheet(), ScFourierAnalysisDialog::InputRangesValid(), ScTableColumnsObj::insertByIndex(), ScTableRowsObj::insertByIndex(), ScDocFunc::InsertCells(), ScTable::InsertCol(), InsertMatrixFormula(), ScDocFunc::InsertPageBreak(), InsertRow(), ScAttrArray::InsertRow(), ScDetectiveFunc::InsertSuccLevel(), InsertTab(), InsertTabs(), ScTable::InvalidateTextWidth(), InvalidateTextWidth(), ScTable::IsEditActionAllowed(), ScRange::IsEndRowSticky(), ScHeaderControl::IsSelectionAllowed(), ScAccessibleDocument::IsTableSelected(), ScBigAddress::IsValid(), ScInterpreter::IterateParametersIf(), lcl_a1_get_row(), lcl_DrawScenarioFrames(), lcl_GetInputType(), lcl_GetSortParam(), lcl_InvalidateReference(), lcl_MakeDropRange(), lcl_PaintOneRange(), lcl_PaintWidthHeight(), lcl_ParseTarget(), lcl_reduceBlock(), lcl_ScAddress_Parse_OOo(), lcl_ScRange_Parse_OOo(), lcl_ScRange_Parse_XL_A1(), lcl_ScRange_Parse_XL_R1C1(), lcl_WholeSheet(), LimitChartIfAll(), ScBigAddress::MakeAddress(), ScOutlineDocFunc::MakeOutline(), ScTabView::MakeVisible(), ScTabView::MarkColumns(), ScTabView::MarkCursor(), ScDetectiveFunc::MarkInvalid(), ScTabView::MarkRange(), MaxDocRange(), ScViewData::MaxRow(), ScAttrArray::MergePatternArea(), ScLabelRangeObj::Modify_Impl(), ScDBDocFunc::ModifyAllDBData(), ScViewFunc::ModifyCellSize(), ScModule::ModifyOptions(), ScHeaderControl::MouseButtonDown(), ScHeaderControl::MouseMove(), ScRange::Move(), ScAddress::Move(), ScDocFunc::MoveBlock(), ScTabView::MoveCursorAbs(), ScCompiler::MoveRelWrap(), ScRange::MoveSticky(), MoveTab(), ScViewFunc::MoveTable(), ScAttrIterator::Next(), ScAccessibleSpreadsheet::Notify(), ScGridWindow::Paint(), ScTabView::PaintArea(), ScUndoDragDrop::PaintArea(), ScTabView::PaintLeftArea(), ScUndoUtil::PaintMore(), ScTabView::PaintRangeFinderEntry(), ScCompiler::ParseColRowName(), ScViewFunc::PasteFromClip(), ScClipUtil::PasteFromClipboard(), ScViewFunc::PasteMultiRangesFromClip(), ScViewFunc::PasteRTF(), ImportExcel::PostDocLoad(), ScDBDocFunc::Query(), ScEEImport::Read(), XclImpLabelranges::ReadLabelranges(), XclImpPivotCache::ReadPivotCacheStream(), ScUndoDeleteMulti::Redo(), ScUndoWidthOrHeight::Redo(), ScUndoAutoFormat::Redo(), ScUndoRefreshLink::Redo(), ScUndoRemoveBreaks::Redo(), ScUndoMakeOutline::Redo(), ScUndoImportData::Redo(), ScUndoImportTab::Redo(), ScAreaLink::Refresh(), ScTableLink::Refresh(), ScTableSheetObj::removeAllManualPageBreaks(), ScOutlineDocFunc::RemoveAllOutlines(), ScAttrArray::RemoveAreaMerge(), ScLabelRangesObj::removeByIndex(), ScTableColumnsObj::removeByIndex(), ScStyleFamilyObj::removeByName(), ScViewFunc::RemoveManualBreaks(), ScOutlineDocFunc::RemoveOutline(), ScDocFunc::RemovePageBreak(), ScViewFunc::RemoveStyleSheetInUse(), ScDBFunc::RepeatDB(), ScDBDocFunc::RepeatDB(), ScTable::ReplaceAllStyle(), ScAttrArray::Reserve(), ScAttrArray::Reset(), ScGridWindow::RFMouseMove(), ScSingleRefData::RowValid(), SanitizeRow(), ScAttrArray_IterGetNumberFormat(), ScChangeActionDel::ScChangeActionDel(), ScChangeActionIns::ScChangeActionIns(), ScInterpreter::ScColRowNameAuto(), ScHorizontalValueIterator::ScHorizontalValueIterator(), ScInterpreter::ScLookup(), ScTabView::ScrollY(), ScTable::ScTable(), ScUndoDeleteCells::ScUndoDeleteCells(), ScUndoInsertCells::ScUndoInsertCells(), ScValueIterator::ScValueIterator(), ScTable::Search(), ScTable::SearchAllStyle(), ScTable::SearchRangeForEmptyCell(), ScTable::SearchStyle(), ScAttrArray::SearchStyle(), ScAttrArray::SearchStyleRange(), ScTabView::SelectAll(), ScAccessibleSpreadsheet::selectAllAccessibleChildren(), ScAccessibleSpreadsheet::selectColumn(), ScOutlineDocFunc::SelectLevel(), ScOrcusSheet::set_column_format(), ScStyleObj::setAllPropertiesToDefault(), ScUndoDeleteMulti::SetChangeTrack(), ScUndoInsertTab::SetChangeTrack(), ScUndoInsertTables::SetChangeTrack(), ScUndoDeleteTab::SetChangeTrack(), ScColRowNameRangesDlg::SetColRowData(), ExcelToSc::SetComplRow(), ScAttrArray::SetDefaultIfNotInit(), XclImpXFRangeColumn::SetDefaultXF(), ScTable::SetDirtyFromClip(), ScTable::SetDrawPageSize(), ScRowBar::SetEntrySize(), ScDocFunc::SetFormulaCells(), ScDocFunc::SetLayoutRTL(), ScXMLChangeTrackingImportHelper::SetNewCell(), ScStyleSheet::SetParent(), ScStyleObj::setParentStyle(), ScAttrArray::SetPatternAreaImpl(), ScDocumentConfiguration::setPropertyValue(), ScShapeObj::setPropertyValue(), ScStyleObj::setPropertyValue_Impl(), ScViewData::SetScreenPos(), ScDocFunc::SetTableVisible(), ScDocFunc::SetValueCells(), ScViewFunc::SetWidthOrHeight(), ScDocFunc::SetWidthOrHeight(), ScTable::ShowCol(), ScOutlineDocFunc::ShowMarkedOutlines(), ScOutlineDocFunc::ShowOutline(), ScViewFunc::ShowTable(), ScTable::ShrinkToUsedDataArea(), ScViewData::SimpleColMarked(), ScTabView::SkipCursorVertical(), ScTable::SkipRow(), ScTable::SortReorderByColumn(), ScFormulaListener::startListening(), ScTable::StartListeningFormulaCells(), ScTable::StoreToCache(), ScTable::StyleSheetChanged(), ScTable::SyncColRowFlags(), ImportExcel::TableOp(), ScTable::TestInsertCol(), ScColumn::TestInsertRow(), ScAttrArray::TestInsertRow(), ScDBFunc::TestRemoveOutline(), TransferTab(), sc::ColumnRemoveTransformation::Transform(), sc::SplitColumnTransformation::Transform(), sc::MergeColumnTransformation::Transform(), ScTable::TransposeColPatterns(), ScUndoDeleteCells::Undo(), ScUndoDeleteMulti::Undo(), ScUndoWidthOrHeight::Undo(), ScUndoAutoFormat::Undo(), ScUndoReplace::Undo(), ScUndoUseScenario::Undo(), ScUndoRefreshLink::Undo(), ScUndoRemoveBreaks::Undo(), ScUndoDoOutline::Undo(), ScUndoMakeOutline::Undo(), ScUndoOutlineLevel::Undo(), ScUndoOutlineBlock::Undo(), ScUndoRemoveAllOutlines::Undo(), ScUndoAutoOutline::Undo(), ScUndoSubTotals::Undo(), ScUndoQuery::Undo(), ScUndoImportData::Undo(), ScUndoRepeatDB::Undo(), ScUndoConsolidate::Undo(), ScUndoDeleteTab::Undo(), ScUndoMakeScenario::Undo(), ScUndoImportTab::Undo(), ScMoveUndo::UndoRef(), UndoToDocument(), ScTable::UndoToTable(), ScAccessibleSpreadsheet::unselectColumn(), sc::SharedFormulaUtil::unshareFormulaCells(), ScDocRowHeightUpdater::update(), ScRefUpdate::Update(), ScDocRowHeightUpdater::updateAll(), UpdateAllRowHeights(), ScChartListenerCollection::UpdateChartsContainingTab(), ScTable::UpdateDeleteTab(), ScGridWindow::UpdateFormulas(), ScTabView::UpdateHeaderWidth(), ScTable::UpdateInsertTab(), ScTable::UpdateMoveTab(), ScTable::UpdatePageBreaks(), ScPrintFunc::UpdatePages(), ScTable::UpdateReference(), ScTabView::UpdateScrollBars(), ScViewFunc::UpdateStyleSheetInUse(), ScGridWindow::UpdateVisibleRange(), ValidAddress(), ValidColRow(), ValidColRowTab(), ValidRange(), AddressWalkerWriter::writeFormulas(), sc::ScDBDataManager::WriteToDoc(), and ScEEImport::WriteToDocument().

◆ MaxRowAsString()

SC_DLLPUBLIC OUString ScDocument::MaxRowAsString ( ) const
inline

Definition at line 896 of file document.hxx.

References mxSheetLimits.

◆ MergeContextBackIntoNonThreadedContext()

void ScDocument::MergeContextBackIntoNonThreadedContext ( ScInterpreterContext threadedContext,
int  threadNumber 
)

◆ MergeNumberFormatter()

void ScDocument::MergeNumberFormatter ( const ScDocument rSrcDoc)
private

◆ MixDocument()

void ScDocument::MixDocument ( const ScRange rRange,
ScPasteFunc  nFunction,
bool  bSkipEmpty,
ScDocument rSrcDoc 
)

◆ ModifyStyleSheet()

void ScDocument::ModifyStyleSheet ( SfxStyleSheetBase rPageStyle,
const SfxItemSet rChanges 
)

◆ MoveTab()

bool ScDocument::MoveTab ( SCTAB  nOldPos,
SCTAB  nNewPos,
ScProgress pProgress = nullptr 
)

◆ NeedPageResetAfterTab()

bool ScDocument::NeedPageResetAfterTab ( SCTAB  nTab) const

◆ PageStyleModified()

void ScDocument::PageStyleModified ( SCTAB  nTab,
const OUString &  rNewName 
)

Definition at line 6164 of file document.cxx.

References FetchTable().

◆ PastingDrawFromOtherDoc()

bool ScDocument::PastingDrawFromOtherDoc ( ) const
inline

◆ PrepareFormulaCalc()

void ScDocument::PrepareFormulaCalc ( )

Call this before any operations that might trigger one or more formula cells to get calculated.

Definition at line 2458 of file document.cxx.

References CORE, and mpFormulaGroupCxt.

Referenced by BroadcastCells(), CalcAll(), ScGridWindow::Draw(), InterpretDirtyCells(), ScGridWindow::PaintTile(), and ScDocShellModificator::SetDocumentModified().

◆ PrepareQuery()

void ScDocument::PrepareQuery ( SCTAB  nTab,
ScQueryParam rQueryParam 
)

Definition at line 1458 of file documen3.cxx.

References FetchTable().

Referenced by ScXMLDatabaseRangeContext::ConvertToDBData().

◆ PreprocessAllRangeNamesUpdate()

void ScDocument::PreprocessAllRangeNamesUpdate ( const std::map< OUString, ScRangeName > &  rRangeMap)

Call this immediately before updating all named ranges.

Definition at line 251 of file document10.cxx.

References ScRangeName::findByIndex(), ScRangeData::GetIndex(), ScRangeData::GetName(), GetRangeNameMap(), maTabs, p, and ScRangeData::SetNewName().

Referenced by ScUndoAllRangeNames::DoChange(), and ScDocFunc::ModifyAllRangeNames().

◆ PreprocessDBDataUpdate()

void ScDocument::PreprocessDBDataUpdate ( )

◆ PreprocessRangeNameUpdate()

void ScDocument::PreprocessRangeNameUpdate ( )

◆ PutInFormulaTree()

void ScDocument::PutInFormulaTree ( ScFormulaCell pCell)

◆ Query()

SCSIZE ScDocument::Query ( SCTAB  nTab,
const ScQueryParam rQueryParam,
bool  bKeepSub 
)

Definition at line 1468 of file documen3.cxx.

References FetchTable().

Referenced by ScDBDocFunc::Query().

◆ QueryColumnsWithFormulaCells()

std::set< SCCOL > ScDocument::QueryColumnsWithFormulaCells ( SCTAB  nTab) const

Definition at line 1088 of file document10.cxx.

References FetchTable(), and ScTable::QueryColumnsWithFormulaCells().

◆ RefreshAutoFilter()

bool ScDocument::RefreshAutoFilter ( SCCOL  nStartCol,
SCROW  nStartRow,
SCCOL  nEndCol,
SCROW  nEndRow,
SCTAB  nTab 
)

◆ RefreshDirtyTableColumnNames()

void ScDocument::RefreshDirtyTableColumnNames ( )

Definition at line 354 of file documen3.cxx.

References pDBCollection.

◆ RegroupFormulaCells() [1/2]

void ScDocument::RegroupFormulaCells ( const ScRange range)

◆ RegroupFormulaCells() [2/2]

void ScDocument::RegroupFormulaCells ( SCTAB  nTab,
SCCOL  nCol 
)

◆ ReleaseNote()

std::unique_ptr< ScPostIt > ScDocument::ReleaseNote ( const ScAddress rPos)

◆ RemoveColBreak()

void ScDocument::RemoveColBreak ( SCCOL  nCol,
SCTAB  nTab,
bool  bPage,
bool  bManual 
)

Definition at line 4402 of file document.cxx.

References FetchTable(), and ValidCol().

Referenced by ScDocFunc::RemovePageBreak().

◆ RemoveCondFormatData()

void ScDocument::RemoveCondFormatData ( const ScRangeList rRange,
SCTAB  nTab,
sal_uInt32  nIndex 
)

Definition at line 4796 of file document.cxx.

References FetchTable(), and nIndex.

Referenced by ScDocFunc::ReplaceConditionalFormat().

◆ RemoveEditTextCharAttribs()

void ScDocument::RemoveEditTextCharAttribs ( const ScAddress rPos,
const ScPatternAttr rAttr 
)

◆ RemoveFlagsTab()

bool ScDocument::RemoveFlagsTab ( SCCOL  nStartCol,
SCROW  nStartRow,
SCCOL  nEndCol,
SCROW  nEndRow,
SCTAB  nTab,
ScMF  nFlags 
)

◆ RemoveFromFormulaTrack()

void ScDocument::RemoveFromFormulaTrack ( ScFormulaCell pCell)

◆ RemoveFromFormulaTree()

void ScDocument::RemoveFromFormulaTree ( ScFormulaCell pCell)

◆ RemoveLookupCache()

void ScDocument::RemoveLookupCache ( ScLookupCache rCache)

◆ RemoveManualBreaks()

void ScDocument::RemoveManualBreaks ( SCTAB  nTab)

◆ RemoveMerge()

void ScDocument::RemoveMerge ( SCCOL  nCol,
SCROW  nRow,
SCTAB  nTab 
)

◆ RemovePageStyleInUse()

bool ScDocument::RemovePageStyleInUse ( std::u16string_view  rStrPageStyle)

◆ RemoveRowBreak()

void ScDocument::RemoveRowBreak ( SCROW  nRow,
SCTAB  nTab,
bool  bPage,
bool  bManual 
)

Definition at line 4396 of file document.cxx.

References FetchTable(), and ValidRow().

Referenced by ScDocFunc::RemovePageBreak().

◆ RemoveSortedRangeCache()

void ScDocument::RemoveSortedRangeCache ( ScSortedRangeCache rCache)

◆ RemoveSubTotalCell()

void ScDocument::RemoveSubTotalCell ( ScFormulaCell pCell)

Definition at line 6391 of file document.cxx.

References maSubTotalCells.

Referenced by ScFormulaCell::~ScFormulaCell().

◆ RemoveSubTotals()

void ScDocument::RemoveSubTotals ( SCTAB  nTab,
ScSubTotalParam rParam 
)

Definition at line 773 of file documen3.cxx.

References FetchTable().

Referenced by ScDBFunc::DoSubTotals(), and ScDBDocFunc::DoSubTotals().

◆ RemoveUnoObject()

void ScDocument::RemoveUnoObject ( SfxListener rObject)

Definition at line 909 of file documen3.cxx.

References bInUnoBroadcast, SfxListener::EndListening(), vcl::SolarMutexTryAndBuyGuard::isAcquired(), and pUnoBroadcaster.

Referenced by ScTabViewShell::RemoveAccessibilityObject(), sc::PivotTableDataProvider::~PivotTableDataProvider(), sc::PivotTableDataSequence::~PivotTableDataSequence(), ScAccessibleHeaderTextData::~ScAccessibleHeaderTextData(), ScAccessibleNoteTextData::~ScAccessibleNoteTextData(), ScAddressConversionObj::~ScAddressConversionObj(), ScAnnotationEditSource::~ScAnnotationEditSource(), ScAnnotationObj::~ScAnnotationObj(), ScAnnotationsObj::~ScAnnotationsObj(), ScAreaLinkObj::~ScAreaLinkObj(), ScAreaLinksObj::~ScAreaLinksObj(), ScCellFieldsObj::~ScCellFieldsObj(), ScCellFormatsEnumeration::~ScCellFormatsEnumeration(), ScCellFormatsObj::~ScCellFormatsObj(), ScCellsEnumeration::~ScCellsEnumeration(), ScCellsObj::~ScCellsObj(), ScCellTextData::~ScCellTextData(), ScChart2DataProvider::~ScChart2DataProvider(), ScChart2DataSequence::~ScChart2DataSequence(), ScChart2DataSource::~ScChart2DataSource(), ScChartObj::~ScChartObj(), ScChartsObj::~ScChartsObj(), ScCondFormatsObj::~ScCondFormatsObj(), ScDatabaseRangeObj::~ScDatabaseRangeObj(), ScDatabaseRangesObj::~ScDatabaseRangesObj(), ScDataPilotDescriptorBase::~ScDataPilotDescriptorBase(), ScDataPilotTablesObj::~ScDataPilotTablesObj(), ScDDELinkObj::~ScDDELinkObj(), ScDDELinksObj::~ScDDELinksObj(), ScDocDefaultsObj::~ScDocDefaultsObj(), ScDocumentConfiguration::~ScDocumentConfiguration(), ScDrawDefaultsObj::~ScDrawDefaultsObj(), ScDrawPagesObj::~ScDrawPagesObj(), ScFilterDescriptorBase::~ScFilterDescriptorBase(), ScForbiddenCharsObj::~ScForbiddenCharsObj(), ScFormulaParserObj::~ScFormulaParserObj(), ScLabelRangeObj::~ScLabelRangeObj(), ScLabelRangesObj::~ScLabelRangesObj(), ScLinkTargetTypeObj::~ScLinkTargetTypeObj(), ScLinkTargetTypesObj::~ScLinkTargetTypesObj(), ScModelObj::~ScModelObj(), ScNamedRangeObj::~ScNamedRangeObj(), ScNamedRangesObj::~ScNamedRangesObj(), ScScenariosObj::~ScScenariosObj(), ScSheetEventsObj::~ScSheetEventsObj(), ScSheetLinkObj::~ScSheetLinkObj(), ScSheetLinksObj::~ScSheetLinksObj(), ScStyleFamiliesObj::~ScStyleFamiliesObj(), ScStyleFamilyObj::~ScStyleFamilyObj(), ScStyleObj::~ScStyleObj(), ScTableColumnsObj::~ScTableColumnsObj(), ScTableRowsObj::~ScTableRowsObj(), ScTableSheetsObj::~ScTableSheetsObj(), ScUniqueCellFormatsEnumeration::~ScUniqueCellFormatsEnumeration(), ScUniqueCellFormatsObj::~ScUniqueCellFormatsObj(), ScUnnamedDatabaseRangesObj::~ScUnnamedDatabaseRangesObj(), sc::TablePivotChart::~TablePivotChart(), and sc::TablePivotCharts::~TablePivotCharts().

◆ RenamePageStyleInUse()

bool ScDocument::RenamePageStyleInUse ( std::u16string_view  rOld,
const OUString &  rNew 
)

Definition at line 340 of file documen8.cxx.

References GetPageStyle(), GetTableCount(), i, maTabs, and nCount.

Referenced by ScUndoModifyStyle::DoChange(), and ScTabViewShell::ExecStyle().

◆ RenameTab()

bool ScDocument::RenameTab ( SCTAB  nTab,
const OUString &  rName,
bool  bExternalDocument = false 
)

◆ Reorder()

void ScDocument::Reorder ( const sc::ReorderParam rParam)

◆ RepaintRange() [1/2]

void ScDocument::RepaintRange ( const ScRange rRange)

◆ RepaintRange() [2/2]

void ScDocument::RepaintRange ( const ScRangeList rRange)

◆ ReplaceStyle()

void ScDocument::ReplaceStyle ( const SvxSearchItem rSearchItem,
SCCOL  nCol,
SCROW  nRow,
SCTAB  nTab,
const ScMarkData rMark 
)

Definition at line 546 of file documen4.cxx.

References FetchTable().

Referenced by ScUndoReplace::Redo(), and ScUndoReplace::Undo().

◆ ReservePatternCount()

void ScDocument::ReservePatternCount ( SCTAB  nTab,
SCCOL  nCol,
SCSIZE  nReserve 
)
private

Definition at line 2118 of file documen3.cxx.

References FetchTable().

Referenced by CopyFromClip().

◆ ResetCalcNotifications()

void ScDocument::ResetCalcNotifications ( )

Definition at line 729 of file documen3.cxx.

References GetTableCount(), and maTabs.

Referenced by ScModelObj::HandleCalculateEvents().

◆ ResetChanged()

void ScDocument::ResetChanged ( const ScRange rRange)

◆ ResetClip() [1/2]

void ScDocument::ResetClip ( ScDocument pSourceDoc,
const ScMarkData pMarks 
)

◆ ResetClip() [2/2]

void ScDocument::ResetClip ( ScDocument pSourceDoc,
SCTAB  nTab 
)

Definition at line 558 of file documen2.cxx.

References bIsClip, GetTableCount(), InitClipPtrs(), maTabs, and ScTable.

◆ ResetEmbedded()

void ScDocument::ResetEmbedded ( )

◆ ResolveStaticReference() [1/2]

formula::FormulaTokenRef ScDocument::ResolveStaticReference ( const ScAddress rPos)

◆ ResolveStaticReference() [2/2]

formula::FormulaTokenRef ScDocument::ResolveStaticReference ( const ScRange rRange)

◆ RestoreChartListener()

void ScDocument::RestoreChartListener ( const OUString &  rName)

◆ RestorePrintRanges()

void ScDocument::RestorePrintRanges ( const ScPrintRangeSaver rSaver)

◆ RestoreTabFromCache()

void ScDocument::RestoreTabFromCache ( SCTAB  nTab,
SvStream rStream 
)

Definition at line 1035 of file document10.cxx.

References FetchTable(), ScTable::RestoreFromCache(), and rStrm.

◆ RoundValueAsShown()

double ScDocument::RoundValueAsShown ( double  fVal,
sal_uInt32  nFormat,
const ScInterpreterContext pContext = nullptr 
) const

◆ RowDifferences()

sal_uInt16 ScDocument::RowDifferences ( SCROW  nThisRow,
SCTAB  nThisTab,
ScDocument rOtherDoc,
SCROW  nOtherRow,
SCTAB  nOtherTab,
SCCOL  nMaxCol,
const SCCOLROW pOtherCols 
)
private

◆ RowFiltered()

bool ScDocument::RowFiltered ( SCROW  nRow,
SCTAB  nTab,
SCROW pFirstRow = nullptr,
SCROW pLastRow = nullptr 
) const

◆ RowHidden()

bool ScDocument::RowHidden ( SCROW  nRow,
SCTAB  nTab,
SCROW pFirstRow = nullptr,
SCROW pLastRow = nullptr 
) const

◆ SanitizeCol()

SCCOL ScDocument::SanitizeCol ( SCCOL  nCol) const
inline

◆ SanitizeRow()

SCROW ScDocument::SanitizeRow ( SCROW  nRow) const
inline

◆ SaveDdeLinks()

void ScDocument::SaveDdeLinks ( SvStream rStream) const
private

◆ SearchAndReplace()

bool ScDocument::SearchAndReplace ( const SvxSearchItem rSearchItem,
SCCOL rCol,
SCROW rRow,
SCTAB rTab,
const ScMarkData rMark,
ScRangeList rMatchedRanges,
OUString &  rUndoStr,
ScDocument pUndoDoc,
bool &  bMatchedRangesWereClamped 
)

◆ SearchSparklineGroup()

std::shared_ptr< sc::SparklineGroup > ScDocument::SearchSparklineGroup ( tools::Guid const &  rGuid)

Definition at line 6566 of file document.cxx.

References maTabs.

Referenced by ScColumn::duplicateSparkline().

◆ SetActiveScenario()

void ScDocument::SetActiveScenario ( SCTAB  nTab,
bool  bActive 
)

◆ SetAllFormulasDirty()

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

◆ SetAllRangeNames()

void ScDocument::SetAllRangeNames ( const std::map< OUString, ScRangeName > &  rRangeMap)

◆ SetAnonymousDBData() [1/2]

void ScDocument::SetAnonymousDBData ( SCTAB  nTab,
std::unique_ptr< ScDBData pDBData 
)

◆ SetAnonymousDBData() [2/2]

void ScDocument::SetAnonymousDBData ( std::unique_ptr< ScDBData pDBData)

One document global anonymous database range for temporary operations, used if the corresponding sheet-local anonymous database range is already used with AutoFilter and range differs.

Not stored in document files.

Definition at line 308 of file document.cxx.

References mpAnonymousDBData.

◆ SetAsianCompression()

void ScDocument::SetAsianCompression ( CharCompressType  nNew)

Definition at line 631 of file documen9.cxx.

References mpDrawLayer, mpEditEngine, and nAsianCompression.

Referenced by ScDocumentConfiguration::setPropertyValue().

◆ SetAsianKerning()

void ScDocument::SetAsianKerning ( bool  bNew)

Definition at line 653 of file documen9.cxx.

References mpDrawLayer, mpEditEngine, and nAsianKerning.

Referenced by ScDocumentConfiguration::setPropertyValue().

◆ SetAutoCalc()

void ScDocument::SetAutoCalc ( bool  bNewAutoCalc)

◆ SetAutoCalcShellDisabled()

void ScDocument::SetAutoCalcShellDisabled ( bool  bNew)
inline

◆ SetAutoNameCache()

void ScDocument::SetAutoNameCache ( std::unique_ptr< ScAutoNameCache pCache)

Definition at line 6886 of file document.cxx.

References pAutoNameCache.

Referenced by oox::xls::FormulaBuffer::finalizeImport().

◆ SetCalcConfig()

void ScDocument::SetCalcConfig ( const ScCalcConfig rConfig)

◆ SetCalcNotification()

void ScDocument::SetCalcNotification ( SCTAB  nTab)

Definition at line 722 of file documen3.cxx.

References FetchTable(), and ScTable::GetCalcNotification().

Referenced by TrackFormulas().

◆ SetChangeTrack()

void ScDocument::SetChangeTrack ( std::unique_ptr< ScChangeTrack pTrack)

only for import filter, deletes any existing ChangeTrack via EndChangeTracking() and takes ownership of new ChangeTrack pTrack

Definition at line 294 of file documen2.cxx.

References EndChangeTracking(), and pChangeTrack.

Referenced by XclImpChangeTrack::Apply(), ScChangeTrack::Clone(), ScXMLChangeTrackingImportHelper::CreateChangeTrack(), oox::xls::RevisionHeadersFragment::finalizeImport(), and ScXMLImport::SetConfigurationSettings().

◆ SetChangeViewSettings()

void ScDocument::SetChangeViewSettings ( const ScChangeViewSettings rNew)

◆ SetChartListenerCollection()

void ScDocument::SetChartListenerCollection ( std::unique_ptr< ScChartListenerCollection pNewChartListenerCollection,
bool  bSetChartRangeLists 
)

Definition at line 412 of file documen3.cxx.

References pChartListenerCollection.

Referenced by ScRefUndoData::DoUndo().

◆ SetChartListenerCollectionNeedsUpdate()

void ScDocument::SetChartListenerCollectionNeedsUpdate ( bool  bFlg)
inline

◆ SetChartRangeList()

void ScDocument::SetChartRangeList ( std::u16string_view  rChartName,
const ScRangeListRef rNewRangeListRef 
)

◆ SetChartRanges()

void ScDocument::SetChartRanges ( std::u16string_view  rChartName,
const std::vector< ScRangeList > &  rRanges 
)

◆ SetClipArea()

void ScDocument::SetClipArea ( const ScRange rArea,
bool  bCut = false 
)

◆ SetClipOptions()

void ScDocument::SetClipOptions ( std::unique_ptr< ScClipOptions pClipOptions)

Definition at line 2021 of file documen3.cxx.

References mpClipOptions.

Referenced by ScViewFunc::CopyToClipSingleRange().

◆ SetClipParam()

void ScDocument::SetClipParam ( const ScClipParam rParam)

Definition at line 2572 of file document.cxx.

References mpClipParam.

Referenced by CopyToClip(), ScViewFunc::MoveTable(), ScDocShell::TransferTab(), and TransposeClip().

◆ SetCodeName() [1/2]

void ScDocument::SetCodeName ( const OUString &  r)
inline

◆ SetCodeName() [2/2]

bool ScDocument::SetCodeName ( SCTAB  nTab,
const OUString &  rName 
)

Definition at line 222 of file document.cxx.

References FetchTable(), and SAL_WARN.

◆ SetColBreak()

void ScDocument::SetColBreak ( SCCOL  nCol,
SCTAB  nTab,
bool  bPage,
bool  bManual 
)

Definition at line 4390 of file document.cxx.

References FetchTable(), and ValidCol().

Referenced by XclImpPageSettings::Finalize(), and ScDocFunc::InsertPageBreak().

◆ SetColHidden()

void ScDocument::SetColHidden ( SCCOL  nStartCol,
SCCOL  nEndCol,
SCTAB  nTab,
bool  bHidden 
)

◆ SetColWidth()

void ScDocument::SetColWidth ( SCCOL  nCol,
SCTAB  nTab,
sal_uInt16  nNewWidth 
)

◆ SetColWidthOnly()

void ScDocument::SetColWidthOnly ( SCCOL  nCol,
SCTAB  nTab,
sal_uInt16  nNewWidth 
)

◆ SetCondFormList()

void ScDocument::SetCondFormList ( ScConditionalFormatList pList,
SCTAB  nTab 
)

◆ SetConsolidateDlgData()

void ScDocument::SetConsolidateDlgData ( std::unique_ptr< ScConsolidateParam pData)

◆ SetCutMode()

void ScDocument::SetCutMode ( bool  bCut)

Definition at line 2020 of file document.cxx.

References bIsClip, GetClipParam(), and ScClipParam::mbCutMode.

Referenced by ScViewFunc::PasteFromClip().

◆ SetDBCollection()

void ScDocument::SetDBCollection ( std::unique_ptr< ScDBCollection pNewDBCollection,
bool  bRemoveAutoFilter = false 
)

◆ SetDdeLinkResultMatrix()

bool ScDocument::SetDdeLinkResultMatrix ( size_t  nDdePos,
const ScMatrixRef pResults 
)

Sets a result matrix for the specified DDE link.

Parameters
nDdePosIndex of the DDE link (does not include other links from link manager).
pResultsThe array containing all results of the DDE link (intrusive-ref-counted, do not delete).
Returns
true = DDE link found and matrix set.

Definition at line 1019 of file documen8.cxx.

References GetLinkManager().

Referenced by ScXMLDDELinkContext::endFastElement(), and ScDDELinkObj::setResults().

◆ SetDetectiveDirty()

void ScDocument::SetDetectiveDirty ( bool  bSet)
inline

◆ SetDetOpList()

void ScDocument::SetDetOpList ( std::unique_ptr< ScDetOpList pNew)

Definition at line 905 of file documen4.cxx.

References pDetOpList.

Referenced by ScRefUndoData::DoUndo(), and ScUndoDetective::Undo().

◆ SetDirty()

void ScDocument::SetDirty ( const ScRange rRange,
bool  bIncludeEmptyCells 
)

◆ SetDirtyFromClip()

void ScDocument::SetDirtyFromClip ( SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2,
const ScMarkData rMark,
InsertDeleteFlags  nInsFlag,
sc::ColumnSpanSet rBroadcastSpans 
)

Definition at line 2611 of file document.cxx.

References CONTENTS, GetTableCount(), and maTabs.

Referenced by CopyFromClip(), and CopyMultiRangeFromClip().

◆ SetDocOptions()

void ScDocument::SetDocOptions ( const ScDocOptions rOpt)

◆ SetDocProtection()

void ScDocument::SetDocProtection ( const ScDocProtection pProtect)

◆ SetDocShellRecalc()

void ScDocument::SetDocShellRecalc ( bool  bSet)
inline

◆ SetDocVisible()

void ScDocument::SetDocVisible ( bool  bSet)

Definition at line 261 of file documen2.cxx.

References bIsVisible.

Referenced by ScTabViewShell::Construct().

◆ SetDrawPageSize()

void ScDocument::SetDrawPageSize ( SCTAB  nTab)

◆ SetEditText() [1/3]

void ScDocument::SetEditText ( const ScAddress rPos,
const EditTextObject rEditText,
const SfxItemPool pEditPool 
)

Definition at line 3429 of file document.cxx.

References ScAddress::Col(), FetchTable(), ScAddress::Row(), and ScAddress::Tab().

◆ SetEditText() [2/3]

void ScDocument::SetEditText ( const ScAddress rPos,
const OUString &  rStr 
)

◆ SetEditText() [3/3]

bool ScDocument::SetEditText ( const ScAddress rPos,
std::unique_ptr< EditTextObject pEditText 
)

This method manages the lifecycle of the passed edit text object.

When the text is successfully inserted, the cell takes over the ownership of the text object. If not, the text object gets deleted.

The caller must ensure that the passed edit text object uses the SfxItemPool instance returned from ScDocument::GetEditPool(). This is very important.

Definition at line 3422 of file document.cxx.

References ScAddress::Col(), FetchTable(), ScAddress::Row(), and ScAddress::Tab().

Referenced by ScUndoSelectionAttr::ChangeEditData(), ScCellValue::commit(), ScRefCellValue::commit(), ScUndoCursorAttr::DoChange(), ScViewFunc::DoThesaurus(), ScViewFunc::EnterData(), ScConversionEngineBase::FindNextConversionCell(), lcl_PutDataArray(), ScDatabaseDocUtil::PutData(), ScUndoEnterData::Redo(), ScCellValue::release(), ScDocFunc::SetEditCell(), ScUndoSetCell::SetValue(), ScTransferObj::StripRefs(), TransliterateText(), ScUndoReplace::Undo(), and ScEEImport::WriteToDocument().

◆ SetEmbedded() [1/2]

void ScDocument::SetEmbedded ( const ScRange rRange)

◆ SetEmbedded() [2/2]

void ScDocument::SetEmbedded ( SCTAB  nTab,
const tools::Rectangle rRect 
)

Definition at line 1875 of file documen3.cxx.

References aEmbedRange, bIsEmbedded, and GetRange().

◆ SetEmbedFonts()

void ScDocument::SetEmbedFonts ( bool  bUse)
inline

◆ SetEmbedFontScriptAsian()

void ScDocument::SetEmbedFontScriptAsian ( bool  bUse)
inline

Definition at line 592 of file document.hxx.

References mbEmbedFontScriptAsian.

Referenced by ScDocumentConfiguration::setPropertyValue().

◆ SetEmbedFontScriptComplex()

void ScDocument::SetEmbedFontScriptComplex ( bool  bUse)
inline

Definition at line 593 of file document.hxx.

References mbEmbedFontScriptComplex.

Referenced by ScDocumentConfiguration::setPropertyValue().

◆ SetEmbedFontScriptLatin()

void ScDocument::SetEmbedFontScriptLatin ( bool  bUse)
inline

Definition at line 591 of file document.hxx.

References mbEmbedFontScriptLatin.

Referenced by ScDocumentConfiguration::setPropertyValue().

◆ SetEmbedUsedFontsOnly()

void ScDocument::SetEmbedUsedFontsOnly ( bool  bUse)
inline

Definition at line 590 of file document.hxx.

References mbEmbedUsedFontsOnly.

Referenced by ScDocumentConfiguration::setPropertyValue().

◆ SetEmptyCell()

void ScDocument::SetEmptyCell ( const ScAddress rPos)

◆ SetError()

void ScDocument::SetError ( SCCOL  nCol,
SCROW  nRow,
SCTAB  nTab,
const FormulaError  nError 
)

◆ SetExpandRefs()

void ScDocument::SetExpandRefs ( bool  bVal)

◆ SetExtDocOptions()

void ScDocument::SetExtDocOptions ( std::unique_ptr< ScExtDocOptions pNewOptions)

◆ SetForbiddenCharacters()

void ScDocument::SetForbiddenCharacters ( const std::shared_ptr< SvxForbiddenCharactersTable > &  rNew)

◆ SetForcedFormulaPending()

void ScDocument::SetForcedFormulaPending ( bool  bNew)
inline

Definition at line 1418 of file document.hxx.

References bForcedFormulaPending.

Referenced by CalcFormulaTree(), SetAutoCalc(), and TrackFormulas().

◆ SetForcedFormulas()

void ScDocument::SetForcedFormulas ( bool  bVal)
inline

Definition at line 2409 of file document.hxx.

References bHasForcedFormulas.

Referenced by TrackFormulas().

◆ SetFormula() [1/2]

void ScDocument::SetFormula ( const ScAddress rPos,
const OUString &  rFormula,
formula::FormulaGrammar::Grammar  eGram 
)

Definition at line 1142 of file documen2.cxx.

References ScAddress::Col(), FetchTable(), ScAddress::Row(), and ScAddress::Tab().

◆ SetFormula() [2/2]

void ScDocument::SetFormula ( const ScAddress rPos,
const ScTokenArray rArray 
)

◆ SetFormulaCell()

ScFormulaCell * ScDocument::SetFormulaCell ( const ScAddress rPos,
ScFormulaCell pCell 
)

Set formula cell, and transfer its ownership to the document.

This call attempts to group the passed formula cell with the adjacent cells or cell groups if appropriate.

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

Definition at line 1149 of file documen2.cxx.

References ScAddress::Col(), FetchTable(), ScAddress::Row(), and ScAddress::Tab().

Referenced by ScFunctionAccess::callFunction(), ScCellValue::commit(), ScRefCellValue::commit(), ScViewFunc::DoRefConversion(), ImportLotus::Formulacell(), OP_Formula(), OP_Formula123(), ScConsData::OutputToDocument(), ScQProReader::readSheet(), ScCellValue::release(), ScDocFunc::SetFormulaCell(), ScUndoSetCell::SetValue(), ScImportExport::Sylk2Doc(), and ScFormulaCell::UpdateTranspose().

◆ SetFormulaCells()

bool ScDocument::SetFormulaCells ( const ScAddress rPos,
std::vector< ScFormulaCell * > &  rCells 
)

Definition at line 1158 of file documen2.cxx.

References ScAddress::Col(), FetchTable(), ScAddress::Row(), and ScAddress::Tab().

Referenced by ScDocFunc::SetFormulaCells().

◆ SetFormulaResults()

void ScDocument::SetFormulaResults ( const ScAddress rTopPos,
const double *  pResults,
size_t  nLen 
)

Set an array of numerical formula results to a group of contiguous formula cells.

Parameters
rTopPosposition of the top formula cell of a group.
pResultsarray of numeric results.
nLenlength of numeric results.

Definition at line 402 of file documen8.cxx.

References ScAddress::Col(), FetchTable(), ScAddress::Row(), ScTable::SetFormulaResults(), and ScAddress::Tab().

◆ SetGrammar()

void ScDocument::SetGrammar ( formula::FormulaGrammar::Grammar  eGram)

Definition at line 497 of file documen3.cxx.

References eGrammar.

◆ SetHardRecalcState()

void ScDocument::SetHardRecalcState ( HardRecalcState  eVal)
inline

Definition at line 2403 of file document.hxx.

References eHardRecalcState.

Referenced by ScBroadcastAreaSlot::CheckHardRecalcStateCondition().

◆ SetImagePreferredDPI()

void ScDocument::SetImagePreferredDPI ( sal_Int32  nValue)
inline

Definition at line 595 of file document.hxx.

References mnImagePreferredDPI, and nValue.

Referenced by ScDocumentConfiguration::setPropertyValue().

◆ SetImportingXML()

void ScDocument::SetImportingXML ( bool  bVal)

◆ SetInLinkUpdate()

void ScDocument::SetInLinkUpdate ( bool  bSet)

◆ SetInsertingFromOtherDoc()

void ScDocument::SetInsertingFromOtherDoc ( bool  bVal)
inline

◆ SetLanguage()

void ScDocument::SetLanguage ( LanguageType  eLatin,
LanguageType  eCjk,
LanguageType  eCtl 
)

◆ SetLayoutRTL()

void ScDocument::SetLayoutRTL ( SCTAB  nTab,
bool  bRTL,
ScObjectHandling  eObjectHandling = ScObjectHandling::RecalcPosMode 
)

◆ SetLayoutStrings()

void ScDocument::SetLayoutStrings ( bool  bSet)
inline

Definition at line 2636 of file document.hxx.

References mbLayoutStrings.

Referenced by ScOutputData::LayoutStrings().

◆ SetLink()

void ScDocument::SetLink ( SCTAB  nTab,
ScLinkMode  nMode,
const OUString &  rDoc,
const OUString &  rFilter,
const OUString &  rOptions,
const OUString &  rTabName,
sal_uLong  nRefreshDelay 
)

◆ SetLinkFormulaNeedingCheck()

void ScDocument::SetLinkFormulaNeedingCheck ( bool  bSet)
inline

Definition at line 2214 of file document.hxx.

References bLinkFormulaNeedingCheck.

Referenced by CheckLinkFormulaNeedingCheck(), and ExcelToSc8::Convert().

◆ SetLinkMode()

void ScDocument::SetLinkMode ( ScLkUpdMode  nSet)
inline

◆ SetLoadingMedium()

void ScDocument::SetLoadingMedium ( bool  bVal)

Definition at line 569 of file documen9.cxx.

References bLoadingMedium, and maTabs.

Referenced by SetImportingXML().

◆ SetLOKFreezeCol()

bool ScDocument::SetLOKFreezeCol ( SCCOL  nFreezeCol,
SCTAB  nTab 
)

◆ SetLOKFreezeRow()

bool ScDocument::SetLOKFreezeRow ( SCROW  nFreezeRow,
SCTAB  nTab 
)

◆ SetManualHeight()

void ScDocument::SetManualHeight ( SCROW  nStartRow,
SCROW  nEndRow,
SCTAB  nTab,
bool  bManual 
)

◆ SetName()

void ScDocument::SetName ( const OUString &  r)
inline

Definition at line 608 of file document.hxx.

References aDocName.

◆ SetNamedRangesLockCount()

void ScDocument::SetNamedRangesLockCount ( sal_Int16  nCount)
inline

◆ SetNeedsListeningGroups()

void ScDocument::SetNeedsListeningGroups ( const std::vector< ScAddress > &  rPosArray)
private

◆ SetNoListening()

void ScDocument::SetNoListening ( bool  bVal)
inline

◆ SetNote() [1/2]

void ScDocument::SetNote ( const ScAddress rPos,
std::unique_ptr< ScPostIt pNote 
)

◆ SetNote() [2/2]

void ScDocument::SetNote ( SCCOL  nCol,
SCROW  nRow,
SCTAB  nTab,
std::unique_ptr< ScPostIt pNote 
)

◆ SetNumberFormat()

void ScDocument::SetNumberFormat ( const ScAddress rPos,
sal_uInt32  nNumberFormat 
)

◆ SetOptimalHeight()

bool ScDocument::SetOptimalHeight ( sc::RowHeightContext rCxt,
SCROW  nStartRow,
SCROW  nEndRow,
SCTAB  nTab,
bool  bApi 
)

◆ SetOutlineTable()

bool ScDocument::SetOutlineTable ( SCTAB  nTab,
const ScOutlineTable pNewOutline 
)

◆ SetPageSize()

void ScDocument::SetPageSize ( SCTAB  nTab,
const Size rSize 
)

Definition at line 6183 of file document.cxx.

References FetchTable().

Referenced by sc::PrintPageRanges::calculate(), IMPL_LINK(), and ScPrintFunc::ResetBreaks().

◆ SetPageStyle()

void ScDocument::SetPageStyle ( SCTAB  nTab,
const OUString &  rName 
)

◆ SetPastingDrawFromOtherDoc()

void ScDocument::SetPastingDrawFromOtherDoc ( bool  bVal)
inline

Definition at line 2525 of file document.hxx.

References bPastingDrawFromOtherDoc.

Referenced by ScViewFunc::PasteDataFormat(), and ScViewFunc::PasteDraw().

◆ SetPattern() [1/4]

void ScDocument::SetPattern ( const ScAddress rPos,
const ScPatternAttr rAttr 
)

◆ SetPattern() [2/4]

const ScPatternAttr * ScDocument::SetPattern ( const ScAddress rPos,
std::unique_ptr< ScPatternAttr pAttr 
)

Definition at line 4997 of file document.cxx.

References ScAddress::Col(), ScAddress::Row(), SetPattern(), and ScAddress::Tab().

◆ SetPattern() [3/4]

void ScDocument::SetPattern ( SCCOL  nCol,
SCROW  nRow,
SCTAB  nTab,
const ScPatternAttr rAttr 
)

Definition at line 5002 of file document.cxx.

References FetchTable().

◆ SetPattern() [4/4]

const ScPatternAttr * ScDocument::SetPattern ( SCCOL  nCol,
SCROW  nRow,
SCTAB  nTab,
std::unique_ptr< ScPatternAttr pAttr 
)

Definition at line 4990 of file document.cxx.

References FetchTable().

◆ SetPendingRowHeights()

void ScDocument::SetPendingRowHeights ( SCTAB  nTab,
bool  bSet 
)

Definition at line 922 of file document.cxx.

References FetchTable().

◆ SetPosLeft()

SC_DLLPUBLIC void ScDocument::SetPosLeft ( SCCOL  nCol)
inline

Definition at line 882 of file document.hxx.

References nPosLeft.

Referenced by oox::xls::WorkbookHelper::finalizeWorkbookImport().

◆ SetPosTop()

SC_DLLPUBLIC void ScDocument::SetPosTop ( SCROW  nRow)
inline

Definition at line 884 of file document.hxx.

References nPosTop.

Referenced by oox::xls::WorkbookHelper::finalizeWorkbookImport().

◆ SetPreviewCellStyle()

void ScDocument::SetPreviewCellStyle ( ScStyleSheet pStyle)
inline

Definition at line 1396 of file document.hxx.

References pPreviewCellStyle.

Referenced by ScFormatShell::ExecuteStyle().

◆ SetPreviewFont()

void ScDocument::SetPreviewFont ( std::unique_ptr< SfxItemSet pFontSet)

Definition at line 1468 of file documen2.cxx.

References pPreviewFont.

Referenced by ScFormatShell::ExecuteAttr().

◆ SetPreviewSelection()

void ScDocument::SetPreviewSelection ( const ScMarkData rSel)

Definition at line 1473 of file documen2.cxx.

References maPreviewSelection.

Referenced by ScFormatShell::ExecuteAttr(), and ScFormatShell::ExecuteStyle().

◆ SetPrintEntireSheet()

void ScDocument::SetPrintEntireSheet ( SCTAB  nTab)

Marks the specified sheet to be printed completely.

Deletes old print ranges on the sheet!

Definition at line 6303 of file document.cxx.

References FetchTable().

Referenced by ImportExcel::PostDocLoad(), ScTableSheetObj::SetOnePropertyValue(), and ScViewFunc::SetPrintRanges().

◆ SetPrinter()

void ScDocument::SetPrinter ( VclPtr< SfxPrinter > const &  pNewPrinter)

◆ SetPrintOptions()

void ScDocument::SetPrintOptions ( )

Definition at line 161 of file documen8.cxx.

References GetPrinter(), mpPrinter, and SfxItemSet::Put().

◆ SetRangeName() [1/2]

void ScDocument::SetRangeName ( SCTAB  nTab,
std::unique_ptr< ScRangeName pNew 
)

◆ SetRangeName() [2/2]

void ScDocument::SetRangeName ( std::unique_ptr< ScRangeName pNewRangeName)

Definition at line 191 of file documen3.cxx.

References pRangeName.

◆ SetRangeOverflowType()

void ScDocument::SetRangeOverflowType ( ErrCode  nType)
inline

◆ SetRepeatArea()

void ScDocument::SetRepeatArea ( SCTAB  nTab,
SCCOL  nStartCol,
SCCOL  nEndCol,
SCROW  nStartRow,
SCROW  nEndRow 
)

Definition at line 6198 of file document.cxx.

References FetchTable().

Referenced by ScPrintFunc::CalcZoom(), and ScPrintFunc::UpdatePages().

◆ SetRepeatColRange()

void ScDocument::SetRepeatColRange ( SCTAB  nTab,
std::optional< ScRange oNew 
)

◆ SetRepeatRowRange()

void ScDocument::SetRepeatRowRange ( SCTAB  nTab,
std::optional< ScRange oNew 
)

◆ SetRowBreak()

void ScDocument::SetRowBreak ( SCROW  nRow,
SCTAB  nTab,
bool  bPage,
bool  bManual 
)

Definition at line 4384 of file document.cxx.

References FetchTable(), and ValidRow().

Referenced by XclImpPageSettings::Finalize(), and ScDocFunc::InsertPageBreak().

◆ SetRowFiltered()

void ScDocument::SetRowFiltered ( SCROW  nStartRow,
SCROW  nEndRow,
SCTAB  nTab,
bool  bFiltered 
)

◆ SetRowFlags() [1/2]

void ScDocument::SetRowFlags ( SCROW  nRow,
SCTAB  nTab,
CRFlags  nNewFlags 
)

◆ SetRowFlags() [2/2]

void ScDocument::SetRowFlags ( SCROW  nStartRow,
SCROW  nEndRow,
SCTAB  nTab,
CRFlags  nNewFlags 
)

Definition at line 4321 of file document.cxx.

References FetchTable().

◆ SetRowHeight()

void ScDocument::SetRowHeight ( SCROW  nRow,
SCTAB  nTab,
sal_uInt16  nNewHeight 
)

◆ SetRowHeightOnly()

void ScDocument::SetRowHeightOnly ( SCROW  nStartRow,
SCROW  nEndRow,
SCTAB  nTab,
sal_uInt16  nNewHeight 
)

◆ SetRowHeightRange()

void ScDocument::SetRowHeightRange ( SCROW  nStartRow,
SCROW  nEndRow,
SCTAB  nTab,
sal_uInt16  nNewHeight 
)

Definition at line 4104 of file document.cxx.

References FetchTable().

Referenced by ScViewFunc::SetWidthOrHeight(), and ScDocFunc::SetWidthOrHeight().

◆ SetRowHidden()

void ScDocument::SetRowHidden ( SCROW  nStartRow,
SCROW  nEndRow,
SCTAB  nTab,
bool  bHidden 
)

◆ SetScenario()

void ScDocument::SetScenario ( SCTAB  nTab,
bool  bFlag 
)

◆ SetScenarioData()

void ScDocument::SetScenarioData ( SCTAB  nTab,
const OUString &  rComment,
const Color rColor,
ScScenarioFlags  nFlags 
)

◆ SetScriptType()

void ScDocument::SetScriptType ( const ScAddress rPos,
SvtScriptType  nType 
)

Definition at line 6449 of file document.cxx.

References ScAddress::Col(), FetchTable(), nType, ScAddress::Row(), and ScAddress::Tab().

Referenced by GetCellScriptType().

◆ SetSheetEvents()

void ScDocument::SetSheetEvents ( SCTAB  nTab,
std::unique_ptr< ScSheetEvents pNew 
)

Definition at line 668 of file documen3.cxx.

References FetchTable().

Referenced by ScSheetEventsObj::replaceByName(), and ScUndoDeleteTab::Undo().

◆ SetSortParam()

void ScDocument::SetSortParam ( const ScSortParam rParam,
SCTAB  nTab 
)

Definition at line 2129 of file documen3.cxx.

References mSheetSortParams.

Referenced by ScVbaRange::Sort().

◆ SetSrcCharSet()

void ScDocument::SetSrcCharSet ( rtl_TextEncoding  eNew)
inline

Definition at line 2139 of file document.hxx.

References eSrcSet.

Referenced by ImportExcel::~ImportExcel().

◆ SetStorageGrammar()

void ScDocument::SetStorageGrammar ( formula::FormulaGrammar::Grammar  eGrammar)

◆ SetStreamValid()

void ScDocument::SetStreamValid ( SCTAB  nTab,
bool  bSet,
bool  bIgnoreLock = false 
)

◆ SetString() [1/2]

bool ScDocument::SetString ( const ScAddress rPos,
const OUString &  rString,
const ScSetStringParam pParam = nullptr 
)

Definition at line 3416 of file document.cxx.

References ScAddress::Col(), ScAddress::Row(), SetString(), and ScAddress::Tab().

◆ SetString() [2/2]

bool ScDocument::SetString ( SCCOL  nCol,
SCROW  nRow,
SCTAB  nTab,
const OUString &  rString,
const ScSetStringParam pParam = nullptr 
)

Definition at line 3391 of file document.cxx.

References EndListeningIntersectedGroup(), FetchTable(), ScTable::GetFormulaCell(), ScFormulaCell::IsShared(), sc::EndListeningContext::purgeEmptyBroadcasters(), and ScTable::SetString().

Referenced by ExcScenario::Apply(), ScCellValue::commit(), ScRefCellValue::commit(), ScViewFunc::DataFormPutData(), ScUndoDataForm::DoChange(), DoEmptyBlock(), DoMergeContents(), ScViewFunc::DoThesaurus(), ImportLotus::Errcell(), ScDPOutput::FieldCell(), ScConversionEngineBase::FindNextConversionCell(), sc::HTMLFetchThread::handleCell(), ScDPOutput::HeaderCell(), ScDocFunc::InsertNameList(), ImportLotus::Labelcell(), lcl_DoFilterButton(), lcl_PutDataArray(), lcl_PutString(), ScDPOutput::MultiFieldCell(), ImportLotus::Nacell(), ScDPOutput::Output(), ScConsData::OutputToDocument(), ScDatabaseDocUtil::PutData(), PutFormString(), ScChangeActionContent::PutValueToDoc(), ScUndoEnterData::Redo(), ScAreaLink::Refresh(), ScTableLink::Refresh(), ScCellValue::release(), ScFormatFilterPluginImpl::ScImportDif(), ScTable::SearchRangeForAllEmptyCells(), ScDocFunc::SetNormalString(), SetString(), ScDocFunc::SetStringCell(), ScUndoSetCell::SetValue(), ScTransferObj::StripRefs(), ScImportExport::Text2Doc(), sc::SplitColumnTransformation::Transform(), sc::MergeColumnTransformation::Transform(), sc::TextTransformation::Transform(), sc::NumberTransformation::Transform(), sc::ReplaceNullTransformation::Transform(), sc::DateTimeTransformation::Transform(), sc::FindReplaceTransformation::Transform(), sc::SwapRowsTransformation::Transform(), TransliterateText(), ScUndoReplace::Undo(), and ScEEImport::WriteToDocument().

◆ SetSubTotalCellsDirty()

void ScDocument::SetSubTotalCellsDirty ( const ScRange rDirtyRange)

◆ SetTabBgColor()

void ScDocument::SetTabBgColor ( SCTAB  nTab,
const Color rColor 
)

◆ SetTableOpDirty()

void ScDocument::SetTableOpDirty ( const ScRange rRange)

◆ SetTabNameOnLoad()

void ScDocument::SetTabNameOnLoad ( SCTAB  nTab,
const OUString &  rName 
)

Definition at line 465 of file document.cxx.

References GetTableCount(), maTabs, ValidTab(), and ValidTabName().

Referenced by ScMyTables::NewSheet().

◆ SetTabProtection()

void ScDocument::SetTabProtection ( SCTAB  nTab,
const ScTableProtection pProtect 
)

◆ SetTextCell()

void ScDocument::SetTextCell ( const ScAddress rPos,
const OUString &  rStr 
)

◆ SetThreadedGroupCalcInProgress()

void ScDocument::SetThreadedGroupCalcInProgress ( bool  set)
inline

◆ SetTrackFormulasPending()

void ScDocument::SetTrackFormulasPending ( )
inline

Definition at line 2396 of file document.hxx.

References mbTrackFormulasPending.

Referenced by TrackFormulas().

◆ SetupContextFromNonThreadedContext()

void ScDocument::SetupContextFromNonThreadedContext ( ScInterpreterContext threadedContext,
int  threadNumber 
)

Definition at line 6909 of file document.cxx.

Referenced by ScFormulaCell::InterpretFormulaGroupThreading().

◆ SetValue() [1/2]

void ScDocument::SetValue ( const ScAddress rPos,
double  fVal 
)

◆ SetValue() [2/2]

void ScDocument::SetValue ( SCCOL  nCol,
SCROW  nRow,
SCTAB  nTab,
const double &  rVal 
)

◆ SetValues()

void ScDocument::SetValues ( const ScAddress rPos,
const std::vector< double > &  rVals 
)

◆ SetVbaEventProcessor()

void ScDocument::SetVbaEventProcessor ( const css::uno::Reference< css::script::vba::XVBAEventProcessor > &  rxVbaEvents)
inline

Definition at line 2537 of file document.hxx.

References mxVbaEvents.

Referenced by ScServiceProvider::MakeInstance().

◆ SetViewOptions()

void ScDocument::SetViewOptions ( const ScViewOptions rOpt)

◆ SetVisible()

void ScDocument::SetVisible ( SCTAB  nTab,
bool  bVisible 
)

◆ SetVisibleTab()

SC_DLLPUBLIC void ScDocument::SetVisibleTab ( SCTAB  nTab)
inline

◆ SharePooledResources()

void ScDocument::SharePooledResources ( const ScDocument pSrcDoc)
private

Definition at line 330 of file document10.cxx.

References CORE, mpCellStringPool, and mxPoolHelper.

Referenced by InitClipPtrs(), InitUndo(), and InitUndoSelected().

◆ ShowCol()

void ScDocument::ShowCol ( SCCOL  nCol,
SCTAB  nTab,
bool  bShow 
)

◆ ShowRow()

void ScDocument::ShowRow ( SCROW  nRow,
SCTAB  nTab,
bool  bShow 
)

◆ ShowRows()

void ScDocument::ShowRows ( SCROW  nRow1,
SCROW  nRow2,
SCTAB  nTab,
bool  bShow 
)

◆ ShrinkToDataArea()

bool ScDocument::ShrinkToDataArea ( SCTAB  nTab,
SCCOL rStartCol,
SCROW rStartRow,
SCCOL rEndCol,
SCROW rEndRow 
) const

Shrink a range to only include data area.

This is not the actually used area within the selection, but the bounds of the sheet's data area instead.

Returns
TRUE if the area passed intersected the data area, FALSE if not, in which case the values obtained may be out of bounds, not in order or unmodified. TRUE does not mean that there actually is any data within the selection.

Definition at line 1018 of file document.cxx.

References HasTable(), and maTabs.

Referenced by ScInterpreter::CreateMatrixFromDoubleRef(), ScImportExport::Doc2Text(), ScCellShell::ExecuteDataPilotDialog(), ScExternalRefManager::getSingleRefToken(), ScDPCache::InitFromDoc(), ScSortedRangeCache::ScSortedRangeCache(), and ShrinkToDataArea().

◆ ShrinkToUsedDataArea()

bool ScDocument::ShrinkToUsedDataArea ( bool &  o_bShrunk,
SCTAB  nTab,
SCCOL rStartCol,
SCROW rStartRow,
SCCOL rEndCol,
SCROW rEndRow,
bool  bColumnsOnly,
bool  bStickyTopRow = false,
bool  bStickyLeftCol = false,
ScDataAreaExtras pDataAreaExtras = nullptr 
) const

Shrink a range to only include used data area.

Parameters
o_bShrunkOut parameter, true if area was shrunk, false if not.
bColumnsOnlyIf TRUE, shrink only by columns, not rows.
bStickyTopRowIf TRUE, do not adjust the top row.
bStickyLeftColIf TRUE, do not adjust the left column.
pDataAreaExtrasConsider additional area attributes like cell formatting, cell notes and draw objects. The possibly larger area than the actual cell content data area is returned within the struct.
Returns
true if there is any data, false if not.

Definition at line 1049 of file document.cxx.

References FetchTable().

Referenced by convertToTokenArray(), ScConditionEntry::FillCache(), ScDBFunc::GetDBData(), ScTabViewShell::GetSelectionText(), ScColorFormat::getValues(), lcl_GetTextToColumnsRange(), lcl_reduceBlock(), ScDBDocFunc::Sort(), and sc::ScDBDataManager::WriteToDoc().

◆ SkipOverlapped()

void ScDocument::SkipOverlapped ( SCCOL rCol,
SCROW rRow,
SCTAB  nTab 
) const

◆ Solver()

bool ScDocument::Solver ( SCCOL  nFCol,
SCROW  nFRow,
SCTAB  nFTab,
SCCOL  nVCol,
SCROW  nVRow,
SCTAB  nVTab,
const OUString &  sValStr,
double &  nX 
)

(Goal Seek) Find a value of x that is a root of f(x)

This function is used internally for the goal seek operation. It uses the Regula Falsi (aka false position) algorithm to find a root of f(x). The start value and the target value are to be given by the user in the goal seek dialog. The f(x) in this case is defined as the formula in the formula cell minus target value. This function may also perform additional search in the horizontal directions when the f(x) is discrete in order to ensure a non-zero slope necessary for deriving a subsequent x that is reasonably close to the root of interest.

@change 24.10.2004 by Kohei Yoshida (kohei.nosp@m.@ope.nosp@m.noffi.nosp@m.ce.o.nosp@m.rg)

See also
#i28955#

@change 6 Aug 2013, fdo37341

Definition at line 72 of file documen4.cxx.

References CELLTYPE_FORMULA, CELLTYPE_VALUE, basegfx::deg2rad(), E, GetCellType(), ScFormulaCell::GetErrCode(), GetFormatTable(), GetFormulaCell(), GetTableCount(), ScFormulaCell::GetValue(), GetValueCell(), ScFormulaCell::Interpret(), maTabs, SetDirty(), SetError(), ValidColRow(), and ValidTab().

Referenced by ScModelObj::seekGoal(), and ScViewFunc::Solve().

◆ Sort()

void ScDocument::Sort ( SCTAB  nTab,
const ScSortParam rSortParam,
bool  bKeepQuery,
bool  bUpdateRefs,
ScProgress pProgress,
sc::ReorderParam pUndo 
)

Sort a range of data.

Definition at line 1433 of file documen3.cxx.

References EnableIdle(), FetchTable(), and IsIdleEnabled().

Referenced by ScDBDocFunc::Sort(), and sc::SortTransformation::Transform().

◆ StartAllListeners() [1/2]

void ScDocument::StartAllListeners ( )

Definition at line 582 of file documen7.cxx.

References i, and maTabs.

Referenced by CompileXML(), CopyToDocument(), DeleteTab(), DeleteTabs(), InsertCol(), InsertRow(), InsertTab(), InsertTabs(), and MoveTab().

◆ StartAllListeners() [2/2]

void ScDocument::StartAllListeners ( const ScRange rRange)

◆ StartAnimations()

void ScDocument::StartAnimations ( SCTAB  nTab)

Definition at line 307 of file documen9.cxx.

References mpDrawLayer, SdrObjListIter::Next(), and pObject.

Referenced by ScTabView::DrawEnableAnim().

◆ StartChangeTracking()

void ScDocument::StartChangeTracking ( )

Definition at line 277 of file documen2.cxx.

References mpShell, pChangeTrack, and SfxObjectShell::SetModified().

Referenced by ScDocShell::Execute().

◆ StartListeningArea()

void ScDocument::StartListeningArea ( const ScRange rRange,
bool  bGroupListening,
SvtListener pListener 
)

◆ StartListeningCell() [1/2]

void ScDocument::StartListeningCell ( const ScAddress rAddress,
SvtListener pListener 
)

◆ StartListeningCell() [2/2]

void ScDocument::StartListeningCell ( sc::StartListeningContext rCxt,
const ScAddress rPos,
SvtListener rListener 
)

Definition at line 239 of file documen7.cxx.

References FetchTable(), and ScAddress::Tab().

◆ StartListeningFromClip() [1/2]

void ScDocument::StartListeningFromClip ( sc::StartListeningContext rStartCxt,
sc::EndListeningContext rEndCxt,
SCTAB  nTab,
SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2 
)

Definition at line 2587 of file document.cxx.

References FetchTable().

Referenced by CopyMultiRangeFromClip(), and StartListeningFromClip().

◆ StartListeningFromClip() [2/2]

void ScDocument::StartListeningFromClip ( SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2,
const ScMarkData rMark,
InsertDeleteFlags  nInsFlag 
)

Definition at line 2595 of file document.cxx.

References CONTENTS, and StartListeningFromClip().

◆ StartNeededListeners() [1/2]

void ScDocument::StartNeededListeners ( )

◆ StartNeededListeners() [2/2]

void ScDocument::StartNeededListeners ( const std::shared_ptr< const sc::ColumnSet > &  rpColSet)

Definition at line 559 of file document10.cxx.

References maTabs.

◆ StartTrackTimer()

void ScDocument::StartTrackTimer ( )

Definition at line 332 of file documen2.cxx.

References aTrackIdle, Task::IsActive(), and Idle::Start().

Referenced by ScDdeLink::DataChanged(), and ScWebServiceLink::DataChanged().

◆ StopTemporaryChartLock()

void ScDocument::StopTemporaryChartLock ( )

Definition at line 406 of file documen3.cxx.

References apTemporaryChartLock.

◆ StoreTabToCache()

void ScDocument::StoreTabToCache ( SCTAB  nTab,
SvStream rStrm 
) const

Definition at line 1026 of file document10.cxx.

References FetchTable(), rStrm, and ScTable::StoreToCache().

◆ StripHidden()

void ScDocument::StripHidden ( SCCOL rX1,
SCROW rY1,
SCCOL rX2,
SCROW rY2,
SCTAB  nTab 
)

Definition at line 4670 of file document.cxx.

References FetchTable().

Referenced by ScOutputData::ScOutputData().

◆ StyleSheetChanged()

void ScDocument::StyleSheetChanged ( const SfxStyleSheetBase pStyleSheet,
bool  bRemoved,
OutputDevice pDev,
double  nPPTX,
double  nPPTY,
const Fraction rZoomX,
const Fraction rZoomY 
)

◆ StylesToNames()

void ScDocument::StylesToNames ( )

◆ SwapNonEmpty()

void ScDocument::SwapNonEmpty ( sc::TableValues rValues)

◆ SyncColRowFlags()

void ScDocument::SyncColRowFlags ( )

Write all column row flags to table's flag data, because not all column row attributes are stored in the flag data members.

This is necessary for ods export.

Definition at line 4530 of file document.cxx.

References maTabs.

Referenced by ScXMLExport::collectAutoStyles().

◆ TestCopyScenario()

bool ScDocument::TestCopyScenario ( SCTAB  nSrcTab,
SCTAB  nDestTab 
) const

Definition at line 892 of file documen3.cxx.

References get(), HasTable(), and maTabs.

◆ TestRemoveSubTotals()

bool ScDocument::TestRemoveSubTotals ( SCTAB  nTab,
const ScSubTotalParam rParam 
)

Definition at line 767 of file documen3.cxx.

References FetchTable(), and ScTable::TestRemoveSubTotals().

Referenced by ScDBFunc::DoSubTotals(), and ScDBDocFunc::DoSubTotals().

◆ TrackFormulas()

void ScDocument::TrackFormulas ( SfxHintId  nHintId = SfxHintId::ScDataChanged)

◆ TransferCellValuesTo()

void ScDocument::TransferCellValuesTo ( const ScAddress rTopPos,
size_t  nLen,
sc::CellValues rDest 
)

Transfer a series of contiguous cell values from specified position to the passed container.

The specified segment will become empty after the transfer.

Definition at line 169 of file document10.cxx.

References ScAddress::Col(), FetchTable(), ScAddress::Row(), ScAddress::Tab(), and ScTable::TransferCellValuesTo().

Referenced by ScDocFunc::SetFormulaCells(), and ScDocFunc::SetValueCells().

◆ TransferDrawPage()

void ScDocument::TransferDrawPage ( const ScDocument rSrcDoc,
SCTAB  nSrcPos,
SCTAB  nDestPos 
)

◆ TransferTab()

sal_uLong ScDocument::TransferTab ( ScDocument rSrcDoc,
SCTAB  nSrcPos,
SCTAB  nDestPos,
bool  bInsertNew = true,
bool  bResultsOnly = false 
)

◆ TransliterateText()

void ScDocument::TransliterateText ( const ScMarkData rMultiMark,
TransliterationFlags  nType 
)

◆ TransposeClip()

void ScDocument::TransposeClip ( ScDocument pTransClip,
InsertDeleteFlags  nFlags,
bool  bAsLink,
bool  bIncludeFiltered 
)

◆ UndoToDocument() [1/2]

void ScDocument::UndoToDocument ( const ScRange rRange,
InsertDeleteFlags  nFlags,
bool  bMarked,
ScDocument rDestDoc 
)

◆ UndoToDocument() [2/2]

void ScDocument::UndoToDocument ( SCCOL  nCol1,
SCROW  nRow1,
SCTAB  nTab1,
SCCOL  nCol2,
SCROW  nRow2,
SCTAB  nTab2,
InsertDeleteFlags  nFlags,
bool  bMarked,
ScDocument rDestDoc 
)

◆ UnlockAdjustHeight()

void ScDocument::UnlockAdjustHeight ( )

◆ UnlockTable()

void ScDocument::UnlockTable ( SCTAB  nTab)

◆ UnshareFormulaCells()

void ScDocument::UnshareFormulaCells ( SCTAB  nTab,
SCCOL  nCol,
std::vector< SCROW > &  rRows 
)

Make specified formula cells non-grouped.

Parameters
nTabsheet index
nColcolumn index
rRowslist of row indices at which formula cells are to be unshared. This call sorts the passed row indices and removes duplicates, which is why the caller must pass it as reference.

Definition at line 355 of file document10.cxx.

References FetchTable(), and ScTable::UnshareFormulaCells().

Referenced by ScTable::SortReorderByRowRefUpdate().

◆ UpdateAllRowHeights()

void ScDocument::UpdateAllRowHeights ( sc::RowHeightContext rCxt,
const ScMarkData pTabMark 
)

◆ UpdateAreaLinks()

void ScDocument::UpdateAreaLinks ( )

◆ UpdateBroadcastAreas()

void ScDocument::UpdateBroadcastAreas ( UpdateRefMode  eUpdateRefMode,
const ScRange rRange,
SCCOL  nDx,
SCROW  nDy,
SCTAB  nDz 
)

◆ UpdateChart()

void ScDocument::UpdateChart ( const OUString &  rName)

◆ UpdateChartArea() [1/2]

void ScDocument::UpdateChartArea ( const OUString &  rChartName,
const ScRange rNewArea,
bool  bColHeaders,
bool  bRowHeaders,
bool  bAdd 
)

◆ UpdateChartArea() [2/2]

void ScDocument::UpdateChartArea ( const OUString &  rChartName,
const ScRangeListRef rNewList,
bool  bColHeaders,
bool  bRowHeaders,
bool  bAdd 
)

◆ UpdateChartListenerCollection()

void ScDocument::UpdateChartListenerCollection ( )

◆ UpdateChartRef()

void ScDocument::UpdateChartRef ( UpdateRefMode  eUpdateRefMode,
SCCOL  nCol1,
SCROW  nRow1,
SCTAB  nTab1,
SCCOL  nCol2,
SCROW  nRow2,
SCTAB  nTab2,
SCCOL  nDx,
SCROW  nDy,
SCTAB  nDz 
)

◆ UpdateDrawLanguages()

void ScDocument::UpdateDrawLanguages ( )
private

◆ UpdateDrawPrinter()

void ScDocument::UpdateDrawPrinter ( )
private

Definition at line 193 of file documen9.cxx.

References GetRefDevice(), and mpDrawLayer.

Referenced by GetPrinter(), InitDrawLayer(), and SetPrinter().

◆ UpdateExternalRefLinks()

void ScDocument::UpdateExternalRefLinks ( weld::Window pWin)

◆ UpdateFontCharSet()

void ScDocument::UpdateFontCharSet ( )

◆ UpdateGrow()

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

Definition at line 1143 of file documen3.cxx.

References GetTableCount(), i, maTabs, pRangeName, and UpdateGrow().

Referenced by FitBlock(), and UpdateGrow().

◆ UpdateOutlineCol()

bool ScDocument::UpdateOutlineCol ( SCCOL  nStartCol,
SCCOL  nEndCol,
SCTAB  nTab,
bool  bShow 
)

Adapt Outline.

Definition at line 1415 of file documen3.cxx.

References FetchTable().

Referenced by ScViewFunc::SetWidthOrHeight(), and ScDocFunc::SetWidthOrHeight().

◆ UpdateOutlineRow()

bool ScDocument::UpdateOutlineRow ( SCROW  nStartRow,
SCROW  nEndRow,
SCTAB  nTab,
bool  bShow 
)

◆ UpdatePageBreaks()

void ScDocument::UpdatePageBreaks ( SCTAB  nTab,
const ScRange pUserArea = nullptr 
)

◆ UpdateRefAreaLinks()

void ScDocument::UpdateRefAreaLinks ( UpdateRefMode  eUpdateRefMode,
const ScRange r,
SCCOL  nDx,
SCROW  nDy,
SCTAB  nDz 
)
private

◆ UpdateReference()

void ScDocument::UpdateReference ( sc::RefUpdateContext rCxt,
ScDocument pUndoDoc = nullptr,
bool  bIncludeDraw = true,
bool  bUpdateNoteCaptionPos = true 
)

◆ UpdateScriptTypes()

void ScDocument::UpdateScriptTypes ( const ScAddress rPos,
SCCOL  nColSize,
SCROW  nRowSize 
)

◆ UpdateTranspose()

void ScDocument::UpdateTranspose ( const ScAddress rDestPos,
ScDocument pClipDoc,
const ScMarkData rMark,
ScDocument pUndoDoc 
)
Parameters
pClipDocoriginal clipboard doc, i.e. non-transposed This clip doc is used to check references pointing to cut cells.

Definition at line 1112 of file documen3.cxx.

References ScRange::aEnd, ScRange::aStart, bIsClip, ScRangeList::empty(), ScRangeList::front(), GetClipParam(), GetTableCount(), ScMarkData::GetTableSelect(), i, ScClipParam::maRanges, maTabs, MAXTAB, pRangeName, and ScAddress::SetTab().

Referenced by ScViewFunc::PasteFromClip().

◆ UpdStlShtPtrsFrmNms()

void ScDocument::UpdStlShtPtrsFrmNms ( )

◆ ValidAddress()

bool ScDocument::ValidAddress ( const ScAddress rAddress) const
inline

◆ ValidCol()

bool ScDocument::ValidCol ( SCCOL  nCol) const
inline

◆ ValidColRow()

bool ScDocument::ValidColRow ( SCCOL  nCol,
SCROW  nRow 
) const
inline

◆ ValidColRowTab()

bool ScDocument::ValidColRowTab ( SCCOL  nCol,
SCROW  nRow,
SCTAB  nTab 
) const
inline

Definition at line 902 of file document.hxx.

References MaxCol(), MaxRow(), and ValidColRowTab().

Referenced by ScDrawLayer::GetCellRect().

◆ ValidNewTabName()

bool ScDocument::ValidNewTabName ( const OUString &  rName) const

◆ ValidRange()

bool ScDocument::ValidRange ( const ScRange rRange) const
inline

Definition at line 903 of file document.hxx.

References MaxCol(), MaxRow(), and ValidRange().

Referenced by ScInterpreter::ScColRowNameAuto(), and UpdateReference().

◆ ValidRow()

bool ScDocument::ValidRow ( SCROW  nRow) const
inline

Definition at line 900 of file document.hxx.

References mxSheetLimits, and ValidRow().

Referenced by ScAttrArray::AddCondFormat(), ScCompiler::AdjustSumRangeShape(), ScAttrArray::ApplyCacheArea(), ScAttrArray::ApplyLineStyleArea(), ScAttrArray::ApplyStyleArea(), ColDifferences(), CompareDocument(), ScBroadcastAreaSlotMachine::ComputeSlotOffset(), ScColumn::DeleteBeforeCopyFromClip(), ScDocFunc::DeleteCells(), DeleteRow(), ScDBDocFunc::DoImport(), ScGridWindow::Draw(), ScTabViewShell::Execute(), FindOrder(), ScViewUtil::FitToUnfilteredRows(), ScColumn::GetNextSpellingCell(), ScAttrArray::GetNextUnprotected(), ScAttrArray::GetPattern(), ScAttrArray::GetPatternRange(), HasRowBreak(), IdleCalcTextWidth(), ScCellIterator::init(), ScColumnTextWidthIterator::init(), ScDocFunc::InsertCells(), ScTable::IsColRowTabValid(), ScTable::IsColRowValid(), lcl_PaintOneRange(), lcl_PutString(), ScTabView::MarkCursor(), ScAttrArray::MergePatternArea(), ScDocFunc::MoveBlock(), ScTabView::PaintRangeFinderEntry(), ScViewFunc::PasteFromClip(), ScViewFunc::PasteFromClipToMultiRanges(), ScViewFunc::PasteMultiRangesFromClip(), ScAttrArray::RemoveCondFormat(), RemoveRowBreak(), ImportExcel::Row34(), ScInterpreter::ScAddressFunc(), ScHorizontalValueIterator::ScHorizontalValueIterator(), ScFormatFilterPluginImpl::ScImportDif(), ScInterpreter::ScOffset(), ScValueIterator::ScValueIterator(), ScAttrArray::SearchStyle(), ScAttrArray::SearchStyleRange(), sc::ColumnSpanSet::set(), LotAttrCol::SetAttr(), ScViewFunctionSet::SetCursorAtCell(), ScViewFunctionSet::SetCursorAtPoint(), DifColumn::SetNumFormat(), ScAttrArray::SetPatternAreaImpl(), SetRowBreak(), ScInterpreter::SingleRefToVars(), sc::SharedFormulaUtil::splitFormulaCellGroups(), ScImportExport::Text2Doc(), TransposeClip(), ScGridWindow::UpdateDragRectOverlay(), ScColumn::UpdateReference(), ScTable::ValidRow(), and ScEEImport::WriteToDocument().

◆ ValidTabName()

bool ScDocument::ValidTabName ( const OUString &  rName)
static

Friends And Related Function Documentation

◆ sc::EditTextIterator

friend class sc::EditTextIterator
friend

Definition at line 343 of file document.hxx.

◆ ScAttrRectIterator

friend class ScAttrRectIterator
friend

Definition at line 335 of file document.hxx.

◆ ScCellIterator

friend class ScCellIterator
friend

Definition at line 327 of file document.hxx.

◆ ScColumn

friend class ScColumn
friend

Definition at line 340 of file document.hxx.

◆ ScColumnTextWidthIterator

friend class ScColumnTextWidthIterator
friend

Definition at line 338 of file document.hxx.

◆ ScDBQueryDataIterator

friend class ScDBQueryDataIterator
friend

Definition at line 326 of file document.hxx.

◆ ScDocAttrIterator

friend class ScDocAttrIterator
friend

Definition at line 334 of file document.hxx.

◆ ScDocRowHeightUpdater

friend class ScDocRowHeightUpdater
friend

Definition at line 337 of file document.hxx.

◆ ScDocShell

friend class ScDocShell
friend

Definition at line 336 of file document.hxx.

◆ ScDocumentImport

friend class ScDocumentImport
friend

Definition at line 342 of file document.hxx.

◆ ScHorizontalAttrIterator

friend class ScHorizontalAttrIterator
friend

Definition at line 333 of file document.hxx.

◆ ScHorizontalCellIterator

friend class ScHorizontalCellIterator
friend

Definition at line 332 of file document.hxx.

◆ ScHorizontalValueIterator

friend class ScHorizontalValueIterator
friend

Definition at line 325 of file document.hxx.

◆ ScMutationDisable

friend struct ScMutationDisable
friend

Definition at line 345 of file document.hxx.

◆ ScMutationGuard

friend struct ScMutationGuard
friend

Definition at line 344 of file document.hxx.

◆ ScQueryCellIteratorAccessSpecific

template<ScQueryCellIteratorAccess accessType>
friend class ScQueryCellIteratorAccessSpecific
friend

Definition at line 331 of file document.hxx.

◆ ScQueryCellIteratorBase

template<ScQueryCellIteratorAccess accessType, ScQueryCellIteratorType queryType>
friend class ScQueryCellIteratorBase
friend

Definition at line 329 of file document.hxx.

◆ ScRefCellValue

friend struct ScRefCellValue
friend

Definition at line 341 of file document.hxx.

Referenced by GetRefCellValue().

◆ ScTable

friend class ScTable
friend

◆ ScValueIterator

friend class ScValueIterator
friend

Definition at line 324 of file document.hxx.

Member Data Documentation

◆ aCurTextWidthCalcPos

ScAddress ScDocument::aCurTextWidthCalcPos
private

Definition at line 439 of file document.hxx.

Referenced by IdleCalcTextWidth(), and ScDocument().

◆ aDocCodeName

OUString ScDocument::aDocCodeName
private

Definition at line 418 of file document.hxx.

Referenced by GetCodeName(), and SetCodeName().

◆ aDocName

OUString ScDocument::aDocName
private

Pool for all external formula parsers used by this document.

Definition at line 417 of file document.hxx.

Referenced by CopyTabToClip(), CopyToClip(), CopyToDocument(), GetDocStat(), and SetName().

◆ aEmbedRange

ScRange ScDocument::aEmbedRange
private

◆ aLastTableOpParams

ScInterpreterTableOpParams ScDocument::aLastTableOpParams

Definition at line 448 of file document.hxx.

Referenced by InvalidateLastTableOpParams(), and ScInterpreter::ScTableOp().

◆ apTemporaryChartLock

std::unique_ptr< ScTemporaryChartLock > ScDocument::apTemporaryChartLock
private

Definition at line 384 of file document.hxx.

Referenced by KeyInput(), ScDocument(), StopTemporaryChartLock(), UpdateChart(), and ~ScDocument().

◆ aTrackIdle

Idle ScDocument::aTrackIdle
private

Definition at line 441 of file document.hxx.

Referenced by ScDocument(), and StartTrackTimer().

◆ bAutoCalc

bool ScDocument::bAutoCalc
private

◆ bAutoCalcShellDisabled

bool ScDocument::bAutoCalcShellDisabled
private

Definition at line 488 of file document.hxx.

Referenced by IsAutoCalcShellDisabled(), and SetAutoCalcShellDisabled().

◆ bCalcingAfterLoad

bool ScDocument::bCalcingAfterLoad
private

Definition at line 506 of file document.hxx.

Referenced by CalcAfterLoad(), and IsCalcingAfterLoad().

◆ bCalculatingFormulaTree

bool ScDocument::bCalculatingFormulaTree
private

Definition at line 493 of file document.hxx.

Referenced by CalcFormulaTree(), and IsCalculatingFormulaTree().

◆ bChartListenerCollectionNeedsUpdate

bool ScDocument::bChartListenerCollectionNeedsUpdate
private

◆ bDelayedDeletingBroadcasters

bool ScDocument::bDelayedDeletingBroadcasters
private

Definition at line 531 of file document.hxx.

Referenced by EnableDelayDeletingBroadcasters(), and IsDelayedDeletingBroadcasters().

◆ bDetectiveDirty

bool ScDocument::bDetectiveDirty
private

Definition at line 522 of file document.hxx.

Referenced by IsDetectiveDirty(), and SetDetectiveDirty().

◆ bExpandRefs

bool ScDocument::bExpandRefs
private

Definition at line 520 of file document.hxx.

Referenced by IsExpandRefs(), and SetExpandRefs().

◆ bForcedFormulaPending

bool ScDocument::bForcedFormulaPending
private

Definition at line 492 of file document.hxx.

Referenced by IsForcedFormulaPending(), and SetForcedFormulaPending().

◆ bHasForcedFormulas

bool ScDocument::bHasForcedFormulas
private

Definition at line 513 of file document.hxx.

Referenced by SetAutoCalc(), and SetForcedFormulas().

◆ bImportingXML

bool ScDocument::bImportingXML
private

◆ bInDtorClear

bool ScDocument::bInDtorClear
private

Definition at line 515 of file document.hxx.

Referenced by IsInDtorClear(), UpdateChart(), and ~ScDocument().

◆ bInLinkUpdate

bool ScDocument::bInLinkUpdate
private

Definition at line 510 of file document.hxx.

Referenced by IsInLinkUpdate(), SetInLinkUpdate(), and ~ScDocument().

◆ bInsertingFromOtherDoc

bool ScDocument::bInsertingFromOtherDoc
private

◆ bInUnoBroadcast

bool ScDocument::bInUnoBroadcast
private

Definition at line 542 of file document.hxx.

Referenced by AddUnoListenerCall(), BroadcastUno(), and RemoveUnoObject().

◆ bInUnoListenerCall

bool ScDocument::bInUnoListenerCall
private

Definition at line 543 of file document.hxx.

Referenced by BroadcastUno().

◆ bIsClip

bool ScDocument::bIsClip
private

◆ bIsEmbedded

bool ScDocument::bIsEmbedded
private

Definition at line 499 of file document.hxx.

Referenced by IsEmbedded(), ResetEmbedded(), SetEmbedded(), and UpdateReference().

◆ bIsFunctionAccess

bool ScDocument::bIsFunctionAccess
private

Definition at line 496 of file document.hxx.

Referenced by IsFunctionAccess().

◆ bIsUndo

bool ScDocument::bIsUndo
private

◆ bIsVisible

bool ScDocument::bIsVisible
private

Definition at line 497 of file document.hxx.

Referenced by IsDocVisible(), RepaintRange(), and SetDocVisible().

◆ bLinkFormulaNeedingCheck

bool ScDocument::bLinkFormulaNeedingCheck
private

Definition at line 533 of file document.hxx.

Referenced by HasLinkFormulaNeedingCheck(), and SetLinkFormulaNeedingCheck().

◆ bLoadingMedium

bool ScDocument::bLoadingMedium
private

Definition at line 504 of file document.hxx.

Referenced by MakeTable(), and SetLoadingMedium().

◆ bNoListening

bool ScDocument::bNoListening
private

Definition at line 508 of file document.hxx.

Referenced by GetNoListening(), and SetNoListening().

◆ bPastingDrawFromOtherDoc

bool ScDocument::bPastingDrawFromOtherDoc
private

Definition at line 538 of file document.hxx.

Referenced by PastingDrawFromOtherDoc(), and SetPastingDrawFromOtherDoc().

◆ bStyleSheetUsageInvalid

bool ScDocument::bStyleSheetUsageInvalid
mutableprivate

Definition at line 547 of file document.hxx.

Referenced by InvalidateStyleSheetUsage(), and IsStyleSheetUsed().

◆ eCjkLanguage

LanguageType ScDocument::eCjkLanguage
private

Definition at line 453 of file document.hxx.

Referenced by GetLanguage(), SetLanguage(), and UpdateDrawLanguages().

◆ eCtlLanguage

LanguageType ScDocument::eCtlLanguage
private

Definition at line 454 of file document.hxx.

Referenced by GetLanguage(), SetLanguage(), and UpdateDrawLanguages().

◆ eGrammar

formula::FormulaGrammar::Grammar ScDocument::eGrammar
private

Definition at line 545 of file document.hxx.

Referenced by GetAddressConvention(), GetGrammar(), and SetGrammar().

◆ eHardRecalcState

HardRecalcState ScDocument::eHardRecalcState
private

◆ eLanguage

LanguageType ScDocument::eLanguage
private

Definition at line 452 of file document.hxx.

Referenced by GetLanguage(), SetLanguage(), and UpdateDrawLanguages().

◆ eLinkMode

ScLkUpdMode ScDocument::eLinkMode
private

Definition at line 485 of file document.hxx.

Referenced by GetLinkMode(), and SetLinkMode().

◆ eSrcSet

rtl_TextEncoding ScDocument::eSrcSet
private

Definition at line 455 of file document.hxx.

Referenced by ScDocument(), SetSrcCharSet(), and UpdateFontCharSet().

◆ eStorageGrammar

formula::FormulaGrammar::Grammar ScDocument::eStorageGrammar
private

The compiler grammar used in document storage.

GRAM_PODF for ODF 1.1 documents, GRAM_ODFF for ODF 1.2 documents.

Definition at line 459 of file document.hxx.

Referenced by GetStorageGrammar(), and SetStorageGrammar().

◆ m_pIconSetBitmapMap

std::unique_ptr<sc::IconSetBitmapMap> ScDocument::m_pIconSetBitmapMap
private

Definition at line 568 of file document.hxx.

Referenced by GetIconSetBitmapMap().

◆ m_TableOpList

std::vector<ScInterpreterTableOpParams*> ScDocument::m_TableOpList

◆ maCalcConfig

ScCalcConfig ScDocument::maCalcConfig
private

Definition at line 366 of file document.hxx.

Referenced by GetCalcConfig(), and SetCalcConfig().

◆ maFileURL

OUString ScDocument::maFileURL
private

Definition at line 419 of file document.hxx.

Referenced by CopyTabToClip(), CopyToClip(), GetFileURL(), InitUndo(), and TransferTab().

◆ maInterpreterContext

ScInterpreterContext ScDocument::maInterpreterContext
mutableprivate

Definition at line 473 of file document.hxx.

Referenced by GetNonThreadedContext(), and MergeContextBackIntoNonThreadedContext().

◆ maNonThreaded

ScDocumentThreadSpecific ScDocument::maNonThreaded
private

Definition at line 467 of file document.hxx.

Referenced by GetRecursionHelper(), and ~ScDocument().

◆ maPreviewSelection

ScMarkData ScDocument::maPreviewSelection
private

Definition at line 433 of file document.hxx.

Referenced by GetPreviewSelection(), ScDocument(), and SetPreviewSelection().

◆ maSubTotalCells

std::set<ScFormulaCell*> ScDocument::maSubTotalCells
private

Definition at line 557 of file document.hxx.

Referenced by AddSubTotalCell(), RemoveSubTotalCell(), and SetSubTotalCellsDirty().

◆ maTabNames

std::vector<OUString> ScDocument::maTabNames
private

Definition at line 380 of file document.hxx.

Referenced by CopyTabToClip(), CopyToClip(), and GetCopyTabName().

◆ maTabs

TableContainer ScDocument::maTabs
private

Definition at line 378 of file document.hxx.

Referenced by AddUndoTab(), AppendTabOnLoad(), ApplyFrameAreaTab(), ApplyPatternArea(), ApplyPatternIfNumberformatIncompatible(), ApplySelectionFrame(), ApplySelectionLineStyle(), ApplySelectionPattern(), ApplySelectionStyle(), ApplyStyleArea(), AutoFormat(), Broadcast(), CalcAfterLoad(), CalcAll(), CanInsertCol(), CanInsertRow(), ChangeSelectionIndent(), CheckVectorizationState(), ClampToAllocatedColumns(), Clear(), ClearSelectionItems(), CompileAll(), CompileColRowNameFormula(), CompileDBFormula(), CompileErrorCells(), CompileHybridFormula(), CompileXML(), ContainsNotesInRange(), CopyBlockFromClip(), CopyCellToDocument(), CopyFromClip(), CopyMultiRangeFromClip(), CopyNonFilteredFromClip(), CopyOneCellFromClip(), CopyRangeNamesToClip(), CopyScenario(), CopyStaticToDocument(), CopyTab(), CopyTabProtection(), CopyTabToClip(), CopyToClip(), CopyUpdated(), CreateAllNoteCaptions(), CreatePrintRangeSaver(), CreateSelectionPattern(), ScAttrRectIterator::DataChanged(), DeleteArea(), DeleteBeforeCopyFromClip(), DeleteCol(), DeleteObjectsInArea(), DeleteRow(), DeleteSelection(), DeleteTab(), DeleteTabs(), EnableDelayDeletingBroadcasters(), EnsureTable(), ExtendMergeSel(), ExtendPrintArea(), FetchTable(), Fill(), FillInfo(), FillTab(), FillTabMarked(), finalizeOutlineImport(), FindMaxRotCol(), GetAllNoteCaptionsState(), GetAllNoteEntries(), GetAllocatedColumnsCount(), GetAllTableNames(), GetAllTabRangeNames(), ScDBQueryDataIterator::GetAttrArrayByCol(), GetAutoFillPreview(), GetBroadcasterState(), GetCellArea(), GetCellCount(), GetChartByName(), GetClipArea(), GetCodeCount(), ScCellIterator::getColumn(), GetCondFormList(), ScValueIterator::GetCurNumFmtInfo(), GetDataEntries(), GetEmbeddedRect(), GetFilterEntries(), GetMaxTableNumber(), ScHorizontalValueIterator::GetNext(), ScDocAttrIterator::GetNext(), ScAttrRectIterator::GetNext(), GetNotePosition(), GetNotesInRange(), GetNumberFormat(), GetNumberFormatInfo(), GetObjectAtPoint(), GetOldChartParameters(), GetRange(), GetRangeNameMap(), GetRangeScriptType(), GetRowBreakIterator(), GetRowForHeight(), GetSelectionFrame(), GetSelectionFunction(), GetSelectionStyle(), GetTable(), GetTableCount(), ScValueIterator::GetThis(), HasAnyCalcNotification(), HasAttrib(), HasChartAtPoint(), HasClipFilteredRows(), HasLink(), HasPrintRange(), HasSelectedBlockMatrixFragment(), HasStringCells(), HasTable(), IdleCalcTextWidth(), ScCellIterator::init(), ScColumn::Init(), InitDrawLayer(), ScHorizontalAttrIterator::InitForNextRow(), InitUndo(), InitUndoSelected(), InsertCol(), InsertMatrixFormula(), InsertRow(), InsertTab(), InsertTableOp(), InsertTabs(), InvalidateStreamOnSave(), InvalidateTableArea(), InvalidateTextWidth(), IsBlockEmpty(), IsPageStyleInUse(), ScDBQueryDataIterator::IsQueryValid(), IsSelectionEditable(), IsStyleSheetUsed(), MakeTable(), ModifyStyleSheet(), MoveTab(), NeedPageResetAfterTab(), PreprocessAllRangeNamesUpdate(), PreprocessDBDataUpdate(), PreprocessRangeNameUpdate(), RemovePageStyleInUse(), RenamePageStyleInUse(), RenameTab(), ResetCalcNotifications(), ResetChanged(), ResetClip(), ResolveStaticReference(), RestorePrintRanges(), ScAttrRectIterator::ScAttrRectIterator(), ScColumnTextWidthIterator::ScColumnTextWidthIterator(), ScDocAttrIterator::ScDocAttrIterator(), ScHorizontalAttrIterator::ScHorizontalAttrIterator(), SearchAndReplace(), SearchSparklineGroup(), SetAllFormulasDirty(), SetChartRangeList(), SetDirty(), SetDirtyFromClip(), SetImportingXML(), SetLoadingMedium(), ScHorizontalCellIterator::SetTab(), SetTableOpDirty(), SetTabNameOnLoad(), ShrinkToDataArea(), Solver(), StartAllListeners(), StartNeededListeners(), StyleSheetChanged(), SyncColRowFlags(), TestCopyScenario(), TransferTab(), TransliterateText(), TransposeClip(), UndoToDocument(), ScDocRowHeightUpdater::update(), ScDocRowHeightUpdater::updateAll(), UpdateAllRowHeights(), UpdateChartArea(), UpdateChartListenerCollection(), UpdateGrow(), UpdateReference(), UpdateTranspose(), and ValidNewTabName().

◆ maThreadSpecific

thread_local ScDocumentThreadSpecific ScDocument::maThreadSpecific
staticprivate

◆ mbChangeReadOnlyEnabled

bool ScDocument::mbChangeReadOnlyEnabled
private

◆ mbDocShellRecalc

bool ScDocument::mbDocShellRecalc
private

Definition at line 573 of file document.hxx.

Referenced by IsInDocShellRecalc(), and SetDocShellRecalc().

◆ mbEmbedFonts

bool ScDocument::mbEmbedFonts
private

Definition at line 560 of file document.hxx.

Referenced by IsEmbedFonts(), and SetEmbedFonts().

◆ mbEmbedFontScriptAsian

bool ScDocument::mbEmbedFontScriptAsian
private

Definition at line 563 of file document.hxx.

Referenced by IsEmbedFontScriptAsian(), and SetEmbedFontScriptAsian().

◆ mbEmbedFontScriptComplex

bool ScDocument::mbEmbedFontScriptComplex
private

Definition at line 564 of file document.hxx.

Referenced by IsEmbedFontScriptComplex(), and SetEmbedFontScriptComplex().

◆ mbEmbedFontScriptLatin

bool ScDocument::mbEmbedFontScriptLatin
private

Definition at line 562 of file document.hxx.

Referenced by IsEmbedFontScriptLatin(), and SetEmbedFontScriptLatin().

◆ mbEmbedUsedFontsOnly

bool ScDocument::mbEmbedUsedFontsOnly
private

Definition at line 561 of file document.hxx.

Referenced by IsEmbedUsedFontsOnly(), and SetEmbedUsedFontsOnly().

◆ mbExecuteLinkEnabled

bool ScDocument::mbExecuteLinkEnabled
private

Definition at line 550 of file document.hxx.

Referenced by EnableExecuteLink(), and IsExecuteLinkEnabled().

◆ mbFinalTrackFormulas

bool ScDocument::mbFinalTrackFormulas
private

Definition at line 571 of file document.hxx.

Referenced by FinalTrackFormulas(), and IsFinalTrackFormulas().

◆ mbFormulaGroupCxtBlockDiscard

bool ScDocument::mbFormulaGroupCxtBlockDiscard
private

Definition at line 364 of file document.hxx.

Referenced by BlockFormulaGroupContextDiscard(), and DiscardFormulaGroupContext().

◆ mbIdleEnabled

bool ScDocument::mbIdleEnabled
private

Definition at line 509 of file document.hxx.

Referenced by EnableIdle(), IdleCalcTextWidth(), and IsIdleEnabled().

◆ mbLayoutStrings

bool ScDocument::mbLayoutStrings
private

Definition at line 575 of file document.hxx.

Referenced by IsInLayoutStrings(), and SetLayoutStrings().

◆ mbStreamValidLocked

bool ScDocument::mbStreamValidLocked
private

Definition at line 552 of file document.hxx.

Referenced by IsStreamValidLocked(), and LockStreamValid().

◆ mbTrackFormulasPending

bool ScDocument::mbTrackFormulasPending
private

◆ mbUndoEnabled

bool ScDocument::mbUndoEnabled
private

Definition at line 549 of file document.hxx.

Referenced by EnableUndo(), and IsUndoEnabled().

◆ mbUserInteractionEnabled

bool ScDocument::mbUserInteractionEnabled
private

Definition at line 553 of file document.hxx.

Referenced by EnableUserInteraction(), and IsUserInteractionEnabled().

◆ mnImagePreferredDPI

sal_Int32 ScDocument::mnImagePreferredDPI
private

Definition at line 566 of file document.hxx.

Referenced by GetImagePreferredDPI(), and SetImagePreferredDPI().

◆ mnMutationGuardFlags

size_t ScDocument::mnMutationGuardFlags
private

◆ mnNamedRangesLockCount

sal_Int16 ScDocument::mnNamedRangesLockCount
private

Definition at line 555 of file document.hxx.

Referenced by GetNamedRangesLockCount(), and SetNamedRangesLockCount().

◆ mpAnonymousDBData

std::unique_ptr<ScDBData> ScDocument::mpAnonymousDBData
private

Definition at line 402 of file document.hxx.

Referenced by GetAnonymousDBData(), SetAnonymousDBData(), and ~ScDocument().

◆ mpCellStringPool

std::shared_ptr<svl::SharedStringPool> ScDocument::mpCellStringPool
private

Definition at line 360 of file document.hxx.

Referenced by GetSharedStringPool(), SharePooledResources(), and ~ScDocument().

◆ mpClipOptions

std::unique_ptr<ScClipOptions> ScDocument::mpClipOptions
private

Definition at line 426 of file document.hxx.

Referenced by GetClipOptions(), and SetClipOptions().

◆ mpClipParam

std::unique_ptr<ScClipParam> ScDocument::mpClipParam
private

Definition at line 408 of file document.hxx.

Referenced by GetClipParam(), and SetClipParam().

◆ mpDataMapper

std::unique_ptr<sc::ExternalDataMapper> ScDocument::mpDataMapper
private

Definition at line 403 of file document.hxx.

Referenced by GetExternalDataMapper().

◆ mpDocLinkMgr

std::unique_ptr<sc::DocumentLinkManager> ScDocument::mpDocLinkMgr
private

Definition at line 361 of file document.hxx.

Referenced by GetDocLinkManager().

◆ mpDrawLayer

std::unique_ptr<ScDrawLayer> ScDocument::mpDrawLayer
private

◆ mpEditEngine

std::unique_ptr<ScFieldEditEngine> ScDocument::mpEditEngine
private

◆ mpFormulaGroupCxt

std::shared_ptr<sc::FormulaGroupContext> ScDocument::mpFormulaGroupCxt
private

◆ mpMacroMgr

std::unique_ptr<ScMacroManager> ScDocument::mpMacroMgr
private

Definition at line 411 of file document.hxx.

Referenced by GetMacroManager().

◆ mpNoteEngine

std::unique_ptr<ScNoteEditEngine> ScDocument::mpNoteEngine
private

Definition at line 370 of file document.hxx.

Referenced by GetNoteEngine(), and ~ScDocument().

◆ mpPrinter

VclPtr<SfxPrinter> ScDocument::mpPrinter
private

Definition at line 372 of file document.hxx.

Referenced by GetPrinter(), SetPrinter(), SetPrintOptions(), and ~ScDocument().

◆ mpShell

SfxObjectShell* ScDocument::mpShell
private

◆ mpUndoManager

ScUndoManager* ScDocument::mpUndoManager
private

Definition at line 368 of file document.hxx.

Referenced by GetUndoManager().

◆ mpVirtualDevice_100th_mm

VclPtr<VirtualDevice> ScDocument::mpVirtualDevice_100th_mm
private

Definition at line 373 of file document.hxx.

Referenced by GetVirtualDevice_100th_mm(), and ~ScDocument().

◆ mScLookupMutex

std::shared_mutex ScDocument::mScLookupMutex
private

Definition at line 475 of file document.hxx.

Referenced by GetLookupCache(), and GetSortedRangeCache().

◆ mSheetSortParams

std::map< SCTAB, ScSortParam > ScDocument::mSheetSortParams
private

Definition at line 2700 of file document.hxx.

Referenced by GetSortParam(), and SetSortParam().

◆ mxFormulaParserPool

std::unique_ptr< ScFormulaParserPool > ScDocument::mxFormulaParserPool
mutableprivate

Definition at line 415 of file document.hxx.

Referenced by GetFormulaParserPool(), and ~ScDocument().

◆ mxPoolHelper

rtl::Reference<ScPoolHelper> ScDocument::mxPoolHelper
private

◆ mxScSortedRangeCache

std::unique_ptr<ScSortedRangeCacheMap> ScDocument::mxScSortedRangeCache
private

Definition at line 476 of file document.hxx.

Referenced by ClearLookupCaches(), GetSortedRangeCache(), and RemoveSortedRangeCache().

◆ mxSheetLimits

rtl::Reference<ScSheetLimits> ScDocument::mxSheetLimits
private

◆ mxVbaEvents

css::uno::Reference< css::script::vba::XVBAEventProcessor > ScDocument::mxVbaEvents
private

Definition at line 444 of file document.hxx.

Referenced by GetVbaEventProcessor(), HasSheetEventScript(), and SetVbaEventProcessor().

◆ nAdjustHeightLock

sal_uInt32 ScDocument::nAdjustHeightLock
private

Definition at line 544 of file document.hxx.

Referenced by IsAdjustHeightLocked(), LockAdjustHeight(), and UnlockAdjustHeight().

◆ nAsianCompression

CharCompressType ScDocument::nAsianCompression
private

Definition at line 535 of file document.hxx.

Referenced by GetAsianCompression(), IsValidAsianCompression(), and SetAsianCompression().

◆ nAsianKerning

sal_uInt8 ScDocument::nAsianKerning
private

Definition at line 536 of file document.hxx.

Referenced by GetAsianKerning(), IsValidAsianKerning(), and SetAsianKerning().

◆ nFormulaCodeInTree

sal_uInt64 ScDocument::nFormulaCodeInTree
private

◆ nFormulaTrackCount

sal_uInt16 ScDocument::nFormulaTrackCount
private

Definition at line 479 of file document.hxx.

Referenced by AppendToFormulaTrack(), RemoveFromFormulaTrack(), and TrackFormulas().

◆ nInDdeLinkUpdate

sal_uInt8 ScDocument::nInDdeLinkUpdate
private

Definition at line 540 of file document.hxx.

Referenced by DecInDdeLinkUpdate(), IncInDdeLinkUpdate(), and IsInDdeLinkUpdate().

◆ nInterpreterTableOpLevel

sal_uInt16 ScDocument::nInterpreterTableOpLevel
private

◆ nInterpretLevel

sal_uInt16 ScDocument::nInterpretLevel
private

Definition at line 463 of file document.hxx.

Referenced by DecInterpretLevel(), IncInterpretLevel(), and IsInInterpreter().

◆ nMacroInterpretLevel

sal_uInt16 ScDocument::nMacroInterpretLevel
private

◆ nPosLeft

SCCOL ScDocument::nPosLeft
private

Definition at line 482 of file document.hxx.

Referenced by GetPosLeft(), and SetPosLeft().

◆ nPosTop

SCROW ScDocument::nPosTop
private

Definition at line 483 of file document.hxx.

Referenced by GetPosTop(), and SetPosTop().

◆ nRangeOverflowType

ErrCode ScDocument::nRangeOverflowType
private

Definition at line 436 of file document.hxx.

Referenced by GetRangeOverflowType(), HasRangeOverflow(), and SetRangeOverflowType().

◆ nSrcVer

const sal_uInt16 ScDocument::nSrcVer = SC_CURRENT_VERSION
staticprivate

Definition at line 478 of file document.hxx.

Referenced by GetSrcVersion(), and UpdateFontCharSet().

◆ nUnoObjectId

sal_Int64 ScDocument::nUnoObjectId
private

Definition at line 434 of file document.hxx.

Referenced by GetNewUnoId().

◆ nVisibleTab

SCTAB ScDocument::nVisibleTab
private

Definition at line 481 of file document.hxx.

Referenced by GetVisibleTab(), and SetVisibleTab().

◆ nXMLImportedFormulaCount

sal_uInt64 ScDocument::nXMLImportedFormulaCount
private

◆ pAutoNameCache

std::unique_ptr<ScAutoNameCache> ScDocument::pAutoNameCache
private

Definition at line 429 of file document.hxx.

Referenced by CompileXML(), GetAutoNameCache(), SetAutoNameCache(), and ~ScDocument().

◆ pBASM

std::unique_ptr<ScBroadcastAreaSlotMachine> ScDocument::pBASM
private

◆ pCacheFieldEditEngine

std::unique_ptr<ScFieldEditEngine> ScDocument::pCacheFieldEditEngine
private

Definition at line 405 of file document.hxx.

Referenced by CreateFieldEditEngine(), DisposeFieldEditEngine(), and ~ScDocument().

◆ pChangeTrack

std::unique_ptr<ScChangeTrack> ScDocument::pChangeTrack
private

◆ pChangeViewSettings

std::unique_ptr<ScChangeViewSettings> ScDocument::pChangeViewSettings
private

Definition at line 398 of file document.hxx.

Referenced by GetChangeViewSettings(), SetChangeViewSettings(), and ~ScDocument().

◆ pChartListenerCollection

std::unique_ptr<ScChartListenerCollection> ScDocument::pChartListenerCollection
private

◆ pClipData

std::unique_ptr<SvMemoryStream> ScDocument::pClipData
private

Definition at line 392 of file document.hxx.

Referenced by CopyDdeLinks(), InitClipPtrs(), and ~ScDocument().

◆ pColorList

rtl::Reference<XColorList> ScDocument::pColorList
private

Definition at line 375 of file document.hxx.

◆ pConsolidateDlgData

std::unique_ptr<ScConsolidateParam> ScDocument::pConsolidateDlgData
private

Definition at line 427 of file document.hxx.

Referenced by GetConsolidateDlgData(), SetConsolidateDlgData(), and ~ScDocument().

◆ pDBCollection

std::unique_ptr<ScDBCollection> ScDocument::pDBCollection
private

◆ pDelayedFormulaGrouping

std::unique_ptr< ScRange > ScDocument::pDelayedFormulaGrouping
private

◆ pDelayedStartListeningFormulaCells

std::unordered_map< ScColumn*, std::pair<SCROW, SCROW> > ScDocument::pDelayedStartListeningFormulaCells
private

◆ pDetOpList

std::unique_ptr<ScDetOpList> ScDocument::pDetOpList
private

◆ pDocOptions

std::unique_ptr<ScDocOptions> ScDocument::pDocOptions
private

Definition at line 424 of file document.hxx.

Referenced by GetDocOptions(), ImplCreateOptions(), ImplDeleteOptions(), and SetDocOptions().

◆ pDocProtection

std::unique_ptr<ScDocProtection> ScDocument::pDocProtection
private

Definition at line 407 of file document.hxx.

Referenced by GetDocProtection(), IsDocProtected(), and SetDocProtection().

◆ pDPCollection

std::unique_ptr<ScDPCollection> ScDocument::pDPCollection
private

◆ pEOFormulaTrack

ScFormulaCell* ScDocument::pEOFormulaTrack
private

Definition at line 389 of file document.hxx.

Referenced by AppendToFormulaTrack(), and RemoveFromFormulaTrack().

◆ pEOFormulaTree

ScFormulaCell* ScDocument::pEOFormulaTree
private

Definition at line 387 of file document.hxx.

Referenced by PutInFormulaTree(), and RemoveFromFormulaTree().

◆ pExtDocOptions

std::unique_ptr<ScExtDocOptions> ScDocument::pExtDocOptions
private

◆ pExternalRefMgr

std::unique_ptr<ScExternalRefManager> ScDocument::pExternalRefMgr
private

◆ pFormatExchangeList

SvNumberFormatterIndexTable* ScDocument::pFormatExchangeList
private

Definition at line 377 of file document.hxx.

Referenced by GetFormatExchangeList(), and MergeNumberFormatter().

◆ pFormulaTrack

ScFormulaCell* ScDocument::pFormulaTrack
private

◆ pFormulaTree

ScFormulaCell* ScDocument::pFormulaTree
private

◆ pPreviewCellStyle

ScStyleSheet* ScDocument::pPreviewCellStyle
private

Definition at line 432 of file document.hxx.

Referenced by GetPreviewCellStyle(), and SetPreviewCellStyle().

◆ pPreviewFont

std::unique_ptr<SfxItemSet> ScDocument::pPreviewFont
private

Definition at line 431 of file document.hxx.

Referenced by GetPreviewFont(), SetPreviewFont(), and ~ScDocument().

◆ pRangeName

std::unique_ptr<ScRangeName> ScDocument::pRangeName
mutableprivate

◆ pRefreshTimerControl

std::unique_ptr<ScRefreshTimerControl> ScDocument::pRefreshTimerControl
private

Definition at line 400 of file document.hxx.

Referenced by GetRefreshTimerControlAddress(), ScDocument(), and ~ScDocument().

◆ pScriptTypeData

std::unique_ptr<ScScriptTypeData> ScDocument::pScriptTypeData
private

Definition at line 399 of file document.hxx.

Referenced by GetBreakIterator(), and ~ScDocument().

◆ pSelectionAttr

std::unique_ptr<ScPatternAttr> ScDocument::pSelectionAttr
private

Definition at line 385 of file document.hxx.

Referenced by Clear(), GetSelectionPattern(), ScDocument(), and ~ScDocument().

◆ pUnoBroadcaster

std::unique_ptr<SfxBroadcaster> ScDocument::pUnoBroadcaster
private

◆ pUnoListenerCalls

std::unique_ptr<ScUnoListenerCalls> ScDocument::pUnoListenerCalls
private

Definition at line 396 of file document.hxx.

Referenced by AddUnoListenerCall(), BroadcastUno(), and ~ScDocument().

◆ pUnoRefUndoList

std::unique_ptr<ScUnoRefList> ScDocument::pUnoRefUndoList
private

◆ pValidationList

std::unique_ptr<ScValidationDataList> ScDocument::pValidationList
private

◆ pViewOptions

std::unique_ptr<ScViewOptions> ScDocument::pViewOptions
private

Definition at line 423 of file document.hxx.

Referenced by GetViewOptions(), ImplCreateOptions(), ImplDeleteOptions(), and SetViewOptions().

◆ xColNameRanges

ScRangePairListRef ScDocument::xColNameRanges
private

◆ xForbiddenCharacters

std::shared_ptr<SvxForbiddenCharactersTable> ScDocument::xForbiddenCharacters
private

◆ xRowNameRanges

ScRangePairListRef ScDocument::xRowNameRanges
private

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