LibreOffice Module sc (master) 1
|
#include <document.hxx>
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) |
ScInterpreterContext & | GetNonThreadedContext () const |
ScInterpreterContext & | GetThreadedContext () const |
void | SetupContextFromNonThreadedContext (ScInterpreterContext &threadedContext, int threadNumber) |
void | MergeContextBackIntoNonThreadedContext (ScInterpreterContext &threadedContext, int threadNumber) |
void | SetThreadedGroupCalcInProgress (bool set) |
bool | IsThreadedGroupCalcInProgress () const |
SC_DLLPUBLIC sfx2::LinkManager * | GetLinkManager () |
SC_DLLPUBLIC const sfx2::LinkManager * | GetLinkManager () const |
sc::DocumentLinkManager & | GetDocLinkManager () |
const sc::DocumentLinkManager & | GetDocLinkManager () const |
SC_DLLPUBLIC const ScDocOptions & | GetDocOptions () const |
SC_DLLPUBLIC void | SetDocOptions (const ScDocOptions &rOpt) |
SC_DLLPUBLIC const ScViewOptions & | GetViewOptions () const |
SC_DLLPUBLIC void | SetViewOptions (const ScViewOptions &rOpt) |
void | SetPrintOptions () |
ScExtDocOptions * | GetExtDocOptions () |
SC_DLLPUBLIC void | SetExtDocOptions (std::unique_ptr< ScExtDocOptions > pNewOptions) |
ScClipOptions * | GetClipOptions () |
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 ScConsolidateParam * | GetConsolidateDlgData () const |
void | Clear (bool bFromDestructor=false) |
std::unique_ptr< ScFieldEditEngine > | CreateFieldEditEngine () |
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 ScRangeName * | GetRangeName (SCTAB nTab) const |
SC_DLLPUBLIC ScRangeName * | GetRangeName () const |
void | SetRangeName (SCTAB nTab, std::unique_ptr< ScRangeName > pNew) |
void | SetRangeName (std::unique_ptr< ScRangeName > pNewRangeName) |
bool | IsAddressInRangeName (RangeNameScope eScope, const ScAddress &rAddress) |
ScRangeData * | FindRangeNameBySheetAndIndex (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 |
ScRangePairList * | GetColNameRanges () |
ScRangePairList * | GetRowNameRanges () |
ScRangePairListRef & | GetColNameRangesRef () |
ScRangePairListRef & | GetRowNameRangesRef () |
SC_DLLPUBLIC SCCOL | ClampToAllocatedColumns (SCTAB nTab, SCCOL nCol) const |
SC_DLLPUBLIC SCCOL | GetAllocatedColumnsCount (SCTAB nTab) const |
SC_DLLPUBLIC ScDBCollection * | GetDBCollection () const |
void | SetDBCollection (std::unique_ptr< ScDBCollection > pNewDBCollection, bool bRemoveAutoFilter=false) |
const ScDBData * | GetDBAtCursor (SCCOL nCol, SCROW nRow, SCTAB nTab, ScDBDataPortion ePortion) const |
ScDBData * | GetDBAtCursor (SCCOL nCol, SCROW nRow, SCTAB nTab, ScDBDataPortion ePortion) |
SC_DLLPUBLIC const ScDBData * | GetDBAtArea (SCTAB nTab, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2) const |
SC_DLLPUBLIC ScDBData * | GetDBAtArea (SCTAB nTab, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2) |
void | RefreshDirtyTableColumnNames () |
SC_DLLPUBLIC sc::ExternalDataMapper & | GetExternalDataMapper () |
SC_DLLPUBLIC const ScRangeData * | GetRangeAtBlock (const ScRange &rBlock, OUString &rName, bool *pSheetLocal=nullptr) const |
SC_DLLPUBLIC bool | HasPivotTable () const |
SC_DLLPUBLIC ScDPCollection * | GetDPCollection () |
SC_DLLPUBLIC const ScDPCollection * | GetDPCollection () const |
SC_DLLPUBLIC ScDPObject * | GetDPAtCursor (SCCOL nCol, SCROW nRow, SCTAB nTab) const |
SC_DLLPUBLIC ScDPObject * | GetDPAtCursor (ScAddress const &rAddress) const |
SC_DLLPUBLIC bool | HasDataPilotAtPosition (ScAddress const &rAddress) const |
ScDPObject * | GetDPAtBlock (const ScRange &rBlock) const |
void | StopTemporaryChartLock () |
void | EnsureGraphicNames () |
SdrObject * | GetObjectAtPoint (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 |
ScSheetLimits & | GetSheetLimits () 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 ScDBData * | GetAnonymousDBData (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 ScDBData * | GetAnonymousDBData () |
SC_DLLPUBLIC SCTAB | GetTableCount () const |
SvNumberFormatterIndexTable * | GetFormatExchangeList () const |
SC_DLLPUBLIC ScDocProtection * | GetDocProtection () 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 ScTableProtection * | GetTabProtection (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 ScExternalRefManager * | GetExternalRefManager () const |
bool | IsInExternalReferenceMarking () const |
void | MarkUsedExternalReferences () |
bool | MarkUsedExternalReferences (const ScTokenArray &rArr, const ScAddress &rPos) |
ScFormulaParserPool & | GetFormulaParserPool () 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 ScMatrix * | GetDdeLinkResultMatrix (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... | |
SfxBindings * | GetViewBindings () |
SfxObjectShell * | GetDocumentShell () const |
SC_DLLPUBLIC ScDrawLayer * | GetDrawLayer () |
SC_DLLPUBLIC const ScDrawLayer * | GetDrawLayer () const |
SfxBroadcaster * | GetDrawBroadcaster () |
void | BeginDrawUndo () |
void | BeginUnoRefUndo () |
bool | HasUnoRefUndo () const |
std::unique_ptr< ScUnoRefList > | EndUnoRefUndo () |
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 ScSheetEvents * | GetSheetEvents (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 ScOutlineTable * | GetOutlineTable (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 ScFormulaCell * | SetFormulaCell (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::SharedStringPool & | GetSharedStringPool () |
const svl::SharedStringPool & | GetSharedStringPool () 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 EditTextObject * | GetEditText (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 ScFormulaCell * | GetFormulaCell (const ScAddress &rPos) const |
SC_DLLPUBLIC ScFormulaCell * | GetFormulaCell (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::Sparkline > | GetSparkline (ScAddress const &rPosition) |
Returns sparkline at the address if it exists. More... | |
SC_DLLPUBLIC bool | HasSparkline (ScAddress const &rPosition) |
SC_DLLPUBLIC sc::Sparkline * | CreateSparkline (ScAddress const &rPosition, std::shared_ptr< sc::SparklineGroup > const &pSparklineGroup) |
SC_DLLPUBLIC sc::SparklineList * | GetSparklineList (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::SparklineGroup > | SearchSparklineGroup (tools::Guid const &rGuid) |
SC_DLLPUBLIC ScPostIt * | GetNote (const ScAddress &rPos) |
SC_DLLPUBLIC ScPostIt * | GetNote (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< ScPostIt > | ReleaseNote (const ScAddress &rPos) |
SC_DLLPUBLIC ScPostIt * | GetOrCreateNote (const ScAddress &rPos) |
SC_DLLPUBLIC ScPostIt * | CreateNote (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... | |
ScAutoNameCache * | GetAutoNameCache () |
void | SetPreviewFont (std::unique_ptr< SfxItemSet > pFontSet) |
SfxItemSet * | GetPreviewFont () |
SfxItemSet * | GetPreviewFont (SCCOL nCol, SCROW nRow, SCTAB nTab) |
const ScMarkData & | GetPreviewSelection () const |
void | SetPreviewSelection (const ScMarkData &rSel) |
ScStyleSheet * | GetPreviewCellStyle () |
ScStyleSheet * | GetPreviewCellStyle (SCCOL nCol, SCROW nRow, SCTAB nTab) |
void | SetPreviewCellStyle (ScStyleSheet *pStyle) |
SC_DLLPUBLIC void | SetAutoNameCache (std::unique_ptr< ScAutoNameCache > pCache) |
ScLookupCache & | GetLookupCache (const ScRange &rRange, ScInterpreterContext *pContext) |
Creates a ScLookupCache cache for the range if it doesn't already exist. More... | |
ScSortedRangeCache & | GetSortedRangeCache (const ScRange &rRange, const ScQueryParam ¶m, 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) |
ScClipParam & | GetClipParam () |
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 ScRangeList * | GetScenarioRanges (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 SfxPoolItem * | GetAttr (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 SfxPoolItem * | GetAttr (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 SfxPoolItem * | GetAttr (const ScAddress &rPos, sal_uInt16 nWhich) const |
template<class T > | |
const T * | GetAttr (const ScAddress &rPos, TypedWhichId< T > nWhich) const |
SC_DLLPUBLIC const ScPatternAttr * | GetPattern (SCCOL nCol, SCROW nRow, SCTAB nTab) const |
SC_DLLPUBLIC const ScPatternAttr * | GetPattern (const ScAddress &rPos) const |
SC_DLLPUBLIC const ScPatternAttr * | GetMostUsedPattern (SCCOL nCol, SCROW nStartRow, SCROW nEndRow, SCTAB nTab) const |
const ScPatternAttr * | GetSelectionPattern (const ScMarkData &rMark) |
std::unique_ptr< ScPatternAttr > | CreateSelectionPattern (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 ScConditionalFormat * | GetCondFormat (SCCOL nCol, SCROW nRow, SCTAB nTab) const |
SC_DLLPUBLIC const SfxItemSet * | GetCondResult (SCCOL nCol, SCROW nRow, SCTAB nTab, ScRefCellValue *pCell=nullptr) const |
const SfxItemSet * | GetCondResult (ScRefCellValue &rCell, const ScAddress &rPos, const ScConditionalFormatList &rList, const ScCondFormatIndexes &rIndex) const |
const SfxPoolItem * | GetEffItem (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 () |
ScDetOpList * | GetDetOpList () 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 ScValidationData * | GetValidationEntry (sal_uInt32 nIndex) const |
SC_DLLPUBLIC ScConditionalFormatList * | GetCondFormList (SCTAB nTab) const |
const ScValidationDataList * | GetValidationList () const |
ScValidationDataList * | GetValidationList () |
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 ScStyleSheet * | GetStyle (SCCOL nCol, SCROW nRow, SCTAB nTab) const |
const ScStyleSheet * | GetSelectionStyle (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 ScPatternAttr * | SetPattern (SCCOL nCol, SCROW nRow, SCTAB nTab, std::unique_ptr< ScPatternAttr > pAttr) |
SC_DLLPUBLIC const ScPatternAttr * | SetPattern (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 ScPatternAttr * | GetDefPattern () const |
SC_DLLPUBLIC ScDocumentPool * | GetPool () |
SC_DLLPUBLIC ScStyleSheetPool * | GetStyleSheetPool () 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 ScRange * | GetPrintRange (SCTAB nTab, sal_uInt16 nPos) |
SC_DLLPUBLIC std::optional< ScRange > | GetRepeatColRange (SCTAB nTab) |
SC_DLLPUBLIC std::optional< ScRange > | GetRepeatRowRange (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< ScPrintRangeSaver > | CreatePrintRangeSaver () 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 SvNumberFormatter * | GetFormatTable () 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) |
SfxPrinter * | GetPrinter (bool bCreateIfNotExist=true) |
void | SetPrinter (VclPtr< SfxPrinter > const &pNewPrinter) |
VirtualDevice * | GetVirtualDevice_100th_mm () |
SC_DLLPUBLIC OutputDevice * | GetRefDevice () |
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 ErrCode & | GetRangeOverflowType () 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 |
ScBroadcastAreaSlotMachine * | GetBASM () const |
SC_DLLPUBLIC ScChartListenerCollection * | GetChartListenerCollection () 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) |
ScChangeViewSettings * | GetChangeViewSettings () 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 ScMacroManager * | GetMacroManager () |
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< Color > | GetDocColors () |
sc::IconSetBitmapMap & | GetIconSetBitmapMap () |
std::set< SCCOL > | QueryColumnsWithFormulaCells (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 () |
ScRecursionHelper & | GetRecursionHelper () |
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 () |
ScChangeTrack * | GetChangeTrack () 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 SfxItemPool * | GetEditPool () const |
SC_DLLPUBLIC SfxItemPool * | GetEnginePool () const |
SC_DLLPUBLIC ScFieldEditEngine & | GetEditEngine () |
SC_DLLPUBLIC ScNoteEditEngine & | GetNoteEngine () |
std::unique_ptr< EditTextObject > | CreateSharedStringTextObject (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 ScUndoManager * | GetUndoManager () |
bool | IsInVBAMode () const |
ScRowBreakIterator * | GetRowBreakIterator (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... | |
SvtBroadcaster * | GetBroadcaster (const ScAddress &rPos) |
const SvtBroadcaster * | GetBroadcaster (const ScAddress &rPos) const |
void | DeleteBroadcasters (sc::ColumnBlockPosition &rBlockPos, const ScAddress &rTopPos, SCROW nLength) |
std::optional< sc::ColumnIterator > | GetColumnIterator (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 ScCalcConfig & | GetCalcConfig () 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 ScTable * | FetchTable (SCTAB nTab) |
const ScTable * | FetchTable (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< ScTableUniquePtr > | TableContainer |
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) |
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 |
Definition at line 322 of file document.hxx.
|
private |
Definition at line 347 of file document.hxx.
|
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.
ScDocument::ScDocument | ( | ScDocumentMode | eMode = SCDOCMODE_DOCUMENT , |
SfxObjectShell * | pDocShell = nullptr |
||
) |
Definition at line 114 of file documen2.cxx.
References aCurTextWidthCalcPos, apTemporaryChartLock, aTrackIdle, ScGlobal::eLnge, eMode, eSrcSet, getCharClass(), formula::FormulaGrammar::GRAM_STORAGE_DEFAULT, ImplCreateOptions(), Invalid, utl::ConfigManager::IsFuzzing(), LINK, make_shared(), maPreviewSelection, MaxCol(), mxPoolHelper, mxSheetLimits, OFF, pBASM, pChartListenerCollection, pDBCollection, pRefreshTimerControl, pSelectionAttr, SCDOCMODE_DOCUMENT, SCDOCMODE_FUNCTIONACCESS, Timer::SetInvokeHandler(), SetLanguage(), SetStorageGrammar(), xColNameRanges, and xRowNameRanges.
Referenced by FillTab(), and FillTabMarked().
ScDocument::~ScDocument | ( | ) |
Definition at line 346 of file documen2.cxx.
References apTemporaryChartLock, bInDtorClear, bInLinkUpdate, bIsClip, bIsUndo, Clear(), ClearLookupCaches(), sc::SharedStringPoolPurge::delayedPurge(), VclPtr< class reference_type >::disposeAndClear(), GetRefreshTimerControlAddress(), comphelper::ThreadPool::getSharedOptimalPool(), ScGlobal::GetSharedStringPoolPurge(), ImplDeleteOptions(), IsClipOrUndo(), comphelper::ThreadPool::joinThreadsIfIdle(), maNonThreaded, maThreadSpecific, mpAnonymousDBData, mpCellStringPool, mpDrawLayer, mpEditEngine, mpFormulaGroupCxt, mpNoteEngine, mpPrinter, mpVirtualDevice_100th_mm, mxFormulaParserPool, mxPoolHelper, pAutoNameCache, pBASM, pCacheFieldEditEngine, pChangeTrack, pChangeViewSettings, pChartListenerCollection, pClipData, pConsolidateDlgData, pDBCollection, pDelayedFormulaGrouping, pDelayedStartListeningFormulaCells, pDetOpList, pDPCollection, pExternalRefMgr, pPreviewFont, pRangeName, pRefreshTimerControl, pScriptTypeData, pSelectionAttr, pUnoBroadcaster, pUnoListenerCalls, pUnoRefUndoList, pValidationList, ScAddInListener::RemoveDocument(), ScAddInAsync::RemoveDocument(), SAL_WARN_IF, and ScDocumentThreadSpecific::xRecursionHelper.
|
privatedelete |
sal_uLong ScDocument::AddCondFormat | ( | std::unique_ptr< ScConditionalFormat > | pNew, |
SCTAB | nTab | ||
) |
Definition at line 708 of file documen4.cxx.
References FetchTable().
Referenced by XclImpCondFormat::Apply(), XMLTableStyleContext::ApplyCondFormat(), ScCondFormatsObj::createByRange(), ScXMLConditionalFormatContext::endFastElement(), oox::xls::CondFormat::finalizeImport(), oox::xls::CondFormatBuffer::finalizeImport(), and ScDocFunc::ReplaceConditionalFormat().
void ScDocument::AddCondFormatData | ( | const ScRangeList & | rRange, |
SCTAB | nTab, | ||
sal_uInt32 | nIndex | ||
) |
Definition at line 4790 of file document.cxx.
References FetchTable(), and nIndex.
Referenced by ScConditionalFormatList::AddToDocument(), XclImpCondFormat::Apply(), XMLTableStyleContext::ApplyCondFormat(), ScTable::CopyConditionalFormat(), ScXMLConditionalFormatsContext::endFastElement(), oox::xls::CondFormat::finalizeImport(), oox::xls::CondFormatBuffer::finalizeImport(), and ScDocFunc::ReplaceConditionalFormat().
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().
void ScDocument::AddDetectiveOperation | ( | const ScDetOpData & | rData | ) |
Definition at line 892 of file documen4.cxx.
References pDetOpList.
Referenced by ScDocFunc::DetectiveAddError(), ScDocFunc::DetectiveAddPred(), ScDocFunc::DetectiveAddSucc(), ScDocFunc::DetectiveDelPred(), ScDocFunc::DetectiveDelSucc(), ScXMLBodyContext::endFastElement(), and ScUndoDetective::Redo().
void ScDocument::AddOLEObjectToCollection | ( | const OUString & | rName | ) |
Definition at line 646 of file documen5.cxx.
References pChartListenerCollection.
Referenced by ScMyOLEFixer::CreateChartListener().
Adds a new print ranges.
Definition at line 6297 of file document.cxx.
References FetchTable().
Referenced by ScXMLTableContext::endFastElement(), ImportExcel::PostDocLoad(), ScTableSheetObj::setPrintAreas(), and ScViewFunc::SetPrintRanges().
void ScDocument::AddSubTotalCell | ( | ScFormulaCell * | pCell | ) |
Definition at line 6386 of file document.cxx.
References maSubTotalCells.
Referenced by ScFormulaCell::CalcAfterLoad(), ScFormulaCell::CompileTokenArray(), ScFormulaCell::CompileXML(), and ScFormulaCell::ScFormulaCell().
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().
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.
void ScDocument::AddUnoListenerCall | ( | const css::uno::Reference< css::util::XModifyListener > & | rListener, |
const css::lang::EventObject & | rEvent | ||
) |
Definition at line 980 of file documen3.cxx.
References bInUnoBroadcast, and pUnoListenerCalls.
Referenced by ScChart2DataSequence::Notify(), and ScDataPilotTableObj::Refreshed_Impl().
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().
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().
sal_uLong ScDocument::AddValidationEntry | ( | const ScValidationData & | rNew | ) |
Definition at line 719 of file documen4.cxx.
References ScValidationData::Clone(), CORE, ScValidationData::IsEmpty(), pData, and pValidationList.
Referenced by XclImpValidationManager::Apply(), ScPatternAttr::PutInPool(), ScXMLTableRowCellContext::SetContentValidation(), and ScViewFunc::SetValidation().
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().
void ScDocument::AppendToFormulaTrack | ( | ScFormulaCell * | pCell | ) |
Definition at line 453 of file documen7.cxx.
References nFormulaTrackCount, pEOFormulaTrack, pFormulaTrack, RemoveFromFormulaTrack(), RemoveFromFormulaTree(), ScFormulaCell::SetNextTrack(), and ScFormulaCell::SetPreviousTrack().
Referenced by ScFormulaCell::CompileXML(), ScFormulaCell::Notify(), ScFormulaCell::SetDirty(), and ScFormulaCell::SetTableOpDirty().
void ScDocument::ApplyAsianEditSettings | ( | ScEditEngineDefaulter & | rEngine | ) |
Definition at line 662 of file documen9.cxx.
References GetAsianCompression(), GetAsianKerning(), EditEngine::SetAsianCompressionMode(), EditEngine::SetForbiddenCharsTable(), EditEngine::SetKernAsianPunctuation(), and xForbiddenCharacters.
Referenced by ScOutputData::CreateOutputEditEngine(), GetEditEngine(), ScColumn::GetNeededSize(), GetNoteEngine(), ScPrintFunc::MakeEditEngine(), and ScInputHandler::UpdateSpellSettings().
void ScDocument::ApplyAttr | ( | SCCOL | nCol, |
SCROW | nRow, | ||
SCTAB | nTab, | ||
const SfxPoolItem & | rAttr | ||
) |
Definition at line 4741 of file document.cxx.
References FetchTable().
Referenced by ScDBFunc::ApplyAutoFilter(), ScHTMLTable::ApplyCellBorders(), ScDPOutput::DataCell(), ScUndoMerge::DoChange(), oox::xls::AutoFilter::finalizeImport(), ScDBFunc::HideAutoFilter(), oox::xls::WorksheetGlobals::insertHyperlink(), ScAttrArray::InsertRow(), oox::xls::lcl_SetBorderLine(), ScDocFunc::MergeCells(), ScDPOutput::Output(), PutFormString(), ScAttrArray::RemoveAreaMerge(), RemoveMerge(), XclImpXFRangeBuffer::SetBorderLine(), XclImpAutoFilterData::SetCellAttribs(), SetFormat(), ScTransferObj::StripRefs(), ScImportExport::Sylk2Doc(), ScDBFunc::ToggleAutoFilter(), ScUndoEnterData::Undo(), and ScHTMLImport::WriteToDocument().
bool ScDocument::ApplyFlagsTab | ( | SCCOL | nStartCol, |
SCROW | nStartRow, | ||
SCCOL | nEndCol, | ||
SCROW | nEndRow, | ||
SCTAB | nTab, | ||
ScMF | nFlags | ||
) |
Definition at line 4970 of file document.cxx.
References FetchTable().
Referenced by ExcScenario::Apply(), XclImpPivotTable::ApplyMergeFlags(), ScDPCollection::CopyToTab(), ScUndoAutoFilter::DoChange(), ScXMLTableScenarioContext::endFastElement(), ScDBFuncUndo::EndUndo(), ScAttrArray::ExtendMerge(), ScDPOutput::FieldCell(), ScDPCollection::InsertNewTable(), lcl_DoFilterButton(), ScDPOutput::MultiFieldCell(), ScDPOutput::Output(), ScDPObject::Output(), RefreshAutoFilter(), ScVbaWorksheet::setAutoFilterMode(), ScXMLDataPilotTableContext::SetButtons(), ScDatabaseRangeObj::setPropertyValue(), and ScEEImport::WriteToDocument().
void ScDocument::ApplyFrameAreaTab | ( | const ScRange & | rRange, |
const SvxBoxItem & | rLineOuter, | ||
const SvxBoxInfoItem & | rLineInner | ||
) |
Definition at line 5851 of file document.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), GetTableCount(), maTabs, ScAddress::Row(), and ScAddress::Tab().
void ScDocument::ApplyPattern | ( | SCCOL | nCol, |
SCROW | nRow, | ||
SCTAB | nTab, | ||
const ScPatternAttr & | rAttr | ||
) |
Definition at line 4747 of file document.cxx.
References FetchTable().
Referenced by ScViewFunc::ApplySelectionPattern(), ScViewFunc::EnterData(), lcl_PutString(), ScXMLTableRowCellContext::SetContentValidation(), and ScQProStyle::SetFormat().
void ScDocument::ApplyPatternArea | ( | SCCOL | nStartCol, |
SCROW | nStartRow, | ||
SCCOL | nEndCol, | ||
SCROW | nEndRow, | ||
const ScMarkData & | rMark, | ||
const ScPatternAttr & | rAttr, | ||
ScEditDataArray * | pDataArray = nullptr , |
||
bool *const | pIsChanged = nullptr |
||
) |
Definition at line 4753 of file document.cxx.
References GetTableCount(), and maTabs.
Referenced by ApplySelectionPattern(), ScDocFunc::DeleteCells(), and ScUndoDeleteCells::DoChange().
void ScDocument::ApplyPatternAreaTab | ( | SCCOL | nStartCol, |
SCROW | nStartRow, | ||
SCCOL | nEndCol, | ||
SCROW | nEndRow, | ||
SCTAB | nTab, | ||
const ScPatternAttr & | rAttr | ||
) |
Definition at line 4770 of file document.cxx.
References FetchTable().
Referenced by XclImpValidationManager::Apply(), LotAttrCol::Apply(), DifColumn::Apply(), XclImpXF::ApplyPattern(), OP_ApplyPatternArea123(), ScDBDocFunc::Query(), ScUndoRemoveMerge::Redo(), ScAreaLink::Refresh(), ScAttrArray::RemoveAreaMerge(), ScOrcusSheet::set_column_format(), ScOrcusSheet::set_row_format(), ScXMLTableRowCellContext::SetContentValidation(), ScDocFunc::UnmergeCells(), and oox::xls::Xf::writeToDoc().
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().
void ScDocument::ApplySelectionFrame | ( | const ScMarkData & | rMark, |
const SvxBoxItem & | rLineOuter, | ||
const SvxBoxInfoItem * | pLineInner | ||
) |
Definition at line 5743 of file document.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), ScMarkData::FillRangeListWithMarks(), SvxBoxItem::GetBottom(), ScMarkData::GetBottomEnvelope(), SvxBoxItem::GetLeft(), ScMarkData::GetLeftEnvelope(), SvxBoxItem::GetRight(), ScMarkData::GetRightEnvelope(), GetTableCount(), SvxBoxItem::GetTop(), ScMarkData::GetTopEnvelope(), SvxBoxItem::IsRemoveAdjacentCellBorder(), SvxBoxInfoItem::IsValid(), maTabs, ScAddress::Row(), SvxBoxInfoItem::SetLine(), SvxBoxItem::SetLine(), SvxBoxInfoItem::SetTable(), SvxBoxInfoItem::SetValid(), and ScRangeList::size().
Referenced by ScHelperFunctions::ApplyBorder(), ScViewFunc::ApplyPatternLines(), ScUndoSelectionAttr::DoChange(), and ScUndoBorder::Redo().
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().
void ScDocument::ApplySelectionPattern | ( | const ScPatternAttr & | rAttr, |
const ScMarkData & | rMark, | ||
ScEditDataArray * | pDataArray = nullptr , |
||
bool * | pIsChanged = nullptr |
||
) |
Definition at line 5864 of file document.cxx.
References ScRange::aEnd, ApplyPatternArea(), ScRange::aStart, ATTR_PATTERN_END(), ATTR_PATTERN_START(), ScAddress::Col(), ScPatternAttr::GetItemSet(), SfxItemSet::GetItemState(), ScMarkData::GetMarkArea(), GetTableCount(), i, ScMarkData::IsMarked(), ScMarkData::IsMultiMarked(), maTabs, mxPoolHelper, and ScAddress::Row().
Referenced by ScDocFunc::ApplyAttributes(), ScViewFunc::ApplyPatternLines(), ScViewFunc::ApplySelectionPattern(), ScUndoSelectionAttr::DoChange(), and ScFormatShell::ExecuteStyle().
void ScDocument::ApplySelectionStyle | ( | const ScStyleSheet & | rStyle, |
const ScMarkData & | rMark | ||
) |
Definition at line 4830 of file document.cxx.
References ScRange::aEnd, ApplyStyleArea(), ScRange::aStart, ScAddress::Col(), ScMarkData::GetMarkArea(), GetTableCount(), ScMarkData::IsMarked(), ScMarkData::IsMultiMarked(), maTabs, and ScAddress::Row().
Referenced by ScDocFunc::ApplyStyle(), ScUndoSelectionStyle::DoChange(), and ScViewFunc::SetStyleSheetToMarked().
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().
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().
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().
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().
Definition at line 1772 of file document.cxx.
References ScAddress::Col(), FetchTable(), HasTable(), nLength, ScAddress::Row(), and ScAddress::Tab().
Referenced by ScGroupTokenConverter::convert().
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().
void ScDocument::BeginDrawUndo | ( | ) |
Definition at line 61 of file documen9.cxx.
References mpDrawLayer.
Referenced by ScViewFunc::AppendTable(), ScDocFunc::AutoFormat(), ScViewFunc::CutToClip(), ScViewFunc::DataFormPutData(), ScDocFunc::DeleteCell(), ScDocFunc::DeleteCells(), ScDocFunc::DeleteContents(), ScViewFunc::DeleteMulti(), ScDocFunc::DeleteTable(), ScViewFunc::ImportTables(), ScDocFunc::InsertCells(), ScDocFunc::InsertNameList(), ScDocFunc::InsertTable(), ScViewFunc::InsertTables(), ScDocFunc::MergeCells(), ScDocFunc::MoveBlock(), ScViewFunc::MoveTable(), ScViewFunc::PasteFromClip(), ScViewFunc::PasteFromClipToMultiRanges(), ScViewFunc::PasteMultiRangesFromClip(), ScDBDocFunc::Query(), ScViewFunc::SetWidthOrHeight(), and ScDocFunc::SetWidthOrHeight().
void ScDocument::BeginUnoRefUndo | ( | ) |
Definition at line 990 of file documen3.cxx.
References pUnoRefUndoList.
|
inline |
Definition at line 1215 of file document.hxx.
References mbFormulaGroupCxtBlockDiscard.
void ScDocument::Broadcast | ( | const ScHint & | rHint | ) |
Broadcast wrapper, calls rHint.GetCell()->Broadcast() and AreaBroadcast() and TrackFormulas() Preferred.
Definition at line 117 of file documen7.cxx.
References BCA_BRDCST_ALWAYS, BroadcastHintInternal(), eHardRecalcState, SfxHint::GetId(), ScHint::GetStartAddress(), GetTableCount(), maTabs, OFF, pBASM, ScAddress::Tab(), and TrackFormulas().
Referenced by ScColumn::Broadcast(), and ScColumn::BroadcastCells().
void ScDocument::BroadcastCells | ( | const ScRange & | rRange, |
SfxHintId | nHint, | ||
bool | bBroadcastSingleBroadcasters = true |
||
) |
Definition at line 158 of file documen7.cxx.
References ScRange::aEnd, ScRange::aStart, ScTable::BroadcastBroadcasters(), BroadcastUno(), ScAddress::Col(), eHardRecalcState, FetchTable(), OFF, pBASM, PrepareFormulaCalc(), ScAddress::Row(), ScTable::SetStreamValid(), ScAddress::Tab(), and TrackFormulas().
Referenced by ScSimpleUndo::BroadcastChanges(), ScDocFunc::ConvertFormulaToValue(), ScUndoPaste::DoChange(), ScUndoMerge::DoChange(), sc::UndoFormulaToValue::Execute(), sc::UndoSort::Execute(), SetDirty(), ScImportExport::Text2Doc(), and ScUndoDragDrop::Undo().
|
private |
Definition at line 137 of file documen7.cxx.
References a, SvtBroadcaster::Broadcast(), GetBroadcaster(), ScHint::GetRowCount(), ScHint::GetStartAddress(), and ScAddress::Row().
Referenced by Broadcast(), and TrackFormulas().
void ScDocument::BroadcastUno | ( | const SfxHint & | rHint | ) |
Definition at line 952 of file documen3.cxx.
References bInUnoBroadcast, bInUnoListenerCall, SfxHint::GetId(), pUnoBroadcaster, and pUnoListenerCalls.
Referenced by BroadcastCells(), ScDBDocFunc::CreatePivotTable(), ScDdeLink::DataChanged(), ScDBDocFunc::DataPilotUpdate(), ScDBDocFunc::DoImport(), ScXMLImport::endDocument(), ScChart2DataSequence::RebuildDataCache(), ScAreaLink::Refresh(), ScTableLink::Refresh(), ScDocShellModificator::SetDocumentModified(), ScUndoDataPilot::Undo(), ScUnoRefList::Undo(), and ScDBDocFunc::UpdatePivotTable().
void ScDocument::CalcAfterLoad | ( | bool | bStartListening = true | ) |
Definition at line 4029 of file document.cxx.
References bCalcingAfterLoad, bIsClip, InterpretDirtyCells(), maTabs, p, pChartListenerCollection, and SetDetectiveDirty().
Referenced by generate_Opcodes(), ScQProReader::import(), ImportExcel::Read(), ImportLotus::Read(), and ImportExcel8::Read().
void ScDocument::CalcAll | ( | ) |
Definition at line 3939 of file document.cxx.
References a, ClearFormulaTree(), ClearLookupCaches(), ETERNAL, GetHardRecalcState(), maTabs, and PrepareFormulaCalc().
Referenced by CalcFormulaTree(), and ScModule::ModifyOptions().
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.
bOnlyForced | when true, it only calculates those formula cells that are marked "recalc forced". |
bProgressBar | whether or not to use progress bar. |
bSetAllDirty | when 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().
void ScDocument::CalculateInColumnInThread | ( | ScInterpreterContext & | rContext, |
const ScRange & | rCalcRange, | ||
unsigned | nThisThread, | ||
unsigned | nThreadsTotal | ||
) |
Definition at line 411 of file documen8.cxx.
References ScRange::aEnd, ScRange::aStart, ScTable::CalculateInColumnInThread(), ScAddress::Col(), FetchTable(), IsThreadedGroupCalcInProgress(), maThreadSpecific, ScDocumentThreadSpecific::pContext, ScAddress::Row(), ScAddress::Tab(), and ScDocumentThreadSpecific::xRecursionHelper.
Referenced by ScFormulaCell::InterpretFormulaGroupThreading().
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().
Definition at line 1796 of file document.cxx.
References ScRange::aEnd, CanInsertCol(), CanInsertRow(), HasPartOfMerged(), lcl_GetInsDelRanges(), MaxCol(), MaxRow(), ScAddress::SetCol(), and ScAddress::SetRow().
Referenced by ScDBDocFunc::DoImport(), ScDBDocFunc::Query(), and ScAreaLink::Refresh().
bool ScDocument::CanInsertCol | ( | const ScRange & | rRange | ) | const |
Definition at line 1456 of file document.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), GetTableCount(), i, maTabs, PutInOrder(), ScAddress::Row(), and ScAddress::Tab().
Referenced by CanFitBlock(), and ScChangeActionDel::Reject().
bool ScDocument::CanInsertRow | ( | const ScRange & | rRange | ) | const |
Definition at line 1167 of file document.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), GetTableCount(), i, maTabs, PutInOrder(), ScAddress::Row(), and ScAddress::Tab().
Referenced by CanFitBlock(), and ScChangeActionDel::Reject().
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().
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().
void ScDocument::CheckLinkFormulaNeedingCheck | ( | const ScTokenArray & | rCode | ) |
Check token array and set link check if ocDde/ocWebservice is contained.
Definition at line 1149 of file documen8.cxx.
References formula::FormulaTokenArray::GetCodeLen(), formula::FormulaTokenArray::GetLen(), HasLinkFormulaNeedingCheck(), formula::FormulaTokenArray::HasOpCode(), formula::FormulaTokenArray::HasOpCodeRPN(), ocDde, ocWebservice, SAL_WARN, and SetLinkFormulaNeedingCheck().
Referenced by ScRangeData::CompileUnresolvedXML(), ScConditionEntry::CompileXML(), ScFormulaCell::CompileXML(), oox::xls::CondFormatRule::finalizeImport(), ImportExcel::Formula(), oox::xls::DefinedName::getScTokens(), oox::xls::ExternalName::importDefinedName(), XclImpName::InsertName(), ScColumn::ParseString(), XclImpCondFormat::ReadCF(), ScRangeData::ScRangeData(), ImportExcel::Shrfmla(), and ScImportExport::Sylk2Doc().
void ScDocument::CheckVectorizationState | ( | ) |
Definition at line 3805 of file document.cxx.
References a, bAutoCalc, GetAutoCalc(), maTabs, and SetAutoCalc().
Referenced by ScModelObj::enableOpenCL().
Definition at line 2134 of file documen3.cxx.
References maTabs.
Referenced by ScChangeTrack::AppendContentRange(), and ScTabPageSortFields::FillFieldLists().
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().
void ScDocument::ClearDetectiveOperations | ( | ) |
Definition at line 900 of file documen4.cxx.
References pDetOpList.
Referenced by ScDocFunc::DetectiveDelAll(), and ScUndoDetective::Redo().
void ScDocument::ClearFormulaTree | ( | ) |
Definition at line 440 of file documen7.cxx.
References ScFormulaCell::GetCode(), ScFormulaCell::GetNext(), formula::FormulaTokenArray::IsRecalcModeAlways(), pFormulaTree, and RemoveFromFormulaTree().
Referenced by CalcAll().
void ScDocument::ClearLookupCaches | ( | ) |
Zap all caches.
Definition at line 1308 of file documen2.cxx.
References ScInterpreterContextPool::ClearLookupCaches(), GetNonThreadedContext(), IsThreadedGroupCalcInProgress(), ScInterpreterContext::mxScLookupCache, and mxScSortedRangeCache.
Referenced by CalcAll(), and ~ScDocument().
void ScDocument::ClearPrintRanges | ( | SCTAB | nTab | ) |
Removes all print ranges.
Definition at line 6291 of file document.cxx.
References FetchTable().
Referenced by ScXMLTableContext::endFastElement(), ImportExcel::PostDocLoad(), ScTableSheetObj::SetOnePropertyValue(), ScTableSheetObj::setPrintAreas(), and ScViewFunc::SetPrintRanges().
void ScDocument::ClearSelectionItems | ( | const sal_uInt16 * | pWhich, |
const ScMarkData & | rMark | ||
) |
Definition at line 5909 of file document.cxx.
References GetTableCount(), and maTabs.
Referenced by ScDocFunc::ClearItems(), ScUndoClearItems::Redo(), and ScConditionalFormatList::RemoveFromDocument().
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().
|
private |
Definition at line 956 of file documen4.cxx.
References ScRefCellValue::equalsWithoutFormat(), ScRefCellValue::isEmpty(), and ValidRow().
Referenced by FindOrder().
Definition at line 4489 of file document.cxx.
References FetchTable().
Referenced by ScAccessibleCellBase::isVisible().
bool ScDocument::ColHidden | ( | SCCOL | nCol, |
SCTAB | nTab, | ||
SCCOL * | pFirstCol = nullptr , |
||
SCCOL * | pLastCol = nullptr |
||
) | const |
Definition at line 4430 of file document.cxx.
References FetchTable().
Referenced by ScChart2DataSequence::BuildDataCache(), sc::PrintPageRanges::calculate(), ScChartArray::CreateMemChartSingle(), ScOutputData::DrawEdit(), ScOutputData::DrawFormulaMarks(), ScOutputData::DrawGrid(), ScGridWindow::DrawHiddenIndicator(), ScOutputData::DrawNoteMarks(), ScOutputData::DrawSparklines(), ScCellShell::ExecuteEdit(), FillInfo(), ScTable::FindNextVisibleCol(), ScTable::FindNextVisibleColWithContent(), ScColBar::GetEntrySize(), ScGridWindow::GetListValButtonRect(), ScOutputData::GetMergeOrigin(), ScTableColumnObj::GetOnePropertyValue(), ScTable::GetPrintArea(), ScTableColumnsObj::getPropertyValue(), ScViewData::GetScrPos(), ScPreviewLocationData::GetTableInfo(), ScDrawLayer::InitializeCellAnchoredObj(), sc::SparklineRenderer::isCellHidden(), ScOutlineWindow::IsHidden(), ScAccessibleCellBase::isVisible(), lcl_GetMergeRange(), lcl_PaintOneRange(), ScTabView::PaintRangeFinderEntry(), ScDrawLayer::RecalcPos(), ScUndoAutoFormat::Redo(), ScTabView::ScrollX(), ScOutputData::SetCellRotations(), ScViewFunctionSet::SetCursorAtCell(), ScViewFunctionSet::SetCursorAtPoint(), ScViewFunc::SetWidthOrHeight(), ScDocFunc::SetWidthOrHeight(), ScTabView::SkipCursorHorizontal(), ScHTMLExport::WriteTables(), XclExpColinfo::XclExpColinfo(), and XclExpNote::XclExpNote().
void ScDocument::CompareDocument | ( | ScDocument & | rOtherDoc | ) |
Definition at line 1095 of file documen4.cxx.
References ScCellValue::assign(), ScCellValue::equalsWithoutFormat(), FindOrder(), GetCellArea(), GetDocumentShell(), GetName(), GetTableCount(), o3tl::getToken(), i, IsScenario(), MaxCol(), MaxRow(), MAXTAB, n1, n2, nIndex, pChangeTrack, RowDifferences(), SC_DOCCOMP_MAXDIFF, ScResId(), SCTAB_MAX, ScChangeActionContent::SetNewValue(), ScChangeActionContent::SetOldValue(), ScProgress::SetStateOnPercent(), ValidCol(), ValidRow(), and ValidTab().
void ScDocument::CompileAll | ( | ) |
Definition at line 3963 of file document.cxx.
References a, maTabs, and SetAllFormulasDirty().
Referenced by ScRefUndoData::DoUndo().
void ScDocument::CompileColRowNameFormula | ( | ) |
Definition at line 564 of file documen4.cxx.
References maTabs.
Referenced by ScLabelRangesObj::addNew(), ScLabelRangeObj::Modify_Impl(), and ScLabelRangesObj::removeByIndex().
void ScDocument::CompileDBFormula | ( | ) |
Definition at line 554 of file documen4.cxx.
References maTabs.
Referenced by ScDBDocFunc::DoImport(), ScDBFunc::DoSubTotals(), ScDBDocFunc::DoSubTotals(), and ScDBDocFunc::ModifyDBData().
bool ScDocument::CompileErrorCells | ( | FormulaError | nErrCode | ) |
Re-compile formula cells with error.
nErrCode | specified 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. |
Definition at line 4016 of file document.cxx.
References ScTable::CompileErrorCells(), and maTabs.
Referenced by ScModule::ModifyOptions().
void ScDocument::CompileHybridFormula | ( | ) |
Call this immediately after updating named ranges.
Definition at line 319 of file document10.cxx.
Referenced by ScDBDocFunc::AddDBRange(), ScDBDocFunc::DeleteDBRange(), ScUndoRangeNames::DoChange(), ScUndoAllRangeNames::DoChange(), ScViewFunc::InsertName(), ScDBDocFunc::ModifyAllDBData(), ScDocFunc::ModifyAllRangeNames(), ScUndoDBData::Redo(), ScDBDocFunc::RenameDBRange(), ScDocFunc::SetNewRangeNames(), ScUndoDBData::Undo(), and ScNamedRangesObj::unlock().
void ScDocument::CompileXML | ( | ) |
Definition at line 3976 of file document.cxx.
References CORE, GetAutoCalc(), GetDocumentShell(), GetXMLImportedFormulaCount(), maTabs, pAutoNameCache, pRangeName, pValidationList, ScResId(), SetAutoCalc(), StartAllListeners(), and TrackFormulas().
Referenced by ScXMLImport::endDocument().
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().
void ScDocument::ConvertFormulaToValue | ( | const ScRange & | rRange, |
sc::TableValues * | pUndo | ||
) |
Definition at line 211 of file document10.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), ScTable::ConvertFormulaToValue(), FetchTable(), sc::EndListeningContext::purgeEmptyBroadcasters(), ScAddress::Row(), and ScAddress::Tab().
Referenced by ScDocFunc::ConvertFormulaToValue().
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.
rSheet | On entry, the original sheet of the named expression/range, <0 global. On return TRUE, the new sheet. Else unchanged. |
rIndex | On 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. |
rpRangeData | On entry, the pointer to the original named expression/range. On return TRUE, the pointer to the new copied name, or nullptr if hits happened. |
rNewPos | New 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. |
rOldPos | Old 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. |
bGlobalNamesToLocal | If TRUE, affected global names are copied to sheet-local names. If FALSE, global names are copied to global names in another document. |
bUsedByFormula | If 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. |
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().
void ScDocument::CopyBlockFromClip | ( | sc::CopyFromClipContext & | rCxt, |
SCCOL | nCol1, | ||
SCROW | nRow1, | ||
SCCOL | nCol2, | ||
SCROW | nRow2, | ||
const ScMarkData & | rMark, | ||
SCCOL | nDx, | ||
SCROW | nDy | ||
) |
Definition at line 2635 of file document.cxx.
References CONTENTS, sc::ColumnSet::empty(), get(), sc::ClipContextBase::getBlockPositionSet(), sc::CopyFromClipContext::getClipDoc(), GetClipParam(), sc::CopyFromClipContext::getInsertFlag(), GetPool(), sc::CopyFromClipContext::getTabEnd(), GetTableCount(), ScMarkData::GetTableSelect(), sc::CopyFromClipContext::getTabStart(), sc::CopyFromClipContext::getUndoDoc(), i, IsInsertingFromOtherDoc(), sc::RefUpdateContext::maRange, sc::RefUpdateContext::maRegroupCols, maTabs, MAXTAB, ScClipParam::mbCutMode, sc::RefUpdateContext::meMode, sc::RefUpdateContext::mnColDelta, sc::RefUpdateContext::mnRowDelta, sc::RefUpdateContext::mnTabDelta, mpDrawLayer, OBJECTS, sc::RefUpdateContext::setBlockPositionReference(), SetInsertingFromOtherDoc(), StartNeededListeners(), UpdateReference(), URM_COPY, and URM_MOVE.
Referenced by CopyFromClip(), CopyMultiRangeFromClip(), and CopyNonFilteredFromClip().
void ScDocument::CopyCellToDocument | ( | const ScAddress & | rSrcPos, |
const ScAddress & | rDestPos, | ||
ScDocument & | rDestDoc | ||
) |
Copy only cell, nothing but cell to another document.
rSrcPos | source cell position |
rDestPos | destination cell position |
rDestDoc | destination 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().
void ScDocument::CopyCellValuesFrom | ( | const ScAddress & | rTopPos, |
const sc::CellValues & | rSrc | ||
) |
Definition at line 178 of file document10.cxx.
References ScAddress::Col(), ScTable::CopyCellValuesFrom(), FetchTable(), ScAddress::Row(), and ScAddress::Tab().
Referenced by sc::UndoSetCells::DoChange().
void ScDocument::CopyDdeLinks | ( | ScDocument & | rDestDoc | ) | const |
Definition at line 866 of file documen8.cxx.
References bAutoCalc, bIsClip, ScDdeLink::GetAppl(), GetDocLinkManager(), sc::DocumentLinkManager::getExistingLinkManager(), ScDdeLink::GetItem(), sc::DocumentLinkManager::getLinkManager(), sfx2::LinkManager::GetLinks(), ScDdeLink::GetTopic(), sfx2::LinkManager::InsertDDELink(), LoadDdeLinks(), p, and pClipData.
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.
rDestRange | destination range. |
pClipDoc | pointer to the clipboard document to copy data from. |
bSkipEmptyCells | if this flag is set, empty cells in the source range in the clipboard document will not overwrite the target destination cells. |
pDestRanges | If 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().
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 |
||
) |
Definition at line 3032 of file document.cxx.
References ScRange::aEnd, ScRange::aStart, bInsertingFromOtherDoc, bIsClip, ScAddress::Col(), ScClipParam::Column, CONTENTS, CopyBlockFromClip(), CopyNonFilteredFromClip(), DeleteArea(), sc::ColumnSpanSet::executeColumnAction(), GetBASM(), GetClipParam(), ScMarkData::GetMarkArea(), ScClipParam::getPasteColSize(), ScClipParam::getPasteRowSize(), GetTableCount(), i, ScClipParam::maRanges, maTabs, ScClipParam::mbCutMode, ScClipParam::meDirection, n, ScAddress::Row(), ScClipParam::Row, SetDirtyFromClip(), sc::CopyFromClipContext::setTabRange(), ScRangeList::size(), and StartListeningFromClip().
Referenced by ScViewFunc::PasteMultiRangesFromClip().
SCROW ScDocument::CopyNonFilteredFromClip | ( | sc::CopyFromClipContext & | rCxt, |
SCCOL | nCol1, | ||
SCROW | nRow1, | ||
SCCOL | nCol2, | ||
SCROW | nRow2, | ||
const ScMarkData & | rMark, | ||
SCCOL | nDx, | ||
SCROW & | rClipStartRow, | ||
SCROW | nClipEndRow | ||
) |
Definition at line 2736 of file document.cxx.
References CopyBlockFromClip(), FirstNonFilteredRow(), sc::CopyFromClipContext::getClipDoc(), maTabs, and RowFiltered().
Referenced by CopyFromClip(), and CopyMultiRangeFromClip().
bool ScDocument::CopyOneCellFromClip | ( | sc::CopyFromClipContext & | rCxt, |
SCCOL | nCol1, | ||
SCROW | nRow1, | ||
SCCOL | nCol2, | ||
SCROW | nRow2 | ||
) |
Definition at line 83 of file document10.cxx.
References ADDNOTES, ScRange::aEnd, ScRange::aStart, ScAddress::Col(), ScTable::FetchColumn(), FetchTable(), sc::CopyFromClipContext::getClipDoc(), GetClipParam(), sc::CopyFromClipContext::getInsertFlag(), GetNote(), GetPattern(), GetSparkline(), sc::CopyFromClipContext::getTabEnd(), GetTableCount(), sc::CopyFromClipContext::getTabStart(), sc::CopyFromClipContext::getUndoDoc(), ScClipParam::getWholeRange(), i, ScAddress::IncCol(), IsMerged(), sc::RefUpdateContext::maRange, maTabs, ScClipParam::mbCutMode, sc::RefUpdateContext::meMode, sc::RefUpdateContext::mnColDelta, sc::RefUpdateContext::mnRowDelta, sc::RefUpdateContext::mnTabDelta, NONE, NOTE, ScAddress::Row(), ScAddress::SetCol(), sc::CopyFromClipContext::setSingleCell(), sc::CopyFromClipContext::setSingleCellColumnSize(), sc::CopyFromClipContext::setSingleCellNote(), sc::CopyFromClipContext::setSingleCellPattern(), sc::CopyFromClipContext::setSingleSparkline(), SPARKLINES, ScAddress::Tab(), UpdateReference(), ScColumn::UpdateScriptTypes(), and URM_COPY.
Referenced by CopyFromClip().
|
private |
Definition at line 2427 of file document.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), GetRangeName(), GetTableCount(), ScMarkData::GetTableSelect(), sc::UpdatedRangeNames::getUpdatedNames(), i, maTabs, pRangeName, and ScAddress::Row().
Referenced by CopyToClip().
Definition at line 811 of file documen3.cxx.
References get(), GetScenarioFlags(), GetTableCount(), HasScenarioRange(), HasTable(), IsActiveScenario(), maTabs, SetAllFormulasDirty(), ScRangeList::size(), and TwoWay.
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.
rSrcRange | source range in the source document |
nDestTab | table in the clip document to copy to. |
rDestDoc | document 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().
void ScDocument::CopyStdStylesFrom | ( | const ScDocument & | rSrcDoc | ) |
Definition at line 288 of file documen8.cxx.
References mxPoolHelper.
Referenced by ScTransferObj::InitDocShell().
bool ScDocument::CopyTab | ( | SCTAB | nOldPos, |
SCTAB | nNewPos, | ||
const ScMarkData * | pOnlyMarked = nullptr |
||
) |
Definition at line 804 of file documen2.cxx.
References ALL, aName, ScRangeName::CopyUsedNames(), CreateValidTabName(), get(), GetName(), GetPageStyle(), GetRangeName(), GetTabBgColor(), GetTable(), GetTableCount(), IsLayoutRTL(), IsPendingRowHeights(), sc::RefUpdateContext::maRange, maTabs, MaxCol(), MaxRow(), MAXTAB, sc::RefUpdateContext::meMode, sc::RefUpdateContext::mnTabDelta, mpDrawLayer, pDBCollection, pDetOpList, pDPCollection, pRangeName, pUnoBroadcaster, pValidationList, SC_TAB_APPEND, ScTable, SetAllFormulasDirty(), SetNoListening(), UpdateChartRef(), UpdateRefAreaLinks(), URM_COPY, URM_INSDEL, ValidNewTabName(), ValidTab(), ValidTabName(), xColNameRanges, and xRowNameRanges.
Referenced by ScUndoCopyTab::Redo().
Definition at line 1928 of file documen3.cxx.
References HasTable(), and maTabs.
Referenced by ScUndoCopyTab::Redo().
void ScDocument::CopyTabToClip | ( | SCCOL | nCol1, |
SCROW | nRow1, | ||
SCCOL | nCol2, | ||
SCROW | nRow2, | ||
SCTAB | nTab, | ||
ScDocument * | pClipDoc | ||
) |
Definition at line 2241 of file document.cxx.
References aDocName, bIsClip, ScModule::GetClipDoc(), GetClipParam(), INetURLObject::GetMainURL(), SfxObjectShell::GetMedium(), SfxShell::GetName(), GetTableCount(), SfxMedium::GetURLObject(), maFileURL, ScClipParam::maRanges, maTabNames, maTabs, ScClipParam::mbCutMode, mpShell, ScRangeList::push_back(), PutInOrder(), ScRangeList::RemoveAll(), ResetClip(), SAL_WARN, and INetURLObject::ToIUri.
Referenced by ScViewFunc::LinkBlock().
void ScDocument::CopyToClip | ( | const ScClipParam & | rClipParam, |
ScDocument * | pClipDoc, | ||
const ScMarkData * | pMarks, | ||
bool | bKeepScenarioFlags, | ||
bool | bIncludeObjects | ||
) |
Definition at line 2142 of file document.cxx.
References aDocName, ScRange::aEnd, ScRange::aStart, bIsClip, ScAddress::Col(), CopyRangeNamesToClip(), ExtendMerge(), ScModule::GetClipDoc(), INetURLObject::GetMainURL(), SfxObjectShell::GetMedium(), GetMMRect(), SfxShell::GetName(), GetTableCount(), ScMarkData::GetTableSelect(), SfxMedium::GetURLObject(), ScClipParam::getWholeRange(), i, maFileURL, ScClipParam::maRanges, maTabNames, maTabs, mpDrawLayer, mpShell, ResetClip(), ScAddress::Row(), SAL_WARN, SetClipParam(), and INetURLObject::ToIUri.
Referenced by ScViewFunc::CopyToClipMultiRange(), ScViewFunc::CopyToClipSingleRange(), ScViewFunc::CopyToTransferable(), ScTabControl::DoDrag(), lcl_CopyData(), lcl_DoDragCells(), ScDocFunc::MoveBlock(), ScViewFunc::PasteDataFormat(), ScUndoDragDrop::Redo(), and ScAreaLink::Refresh().
void ScDocument::CopyToDocument | ( | const ScRange & | rRange, |
InsertDeleteFlags | nFlags, | ||
bool | bMarked, | ||
ScDocument & | rDestDoc, | ||
const ScMarkData * | pMarks = nullptr , |
||
bool | bColRowFlags = true |
||
) |
Definition at line 2081 of file document.cxx.
References aDocName, ScRange::aEnd, ScRange::aStart, ScAddress::Col(), ScTable::CopyToTable(), FetchTable(), GetBASM(), GetTableCount(), i, ScRange::PutInOrder(), ScAddress::Row(), sc::CopyToDocContext::setStartListening(), StartAllListeners(), and ScAddress::Tab().
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().
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().
Definition at line 4516 of file document.cxx.
References FetchTable().
Referenced by ScDrawLayer::CopyFromClip(), ScViewUtil::FitToUnfilteredRows(), GetClipArea(), ScClipParam::getPasteRowSize(), ScCellShell::GetState(), ScViewFunc::MoveBlockTo(), ScUndoDragDrop::ScUndoDragDrop(), ScClipParam::transpose(), and TransposeClip().
Definition at line 4468 of file document.cxx.
References FetchTable().
Referenced by ScPreviewLocationData::GetTableInfo().
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().
Definition at line 992 of file document10.cxx.
References ScTable::CreateColumnIfNotExists(), and FetchTable().
Referenced by ScMyDefaultStyles::FillDefaultStyles().
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.
pResults | If not 0, sets the matrix as DDE link result matrix (also for existing links). |
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().
std::unique_ptr< ScFieldEditEngine > ScDocument::CreateFieldEditEngine | ( | ) |
Definition at line 1181 of file documen2.cxx.
References bImportingXML, GetEditPool(), GetEnginePool(), and pCacheFieldEditEngine.
Referenced by ScColumn::GetNeededSize(), ScCellTextData::GetTextForwarder(), ScAccessiblePreviewHeaderCellTextData::GetTextForwarder(), and ScAccessibleNoteTextData::GetTextForwarder().
Definition at line 6704 of file document.cxx.
References SetNote().
Referenced by GetOrCreateNote().
std::unique_ptr< ScPrintRangeSaver > ScDocument::CreatePrintRangeSaver | ( | ) | const |
Definition at line 6321 of file document.cxx.
References GetTableCount(), i, maTabs, and nCount.
Referenced by ScRefUndoData::DeleteUnchanged(), ScTableSheetObj::PrintAreaUndo_Impl(), ScTableSheetObj::setPrintAreas(), ScViewFunc::SetPrintRanges(), ScTableSheetObj::setPrintTitleColumns(), ScTableSheetObj::setPrintTitleRows(), ScTableSheetObj::setTitleColumns(), and ScTableSheetObj::setTitleRows().
bool ScDocument::CreateQueryParam | ( | const ScRange & | rRange, |
ScQueryParam & | rQueryParam | ||
) |
Definition at line 1485 of file documen3.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), FetchTable(), ScAddress::Row(), and ScAddress::Tab().
Referenced by ScCellRangeObj::createFilterDescriptorByObject(), XclImpAutoFilterData::InsertQueryParam(), and ScDBFunc::RepeatDB().
std::unique_ptr< ScPatternAttr > ScDocument::CreateSelectionPattern | ( | const ScMarkData & | rMark, |
bool | bDeep = true |
||
) |
Definition at line 5015 of file document.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), ScMarkData::GetMarkArea(), GetPool(), GetTableCount(), ScMarkData::IsMarked(), ScMarkData::IsMultiMarked(), maTabs, ScMergePatternState::mbValidPatternId, ScMergePatternState::mnPatternId, ScMergePatternState::pItemSet, and ScAddress::Row().
Referenced by GetSelectionPattern().
std::unique_ptr< EditTextObject > ScDocument::CreateSharedStringTextObject | ( | const svl::SharedString & | rSS | ) |
Definition at line 514 of file documen2.cxx.
References EditEngine::CreateTextObject(), GetEditEngine(), GetSharedStringPool(), svl::SharedString::getString(), and ScEditEngineDefaulter::SetTextCurrentDefaults().
Referenced by sc::CopyFromClipContext::setSingleCell().
sc::Sparkline * ScDocument::CreateSparkline | ( | ScAddress const & | rPosition, |
std::shared_ptr< sc::SparklineGroup > const & | pSparklineGroup | ||
) |
Definition at line 6508 of file document.cxx.
References ScAddress::Col(), FetchTable(), ScAddress::Row(), and ScAddress::Tab().
Referenced by sc::SparklineGroupsImportContext::insertSparklines(), sc::UndoGroupSparklines::Redo(), sc::UndoInsertSparkline::Redo(), sc::UndoUngroupSparklines::Redo(), sc::UndoDeleteSparkline::Undo(), sc::UndoDeleteSparklineGroup::Undo(), sc::UndoGroupSparklines::Undo(), and sc::UndoUngroupSparklines::Undo().
void ScDocument::CreateValidTabName | ( | OUString & | rName | ) | const |
Definition at line 375 of file document.cxx.
References aName, ScDefaultsOptions::GetInitTabPrefix(), GetTable(), GetTableCount(), i, MAXTAB, SC_MOD, ValidNewTabName(), and ValidTabName().
Referenced by ScTabControl::AddTabClick(), AppendTabOnLoad(), ImportExcel8::Boundsheet(), ImportExcel::Boundsheet(), CopyTab(), ScTabViewShell::ExecuteTable(), FuInsertChart::FuInsertChart(), IMPL_LINK_NOARG(), ScViewFunc::ImportTables(), ScInsertTableDlg::Init_Impl(), ScDrawPagesObj::insertNewByIndex(), MakeTable(), ScViewFunc::MoveTable(), ImportLotus::parse(), XclImpPivotCache::ReadPivotCacheStream(), ScChangeActionDel::Reject(), ScMoveTableDlg::ResetRenameInput(), ScDBFunc::ShowDataPilotSourceData(), and TransferTab().
void ScDocument::CreateValidTabNames | ( | std::vector< OUString > & | aNames, |
SCTAB | nCount | ||
) | const |
Definition at line 420 of file document.cxx.
References ScDefaultsOptions::GetInitTabPrefix(), GetTable(), GetTableCount(), i, nCount, SC_MOD, ValidNewTabName(), and ValidTabName().
Referenced by ScViewFunc::InsertTables().
|
inline |
Definition at line 1044 of file document.hxx.
References nInDdeLinkUpdate.
Referenced by ScDdeLink::TryUpdate().
|
inline |
Definition at line 2445 of file document.hxx.
References nInterpreterTableOpLevel.
Referenced by ScInterpreter::ScTableOp().
|
inline |
Definition at line 2420 of file document.hxx.
References IsThreadedGroupCalcInProgress(), and nInterpretLevel.
Referenced by ScFormulaCell::Interpret().
ScDocument::DECL_LINK | ( | GetUserDefinedColor | , |
sal_uInt16 | , | ||
Color * | |||
) |
|
private |
|
inline |
Definition at line 2433 of file document.hxx.
References IsThreadedGroupCalcInProgress(), and nMacroInterpretLevel.
Referenced by ScInterpreter::ScMacro().
|
inline |
Definition at line 2465 of file document.hxx.
References nXMLImportedFormulaCount.
Referenced by ScFormulaCell::CompileXML().
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().
void ScDocument::DelBroadcastAreasInRange | ( | const ScRange & | rRange | ) |
Definition at line 215 of file documen7.cxx.
References pBASM.
Referenced by DeleteCol(), DeleteRow(), DeleteTab(), and DeleteTabs().
void ScDocument::DeleteArea | ( | SCCOL | nCol1, |
SCROW | nRow1, | ||
SCCOL | nCol2, | ||
SCROW | nRow2, | ||
const ScMarkData & | rMark, | ||
InsertDeleteFlags | nDelFlag, | ||
bool | bBroadcast = true , |
||
sc::ColumnSpanSet * | pBroadcastSpans = nullptr |
||
) |
Definition at line 1859 of file document.cxx.
References ScRange::aEnd, ScRange::aStart, bIsUndo, CONTENTS, DeleteArea(), EndListeningIntersectedGroups(), GetTableCount(), ScMarkData::GetTableSelect(), i, maTabs, sc::EndListeningContext::purgeEmptyBroadcasters(), PutInOrder(), SetDirty(), SetNeedsListeningGroups(), ScAddress::SetTab(), and StartNeededListeners().
Referenced by CopyMultiRangeFromClip(), DeleteArea(), ScDocFunc::DeleteCell(), ScUndoCut::DoChange(), ScDBDocFunc::DoImport(), and ScUndoAutoFormat::Undo().
|
private |
Definition at line 1059 of file documen8.cxx.
References GetDocLinkManager(), sc::DocumentLinkManager::getLinkManager(), sfx2::LinkManager::GetLinks(), nPos, pLink, and sfx2::LinkManager::Remove().
Referenced by DeleteTab(), and DeleteTabs().
void ScDocument::DeleteAreaTab | ( | const ScRange & | rRange, |
InsertDeleteFlags | nDelFlag | ||
) |
Definition at line 1935 of file document.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), DeleteAreaTab(), ScAddress::Row(), and ScAddress::Tab().
void ScDocument::DeleteAreaTab | ( | SCCOL | nCol1, |
SCROW | nRow1, | ||
SCCOL | nCol2, | ||
SCROW | nRow2, | ||
SCTAB | nTab, | ||
InsertDeleteFlags | nDelFlag | ||
) |
Definition at line 1920 of file document.cxx.
References FetchTable(), GetAutoCalc(), PutInOrder(), and SetAutoCalc().
Referenced by ScFunctionAccess::callFunction(), DeleteAreaTab(), ScImportExport::Dif2Doc(), ScUndoMerge::DoChange(), ScUndoFillTable::DoChange(), ScUndoUpdateAreaLink::DoChange(), ScUndoConditionalFormat::DoChange(), ScUndoListNames::DoChange(), ScDBDocFunc::DoImport(), DoMerge(), ScUndoDragDrop::DoUndo(), FitBlock(), ScImportExport::HTML2Doc(), lcl_PutDataArray(), lcl_PutFormulaArray(), ScDocFunc::MoveBlock(), ScDPOutput::Output(), ScDPObject::Output(), ScDBDocFunc::Query(), ScUndoDragDrop::Redo(), ScUndoRefreshLink::Redo(), ScUndoImportData::Redo(), ScAreaLink::Refresh(), ScTableLink::Refresh(), ScChangeActionMove::Reject(), ScDBDocFunc::RemovePivotTable(), ScImportExport::RTF2Doc(), ScUndoAutoFill::Undo(), ScUndoTabOp::Undo(), ScUndoUseScenario::Undo(), ScUndoRefreshLink::Undo(), ScUndoEnterMatrix::Undo(), ScUndoRemoveMerge::Undo(), ScUndoSubTotals::Undo(), ScUndoQuery::Undo(), ScUndoImportData::Undo(), ScUndoRepeatDB::Undo(), ScUndoDataPilot::Undo(), and ScUndoConsolidate::Undo().
void ScDocument::DeleteBeforeCopyFromClip | ( | sc::CopyFromClipContext & | rCxt, |
const ScMarkData & | rMark, | ||
sc::ColumnSpanSet & | rBroadcastSpans | ||
) |
Definition at line 58 of file document10.cxx.
References ScTable::DeleteBeforeCopyFromClip(), FetchTable(), sc::CopyFromClipContext::getClipDoc(), sc::CopyFromClipContext::getTabEnd(), ScMarkData::GetTableSelect(), sc::CopyFromClipContext::getTabStart(), and maTabs.
Referenced by CopyFromClip().
void ScDocument::DeleteBroadcasters | ( | sc::ColumnBlockPosition & | rBlockPos, |
const ScAddress & | rTopPos, | ||
SCROW | nLength | ||
) |
Definition at line 2482 of file document.cxx.
References ScAddress::Col(), ScTable::DeleteBroadcasters(), FetchTable(), nLength, ScAddress::Row(), and ScAddress::Tab().
Referenced by sc::PurgeListenerAction::execute().
void ScDocument::DeleteCol | ( | const ScRange & | rRange | ) |
Definition at line 1665 of file document.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), DeleteCol(), ScAddress::Row(), and ScAddress::Tab().
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 |
||
) |
Definition at line 1570 of file document.cxx.
References a, DelBroadcastAreasInRange(), DeleteCol(), GetBASM(), GetMaxColCount(), GetTableCount(), ScMarkData::GetTableSelect(), i, lcl_GetFirstTabRange(), lcl_GetNextTabRange(), sc::RefUpdateContext::maRange, sc::RefUpdateContext::maRegroupCols, maTabs, MaxCol(), sc::RefUpdateContext::meMode, sc::RefUpdateContext::mnColDelta, pChartListenerCollection, PutInOrder(), StartNeededListeners(), UpdateBroadcastAreas(), UpdateReference(), URM_INSDEL, and ValidCol().
Referenced by ScDocFunc::DeleteCells(), DeleteCol(), ScViewFunc::DeleteMulti(), ScUndoInsertCells::DoChange(), ScUndoDeleteCells::DoChange(), FitBlock(), ScUndoDeleteMulti::Redo(), ScChangeActionIns::Reject(), sc::ColumnRemoveTransformation::Transform(), and sc::MergeColumnTransformation::Transform().
Definition at line 881 of file documen4.cxx.
References FetchTable().
Referenced by ScDocFunc::ReplaceConditionalFormat().
void ScDocument::DeleteObjectsInArea | ( | SCCOL | nCol1, |
SCROW | nRow1, | ||
SCCOL | nCol2, | ||
SCROW | nRow2, | ||
const ScMarkData & | rMark, | ||
bool | bAnchored = false |
||
) |
Definition at line 240 of file documen9.cxx.
References GetTableCount(), maTabs, and mpDrawLayer.
Referenced by ScDocFunc::DeleteCell(), ScDocFunc::DeleteCells(), ScDocFunc::DeleteContents(), ScViewFunc::DeleteMulti(), and ScDocFunc::MoveBlock().
void ScDocument::DeleteObjectsInSelection | ( | const ScMarkData & | rMark | ) |
Definition at line 256 of file documen9.cxx.
References mpDrawLayer.
Referenced by ScViewFunc::CutToClip(), and ScDocFunc::DeleteContents().
void ScDocument::DeleteRow | ( | const ScRange & | rRange | ) |
Definition at line 1449 of file document.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), DeleteRow(), ScAddress::Row(), and ScAddress::Tab().
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 |
||
) |
Definition at line 1345 of file document.cxx.
References a, DelBroadcastAreasInRange(), DeleteRow(), EndListeningGroups(), GetMaxRowCount(), GetTableCount(), ScMarkData::GetTableSelect(), i, lcl_GetFirstTabRange(), lcl_GetNextTabRange(), sc::RefUpdateContext::maRange, sc::RefUpdateContext::maRegroupCols, maTabs, MaxRow(), sc::RefUpdateContext::meMode, sc::RefUpdateContext::mnRowDelta, pChartListenerCollection, PutInOrder(), SetNeedsListeningGroups(), StartNeededListeners(), UpdateBroadcastAreas(), UpdateReference(), URM_INSDEL, and ValidRow().
Referenced by ScDocFunc::DeleteCells(), ScViewFunc::DeleteMulti(), DeleteRow(), ScUndoInsertCells::DoChange(), ScUndoDeleteCells::DoChange(), FitBlock(), ScUndoDeleteMulti::Redo(), ScChangeActionIns::Reject(), sc::DeleteRowTransformation::Transform(), ScUndoSubTotals::Undo(), ScUndoRepeatDB::Undo(), and ScUndoConsolidate::Undo().
void ScDocument::DeleteSelection | ( | InsertDeleteFlags | nDelFlag, |
const ScMarkData & | rMark, | ||
bool | bBroadcast = true |
||
) |
Definition at line 5921 of file document.cxx.
References CONTENTS, EndListeningIntersectedGroups(), ScMarkData::FillRangeListWithMarks(), GetFormulaCell(), GetTableCount(), i, maTabs, sc::EndListeningContext::purgeEmptyBroadcasters(), ScFormulaCell::SetDirty(), SetDirty(), SetNeedsListeningGroups(), ScRangeList::size(), and StartNeededListeners().
Referenced by ScViewFunc::CutToClip(), ScDocFunc::DeleteContents(), ScUndoPaste::DoChange(), ScUndoDeleteContents::DoChange(), and ScUndoUseScenario::Undo().
void ScDocument::DeleteSelectionTab | ( | SCTAB | nTab, |
InsertDeleteFlags | nDelFlag, | ||
const ScMarkData & | rMark | ||
) |
Definition at line 5979 of file document.cxx.
References ScRange::aEnd, ScRange::aStart, CONTENTS, EndListeningIntersectedGroups(), FetchTable(), ScMarkData::FillRangeListWithMarks(), i, sc::EndListeningContext::purgeEmptyBroadcasters(), SetDirty(), SetNeedsListeningGroups(), ScAddress::SetTab(), ScRangeList::size(), StartNeededListeners(), and ScAddress::Tab().
Referenced by ScUndoFillTable::DoChange().
bool ScDocument::DeleteSparkline | ( | ScAddress const & | rPosition | ) |
Definition at line 6516 of file document.cxx.
References ScAddress::Col(), FetchTable(), ScAddress::Row(), and ScAddress::Tab().
Referenced by sc::UndoDeleteSparkline::Redo(), sc::UndoDeleteSparklineGroup::Redo(), sc::UndoGroupSparklines::Redo(), sc::UndoUngroupSparklines::Redo(), sc::UndoGroupSparklines::Undo(), sc::UndoInsertSparkline::Undo(), and sc::UndoUngroupSparklines::Undo().
bool ScDocument::DeleteTab | ( | SCTAB | nTab | ) |
Definition at line 654 of file document.cxx.
References a, ScRange::aEnd, bInsertingFromOtherDoc, CORE, DelBroadcastAreasInRange(), DeleteAreaLinksOnTab(), GetDocumentShell(), GetTableCount(), HasTable(), comphelper::LibreOfficeKit::isActive(), maTabs, MaxCol(), MaxRow(), MAXTAB, SfxLokHelper::notifyDocumentSizeChangedAllViews(), pDBCollection, pDetOpList, pDPCollection, pRangeName, pUnoBroadcaster, pValidationList, SetAllFormulasDirty(), ScAddress::SetTab(), StartAllListeners(), UpdateBroadcastAreas(), UpdateChartRef(), UpdateRefAreaLinks(), URM_INSDEL, xColNameRanges, and xRowNameRanges.
Referenced by ScDocFunc::DeleteTable(), ScViewFunc::MoveTable(), ScChangeActionIns::Reject(), ScUndoCopyTab::Undo(), ScUndoMakeScenario::Undo(), and ScUndoImportTab::Undo().
Definition at line 747 of file document.cxx.
References a, bInsertingFromOtherDoc, CORE, DelBroadcastAreasInRange(), DeleteAreaLinksOnTab(), GetDocumentShell(), GetTableCount(), HasTable(), comphelper::LibreOfficeKit::isActive(), maTabs, MaxCol(), MaxRow(), MAXTAB, SfxLokHelper::notifyDocumentSizeChangedAllViews(), pDBCollection, pDetOpList, pDPCollection, pRangeName, pUnoBroadcaster, pValidationList, SetAllFormulasDirty(), StartAllListeners(), UpdateBroadcastAreas(), UpdateChartRef(), UpdateRefAreaLinks(), URM_INSDEL, xColNameRanges, and xRowNameRanges.
Referenced by ScViewFunc::DeleteTables().
void ScDocument::DiscardFormulaGroupContext | ( | ) |
Definition at line 3542 of file document.cxx.
References IsThreadedGroupCalcInProgress(), mbFormulaGroupCxtBlockDiscard, and mpFormulaGroupCxt.
Referenced by ScColumn::CellStorageModified().
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().
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().
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().
void ScDocument::DoMerge | ( | SCCOL | nStartCol, |
SCROW | nStartRow, | ||
SCCOL | nEndCol, | ||
SCROW | nEndRow, | ||
SCTAB | nTab, | ||
bool | bDeleteCaptions = true |
||
) |
Definition at line 2063 of file documen3.cxx.
References DeleteAreaTab(), FetchTable(), NOCAPTIONS, NONE, NOTE, and ScTable::SetMergedCells().
Referenced by oox::xls::SheetDataBuffer::applyCellMerging(), ScUndoMerge::DoChange(), ScXMLTableRowCellContext::DoMerge(), XclImpXFRangeBuffer::Finalize(), ScDocFunc::MergeCells(), and ImportLotus::Row_().
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().
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().
|
private |
Definition at line 235 of file documen9.cxx.
References mpDrawLayer.
Referenced by GetDataStart(), GetPrintArea(), GetPrintAreaHor(), and GetPrintAreaVer().
SC_DLLPUBLIC void ScDocument::DumpColumnStorage | ( | SCTAB | nTab, |
SCCOL | nCol | ||
) | const |
Referenced by ScGridWindow::dumpColumnCellStorage().
OString ScDocument::dumpSheetGeomData | ( | SCTAB | nTab, |
bool | bColumns, | ||
SheetGeomType | eGeomType | ||
) |
Serializes the specified sheet's geometry data.
nTab | is the index of the sheet to operate on. |
bColumns | - if true it dumps the data for columns, else it does for rows. |
eGeomType | indicates the type of data to be dumped for rows/columns. |
Definition at line 1044 of file document10.cxx.
References ScTable::dumpSheetGeomData(), and FetchTable().
Referenced by ScTabView::getSheetGeometryData().
|
inline |
Definition at line 1605 of file document.hxx.
References mbChangeReadOnlyEnabled.
Referenced by oox::xls::WorkbookGlobals::finalize(), oox::xls::WorkbookGlobals::initialize(), and ScModelObj::setPropertyValue().
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().
void ScDocument::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.
Definition at line 401 of file document10.cxx.
References pDelayedStartListeningFormulaCells, and ScColumn::StartListeningFormulaCells().
Referenced by sc::DelayStartListeningFormulaCells::DelayStartListeningFormulaCells(), sc::DelayStartListeningFormulaCells::set(), and sc::DelayStartListeningFormulaCells::~DelayStartListeningFormulaCells().
|
inline |
Definition at line 1603 of file document.hxx.
References mbExecuteLinkEnabled.
Referenced by oox::xls::WorkbookGlobals::finalize(), oox::xls::WorkbookGlobals::initialize(), ScExternalRefManager::loadSrcDocument(), ScModelObj::setPropertyValue(), and TestImportXLS().
|
inline |
Definition at line 2208 of file document.hxx.
References mbIdleEnabled.
Referenced by CalcFormulaTree(), ScXMLExport::cancel(), ScProgress::CreateInterpretProgress(), ScProgress::DeleteInterpretProgress(), ScViewFunc::DoSheetConversion(), ScXMLExport::filter(), ScOutputData::FindChanged(), sc::IdleSwitch::IdleSwitch(), ScSpellDialogChildWindow::Init(), XclExpXmlStream::renameTab(), Reorder(), ScSpellDialogChildWindow::Reset(), ScInterpreter::ScDde(), ScDocShellModificator::ScDocShellModificator(), ScInterpreter::ScWebservice(), Sort(), sc::IdleSwitch::~IdleSwitch(), and ScDocShellModificator::~ScDocShellModificator().
void ScDocument::EnableUndo | ( | bool | bVal | ) |
Definition at line 6456 of file document.cxx.
References GetUndoManager(), IsUndoEnabled(), mbUndoEnabled, and mpDrawLayer.
Referenced by ScDrawLayer::CopyFromClip(), oox::xls::WorkbookGlobals::finalize(), oox::xls::WorkbookGlobals::initialize(), ScExternalRefManager::loadSrcDocument(), ScViewFunc::PasteRTF(), ScModelObj::setPropertyValue(), sc::UndoSwitch::UndoSwitch(), and sc::UndoSwitch::~UndoSwitch().
void ScDocument::EnableUserInteraction | ( | bool | bVal | ) |
Definition at line 6472 of file document.cxx.
References mbUserInteractionEnabled.
Referenced by ScExternalRefManager::loadSrcDocument().
void ScDocument::EndChangeTracking | ( | ) |
Definition at line 287 of file documen2.cxx.
References mpShell, pChangeTrack, and SfxObjectShell::SetModified().
Referenced by ScDocShell::Execute(), and SetChangeTrack().
void ScDocument::EndListeningArea | ( | const ScRange & | rRange, |
bool | bGroupListening, | ||
SvtListener * | pListener | ||
) |
Definition at line 61 of file documen7.cxx.
References LimitRangeToAvailableSheets(), pBASM, and ScAddress::UNINITIALIZED.
Referenced by ScServerObject::Clear(), ScFormulaCellGroup::endAllGroupListening(), ScFormulaCell::EndListeningTo(), ScFormulaCell::HandleStuffAfterParallelCalculation(), ScFormulaCell::InterpretTail(), RemoveLookupCache(), RemoveSortedRangeCache(), ScTable::SortReorderByColumn(), and ScTable::SortReorderByRowRefUpdate().
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().
void ScDocument::EndListeningCell | ( | sc::EndListeningContext & | rCxt, |
const ScAddress & | rPos, | ||
SvtListener & | rListener | ||
) |
Definition at line 246 of file documen7.cxx.
References FetchTable(), and ScAddress::Tab().
void ScDocument::EndListeningFormulaCells | ( | std::vector< ScFormulaCell * > & | rCells | ) |
Definition at line 253 of file documen7.cxx.
References sc::EndListeningContext::purgeEmptyBroadcasters().
|
private |
Definition at line 505 of file document10.cxx.
References ScTable::EndListeningGroup(), FetchTable(), and sc::EndListeningContext::purgeEmptyBroadcasters().
Referenced by DeleteRow().
|
private |
Definition at line 480 of file document10.cxx.
References ScAddress::Col(), ScTable::EndListeningIntersectedGroup(), FetchTable(), ScAddress::Row(), and ScAddress::Tab().
Referenced by SetString(), and SetValue().
|
private |
Definition at line 490 of file document10.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), ScTable::EndListeningIntersectedGroups(), FetchTable(), ScAddress::Row(), and ScAddress::Tab().
Referenced by DeleteArea(), DeleteSelection(), DeleteSelectionTab(), and InsertRow().
std::unique_ptr< ScUnoRefList > ScDocument::EndUnoRefUndo | ( | ) |
Definition at line 996 of file documen3.cxx.
References pUnoRefUndoList.
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.
rRange | range in which to potentially calculate the formula cells. |
bSkipRunning | flag to skip evaluation of formula-cells that are marked as already being evaluated. |
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().
void ScDocument::EnsureGraphicNames | ( | ) |
Definition at line 381 of file documen9.cxx.
References mpDrawLayer.
Referenced by ScViewFunc::PasteDraw().
void ScDocument::EnsureTable | ( | SCTAB | nTab | ) |
Definition at line 577 of file documen2.cxx.
References bIsUndo, GetTableCount(), maTabs, and ScTable.
Referenced by ImportLotus::Errcell(), ImportExcel::Formula(), ImportLotus::Formulacell(), ImportLotus::Labelcell(), ImportLotus::Nacell(), ImportLotus::Numbercell(), OP_Formula(), OP_Formula123(), OP_IEEENumber123(), OP_Integer(), OP_Number(), OP_Number123(), ScQProReader::readSheet(), ScFormatFilterPluginImpl::ScImportDif(), ImportExcel::Shrfmla(), ImportLotus::Smallnumcell(), and ScImportExport::Sylk2Doc().
Definition at line 4676 of file document.cxx.
References FetchTable().
Referenced by ScGridWindow::Draw(), and ScGridWindow::UpdateFormulas().
bool ScDocument::ExtendMerge | ( | SCCOL | nStartCol, |
SCROW | nStartRow, | ||
SCCOL & | rEndCol, | ||
SCROW & | rEndRow, | ||
SCTAB | nTab, | ||
bool | bRefresh = false |
||
) |
Definition at line 5556 of file document.cxx.
References FetchTable(), RefreshAutoFilter(), ValidColRow(), and ValidTab().
Referenced by ScPrintFunc::AdjustPrintArea(), ScCellCursorObj::collapseToMergedArea(), CopyFromClip(), CopyToClip(), ScViewFunc::CopyToClipSingleRange(), ScViewFunc::CutToClip(), ScDocFunc::DeleteCells(), ScDocFunc::DeleteContents(), ScViewFunc::DeleteMulti(), ScUndoDeleteMulti::DoChange(), ScUndoPaste::DoChange(), ScUndoInsertCells::DoChange(), ScUndoDeleteCells::DoChange(), ScUndoSelectionAttr::DoChange(), ScUndoSelectionStyle::DoChange(), ScUndoDataForm::DoChange(), ScUndoUpdateAreaLink::DoChange(), ScTabView::DoneRefMode(), ScUndoDragDrop::DoUndo(), ScGridWindow::Draw(), ScOutputData::DrawOneChange(), ScOutputData::DrawRefMark(), ExtendMerge(), ExtendMergeSel(), ExtendTotalMerge(), ScOutputData::FillReferenceMark(), ScViewData::GetPosFromPixel(), ScGridWindow::GetRectsAnyFor(), ScInputHandler::GetReferenceMark(), HasPartOfMerged(), ScTransferObj::InitDocShell(), ScTabView::InitRefMode(), ScDocFunc::InsertCells(), IsPrintEmpty(), lcl_PaintRefChanged(), ScTabView::MarkCursor(), ScDocFunc::MoveBlock(), ScTabView::PaintMarks(), ScTabView::PaintRangeFinderEntry(), ScViewFunc::PasteFromClip(), ScUndoDragDrop::Redo(), ScUndoRemoveMerge::Redo(), ScViewFunc::RemoveMerge(), ScTabView::StopRefMode(), ScUndoAutoFill::Undo(), ScDocFunc::UnmergeCells(), and ScTabView::UpdateRef().
bool ScDocument::ExtendMerge | ( | ScRange & | rRange, |
bool | bRefresh = false |
||
) |
Definition at line 5577 of file document.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), ExtendMerge(), GetTableCount(), PutInOrder(), ScAddress::Row(), ScAddress::SetCol(), ScAddress::SetRow(), and ScAddress::Tab().
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().
void ScDocument::ExtendOverlapped | ( | SCCOL & | rStartCol, |
SCROW & | rStartRow, | ||
SCCOL | nEndCol, | ||
SCROW | nEndRow, | ||
SCTAB | nTab | ||
) | const |
Definition at line 5466 of file document.cxx.
References ATTR_MERGE_FLAG(), ScAttrArray::Count(), FetchTable(), GetAttr(), GetDefPattern(), ScPatternAttr::GetItem(), IsHorOverlapped(), IsVerOverlapped(), MaxRow(), ScAttrArray::mvData, nIndex, ScAttrArray::Search(), ValidColRow(), and ValidTab().
Referenced by ScOutputData::AddPDFNotes(), ScCellCursorObj::collapseToMergedArea(), ScDocFunc::DeleteCells(), ScViewFunc::DeleteMulti(), ScGridWindow::DrawButtons(), ScOutputData::DrawNoteMarks(), ScOutputData::DrawSparklines(), ExtendOverlapped(), ScHTMLExport::FillGraphList(), HasPartOfMerged(), ScDocFunc::InsertCells(), ScTabView::MarkCursor(), ScViewFunc::PasteFromClip(), ScViewFunc::RemoveMerge(), and ScDocFunc::UnmergeCells().
void ScDocument::ExtendOverlapped | ( | ScRange & | rRange | ) | const |
Definition at line 5632 of file document.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), ExtendOverlapped(), GetTableCount(), PutInOrder(), ScAddress::Row(), ScAddress::SetCol(), ScAddress::SetRow(), and ScAddress::Tab().
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().
void ScDocument::ExtendTotalMerge | ( | ScRange & | rRange | ) | const |
Definition at line 5606 of file document.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), ExtendMerge(), HasAttrib(), NotOverlapped, ScAddress::Row(), ScAddress::SetCol(), and ScAddress::SetRow().
Referenced by ScGridWindow::HasScenarioButton(), ScAccessibleCell::IsDropdown(), and lcl_DrawScenarioFrames().
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().
Definition at line 2517 of file document.cxx.
References HasTable(), and maTabs.
formula::VectorRefArray ScDocument::FetchVectorRefArray | ( | const ScAddress & | rPos, |
SCROW | nLength | ||
) |
Definition at line 1763 of file document.cxx.
References ScAddress::Col(), FetchTable(), nLength, ScAddress::Row(), and ScAddress::Tab().
Referenced by ScGroupTokenConverter::convert().
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 |
||
) |
Definition at line 1156 of file documen3.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), ScMarkData::GetMarkArea(), maTabs, PutInOrder(), RefreshAutoFilter(), and ScAddress::Row().
Referenced by ScDBDocFunc::DoImport(), ScDocFunc::FillAuto(), ScDocFunc::FillSeries(), ScDocFunc::FillSimple(), ScDBDocFunc::Query(), and ScUndoAutoFill::Redo().
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().
void ScDocument::FillMatrix | ( | ScMatrix & | rMat, |
SCTAB | nTab, | ||
SCCOL | nCol1, | ||
SCROW | nRow1, | ||
SCCOL | nCol2, | ||
SCROW | nRow2, | ||
svl::SharedStringPool * | pPool = nullptr |
||
) | const |
Definition at line 384 of file documen8.cxx.
References FetchTable(), ScTable::FillMatrix(), and ScMatrix::GetDimensions().
Referenced by convertToTokenArray(), and ScInterpreter::CreateMatrixFromDoubleRef().
void ScDocument::FillTab | ( | const ScRange & | rSrcArea, |
const ScMarkData & | rMark, | ||
InsertDeleteFlags | nFlags, | ||
ScPasteFunc | nFunction, | ||
bool | bSkipEmpty, | ||
bool | bAsLink | ||
) |
Definition at line 3257 of file document.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), CONTENTS, FetchTable(), get(), GetAutoCalc(), GetTableCount(), i, maTabs, nCount, NONE, ScAddress::Row(), SCDOCMODE_UNDO, ScDocument(), SetAutoCalc(), and ScAddress::Tab().
Referenced by ScViewFunc::FillTab().
void ScDocument::FillTabMarked | ( | SCTAB | nSrcTab, |
const ScMarkData & | rMark, | ||
InsertDeleteFlags | nFlags, | ||
ScPasteFunc | nFunction, | ||
bool | bSkipEmpty, | ||
bool | bAsLink | ||
) |
Definition at line 3325 of file document.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), CONTENTS, FetchTable(), get(), GetAutoCalc(), ScMarkData::GetMultiMarkArea(), GetTableCount(), i, maTabs, nCount, NONE, ScAddress::Row(), SCDOCMODE_UNDO, ScDocument(), and SetAutoCalc().
Referenced by ScUndoFillTable::DoChange(), and ScViewFunc::FillTab().
void ScDocument::finalizeOutlineImport | ( | ) |
Definition at line 585 of file document10.cxx.
void ScDocument::FinalTrackFormulas | ( | SfxHintId | nHintId | ) |
Definition at line 503 of file documen7.cxx.
References GetBASM(), mbFinalTrackFormulas, mbTrackFormulasPending, and TrackFormulas().
Referenced by ScBroadcastAreaSlotMachine::LeaveBulkBroadcast().
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().
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.
rnDdePos | (out-param) Returns the index of the DDE link (does not include other links from link manager). |
Definition at line 954 of file documen8.cxx.
References GetLinkManager().
Referenced by ScDDELinkObj::getResults(), and ScDDELinkObj::setResults().
|
private |
Definition at line 5228 of file document.cxx.
References HasTable(), and maTabs.
Referenced by FillInfo().
uno::Reference< embed::XEmbeddedObject > ScDocument::FindOleObjectByName | ( | std::u16string_view | rName | ) |
Definition at line 537 of file documen5.cxx.
References SdrOle2Obj::GetObjRef(), SdrOle2Obj::GetPersistName(), mpDrawLayer, nCount, SdrObjListIter::Next(), and pObject.
Referenced by RestoreChartListener(), and UpdateChartRef().
|
private |
Definition at line 997 of file documen4.cxx.
References ColDifferences(), i, RowDifferences(), SC_DOCCOMP_COLUMNS, SC_DOCCOMP_MAXDIFF, SC_DOCCOMP_MINGOOD, SC_DOCCOMP_ROWS, SCROW_MAX, ScProgress::SetStateOnPercent(), and ValidRow().
Referenced by CompareDocument().
ScRangeData * ScDocument::FindRangeNameBySheetAndIndex | ( | SCTAB | nTab, |
sal_uInt16 | nIndex | ||
) | const |
Find a named expression / range name in either global or a local scope.
nTab | If <0 search nIndex in global scope, if >=0 search nIndex in scope of nTab. |
nIndex | Index of named expression / range name. |
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().
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.
nTokenTab | Tab/sheet on which to find the name, -1 if global scope. For example obtained from ocName token. |
nTokenIndex | Index of named expression. For example obtained from ocName token. |
nGlobalRefTab | Tab to check if used in global names. |
nLocalRefTab | Tab to check if used in sheet-local names. |
nOldTokenTab | The original tab of the copied sheet, used as sheet-local base position for relative references. |
nOldTokenTabReplacement | The replacement to use for relative references if the name encountered uses nOldTokenTab as base position. |
bSameDoc | FALSE 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. |
nRecursion | Recursion 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().
Definition at line 4502 of file document.cxx.
References FetchTable().
Referenced by CopyNonFilteredFromClip().
Definition at line 4454 of file document.cxx.
References FetchTable().
Referenced by ScViewData::GetScrPos(), lcl_PaintOneRange(), ScTabView::PaintRangeFinderEntry(), ScViewFunctionSet::SetCursorAtCell(), ScExportBase::TrimDataArea(), and ScHTMLExport::WriteTables().
Definition at line 1827 of file document.cxx.
References ScRange::aEnd, ALL, ScAddress::Col(), DeleteAreaTab(), DeleteCol(), DeleteRow(), InsertCol(), InsertRow(), lcl_GetInsDelRanges(), ScAddress::Row(), ScAddress::SetCol(), ScAddress::SetRow(), and UpdateGrow().
Referenced by ScUndoUpdateAreaLink::DoChange(), ScDBDocFunc::DoImport(), ScDBDocFunc::Query(), ScUndoImportData::Redo(), ScAreaLink::Refresh(), ScUndoQuery::Undo(), ScUndoImportData::Undo(), and ScUndoRepeatDB::Undo().
void ScDocument::ForgetNoteCaptions | ( | const ScRangeList & | rRanges, |
bool | bPreserveData | ||
) |
Definition at line 6727 of file document.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), FetchTable(), i, n, ScAddress::Row(), ScRangeList::size(), and ScAddress::Tab().
Referenced by ClosingClipboardSource(), and ScUndoPaste::DoChange().
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().
void ScDocument::GetAllColBreaks | ( | std::set< SCCOL > & | rBreaks, |
SCTAB | nTab, | ||
bool | bPage, | ||
bool | bManual | ||
) | const |
Definition at line 4349 of file document.cxx.
References FetchTable().
Referenced by ScPrintFunc::CalcZoom(), ScGridWindow::SetupInitialPageBreaks(), and XclExpPageSettings::XclExpPageSettings().
CommentCaptionState ScDocument::GetAllNoteCaptionsState | ( | const ScRangeList & | rRanges | ) |
Definition at line 6742 of file document.cxx.
References ScRange::aEnd, ALLHIDDEN, ScRange::aStart, i, maTabs, MIXED, n, ScRangeList::size(), and ScAddress::Tab().
Referenced by ScCellShell::ExecuteEdit(), and ScCellShell::GetState().
void ScDocument::GetAllNoteEntries | ( | SCTAB | nTab, |
std::vector< sc::NoteEntry > & | rNotes | ||
) | const |
Definition at line 6846 of file document.cxx.
References FetchTable().
void ScDocument::GetAllNoteEntries | ( | std::vector< sc::NoteEntry > & | rNotes | ) | const |
Definition at line 6837 of file document.cxx.
References maTabs.
Referenced by ScCellShell::ExecuteEdit(), ExcTable::FillAsTableBinary(), ExcTable::FillAsTableXml(), ScContentTree::GetNoteStrings(), ScModelObj::getPostIts(), ScModelObj::getPostItsPos(), and ScContentTree::NoteStringsChanged().
Definition at line 2139 of file documen3.cxx.
References maTabs.
Referenced by FillInfo(), ScConversionEngineBase::FindNextConversionCell(), ScCellIterator::getCurrent(), lcl_probeLeftOrRightFGs(), and ScTabView::SkipCursorHorizontal().
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().
void ScDocument::GetAllRowBreaks | ( | std::set< SCROW > & | rBreaks, |
SCTAB | nTab, | ||
bool | bPage, | ||
bool | bManual | ||
) | const |
Definition at line 4343 of file document.cxx.
References FetchTable().
Referenced by ScPrintFunc::CalcZoom(), ScGridWindow::SetupInitialPageBreaks(), and XclExpPageSettings::XclExpPageSettings().
std::vector< OUString > ScDocument::GetAllTableNames | ( | ) | const |
Definition at line 270 of file document.cxx.
References a, aName, ScTable::GetName(), and maTabs.
Referenced by sc::SearchResultsDlg::FillResults(), ScCompiler::GetSetupTabNames(), sc::TokenStringContext::TokenStringContext(), and sc::CompileFormulaContext::updateTabNames().
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().
ScDBData * ScDocument::GetAnonymousDBData | ( | ) |
Definition at line 313 of file document.cxx.
References mpAnonymousDBData.
Definition at line 290 of file document.cxx.
References FetchTable().
Referenced by ScDBFuncUndo::BeginRedo(), ScUndoAutoFilter::DoChange(), ScDBFuncUndo::EndUndo(), ExcAutoFilterRecs::ExcAutoFilterRecs(), oox::xls::WorksheetGlobals::finalizeWorksheetImport(), ScDBCollection::GetAllDBsFromTab(), ScVbaWorksheet::getAutoFilterMode(), ScDBCollection::GetDBAtArea(), ScDBCollection::GetDBAtCursor(), ScDatabaseRangeObj::GetDBData_Impl(), ScDBCollection::GetDBNearCursor(), ScUndoUtil::GetOldDBData(), ScUnnamedDatabaseRangesObj::hasByTable(), lcl_GetDBData_Impl(), ScDBDocFunc::ModifyDBData(), ScHeaderControl::Paint(), ScDBDocFunc::RepeatDB(), ScVbaWorksheet::setAutoFilterMode(), ScDBDocFunc::Sort(), ScDBCollection::UpdateReference(), and ScXMLExportDatabaseRanges::WriteDatabaseRanges().
CharCompressType ScDocument::GetAsianCompression | ( | ) | const |
Definition at line 623 of file documen9.cxx.
References nAsianCompression.
Referenced by ApplyAsianEditSettings(), ScDocumentConfiguration::getPropertyValue(), and InitDrawLayer().
bool ScDocument::GetAsianKerning | ( | ) | const |
Definition at line 645 of file documen9.cxx.
References nAsianKerning, and SC_ASIANKERNING_INVALID.
Referenced by ApplyAsianEditSettings(), ScDocumentConfiguration::getPropertyValue(), and InitDrawLayer().
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().
|
inline |
Definition at line 1812 of file document.hxx.
References GetAttr().
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().
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.
|
inline |
Definition at line 1800 of file document.hxx.
References GetAttr().
|
inline |
Definition at line 1806 of file document.hxx.
References GetAttr().
|
inline |
Definition at line 1413 of file document.hxx.
References bAutoCalc.
Referenced by CalcFormulaTree(), CheckVectorizationState(), CompileXML(), ScColumn::CopyCellToDocument(), ScColumn::CopyStaticToDocument(), ScProgress::CreateInterpretProgress(), DeleteAreaTab(), ScDBDocFunc::DoImport(), ScModelObj::enableAutomaticCalculation(), FillTab(), FillTabMarked(), ScFormulaCell::GetMatrix(), ScDocumentConfiguration::getPropertyValue(), InsertCol(), InsertRow(), ScConditionEntry::Interpret(), InterpretDirtyCells(), ScTabView::InterpretVisible(), ScModelObj::isAutomaticCalculationEnabled(), ScFormulaCell::NeedsInterpret(), ScUndoDBData::Redo(), ScInterpreter::ScInfo(), SetAllFormulasDirty(), SetDirty(), ScDocFunc::SetFormulaCell(), ScDocFunc::SetFormulaCells(), SetSubTotalCellsDirty(), SetTableOpDirty(), TransferTab(), ScUndoDBData::Undo(), ScUndoImportData::Undo(), ScChartListener::Update(), and ScChangeTrack::UpdateReference().
Definition at line 1178 of file documen3.cxx.
References ScRange::aStart, GetTableCount(), maTabs, and ScAddress::Tab().
Referenced by ScTabView::UpdateRef().
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().
|
inline |
Definition at line 1388 of file document.hxx.
References pAutoNameCache.
Referenced by ScCompiler::ParseColRowName().
|
inline |
Definition at line 2231 of file document.hxx.
References pBASM.
Referenced by CopyFromClip(), CopyMultiRangeFromClip(), CopyToDocument(), ScTable::DeleteArea(), DeleteCol(), ScTable::DeleteRow(), ScTable::DeleteSelection(), FinalTrackFormulas(), InsertCol(), SetAllFormulasDirty(), SetDirty(), ScTable::SetDirtyIfPostponed(), ScTable::SetRowHidden(), ScTable::SortReorderByColumn(), and ScTable::SortReorderByRowRefUpdate().
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 |
Definition at line 5239 of file document.cxx.
References ATTR_BORDER(), SvxBoxItem::GetBottom(), GetEffItem(), SvxBoxItem::GetLeft(), SvxBoxItem::GetRight(), SvxBoxItem::GetTop(), MaxCol(), MaxRow(), and ScHasPriority().
const uno::Reference< i18n::XBreakIterator > & ScDocument::GetBreakIterator | ( | ) |
Definition at line 40 of file documen6.cxx.
References comphelper::getProcessComponentContext(), and pScriptTypeData.
Referenced by XclExpChSourceLink::ConvertStringSequence(), ScAutoFmtPreview::DetectRTL(), XclExpStringHelper::GetLeadingScriptType(), GetStringScriptType(), and HasStringWeakCharacters().
SvtBroadcaster * ScDocument::GetBroadcaster | ( | const ScAddress & | rPos | ) |
Definition at line 2464 of file document.cxx.
References ScAddress::Col(), FetchTable(), ScTable::GetBroadcaster(), ScAddress::Row(), and ScAddress::Tab().
Referenced by BroadcastHintInternal().
const SvtBroadcaster * ScDocument::GetBroadcaster | ( | const ScAddress & | rPos | ) | const |
Definition at line 2473 of file document.cxx.
References ScAddress::Col(), FetchTable(), ScTable::GetBroadcaster(), ScAddress::Row(), and ScAddress::Tab().
sc::BroadcasterState ScDocument::GetBroadcasterState | ( | ) | const |
Definition at line 1106 of file document10.cxx.
|
inline |
Definition at line 2619 of file document.hxx.
References maCalcConfig.
Referenced by ScModule::CreateItemSet(), oox::xls::WorkbookHelper::finalizeWorkbookImport(), ScDocumentConfiguration::getPropertyValue(), oox::xls::WorkbookGlobals::initialize(), ScInterpreter::MergeCalcConfig(), sc::FormulaGroupInterpreter::MergeCalcConfig(), oox::xls::ExtGlobalWorkbookContext::onCreateContext(), ScDocumentConfiguration::setPropertyValue(), ScXMLImport::SetStringRefSyntaxIfMissing(), and ExcDocument::WriteXml().
Definition at line 998 of file document.cxx.
References HasTable(), and maTabs.
Referenced by CompareDocument(), ScViewFunc::PasteDataFormat(), and ScAreaLink::Refresh().
void ScDocument::GetCellChangeTrackNote | ( | const ScAddress & | cell, |
OUString & | strTrackText, | ||
bool & | pbLeftEdge | ||
) |
Definition at line 1380 of file documen2.cxx.
References ScRange::aEnd, ScRange::aStart, ScBigRange::aStart, ScAddress::Col(), ScRange::Contains(), eType, ScChangeAction::GetActionNumber(), ScChangeAction::GetBigRange(), GetChangeTrack(), GetChangeViewSettings(), ScChangeAction::GetComment(), LocaleDataWrapper::getDate(), ScChangeAction::GetDateTime(), ScChangeAction::GetDescription(), ScChangeTrack::GetFirst(), ScGlobal::getLocaleData(), ScChangeAction::GetNext(), LocaleDataWrapper::getTime(), ScChangeAction::GetType(), ScChangeAction::GetUser(), ScViewUtil::IsActionShown(), ScChangeAction::IsVisible(), ScBigRange::MakeRange(), ScAddress::Row(), SC_CAT_CONTENT, SC_CAT_DELETE_COLS, SC_CAT_DELETE_ROWS, SC_CAT_MOVE, ScAddress::SetCol(), ScAddress::SetRow(), ScChangeViewSettings::ShowChanges(), ScAddress::Tab(), and ScBigAddress::Tab().
Referenced by ScAccessibleCellBase::GetAllDisplayNote().
sal_uInt64 ScDocument::GetCellCount | ( | ) | const |
Definition at line 6125 of file document.cxx.
Referenced by ScXMLExport::ExportMeta_(), and GetDocStat().
SvtScriptType ScDocument::GetCellScriptType | ( | const ScAddress & | rPos, |
sal_uInt32 | nNumberFormat, | ||
const ScRefCellValue * | pCell = nullptr |
||
) |
Definition at line 111 of file documen6.cxx.
References aStr, GetScriptType(), ScCellFormat::GetString(), GetStringScriptType(), mxPoolHelper, and SetScriptType().
Referenced by GetScriptType(), and ScOutputData::LayoutStrings().
Definition at line 3728 of file document.cxx.
References CELLTYPE_NONE, FetchTable(), and ScAddress::Tab().
Definition at line 3736 of file document.cxx.
References CELLTYPE_NONE, and FetchTable().
Referenced by ScUndoSelectionAttr::ChangeEditData(), ScViewFunc::CopyAutoSpellData(), ScUndoCursorAttr::DoChange(), ScDBDocFunc::DoImport(), ScCellShell::ExecuteEdit(), XclImpXFRangeBuffer::Finalize(), ScConversionEngineBase::FindNextConversionCell(), ScCellShell::GetCellState(), ScDataTransformationBaseControl::getLastCol(), ScCellObj::GetResultType_Impl(), ScCellObj::getType(), ScOutputData::IsEmptyCellText(), ScDBDocFunc::Query(), sc::SparklineRenderer::render(), ScInterpreter::ScIsFormula(), ScDocFunc::SetNormalString(), Solver(), ScInputWindow::StartFormula(), sc::SplitColumnTransformation::Transform(), sc::TextTransformation::Transform(), sc::AggregateFunction::Transform(), sc::NumberTransformation::Transform(), sc::ReplaceNullTransformation::Transform(), sc::DateTimeTransformation::Transform(), sc::FindReplaceTransformation::Transform(), sc::DeleteRowTransformation::Transform(), sc::SwapRowsTransformation::Transform(), ScUndoRepeatDB::Undo(), and ScInputHandler::UpdateAdjust().
|
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().
|
inline |
Definition at line 2243 of file document.hxx.
References pChangeViewSettings.
Referenced by ScOutputData::DrawChangeTrack(), ScRedComDialog::FindNext(), ScRedComDialog::FindPrev(), GetCellChangeTrackNote(), ScAcceptChgDlg::Init(), ScHighlightChgDlg::Init(), IsCellInChangeTrack(), and ScGridWindow::ShowNoteMarker().
uno::Reference< chart2::XChartDocument > ScDocument::GetChartByName | ( | std::u16string_view | rChartName | ) |
Definition at line 138 of file documen5.cxx.
References ScChartHelper::GetChartFromSdrObject(), SdrOle2Obj::GetPersistName(), maTabs, mpDrawLayer, nCount, SdrObjListIter::Next(), and pObject.
Referenced by ScChartHelper::AdjustRangesOfChartsOnDestinationPage(), GetChartRanges(), ScChartObj::GetData_Impl(), SetChartRanges(), UpdateChart(), and ScChartHelper::UpdateChartsOnDestinationPage().
|
inline |
Definition at line 2233 of file document.hxx.
References pChartListenerCollection.
Referenced by ScChart2DataSequence::addModifyListener(), ScChartsObj::addNewByName(), ScChartHelper::AddRangesIfProtectedChart(), XclImpChChart::Convert(), ScTable::CopyToTable(), ScMyOLEFixer::CreateChartListener(), ScChartHelper::CreateProtectedChartListenersAndNotify(), ScTable::DBShowRow(), ScTable::DBShowRows(), ScRefUndoData::DeleteUnchanged(), ScXMLExport::ExportShape(), ScChartObj::getFastPropertyValue(), ScChart2DataSequence::RefChanged(), ScChartsObj::removeByName(), ScChart2DataSequence::removeModifyListener(), ScDBDocFunc::RemovePivotTable(), ScRefUndoData::ScRefUndoData(), ScChartObj::setFastPropertyValue_NoBroadcast(), ScChartListener::SetUpdateQueue(), ScTable::ShowCol(), ScTable::ShowRow(), ScTable::ShowRows(), ScChartListener::Update(), and ScChart2DataSequence::~ScChart2DataSequence().
void ScDocument::GetChartRanges | ( | std::u16string_view | rChartName, |
std::vector< ScRangeList > & | rRanges, | ||
const ScDocument & | rSheetNameDoc | ||
) |
Definition at line 168 of file documen5.cxx.
References GetAddressConvention(), GetChartByName(), ScChartHelper::GetChartRanges(), and ScRangeList::Parse().
Referenced by ScChartHelper::AdjustRangesOfChartsOnDestinationPage(), and ScDrawLayer::CopyFromClip().
Definition at line 3147 of file document.cxx.
References ScRange::aEnd, ScRange::aStart, bIsClip, ScAddress::Col(), CountNonFilteredRows(), ScRangeList::empty(), ScRangeList::front(), GetClipParam(), GetTableCount(), i, ScClipParam::maRanges, maTabs, n, ScAddress::Row(), and ScRangeList::size().
Referenced by CopyFromClip(), ScCellShell::ExecuteEdit(), lcl_getClipRangeFromClipDoc(), ScViewFunc::PasteFromClip(), and ScClipUtil::PasteFromClipboard().
|
inline |
Definition at line 647 of file document.hxx.
References mpClipOptions.
ScClipParam & ScDocument::GetClipParam | ( | ) |
Definition at line 2564 of file document.cxx.
References mpClipParam.
Referenced by CopyBlockFromClip(), CopyFromClip(), ScDrawLayer::CopyFromClip(), CopyMultiRangeFromClip(), ScTable::CopyOneCellFromClip(), CopyOneCellFromClip(), ScColumn::CopyOneCellFromClip(), CopyTabToClip(), ScViewFunc::CopyToClipSingleRange(), ScColumn::DeleteBeforeCopyFromClip(), ScTable::DeleteBeforeCopyFromClip(), ScImportExport::Doc2Text(), GetClipArea(), GetClipStart(), HasClipFilteredRows(), IsCutMode(), ScViewFunc::PasteFromClip(), ScClipUtil::PasteFromClipboard(), ScViewFunc::PasteFromClipToMultiRanges(), ScViewFunc::PasteMultiRangesFromClip(), ScViewData::SelectionForbidsPaste(), SetClipArea(), SetCutMode(), sc::CopyFromClipContext::setSingleCell(), TransposeClip(), ScGridWindow::UpdateCopySourceOverlay(), UpdateReference(), and UpdateTranspose().
Definition at line 3199 of file document.cxx.
References ScRange::aStart, bIsClip, ScAddress::Col(), ScRangeList::empty(), ScRangeList::front(), GetClipParam(), ScClipParam::maRanges, and ScAddress::Row().
Referenced by ScCellShell::ExecuteEdit(), lcl_getClipRangeFromClipDoc(), ScViewFunc::PasteFromClip(), and ScClipUtil::PasteFromClipboard().
sal_uInt64 ScDocument::GetCodeCount | ( | ) | const |
Definition at line 6151 of file document.cxx.
Referenced by ScUndoMoveTab::DoChange().
|
inline |
Definition at line 609 of file document.hxx.
References aDocCodeName.
Referenced by ScVbaWorksheet::createSheetCopyInNewDoc(), ScDocFunc::DeleteTable(), ScViewFunc::DeleteTables(), XMLCodeNameProvider::getByName(), XMLCodeNameProvider::getElementNames(), ScTableSheetObj::GetOnePropertyValue(), ScModelObj::getPropertyValue(), XMLCodeNameProvider::hasByName(), XMLCodeNameProvider::hasElements(), ScVbaEventsHelper::implGetDocumentModuleName(), ImportExcel8::Read(), ooo::vba::excel::setUpDocumentModules(), and TransferTab().
bool ScDocument::GetCodeName | ( | SCTAB | nTab, |
OUString & | rName | ||
) | const |
Definition at line 233 of file document.cxx.
References FetchTable().
Definition at line 4623 of file document.cxx.
References ScDocAttrIterator::GetNext().
Referenced by ScMyDefaultStyles::FillDefaultStyles().
Definition at line 4327 of file document.cxx.
References FetchTable(), and NONE.
Referenced by ScTableColumnObj::GetOnePropertyValue(), and ScTableColumnsObj::getPropertyValue().
|
inline |
Definition at line 819 of file document.hxx.
References tools::SvRef< typename T >::get(), and xColNameRanges.
Referenced by ScLabelRangesObj::addNew(), ScLabelRangesObj::getCount(), ScLabelRangeObj::GetData_Impl(), GetFormulaEntries(), ScLabelRangesObj::GetObjectByIndex_Impl(), ScCompiler::HandleColRowName(), ScLabelRangeObj::Modify_Impl(), ScCompiler::ParseColRowName(), ScLabelRangesObj::removeByIndex(), and ScColRowNameRangesDlg::ScColRowNameRangesDlg().
|
inline |
Definition at line 821 of file document.hxx.
References xColNameRanges.
Referenced by ScLabelRangesObj::addNew(), ScLabelRangeObj::Modify_Impl(), XclImpLabelranges::ReadLabelranges(), ScLabelRangesObj::removeByIndex(), and XclExpLabelranges::XclExpLabelranges().
tools::Long ScDocument::GetColOffset | ( | SCCOL | nCol, |
SCTAB | nTab, | ||
bool | bHiddenAsZero = true |
||
) | const |
Definition at line 4224 of file document.cxx.
References FetchTable().
Referenced by ScDrawView::calculateGridOffsetForB2DRange(), ScDrawView::calculateGridOffsetForSdrObject(), ScTabView::GetChartInsertPos(), ScEEImport::InsertGraphic(), ScDrawLayer::RecalcPos(), ScDrawLayer::ResizeLastRectFromAnchor(), and ScDrawView::SyncForGrid().
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().
ScColumnsRange ScDocument::GetColumnsRange | ( | SCTAB | nTab, |
SCCOL | nColBegin, | ||
SCCOL | nColEnd | ||
) | const |
Definition at line 2541 of file document.cxx.
References FetchTable().
Referenced by XclImpColRowSettings::ConvertHiddenFlags(), ScTableSheetObj::getColumnPageBreaks(), and ScDrawLayer::GetPrintArea().
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().
tools::Long ScDocument::GetColWidth | ( | SCCOL | nStartCol, |
SCCOL | nEndCol, | ||
SCTAB | nTab | ||
) | const |
Definition at line 4130 of file document.cxx.
References FetchTable().
Definition at line 4145 of file document.cxx.
References FetchTable().
Referenced by ScViewData::CalcPPT().
ScConditionalFormat * ScDocument::GetCondFormat | ( | SCCOL | nCol, |
SCROW | nRow, | ||
SCTAB | nTab | ||
) | const |
Definition at line 837 of file documen4.cxx.
References ATTR_CONDITIONAL(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::empty(), GetAttr(), GetCondFormList(), ScConditionalFormatList::GetFormat(), and nIndex.
Referenced by ScViewFunc::EnterData(), and ScTable::GetCellBackgroundColor().
ScConditionalFormatList * ScDocument::GetCondFormList | ( | SCTAB | nTab | ) | const |
Definition at line 860 of file documen4.cxx.
References HasTable(), and maTabs.
Referenced by XMLTableStyleContext::ApplyCondFormat(), ScUndoConditionalFormatList::DoChange(), ScXMLConditionalFormatsContext::endFastElement(), ScXMLConditionalFormatContext::endFastElement(), ScCellShell::ExecuteEdit(), ScXMLExport::ExportConditionalFormat(), FillInfo(), GetCondFormat(), GetCondResult(), ScCondFormatsObj::getCoreObject(), GetEffItem(), ScDocFunc::ReplaceConditionalFormat(), ScCondFormatDlg::ScCondFormatDlg(), ScDocFunc::SetConditionalFormatList(), ScColumn::UpdateScriptType(), ScHTMLExport::WriteCell(), and XclExpDxfs::XclExpDxfs().
const SfxItemSet * ScDocument::GetCondResult | ( | SCCOL | nCol, |
SCROW | nRow, | ||
SCTAB | nTab, | ||
ScRefCellValue * | pCell = nullptr |
||
) | const |
Definition at line 791 of file documen4.cxx.
References ScRefCellValue::assign(), ATTR_CONDITIONAL(), GetCondFormList(), GetCondResult(), ScPatternAttr::GetItem(), and GetPattern().
Referenced by ScOutputData::DrawEdit(), ScOutputData::DrawRotated(), ScOutputData::DrawRotatedFrame(), FillInfo(), ScTable::GetCellBackgroundColor(), ScTable::GetCellTextColor(), GetCondResult(), ScColumn::GetNeededSize(), GetScriptType(), ScAttrArray::HasAttrib_Impl(), ScOutputData::LayoutStrings(), lcl_FindBackground(), lcl_GetRotateDir(), ScTable::MaybeAddExtraColumn(), ScOutputData::SetCellRotations(), ScColumn::UpdateScriptType(), and ScHTMLExport::WriteCell().
const SfxItemSet * ScDocument::GetCondResult | ( | ScRefCellValue & | rCell, |
const ScAddress & | rPos, | ||
const ScConditionalFormatList & | rList, | ||
const ScCondFormatIndexes & | rIndex | ||
) | const |
Definition at line 811 of file documen4.cxx.
References ScConditionalFormat::GetCellStyle(), ScConditionalFormatList::GetFormat(), SfxStyleSheetBase::GetItemSet(), and mxPoolHelper.
|
inline |
Definition at line 654 of file document.hxx.
References pConsolidateDlgData.
Referenced by ScModelObj::createConsolidationDescriptor(), ScTabViewShell::CreateRefDialogController(), and ScXMLExport::WriteConsolidation().
OUString ScDocument::GetCopyTabName | ( | SCTAB | nTab | ) | const |
Definition at line 215 of file document.cxx.
References maTabNames, and ValidTab().
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:
bIncludeOld | when true, ensure that the returned area contains at least the initial area even if the actual data area is smaller than the initial area. |
bOnlyDown | when 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().
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().
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().
Definition at line 679 of file documen2.cxx.
References ScRange::aStart, ScAddress::Col(), DrawGetPrintArea(), FetchTable(), MaxCol(), MaxRow(), mpDrawLayer, and ScAddress::Row().
Referenced by ScTabViewShell::ExecuteTable(), ScGridWinUIObject::get_state(), ScExportBase::GetDataArea(), ScModelObj::getRenderer(), ScCellCursorObj::gotoStartOfUsedArea(), ScViewFunc::PasteDataFormat(), ScModelObj::render(), and XclExpPivotCache::XclExpPivotCache().
ScDBData * ScDocument::GetDBAtArea | ( | SCTAB | nTab, |
SCCOL | nCol1, | ||
SCROW | nRow1, | ||
SCCOL | nCol2, | ||
SCROW | nRow2 | ||
) |
Definition at line 346 of file documen3.cxx.
References pDBCollection.
const ScDBData * ScDocument::GetDBAtArea | ( | SCTAB | nTab, |
SCCOL | nCol1, | ||
SCROW | nRow1, | ||
SCCOL | nCol2, | ||
SCROW | nRow2 | ||
) | const |
Definition at line 338 of file documen3.cxx.
References pDBCollection.
Referenced by ScDBDocFunc::DoImport(), ScDBFunc::DoSubTotals(), ScDBDocFunc::DoSubTotals(), oox::xls::AutoFilter::finalizeImport(), ScCellShell::GetDBState(), ScUndoUtil::GetOldDBData(), lcl_GetAreaName(), ScDBDocFunc::Query(), ScDBDocFunc::Sort(), and ScDBFunc::UISort().
ScDBData * ScDocument::GetDBAtCursor | ( | SCCOL | nCol, |
SCROW | nRow, | ||
SCTAB | nTab, | ||
ScDBDataPortion | ePortion | ||
) |
Definition at line 330 of file documen3.cxx.
References pDBCollection.
const ScDBData * ScDocument::GetDBAtCursor | ( | SCCOL | nCol, |
SCROW | nRow, | ||
SCTAB | nTab, | ||
ScDBDataPortion | ePortion | ||
) | const |
Definition at line 322 of file documen3.cxx.
References pDBCollection.
Referenced by ScChart2DataSequence::BuildDataCache(), ScCompiler::CreateStringFromSingleRef(), ScGridWindow::DrawButtons(), ScCellShell::GetDBState(), GetFilterSelCount(), HasAutoFilter(), ScGridWindow::IsAutoFilterActive(), ScGridWindow::LaunchAutoFilterMenu(), ScDBFunc::Query(), ScDBDocFunc::Query(), ScDBFunc::RepeatDB(), ScDBDocFunc::RepeatDB(), and ScUndoQuery::Undo().
|
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().
bool ScDocument::GetDdeLinkData | ( | size_t | nDdePos, |
OUString & | rAppl, | ||
OUString & | rTopic, | ||
OUString & | rItem | ||
) | const |
Returns the connection data of the specified DDE link.
nDdePos | Index 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. |
Definition at line 960 of file documen8.cxx.
References GetLinkManager().
Referenced by ScDDELinksObj::getElementNames(), ScDDELinksObj::GetObjectByIndex_Impl(), ScDDELinksObj::GetObjectByName_Impl(), and ScDDELinksObj::hasByName().
bool ScDocument::GetDdeLinkMode | ( | size_t | nDdePos, |
sal_uInt8 & | rnMode | ||
) | const |
Returns the link mode of the specified DDE link.
nDdePos | Index of the DDE link (does not include other links from link manager). |
rnMode | (out-param) The link mode of the specified DDE link. |
Definition at line 972 of file documen8.cxx.
References GetLinkManager().
Referenced by ScXMLExportDDELinks::WriteDDELinks().
const ScMatrix * ScDocument::GetDdeLinkResultMatrix | ( | size_t | nDdePos | ) | const |
Returns the result matrix of the specified DDE link.
nDdePos | Index of the DDE link (does not include other links from link manager). |
Definition at line 982 of file documen8.cxx.
References GetLinkManager(), and ScDdeLink::GetResult().
Referenced by ScDDELinkObj::getResults(), and ScXMLExportDDELinks::WriteTable().
ScPatternAttr * ScDocument::GetDefPattern | ( | ) | const |
Definition at line 6045 of file document.cxx.
References ATTR_PATTERN(), and mxPoolHelper.
Referenced by XclImpXF::ApplyPatternToAttrVector(), ScAttrArray::CopyAreaSafe(), ScColumn::CopyScenarioFrom(), ScColumn::CopyScenarioTo(), XclExpStringHelper::CreateCellString(), ScDdeLink::DataChanged(), ScAttrArray::DeleteArea(), ScAttrArray::DeleteHardAttr(), ScXMLImport::ExamineDefaultStyle(), ExtendOverlapped(), ScTable::FillAuto(), FillInfo(), XclImpXFRangeBuffer::Finalize(), oox::xls::SheetDataBuffer::finalizeImport(), getDefaultCharWidth(), GetNoteEngine(), ScColumn::GetOptimalHeight(), ScAttrArray::GetPattern(), ScAttrArray::GetPatternRange(), ScColumn::GetSelectionStyle(), ScAttrArray::HasAttrib(), ScAttrArray::HasVisibleAttrIn(), ScHorizontalAttrIterator::InitForNextRow(), XclExpXFBuffer::InsertCellXF(), ScAttrArray::IsAllEqual(), ScAttrArray::IsEmpty(), ScAttrArray::IsMerged(), ScAttrArray::IsStyleSheetUsed(), ScAttrArray::IsVisibleEqual(), lcl_sendLOKDocumentBackground(), ScAttrArray::MergeBlockFrame(), ScAttrArray::MergePatternArea(), ScAttrArray::Reserve(), ScAttrArray::ScAttrArray(), ScAttrArray_IterGetNumberFormat(), ScInterpreter::ScCell(), ScAttrArray::SearchStyle(), ScAttrArray::SetDefaultIfNotInit(), and ScAttrArray::TestInsertRow().
|
inline |
Definition at line 1852 of file document.hxx.
References pDetOpList.
Referenced by ScRefUndoData::DeleteUnchanged(), ScDocFunc::DetectiveDelAll(), ScDocFunc::DetectiveRefresh(), ScXMLExport::GetDetectiveOpList(), ScRefUndoData::ScRefUndoData(), and ScUndoDetective::Undo().
Definition at line 187 of file document10.cxx.
References ATTR_BACKGROUND(), ATTR_FONT_COLOR(), COL_AUTO(), SfxItemPool::GetItemSurrogates(), GetPool(), and SvxColorItem::GetValue().
sc::DocumentLinkManager & ScDocument::GetDocLinkManager | ( | ) |
Definition at line 241 of file documen2.cxx.
References mpDocLinkMgr.
Referenced by ScTabViewShell::Construct(), CopyDdeLinks(), CreateDdeLink(), DeleteAreaLinksOnTab(), ScCellShell::ExecuteDB(), ScDDELinksObj::getCount(), GetDocLinkManager(), ScDDELinksObj::getElementNames(), GetLinkManager(), ScDDELinksObj::GetObjectByName_Impl(), HasAreaLinks(), ScDDELinksObj::hasByName(), IMPL_LINK(), IMPL_LINK_NOARG(), InitClipPtrs(), InitDrawLayer(), LoadDdeLinks(), ScDDELinkObj::refresh(), ScAreaLinkSaveCollection::Restore(), sc::DataStream::Set(), UpdateAreaLinks(), UpdateExternalRefLinks(), UpdateRefAreaLinks(), ScXMLExport::WriteDataStream(), and ScXMLExport::WriteExternalDataTransformations().
const sc::DocumentLinkManager & ScDocument::GetDocLinkManager | ( | ) | const |
Definition at line 246 of file documen2.cxx.
References GetDocLinkManager().
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().
ScDocProtection * ScDocument::GetDocProtection | ( | ) | const |
Definition at line 1881 of file documen3.cxx.
References pDocProtection.
Referenced by ScTabViewShell::Execute(), XclExpRoot::IsDocumentEncrypted(), lcl_AddWorkbookProtection(), ScPassHashHelper::needsPassHashRegen(), ScDocFunc::ProtectDocument(), ScXMLExport::SetBodyAttributes(), ScRetypePassDlg::SetDataFromDocument(), and ScDocFunc::Unprotect().
void ScDocument::GetDocStat | ( | ScDocStat & | rDocStat | ) |
Definition at line 6231 of file document.cxx.
References ScDocStat::aDocName, aDocName, GetCellCount(), GetFormulaGroupCount(), GetTableCount(), ScDocStat::nCellCount, ScDocStat::nFormulaCount, and ScDocStat::nTableCount.
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().
|
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().
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().
|
inline |
Definition at line 844 of file document.hxx.
References ScAddress::Col(), GetDPAtCursor(), ScAddress::Row(), and ScAddress::Tab().
ScDPObject * ScDocument::GetDPAtCursor | ( | SCCOL | nCol, |
SCROW | nRow, | ||
SCTAB | nTab | ||
) | const |
Definition at line 377 of file documen3.cxx.
References i, nCount, and pDPCollection.
Referenced by ScGridWindow::AcceptPrivateDrop(), ScPivotLayoutDialog::ApplyChanges(), ScTabViewShell::CreateRefDialogController(), ScDBFunc::DataPilotInput(), ScDBFunc::DataPilotMove(), ScDBFunc::DateGroupDataPilot(), ScDBFunc::DeletePivotTable(), ScGridWindow::DoPushPivotButton(), ScGridWindow::DoPushPivotToggle(), ScGridWindow::DropTransferObj(), ScGridWindow::dumpColumnCellStorage(), ScInputHandler::EnterHandler(), ScCellShell::ExecuteDataPilotDialog(), ScCellShell::ExecuteEdit(), FuInsertChart::FuInsertChart(), ScPivotShell::GetCurrDPObject(), GetDPAtCursor(), ScGridWindow::GetDPFieldOrientation(), ScDBFunc::GetSelectedMemberList(), ScDBFunc::GroupDataPilot(), HasDataPilotAtPosition(), ScDBFunc::HasSelectionForDateGroup(), ScDBFunc::HasSelectionForDrillDown(), ScDBFunc::HasSelectionForNumGroup(), ScGridWindow::LaunchDPFieldMenu(), ScGridWindow::LaunchPageFieldMenu(), ScDBFunc::MakePivotTable(), ScGridWindow::MouseButtonUp(), ScDBFunc::NumGroupDataPilot(), ScClipUtil::PasteFromClipboard(), ScDBFunc::RecalcPivotTable(), ScUndoDataPilot::Redo(), ScDBFunc::SetDataPilotDetails(), ScUndoDataPilot::Undo(), and ScDBFunc::UngroupDataPilot().
ScDPCollection * ScDocument::GetDPCollection | ( | ) |
Definition at line 365 of file documen3.cxx.
References pDPCollection.
Referenced by sc::PivotTableDataProvider::collectPivotTableData(), XclImpPivotTable::Convert(), ScImportSourceDesc::CreateCache(), ScSheetSourceDesc::CreateCache(), sc::PivotTableDataProvider::createDataSourcePossible(), ScDBDocFunc::CreatePivotTable(), ScDBFunc::DataPilotInput(), ScDBDocFunc::DataPilotUpdate(), ScTabView::DoDPFieldPopup(), ScRefUndoData::DoUndo(), ScXMLDataPilotTableContext::endFastElement(), ScTabViewShell::ExecuteTable(), oox::xls::PivotTable::finalizeFieldsImport(), ScDataPilotTablesObj::getCount(), ScDataPilotTablesObj::getElementNames(), ScDataPilotTablesObj::GetObjectByIndex_Impl(), ScDataPilotTablesObj::hasByName(), sc::PivotTableDataProvider::hasPivotTable(), XclExpXmlPivotTableManager::Initialize(), lcl_CreatePivotName(), lcl_GetDPObject(), ScDBDocFunc::RefreshPivotTableGroups(), ScDBDocFunc::RefreshPivotTables(), ScDBDocFunc::RemovePivotTable(), ScDPCache::RemoveReference(), ScInterpreter::ScDebugVar(), ScRefUndoData::ScRefUndoData(), sc::PivotTableDataProvider::setPivotTableName(), ScUndoDataPilot::Undo(), ScDBDocFunc::UpdatePivotTable(), and ScXMLExportDataPilot::WriteDataPilots().
const ScDPCollection * ScDocument::GetDPCollection | ( | ) | const |
Definition at line 372 of file documen3.cxx.
References pDPCollection.
SfxBroadcaster * ScDocument::GetDrawBroadcaster | ( | ) |
Definition at line 56 of file documen9.cxx.
References mpDrawLayer.
Referenced by ScPreviewShell::Construct(), ScPreviewShell::Notify(), ScChildrenShapes::ScChildrenShapes(), ScChildrenShapes::SetDrawBroadcaster(), ScChildrenShapes::~ScChildrenShapes(), and ScPreviewShell::~ScPreviewShell().
|
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().
|
inline |
Definition at line 1085 of file document.hxx.
References mpDrawLayer.
ScFieldEditEngine & ScDocument::GetEditEngine | ( | ) |
Definition at line 483 of file documen2.cxx.
References ApplyAsianEditSettings(), GetEditPool(), GetEnginePool(), and mpEditEngine.
Referenced by ScCellValue::assign(), ScEditUtil::Clone(), CreateSharedStringTextObject(), ScEditUtil::CreateURLObjectFromURL(), ScViewFunc::EnterData(), ScCellFormat::GetOutputString(), oox::xls::WorksheetGlobals::insertHyperlink(), lcl_GetInputString(), lcl_PutDataArray(), lcl_PutString(), ScTable::SearchCell(), SetEditText(), ScColumn::SetEditText(), ScDocFunc::SetStringOrEditCell(), SetTextCell(), XclImpStringHelper::SetToDocument(), ScTransferObj::StripRefs(), ScUndoReplace::Undo(), AddressWalkerWriter::writeBoldString(), and ScHTMLExport::WriteFieldText().
SfxItemPool * ScDocument::GetEditPool | ( | ) | const |
Definition at line 473 of file documen2.cxx.
References mxPoolHelper.
Referenced by CreateFieldEditEngine(), ScViewFunc::DoThesaurus(), ScViewFunc::EnterBlock(), ScViewFunc::EnterData(), GetEditEngine(), ScXMLImport::GetEditEngine(), ScExportBase::GetEditEngine(), GetNoteEngine(), ScInputHandler::ImplCreateEditEngine(), ScTextWnd::InitEditEngine(), oox::xls::WorkbookGlobals::initialize(), ScTextWnd::MakeDialogEditView(), ScEEImport::ScEEImport(), ScTabEditEngine::ScTabEditEngine(), and TransliterateText().
const EditTextObject * ScDocument::GetEditText | ( | const ScAddress & | rPos | ) | const |
Definition at line 3612 of file document.cxx.
References ScAddress::Col(), FetchTable(), ScAddress::Row(), and ScAddress::Tab().
Referenced by ScViewFunc::ApplySelectionPattern(), XclImpXFRangeBuffer::Finalize(), ScViewFunc::HasBookmarkAtCursor(), and ScViewFunc::InsertBookmark().
EEHorizontalTextDirection ScDocument::GetEditTextDirection | ( | SCTAB | nTab | ) | const |
Definition at line 355 of file documen8.cxx.
References ATTR_WRITINGDIR(), SfxItemSet::Get(), SfxStyleSheetBase::GetItemSet(), GetPageStyle(), and mxPoolHelper.
Referenced by ScOutputData::CreateOutputEditEngine(), ScOutputData::DrawSelectiveObjects(), ScDrawTextObjectBar::GetAttrState(), ScViewData::UpdateOutlinerFlags(), and ScInputHandler::UpdateSpellSettings().
const SfxPoolItem * ScDocument::GetEffItem | ( | SCCOL | nCol, |
SCROW | nRow, | ||
SCTAB | nTab, | ||
sal_uInt16 | nWhich | ||
) | const |
Definition at line 751 of file documen4.cxx.
References ATTR_CONDITIONAL(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::empty(), SfxItemSet::Get(), ScConditionalFormat::GetCellStyle(), GetCondFormList(), ScConditionalFormatList::GetFormat(), ScPatternAttr::GetItem(), SfxStyleSheetBase::GetItemSet(), ScPatternAttr::GetItemSet(), SfxItemSet::GetItemState(), GetPattern(), mxPoolHelper, and rSet.
Referenced by GetBorderLines(), GetEffItem(), and ScOutputData::IsEmptyCellText().
|
inline |
Definition at line 1832 of file document.hxx.
References GetEffItem().
void ScDocument::GetEmbedded | ( | ScRange & | rRange | ) | const |
Definition at line 1703 of file documen3.cxx.
References aEmbedRange.
Referenced by ScPrintFunc::DrawToDev(), ScPrintFunc::PrintArea(), ScViewFunctionSet::SetCursorAtCell(), and ScGridWindow::TestMouse().
tools::Rectangle ScDocument::GetEmbeddedRect | ( | ) | const |
Definition at line 1708 of file documen3.cxx.
References tools::Rectangle::AdjustBottom(), tools::Rectangle::AdjustLeft(), tools::Rectangle::AdjustRight(), tools::Rectangle::AdjustTop(), aEmbedRange, ScRange::aEnd, ScRange::aStart, ScAddress::Col(), o3tl::convert(), ScTable::GetColWidth(), ScTable::GetRowHeight(), GetTableCount(), i, tools::Rectangle::Left(), maTabs, o3tl::mm100, ScAddress::Row(), tools::Rectangle::SetBottom(), tools::Rectangle::SetRight(), ScAddress::Tab(), tools::Rectangle::Top(), and o3tl::twip.
SCSIZE ScDocument::GetEmptyLinesInBlock | ( | SCCOL | nStartCol, |
SCROW | nStartRow, | ||
SCTAB | nStartTab, | ||
SCCOL | nEndCol, | ||
SCROW | nEndRow, | ||
SCTAB | nEndTab, | ||
ScDirection | eDir | ||
) |
Definition at line 6067 of file document.cxx.
References FetchTable(), and PutInOrder().
Referenced by ScOutputData::DrawEdit(), ScDocFunc::FillSeries(), ScOutputData::LayoutStrings(), and lcl_GetSortParam().
SfxItemPool * ScDocument::GetEnginePool | ( | ) | const |
Definition at line 478 of file documen2.cxx.
References mxPoolHelper.
Referenced by CreateFieldEditEngine(), ScOutputData::CreateOutputEditEngine(), ScViewFunc::DoSheetConversion(), ScViewFunc::DoThesaurus(), ScViewFunc::EnterBlock(), ScViewFunc::EnterData(), GetEditEngine(), ScXMLImport::GetEditEngine(), GetNoteEngine(), ScInputHandler::ImplCreateEditEngine(), ScSpellDialogChildWindow::Init(), ScTextWnd::InitEditEngine(), oox::xls::WorkbookGlobals::initialize(), ScViewFunc::InsertBookmark(), ScTextWnd::MakeDialogEditView(), ScViewFunc::PasteRTF(), and TransliterateText().
FormulaError ScDocument::GetErrCode | ( | const ScAddress & | rPos | ) | const |
Definition at line 4066 of file document.cxx.
References FetchTable(), and ScAddress::Tab().
Referenced by ScInterpreter::GetErrorType().
|
inline |
Definition at line 644 of file document.hxx.
References pExtDocOptions.
Referenced by ScTabViewShell::Activate(), ScTabViewObj::getSelectedSheets(), ScExternalRefManager::loadSrcDocument(), ScViewFunc::PasteDataFormat(), ScDocumentLoader::ScDocumentLoader(), and XclRootData::XclRootData().
sc::ExternalDataMapper & ScDocument::GetExternalDataMapper | ( | ) |
Definition at line 1018 of file document10.cxx.
References mpDataMapper.
Referenced by ScCellShell::ExecuteDB(), ScCellShell::GetDBState(), ScDataProviderDlg::import(), ScGridWindow::KeyInput(), ScXMLColumnSplitContext::ScXMLColumnSplitContext(), ScXMLMappingContext::ScXMLMappingContext(), ScXMLExport::WriteExternalDataMapping(), ScXMLColumnAggregateContext::~ScXMLColumnAggregateContext(), ScXMLColumnMergeContext::~ScXMLColumnMergeContext(), ScXMLColumnNumberContext::~ScXMLColumnNumberContext(), ScXMLColumnRemoveContext::~ScXMLColumnRemoveContext(), ScXMLColumnRemoveNullContext::~ScXMLColumnRemoveNullContext(), ScXMLColumnTextContext::~ScXMLColumnTextContext(), ScXMLDateTimeContext::~ScXMLDateTimeContext(), and ScXMLMappingContext::~ScXMLMappingContext().
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().
|
inline |
Definition at line 611 of file document.hxx.
References maFileURL.
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().
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().
void ScDocument::GetFilterSelCount | ( | SCCOL | nCol, |
SCROW | nRow, | ||
SCTAB | nTab, | ||
SCSIZE & | nSelected, | ||
SCSIZE & | nTotal | ||
) |
Definition at line 1540 of file documen3.cxx.
References AREA, GetDBAtCursor(), ScDBData::GetFilterSelCount(), ScDBData::HasAutoFilter(), and HasTable().
Referenced by ScCellShell::GetState().
Definition at line 3445 of file document.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), FetchTable(), ScAddress::Row(), and ScAddress::Tab().
const std::shared_ptr< SvxForbiddenCharactersTable > & ScDocument::GetForbiddenCharacters | ( | ) | const |
Definition at line 604 of file documen9.cxx.
References xForbiddenCharacters.
Referenced by lcl_GetForbidden().
|
inline |
Definition at line 923 of file document.hxx.
References pFormatExchangeList.
Referenced by ScStyleSheetPool::CopyStyleFrom(), and ScPatternAttr::PutInPool().
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().
Definition at line 3706 of file document.cxx.
References FetchTable().
Referenced by ScOutputData::DrawFormulaMarks(), ScCellShell::GetState(), ScGridWindow::RequestHelp(), ScDocFunc::ResizeMatrix(), and ScFormulaDlg::ScFormulaDlg().
ScFormulaCell * ScDocument::GetFormulaCell | ( | const ScAddress & | rPos | ) |
Definition at line 3721 of file document.cxx.
References ScAddress::Col(), FetchTable(), ScAddress::Row(), and ScAddress::Tab().
const ScFormulaCell * ScDocument::GetFormulaCell | ( | const ScAddress & | rPos | ) | const |
Definition at line 3714 of file document.cxx.
References ScAddress::Col(), FetchTable(), ScAddress::Row(), and ScAddress::Tab().
Referenced by ScXMLTableRowCellContext::AddFormulaCell(), ScSimpleFormulaCalculator::Calculate(), ScFormulaCell::CompileXML(), DeleteSelection(), ScTable::FillFormula(), ImportExcel::Formula(), ScFormulaCell::GetFormula(), ScFormulaCell::GetMatrixEdge(), GetMatrixFormulaRange(), ScCellObj::GetResultType_Impl(), ScCellShell::GetState(), ScExternalRefManager::hasCellExternalReference(), ScColumn::HasSelectionMatrixFragment(), ScExternalRefManager::insertRefCell(), ScFormulaCell::InterpretFormulaGroup(), ScFormulaCell::InterpretInvariantFormulaGroup(), lcl_probeLeftOrRightFGs(), ScXMLTableRowCellContext::PutTextCell(), and Solver().
|
inline |
Definition at line 2410 of file document.hxx.
References nFormulaCodeInTree.
Referenced by ScProgress::CreateInterpretProgress(), and ScFormulaCell::InterpretTail().
void ScDocument::GetFormulaEntries | ( | ScTypedCaseStrSet & | rStrings | ) |
Entries for Formula auto input.
Definition at line 1659 of file documen3.cxx.
References aStr, ScTypedStrData::DbName, ScCellIterator::first(), GetColNameRanges(), ScRangePair::GetRange(), GetRowNameRanges(), ScCellIterator::getString(), ScCellIterator::hasString(), ScTypedStrData::Header, i, ScTypedStrData::Name, ScCellIterator::next(), pDBCollection, and pRangeName.
Referenced by ScInputHandler::GetFormulaData().
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().
sal_uInt64 ScDocument::GetFormulaGroupCount | ( | ) | const |
Definition at line 6138 of file document.cxx.
References ScFormulaGroupIterator::first(), and ScFormulaGroupIterator::next().
Referenced by GetDocStat().
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().
|
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().
|
inline |
Definition at line 2402 of file document.hxx.
References eHardRecalcState.
Referenced by CalcAll(), ScBroadcastAreaSlot::CheckHardRecalcStateCondition(), ScFormulaCell::Notify(), ScFormulaCell::SetDirty(), ScFormulaCell::SetDirtyAfterLoad(), and ScFormulaCell::SetTableOpDirty().
bool ScDocument::GetHashCode | ( | SCTAB | nTab, |
sal_Int64 & | rHashCode | ||
) | const |
Definition at line 194 of file document.cxx.
References FetchTable().
Referenced by ScModelObj::getPartHash().
Definition at line 4216 of file document.cxx.
References FetchTable().
Referenced by ScRowBar::GetHiddenCount().
sc::IconSetBitmapMap & ScDocument::GetIconSetBitmapMap | ( | ) |
Definition at line 1499 of file documen2.cxx.
References m_pIconSetBitmapMap.
Referenced by ScOutputData::DrawBackground().
|
inline |
Definition at line 596 of file document.hxx.
References mnImagePreferredDPI.
Referenced by ScDocumentConfiguration::getPropertyValue().
OUString ScDocument::GetInputString | ( | SCCOL | nCol, |
SCROW | nRow, | ||
SCTAB | nTab, | ||
bool | bForceSystemLocale = false |
||
) | const |
Definition at line 3549 of file document.cxx.
References FetchTable().
Referenced by ScCellShell::ExecuteEdit(), ScValidationData::GetSelectionFromFormula(), ScCellShell::GetState(), ScDBInternalRange::getString(), ScViewFunc::InsertBookmark(), and ScFormatFilterPluginImpl::ScExportDif().
void ScDocument::GetLanguage | ( | LanguageType & | rLatin, |
LanguageType & | rCjk, | ||
LanguageType & | rCtl | ||
) | const |
Definition at line 1963 of file documen3.cxx.
References eCjkLanguage, eCtlLanguage, and eLanguage.
Referenced by ScStyleSheetPool::CreateStandardStyles(), ScModule::Execute(), ScDocShell::Execute(), ScViewUtil::GetEffLanguage(), ScModelObj::getPropertyValue(), ScModule::GetState(), ScDocShell::GetState(), ScDocDefaultsObj::setPropertyValue(), and ScModelObj::setPropertyValue().
Definition at line 4546 of file document.cxx.
References FetchTable().
Referenced by ScXMLExport::collectAutoStyles().
Definition at line 4553 of file document.cxx.
References FetchTable().
Referenced by ScXMLExport::collectAutoStyles().
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().
Definition at line 4539 of file document.cxx.
References FetchTable().
Referenced by XclExpCellTable::XclExpCellTable().
OUString ScDocument::GetLinkDoc | ( | SCTAB | nTab | ) | const |
Definition at line 509 of file documen3.cxx.
References FetchTable().
Referenced by ScDocFunc::DeleteTable(), ScSheetLinksObj::getCount(), ScSheetLinksObj::getElementNames(), ScTableSheetObj::getLinkUrl(), ScSheetLinksObj::GetObjectByIndex_Impl(), ScSheetLinksObj::GetObjectByName_Impl(), ScSheetLinksObj::hasByName(), HasLink(), ScTableLink::Refresh(), ScUndoRemoveLink::ScUndoRemoveLink(), ScSheetLinkObj::setFileName(), ScUndoRefreshLink::Undo(), and ScTableLink::~ScTableLink().
OUString ScDocument::GetLinkFlt | ( | SCTAB | nTab | ) | const |
Definition at line 516 of file documen3.cxx.
References FetchTable().
Referenced by ScDocFunc::DeleteTable(), HasLink(), ScUndoRemoveLink::ScUndoRemoveLink(), ScSheetLinkObj::setFileName(), and ScUndoRefreshLink::Undo().
sfx2::LinkManager * ScDocument::GetLinkManager | ( | ) |
Definition at line 231 of file documen2.cxx.
References GetDocLinkManager(), and sc::DocumentLinkManager::getLinkManager().
Referenced by XclImpWebQuery::Apply(), ScServerObject::Clear(), ScAreaLink::DataChanged(), ScTabViewShell::ExecDrawIns(), FindDdeLink(), ScXMLExport::GetAreaLinks(), ScAreaLinksObj::getCount(), GetDdeLinkData(), GetDdeLinkMode(), GetDdeLinkResultMatrix(), ScContentTree::GetLink(), ScSheetLinkObj::GetLink_Impl(), ScContentTree::GetLinkNames(), ScViewFunc::ImportTables(), ScDocFunc::InsertAreaLink(), ScAreaLinkSaver::InsertNewLink(), ScAreaLinkSaveCollection::IsEqual(), lcl_GetAreaLink(), ScTableSheetObj::link(), LinkExternalTab(), ScDdeLink::ListenersGone(), ScWebServiceLink::ListenersGone(), ScExternalRefManager::maybeLinkExternalFile(), ScAreaLinkObj::Modify_Impl(), ScUndoInsertAreaLink::Redo(), ScUndoRemoveAreaLink::Redo(), ScUndoUpdateAreaLink::Redo(), ScAreaLinksObj::removeByIndex(), SaveDdeLinks(), ScServerObject::ScServerObject(), ScXMLTableRowCellContext::SetCellRangeSource(), SetDdeLinkResultMatrix(), ScUndoInsertAreaLink::Undo(), ScUndoRemoveAreaLink::Undo(), and ScUndoUpdateAreaLink::Undo().
const sfx2::LinkManager * ScDocument::GetLinkManager | ( | ) | const |
Definition at line 236 of file documen2.cxx.
References GetDocLinkManager(), and sc::DocumentLinkManager::getExistingLinkManager().
|
inline |
Definition at line 2260 of file document.hxx.
References eLinkMode.
ScLinkMode ScDocument::GetLinkMode | ( | SCTAB | nTab | ) | const |
Definition at line 502 of file documen3.cxx.
References FetchTable(), and NONE.
Referenced by ScDocFunc::DeleteTable(), ScTableSheetObj::getLinkMode(), ScDocShell::GetLinkUpdateModeState(), ScDocumentConfiguration::getPropertyValue(), ScTableLink::Refresh(), ScTpLayoutOptions::Reset(), ScInterpreter::ScCell(), ScUndoRemoveLink::ScUndoRemoveLink(), ScSheetLinkObj::setFileName(), ScUndoRefreshLink::Undo(), and XclExpTabInfo::XclExpTabInfo().
OUString ScDocument::GetLinkOpt | ( | SCTAB | nTab | ) | const |
Definition at line 523 of file documen3.cxx.
References FetchTable().
Referenced by ScDocFunc::DeleteTable(), HasLink(), ScUndoRemoveLink::ScUndoRemoveLink(), ScSheetLinkObj::setFileName(), and ScUndoRefreshLink::Undo().
Definition at line 537 of file documen3.cxx.
References FetchTable().
Referenced by ScDocFunc::DeleteTable(), ScUndoRemoveLink::ScUndoRemoveLink(), ScSheetLinkObj::setFileName(), and ScUndoRefreshLink::Undo().
OUString ScDocument::GetLinkTab | ( | SCTAB | nTab | ) | const |
Definition at line 530 of file documen3.cxx.
References FetchTable().
Referenced by ScDocFunc::DeleteTable(), ScTableSheetObj::getLinkSheetName(), ScTableLink::Refresh(), ScUndoRemoveLink::ScUndoRemoveLink(), ScSheetLinkObj::setFileName(), and ScUndoRefreshLink::Undo().
Definition at line 1053 of file document10.cxx.
References FetchTable(), and ScTable::GetLOKFreezeCol().
Referenced by ScViewData::DeriveLOKFreezeIfNeeded(), ScViewData::GetLOKSheetFreezeIndex(), and ScViewData::OverrideWithLOKFreeze().
Definition at line 1061 of file document10.cxx.
References FetchTable(), and ScTable::GetLOKFreezeRow().
Referenced by ScViewData::DeriveLOKFreezeIfNeeded(), ScViewData::GetLOKSheetFreezeIndex(), and ScViewData::OverrideWithLOKFreeze().
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().
|
inline |
Definition at line 2426 of file document.hxx.
References nMacroInterpretLevel.
Referenced by ScCellFormat::GetString().
ScMacroManager * ScDocument::GetMacroManager | ( | ) |
Definition at line 377 of file documen8.cxx.
References mpMacroMgr.
Referenced by ScInterpreter::ScMacro(), ScVbaApplication::Volatile(), and ScFormulaCell::~ScFormulaCell().
Definition at line 5416 of file document.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), GetFormulaCell(), ScFormulaCell::GetMatColsRows(), ScFormulaCell::GetMatrixEdge(), ScFormulaCell::GetMatrixOrigin(), ScAddress::Row(), ScAddress::SetInvalid(), and ScAddress::Tab().
Referenced by ScCellCursorObj::collapseToCurrentArray(), ScXMLExport::IsMatrix(), and ScTabView::MarkMatrixFormula().
|
inline |
Definition at line 894 of file document.hxx.
References mxSheetLimits.
Referenced by DeleteCol(), ScBroadcastAreaSlotMachine::DoChecks(), and UpdateReference().
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.
Definition at line 594 of file documen4.cxx.
References FetchTable().
|
inline |
Definition at line 895 of file document.hxx.
References mxSheetLimits.
Referenced by DeleteRow(), ScBroadcastAreaSlotMachine::DoChecks(), ScColumn::FreeAll(), ScChangeTrack::Init(), ScChangeTrack::InitContentRowsPerSlot(), and UpdateReference().
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.
Definition at line 586 of file documen4.cxx.
References FetchTable().
|
inline |
Definition at line 817 of file document.hxx.
References maTabs.
Referenced by oox::xls::PivotTableBuffer::finalizeImport(), OP_Formula123(), OP_IEEENumber123(), OP_Number123(), and ScChangeActionDel::Reject().
tools::Rectangle ScDocument::GetMMRect | ( | SCCOL | nStartCol, |
SCROW | nStartRow, | ||
SCCOL | nEndCol, | ||
SCROW | nEndRow, | ||
SCTAB | nTab, | ||
bool | bHiddenAsZero = true |
||
) | const |
Definition at line 1986 of file documen3.cxx.
References tools::Rectangle::AdjustBottom(), tools::Rectangle::AdjustLeft(), tools::Rectangle::AdjustRight(), tools::Rectangle::AdjustTop(), o3tl::convert(), GetColWidth(), GetRowHeight(), HasTable(), i, IsNegativePage(), tools::Rectangle::Left(), ScDrawLayer::MirrorRectRTL(), o3tl::mm100, tools::Rectangle::SetBottom(), tools::Rectangle::SetRight(), tools::Rectangle::Top(), and o3tl::twip.
Referenced by ScDrawLayer::CopyFromClip(), CopyToClip(), ScDrawLayer::DeleteObjectsInArea(), ScDrawLayer::DeleteObjectsInSelection(), ScHTMLExport::FillGraphList(), ScDrawLayer::GetCellAnchorFromPosition(), ScTabView::GetChartInsertPos(), ScCellRangeObj::GetOnePropertyValue(), ScModelObj::getRenderer(), ScViewPaneBase::GetVisArea(), HasOLEObjectsInArea(), ScDrawLayer::InitializeCellAnchoredObj(), IsPrintEmpty(), lcl_GetRelativePos(), lcl_ParseTarget(), lcl_SetHidden(), ScDrawLayer::MoveArea(), ScTabViewShell::QueryObjAreaPixel(), ScModelObj::render(), ScShapeObj::setPropertyValue(), ScDrawLayer::UpdateCellAnchorFromPositionEnd(), and ScXMLExport::WriteShapes().
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().
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().
|
inline |
Definition at line 1608 of file document.hxx.
References mnNamedRangesLockCount.
Referenced by ScNamedRangesObj::addActionLock(), ScNamedRangesObj::isActionLocked(), ScNamedRangesObj::removeActionLock(), ScNamedRangesObj::resetActionLocks(), ScNamedRangesObj::setActionLocks(), and ScDocFunc::SetNewRangeNames().
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().
|
inline |
Definition at line 1093 of file document.hxx.
References nUnoObjectId.
Referenced by ScChart2DataSequence::ScChart2DataSequence().
Definition at line 4560 of file document.cxx.
References FetchTable(), Hidden, ManualBreak, and MaxCol().
Referenced by ScXMLExport::collectAutoStyles().
Definition at line 4580 of file document.cxx.
References FetchTable(), ScTable::GetRowFlagsArray(), ScTable::GetRowHeight(), ScCompressedArray< A, D >::GetValue(), ManualBreak, ManualSize, MaxRow(), ScTable::mpHiddenRows, ScTable::mpRowHeights, nIndex, and ScTable::RowHidden().
Referenced by ScXMLExport::collectAutoStyles().
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().
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 |
Definition at line 6084 of file document.cxx.
References FetchTable(), ScMarkData::MarkToMulti(), and ScMarkData::SetMarking().
Referenced by ScTabView::FindNextUnprot(), ScCellCursorObj::gotoNext(), ScCellCursorObj::gotoPrevious(), ScTabView::MoveCursorEnter(), and ScVbaRange::PreviousNext().
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().
|
inline |
Definition at line 2230 of file document.hxx.
References bNoListening.
Referenced by StartAllListeners(), ScFormulaCell::StartListeningTo(), and ScChangeTrack::UpdateReference().
|
inline |
Definition at line 617 of file document.hxx.
References IsThreadedGroupCalcInProgress(), and maInterpreterContext.
Referenced by ScSimpleFormulaCalculator::Calculate(), ClearLookupCaches(), ScTable::CopyStaticToDocument(), ScColumn::CopyStaticToDocument(), ScTable::FillAutoSimple(), ScTable::GetNumberFormat(), GetThreadedContext(), HandleStuffAfterParallelCalculation(), ScFormulaCell::HandleStuffAfterParallelCalculation(), XclExpPCField::InitStandardField(), ScFormulaCell::InterpretFormulaGroupThreading(), and ScFormulaCell::InterpretInvariantFormulaGroup().
Definition at line 6587 of file document.cxx.
References ScAddress::Col(), GetNote(), ScAddress::Row(), and ScAddress::Tab().
Referenced by ScNotesChildren::AddNotes(), ScOutputData::AddPDFNotes(), ScNotesChildren::CheckChanges(), ScXMLExport::collectAutoStyles(), ScXMLExport::CollectInternalShape(), CopyOneCellFromClip(), ScNoteUtil::CreateTempCaption(), ScUndoReplaceNote::DoInsertNote(), ScPrintFunc::DoNotes(), ScUndoReplaceNote::DoRemoveNote(), ScOutputData::DrawNoteMarks(), ScCellShell::ExecuteEdit(), sc::SearchResultsDlg::FillResults(), ScGridWinUIObject::get_state(), ScAnnotationEditSource::GetCaptionObj(), ScCellShell::GetCellState(), GetNote(), GetOrCreateNote(), ScCellShell::GetState(), ScAnnotationEditSource::GetTextForwarder(), ScMyNotEmptyCellsIterator::HasAnnotation(), ScAnnotationObj::ImplGetNote(), lcl_UnLockComment(), ScDrawLayer::RecalcPos(), ScUndoShowHideNote::Redo(), ScDocFunc::SetNoteText(), ScDocFunc::ShowNote(), ScGridWindow::ShowNoteMarker(), FuText::StopEditMode(), ScUndoReplace::Undo(), ScUndoShowHideNote::Undo(), ScXMLExport::WriteAnnotation(), and ScHTMLExport::WriteCell().
Definition at line 6592 of file document.cxx.
References FetchTable().
Definition at line 6711 of file document.cxx.
References FetchTable().
Referenced by ScAnnotationsObj::getCount(), and GetNotePosition().
ScNoteEditEngine & ScDocument::GetNoteEngine | ( | ) |
Definition at line 496 of file documen2.cxx.
References ApplyAsianEditSettings(), CORE, ScPatternAttr::FillToEditItemSet(), GetDefPattern(), GetEditPool(), GetEnginePool(), ScPatternAttr::GetItemSet(), and mpNoteEngine.
Referenced by ScPostIt::GetText(), and ScAnnotationEditSource::GetTextForwarder().
Definition at line 6830 of file document.cxx.
References FetchTable(), and nIndex.
ScAddress ScDocument::GetNotePosition | ( | size_t | nIndex | ) | const |
Definition at line 6775 of file document.cxx.
References GetAllocatedColumnsRange(), GetNoteCount(), GetNotePosition(), ScAddress::INITIALIZE_INVALID, maTabs, MaxCol(), and nIndex.
Referenced by ScAnnotationsObj::GetAddressByIndex_Impl(), ScContentTree::GetNotePos(), and GetNotePosition().
Definition at line 6804 of file document.cxx.
References GetAllocatedColumnsRange(), GetNoteCount(), GetNotePosition(), ScAddress::INITIALIZE_INVALID, MaxCol(), and nIndex.
void ScDocument::GetNotesInRange | ( | const ScRangeList & | rRange, |
std::vector< sc::NoteEntry > & | rNotes | ||
) | const |
Definition at line 6852 of file document.cxx.
References ScRange::aEnd, ScRange::aStart, i, maTabs, ScRangeList::size(), and ScAddress::Tab().
Referenced by ScCellShell::ExecuteEdit(), and ScCellShell::GetState().
sal_uInt32 ScDocument::GetNumberFormat | ( | const ScInterpreterContext & | rContext, |
const ScAddress & | rPos | ||
) | const |
Definition at line 3674 of file document.cxx.
References FetchTable(), and ScAddress::Tab().
sal_uInt32 ScDocument::GetNumberFormat | ( | const ScRange & | rRange | ) | const |
Definition at line 3647 of file document.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), GetTableCount(), HasTable(), maTabs, ScAddress::Row(), and ScAddress::Tab().
Definition at line 3640 of file document.cxx.
References FetchTable().
Referenced by ScChangeTrack::AppendContent(), ScViewFunc::ChangeNumFmtDecimals(), ScInterpreter::CreateMatrixFromDoubleRef(), ScImportExport::Doc2Text(), ScViewFunc::EnterData(), ScCellShell::ExecuteEdit(), ScFormatShell::ExecuteNumFormat(), ScConversionEngineBase::FillFromCell(), ScInterpreter::GetCellNumberFormat(), ScInterpreter::GetCellValueOrZero(), ScFormatShell::GetCurrentNumberFormatType(), ScTabViewShell::GetFunction(), ScCellFormat::GetOutputString(), ScValidationData::GetSelectionFromFormula(), ScExternalRefManager::getSingleRefTokenFromSrcDoc(), ScChangeActionContent::GetStringOfCell(), ScCellTextData::GetTextForwarder(), ScFormulaCell::GetURLResult(), ScInterpreter::GetValueCellValue(), XclExpPCField::InitStandardField(), ScCellObj::InputEnglishString(), ScViewFunc::InsertCurrentTime(), ScFormulaCell::InterpretTail(), lcl_GetInputString(), lcl_isNumberFormatText(), ScInterpreter::ScCell(), ScViewFunc::SetNumberFormat(), ScViewFunc::SetNumFmtByStr(), ScChangeActionContent::SetValue(), and ScTabViewShell::UpdateInputHandler().
void ScDocument::GetNumberFormatInfo | ( | const ScInterpreterContext & | rContext, |
SvNumFormatType & | nType, | ||
sal_uInt32 & | nIndex, | ||
const ScAddress & | rPos | ||
) | const |
Definition at line 3690 of file document.cxx.
References ScInterpreterContext::GetNumberFormatType(), GetTableCount(), maTabs, nIndex, nType, and ScAddress::Tab().
Referenced by ScInterpreter::GetCellValueOrZero(), ScInterpreter::PushCellResultToken(), and ScInterpreter::ScMatRef().
Definition at line 387 of file documen9.cxx.
References SdrObject::GetLayer(), GetTableCount(), maTabs, mpDrawLayer, SdrObjListIter::Next(), pObject, SC_LAYER_BACK(), SC_LAYER_HIDDEN(), and SC_LAYER_INTERN().
Referenced by ScGridWindow::AcceptDrop(), and ScGridWindow::ExecuteDrop().
void ScDocument::GetOldChartParameters | ( | std::u16string_view | rName, |
ScRangeList & | rRanges, | ||
bool & | rColHeaders, | ||
bool & | rRowHeaders | ||
) |
Definition at line 204 of file documen5.cxx.
References GetAddressConvention(), ScChartHelper::GetChartFromSdrObject(), SdrOle2Obj::GetPersistName(), lcl_GetChartParameters(), maTabs, mpDrawLayer, nCount, SdrObjListIter::Next(), ScRangeList::Parse(), and pObject.
Referenced by ScDBFunc::DoUpdateCharts(), and ScUndoChartData::Init().
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 |
||
) |
Definition at line 4240 of file document.cxx.
References FetchTable(), nPPTX, and nPPTY.
Referenced by ScViewFunc::GetOptimalColWidth(), lcl_GetOptimalColWidth(), and ScUndoAutoFormat::Redo().
Definition at line 6696 of file document.cxx.
References CreateNote(), GetNote(), and HasNote().
Referenced by ScViewFunc::EditNote(), ScGridWinUIObject::execute(), and ScDocFunc::SetNoteText().
Definition at line 4153 of file document.cxx.
References FetchTable().
Referenced by ScVbaRange::getCalcRowHeight(), ScRowBar::GetEntrySize(), ScTableRowObj::GetOnePropertyValue(), ScTableRowsObj::getPropertyValue(), ScVbaRange::getRowHeight(), ScPreviewLocationData::GetTableInfo(), and ScTableRowObj::SetOnePropertyValue().
Definition at line 4137 of file document.cxx.
References FetchTable().
Referenced by ScVbaRange::getCalcColWidth(), ScVbaRange::getColumnWidth(), ScColumn::GetNeededSize(), ScTableColumnObj::GetOnePropertyValue(), and ScTableColumnsObj::getPropertyValue().
ScOutlineTable * ScDocument::GetOutlineTable | ( | SCTAB | nTab, |
bool | bCreate = false |
||
) |
Definition at line 737 of file documen3.cxx.
References FetchTable().
Referenced by ScOutlineDocFunc::AutoOutline(), ScDBFunc::DoSubTotals(), ScDBDocFunc::DoSubTotals(), ScXMLTableColsContext::endFastElement(), ScXMLTableRowsContext::endFastElement(), ScXMLTableContext::endFastElement(), ScXMLExport::FillColumnRowGroups(), ScOutlineWindow::GetOutlineArray(), ScTabView::getRowColumnHeaders(), ScVbaRange::getShowDetail(), ScTabViewShell::GetState(), ScOutlineDocFunc::HideMarkedOutlines(), ScOutlineDocFunc::HideOutline(), ScOutlineDocFunc::MakeOutline(), ScDBFunc::OutlinePossible(), ScConsData::OutputToDocument(), ScOutlineDocFunc::RemoveAllOutlines(), ScOutlineDocFunc::RemoveOutline(), ScDBFunc::RepeatDB(), ScDBDocFunc::RepeatDB(), ScOutlineDocFunc::SelectLevel(), ScViewFunc::SetWidthOrHeight(), ScDocFunc::SetWidthOrHeight(), ScOutlineDocFunc::ShowMarkedOutlines(), ScOutlineDocFunc::ShowOutline(), ScDBFunc::TestRemoveOutline(), XclExpCellTable::XclExpCellTable(), XclExpGuts::XclExpGuts(), and XclExpOutlineBuffer::XclExpOutlineBuffer().
Definition at line 6189 of file document.cxx.
References FetchTable().
Referenced by ScTableSheetObj::getColumnPageBreaks(), ScTableSheetObj::getRowPageBreaks(), and IMPL_LINK().
OUString ScDocument::GetPageStyle | ( | SCTAB | nTab | ) | const |
Definition at line 6176 of file document.cxx.
References FetchTable().
Referenced by ScTabView::CalcZoom(), ScPrintFunc::Construct(), CopyTab(), ScUndoPrintZoom::DoChange(), ScPrintFunc::DrawToDev(), ScTabViewShell::ExecStyle(), ScPreviewShell::Execute(), ScAccessiblePageHeader::getAccessibleChildCount(), GetEditTextDirection(), ScTableSheetObj::GetOnePropertyValue(), ScPreviewShell::GetPageSize(), ScPreviewShell::GetState(), ScTabViewShell::GetState(), ScTabViewShell::GetStyleState(), InvalidateTextWidth(), IsPageStyleInUse(), lcl_GetDocPageSize(), ScPreview::MouseButtonUp(), NeedPageResetAfterTab(), ScHTMLExport::PageDefaults(), RemovePageStyleInUse(), RenamePageStyleInUse(), ScHFPage::ScHFPage(), ScHTMLImport::ScHTMLImport(), ScTableSheetObj::SetOnePropertyValue(), ScPrintFunc::UpdatePages(), and XclExpPageSettings::XclExpPageSettings().
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().
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().
Definition at line 2103 of file documen3.cxx.
References FetchTable().
Referenced by CopyFromClip().
|
private |
Definition at line 2111 of file documen3.cxx.
References FetchTable().
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().
|
inline |
Definition at line 881 of file document.hxx.
References nPosLeft.
Referenced by ScModelObj::getViewData().
|
inline |
Definition at line 883 of file document.hxx.
References nPosTop.
Referenced by ScModelObj::getViewData().
|
inline |
Definition at line 1394 of file document.hxx.
References pPreviewCellStyle.
Referenced by ScOutputData::DrawEdit(), ScFormatShell::ExecuteStyle(), FillInfo(), ScColumn::GetNeededSize(), ScOutputData::LayoutStrings(), and TransliterateText().
ScStyleSheet * ScDocument::GetPreviewCellStyle | ( | SCCOL | nCol, |
SCROW | nRow, | ||
SCTAB | nTab | ||
) |
Definition at line 1490 of file documen2.cxx.
References ScMarkData::GetFirstSelected(), GetPreviewSelection(), ScMarkData::IsCellMarked(), and pPreviewCellStyle.
|
inline |
Definition at line 1390 of file document.hxx.
References pPreviewFont.
Referenced by ScOutputData::DrawEdit(), ScColumn::GetNeededSize(), ScOutputData::LayoutStrings(), and TransliterateText().
SfxItemSet * ScDocument::GetPreviewFont | ( | SCCOL | nCol, |
SCROW | nRow, | ||
SCTAB | nTab | ||
) |
Definition at line 1478 of file documen2.cxx.
References ScMarkData::GetFirstSelected(), GetPreviewSelection(), ScMarkData::IsCellMarked(), and pPreviewFont.
|
inline |
Definition at line 1392 of file document.hxx.
References maPreviewSelection.
Referenced by ScFormatShell::ExecuteAttr(), ScFormatShell::ExecuteStyle(), GetPreviewCellStyle(), and GetPreviewFont().
bool ScDocument::GetPrintArea | ( | SCTAB | nTab, |
SCCOL & | rEndCol, | ||
SCROW & | rEndRow, | ||
bool | bNotes = true |
||
) | const |
Definition at line 611 of file documen2.cxx.
References ScRange::aEnd, ScAddress::Col(), DrawGetPrintArea(), FetchTable(), MaxCol(), MaxRow(), mpDrawLayer, and ScAddress::Row().
Referenced by ScPrintFunc::AdjustPrintArea(), ScTabView::GetAreaMoveEndPosition(), ScTransferObj::GetAreaSize(), ScExportBase::GetDataArea(), ScTable::GetNextPos(), ScModelObj::getRenderer(), GetTiledRenderingArea(), lcl_reduceBlock(), ScTabView::MoveCursorEnd(), ScViewFunc::PasteDataFormat(), ScModelObj::render(), ScDocRowHeightUpdater::updateAll(), and XclExpPivotCache::XclExpPivotCache().
bool ScDocument::GetPrintAreaHor | ( | SCTAB | nTab, |
SCROW | nStartRow, | ||
SCROW | nEndRow, | ||
SCCOL & | rEndCol | ||
) | const |
Definition at line 635 of file documen2.cxx.
References ScRange::aEnd, ScAddress::Col(), DrawGetPrintArea(), FetchTable(), MaxCol(), and mpDrawLayer.
Referenced by ScPrintFunc::AdjustPrintArea(), and ScGridWinUIObject::get_state().
bool ScDocument::GetPrintAreaVer | ( | SCTAB | nTab, |
SCCOL | nStartCol, | ||
SCCOL | nEndCol, | ||
SCROW & | rEndRow, | ||
bool | bNotes | ||
) | const |
Definition at line 657 of file documen2.cxx.
References ScRange::aEnd, DrawGetPrintArea(), FetchTable(), MaxRow(), mpDrawLayer, and ScAddress::Row().
Referenced by ScPrintFunc::AdjustPrintArea(), and ScGridWinUIObject::get_state().
SfxPrinter * ScDocument::GetPrinter | ( | bool | bCreateIfNotExist = true | ) |
Definition at line 114 of file documen8.cxx.
References VclPtr< class reference_type >::Create(), ScModule::GetOptDigitLanguage(), mpPrinter, mxPoolHelper, SfxItemSet::Put(), and UpdateDrawPrinter().
Referenced by ScPrintFunc::AdjustPrintArea(), ScPrintFunc::Construct(), ScGridWindow::Draw(), ScPrintFunc::DrawBorder(), ScDocumentConfiguration::getPropertyValue(), GetRefDevice(), IdleCalcTextWidth(), IsPrintEmpty(), ScPrintFunc::PrintArea(), ScInterpreter::ScCell(), SetPrintOptions(), ScInputHandler::UpdateRefDevice(), and ScPrintFunc::~ScPrintFunc().
Definition at line 6268 of file document.cxx.
References FetchTable(), and nPos.
Referenced by ScPrintFunc::CalcZoom(), ScPrintFunc::CountNotePages(), XclExpNameManagerImpl::CreateBuiltInNames(), ScTableSheetObj::getPrintAreas(), ScPrintAreasDlg::Impl_Reset(), ScPrintFunc::InitParam(), and ScGridWindow::PagebreakMove().
sal_uInt16 ScDocument::GetPrintRangeCount | ( | SCTAB | nTab | ) |
Definition at line 6261 of file document.cxx.
References FetchTable().
Referenced by ScPrintFunc::CalcZoom(), ScPrintFunc::CountNotePages(), ScPrintFunc::CountPages(), XclExpNameManagerImpl::CreateBuiltInNames(), ScPrintFunc::DoPrint(), ScTableSheetObj::getPrintAreas(), ScPrintAreasDlg::Impl_Reset(), ScPrintFunc::InitParam(), ScGridWindow::PagebreakMove(), and ScTabView::UpdatePageBreakData().
ScRange ScDocument::GetRange | ( | SCTAB | nTab, |
const tools::Rectangle & | rMMRect, | ||
bool | bHiddenAsZero = true |
||
) | const |
Definition at line 1797 of file documen3.cxx.
References tools::Rectangle::Bottom(), o3tl::convert(), ScTable::GetColWidth(), GetTableCount(), tools::Rectangle::IsEmpty(), IsNegativePage(), lcl_AddTwipsWhile(), tools::Rectangle::Left(), maTabs, MaxCol(), MaxRow(), ScDrawLayer::MirrorRectRTL(), o3tl::mm100, tools::Rectangle::Right(), tools::Rectangle::Top(), and o3tl::twip.
Referenced by ScDrawLayer::CopyFromClip(), ScDrawLayer::CopyToClip(), ScChartHelper::CreateProtectedChartListenersAndNotify(), ScDrawLayer::DeleteObjectsInSelection(), ScPrintFunc::DrawToDev(), ScHTMLExport::FillGraphList(), ScModelObj::FillRenderMarkData(), ScShapeObj::getAnchor(), ScDrawLayer::GetCellAnchorFromPosition(), lcl_GetAnchorCell(), lcl_ParseTarget(), ScCellsObj::Notify(), SetEmbedded(), and ScDrawLayer::UpdateCellAnchorFromPositionEnd().
const ScRangeData * ScDocument::GetRangeAtBlock | ( | const ScRange & | rBlock, |
OUString & | rName, | ||
bool * | pSheetLocal = nullptr |
||
) | const |
Definition at line 238 of file documen3.cxx.
References ScRange::aEnd, ScRange::aStart, ScRangeName::findByRange(), GetRangeName(), pData, pRangeName, and ScAddress::Tab().
Referenced by ScOptSolverDlg::Init(), and ScOptSolverDlg::SetReference().
ScRangeName * ScDocument::GetRangeName | ( | ) | const |
Definition at line 178 of file documen3.cxx.
References pRangeName.
Referenced by CopyAdjustRangeName(), CopyTab(), FindRangeNameBySheetAndIndex(), GetRangeAtBlock(), InsertNewRangeName(), IsAddressInRangeName(), and MarkUsedExternalReferences().
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().
void ScDocument::GetRangeNameMap | ( | std::map< OUString, ScRangeName * > & | rRangeName | ) |
Definition at line 149 of file documen3.cxx.
References GetTableCount(), i, maTabs, p, pRangeName, SetRangeName(), and STR_GLOBAL_RANGE_NAME.
Referenced by ScTabViewShell::CreateRefDialogController(), ScDocFunc::ModifyAllRangeNames(), PreprocessAllRangeNamesUpdate(), ScNameDlg::ScNameDlg(), ScNamePasteDlg::ScNamePasteDlg(), and sc::SolverSettings::SolverSettings().
|
inline |
Definition at line 2220 of file document.hxx.
References nRangeOverflowType.
Referenced by ScXMLImportWrapper::ImportFromComponent().
SvtScriptType ScDocument::GetRangeScriptType | ( | const ScRangeList & | rRanges | ) |
Definition at line 192 of file documen6.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), sc::ColumnSpanSet::executeAction(), i, n, ScAddress::Row(), sc::ColumnSpanSet::set(), ScRangeList::size(), and ScAddress::Tab().
SvtScriptType ScDocument::GetRangeScriptType | ( | sc::ColumnBlockPosition & | rBlockPos, |
const ScAddress & | rPos, | ||
SCROW | nLength | ||
) |
Definition at line 183 of file documen6.cxx.
References ScAddress::Col(), HasTable(), maTabs, nLength, ScAddress::Row(), and ScAddress::Tab().
Referenced by ScViewFunc::GetSelectionScriptType().
ScRecursionHelper & ScDocument::GetRecursionHelper | ( | ) |
Definition at line 6893 of file document.cxx.
References IsThreadedGroupCalcInProgress(), maNonThreaded, maThreadSpecific, and ScDocumentThreadSpecific::xRecursionHelper.
Referenced by ScFormulaCell::CheckComputeDependencies(), ScFormulaCell::Interpret(), ScFormulaCell::InterpretFormulaGroup(), ScFormulaCell::InterpretFormulaGroupThreading(), ScFormulaCell::InterpretTail(), lcl_EvalDirty(), and lcl_InterpretSpan().
ScRefCellValue ScDocument::GetRefCellValue | ( | const ScAddress & | rPos | ) |
Definition at line 587 of file documen2.cxx.
References ScAddress::Col(), FetchTable(), ScAddress::Row(), ScRefCellValue, and ScAddress::Tab().
Referenced by ScRefCellValue::assign(), ScCompiler::ParseColRowName(), and ScSortedRangeCache::ScSortedRangeCache().
|
private |
Definition at line 594 of file documen2.cxx.
References ScAddress::Col(), FetchTable(), ScAddress::Row(), ScRefCellValue, and ScAddress::Tab().
OutputDevice * ScDocument::GetRefDevice | ( | ) |
Definition at line 199 of file documen8.cxx.
References GetPrinter(), GetVirtualDevice_100th_mm(), and SC_MOD.
Referenced by getDefaultCharWidth(), XclRoot::GetPrinter(), ScModelObj::getPropertyValue(), ScPrintFunc::MakeEditEngine(), and UpdateDrawPrinter().
|
inline |
Definition at line 2522 of file document.hxx.
References pRefreshTimerControl.
Referenced by ScXMLDatabaseRangeContext::ConvertToDBData(), XclExpXmlStream::exportDocument(), ScAreaLink::ScAreaLink(), ScDatabaseRangeObj::setPropertyValue(), and ~ScDocument().
Definition at line 6276 of file document.cxx.
References FetchTable().
Referenced by XclExpNameManagerImpl::CreateBuiltInNames(), ScAccessibleSpreadsheet::getAccessibleColumnHeaders(), ScTableSheetObj::getPrintTitleColumns(), ScTableSheetObj::getTitleColumns(), ScPrintAreasDlg::Impl_Reset(), ScPrintFunc::InitParam(), and ScTableSheetObj::setPrintTitleColumns().
Definition at line 6284 of file document.cxx.
References FetchTable().
Referenced by XclExpNameManagerImpl::CreateBuiltInNames(), ScAccessibleSpreadsheet::getAccessibleRowHeaders(), ScTableSheetObj::getPrintTitleRows(), ScTableSheetObj::getTitleRows(), ScPrintAreasDlg::Impl_Reset(), ScPrintFunc::InitParam(), and ScTableSheetObj::setPrintTitleRows().
Definition at line 4408 of file document.cxx.
References FetchTable().
Referenced by ScTableSheetObj::getRowPageBreaks().
ScRowBreakIterator * ScDocument::GetRowBreakIterator | ( | SCTAB | nTab | ) | const |
Definition at line 6379 of file document.cxx.
References HasTable(), and maTabs.
Referenced by sc::PrintPageRanges::calculate().
Definition at line 4335 of file document.cxx.
References FetchTable(), and NONE.
Referenced by ScOutputData::Clip(), ScOutputData::DrawEditAsianVertical(), ScOutputData::DrawEditStacked(), ScOutputData::DrawEditStandard(), ScViewData::EditGrowY(), ScTableRowObj::GetOnePropertyValue(), ScColumn::GetOptimalHeight(), ScTableRowsObj::getPropertyValue(), ScOutputData::LayoutStrings(), ScUndoAutoFormat::Redo(), ImportLotus::RowPresentation(), ScViewFunc::SetWidthOrHeight(), ScDocFunc::SetWidthOrHeight(), and XclExpRow::XclExpRow().
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().
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().
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().
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().
|
inline |
Definition at line 820 of file document.hxx.
References tools::SvRef< typename T >::get(), and xRowNameRanges.
Referenced by ScLabelRangesObj::addNew(), ScLabelRangesObj::getCount(), ScLabelRangeObj::GetData_Impl(), GetFormulaEntries(), ScLabelRangesObj::GetObjectByIndex_Impl(), ScCompiler::HandleColRowName(), ScLabelRangeObj::Modify_Impl(), ScCompiler::ParseColRowName(), ScLabelRangesObj::removeByIndex(), and ScColRowNameRangesDlg::ScColRowNameRangesDlg().
|
inline |
Definition at line 822 of file document.hxx.
References xRowNameRanges.
Referenced by ScLabelRangesObj::addNew(), ScLabelRangeObj::Modify_Impl(), XclImpLabelranges::ReadLabelranges(), ScLabelRangesObj::removeByIndex(), and XclExpLabelranges::XclExpLabelranges().
tools::Long ScDocument::GetRowOffset | ( | SCROW | nRow, |
SCTAB | nTab, | ||
bool | bHiddenAsZero = true |
||
) | const |
Definition at line 4232 of file document.cxx.
References FetchTable().
Referenced by ScDrawView::calculateGridOffsetForB2DRange(), ScDrawView::calculateGridOffsetForSdrObject(), ScTabView::GetChartInsertPos(), ScEEImport::InsertGraphic(), ScDrawLayer::RecalcPos(), ScDrawLayer::ResizeLastRectFromAnchor(), and ScDrawView::SyncForGrid().
tools::Long ScDocument::GetScaledRowHeight | ( | SCROW | nStartRow, |
SCROW | nEndRow, | ||
SCTAB | nTab, | ||
double | fScale | ||
) | const |
Definition at line 4198 of file document.cxx.
References FetchTable(), and GetRowHeight().
Referenced by ScOutputData::DrawClipMarks(), ScOutputData::DrawRotated(), ScModelObj::getDocumentSize(), ScEditUtil::GetEditArea(), ScOutputData::GetOutputArea(), ScPrintFunc::LocateArea(), ScPrintFunc::LocateRowHdr(), and ScPrintFunc::PrintPage().
void ScDocument::GetScenarioData | ( | SCTAB | nTab, |
OUString & | rComment, | ||
Color & | rColor, | ||
ScScenarioFlags & | rFlags | ||
) | const |
Definition at line 469 of file documen3.cxx.
References FetchTable(), and ScTable::IsScenario().
Referenced by ScDocFunc::DeleteTable(), ExcEScenario::ExcEScenario(), ScTableSheetObj::GetOnePropertyValue(), ScTableSheetObj::getScenarioComment(), ScCellShell::GetState(), lcl_DrawScenarioFrames(), ScViewFunc::MoveTable(), ScUndoCopyTab::Redo(), ScTableSheetObj::SetOnePropertyValue(), ScTableSheetObj::setScenarioComment(), ScDocShell::TransferTab(), ScUndoImportTab::Undo(), and ScXMLExport::WriteScenario().
void ScDocument::GetScenarioFlags | ( | SCTAB | nTab, |
ScScenarioFlags & | rFlags | ||
) | const |
Definition at line 480 of file documen3.cxx.
References FetchTable(), and ScTable::IsScenario().
Referenced by CopyScenario(), ScTableSheetObj::GetOnePropertyValue(), ScTable::IsBlockEditable(), and ScTable::IsSelectionEditable().
const ScRangeList * ScDocument::GetScenarioRanges | ( | SCTAB | nTab | ) | const |
Definition at line 872 of file documen3.cxx.
References FetchTable().
Referenced by ExcEScenario::ExcEScenario(), ScTableSheetObj::getRanges(), and ScXMLExport::WriteScenario().
SvtScriptType ScDocument::GetScriptType | ( | const ScAddress & | rPos | ) | const |
Definition at line 6441 of file document.cxx.
References ScAddress::Col(), FetchTable(), ScAddress::Row(), and ScAddress::Tab().
SvtScriptType ScDocument::GetScriptType | ( | SCCOL | nCol, |
SCROW | nRow, | ||
SCTAB | nTab, | ||
const ScRefCellValue * | pCell = nullptr |
||
) |
Definition at line 132 of file documen6.cxx.
References ATTR_CONDITIONAL(), GetCellScriptType(), GetCondResult(), ScPatternAttr::GetItem(), ScPatternAttr::GetNumberFormat(), GetPattern(), GetScriptType(), and mxPoolHelper.
Referenced by GetCellScriptType(), ScViewUtil::GetEffLanguage(), ScColumn::GetNeededSize(), ScColumn::GetOptimalColWidth(), GetScriptType(), ScViewFunc::GetSelectionScriptType(), and ScHTMLExport::WriteCell().
void ScDocument::GetSearchAndReplaceStart | ( | const SvxSearchItem & | rSearchItem, |
SCCOL & | rCol, | ||
SCROW & | rRow | ||
) |
Definition at line 1213 of file documen3.cxx.
References SvxSearchItem::GetBackward(), SvxSearchItem::GetCommand(), SvxSearchItem::GetPattern(), SvxSearchItem::GetRowDirection(), MaxCol(), and MaxRow().
Referenced by SearchAndReplace(), and ScViewFunc::SearchAndReplace().
void ScDocument::GetSelectionFrame | ( | const ScMarkData & | rMark, |
SvxBoxItem & | rLineOuter, | ||
SvxBoxInfoItem & | rLineInner | ||
) |
Definition at line 5064 of file document.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), SvxBoxInfoItem::EnableHor(), SvxBoxInfoItem::EnableVer(), ScMarkData::FillRangeListWithMarks(), ScMarkData::GetMarkArea(), GetTableCount(), ScMarkData::IsMarked(), ScMarkData::IsMultiMarked(), maTabs, ScLineFlags::nBottom, ScLineFlags::nHori, ScLineFlags::nLeft, ScLineFlags::nRight, ScLineFlags::nTop, ScLineFlags::nVert, ScAddress::Row(), SC_LINE_DONTCARE, SvxBoxItem::SetAllDistances(), SvxBoxInfoItem::SetDist(), SvxBoxInfoItem::SetLine(), SvxBoxItem::SetLine(), SvxBoxInfoItem::SetMinDist(), SvxBoxInfoItem::SetTable(), SvxBoxInfoItem::SetValid(), and ScRangeList::size().
Referenced by ScViewFunc::GetSelectionFrame().
bool ScDocument::GetSelectionFunction | ( | ScSubTotalFunc | eFunc, |
const ScAddress & | rCursor, | ||
const ScMarkData & | rMark, | ||
double & | rResult | ||
) |
Definition at line 602 of file documen4.cxx.
References aData, ScMarkData::begin(), ScAddress::Col(), ScMarkData::end(), GetTableCount(), ScMarkData::IsCellMarked(), ScMarkData::IsMultiMarked(), ScMarkData::MarkToMulti(), maTabs, ScAddress::Row(), and ScMarkData::SetMarkArea().
Referenced by ScTabViewShell::GetFunction(), and ScTabViewShell::HasSelection().
const ScPatternAttr * ScDocument::GetSelectionPattern | ( | const ScMarkData & | rMark | ) |
Definition at line 5058 of file document.cxx.
References CreateSelectionPattern(), and pSelectionAttr.
Referenced by ScFormatShell::ExecuteStyle(), and ScViewFunc::GetSelectionPattern().
const ScStyleSheet * ScDocument::GetSelectionStyle | ( | const ScMarkData & | rMark | ) | const |
Definition at line 4875 of file document.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), ScMarkData::GetMarkArea(), GetTableCount(), ScMarkData::GetTableSelect(), i, ScMarkData::IsMarked(), ScMarkData::IsMultiMarked(), maTabs, ScAddress::Row(), and ScAddress::Tab().
Referenced by ScViewFunc::GetStyleSheetFromMarked().
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().
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().
const svl::SharedStringPool & ScDocument::GetSharedStringPool | ( | ) | const |
Definition at line 606 of file documen2.cxx.
References mpCellStringPool.
const ScSheetEvents * ScDocument::GetSheetEvents | ( | SCTAB | nTab | ) | const |
Definition at line 661 of file documen3.cxx.
References FetchTable().
Referenced by ScDocFunc::DeleteTable(), ScXMLExport::exportDoc(), ScSheetEventsObj::getByName(), ScModelObj::HandleCalculateEvents(), lcl_CallActivate(), ScTabViewObj::MousePressed(), ScModelObj::NotifyChanges(), ScSheetEventsObj::replaceByName(), ScTabViewObj::SelectionChanged(), and ScXMLExport::WriteTable().
|
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().
sal_uInt16 ScDocument::GetSheetOptimalMinRowHeight | ( | SCTAB | nTab | ) | const |
Definition at line 928 of file document.cxx.
References FetchTable(), ScTable::GetOptimalMinRowHeight(), and ScGlobal::nStdRowHeight.
Referenced by ScCellShell::Execute(), ScColumn::GetOptimalHeight(), ScViewFunc::ModifyCellSize(), and ScViewData::ScViewData().
sal_Unicode ScDocument::GetSheetSeparator | ( | ) | const |
Obtain the sheet separator corresponding to the document's grammar.
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().
ScSortedRangeCache & ScDocument::GetSortedRangeCache | ( | const ScRange & | rRange, |
const ScQueryParam & | param, | ||
ScInterpreterContext * | pContext | ||
) |
Definition at line 1237 of file documen2.cxx.
References InterpretCellsIfNeeded(), invalid, IsThreadedGroupCalcInProgress(), ScSortedRangeCache::makeHashKey(), mScLookupMutex, mxScSortedRangeCache, and StartListeningArea().
void ScDocument::GetSortParam | ( | ScSortParam & | rParam, |
SCTAB | nTab | ||
) |
Definition at line 2124 of file documen3.cxx.
References mSheetSortParams.
Referenced by ScVbaRange::Sort().
std::shared_ptr< sc::Sparkline > ScDocument::GetSparkline | ( | ScAddress const & | rPosition | ) |
Returns sparkline at the address if it exists.
Definition at line 6495 of file document.cxx.
References ScAddress::Col(), FetchTable(), ScAddress::Row(), and ScAddress::Tab().
Referenced by CopyOneCellFromClip(), ScOutputData::DrawSparklines(), ScCellShell::ExecuteEdit(), GetSparklineGroupInRange(), HasSparkline(), sc::UndoDeleteSparkline::Redo(), sc::UndoGroupSparklines::Redo(), sc::UndoUngroupSparklines::Redo(), sc::SparklineDataRangeDialog::setupValues(), sc::SparklineDialog::setupValues(), sc::UndoDeleteSparkline::Undo(), and ScGridWindow::UpdateSparklineGroupOverlay().
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().
sc::SparklineList * ScDocument::GetSparklineList | ( | SCTAB | nTab | ) |
Definition at line 6524 of file document.cxx.
References FetchTable().
Referenced by ScColumn::CreateSparklineCell(), sc::UndoDeleteSparklineGroup::Redo(), and ScGridWindow::UpdateSparklineGroupOverlay().
|
inlinestatic |
Definition at line 2137 of file document.hxx.
References nSrcVer.
Referenced by ScFormulaCell::CalcAfterLoad().
|
inline |
Definition at line 2543 of file document.hxx.
References eStorageGrammar.
Referenced by ScXMLImport::ExtractFormulaNamespaceGrammar(), ScMyValidationsContainer::GetCondition(), ScXMLTableRowCellContext::SetContentValidation(), ScXMLExport::WriteCell(), ScChangeTrackingExportHelper::WriteFormulaCell(), and ScXMLExport::WriteNamedRange().
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().
OUString ScDocument::GetString | ( | SCCOL | nCol, |
SCROW | nRow, | ||
SCTAB | nTab, | ||
const ScInterpreterContext * | pContext = nullptr |
||
) | const |
Definition at line 3505 of file document.cxx.
References FetchTable().
Referenced by ScConsData::AddData(), ScConsData::AddFields(), XclImpPivotTable::ApplyMergeFlags(), ScDescriptiveStatisticsDialog::ApplyOutput(), ScChart2DataSequence::BuildDataCache(), ScOptSolverDlg::CallSolver(), ScAccessibleSpreadsheet::CommitFocusCell(), ScTpUserLists::CopyListFromArea(), ScChartArray::CreateMemChartMulti(), ScChartArray::CreateMemChartSingle(), ScDocFunc::CreateOneName(), ScCompiler::CreateStringFromSingleRef(), ScDBFunc::DataPilotInput(), ScImportExport::Doc2Sylk(), DoMergeContents(), ScGridWindow::DrawButtons(), ScOutputData::DrawEdit(), ExcEScenario::ExcEScenario(), ScDataFormDlg::FillCtrls(), ScFilterDlg::FillFieldLists(), ScPivotFilterDlg::FillFieldLists(), ScTabPageSortFields::FillFieldLists(), ScTpSubTotalGroup::FillListBoxes(), sc::SearchResultsDlg::FillResults(), ScConversionEngineBase::FindNextConversionCell(), ScCellShell::GetHLinkState(), ScCellShell::GetState(), XclExpPCField::InitStandardField(), ScGridWindow::LaunchDataSelectMenu(), ScAccessibleSpreadsheet::Notify(), ScDataFormDlg::ScDataFormDlg(), sc::SplitColumnTransformation::Transform(), sc::MergeColumnTransformation::Transform(), sc::TextTransformation::Transform(), sc::FindReplaceTransformation::Transform(), sc::DeleteRowTransformation::Transform(), sc::SwapRowsTransformation::Transform(), and ScColRowNameRangesDlg::UpdateNames().
FormulaError ScDocument::GetStringForFormula | ( | const ScAddress & | rPos, |
OUString & | rString | ||
) |
Definition at line 3557 of file document.cxx.
References aStr, CELLTYPE_EDIT, CELLTYPE_FORMULA, CELLTYPE_STRING, CELLTYPE_VALUE, ScGlobal::eLnge, ScRefCellValue::getDouble(), ScFormulaCell::GetErrCode(), GetFormatTable(), ScRefCellValue::getFormula(), SvNumberFormatter::GetInputLineString(), SvNumberFormatter::GetStandardFormat(), ScFormulaCell::GetString(), svl::SharedString::getString(), ScRefCellValue::getString(), ScRefCellValue::getType(), ScFormulaCell::GetValue(), ScRefCellValue::isEmpty(), ScFormulaCell::IsValue(), and nIndex.
Referenced by ScDBInternalRange::findFieldColumn().
SvtScriptType ScDocument::GetStringScriptType | ( | const OUString & | rString | ) |
Definition at line 76 of file documen6.cxx.
References GetBreakIterator(), nPos, and nType.
Referenced by ScGridWindow::DrawPagePreview(), ScEditShell::Execute(), GetCellScriptType(), ScTextWnd::InitEditEngine(), ScViewFunc::InsertSpecialChar(), sc::NumFmtUtil::isLatinScript(), ScTextWnd::SetTextString(), TransliterateText(), ScColumn::UpdateScriptType(), and ScEEImport::WriteToDocument().
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().
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().
Definition at line 449 of file documen3.cxx.
References COL_AUTO(), and FetchTable().
Referenced by CopyTab(), ScDocFunc::DeleteTable(), ScTabViewShell::ExecuteTable(), ExcTable::FillAsTableXml(), ScTableSheetObj::GetOnePropertyValue(), ScTabViewShell::GetStateTable(), ScTableLink::Refresh(), ScTabControl::ScTabControl(), ScTableSheetObj::SetOnePropertyValue(), ScDocFunc::SetTabBgColor(), ScUndoRefreshLink::Undo(), ScUndoImportTab::Undo(), ScTabControl::UpdateStatus(), and XclExpTabViewSettings::XclExpTabViewSettings().
bool ScDocument::GetTable | ( | const OUString & | rName, |
SCTAB & | rTab | ||
) | const |
Definition at line 244 of file document.cxx.
References ScGlobal::getCharClass(), GetTableCount(), i, IsThreadedGroupCalcInProgress(), maTabs, and CharClass::uppercase().
Referenced by ScNameDefDlg::AddPushed(), ScTableSheetsObj::copyByName(), CopyTab(), CreateValidTabName(), CreateValidTabNames(), ScXMLImport::endDocument(), ScCellShell::Execute(), ScTabViewShell::Execute(), ScExternalRefManager::getDoubleRefTokensFromSrcDoc(), ScLocalNamedRangesObj::GetObjectByIndex_Impl(), ScTableSheetsObj::GetObjectByName_Impl(), ScRangeStringConverter::GetRangeDataFromString(), ExtSheetBuffer::GetScTabIndex(), ScExternalRefCache::getSrcDocTable(), ScNamedRangeObj::GetTab_Impl(), ScLocalNamedRangesObj::GetTab_Impl(), ScTableSheetsObj::hasByName(), IMPL_LINK(), ScTableSheetsObj::importSheet(), ScTableSheetsObj::insertByName(), lcl_GetInputType(), lcl_ParseTarget(), lcl_ScAddress_Parse_OOo(), lcl_ScRange_External_TabSpan(), lcl_ScRange_Parse_XL_A1(), LinkExternalTab(), ScRangeUtil::MakeRangeFromName(), ScTableSheetsObj::moveByName(), ScViewFunc::MoveTable(), ScRange::Parse_XL_Header(), ScCompiler::ParseReference(), ScTableLink::Refresh(), ScTableSheetsObj::removeByName(), ScTableSheetsObj::replaceByName(), ScInterpreter::ScSheet(), SetAllRangeNames(), ScViewFunc::ShowTable(), and XclExpHyperlink::XclExpHyperlink().
bool ScDocument::GetTableArea | ( | SCTAB | nTab, |
SCCOL & | rEndCol, | ||
SCROW & | rEndRow, | ||
bool | bCalcHiddens = false |
||
) | const |
Definition at line 1008 of file document.cxx.
References FetchTable().
Referenced by ScDrawView::CalcNormScale(), ScViewData::CalcPPT(), ScGridWindow::GetDrawMapMode(), ScCellCursorObj::gotoEndOfUsedArea(), XclExpProgressBar::Initialize(), ScDrawView::RecalcScale(), ScFormatFilterPluginImpl::ScExportDif(), ScTabView::UpdateScrollBars(), and XclExpCellTable::XclExpCellTable().
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().
const ScTableProtection * ScDocument::GetTabProtection | ( | SCTAB | nTab | ) | const |
Definition at line 1914 of file documen3.cxx.
References FetchTable().
Referenced by ScGridWindow::Command(), ScTabViewShell::Execute(), ScTabView::ExpandBlock(), ExcTable::FillAsTableBinary(), ExcTable::FillAsTableXml(), ScVbaWorksheet::getEnableSelection(), ScVbaWorksheet::getProtectDrawingObjects(), ScHeaderControl::IsSelectionAllowed(), ScGridWindow::MouseButtonUp(), ScTabView::MoveCursorRel(), ScPassHashHelper::needsPassHashRegen(), ScDocFunc::Protect(), ScDocFunc::ProtectSheet(), XclExpSheetProtection::SaveXml(), ScViewFunctionSet::SetCursorAtCell(), ScRetypePassDlg::SetDataFromDocument(), ScVbaWorksheet::setEnableSelection(), ScTabView::SkipCursorHorizontal(), ScTabView::SkipCursorVertical(), ScDocShell::TransferTab(), ScUndoImportTab::Undo(), ScDocFunc::Unprotect(), ScXMLExport::WriteTable(), and XclExpSheetProtectOptions::XclExpSheetProtectOptions().
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().
|
inline |
Definition at line 623 of file document.hxx.
References GetNonThreadedContext(), IsThreadedGroupCalcInProgress(), maThreadSpecific, and ScDocumentThreadSpecific::pContext.
Referenced by ScModelObj::GetFormatter().
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().
ScUndoManager * ScDocument::GetUndoManager | ( | ) |
Definition at line 6364 of file document.cxx.
References CORE, GetDocumentShell(), mpUndoManager, and SdrUndoManager::SetDocShell().
Referenced by EnableUndo(), and IMPL_LINK().
void ScDocument::GetUnprotectedCells | ( | ScRangeList & | rRange, |
SCTAB | nTab | ||
) | const |
Definition at line 6864 of file document.cxx.
References FetchTable().
Referenced by ScCellShell::ExecuteEdit().
Definition at line 1477 of file documen3.cxx.
References FetchTable().
Referenced by ScTable::CreateExcelQuery(), and ScTable::CreateStarQuery().
const ScValidationData * ScDocument::GetValidationEntry | ( | sal_uInt32 | nIndex | ) | const |
Definition at line 873 of file documen4.cxx.
References nIndex, and pValidationList.
Referenced by ScInputHandler::EnterHandler(), ScCellShell::ExecuteDB(), ScOutputData::FindChanged(), GetDataEntries(), HasSelectionData(), HasValidationData(), ScFormulaCell::InterpretTail(), ScAccessibleCell::IsDropdown(), ScGridWindow::LaunchDataSelectMenu(), ScDetectiveFunc::MarkInvalid(), ScTableValidationObj::ScTableValidationObj(), ScDocFunc::SetNormalString(), and ScTabView::TestHintWindow().
|
inline |
Definition at line 1880 of file document.hxx.
References pValidationList.
|
inline |
Definition at line 1879 of file document.hxx.
References pValidationList.
Referenced by ScPatternAttr::PutInPool(), and ScUndoDragDrop::Undo().
double ScDocument::GetValue | ( | const ScAddress & | rPos | ) | const |
Definition at line 3626 of file document.cxx.
References ScAddress::Col(), FetchTable(), ScAddress::Row(), and ScAddress::Tab().
Referenced by ScConsData::AddData(), ScViewFunc::ChangeNumFmtDecimals(), ScImportExport::Doc2Sylk(), ExcEScenario::ExcEScenario(), ScCellShell::ExecuteEdit(), ScAccessibleCellBase::getCurrentValue(), GetValue(), ScCellObj::GetValue_Impl(), ScDBFunc::HasSelectionForDateGroup(), ScDBFunc::HasSelectionForNumGroup(), XclExpPCField::InitStandardField(), ScViewFunc::InsertCurrentTime(), ScGridWindow::LaunchDataSelectMenu(), OptimizeHasAttrib(), ScSamplingDialog::PerformPeriodicSampling(), ScSamplingDialog::PerformRandomSampling(), ScSamplingDialog::PerformRandomSamplingKeepOrder(), sc::SparklineRenderer::render(), sc::AggregateFunction::Transform(), sc::NumberTransformation::Transform(), sc::DateTimeTransformation::Transform(), sc::SwapRowsTransformation::Transform(), TransliterateText(), and ScXMLExport::WriteCell().
Definition at line 3634 of file document.cxx.
References GetValue().
double * ScDocument::GetValueCell | ( | const ScAddress & | rPos | ) |
Return a pointer to the double value stored in value cell.
rPos | cell position |
Definition at line 3519 of file document.cxx.
References ScAddress::Col(), FetchTable(), ScAddress::Row(), and ScAddress::Tab().
Referenced by Solver().
|
inline |
Definition at line 2539 of file document.hxx.
References mxVbaEvents.
Referenced by ScVbaRange::fireChangeEvent(), ScModelObj::HandleCalculateEvents(), lcl_CallActivate(), ScGridWindow::MouseButtonUp(), ScTabViewObj::MousePressed(), ScTabViewObj::MouseReleased(), ScModelObj::Notify(), ScTabViewObj::SelectionChanged(), and ooo::vba::excel::setUpDocumentModules().
SfxBindings * ScDocument::GetViewBindings | ( | ) |
Definition at line 1183 of file documen8.cxx.
References SfxViewFrame::Current(), SfxViewFrame::GetBindings(), SfxViewFrame::GetFirst(), SfxViewFrame::GetObjectShell(), and mpShell.
Referenced by LinkExternalTab(), ScDdeLink::ListenersGone(), ScWebServiceLink::ListenersGone(), ScInterpreter::ScDde(), ScInterpreter::ScWebservice(), and UpdateExternalRefLinks().
const ScViewOptions & ScDocument::GetViewOptions | ( | ) | const |
Definition at line 1951 of file documen3.cxx.
References pViewOptions.
Referenced by ScPrintFunc::DrawToDev(), XclImpTabViewSettings::Finalize(), ScDocumentConfiguration::getPropertyValue(), ImportExcel::Hideobj(), InitClipPtrs(), ScDrawTransferObj::InitDocShell(), ScDocumentConfiguration::setPropertyValue(), XclExpTabViewSettings::XclExpTabViewSettings(), and XclExpWindow1::XclExpWindow1().
VirtualDevice * ScDocument::GetVirtualDevice_100th_mm | ( | ) |
Definition at line 182 of file documen8.cxx.
References VclPtr< class reference_type >::Create(), mpVirtualDevice_100th_mm, VirtualDevice::MSO1, and MapMode::SetMapUnit().
Referenced by GetRefDevice().
|
inline |
Definition at line 879 of file document.hxx.
References nVisibleTab.
Referenced by ScTabViewShell::Construct(), ScDBFuncUndo::EndUndo(), ScModelObj::getViewData(), ScViewFunc::PasteDataFormat(), ScModelObj::render(), and XclExpTabInfo::XclExpTabInfo().
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().
|
inline |
Definition at line 2459 of file document.hxx.
References nXMLImportedFormulaCount.
Referenced by CompileXML(), and ScFormulaCell::CompileXML().
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().
void ScDocument::HandleStuffAfterParallelCalculation | ( | SCCOL | nColStart, |
SCCOL | nColEnd, | ||
SCROW | nRow, | ||
size_t | nLen, | ||
SCTAB | nTab, | ||
ScInterpreter * | pInterpreter | ||
) |
Definition at line 431 of file documen8.cxx.
References FetchTable(), GetNonThreadedContext(), ScTable::HandleStuffAfterParallelCalculation(), IsThreadedGroupCalcInProgress(), ScInterpreterContext::maDelayedSetNumberFormat, and SetNumberFormat().
Referenced by ScFormulaCell::InterpretFormulaGroupThreading().
bool ScDocument::HasAnyCalcNotification | ( | ) | const |
Definition at line 706 of file documen3.cxx.
References GetTableCount(), and maTabs.
Referenced by ScModelObj::Notify().
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().
bool ScDocument::HasAnySheetEventScript | ( | ScSheetEventId | nEvent, |
bool | bWithVbaEvents = false |
||
) | const |
Definition at line 697 of file documen3.cxx.
References GetTableCount(), and HasSheetEventScript().
Referenced by ScModelObj::HasChangesListeners(), ScModelObj::Notify(), and TrackFormulas().
bool ScDocument::HasAreaLinks | ( | ) | const |
Definition at line 1029 of file documen8.cxx.
References get(), GetDocLinkManager(), sc::DocumentLinkManager::getExistingLinkManager(), sfx2::LinkManager::GetLinks(), i, and nCount.
Referenced by ScTabViewShell::Construct().
bool ScDocument::HasAttrib | ( | const ScRange & | rRange, |
HasAttrFlags | nMask | ||
) | const |
Definition at line 5221 of file document.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), HasAttrib(), ScAddress::Row(), and ScAddress::Tab().
bool ScDocument::HasAttrib | ( | SCCOL | nCol, |
SCROW | nRow, | ||
SCTAB | nTab, | ||
HasAttrFlags | nMask, | ||
SCROW * | nStartRow = nullptr , |
||
SCROW * | nEndRow = nullptr |
||
) | const |
Definition at line 5189 of file document.cxx.
References GetTableCount(), IsLayoutRTL(), maTabs, MaxRow(), mxPoolHelper, NONE, OptimizeHasAttrib(), and RightOrCenter.
bool ScDocument::HasAttrib | ( | SCCOL | nCol1, |
SCROW | nRow1, | ||
SCTAB | nTab1, | ||
SCCOL | nCol2, | ||
SCROW | nRow2, | ||
SCTAB | nTab2, | ||
HasAttrFlags | nMask | ||
) | const |
Definition at line 5161 of file document.cxx.
References GetTableCount(), HasAttrib(), i, IsLayoutRTL(), maTabs, mxPoolHelper, NONE, OptimizeHasAttrib(), and RightOrCenter.
Referenced by ScPrintFunc::AdjustPrintArea(), ScGridWindow::Command(), ScDocFunc::DeleteCells(), ScViewFunc::DeleteContents(), ScUndoInsertCells::DoChange(), ScUndoDeleteCells::DoChange(), ScUndoSelectionAttr::DoChange(), ScUndoSelectionStyle::DoChange(), ScDBFunc::DoSubTotals(), ScDBDocFunc::DoSubTotals(), ScUndoDragDrop::DoUndo(), ScOutputData::DrawEdit(), ExtendTotalMerge(), FillInfo(), ScCellRangeObj::getIsMerged(), ScCellShell::GetState(), HasAttrib(), HasPartOfMerged(), ScDocFunc::InsertCells(), IsPrintEmpty(), ScHeaderControl::IsSelectionAllowed(), ScOutputData::LayoutStrings(), lcl_PaintWidthHeight(), ScViewFunc::MergeCells(), ScDocFunc::MergeCells(), ScViewFunc::ModifyCellSize(), ScGridWindow::MouseButtonUp(), ScDocFunc::MoveBlock(), ScAreaLink::Refresh(), ScViewFunctionSet::SetCursorAtCell(), ScDocFunc::SetEditCell(), ScDocFunc::SetFormulaCell(), ScDocFunc::SetNormalString(), ScDocFunc::SetStringCell(), ScDocFunc::SetValueCell(), ScViewFunc::SetWidthOrHeight(), ScTabView::SkipCursorHorizontal(), ScTabView::SkipCursorVertical(), ScTable::SkipRow(), ScDBDocFunc::Sort(), ScViewFunc::TestRemoveMerge(), ScDocFunc::UnmergeCells(), ScTable::ValidNextPos(), and ScEEImport::WriteToDocument().
Definition at line 1494 of file documen3.cxx.
References AREA, ATTR_MERGE_FLAG(), Auto, GetAttr(), GetDBAtCursor(), ScDBData::GetQueryParam(), ScDBData::HasHeader(), ScQueryParamTable::nCol1, ScQueryParamTable::nCol2, and ScQueryParamTable::nRow1.
Referenced by ScCellShell::GetDBState().
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().
bool ScDocument::HasCalcNotification | ( | SCTAB | nTab | ) | const |
Definition at line 715 of file documen3.cxx.
References FetchTable().
Referenced by ScModelObj::HandleCalculateEvents().
Definition at line 100 of file documen5.cxx.
References IsChart(), maTabs, mpDrawLayer, SdrObjListIter::Next(), and pObject.
Referenced by ScGridWindow::AcceptPrivateDrop(), and ScGridWindow::DropTransferObj().
bool ScDocument::HasClipFilteredRows | ( | ) |
Definition at line 3216 of file document.cxx.
References ScRange::aEnd, ScRange::aStart, ScRangeList::empty(), GetClipParam(), GetTableCount(), i, ScClipParam::maRanges, maTabs, n, ScAddress::Row(), and ScRangeList::size().
Referenced by ScViewFunc::PasteFromClip().
ScBreakType ScDocument::HasColBreak | ( | SCCOL | nCol, |
SCTAB | nTab | ||
) | const |
Definition at line 4369 of file document.cxx.
References FetchTable(), Manual, NONE, nType, Page, and ValidCol().
Referenced by sc::PrintPageRanges::calculate(), ScOutputData::DrawGrid(), ScGridWindow::DrawPagePreview(), ScTableSheetObj::getColumnPageBreaks(), ScTableColumnObj::GetOnePropertyValue(), ScVbaRange::getPageBreak(), ScTableColumnsObj::getPropertyValue(), ScCellShell::GetState(), ScDocFunc::InsertPageBreak(), ScGridWindow::PagebreakMove(), and ScDocFunc::RemovePageBreak().
bool ScDocument::HasColHeader | ( | SCCOL | nStartCol, |
SCROW | nStartRow, | ||
SCCOL | nEndCol, | ||
SCROW | nEndRow, | ||
SCTAB | nTab | ||
) |
Definition at line 1526 of file documen3.cxx.
References FetchTable(), and ScTable::HasColHeader().
Referenced by ScCellShell::ExecuteDB(), ScUndoUtil::GetOldDBData(), ScVbaChart::setSourceData(), and ScVbaRange::Sort().
Definition at line 6652 of file document.cxx.
References FetchTable(), and ValidCol().
Referenced by ScPrintFunc::CountNotePages(), ScTable::GetAllNoteCaptionsState(), HasTabNotes(), and ScTable::TransposeClip().
Definition at line 529 of file documen5.cxx.
References FetchTable(), and ScTable::GetAllocatedColumnsCount().
Referenced by ScConsData::AddData(), ScViewFunc::FillCrossDblClick(), and ImportLotus::Row_().
|
inline |
Definition at line 848 of file document.hxx.
References GetDPAtCursor().
Referenced by ScTabView::CursorPosChanged().
bool ScDocument::HasDetectiveObjects | ( | SCTAB | nTab | ) | const |
Definition at line 504 of file documen9.cxx.
References ScDrawLayer::IsNoteCaption(), mpDrawLayer, SdrObjListIter::Next(), pObject, and SC_LAYER_INTERN().
Referenced by ScViewData::CalcPPT().
bool ScDocument::HasDetectiveOperations | ( | ) | const |
Definition at line 887 of file documen4.cxx.
References pDetOpList.
Referenced by ScCellShell::GetState().
|
inline |
Definition at line 1028 of file document.hxx.
References pExternalRefMgr.
Referenced by ScXMLImport::endDocument(), sc::TokenStringContext::TokenStringContext(), and ScFormulaCell::~ScFormulaCell().
Definition at line 4482 of file document.cxx.
References FetchTable().
Referenced by ScViewUtil::HasFiltered(), and TransposeClip().
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().
Definition at line 4423 of file document.cxx.
References FetchTable().
Referenced by ScDBDocFunc::Sort(), and ScHTMLExport::WriteTables().
bool ScDocument::HasLink | ( | std::u16string_view | rDoc, |
std::u16string_view | rFilter, | ||
std::u16string_view | rOptions | ||
) | const |
Definition at line 552 of file documen3.cxx.
References GetLinkDoc(), GetLinkFlt(), GetLinkOpt(), GetTableCount(), i, IsLinked(), maTabs, and nCount.
Referenced by ScViewFunc::ImportTables(), and LinkExternalTab().
|
inline |
Definition at line 2213 of file document.hxx.
References bLinkFormulaNeedingCheck.
Referenced by CheckLinkFormulaNeedingCheck(), ScTabViewShell::Construct(), IMPL_LINK(), ScInterpreter::ScDde(), and ScInterpreter::ScWebservice().
bool ScDocument::HasManualBreaks | ( | SCTAB | nTab | ) | const |
Definition at line 6222 of file document.cxx.
References FetchTable().
Referenced by ScTabViewShell::GetState().
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().
bool ScDocument::HasNote | ( | const ScAddress & | rPos | ) | const |
Definition at line 6618 of file document.cxx.
References ScAddress::Col(), HasNote(), ScAddress::Row(), and ScAddress::Tab().
Referenced by ScPrintFunc::CountNotePages(), ScGridWinUIObject::get_state(), GetOrCreateNote(), HasNote(), ScDocFunc::MergeCells(), and ScHTMLExport::WriteCell().
Definition at line 6623 of file document.cxx.
References ScTable::aCol, FetchTable(), ScTable::GetAllocatedColumnsCount(), and ValidColRow().
bool ScDocument::HasNote | ( | SCTAB | nTab, |
SCCOL | nStartCol, | ||
SCROW | nStartRow, | ||
SCCOL | nEndCol, | ||
SCROW | nEndRow | ||
) | const |
Definition at line 6639 of file document.cxx.
References FetchTable().
bool ScDocument::HasNotes | ( | ) | const |
Definition at line 6679 of file document.cxx.
References HasTabNotes(), i, and MAXTAB.
bool ScDocument::HasOLEObjectsInArea | ( | const ScRange & | rRange, |
const ScMarkData * | pTabMark = nullptr |
||
) |
Definition at line 264 of file documen9.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), tools::Rectangle::Contains(), GetMMRect(), GetTableCount(), ScMarkData::GetTableSelect(), mpDrawLayer, SdrObjListIter::Next(), pObject, ScAddress::Row(), and ScAddress::Tab().
Referenced by ScViewFunc::CopyToClipSingleRange(), ScViewFunc::CopyToTransferable(), ScSelectionTransferObj::CreateCellData(), and ScDocFunc::MoveBlock().
bool ScDocument::HasOneSparklineGroup | ( | ScRange const & | rRange | ) |
Definition at line 6531 of file document.cxx.
References GetSparklineGroupInRange().
Referenced by ScCellShell::GetBlockState(), and sc::SparklineDialog::setupValues().
|
private |
Definition at line 1723 of file document.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), ExtendMerge(), ExtendOverlapped(), HasAttrib(), Merged, Overlapped, ScAddress::Row(), and ScAddress::Tab().
Referenced by CanFitBlock().
bool ScDocument::HasPivotTable | ( | ) | const |
Definition at line 360 of file documen3.cxx.
References pDPCollection.
Referenced by ScTabViewShell::ExecuteTable(), oox::xls::PivotTable::finalizeFieldsImport(), XclExpXmlPivotTableManager::Initialize(), and ScInterpreter::ScDebugVar().
bool ScDocument::HasPrintRange | ( | ) |
Definition at line 6239 of file document.cxx.
Referenced by XclExpNameManagerImpl::CreateBuiltInNames(), and ScPrintFunc::InitParam().
|
inline |
Definition at line 2219 of file document.hxx.
References ERRCODE_NONE, and nRangeOverflowType.
Referenced by ScXMLImport::endDocument(), and ScXMLImportWrapper::ImportFromComponent().
ScBreakType ScDocument::HasRowBreak | ( | SCROW | nRow, |
SCTAB | nTab | ||
) | const |
Definition at line 4355 of file document.cxx.
References FetchTable(), Manual, NONE, nType, Page, and ValidRow().
Referenced by ScOutputData::DrawGrid(), ScGridWindow::DrawPagePreview(), ScTableRowObj::GetOnePropertyValue(), ScVbaRange::getPageBreak(), ScTableRowsObj::getPropertyValue(), ScCellShell::GetState(), ScDocFunc::InsertPageBreak(), ScGridWindow::PagebreakMove(), and ScDocFunc::RemovePageBreak().
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().
Definition at line 866 of file documen3.cxx.
References FetchTable(), and ScTable::HasScenarioRange().
Referenced by CopyScenario(), ScGridWindow::DoScenarioMenu(), ScTable::IsBlockEditable(), ScTable::IsSelectionEditable(), lcl_DrawScenarioFrames(), and lcl_TestScenarioRedliningDrop().
bool ScDocument::HasSelectedBlockMatrixFragment | ( | SCCOL | nStartCol, |
SCROW | nStartRow, | ||
SCCOL | nEndCol, | ||
SCROW | nEndRow, | ||
const ScMarkData & | rMark | ||
) | const |
Definition at line 5395 of file document.cxx.
References GetTableCount(), and maTabs.
Referenced by ScViewFunc::CopyToClipMultiRange(), ScViewFunc::CopyToClipSingleRange(), ScViewFunc::CopyToTransferable(), ScDocFunc::FillAuto(), ScCellShell::GetBlockState(), and lcl_DoDragCells().
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().
bool ScDocument::HasSheetEventScript | ( | SCTAB | nTab, |
ScSheetEventId | nEvent, | ||
bool | bWithVbaEvents = false |
||
) | const |
Definition at line 674 of file documen3.cxx.
References FetchTable(), ScSheetEvents::GetScript(), ScSheetEvents::GetVbaDocumentEventId(), ScSheetEvents::GetVbaSheetEventId(), and mxVbaEvents.
Referenced by HasAnySheetEventScript(), and ScTabViewObj::IsMouseListening().
bool ScDocument::HasSparkline | ( | ScAddress const & | rPosition | ) |
Definition at line 6503 of file document.cxx.
References GetSparkline().
Referenced by ScTabView::CursorPosChanged(), and ScCellShell::GetBlockState().
bool ScDocument::HasStringCells | ( | const ScRange & | rRange | ) | const |
Definition at line 3762 of file document.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), GetTableCount(), HasStringCells(), maTabs, ScAddress::Row(), and ScAddress::Tab().
Referenced by HasSelectionData(), and HasStringCells().
Definition at line 3743 of file document.cxx.
References FetchTable(), and ScTable::GetAllocatedColumnsCount().
Referenced by ScTpUserLists::CopyListFromArea(), ScCompiler::CreateStringFromSingleRef(), ScViewFunc::GetCreateNameFlags(), and ScCompiler::ParseColRowName().
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().
bool ScDocument::HasSubTotalCells | ( | const ScRange & | rRange | ) |
Definition at line 785 of file documen3.cxx.
References CELLTYPE_FORMULA, ScCellIterator::first(), ScCellIterator::getFormulaCell(), ScCellIterator::getType(), ScFormulaCell::IsSubTotal(), and ScCellIterator::next().
Referenced by ScCellShell::ExecuteDataPilotDialog().
bool ScDocument::HasTable | ( | SCTAB | nTab | ) | const |
Definition at line 2502 of file document.cxx.
References GetTableCount(), maTabs, and ValidTab().
Referenced by AssertNoInterpretNeeded(), ImportExcel8::Boundsheet(), ImportExcel::Boundsheet(), ScFunctionAccess::callFunction(), ImportLotus::Columnwidth(), ScTabViewShell::Construct(), CopyCellToDocument(), CopyScenario(), CopyTabProtection(), ScPrintFunc::CountPages(), DeleteTab(), DeleteTabs(), ScTabView::DoneBlockMode(), ExtendPrintArea(), FetchTable(), FindMaxRotCol(), GetCellArea(), GetCondFormList(), GetDataEntries(), GetFilterEntries(), GetFilterSelCount(), GetMMRect(), GetNumberFormat(), GetRangeScriptType(), GetRowBreakIterator(), IdleCalcTextWidth(), IsBlockEmpty(), ScExportBase::IsEmptyTable(), lcl_CallActivate(), MakeTable(), ImportLotus::NamedSheet(), ImportExcel::NewTable(), ScTabViewShell::Notify(), ScTabView::PaintExtras(), ImportLotus::parse(), ScViewFunc::PasteDataFormat(), ScViewFunc::PasteFromClip(), XclImpPivotCache::ReadPivotCacheStream(), ScViewData::ReadUserData(), RenameTab(), ResolveStaticReference(), ScFormatFilterPluginImpl::ScExportDif(), ScViewData::ScViewData(), ScTabViewObj::setActiveSheet(), ShrinkToDataArea(), ScTransferObj::StripRefs(), TestCopyScenario(), ScViewData::UpdateFixX(), ScViewData::UpdateFixY(), and ScRTFExport::WriteTab().
bool ScDocument::HasTabNotes | ( | SCTAB | nTab | ) | const |
Definition at line 6668 of file document.cxx.
References FetchTable(), and HasColNotes().
Referenced by ScCellShell::GetState(), and HasNotes().
Definition at line 346 of file document10.cxx.
References FetchTable(), and ScTable::HasUniformRowHeight().
Referenced by ScDBDocFunc::Sort().
|
inline |
Definition at line 1090 of file document.hxx.
References pUnoRefUndoList.
Referenced by ScRefUndoData::DeleteUnchanged(), and ScChart2DataSequence::Notify().
Definition at line 3793 of file document.cxx.
References ATTR_VALIDDATA(), GetAttr(), GetValidationEntry(), pData, and SC_VALID_ANY.
Referenced by ScCellShell::GetState().
bool ScDocument::HasValueData | ( | const ScAddress & | rPos | ) | const |
Definition at line 3757 of file document.cxx.
References ScAddress::Col(), HasValueData(), ScAddress::Row(), and ScAddress::Tab().
Definition at line 3750 of file document.cxx.
References FetchTable(), and ScTable::GetAllocatedColumnsCount().
Referenced by ScConsData::AddData(), ScDocFunc::CreateOneName(), ScImportExport::Doc2Sylk(), ExcEScenario::ExcEScenario(), ScAccessibleCellTextData::GetTextForwarder(), ScDBFunc::HasSelectionForDateGroup(), ScDBFunc::HasSelectionForNumGroup(), HasValueData(), XclExpPCField::InitStandardField(), ScGridWindow::LaunchDataSelectMenu(), and ScRTFExport::WriteCell().
bool ScDocument::IdleCalcTextWidth | ( | ) |
Definition at line 532 of file documen8.cxx.
References ScTable::aCol, aCurTextWidthCalcPos, ScTable::aPageStyle, ATTR_PAGE_SCALE(), ATTR_PAGE_SCALETOPAGES(), CALCMAX, ScTable::ClampToAllocatedColumns(), OutputDevice::GetMapMode(), GetNeededSize(), GetPrinter(), HasTable(), ScColumn::IsFormulaDirty(), IsInLinkUpdate(), OutputDevice::LogicToPixel(), maTabs, MaxCol(), MaxRow(), mbIdleEnabled, nCount, nPPTX, nPPTY, OutputDevice::SetMapMode(), TEXTWIDTH_DIRTY, ValidRow(), Point::X(), and Point::Y().
Referenced by IMPL_LINK_NOARG().
|
private |
Definition at line 101 of file documen8.cxx.
References pDocOptions, and pViewOptions.
Referenced by ScDocument().
|
private |
Definition at line 107 of file documen8.cxx.
References pDocOptions, pExtDocOptions, and pViewOptions.
Referenced by ~ScDocument().
|
inline |
Definition at line 1043 of file document.hxx.
References nInDdeLinkUpdate.
Referenced by ScDdeLink::TryUpdate().
|
inline |
Definition at line 2440 of file document.hxx.
References nInterpreterTableOpLevel.
Referenced by ScInterpreter::ScTableOp().
|
inline |
Definition at line 2414 of file document.hxx.
References IsThreadedGroupCalcInProgress(), and nInterpretLevel.
Referenced by ScFormulaCell::Interpret().
|
inline |
Definition at line 2427 of file document.hxx.
References IsThreadedGroupCalcInProgress(), and nMacroInterpretLevel.
Referenced by ScInterpreter::ScMacro().
|
inline |
Definition at line 2460 of file document.hxx.
References nXMLImportedFormulaCount.
Referenced by ScMyTables::AddMatrixRange(), ScDocFunc::EnterMatrix(), and ScXMLTableRowCellContext::PutFormulaCell().
|
private |
Definition at line 435 of file documen2.cxx.
References bIsClip, Clear(), CORE, GetDocLinkManager(), GetDocOptions(), GetViewOptions(), sc::DocumentLinkManager::hasDdeLinks(), pClipData, pValidationList, SaveDdeLinks(), SetDocOptions(), SetViewOptions(), and SharePooledResources().
Referenced by ResetClip().
bool ScDocument::InitColumnBlockPosition | ( | sc::ColumnBlockPosition & | rBlockPos, |
SCTAB | nTab, | ||
SCCOL | nCol | ||
) |
Definition at line 2628 of file document.cxx.
References FetchTable().
Referenced by ScChart2DataSequence::BuildDataCache(), ScImportExport::Doc2Text(), sc::ColumnBlockPositionSet::getBlockPosition(), ScAttrArray::RemoveCellCharAttribs(), sc::PurgeListenerAction::startColumn(), and ScHTMLExport::WriteTables().
void ScDocument::InitDrawLayer | ( | SfxObjectShell * | pDocShell = nullptr | ) |
Definition at line 105 of file documen9.cxx.
References aName, bAutoCalc, bImportingXML, CORE, EE_CHAR_PAIRKERNING(), GetAsianCompression(), GetAsianKerning(), GetDocLinkManager(), GetDocOptions(), sc::DocumentLinkManager::getLinkManager(), SfxItemPool::GetSecondaryPool(), ScDocOptions::GetTabDistance(), GetTableCount(), SfxObjectShell::GetTitle(), IsClipOrUndo(), SfxObjectShell::IsLoading(), maTabs, mpDrawLayer, mpShell, mxPoolHelper, SfxItemPool::SetPoolDefaultItem(), SfxItemPool::SetSecondaryPool(), UpdateDrawLanguages(), UpdateDrawPrinter(), and xForbiddenCharacters.
Referenced by ScDrawLayer::CopyToClip(), ScPostIt::CreateCaption(), ScPostIt::CreateCaptionFromInitData(), ScOutputData::CreateProcessor2D(), oox::xls::WorkbookFragment::finalizeImport(), ScModelObj::getSdrModelFromUnoModel(), ScDrawTransferObj::InitDocShell(), ScEEImport::InsertGraphic(), TestImportXLS(), and TransposeClip().
void ScDocument::InitUndo | ( | const ScDocument & | rSrcDoc, |
SCTAB | nTab1, | ||
SCTAB | nTab2, | ||
bool | bColInfo = false , |
||
bool | bRowInfo = false |
||
) |
Definition at line 1975 of file document.cxx.
References bIsUndo, Clear(), INetURLObject::GetMainURL(), SfxObjectShell::GetMedium(), GetTableCount(), SfxMedium::GetURLObject(), maFileURL, maTabs, mpShell, ScTable, SharePooledResources(), and INetURLObject::ToIUri.
Referenced by ScDocFunc::UnmergeCells().
void ScDocument::InitUndoSelected | ( | const ScDocument & | rSrcDoc, |
const ScMarkData & | rTabSelection, | ||
bool | bColInfo = false , |
||
bool | bRowInfo = false |
||
) |
Definition at line 1943 of file document.cxx.
References bIsUndo, Clear(), ScMarkData::GetLastSelected(), GetTableCount(), ScMarkData::GetTableSelect(), maTabs, ScTable, and SharePooledResources().
bool ScDocument::InsertCol | ( | const ScRange & | rRange | ) |
Definition at line 1563 of file document.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), InsertCol(), ScAddress::Row(), and ScAddress::Tab().
bool ScDocument::InsertCol | ( | SCROW | nStartRow, |
SCTAB | nStartTab, | ||
SCROW | nEndRow, | ||
SCTAB | nEndTab, | ||
SCCOL | nStartCol, | ||
SCSIZE | nSize, | ||
ScDocument * | pRefUndoDoc = nullptr , |
||
const ScMarkData * | pTabMark = nullptr |
||
) |
Definition at line 1477 of file document.cxx.
References EnableDelayDeletingBroadcasters(), GetAutoCalc(), GetBASM(), GetTableCount(), ScMarkData::GetTableSelect(), i, InsertCol(), IsDelayedDeletingBroadcasters(), lcl_GetFirstTabRange(), lcl_GetNextTabRange(), sc::RefUpdateContext::maRange, sc::RefUpdateContext::maRegroupCols, maTabs, MaxCol(), sc::RefUpdateContext::meMode, sc::RefUpdateContext::mnColDelta, pChangeTrack, pChartListenerCollection, PutInOrder(), SetAutoCalc(), StartAllListeners(), StartNeededListeners(), UpdateBroadcastAreas(), UpdateReference(), and URM_INSDEL.
Referenced by ScUndoInsertCells::DoChange(), ScUndoDeleteCells::DoChange(), FitBlock(), ScDocFunc::InsertCells(), InsertCol(), ScChangeActionDel::Reject(), sc::SplitColumnTransformation::Transform(), and ScUndoDeleteMulti::Undo().
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 |
||
) |
Definition at line 259 of file documen4.cxx.
References aArr, ScMarkData::begin(), FetchTable(), Formula, ScMarkData::GetSelectCount(), GetTableCount(), GetWritableColumnsRange(), ScSingleRefData::InitFlags(), utl::ConfigManager::IsFuzzing(), maTabs, MaxCol(), MaxRow(), PutInOrder(), Reference, SAL_WARN, ScTable::SetFormulaCell(), ScFormulaCell::SetMatColsRows(), ScSingleRefData::SetRelCol(), ScSingleRefData::SetRelRow(), ScSingleRefData::SetRelTab(), StartListening, t, and ValidColRow().
Referenced by ScDocFunc::EnterMatrix(), ScChangeActionContent::PutValueToDoc(), ScUndoEnterMatrix::Redo(), and ScImportExport::Sylk2Doc().
bool ScDocument::InsertNewRangeName | ( | const OUString & | rName, |
const ScAddress & | rPos, | ||
const OUString & | rExpr | ||
) |
Insert a new named expression to the global scope.
rName | name for the expression. |
rPos | base position. |
rExpr | formula expression to be associated with the name. The current grammar is used to compile this expression. |
Definition at line 218 of file documen3.cxx.
References GetGrammar(), GetRangeName(), ScRangeName::insert(), ScRangeData::Name, and pName.
bool ScDocument::InsertNewRangeName | ( | SCTAB | nTab, |
const OUString & | rName, | ||
const ScAddress & | rPos, | ||
const OUString & | rExpr | ||
) |
Insert a new named expression to a sheet-local scope.
nTab | sheet for local scope. |
rName | name for the expression. |
rPos | base position. |
rExpr | formula expression to be associated with the name. The current grammar is used to compile this expression. |
Definition at line 228 of file documen3.cxx.
References GetGrammar(), GetRangeName(), ScRangeName::insert(), ScRangeData::Name, and pName.
bool ScDocument::InsertRow | ( | const ScRange & | rRange | ) |
Definition at line 1338 of file document.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), InsertRow(), ScAddress::Row(), and ScAddress::Tab().
bool ScDocument::InsertRow | ( | SCCOL | nStartCol, |
SCTAB | nStartTab, | ||
SCCOL | nEndCol, | ||
SCTAB | nEndTab, | ||
SCROW | nStartRow, | ||
SCSIZE | nSize, | ||
ScDocument * | pRefUndoDoc = nullptr , |
||
const ScMarkData * | pTabMark = nullptr |
||
) |
Definition at line 1223 of file document.cxx.
References a, ScRange::aEnd, ScRange::aStart, EnableDelayDeletingBroadcasters(), EndListeningIntersectedGroups(), GetAutoCalc(), GetTableCount(), ScMarkData::GetTableSelect(), i, InsertRow(), IsDelayedDeletingBroadcasters(), lcl_GetFirstTabRange(), lcl_GetNextTabRange(), sc::RefUpdateContext::maRange, maTabs, MaxRow(), sc::RefUpdateContext::meMode, sc::RefUpdateContext::mnRowDelta, pChangeTrack, pChartListenerCollection, PutInOrder(), SetAutoCalc(), SetNeedsListeningGroups(), ScAddress::SetTab(), StartAllListeners(), StartNeededListeners(), UpdateBroadcastAreas(), UpdateReference(), and URM_INSDEL.
Referenced by ScUndoInsertCells::DoChange(), ScUndoDeleteCells::DoChange(), ScTable::DoSubTotals(), FitBlock(), ScDocFunc::InsertCells(), InsertRow(), ScConsData::OutputToDocument(), ScChangeActionDel::Reject(), ScUndoDeleteMulti::Undo(), ScUndoSubTotals::Undo(), and ScUndoRepeatDB::Undo().
bool ScDocument::InsertTab | ( | SCTAB | nPos, |
const OUString & | rName, | ||
bool | bExternalDocument = false , |
||
bool | bUndoDeleteTab = false |
||
) |
Definition at line 485 of file document.cxx.
References a, CORE, GetDocumentShell(), GetDrawLayer(), GetTableCount(), comphelper::LibreOfficeKit::isActive(), maTabs, MaxCol(), MaxRow(), MAXTAB, sc::SetFormulaDirtyContext::mbClearTabDeletedFlag, sc::SetFormulaDirtyContext::mnTabDeletedEnd, sc::SetFormulaDirtyContext::mnTabDeletedStart, SfxLokHelper::notifyDocumentSizeChangedAllViews(), nPos, pDBCollection, pDetOpList, pDPCollection, pRangeName, pUnoBroadcaster, pValidationList, SC_TAB_APPEND, ScTable, SetAllFormulasDirty(), StartAllListeners(), UpdateBroadcastAreas(), UpdateChartRef(), UpdateRefAreaLinks(), URM_INSDEL, ValidNewTabName(), ValidTab(), xColNameRanges, and xRowNameRanges.
Referenced by ScViewFunc::AppendTable(), ExcScenario::Apply(), FuInsertChart::FuInsertChart(), ScViewFunc::ImportTables(), ScDocFunc::InsertTable(), LinkExternalTab(), ScDBFunc::MakePivotTable(), ScViewFunc::MoveTable(), ImportLotus::NamedSheet(), ScQProReader::parse(), ScUndoImportTab::Redo(), ScChangeActionDel::Reject(), TransferTab(), and ScUndoDeleteTab::Undo().
void ScDocument::InsertTableOp | ( | const ScTabOpParam & | rParam, |
SCCOL | nCol1, | ||
SCROW | nRow1, | ||
SCCOL | nCol2, | ||
SCROW | nRow2, | ||
const ScMarkData & | rMark | ||
) |
Definition at line 356 of file documen4.cxx.
References ScTabOpParam::aRefColCell, ScTabOpParam::aRefFormulaCell, ScTabOpParam::aRefFormulaEnd, ScTabOpParam::aRefRowCell, ScRefAddress::Col(), ScTabOpParam::Column, ScRefAddress::GetAddress(), formula::FormulaCompiler::GetNativeSymbol(), ScRefAddress::GetRefString(), GetTableCount(), formula::FormulaGrammar::GRAM_NATIVE, i, maTabs, ScTabOpParam::meMode, NONE, ocClose, ocOpen, ocSep, ocTableOp, PutInOrder(), ScRefAddress::Row(), ScTabOpParam::Row, ScRefAddress::Set(), StartListening, and ValidColRow().
Referenced by ScDocFunc::TabOp().
bool ScDocument::InsertTabs | ( | SCTAB | nPos, |
const std::vector< OUString > & | rNames, | ||
bool | bNamesValid = false |
||
) |
Definition at line 573 of file document.cxx.
References a, CORE, GetTableCount(), i, maTabs, MaxCol(), MaxRow(), MAXTAB, nPos, pDBCollection, pDetOpList, pDPCollection, pRangeName, pUnoBroadcaster, pValidationList, SC_TAB_APPEND, ScTable, SetAllFormulasDirty(), StartAllListeners(), UpdateBroadcastAreas(), UpdateChartRef(), UpdateRefAreaLinks(), URM_INSDEL, ValidTab(), xColNameRanges, and xRowNameRanges.
Referenced by ScViewFunc::InsertTables().
bool ScDocument::InterpretCellsIfNeeded | ( | const ScRangeList & | rRanges | ) |
Definition at line 3897 of file document.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), FetchTable(), ScTable::InterpretCellsIfNeeded(), nPos, ScAddress::Row(), ScRangeList::size(), and ScAddress::Tab().
Referenced by GetSortedRangeCache(), and ScOutputData::LayoutStrings().
void ScDocument::InterpretDirtyCells | ( | const ScRangeList & | rRanges | ) |
Definition at line 3872 of file document.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), CORE, FetchTable(), GetAutoCalc(), ScTable::InterpretDirtyCells(), mpFormulaGroupCxt, nPos, PrepareFormulaCalc(), ScAddress::Row(), ScRangeList::size(), and ScAddress::Tab().
Referenced by CalcAfterLoad(), ScXMLExport::collectAutoStyles(), ScMyOLEFixer::CreateChartListener(), and ScTabView::InterpretVisible().
|
inline |
Definition at line 2453 of file document.hxx.
References aLastTableOpParams, and ScInterpreterTableOpParams::bValid.
void ScDocument::InvalidatePageBreaks | ( | SCTAB | nTab | ) |
Definition at line 6204 of file document.cxx.
References FetchTable().
Referenced by ScUndoPageBreak::DoChange(), ScOutlineDocFunc::HideOutline(), ScDocFunc::InsertPageBreak(), ScDBDocFunc::Query(), ScOutlineDocFunc::ShowOutline(), and ScUndoQuery::Undo().
void ScDocument::InvalidateStreamOnSave | ( | ) |
Definition at line 476 of file document.cxx.
|
inline |
Definition at line 2533 of file document.hxx.
References bStyleSheetUsageInvalid.
void ScDocument::InvalidateTableArea | ( | ) |
Definition at line 574 of file documen4.cxx.
References maTabs.
void ScDocument::InvalidateTextWidth | ( | const ScAddress * | pAdrFrom, |
const ScAddress * | pAdrTo, | ||
bool | bNumFormatChanged | ||
) |
Definition at line 445 of file documen8.cxx.
References GetDocOptions(), InvalidateTextWidth(), ScDocOptions::IsCalcAsShown(), IsClipboard(), IsImportingXML(), maTabs, MAXTAB, and ScAddress::Tab().
void ScDocument::InvalidateTextWidth | ( | SCTAB | nTab | ) |
Definition at line 303 of file documen8.cxx.
References InvalidateTextWidth(), MaxCol(), and MaxRow().
void ScDocument::InvalidateTextWidth | ( | std::u16string_view | rStyleName | ) |
Definition at line 295 of file documen8.cxx.
References GetPageStyle(), GetTableCount(), i, InvalidateTextWidth(), maTabs, and nCount.
Referenced by ScAttrArray::ApplyCacheArea(), ScAttrArray::ApplyStyleArea(), ScTabViewShell::ExecStyle(), InvalidateTextWidth(), ModifyStyleSheet(), ScAttrArray::Reset(), ScAttrArray::ScAttrArray(), ScAttrArray::SetPatternAreaImpl(), and SetPrinter().
bool ScDocument::IsActiveScenario | ( | SCTAB | nTab | ) | const |
Definition at line 880 of file documen3.cxx.
References FetchTable(), and ScTable::IsActiveScenario().
Referenced by CopyScenario(), ScDocFunc::DeleteTable(), ScGridWindow::DoScenarioMenu(), ExcEScenarioManager::ExcEScenarioManager(), ScTableSheetObj::GetOnePropertyValue(), ScTable::IsBlockEditable(), ScTable::IsSelectionEditable(), lcl_DrawScenarioFrames(), ScViewFunc::MoveTable(), ScUndoCopyTab::Redo(), ScDocShell::TransferTab(), ScUndoImportTab::Undo(), and ScXMLExport::WriteScenario().
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().
|
inline |
Definition at line 1599 of file document.hxx.
References nAdjustHeightLock.
Referenced by ScDocFunc::AdjustRowHeight(), ScXMLImport::endDocument(), ScModelObj::getPropertyValue(), ImportExcel8::Read(), ScTable::SetOptimalHeight(), ScTable::SetOptimalHeightOnly(), and ScVbaApplication::setScreenUpdating().
|
inline |
Definition at line 1416 of file document.hxx.
References bAutoCalcShellDisabled.
Referenced by XclExpXmlStream::renameTab(), ScDocShellModificator::ScDocShellModificator(), SetAutoCalc(), ScDocShellModificator::SetDocumentModified(), TrackFormulas(), and ScTabView::UpdateFormulas().
bool ScDocument::IsBlockEditable | ( | SCTAB | nTab, |
SCCOL | nStartCol, | ||
SCROW | nStartRow, | ||
SCCOL | nEndCol, | ||
SCROW | nEndRow, | ||
bool * | pOnlyNotBecauseOfMatrix = nullptr , |
||
bool | bNoMatrixAtAll = false |
||
) | const |
Definition at line 5317 of file document.cxx.
References bImportingXML, FetchTable(), SfxObjectShell::IsReadOnly(), mbChangeReadOnlyEnabled, and mpShell.
Referenced by ScCellShell::ExecuteEdit(), ScCellShell::GetCellState(), ScCellShell::GetClipState(), ScCellShell::GetState(), IsSelectionEditable(), lcl_IsEditableMatrix(), lcl_PutDataArray(), lcl_PutFormulaArray(), ScViewFunc::ModifyCellSize(), ScChangeActionIns::Reject(), ScChangeActionMove::Reject(), ScChangeTrack::SelectContent(), ScViewFunc::SelectionEditable(), and ScEditableTester::TestBlock().
bool ScDocument::IsBlockEmpty | ( | SCCOL | nStartCol, |
SCROW | nStartRow, | ||
SCCOL | nEndCol, | ||
SCROW | nEndRow, | ||
SCTAB | nTab | ||
) | const |
Definition at line 5288 of file document.cxx.
References HasTable(), and maTabs.
Referenced by ScViewFunc::AutoSum(), ScDBDocFunc::CreatePivotTable(), ScTabViewShell::DoAutoSum(), ScCellShell::ExecuteEdit(), ScImportExport::ExtText2Doc(), ScViewFunc::FillCrossDblClick(), IsPrintEmpty(), lcl_GetTextToColumnsRange(), ScDPObject::RefreshAfterLoad(), and ScDBFunc::ToggleAutoFilter().
|
inline |
Definition at line 2228 of file document.hxx.
References bCalcingAfterLoad.
Referenced by ScColumn::AttachNewFormulaCell(), and ScColumn::AttachNewFormulaCells().
|
inline |
Definition at line 1421 of file document.hxx.
References bCalculatingFormulaTree.
Referenced by CalcFormulaTree(), and TrackFormulas().
TODO: without Clipping; only paint affected cells ??!??!?
Definition at line 1317 of file documen2.cxx.
References ScRange::aEnd, ScRange::aStart, ScBigRange::aStart, ScAddress::Col(), ScRange::Contains(), eType, ScChangeAction::GetBigRange(), GetChangeTrack(), GetChangeViewSettings(), ScActionColorChanger::GetColor(), ScChangeTrack::GetFirst(), ScChangeAction::GetNext(), ScChangeAction::GetType(), ScViewUtil::IsActionShown(), ScChangeAction::IsVisible(), ScBigRange::MakeRange(), ScAddress::Row(), SC_CAT_DELETE_COLS, SC_CAT_DELETE_ROWS, SC_CAT_MOVE, ScAddress::SetCol(), ScAddress::SetRow(), ScChangeViewSettings::ShowChanges(), ScAddress::Tab(), ScBigAddress::Tab(), and ScActionColorChanger::Update().
Referenced by ScAccessibleCellBase::getBorderAttrs().
|
inline |
Definition at line 1604 of file document.hxx.
References mbChangeReadOnlyEnabled.
Referenced by ScModelObj::getPropertyValue(), and ScDocFunc::SetWidthOrHeight().
|
static |
Definition at line 209 of file documen9.cxx.
References IsChart(), and pObject.
Referenced by ScDBFunc::DoUpdateCharts(), ScChartsObj::getCount(), ScChartsObj::getElementNames(), ScChartsObj::GetObjectByIndex_Impl(), HasChartAtPoint(), IsChart(), FuDraw::KeyInput(), ScDrawView::MarkListHasChanged(), and sc::tools::ChartIterator::next().
|
inline |
Definition at line 2239 of file document.hxx.
References bChartListenerCollectionNeedsUpdate.
Referenced by ScTransferObj::InitDocShell(), and ScViewFunc::MoveTable().
|
inline |
Definition at line 1594 of file document.hxx.
References bIsClip.
Referenced by ScPostIt::Clone(), CopyAdjustRangeName(), ScDrawLayer::CopyFromClip(), ScPostIt::CreateCaption(), ScPostIt::CreateCaptionFromInitData(), ScImportExport::ExportStream(), ScModule::GetClipDoc(), InvalidateTextWidth(), LinkExternalTab(), ImportExcel8::PostDocLoad(), sc::RefUpdateContext::RefUpdateContext(), ScPostIt::RemoveCaption(), and ScFormulaCell::ScFormulaCell().
bool ScDocument::IsClipboardSource | ( | ) | const |
Definition at line 2577 of file document.cxx.
References bIsClip, ScModule::GetClipDoc(), SfxObjectShell::IsLoading(), mpShell, and mxPoolHelper.
Referenced by ScCellShell::ExecuteEdit(), ScFormulaCell::ScFormulaCell(), and UpdateReference().
|
inline |
Definition at line 1592 of file document.hxx.
References bIsClip, and bIsUndo.
Referenced by ScColumn::AttachNewFormulaCell(), ScColumn::AttachNewFormulaCells(), ScFormulaCell::Compile(), ScFormulaCell::CompileTokenArray(), CopyAdjustRangeName(), ScTable::CopyToTable(), ScFormulaCell::EndListeningTo(), InitDrawLayer(), ScConditionEntry::MakeCells(), ScFormulaCell::ScFormulaCell(), ScInterpreter::ScStyle(), StartAllListeners(), ScFormulaListener::startListening(), ScFormulaCell::StartListeningTo(), ScDBData::StartTableColumnNamesListener(), ScFormulaListener::stopListening(), ScFormulaCell::TestTabRefAbs(), ScTable::UndoToTable(), ScFormulaCell::UpdateDeleteTab(), ScFormulaCell::UpdateInsertTab(), ScFormulaCell::UpdateInsertTabAbs(), ScFormulaCell::UpdateMoveTab(), ScFormulaCell::UpdateReference(), ScHTMLExport::WriteHeader(), and ~ScDocument().
bool ScDocument::IsCutMode | ( | ) |
Definition at line 2030 of file document.cxx.
References bIsClip, GetClipParam(), and ScClipParam::mbCutMode.
Referenced by CopyAdjustRangeName(), ScCellShell::ExecuteEdit(), ScViewFunc::PasteFromClip(), ScViewFunc::PasteFromClipToMultiRanges(), ScViewFunc::PasteMultiRangesFromClip(), and ScTable::TransposeClip().
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().
|
inline |
Definition at line 1439 of file document.hxx.
References bDelayedDeletingBroadcasters.
Referenced by InsertCol(), and InsertRow().
|
inline |
Definition at line 1425 of file document.hxx.
References pDelayedFormulaGrouping.
Referenced by sc::SharedFormulaUtil::joinFormulaCells(), ScBroadcastAreaSlot::StartListeningArea(), and ScColumn::StartListeningUnshared().
|
inline |
Definition at line 2210 of file document.hxx.
References bDetectiveDirty.
bool ScDocument::IsDocEditable | ( | ) | const |
Definition at line 1899 of file documen3.cxx.
References bImportingXML, IsDocProtected(), SfxObjectShell::IsReadOnly(), mbChangeReadOnlyEnabled, and mpShell.
Referenced by ScTabControl::AcceptDrop(), ScGridWindow::AcceptPrivateDrop(), ScTabControl::AddTabClick(), ScAcceptChgDlg::AppendChanges(), ScGridWindow::DropTransferObj(), ScTabControl::ExecuteDrop(), ScTabViewShell::ExecuteTable(), ScTabViewShell::GetStateTable(), ScDocFunc::RenameTable(), ScDocFunc::SetTabBgColor(), ScDocFunc::SetTableVisible(), ScTabControl::StartRenaming(), ScTabView::UpdateLayerLocks(), and ScAcceptChgDlg::UpdateView().
bool ScDocument::IsDocProtected | ( | ) | const |
Definition at line 1894 of file documen3.cxx.
References pDocProtection.
Referenced by ScTabViewShell::Execute(), ScTabViewShell::GetState(), ScTabViewShell::GetStateTable(), IsDocEditable(), ScModelObj::isProtected(), ScPassHashHelper::needsPassHashRegen(), ScModelObj::protect(), and ScXMLExport::SetBodyAttributes().
|
inline |
Definition at line 1616 of file document.hxx.
References bIsVisible.
Referenced by ScModelObj::HandleCalculateEvents(), ScDocShell::LOKCommentNotify(), and ScTable::ScTable().
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().
bool ScDocument::IsEditActionAllowed | ( | sc::ColRowEditAction | eAction, |
SCTAB | nTab, | ||
SCCOLROW | nStart, | ||
SCCOLROW | nEnd | ||
) | const |
Definition at line 966 of file document10.cxx.
References FetchTable(), and ScTable::IsEditActionAllowed().
Referenced by ScCellShell::GetBlockState(), and ScEditableTester::TestBlockForAction().
|
inline |
Definition at line 952 of file document.hxx.
References bIsEmbedded.
Referenced by ScTabViewShell::Construct(), ScPrintFunc::DrawToDev(), ScPrintFunc::PrintArea(), ScViewFunctionSet::SetCursorAtCell(), and ScGridWindow::TestMouse().
|
inline |
Definition at line 583 of file document.hxx.
References mbEmbedFonts.
Referenced by ScDocumentConfiguration::getPropertyValue().
|
inline |
Definition at line 586 of file document.hxx.
References mbEmbedFontScriptAsian.
Referenced by ScDocumentConfiguration::getPropertyValue().
|
inline |
Definition at line 587 of file document.hxx.
References mbEmbedFontScriptComplex.
Referenced by ScDocumentConfiguration::getPropertyValue().
|
inline |
Definition at line 585 of file document.hxx.
References mbEmbedFontScriptLatin.
Referenced by ScDocumentConfiguration::getPropertyValue().
|
inline |
Definition at line 584 of file document.hxx.
References mbEmbedUsedFontsOnly.
Referenced by ScDocumentConfiguration::getPropertyValue().
|
static |
Definition at line 1300 of file documen3.cxx.
References SvxSearchItem::GetCellType(), SvxSearchItem::GetPattern(), SvxSearchItem::GetRegExp(), SvxSearchItem::GetSearchOptions(), and i18nutil::SearchOptions2::searchString.
Referenced by ScTable::SearchAndReplace(), and ScViewFunc::SearchAndReplace().
bool ScDocument::IsEmptyData | ( | SCCOL | nStartCol, |
SCROW | nStartRow, | ||
SCCOL | nEndCol, | ||
SCROW | nEndRow, | ||
SCTAB | nTab | ||
) | const |
Definition at line 6060 of file document.cxx.
References FetchTable().
Referenced by ScViewFunc::FillCrossDblClick(), ScHTMLExport::FillGraphList(), and ScDocFunc::MergeCells().
bool ScDocument::IsEnabledDelayStartListeningFormulaCells | ( | ScColumn * | column | ) | const |
Definition at line 425 of file document10.cxx.
References pDelayedStartListeningFormulaCells.
|
inline |
Definition at line 1602 of file document.hxx.
References mbExecuteLinkEnabled.
Referenced by ScModelObj::getPropertyValue(), ScExternalRefManager::getSrcDocument(), ScDocFunc::InsertAreaLink(), and ScTableSheetObj::link().
|
inline |
Definition at line 2457 of file document.hxx.
References bExpandRefs.
Referenced by ScTokenArray::AdjustReferenceInName(), ScRefUpdate::Update(), UpdateBroadcastAreas(), ScColumn::UpdateReference(), and ScChangeTrack::UpdateReference().
|
inline |
Definition at line 2399 of file document.hxx.
References mbFinalTrackFormulas.
Referenced by TrackFormulas().
|
inline |
Definition at line 1419 of file document.hxx.
References bForcedFormulaPending.
|
inline |
Definition at line 1597 of file document.hxx.
References bIsFunctionAccess.
Referenced by ScInterpreter::ScWebservice().
Definition at line 5717 of file document.cxx.
References ATTR_MERGE_FLAG(), GetAttr(), and ScMergeFlagAttr::IsHorOverlapped().
Referenced by ScTabView::ExpandBlock(), ExtendOverlapped(), ScTabView::SkipCursorHorizontal(), ScTabView::SkipCursorVertical(), and SkipOverlapped().
|
inline |
Definition at line 2207 of file document.hxx.
References mbIdleEnabled.
Referenced by CalcFormulaTree(), ScProgress::CreateInterpretProgress(), ScViewFunc::DoSheetConversion(), ScOutputData::FindChanged(), ScSpellDialogChildWindow::Init(), XclExpXmlStream::renameTab(), Reorder(), ScInterpreter::ScDde(), ScDocShellModificator::ScDocShellModificator(), ScInterpreter::ScWebservice(), and Sort().
|
inline |
Definition at line 2227 of file document.hxx.
References bImportingXML.
Referenced by ScDBDocFunc::AddDBRange(), ScDocFunc::AdjustRowHeight(), ScDocFunc::ApplyAttributes(), ScDocFunc::ApplyStyle(), ScConditionEntry::Compile(), ScRangeData::CompileRangeData(), ScDocFunc::EnterMatrix(), ScStyleFamilyObj::insertByName(), ScDocFunc::InsertTable(), InvalidateTextWidth(), ScCompiler::NextNewToken(), ScDocFunc::PutData(), ScRangeData::ScRangeData(), ScStyleObj::setAllPropertiesToDefault(), ScFormulaCell::SetDirty(), ScDocShellModificator::SetDocumentModified(), ScStyleObj::setName(), ScDocFunc::SetNewRangeNames(), ScTableSheetObj::SetOnePropertyValue(), ScDrawLayer::SetPageSize(), ScStyleObj::setParentStyle(), ScDocumentConfiguration::setPropertyValue(), ScModelObj::setPropertyValue(), ScTableRowsObj::setPropertyValue(), ScStyleObj::setPropertyValue_Impl(), ScConditionEntry::SetSrcString(), ScDocFunc::SetTableVisible(), ScXMLImport::startDocument(), ScChartListenerCollection::UpdateDirtyCharts(), and ScTable::UpdatePageBreaks().
|
inline |
Definition at line 1045 of file document.hxx.
References nInDdeLinkUpdate.
Referenced by ScFormulaCell::Interpret(), and IsInLinkUpdate().
|
inline |
Definition at line 2632 of file document.hxx.
References mbDocShellRecalc.
Referenced by ScFormulaCell::InterpretFormulaGroupThreading(), and ScDocShellRecalcGuard::ScDocShellRecalcGuard().
|
inline |
Definition at line 2455 of file document.hxx.
References bInDtorClear.
Referenced by ScChangeTrack::ConfigurationChanged(), ScFormulaCell::Notify(), ScLookupCache::Notify(), ScSortedRangeCache::Notify(), ScPostIt::RemoveCaption(), and ScTable::~ScTable().
bool ScDocument::IsInExternalReferenceMarking | ( | ) | const |
Definition at line 634 of file documen3.cxx.
References pExternalRefMgr.
Referenced by ScTableValidationObj::ScTableValidationObj().
|
inline |
Definition at line 516 of file formulacell.hxx.
References ScFormulaCell::GetPreviousTrack(), and pFormulaTrack.
Referenced by ScFormulaCell::Notify().
|
inline |
Definition at line 515 of file formulacell.hxx.
References ScFormulaCell::GetPrevious(), and pFormulaTree.
Referenced by ScFormulaCell::Compile(), ScFormulaCell::CompileTokenArray(), ScFormulaCell::CompileXML(), ScFormulaCell::Notify(), ScFormulaCell::SetDirty(), and ScFormulaCell::SetTableOpDirty().
|
inline |
Definition at line 2412 of file document.hxx.
References nInterpretLevel.
Referenced by ScCellShell::GetState(), ScCellFormat::GetString(), ScGridWindow::Paint(), SetAutoCalc(), TrackFormulas(), and ScChartListener::Update().
|
inline |
Definition at line 2439 of file document.hxx.
References nInterpreterTableOpLevel.
Referenced by ScFormulaCell::InterpretFormulaGroupOpenCL(), and ScFormulaCell::IsDirtyOrInTableOpDirty().
|
inline |
Definition at line 2635 of file document.hxx.
References mbLayoutStrings.
Referenced by ScFormulaCell::InterpretTail(), and ScOutputData::LayoutStrings().
bool ScDocument::IsInLinkUpdate | ( | ) | const |
Definition at line 784 of file documen8.cxx.
References bInLinkUpdate, and IsInDdeLinkUpdate().
Referenced by ScValidationData::DoMacro(), ScValidationData::DoScript(), and IdleCalcTextWidth().
|
inline |
Definition at line 2224 of file document.hxx.
References bInsertingFromOtherDoc.
Referenced by ScColumn::AttachNewFormulaCell(), ScColumn::AttachNewFormulaCells(), ScFormulaCell::CompileTokenArray(), CopyBlockFromClip(), ScFormulaCell::SetDirty(), and ScFormulaCell::UpdateReferenceOnMove().
bool ScDocument::IsInVBAMode | ( | ) | const |
Definition at line 6477 of file document.cxx.
References SfxObjectShell::GetBasicContainer(), and mpShell.
Referenced by ScDocFunc::DeleteTable(), ScViewFunc::DeleteTables(), ScXMLExport::GetConfigurationSettings(), ScDocFunc::InsertTable(), ScServiceProvider::MakeInstance(), ScTabView::MarkRange(), ScInterpreter::ScMatch(), and TransferTab().
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().
bool ScDocument::IsLinked | ( | SCTAB | nTab | ) | const |
Definition at line 486 of file documen3.cxx.
References FetchTable(), and ScTable::IsLinked().
Referenced by ScTabViewShell::Construct(), ScDocFunc::DeleteTable(), ScSheetLinksObj::getCount(), ScSheetLinksObj::getElementNames(), ScSheetLinksObj::GetObjectByIndex_Impl(), ScSheetLinksObj::GetObjectByName_Impl(), ScSheetLinksObj::hasByName(), HasLink(), ScSheetLinkObj::setFileName(), and ScTableLink::~ScTableLink().
Definition at line 4523 of file document.cxx.
References FetchTable().
bool ScDocument::IsMerged | ( | const ScAddress & | rPos | ) | const |
Definition at line 34 of file document10.cxx.
References ScAddress::Col(), FetchTable(), ScTable::IsMerged(), ScAddress::Row(), and ScAddress::Tab().
Referenced by CopyOneCellFromClip().
bool ScDocument::IsNegativePage | ( | SCTAB | nTab | ) | const |
Definition at line 982 of file document.cxx.
References IsLayoutRTL().
Referenced by ScTabViewShell::ActivateObject(), ScDrawView::calculateGridOffsetForB2DRange(), ScDrawView::calculateGridOffsetForSdrObject(), ScTabViewShell::ConnectObject(), ScTabViewShell::Construct(), ScGridWindow::CreateAnchorHandle(), ScPostIt::CreateCaptionFromInitData(), ScNoteUtil::CreateNoteFromObjectData(), ScXMLImport::endDocument(), FuPoor::ForceScroll(), FuInsertOLE::FuInsertOLE(), ScDrawLayer::GetCellAnchorFromPosition(), ScDrawLayer::GetCellRect(), ScGridWindow::GetDrawMapMode(), ScDetectiveFunc::GetDrawPos(), ScTabView::GetInsertPos(), GetMMRect(), ScDrawLayer::GetPrintArea(), ScShapeObj::getPropertyValue(), GetRange(), ScDrawLayer::HasObjectsInRows(), ScDetectiveFunc::InsertArrow(), ScDetectiveFunc::InsertToOtherTab(), ScTabViewShell::InsertURLButton(), lcl_GetAnchorCell(), lcl_GetRelativePos(), lcl_InsertGraphic(), ScTabView::MakeVisible(), FuSelection::MouseButtonDown(), FuSelection::MouseButtonUp(), ScDrawLayer::MoveArea(), ScDrawLayer::MoveCells(), ScViewFunc::PasteDataFormat(), ScViewFunc::PasteDraw(), ScModelObj::postMouseEvent(), ScTabViewShell::QueryObjAreaPixel(), ScDrawLayer::SetCellAnchoredFromPosition(), ScDrawLayer::SetPageSize(), ScShapeObj::setPropertyValue(), ScDrawView::SyncForGrid(), ScDrawLayer::UpdateCellAnchorFromPositionEnd(), ScXMLExport::WriteShapes(), and ScXMLExport::WriteTableShapes().
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().
bool ScDocument::IsPendingRowHeights | ( | SCTAB | nTab | ) | const |
bool ScDocument::IsPrintEmpty | ( | SCCOL | nStartCol, |
SCROW | nStartRow, | ||
SCCOL | nEndCol, | ||
SCROW | nEndRow, | ||
SCTAB | nTab, | ||
bool | bLeftIsEmpty = false , |
||
ScRange * | pLastRange = nullptr , |
||
tools::Rectangle * | pLastMM = nullptr |
||
) | const |
Definition at line 423 of file documen9.cxx.
References ScRange::aEnd, ScRange::aStart, o3tl::convert(), ExtendMerge(), ExtendPrintArea(), GetColWidth(), GetMMRect(), GetPrinter(), HasAnyDraw(), HasAttrib(), i, IsBlockEmpty(), Lines, o3tl::mm100, ScAddress::Row(), tools::Rectangle::SetLeft(), OutputDevice::SetMapMode(), tools::Rectangle::SetRight(), ScAddress::Tab(), and o3tl::twip.
Referenced by sc::PrintPageRanges::calculate(), and lcl_SetHidden().
bool ScDocument::IsPrintEntireSheet | ( | SCTAB | nTab | ) | const |
Returns true, if the specified sheet is always printed.
Definition at line 6255 of file document.cxx.
References FetchTable(), and ScTable::IsPrintEntireSheet().
Referenced by ScTableSheetObj::GetOnePropertyValue(), ScTabViewShell::GetState(), ScPrintAreasDlg::Impl_Reset(), ScPrintFunc::InitParam(), ScGridWindow::PagebreakMove(), ScTableSheetObj::SetOnePropertyValue(), TransferTab(), and ScXMLExport::WriteTable().
bool ScDocument::IsScenario | ( | SCTAB | nTab | ) | const |
Definition at line 432 of file documen3.cxx.
References FetchTable(), and ScTable::IsScenario().
Referenced by ScTableSheetObj::addRanges(), ScTableSheetObj::apply(), ScUndoUseScenario::CanRepeat(), CompareDocument(), ScDocFunc::DeleteCells(), ScDocFunc::DeleteTable(), ScGridWindow::DoScenarioMenu(), ScGridWindow::DrawContent(), ScGridWindow::DropTransferObj(), ExcEScenarioManager::ExcEScenarioManager(), ScCellShell::Execute(), ScTabViewShell::ExecuteTable(), ScScenariosObj::getCount(), ScTableSheetObj::getIsScenario(), ScTableSheetObj::GetOnePropertyValue(), ScCellShell::GetState(), ScGridWindow::HasScenarioButton(), ScDocFunc::InsertCells(), ScTable::IsBlockEditable(), ScAccessibleCell::IsDropdown(), ScTable::IsSelectionEditable(), lcl_DrawScenarioFrames(), lcl_TestScenarioRedliningDrop(), ScDocFunc::MoveBlock(), ScViewFunc::MoveTable(), ScUndoCopyTab::Redo(), ScTabControl::ScTabControl(), ScNavigatorDlg::SetCurrentTableStr(), ScTableSheetObj::SetOnePropertyValue(), ScDocShell::TransferTab(), ScUndoImportTab::Undo(), ScTabControl::UpdateStatus(), ScXMLExport::WriteScenario(), and XclExpTabInfo::XclExpTabInfo().
bool ScDocument::IsSelectionEditable | ( | const ScMarkData & | rMark, |
bool * | pOnlyNotBecauseOfMatrix = nullptr |
||
) | const |
Definition at line 5340 of file document.cxx.
References ScRange::aEnd, ScRange::aStart, bImportingXML, ScAddress::Col(), ScMarkData::GetMarkArea(), GetTableCount(), IsBlockEditable(), ScMarkData::IsMarked(), ScMarkData::IsMultiMarked(), SfxObjectShell::IsReadOnly(), IsSelectionEditable(), maTabs, mbChangeReadOnlyEnabled, mpShell, and ScAddress::Row().
Referenced by ScDocFunc::ApplyAttributes(), ScDocFunc::ApplyStyle(), ScCellShell::GetState(), IsSelectionEditable(), ScViewFunc::SelectionEditable(), and ScEditableTester::TestSelection().
bool ScDocument::IsStreamValid | ( | SCTAB | nTab | ) | const |
Definition at line 897 of file document.cxx.
References FetchTable().
Referenced by ScXMLExport::collectAutoStyles(), ScXMLExport::ExportContent_(), ScFormulaCell::InterpretTail(), and lcl_HasValidStream().
|
inline |
Definition at line 990 of file document.hxx.
References mbStreamValidLocked.
Referenced by ScTable::SetStreamValid().
bool ScDocument::IsStyleSheetUsed | ( | const ScStyleSheet & | rStyle | ) | const |
Definition at line 4938 of file document.cxx.
References bStyleSheetUsageInvalid, SfxStyleSheetIterator::First(), ScStyleSheet::GetUsage(), maTabs, mxPoolHelper, SfxStyleSheetIterator::Next(), ScStyleSheet::NOTUSED, ScStyleSheet::SetUsage(), ScStyleSheet::UNKNOWN, and ScStyleSheet::USED.
Referenced by ScStyleSheet::IsUsed().
bool ScDocument::IsTabProtected | ( | SCTAB | nTab | ) | const |
Definition at line 1905 of file documen3.cxx.
References FetchTable().
Referenced by ScDrawView::Construct(), ScDBDocFunc::DoImport(), ScOutputData::DrawBackground(), ScCellShell::Execute(), ScTabViewShell::Execute(), ScCellShell::ExecuteEdit(), ScTabViewShell::ExecuteTable(), FillInfo(), ScTabViewShell::GetDrawInsState(), ScColumn::GetNextSpellingCell(), ScCellShell::GetState(), ScTabViewShell::GetState(), ScTabViewShell::GetStateTable(), ScTabViewShell::GetStyleState(), sc::DocFuncUtil::hasProtectedTab(), ScTabViewShell::InsertURLButton(), ScTable::IsBlockEditable(), ScAccessibleSpreadsheet::IsEditable(), FuSelection::IsNoteCaptionClicked(), ScTableSheetObj::isProtected(), ScTable::IsSelectionEditable(), lcl_UnLockComment(), ScTableSheetObj::protect(), ScUndoCopyTab::Redo(), ScDocFunc::ReplaceConditionalFormat(), ScOutputData::ScOutputData(), ScTabControl::ScTabControl(), ScDrawView::SelectCurrentViewObject(), ScDrawView::SelectObject(), ScDocFunc::SetConditionalFormatList(), ScViewFunctionSet::SetCursorAtCell(), ScDocFunc::SetTabBgColor(), ScDocShell::TransferTab(), ScUndoImportTab::Undo(), ScTabViewShell::UpdateInputHandler(), ScTabView::UpdateLayerLocks(), and ScTabControl::UpdateStatus().
|
inline |
Definition at line 630 of file document.hxx.
References ScGlobal::bThreadedGroupCalcInProgress.
Referenced by CalculateInColumnInThread(), ClearLookupCaches(), DecInterpretLevel(), DecMacroInterpretLevel(), DiscardFormulaGroupContext(), GetFormatTable(), GetNonThreadedContext(), ScInterpreterContext::GetNumberFormatType(), GetRecursionHelper(), GetSortedRangeCache(), GetTable(), GetThreadedContext(), HandleStuffAfterParallelCalculation(), IncInterpretLevel(), IncMacroInterpretLevel(), ScFormulaCell::InterpretFormulaGroupThreading(), ScFormulaCell::InterpretTail(), ScFormulaCell::MaybeInterpret(), MergeContextBackIntoNonThreadedContext(), RemoveLookupCache(), RemoveSortedRangeCache(), and SetNumberFormat().
|
inline |
Definition at line 2397 of file document.hxx.
References mbTrackFormulasPending.
Referenced by ScBroadcastAreaSlotMachine::LeaveBulkBroadcast().
|
inline |
Definition at line 1593 of file document.hxx.
References bIsUndo.
Referenced by ScTable::CopyToTable(), ScPostIt::CreateCaption(), ScPostIt::CreateCaptionFromInitData(), ScPostIt::RemoveCaption(), and ScFormulaCell::ScFormulaCell().
|
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().
|
inline |
Definition at line 1606 of file document.hxx.
References mbUserInteractionEnabled.
Referenced by oox::xls::WorkbookFragment::recalcFormulaCells().
bool ScDocument::IsValidAsianCompression | ( | ) | const |
Definition at line 618 of file documen9.cxx.
References nAsianCompression.
bool ScDocument::IsValidAsianKerning | ( | ) | const |
Definition at line 640 of file documen9.cxx.
References nAsianKerning, and SC_ASIANKERNING_INVALID.
bool ScDocument::IsVerOverlapped | ( | SCCOL | nCol, |
SCROW | nRow, | ||
SCTAB | nTab, | ||
SCROW * | nStartRow = nullptr , |
||
SCROW * | nEndRow = nullptr |
||
) | const |
Definition at line 5729 of file document.cxx.
References ATTR_MERGE_FLAG(), GetAttr(), and ScMergeFlagAttr::IsVerOverlapped().
Referenced by ScTabView::ExpandBlock(), ExtendOverlapped(), ScTabView::SkipCursorHorizontal(), ScTabView::SkipCursorVertical(), and SkipOverlapped().
bool ScDocument::IsVisible | ( | SCTAB | nTab | ) | const |
Definition at line 890 of file document.cxx.
References FetchTable().
Referenced by ScDocFunc::DeleteTable(), ScViewFunc::DeleteTables(), ScGridWindow::DropTransferObj(), ScTabViewShell::Execute(), ScTabViewShell::ExecuteTable(), ScTableSheetObj::GetOnePropertyValue(), ScModelObj::getPartInfo(), ScTabControl::GetPrivatDropPos(), ScTabViewShell::GetStateTable(), ScViewFunc::HideTable(), IMPL_LINK(), ScPrintFunc::InitParam(), ScExportBase::IsEmptyTable(), lcl_GetVisibleTabBefore(), ScViewFunc::MoveTable(), ScUndoCopyTab::Redo(), ScTabControl::ScTabControl(), ScViewData::ScViewData(), ScTabView::SelectNextTab(), ScDocFunc::SetTableVisible(), ScTabView::SetTabNo(), ScDocShell::TransferTab(), ScUndoImportTab::Undo(), ScTabControl::UpdateStatus(), ScHTMLExport::WriteTables(), and XclExpTabInfo::XclExpTabInfo().
void ScDocument::KeyInput | ( | ) |
Definition at line 1175 of file documen8.cxx.
References apTemporaryChartLock, and pChartListenerCollection.
Referenced by ScTabViewShell::TabKeyInput().
Definition at line 4509 of file document.cxx.
References FetchTable().
Referenced by ScViewUtil::FitToUnfilteredRows().
Definition at line 4461 of file document.cxx.
References FetchTable().
Referenced by ScTabView::PaintRangeFinderEntry(), ScViewFunctionSet::SetCursorAtPoint(), and ScExportBase::TrimDataArea().
void ScDocument::LimitChartArea | ( | SCTAB | nTab, |
SCCOL & | rStartCol, | ||
SCROW & | rStartRow, | ||
SCCOL & | rEndCol, | ||
SCROW & | rEndRow | ||
) |
Definition at line 1091 of file document.cxx.
References FetchTable().
void ScDocument::LimitChartIfAll | ( | ScRangeListRef & | rRangeList | ) |
Definition at line 1098 of file document.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), FetchTable(), i, tools::SvRef< typename T >::is(), MaxCol(), MaxRow(), nCount, ScAddress::Row(), ScAddress::SetCol(), ScAddress::SetRow(), and ScAddress::Tab().
|
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.
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. |
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().
bool ScDocument::LinkExternalTab | ( | SCTAB & | nTab, |
const OUString & | aDocTab, | ||
const OUString & | aFileName, | ||
const OUString & | aTabName | ||
) |
Definition at line 566 of file documen3.cxx.
References sfx2::ClientFile, ScDocumentLoader::GetDocument(), GetLinkManager(), GetTable(), GetTableCount(), GetViewBindings(), HasLink(), sfx2::LinkManager::InsertFileLink(), InsertTab(), SfxBindings::Invalidate(), IsClipboard(), ScDocumentLoader::IsError(), mpShell, pExtDocOptions, pLink, SC_TAB_APPEND, SetLink(), TransferTab(), and VALUE.
Referenced by ExtSheetBuffer::GetScTabIndex().
|
private |
Definition at line 747 of file documen8.cxx.
References bAutoCalc, GetDocLinkManager(), sc::DocumentLinkManager::getLinkManager(), SvStream::GetStreamCharSet(), i, sfx2::LinkManager::InsertDDELink(), nCount, pLink, SvStream::ReadUInt16(), SvStream::remainingSize(), and SAL_WARN.
Referenced by CopyDdeLinks().
|
inline |
Definition at line 1600 of file document.hxx.
References nAdjustHeightLock.
Referenced by ScXMLImport::endDocument(), oox::xls::WorkbookGlobals::initialize(), ScExternalRefManager::loadSrcDocument(), ScModelObj::setPropertyValue(), and ScVbaApplication::setScreenUpdating().
void ScDocument::LockStreamValid | ( | bool | bLock | ) |
Definition at line 910 of file document.cxx.
References mbStreamValidLocked.
Referenced by FuText::StopEditMode().
void ScDocument::LockTable | ( | SCTAB | nTab | ) |
Definition at line 5297 of file document.cxx.
References FetchTable().
Referenced by ScValidationData::DoMacro(), ScValidationData::DoScript(), and ScInterpreter::ScMacro().
void ScDocument::MakeTable | ( | SCTAB | nTab, |
bool | _bNeedsNameCheck = true |
||
) |
Definition at line 171 of file document.cxx.
References bLoadingMedium, CreateValidTabName(), ScDefaultsOptions::GetInitTabPrefix(), GetTableCount(), HasTable(), maTabs, SC_MOD, ScTable, and ValidTab().
Referenced by ImportExcel8::Boundsheet(), ImportExcel::Boundsheet(), ScFunctionAccess::callFunction(), ImportLotus::Columnwidth(), ScTabViewShell::Construct(), ImportExcel::NewTable(), OP_SheetName123(), XclImpPivotCache::ReadPivotCacheStream(), ScTabView::SetTabNo(), and TestImportXLS().
void ScDocument::MarkScenario | ( | SCTAB | nSrcTab, |
SCTAB | nDestTab, | ||
ScMarkData & | rDestMark, | ||
bool | bResetMark = true , |
||
ScScenarioFlags | nNeededBits = ScScenarioFlags::NONE |
||
) | const |
Definition at line 854 of file documen3.cxx.
References FetchTable(), ScMarkData::ResetMark(), and ScMarkData::SetAreaTab().
Referenced by ScGridWindow::HasScenarioButton(), ScAccessibleCell::IsDropdown(), and lcl_DrawScenarioFrames().
void ScDocument::MarkUsedExternalReferences | ( | ) |
Definition at line 639 of file documen3.cxx.
References pExternalRefMgr.
Referenced by ScFormulaCell::MarkUsedExternalReferences(), and ScConditionEntry::MarkUsedExternalReferences().
bool ScDocument::MarkUsedExternalReferences | ( | const ScTokenArray & | rArr, |
const ScAddress & | rPos | ||
) |
Definition at line 485 of file documen4.cxx.
References ScRangeName::findByIndex(), formula::FormulaTokenArrayPlainIterator::First(), ScRangeData::GetCode(), GetExternalRefManager(), formula::FormulaTokenArray::GetLen(), formula::FormulaTokenArrayPlainIterator::GetNextReferenceOrName(), GetRangeName(), formula::FormulaTokenArrayPlainIterator::Next(), svIndex, and t.
|
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().
|
inline |
Definition at line 897 of file document.hxx.
References mxSheetLimits.
|
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().
|
inline |
Definition at line 896 of file document.hxx.
References mxSheetLimits.
void ScDocument::MergeContextBackIntoNonThreadedContext | ( | ScInterpreterContext & | threadedContext, |
int | threadNumber | ||
) |
Definition at line 6915 of file document.cxx.
References IsThreadedGroupCalcInProgress(), ScInterpreterContext::maDelayedSetNumberFormat, and maInterpreterContext.
Referenced by ScFormulaCell::InterpretFormulaGroupThreading().
|
private |
Definition at line 2548 of file document.cxx.
References CORE, SvNumberFormatter::MergeFormatter(), mxPoolHelper, and pFormatExchangeList.
Referenced by ScDocument::NumFmtMergeHandler::NumFmtMergeHandler().
void ScDocument::MixDocument | ( | const ScRange & | rRange, |
ScPasteFunc | nFunction, | ||
bool | bSkipEmpty, | ||
ScDocument & | rSrcDoc | ||
) |
Definition at line 3237 of file document.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), FetchTable(), GetTableCount(), i, ScTable::MixData(), ScAddress::Row(), and ScAddress::Tab().
Referenced by ScViewFunc::PasteFromClip(), ScViewFunc::PasteFromClipToMultiRanges(), and ScViewFunc::PasteMultiRangesFromClip().
void ScDocument::ModifyStyleSheet | ( | SfxStyleSheetBase & | rPageStyle, |
const SfxItemSet & | rChanges | ||
) |
Definition at line 210 of file documen8.cxx.
References ATTR_LANGUAGE_FORMAT(), ATTR_PAGE_SCALE(), ATTR_PAGE_SCALETOPAGES(), ATTR_PATTERN_END(), ATTR_PATTERN_START(), ATTR_VALUE_FORMAT(), ATTR_WRITINGDIR(), ScGlobal::CheckWidthInvalidate(), SfxItemSet::ClearItem(), ScChartHelper::DoUpdateAllCharts(), SfxItemSet::Get(), SvNumberFormatter::GetEntry(), SfxStyleSheetBase::GetFamily(), GetFormatTable(), SfxStyleSheetBase::GetItemSet(), SfxItemSet::GetItemState(), SvNumberformat::GetLanguage(), SfxStyleSheetBase::GetName(), InvalidateTextWidth(), SvtCTLOptions::IsCTLFontEnabled(), LANGUAGE_DONTKNOW, maTabs, MAXTAB, SfxItemSet::Put(), and rSet.
Referenced by ScUndoModifyStyle::DoChange(), and ScTabViewShell::ExecStyle().
bool ScDocument::MoveTab | ( | SCTAB | nOldPos, |
SCTAB | nNewPos, | ||
ScProgress * | pProgress = nullptr |
||
) |
Definition at line 733 of file documen2.cxx.
References GetTableCount(), i, maTabs, MaxCol(), MaxRow(), mpDrawLayer, pDBCollection, pDetOpList, pDPCollection, pRangeName, pUnoBroadcaster, pValidationList, SC_TAB_APPEND, SetAllFormulasDirty(), SetNoListening(), StartAllListeners(), UpdateChartRef(), UpdateRefAreaLinks(), URM_REORDER, ValidTab(), xColNameRanges, and xRowNameRanges.
Referenced by ScUndoMoveTab::DoChange().
bool ScDocument::NeedPageResetAfterTab | ( | SCTAB | nTab | ) | const |
Definition at line 6340 of file document.cxx.
References ATTR_PAGE_FIRSTPAGENO(), SfxItemSet::Get(), SfxStyleSheetBase::GetItemSet(), GetPageStyle(), GetTableCount(), maTabs, mxPoolHelper, and rSet.
Referenced by ScPrintFuncCache::GetDisplayStart(), lcl_GetDisplayStart(), and XclExpPageSettings::XclExpPageSettings().
void ScDocument::PageStyleModified | ( | SCTAB | nTab, |
const OUString & | rNewName | ||
) |
Definition at line 6164 of file document.cxx.
References FetchTable().
|
inline |
Definition at line 2527 of file document.hxx.
References bPastingDrawFromOtherDoc.
Referenced by ScChart2DataProvider::getPropertyValue(), sc::PivotTableDataProvider::getPropertyValue(), and UpdateChartListenerCollection().
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().
void ScDocument::PrepareQuery | ( | SCTAB | nTab, |
ScQueryParam & | rQueryParam | ||
) |
Definition at line 1458 of file documen3.cxx.
References FetchTable().
Referenced by ScXMLDatabaseRangeContext::ConvertToDBData().
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().
void ScDocument::PreprocessDBDataUpdate | ( | ) |
Definition at line 307 of file document10.cxx.
Referenced by ScDBDocFunc::AddDBRange(), ScDBDocFunc::DeleteDBRange(), ScDBDocFunc::ModifyAllDBData(), ScUndoDBData::Redo(), ScDBDocFunc::RenameDBRange(), and ScUndoDBData::Undo().
void ScDocument::PreprocessRangeNameUpdate | ( | ) |
Definition at line 295 of file document10.cxx.
Referenced by ScUndoRangeNames::DoChange(), ScViewFunc::InsertName(), ScNamedRangesObj::lock(), and ScDocFunc::SetNewRangeNames().
void ScDocument::PutInFormulaTree | ( | ScFormulaCell * | pCell | ) |
Definition at line 265 of file documen7.cxx.
References CORE, ScFormulaCell::GetCode(), formula::FormulaTokenArray::GetCodeLen(), nFormulaCodeInTree, pEOFormulaTree, pFormulaTree, RemoveFromFormulaTree(), ScFormulaCell::SetNext(), and ScFormulaCell::SetPrevious().
Referenced by ScMacroManager::BroadcastModuleUpdate(), ScFormulaCell::Compile(), ScFormulaCell::CompileTokenArray(), ScFormulaCell::CompileXML(), ScFormulaCell::HandleStuffAfterParallelCalculation(), ScFormulaCell::InterpretTail(), ScFormulaCell::SetDirtyAfterLoad(), ScDocFunc::SetFormulaCell(), ScDocFunc::SetFormulaCells(), and TrackFormulas().
SCSIZE ScDocument::Query | ( | SCTAB | nTab, |
const ScQueryParam & | rQueryParam, | ||
bool | bKeepSub | ||
) |
Definition at line 1468 of file documen3.cxx.
References FetchTable().
Referenced by ScDBDocFunc::Query().
Definition at line 1088 of file document10.cxx.
References FetchTable(), and ScTable::QueryColumnsWithFormulaCells().
bool ScDocument::RefreshAutoFilter | ( | SCCOL | nStartCol, |
SCROW | nStartRow, | ||
SCCOL | nEndCol, | ||
SCROW | nEndRow, | ||
SCTAB | nTab | ||
) |
Definition at line 5660 of file document.cxx.
References ApplyFlagsTab(), Auto, FetchTable(), pData, pDBCollection, and RemoveFlagsTab().
Referenced by ScDocFunc::DeleteCells(), ScUndoPaste::DoChange(), ScUndoDataForm::DoChange(), ExtendMerge(), Fill(), ScDocFunc::InsertCells(), ScDocFunc::MoveBlock(), ScViewFunc::PasteFromClip(), ScUndoDeleteCells::Redo(), ScUndoDragDrop::Redo(), and ScUndoDeleteCells::Undo().
void ScDocument::RefreshDirtyTableColumnNames | ( | ) |
Definition at line 354 of file documen3.cxx.
References pDBCollection.
void ScDocument::RegroupFormulaCells | ( | const ScRange & | range | ) |
Definition at line 373 of file document10.cxx.
References ScRange::aEnd, ScRange::aStart, col, ScAddress::Col(), RegroupFormulaCells(), and ScAddress::Tab().
Definition at line 364 of file document10.cxx.
References FetchTable(), and ScTable::RegroupFormulaCells().
Referenced by DelayFormulaGrouping(), oox::xls::PivotTableBuffer::finalizeImport(), RegroupFormulaCells(), and ScTable::SortReorderByRowRefUpdate().
Definition at line 6689 of file document.cxx.
References ScAddress::Col(), FetchTable(), ScAddress::Row(), and ScAddress::Tab().
Referenced by ScDrawView::DeleteMarked(), ScUndoReplaceNote::DoRemoveNote(), ScDocFunc::ImportNote(), ScDocFunc::ReplaceNote(), FuText::StopEditMode(), and ScTable::TransposeColNotes().
Definition at line 4402 of file document.cxx.
References FetchTable(), and ValidCol().
Referenced by ScDocFunc::RemovePageBreak().
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().
void ScDocument::RemoveEditTextCharAttribs | ( | const ScAddress & | rPos, |
const ScPatternAttr & | rAttr | ||
) |
Definition at line 3620 of file document.cxx.
References ScAddress::Col(), FetchTable(), ScAddress::Row(), and ScAddress::Tab().
Referenced by ScViewFunc::ApplySelectionPattern().
bool ScDocument::RemoveFlagsTab | ( | SCCOL | nStartCol, |
SCROW | nStartRow, | ||
SCCOL | nEndCol, | ||
SCROW | nEndRow, | ||
SCTAB | nTab, | ||
ScMF | nFlags | ||
) |
Definition at line 4980 of file document.cxx.
References FetchTable().
Referenced by ScViewFunc::DeleteMulti(), ScUndoDeleteMulti::DoChange(), ScUndoAutoFilter::DoChange(), ScDPCollection::FreeTable(), ScViewData::GetPosFromPixel(), ScDPObject::Output(), ScUndoRemoveMerge::Redo(), RefreshAutoFilter(), RemoveMerge(), ScDBDocFunc::RemovePivotTable(), ScVbaWorksheet::setAutoFilterMode(), SetDBCollection(), ScDatabaseRangeObj::setPropertyValue(), and ScDocFunc::UnmergeCells().
void ScDocument::RemoveFromFormulaTrack | ( | ScFormulaCell * | pCell | ) |
Definition at line 469 of file documen7.cxx.
References ScFormulaCell::GetNextTrack(), ScFormulaCell::GetPreviousTrack(), nFormulaTrackCount, pEOFormulaTrack, pFormulaTrack, ScFormulaCell::SetNextTrack(), and ScFormulaCell::SetPreviousTrack().
Referenced by AppendToFormulaTrack(), TrackFormulas(), and ScFormulaCell::~ScFormulaCell().
void ScDocument::RemoveFromFormulaTree | ( | ScFormulaCell * | pCell | ) |
Definition at line 281 of file documen7.cxx.
References CORE, ScFormulaCell::GetCode(), formula::FormulaTokenArray::GetCodeLen(), ScFormulaCell::GetNext(), ScFormulaCell::GetPrevious(), nFormulaCodeInTree, pEOFormulaTree, pFormulaTree, ScFormulaCell::SetNext(), and ScFormulaCell::SetPrevious().
Referenced by AppendToFormulaTrack(), ClearFormulaTree(), ScFormulaCell::Compile(), ScFormulaCell::CompileTokenArray(), ScFormulaCell::CompileXML(), ScFormulaCell::HandleStuffAfterParallelCalculation(), ScFormulaCell::InterpretTail(), PutInFormulaTree(), and ScFormulaCell::~ScFormulaCell().
void ScDocument::RemoveLookupCache | ( | ScLookupCache & | rCache | ) |
Only ScLookupCache dtor uses RemoveLookupCache(), do not use elsewhere!
Definition at line 1271 of file documen2.cxx.
References EndListeningArea(), ScLookupCache::getCacheMap(), ScLookupCache::getRange(), and IsThreadedGroupCalcInProgress().
Referenced by ScLookupCache::Notify().
void ScDocument::RemoveManualBreaks | ( | SCTAB | nTab | ) |
Definition at line 6216 of file document.cxx.
References FetchTable().
Referenced by ScUndoRemoveBreaks::Redo(), ScTableSheetObj::removeAllManualPageBreaks(), and ScViewFunc::RemoveManualBreaks().
Definition at line 2080 of file documen3.cxx.
References ApplyAttr(), ATTR_MERGE(), GetAttr(), ScMergeAttr::GetColMerge(), ScMergeAttr::GetRowMerge(), Hor, mxPoolHelper, RemoveFlagsTab(), and Ver.
Referenced by ScUndoMerge::DoChange().
bool ScDocument::RemovePageStyleInUse | ( | std::u16string_view | rStrPageStyle | ) |
Definition at line 325 of file documen8.cxx.
References GetPageStyle(), GetTableCount(), i, maTabs, nCount, and ScResId().
Referenced by ScUndoModifyStyle::DoChange(), ScTabViewShell::ExecStyle(), and ScStyleFamilyObj::removeByName().
Definition at line 4396 of file document.cxx.
References FetchTable(), and ValidRow().
Referenced by ScDocFunc::RemovePageBreak().
void ScDocument::RemoveSortedRangeCache | ( | ScSortedRangeCache & | rCache | ) |
Definition at line 1290 of file documen2.cxx.
References EndListeningArea(), ScSortedRangeCache::getHashKey(), IsThreadedGroupCalcInProgress(), and mxScSortedRangeCache.
Referenced by ScSortedRangeCache::Notify().
void ScDocument::RemoveSubTotalCell | ( | ScFormulaCell * | pCell | ) |
Definition at line 6391 of file document.cxx.
References maSubTotalCells.
Referenced by ScFormulaCell::~ScFormulaCell().
void ScDocument::RemoveSubTotals | ( | SCTAB | nTab, |
ScSubTotalParam & | rParam | ||
) |
Definition at line 773 of file documen3.cxx.
References FetchTable().
Referenced by ScDBFunc::DoSubTotals(), and ScDBDocFunc::DoSubTotals().
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().
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().
bool ScDocument::RenameTab | ( | SCTAB | nTab, |
const OUString & | rName, | ||
bool | bExternalDocument = false |
||
) |
Definition at line 837 of file document.cxx.
References GetDocumentShell(), GetDrawLayer(), GetTableCount(), ScGlobal::GetTransliteration(), HasTable(), i, comphelper::LibreOfficeKit::isActive(), utl::TransliterationWrapper::isEqual(), maTabs, SfxLokHelper::notifyDocumentSizeChangedAllViews(), pChartListenerCollection, and ValidTabName().
Referenced by ImportExcel8::Boundsheet(), ImportExcel::Boundsheet(), ScDrawLayer::CopyFromClip(), ScUndoMoveTab::DoChange(), ScUndoRenameTab::DoChange(), ScXMLTableSourceContext::endFastElement(), ScTransferObj::InitDocShell(), ScViewFunc::MoveTable(), ImportLotus::NamedSheet(), ImportExcel::NewTable(), OP_SheetName123(), ImportLotus::parse(), ScQProReader::parse(), XclImpPivotCache::ReadPivotCacheStream(), ScUndoCopyTab::Redo(), ScUndoScenarioFlags::Redo(), ScTableLink::Refresh(), XclExpXmlStream::renameTab(), ScDocFunc::RenameTable(), ScFormatFilterPluginImpl::ScImportDif(), ScTableSheetObj::setExternalName(), ScUndoDeleteTab::Undo(), and ScUndoScenarioFlags::Undo().
void ScDocument::Reorder | ( | const sc::ReorderParam & | rParam | ) |
Definition at line 1446 of file documen3.cxx.
References ScRange::aStart, EnableIdle(), FetchTable(), IsIdleEnabled(), sc::ReorderParam::maSortRange, ScTable::Reorder(), and ScAddress::Tab().
Referenced by sc::UndoSort::Execute().
void ScDocument::RepaintRange | ( | const ScRange & | rRange | ) |
Definition at line 689 of file documen8.cxx.
References bIsVisible, SfxObjectShell::GetModel(), mpShell, and ScModelObj::RepaintRange().
Referenced by ScConditionalFormat::DoRepaint(), SetDBCollection(), ScStyleSheet::SetParent(), and ScTable::UpdateReference().
void ScDocument::RepaintRange | ( | const ScRangeList & | rRange | ) |
Definition at line 699 of file documen8.cxx.
References bIsVisible, SfxObjectShell::GetModel(), mpShell, and ScModelObj::RepaintRange().
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().
Definition at line 2118 of file documen3.cxx.
References FetchTable().
Referenced by CopyFromClip().
void ScDocument::ResetCalcNotifications | ( | ) |
Definition at line 729 of file documen3.cxx.
References GetTableCount(), and maTabs.
Referenced by ScModelObj::HandleCalculateEvents().
void ScDocument::ResetChanged | ( | const ScRange & | rRange | ) |
Definition at line 4074 of file document.cxx.
References ScRange::aEnd, ScRange::aStart, GetTableCount(), maTabs, nTabSize, and ScAddress::Tab().
Referenced by ScGridWindow::Draw(), and ScGridWindow::PaintTile().
void ScDocument::ResetClip | ( | ScDocument * | pSourceDoc, |
const ScMarkData * | pMarks | ||
) |
Definition at line 525 of file documen2.cxx.
References bIsClip, GetTableCount(), ScMarkData::GetTableSelect(), i, InitClipPtrs(), maTabs, and ScTable.
Referenced by CopyTabToClip(), CopyToClip(), ScViewFunc::PasteDataFormat(), and TransposeClip().
void ScDocument::ResetClip | ( | ScDocument * | pSourceDoc, |
SCTAB | nTab | ||
) |
Definition at line 558 of file documen2.cxx.
References bIsClip, GetTableCount(), InitClipPtrs(), maTabs, and ScTable.
void ScDocument::ResetEmbedded | ( | ) |
Definition at line 1744 of file documen3.cxx.
References aEmbedRange, and bIsEmbedded.
Referenced by ScTabViewShell::Construct(), ScPrintFunc::DrawToDev(), and ScPrintFunc::PrintArea().
formula::FormulaTokenRef ScDocument::ResolveStaticReference | ( | const ScAddress & | rPos | ) |
Definition at line 1745 of file document.cxx.
References ScAddress::Col(), FetchTable(), ScAddress::Row(), and ScAddress::Tab().
Referenced by ScGroupTokenConverter::convert(), and ScFormulaCell::InterpretInvariantFormulaGroup().
formula::FormulaTokenRef ScDocument::ResolveStaticReference | ( | const ScRange & | rRange | ) |
Definition at line 1753 of file document.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), HasTable(), maTabs, ScAddress::Row(), and ScAddress::Tab().
void ScDocument::RestoreChartListener | ( | const OUString & | rName | ) |
Definition at line 363 of file documen5.cxx.
References FindOleObjectByName(), GetAddressConvention(), ScRange::ParseAny(), pChartListenerCollection, and VALID.
Referenced by ScModelObj::setPropertyValue().
void ScDocument::RestorePrintRanges | ( | const ScPrintRangeSaver & | rSaver | ) |
Definition at line 6331 of file document.cxx.
References ScPrintRangeSaver::GetTabCount(), ScPrintRangeSaver::GetTabData(), GetTableCount(), i, maTabs, and nCount.
Referenced by ScUndoPrintRange::DoChange(), and ScRefUndoData::DoUndo().
Definition at line 1035 of file document10.cxx.
References FetchTable(), ScTable::RestoreFromCache(), and rStrm.
double ScDocument::RoundValueAsShown | ( | double | fVal, |
sal_uInt32 | nFormat, | ||
const ScInterpreterContext * | pContext = nullptr |
||
) | const |
Definition at line 627 of file documen4.cxx.
References GetDocOptions(), SvNumberFormatter::GetEntry(), SvNumberformat::GetFormatIntegerDigits(), SvNumberformat::GetFormatPrecision(), GetFormatTable(), ScInterpreterContext::GetFormatTable(), SvNumberformat::GetMaskedType(), SvNumberformat::GetRoundFractionValue(), ScDocOptions::GetStdPrecision(), SvNumberformat::GetSubformatIndex(), SvNumberformat::GetThousandDivisorPrecision(), nType, SV_COUNTRY_LANGUAGE_OFFSET, and SvNumberFormatter::UNLIMITED_PRECISION.
Referenced by ScQueryEvaluator::compareByValue(), ScInterpreter::CreateMatrixFromDoubleRef(), ScInterpreter::GetCellValueOrZero(), ScHorizontalValueIterator::GetNext(), ScValueIterator::GetThis(), ScInterpreter::GetValueCellValue(), ScFormulaCell::InterpretTail(), and ScHTMLExport::WriteCell().
|
private |
Definition at line 918 of file documen4.cxx.
References ScRefCellValue::equalsWithoutFormat(), ScRefCellValue::isEmpty(), and ValidCol().
Referenced by CompareDocument(), and FindOrder().
bool ScDocument::RowFiltered | ( | SCROW | nRow, |
SCTAB | nTab, | ||
SCROW * | pFirstRow = nullptr , |
||
SCROW * | pLastRow = nullptr |
||
) | const |
Definition at line 4475 of file document.cxx.
References FetchTable().
Referenced by ScDrawLayer::CopyFromClip(), CopyNonFilteredFromClip(), ScImportExport::Doc2Text(), ScCellIterator::getCurrent(), ScTableRowObj::GetOnePropertyValue(), ScTableRowsObj::getPropertyValue(), ScValueIterator::GetThis(), ScOutlineWindow::IsFiltered(), ScAccessibleCellBase::isVisible(), ScInterpreter::IterateParameters(), ScXMLCachedRowAttrAccess::rowFiltered(), ScOutlineDocFunc::SelectLevel(), ScViewFunc::SetWidthOrHeight(), ShowFilteredRows(), ScOutlineDocFunc::ShowMarkedOutlines(), ScOutlineDocFunc::ShowOutline(), ScViewUtil::UnmarkFiltered(), and ScTabViewShell::UseSubTotal().
bool ScDocument::RowHidden | ( | SCROW | nRow, |
SCTAB | nTab, | ||
SCROW * | pFirstRow = nullptr , |
||
SCROW * | pLastRow = nullptr |
||
) | const |
Definition at line 4416 of file document.cxx.
References FetchTable().
Referenced by ScChart2DataSequence::BuildDataCache(), ScDrawUtil::CalcScale(), sc::PrintPageRanges::calculate(), ScChartArray::CreateMemChartSingle(), ScOutputData::DrawGrid(), ScGridWindow::DrawHiddenIndicator(), ScCellShell::ExecuteEdit(), FillInfo(), ScColumn::FindNextVisibleRow(), ScColumn::FindNextVisibleRowWithContent(), ScCellIterator::getCurrent(), ScRowBar::GetEntrySize(), ScOutputData::GetMergeOrigin(), ScViewData::GetMergeSizePixel(), ScTableRowObj::GetOnePropertyValue(), XclExpRowBuffer::GetOrCreateRow(), ScTableRowsObj::getPropertyValue(), ScGridWindow::GetRectsAnyFor(), ScViewData::GetScrPos(), ScPreviewLocationData::GetTableInfo(), ScValueIterator::GetThis(), ScDrawLayer::InitializeCellAnchoredObj(), sc::SparklineRenderer::isCellHidden(), ScOutlineWindow::IsHidden(), ScAccessibleCellBase::isVisible(), ScInterpreter::IterateParameters(), lcl_FitsInWindow(), lcl_GetMergeRange(), ScDrawLayer::RecalcPos(), ScUndoAutoFormat::Redo(), ScXMLCachedRowAttrAccess::rowHidden(), ScTabView::ScrollY(), ScViewFunc::SetWidthOrHeight(), ScDocFunc::SetWidthOrHeight(), ScTabView::SkipCursorVertical(), ScHTMLExport::WriteTables(), and XclExpNote::XclExpNote().
Definition at line 905 of file document.hxx.
References MaxCol(), and SanitizeCol().
Referenced by ScDetectiveFunc::GetDrawPos(), ScTabView::InterpretVisible(), OP_ColumnWidth(), PutFormString(), ScViewData::ReadUserData(), ScViewDataTable::ReadUserDataSequence(), and SetFormat().
Definition at line 906 of file document.hxx.
References MaxRow(), and SanitizeRow().
Referenced by ScDetectiveFunc::GetDrawPos(), ScTabView::InterpretVisible(), PutFormString(), ScViewData::ReadUserData(), ScViewDataTable::ReadUserDataSequence(), ImportLotus::Row_(), and SetFormat().
|
private |
Definition at line 709 of file documen8.cxx.
References GetLinkManager(), sfx2::LinkManager::GetLinks(), SvStream::GetVersion(), i, nCount, pLink, SC_DDE_DEFAULT, SOFFICE_FILEFORMAT_40, and SvStream::WriteUInt16().
Referenced by InitClipPtrs().
bool ScDocument::SearchAndReplace | ( | const SvxSearchItem & | rSearchItem, |
SCCOL & | rCol, | ||
SCROW & | rRow, | ||
SCTAB & | rTab, | ||
const ScMarkData & | rMark, | ||
ScRangeList & | rMatchedRanges, | ||
OUString & | rUndoStr, | ||
ScDocument * | pUndoDoc, | ||
bool & | bMatchedRangesWereClamped | ||
) |
Definition at line 1307 of file documen3.cxx.
References SfxViewShell::Current(), SvxSearchItem::GetBackward(), SvxSearchItem::GetCommand(), GetSearchAndReplaceStart(), GetTableCount(), ScMarkData::GetTableSelect(), comphelper::LibreOfficeKit::isActive(), maTabs, and ValidTab().
Referenced by ScViewFunc::SearchAndReplace().
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().
void ScDocument::SetActiveScenario | ( | SCTAB | nTab, |
bool | bActive | ||
) |
Definition at line 886 of file documen3.cxx.
References FetchTable().
Referenced by ExcScenario::Apply(), ScXMLTableScenarioContext::endFastElement(), ScViewFunc::MoveTable(), ScUndoCopyTab::Redo(), ScUndoImportTab::Redo(), ScTableSheetObj::SetOnePropertyValue(), ScUndoUseScenario::Undo(), and ScUndoDeleteTab::Undo().
void ScDocument::SetAllFormulasDirty | ( | const sc::SetFormulaDirtyContext & | rCxt | ) |
Definition at line 3819 of file document.cxx.
References a, bAutoCalc, GetAutoCalc(), GetBASM(), maTabs, pChartListenerCollection, and SetAutoCalc().
Referenced by CompileAll(), CopyScenario(), CopyTab(), DeleteTab(), DeleteTabs(), ScDBDocFunc::DoImport(), ScViewFunc::DoSheetConversion(), ScRefUndoData::DoUndo(), InsertTab(), InsertTabs(), MoveTab(), and ScSpellDialogChildWindow::Reset().
void ScDocument::SetAllRangeNames | ( | const std::map< OUString, ScRangeName > & | rRangeMap | ) |
Definition at line 126 of file documen3.cxx.
References GetTable(), pRangeName, SetRangeName(), and STR_GLOBAL_RANGE_NAME.
Referenced by ScUndoAllRangeNames::DoChange(), and ScDocFunc::ModifyAllRangeNames().
Definition at line 302 of file document.cxx.
References FetchTable().
Referenced by ScDBDocFunc::AddDBRange(), XclImpAutoFilterData::Apply(), oox::xls::WorkbookGlobals::createUnnamedDatabaseRangeObject(), ScXMLDatabaseRangeContext::endFastElement(), ScUndoUtil::GetOldDBData(), and ScDBCollection::UpdateReference().
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.
void ScDocument::SetAsianCompression | ( | CharCompressType | nNew | ) |
Definition at line 631 of file documen9.cxx.
References mpDrawLayer, mpEditEngine, and nAsianCompression.
Referenced by ScDocumentConfiguration::setPropertyValue().
void ScDocument::SetAsianKerning | ( | bool | bNew | ) |
Definition at line 653 of file documen9.cxx.
References mpDrawLayer, mpEditEngine, and nAsianKerning.
Referenced by ScDocumentConfiguration::setPropertyValue().
void ScDocument::SetAutoCalc | ( | bool | bNewAutoCalc | ) |
Definition at line 602 of file documen7.cxx.
References bAutoCalc, bHasForcedFormulas, CalcFormulaTree(), IsAutoCalcShellDisabled(), IsInInterpreter(), and SetForcedFormulaPending().
Referenced by sc::AutoCalcSwitch::AutoCalcSwitch(), ScBroadcastAreaSlot::CheckHardRecalcStateCondition(), CheckVectorizationState(), CompileXML(), DeleteAreaTab(), ScDBDocFunc::DoImport(), ScModelObj::enableAutomaticCalculation(), FillTab(), FillTabMarked(), InsertCol(), InsertRow(), ScUndoDBData::Redo(), SetAllFormulasDirty(), SetDirty(), ScDocumentConfiguration::setPropertyValue(), SetSubTotalCellsDirty(), SetTableOpDirty(), TransferTab(), ScUndoDBData::Undo(), ScUndoImportData::Undo(), ScChangeTrack::UpdateReference(), and sc::AutoCalcSwitch::~AutoCalcSwitch().
|
inline |
Definition at line 1415 of file document.hxx.
References bAutoCalcShellDisabled.
Referenced by XclExpXmlStream::renameTab(), ScDocShellModificator::ScDocShellModificator(), ScDocShellModificator::SetDocumentModified(), and ScDocShellModificator::~ScDocShellModificator().
void ScDocument::SetAutoNameCache | ( | std::unique_ptr< ScAutoNameCache > | pCache | ) |
Definition at line 6886 of file document.cxx.
References pAutoNameCache.
Referenced by oox::xls::FormulaBuffer::finalizeImport().
void ScDocument::SetCalcConfig | ( | const ScCalcConfig & | rConfig | ) |
Definition at line 205 of file document10.cxx.
References CORE, and maCalcConfig.
Referenced by oox::xls::WorkbookHelper::finalizeWorkbookImport(), oox::xls::WorkbookGlobals::initialize(), oox::xls::ExtGlobalWorkbookContext::onCreateContext(), ScDocumentConfiguration::setPropertyValue(), and ScXMLImport::SetStringRefSyntaxIfMissing().
void ScDocument::SetCalcNotification | ( | SCTAB | nTab | ) |
Definition at line 722 of file documen3.cxx.
References FetchTable(), and ScTable::GetCalcNotification().
Referenced by TrackFormulas().
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().
void ScDocument::SetChangeViewSettings | ( | const ScChangeViewSettings & | rNew | ) |
Definition at line 1173 of file documen2.cxx.
References pChangeViewSettings.
Referenced by XclImpChangeTrack::Apply(), ScDocShell::Execute(), oox::xls::RevisionHeadersFragment::finalizeImport(), and ScXMLImport::SetChangeTrackingViewSettings().
void ScDocument::SetChartListenerCollection | ( | std::unique_ptr< ScChartListenerCollection > | pNewChartListenerCollection, |
bool | bSetChartRangeLists | ||
) |
Definition at line 412 of file documen3.cxx.
References pChartListenerCollection.
Referenced by ScRefUndoData::DoUndo().
|
inline |
Definition at line 2240 of file document.hxx.
References bChartListenerCollectionNeedsUpdate.
Referenced by ScDrawShell::ExecDrawFunc(), and ScDrawLayer::SetChanged().
void ScDocument::SetChartRangeList | ( | std::u16string_view | rChartName, |
const ScRangeListRef & | rNewRangeListRef | ||
) |
only assigns the new RangeList, no ChartListener or the like
Definition at line 485 of file documen5.cxx.
References GetAddressConvention(), ScChartHelper::GetChartFromSdrObject(), SdrOle2Obj::GetPersistName(), lcl_GetChartParameters(), lcl_SetChartParameters(), maTabs, mpDrawLayer, SdrObjListIter::Next(), pObject, and RANGE_ABS_3D.
Referenced by ScChartListenerCollection::SetDiffDirty().
void ScDocument::SetChartRanges | ( | std::u16string_view | rChartName, |
const std::vector< ScRangeList > & | rRanges | ||
) |
Definition at line 185 of file documen5.cxx.
References ScRangeList::Format(), GetAddressConvention(), GetChartByName(), nCount, RANGE_ABS_3D, and ScChartHelper::SetChartRanges().
Referenced by ScChartHelper::AdjustRangesOfChartsOnDestinationPage(), and ScDrawLayer::CopyFromClip().
void ScDocument::SetClipArea | ( | const ScRange & | rArea, |
bool | bCut = false |
||
) |
Definition at line 3132 of file document.cxx.
References bIsClip, GetClipParam(), ScClipParam::maRanges, ScClipParam::mbCutMode, ScRangeList::push_back(), and ScRangeList::RemoveAll().
Referenced by ScViewFunc::PasteDataFormat(), and sc::ScDBDataManager::WriteToDoc().
void ScDocument::SetClipOptions | ( | std::unique_ptr< ScClipOptions > | pClipOptions | ) |
Definition at line 2021 of file documen3.cxx.
References mpClipOptions.
Referenced by ScViewFunc::CopyToClipSingleRange().
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().
|
inline |
Definition at line 610 of file document.hxx.
References aDocCodeName.
Referenced by XclImpRoot::InitializeTable(), ImportExcel8::Read(), XclImpRoot::ReadCodeName(), XMLCodeNameProvider::set(), ScTableSheetObj::SetOnePropertyValue(), ScModelObj::setPropertyValue(), ooo::vba::excel::setUpDocumentModules(), and VBA_InsertModule().
bool ScDocument::SetCodeName | ( | SCTAB | nTab, |
const OUString & | rName | ||
) |
Definition at line 222 of file document.cxx.
References FetchTable(), and SAL_WARN.
Definition at line 4390 of file document.cxx.
References FetchTable(), and ValidCol().
Referenced by XclImpPageSettings::Finalize(), and ScDocFunc::InsertPageBreak().
Definition at line 4448 of file document.cxx.
References FetchTable().
Referenced by oox::xls::WorksheetGlobals::convertColumns(), ImportLotus::Hiddencolumn(), OP_ColumnWidth(), OP_HiddenCols(), and ScOrcusSheetProperties::set_column_hidden().
Definition at line 4086 of file document.cxx.
References FetchTable().
Referenced by ImportLotus::Columnwidth(), ScTransferObj::InitDocShell(), OP_ColumnWidth(), OP_Window1(), ScUndoAutoFormat::Redo(), ScViewFunc::SetWidthOrHeight(), ScDocFunc::SetWidthOrHeight(), and ScEEImport::WriteToDocument().
Definition at line 4092 of file document.cxx.
References FetchTable().
Referenced by XclImpColRowSettings::Convert(), oox::xls::WorksheetGlobals::convertColumns(), ScOrcusSheetProperties::set_column_width(), and ScDataTableColView::SetEntrySize().
void ScDocument::SetCondFormList | ( | ScConditionalFormatList * | pList, |
SCTAB | nTab | ||
) |
Definition at line 867 of file documen4.cxx.
References FetchTable().
Referenced by ScUndoConditionalFormatList::DoChange(), ScXMLConditionalFormatsContext::ScXMLConditionalFormatsContext(), and ScDocFunc::SetConditionalFormatList().
void ScDocument::SetConsolidateDlgData | ( | std::unique_ptr< ScConsolidateParam > | pData | ) |
Definition at line 1168 of file documen2.cxx.
References pConsolidateDlgData, and pData.
Referenced by ScModelObj::consolidate(), ScXMLConsolidationContext::endFastElement(), and ScCellShell::ExecuteEdit().
void ScDocument::SetCutMode | ( | bool | bCut | ) |
Definition at line 2020 of file document.cxx.
References bIsClip, GetClipParam(), and ScClipParam::mbCutMode.
Referenced by ScViewFunc::PasteFromClip().
void ScDocument::SetDBCollection | ( | std::unique_ptr< ScDBCollection > | pNewDBCollection, |
bool | bRemoveAutoFilter = false |
||
) |
Definition at line 275 of file documen3.cxx.
References ScRange::aEnd, ScRange::aStart, Auto, ScAddress::Col(), ScDBData::GetArea(), ScDBData::GetUpperName(), ScDBData::HasAutoFilter(), pDBCollection, RemoveFlagsTab(), RepaintRange(), ScAddress::Row(), ScAddress::SetRow(), and ScAddress::Tab().
Referenced by ScRefUndoData::DoUndo(), ScDBDocFunc::ModifyAllDBData(), ScUndoDBData::Redo(), ScDBDocFunc::RenameDBRange(), ScUndoSubTotals::Undo(), ScUndoQuery::Undo(), ScUndoDBData::Undo(), and ScUndoRepeatDB::Undo().
bool ScDocument::SetDdeLinkResultMatrix | ( | size_t | nDdePos, |
const ScMatrixRef & | pResults | ||
) |
Sets a result matrix for the specified DDE link.
nDdePos | Index of the DDE link (does not include other links from link manager). |
pResults | The array containing all results of the DDE link (intrusive-ref-counted, do not delete). |
Definition at line 1019 of file documen8.cxx.
References GetLinkManager().
Referenced by ScXMLDDELinkContext::endFastElement(), and ScDDELinkObj::setResults().
|
inline |
Definition at line 2211 of file document.hxx.
References bDetectiveDirty.
Referenced by CalcAfterLoad(), ScFormulaCell::EndListeningTo(), sc::SharedFormulaUtil::startListeningAsGroup(), and ScFormulaCell::StartListeningTo().
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().
void ScDocument::SetDirty | ( | const ScRange & | rRange, |
bool | bIncludeEmptyCells | ||
) |
Definition at line 3841 of file document.cxx.
References ScRange::aEnd, ScRange::aStart, bAutoCalc, ScColumn::BROADCAST_BROADCASTERS, ScColumn::BROADCAST_DATA_POSITIONS, BroadcastCells(), GetAutoCalc(), GetBASM(), GetTableCount(), i, maTabs, SetAutoCalc(), and ScAddress::Tab().
Referenced by DeleteArea(), DeleteSelection(), DeleteSelectionTab(), ScDBFunc::DoSubTotals(), ScDBDocFunc::DoSubTotals(), sc::UndoSort::Execute(), ScDocFunc::MergeCells(), Solver(), ScDBDocFunc::Sort(), ScDocFunc::TabOp(), TransferTab(), and ScUndoQuery::Undo().
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().
void ScDocument::SetDocOptions | ( | const ScDocOptions & | rOpt | ) |
Definition at line 1942 of file documen3.cxx.
References mxPoolHelper, and pDocOptions.
Referenced by ImportExcel8::Calccount(), ScFunctionAccess::callFunction(), ImportExcel8::Delta(), ScXMLCalculationSettingsContext::endFastElement(), ImportExcel::ImportExcel(), InitClipPtrs(), ScTransferObj::InitDocShell(), ScModelObj::initializeForTiledRendering(), ImportExcel8::Iteration(), ScModule::ModifyOptions(), ImportExcel8::Precision(), ImportExcel::ReadUsesElfs(), ImportExcel::Rec1904(), ScVbaWorkbook::setPrecisionAsDisplayed(), ScDocDefaultsObj::setPropertyValue(), ScModelObj::setPropertyValue(), and TestImportXLS().
void ScDocument::SetDocProtection | ( | const ScDocProtection * | pProtect | ) |
Definition at line 1886 of file documen3.cxx.
References pDocProtection.
Referenced by XclImpDocProtectBuffer::Apply(), ScUndoDocProtect::DoProtect(), ScXMLBodyContext::endFastElement(), ScDocFunc::ProtectDocument(), and ScRetypePassDlg::WriteNewDataToDocument().
|
inline |
Definition at line 2633 of file document.hxx.
References mbDocShellRecalc.
Referenced by ScDocShellRecalcGuard::ScDocShellRecalcGuard(), and ScDocShellRecalcGuard::~ScDocShellRecalcGuard().
void ScDocument::SetDocVisible | ( | bool | bSet | ) |
Definition at line 261 of file documen2.cxx.
References bIsVisible.
Referenced by ScTabViewShell::Construct().
void ScDocument::SetDrawPageSize | ( | SCTAB | nTab | ) |
Definition at line 203 of file documen9.cxx.
References FetchTable().
Referenced by ScViewFunc::AdjustBlockHeight(), ScBlockUndo::AdjustHeight(), ScDocFunc::AdjustRowHeight(), ScViewFunc::AdjustRowHeight(), ScDocFunc::DeleteCells(), ScDBDocFunc::DoSubTotals(), ScXMLImport::endDocument(), ScOutlineDocFunc::HideMarkedOutlines(), ScOutlineDocFunc::HideOutline(), ScDocFunc::InsertCells(), ScConsData::OutputToDocument(), ScUndoDragDrop::PaintArea(), ScUndoInsertCells::Redo(), ScUndoDeleteCells::Redo(), ScUndoAutoFormat::Redo(), ScOutlineDocFunc::SelectLevel(), ScDocumentImport::setRowsVisible(), ScViewFunc::SetWidthOrHeight(), ScDocFunc::SetWidthOrHeight(), ScOutlineDocFunc::ShowMarkedOutlines(), ScOutlineDocFunc::ShowOutline(), ScUndoInsertCells::Undo(), and ScUndoDeleteCells::Undo().
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().
void ScDocument::SetEditText | ( | const ScAddress & | rPos, |
const OUString & | rStr | ||
) |
Definition at line 3435 of file document.cxx.
References ScAddress::Col(), EditEngine::CreateTextObject(), FetchTable(), GetEditEngine(), ScAddress::Row(), ScEditEngineDefaulter::SetTextCurrentDefaults(), and ScAddress::Tab().
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().
void ScDocument::SetEmbedded | ( | const ScRange & | rRange | ) |
Definition at line 1738 of file documen3.cxx.
References aEmbedRange, and bIsEmbedded.
Referenced by ScTabViewShell::Construct(), ScPrintFunc::DrawToDev(), ScPrintFunc::PrintArea(), and ScTabView::UpdateRef().
void ScDocument::SetEmbedded | ( | SCTAB | nTab, |
const tools::Rectangle & | rRect | ||
) |
Definition at line 1875 of file documen3.cxx.
References aEmbedRange, bIsEmbedded, and GetRange().
|
inline |
Definition at line 589 of file document.hxx.
References mbEmbedFonts.
Referenced by ScXMLImport::NotifyContainsEmbeddedFont(), and ScDocumentConfiguration::setPropertyValue().
|
inline |
Definition at line 592 of file document.hxx.
References mbEmbedFontScriptAsian.
Referenced by ScDocumentConfiguration::setPropertyValue().
|
inline |
Definition at line 593 of file document.hxx.
References mbEmbedFontScriptComplex.
Referenced by ScDocumentConfiguration::setPropertyValue().
|
inline |
Definition at line 591 of file document.hxx.
References mbEmbedFontScriptLatin.
Referenced by ScDocumentConfiguration::setPropertyValue().
|
inline |
Definition at line 590 of file document.hxx.
References mbEmbedUsedFontsOnly.
Referenced by ScDocumentConfiguration::setPropertyValue().
void ScDocument::SetEmptyCell | ( | const ScAddress & | rPos | ) |
Definition at line 3471 of file document.cxx.
References ScAddress::Col(), FetchTable(), ScAddress::Row(), and ScAddress::Tab().
Referenced by ScUndoSelectionAttr::ChangeEditData(), ScCellValue::commit(), ScRefCellValue::commit(), ScDatabaseDocUtil::PutData(), ScChangeActionContent::PutValueToDoc(), ScCellValue::release(), and ScUndoSetCell::SetValue().
void ScDocument::SetError | ( | SCCOL | nCol, |
SCROW | nRow, | ||
SCTAB | nTab, | ||
const FormulaError | nError | ||
) |
Definition at line 1129 of file documen2.cxx.
References FetchTable().
Referenced by ScDPOutput::DataCell(), lcl_PutDataArray(), ScConsData::OutputToDocument(), ScDatabaseDocUtil::PutData(), and Solver().
void ScDocument::SetExpandRefs | ( | bool | bVal | ) |
Definition at line 327 of file documen2.cxx.
References bExpandRefs.
Referenced by sc::ExpandRefsSwitch::ExpandRefsSwitch(), UpdateBroadcastAreas(), ScChangeTrack::UpdateReference(), and sc::ExpandRefsSwitch::~ExpandRefsSwitch().
void ScDocument::SetExtDocOptions | ( | std::unique_ptr< ScExtDocOptions > | pNewOptions | ) |
Definition at line 2016 of file documen3.cxx.
References pExtDocOptions.
Referenced by ScExternalRefManager::loadSrcDocument(), ImportExcel::PostDocLoad(), and ScDocumentLoader::ScDocumentLoader().
void ScDocument::SetForbiddenCharacters | ( | const std::shared_ptr< SvxForbiddenCharactersTable > & | rNew | ) |
Definition at line 609 of file documen9.cxx.
References mpDrawLayer, mpEditEngine, EditEngine::SetForbiddenCharsTable(), and xForbiddenCharacters.
Referenced by lcl_GetForbidden(), and ScForbiddenCharsObj::onChange().
|
inline |
Definition at line 1418 of file document.hxx.
References bForcedFormulaPending.
Referenced by CalcFormulaTree(), SetAutoCalc(), and TrackFormulas().
|
inline |
Definition at line 2409 of file document.hxx.
References bHasForcedFormulas.
Referenced by TrackFormulas().
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().
void ScDocument::SetFormula | ( | const ScAddress & | rPos, |
const ScTokenArray & | rArray | ||
) |
Definition at line 1135 of file documen2.cxx.
References ScAddress::Col(), FetchTable(), formula::FormulaGrammar::GRAM_DEFAULT, ScAddress::Row(), and ScAddress::Tab().
Referenced by lcl_PutDataArray(), lcl_PutFormulaArray(), and ScTableLink::Refresh().
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.
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().
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().
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.
rTopPos | position of the top formula cell of a group. |
pResults | array of numeric results. |
nLen | length of numeric results. |
Definition at line 402 of file documen8.cxx.
References ScAddress::Col(), FetchTable(), ScAddress::Row(), ScTable::SetFormulaResults(), and ScAddress::Tab().
void ScDocument::SetGrammar | ( | formula::FormulaGrammar::Grammar | eGram | ) |
Definition at line 497 of file documen3.cxx.
References eGrammar.
|
inline |
Definition at line 2403 of file document.hxx.
References eHardRecalcState.
Referenced by ScBroadcastAreaSlot::CheckHardRecalcStateCondition().
|
inline |
Definition at line 595 of file document.hxx.
References mnImagePreferredDPI, and nValue.
Referenced by ScDocumentConfiguration::setPropertyValue().
void ScDocument::SetImportingXML | ( | bool | bVal | ) |
Definition at line 581 of file documen9.cxx.
References bImportingXML, GetTableCount(), maTabs, MoveRTLMode, mpDrawLayer, SetLayoutRTL(), and SetLoadingMedium().
void ScDocument::SetInLinkUpdate | ( | bool | bSet | ) |
Definition at line 776 of file documen8.cxx.
References bInLinkUpdate.
Referenced by ScValidationData::DoMacro(), ScValidationData::DoScript(), ScAreaLink::Refresh(), and ScTableLink::Refresh().
|
inline |
Definition at line 2223 of file document.hxx.
References bInsertingFromOtherDoc.
Referenced by CopyBlockFromClip(), oox::xls::WorkbookFragment::finalizeImport(), oox::xls::WorkbookGlobals::initialize(), and TestImportXLS().
void ScDocument::SetLanguage | ( | LanguageType | eLatin, |
LanguageType | eCjk, | ||
LanguageType | eCtl | ||
) |
Definition at line 1970 of file documen3.cxx.
References ATTR_CJK_FONT_LANGUAGE(), ATTR_CTL_FONT_LANGUAGE(), ATTR_FONT_LANGUAGE(), eCjkLanguage, eCtlLanguage, eLanguage, mxPoolHelper, SfxItemPool::SetPoolDefaultItem(), and UpdateDrawLanguages().
Referenced by ScModule::Execute(), ScDocShell::Execute(), ScDocument(), ScDocDefaultsObj::setPropertyValue(), and ScModelObj::setPropertyValue().
void ScDocument::SetLayoutRTL | ( | SCTAB | nTab, |
bool | bRTL, | ||
ScObjectHandling | eObjectHandling = ScObjectHandling::RecalcPosMode |
||
) |
Definition at line 937 of file document.cxx.
References bImportingXML, FetchTable(), mpDrawLayer, SdrObjListIter::Next(), pObject, ScTable::SetDrawPageSize(), ScTable::SetLayoutRTL(), and ScTable::SetLoadingRTL().
Referenced by ScTabViewShell::Construct(), ScUndoLayoutRTL::DoChange(), XclImpTabViewSettings::Finalize(), ScTransferObj::InitDocShell(), SetImportingXML(), ScDocFunc::SetLayoutRTL(), and ScUndoDeleteTab::Undo().
|
inline |
Definition at line 2636 of file document.hxx.
References mbLayoutStrings.
Referenced by ScOutputData::LayoutStrings().
void ScDocument::SetLink | ( | SCTAB | nTab, |
ScLinkMode | nMode, | ||
const OUString & | rDoc, | ||
const OUString & | rFilter, | ||
const OUString & | rOptions, | ||
const OUString & | rTabName, | ||
sal_uLong | nRefreshDelay | ||
) |
Definition at line 544 of file documen3.cxx.
References FetchTable().
Referenced by ScUndoRemoveLink::DoChange(), ScXMLTableSourceContext::endFastElement(), ScViewFunc::ImportTables(), ScTableSheetObj::link(), LinkExternalTab(), ScUndoRefreshLink::Redo(), ScTableLink::Refresh(), ScSheetLinkObj::setFileName(), ScUndoRefreshLink::Undo(), ScUndoDeleteTab::Undo(), and ScTableLink::~ScTableLink().
|
inline |
Definition at line 2214 of file document.hxx.
References bLinkFormulaNeedingCheck.
Referenced by CheckLinkFormulaNeedingCheck(), and ExcelToSc8::Convert().
|
inline |
Definition at line 2261 of file document.hxx.
References eLinkMode.
Referenced by ScTpLayoutOptions::FillItemSet(), and ScDocumentConfiguration::setPropertyValue().
void ScDocument::SetLoadingMedium | ( | bool | bVal | ) |
Definition at line 569 of file documen9.cxx.
References bLoadingMedium, and maTabs.
Referenced by SetImportingXML().
Definition at line 1070 of file document10.cxx.
References FetchTable(), and ScTable::SetLOKFreezeCol().
Referenced by ScViewData::DeriveLOKFreezeIfNeeded(), and ScViewData::SetLOKSheetFreezeIndex().
Definition at line 1079 of file document10.cxx.
References FetchTable(), and ScTable::SetLOKFreezeRow().
Referenced by ScViewData::DeriveLOKFreezeIfNeeded(), and ScViewData::SetLOKSheetFreezeIndex().
Definition at line 4116 of file document.cxx.
References FetchTable().
Referenced by XclImpColRowSettings::Convert(), oox::xls::WorksheetGlobals::convertRows(), ScTransferObj::InitDocShell(), ScTableRowsObj::setPropertyValue(), ScViewFunc::SetWidthOrHeight(), and ScDocFunc::SetWidthOrHeight().
|
inline |
Definition at line 608 of file document.hxx.
References aDocName.
|
inline |
Definition at line 1609 of file document.hxx.
References mnNamedRangesLockCount, and nCount.
Referenced by ScNamedRangesObj::addActionLock(), ScNamedRangesObj::removeActionLock(), ScNamedRangesObj::resetActionLocks(), and ScNamedRangesObj::setActionLocks().
|
private |
Definition at line 520 of file document10.cxx.
References FetchTable(), and ScTable::SetNeedsListeningGroup().
Referenced by DeleteArea(), DeleteRow(), DeleteSelection(), DeleteSelectionTab(), and InsertRow().
|
inline |
Definition at line 2229 of file document.hxx.
References bNoListening.
Referenced by CopyTab(), ScTable::FillFormula(), MoveTab(), TransferTab(), and ScChangeTrack::UpdateReference().
Definition at line 6599 of file document.cxx.
References ScAddress::Col(), ScAddress::Row(), SetNote(), and ScAddress::Tab().
Referenced by CreateNote(), ScNoteUtil::CreateNoteFromCaption(), ScNoteUtil::CreateNoteFromObjectData(), ScNoteUtil::CreateNoteFromString(), ScUndoReplaceNote::DoInsertNote(), SetNote(), and ScTable::TransposeColNotes().
Definition at line 6604 of file document.cxx.
References FetchTable(), GetDocumentShell(), and HelperNotifyChanges::NotifyIfChangesListeners().
void ScDocument::SetNumberFormat | ( | const ScAddress & | rPos, |
sal_uInt32 | nNumberFormat | ||
) |
Definition at line 3682 of file document.cxx.
References ScAddress::Col(), FetchTable(), IsThreadedGroupCalcInProgress(), ScAddress::Row(), and ScAddress::Tab().
Referenced by HandleStuffAfterParallelCalculation(), ScFormulaCell::InterpretTail(), lcl_PutString(), ScDatabaseDocUtil::PutData(), and sc::DateTimeTransformation::Transform().
bool ScDocument::SetOptimalHeight | ( | sc::RowHeightContext & | rCxt, |
SCROW | nStartRow, | ||
SCROW | nEndRow, | ||
SCTAB | nTab, | ||
bool | bApi | ||
) |
Definition at line 4267 of file document.cxx.
References FetchTable().
Referenced by ScViewFunc::AdjustBlockHeight(), ScBlockUndo::AdjustHeight(), ScDocFunc::AdjustRowHeight(), ScViewFunc::AdjustRowHeight(), ScUndoDragDrop::PaintArea(), ScUndoAutoFormat::Redo(), ScViewFunc::SetWidthOrHeight(), ScDocFunc::SetWidthOrHeight(), and ScEEImport::WriteToDocument().
bool ScDocument::SetOutlineTable | ( | SCTAB | nTab, |
const ScOutlineTable * | pNewOutline | ||
) |
Definition at line 754 of file documen3.cxx.
References FetchTable(), and ScTable::SetOutlineTable().
Referenced by ScOutlineDocFunc::AutoOutline(), ScOutlineDocFunc::RemoveAllOutlines(), ScUndoWidthOrHeight::Undo(), ScUndoMakeOutline::Undo(), ScUndoOutlineLevel::Undo(), ScUndoOutlineBlock::Undo(), ScUndoRemoveAllOutlines::Undo(), ScUndoAutoOutline::Undo(), ScUndoSubTotals::Undo(), ScUndoRepeatDB::Undo(), and ScUndoConsolidate::Undo().
Definition at line 6183 of file document.cxx.
References FetchTable().
Referenced by sc::PrintPageRanges::calculate(), IMPL_LINK(), and ScPrintFunc::ResetBreaks().
void ScDocument::SetPageStyle | ( | SCTAB | nTab, |
const OUString & | rName | ||
) |
Definition at line 6170 of file document.cxx.
References FetchTable().
Referenced by ScTabViewShell::ExecStyle(), XclImpPageSettings::Finalize(), oox::xls::PageSettings::finalizeImport(), ScGridWindow::MouseButtonUp(), ScUndoApplyPageStyle::Redo(), ScTableSheetObj::SetOnePropertyValue(), and ScUndoApplyPageStyle::Undo().
|
inline |
Definition at line 2525 of file document.hxx.
References bPastingDrawFromOtherDoc.
Referenced by ScViewFunc::PasteDataFormat(), and ScViewFunc::PasteDraw().
void ScDocument::SetPattern | ( | const ScAddress & | rPos, |
const ScPatternAttr & | rAttr | ||
) |
Definition at line 5008 of file document.cxx.
References FetchTable(), and ScAddress::Tab().
Referenced by ScTable::CopyData(), ScUndoCursorAttr::DoChange(), ScConversionEngineBase::FindNextConversionCell(), SetPattern(), ScUndoEnterData::Undo(), and ScEEImport::WriteToDocument().
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().
void ScDocument::SetPattern | ( | SCCOL | nCol, |
SCROW | nRow, | ||
SCTAB | nTab, | ||
const ScPatternAttr & | rAttr | ||
) |
Definition at line 5002 of file document.cxx.
References FetchTable().
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().
void ScDocument::SetPendingRowHeights | ( | SCTAB | nTab, |
bool | bSet | ||
) |
Definition at line 922 of file document.cxx.
References FetchTable().
|
inline |
Definition at line 882 of file document.hxx.
References nPosLeft.
Referenced by oox::xls::WorkbookHelper::finalizeWorkbookImport().
|
inline |
Definition at line 884 of file document.hxx.
References nPosTop.
Referenced by oox::xls::WorkbookHelper::finalizeWorkbookImport().
|
inline |
Definition at line 1396 of file document.hxx.
References pPreviewCellStyle.
Referenced by ScFormatShell::ExecuteStyle().
void ScDocument::SetPreviewFont | ( | std::unique_ptr< SfxItemSet > | pFontSet | ) |
Definition at line 1468 of file documen2.cxx.
References pPreviewFont.
Referenced by ScFormatShell::ExecuteAttr().
void ScDocument::SetPreviewSelection | ( | const ScMarkData & | rSel | ) |
Definition at line 1473 of file documen2.cxx.
References maPreviewSelection.
Referenced by ScFormatShell::ExecuteAttr(), and ScFormatShell::ExecuteStyle().
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().
void ScDocument::SetPrinter | ( | VclPtr< SfxPrinter > const & | pNewPrinter | ) |
Definition at line 142 of file documen8.cxx.
References VclPtr< class reference_type >::get(), ScModule::GetOptDigitLanguage(), InvalidateTextWidth(), mpPrinter, and UpdateDrawPrinter().
void ScDocument::SetPrintOptions | ( | ) |
Definition at line 161 of file documen8.cxx.
References GetPrinter(), mpPrinter, and SfxItemSet::Put().
void ScDocument::SetRangeName | ( | SCTAB | nTab, |
std::unique_ptr< ScRangeName > | pNew | ||
) |
Definition at line 185 of file documen3.cxx.
References FetchTable().
Referenced by ScUndoRangeNames::DoChange(), ScRefUndoData::DoUndo(), GetRangeNameMap(), SetAllRangeNames(), ScDocFunc::SetNewRangeNames(), ScUndoSubTotals::Undo(), and ScUndoRepeatDB::Undo().
void ScDocument::SetRangeName | ( | std::unique_ptr< ScRangeName > | pNewRangeName | ) |
Definition at line 191 of file documen3.cxx.
References pRangeName.
|
inline |
Definition at line 2218 of file document.hxx.
References nRangeOverflowType, and nType.
Referenced by ScXMLImportWrapper::ImportFromComponent(), and ScXMLImport::SetRangeOverflowType().
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().
Definition at line 6309 of file document.cxx.
References FetchTable().
Referenced by ImportExcel::PostDocLoad(), ScViewFunc::SetPrintRanges(), ScTableSheetObj::setPrintTitleColumns(), and ScTableSheetObj::setTitleColumns().
Definition at line 6315 of file document.cxx.
References FetchTable().
Referenced by ImportExcel::PostDocLoad(), ScViewFunc::SetPrintRanges(), ScTableSheetObj::setPrintTitleRows(), and ScTableSheetObj::setTitleRows().
Definition at line 4384 of file document.cxx.
References FetchTable(), and ValidRow().
Referenced by XclImpPageSettings::Finalize(), and ScDocFunc::InsertPageBreak().
Definition at line 4496 of file document.cxx.
References FetchTable().
Referenced by XclImpColRowSettings::ConvertHiddenFlags(), oox::xls::WorksheetGlobals::convertRows(), ScTableRowObj::SetOnePropertyValue(), and ScTableRowsObj::setPropertyValue().
Definition at line 4315 of file document.cxx.
References FetchTable().
Referenced by XclImpColRowSettings::Convert(), ScUndoAutoFormat::Redo(), ImportLotus::RowPresentation(), ScViewFunc::SetWidthOrHeight(), and ScDocFunc::SetWidthOrHeight().
Definition at line 4321 of file document.cxx.
References FetchTable().
Definition at line 4098 of file document.cxx.
References FetchTable().
Referenced by ScTransferObj::InitDocShell(), ImportLotus::Row_(), ImportLotus::RowPresentation(), ScDataTableRowView::SetEntrySize(), and ScEEImport::WriteToDocument().
void ScDocument::SetRowHeightOnly | ( | SCROW | nStartRow, |
SCROW | nEndRow, | ||
SCTAB | nTab, | ||
sal_uInt16 | nNewHeight | ||
) |
Definition at line 4110 of file document.cxx.
References FetchTable().
Referenced by XclImpColRowSettings::Convert(), oox::xls::WorksheetGlobals::convertRows(), ScOrcusSheetProperties::set_row_height(), and ScTableRowsObj::setPropertyValue().
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().
Definition at line 4442 of file document.cxx.
References FetchTable().
Referenced by XclImpColRowSettings::ConvertHiddenFlags(), oox::xls::WorksheetGlobals::convertRows(), ScOrcusSheetProperties::set_row_hidden(), and ScTableRowsObj::setPropertyValue().
void ScDocument::SetScenario | ( | SCTAB | nTab, |
bool | bFlag | ||
) |
Definition at line 426 of file documen3.cxx.
References FetchTable().
Referenced by ExcScenario::Apply(), ScXMLTableScenarioContext::endFastElement(), ScViewFunc::MoveTable(), ScUndoCopyTab::Redo(), ScUndoImportTab::Redo(), and ScUndoDeleteTab::Undo().
void ScDocument::SetScenarioData | ( | SCTAB | nTab, |
const OUString & | rComment, | ||
const Color & | rColor, | ||
ScScenarioFlags | nFlags | ||
) |
Definition at line 438 of file documen3.cxx.
References FetchTable(), and ScTable::IsScenario().
Referenced by ExcScenario::Apply(), ScXMLTableScenarioContext::endFastElement(), ScViewFunc::MoveTable(), ScUndoCopyTab::Redo(), ScUndoImportTab::Redo(), ScUndoScenarioFlags::Redo(), ScUndoUseScenario::Undo(), ScUndoDeleteTab::Undo(), and ScUndoScenarioFlags::Undo().
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().
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().
void ScDocument::SetSortParam | ( | const ScSortParam & | rParam, |
SCTAB | nTab | ||
) |
Definition at line 2129 of file documen3.cxx.
References mSheetSortParams.
Referenced by ScVbaRange::Sort().
|
inline |
Definition at line 2139 of file document.hxx.
References eSrcSet.
Referenced by ImportExcel::~ImportExcel().
void ScDocument::SetStorageGrammar | ( | formula::FormulaGrammar::Grammar | eGrammar | ) |
Should only be GRAM_PODF or GRAM_ODFF.
Definition at line 251 of file documen2.cxx.
References eStorageGrammar, formula::FormulaGrammar::GRAM_ODFF, and formula::FormulaGrammar::GRAM_PODF.
Referenced by ScDocument(), ScXMLBodyContext::ScXMLBodyContext(), and ScXMLExport::setSourceDocument().
void ScDocument::SetStreamValid | ( | SCTAB | nTab, |
bool | bSet, | ||
bool | bIgnoreLock = false |
||
) |
Definition at line 904 of file document.cxx.
References FetchTable().
Referenced by ScNameDefDlg::AddPushed(), ScAttrArray::ApplyCacheArea(), ScAttrArray::ApplyStyleArea(), ScOutlineDocFunc::AutoOutline(), ScAreaLink::Closed(), ScXMLImport::endDocument(), ScTabViewShell::ExecStyle(), ScXMLImportWrapper::ExportToComponent(), ScDocFunc::ImportNote(), ScDocFunc::InsertPageBreak(), ScFormulaCell::InterpretTail(), ScOutlineDocFunc::MakeOutline(), ScDetectiveFunc::Modified(), ScDocFunc::NotifyDrawUndo(), ScOutlineDocFunc::RemoveAllOutlines(), ScOutlineDocFunc::RemoveOutline(), ScDocFunc::RemovePageBreak(), ScDocFunc::ReplaceConditionalFormat(), ScDocFunc::ReplaceNote(), ScAttrArray::Reset(), ScDocFunc::SetConditionalFormatList(), ScFormulaCell::SetDirty(), ScDocFunc::SetNoteText(), ScAttrArray::SetPatternAreaImpl(), ScDocFunc::ShowNote(), and FuText::StopEditMode().
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().
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().
void ScDocument::SetSubTotalCellsDirty | ( | const ScRange & | rDirtyRange | ) |
Definition at line 6412 of file document.cxx.
References GetAutoCalc(), ScFormulaCell::IsSubTotal(), maSubTotalCells, SetAutoCalc(), and ScFormulaCell::SetDirty().
Referenced by ScDBDocFunc::Query().
Definition at line 456 of file documen3.cxx.
References FetchTable().
Referenced by ScUndoTabColor::DoChange(), XclImpTabViewSettings::Finalize(), ScViewDataTable::ReadUserDataSequence(), ScUndoRefreshLink::Redo(), ScUndoImportTab::Redo(), ScDocFunc::SetTabBgColor(), ScUndoRefreshLink::Undo(), and ScUndoDeleteTab::Undo().
void ScDocument::SetTableOpDirty | ( | const ScRange & | rRange | ) |
Definition at line 3862 of file document.cxx.
References ScRange::aEnd, ScRange::aStart, bAutoCalc, GetAutoCalc(), GetTableCount(), i, maTabs, SetAutoCalc(), and ScAddress::Tab().
Referenced by ScInterpreter::ScTableOp().
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().
void ScDocument::SetTabProtection | ( | SCTAB | nTab, |
const ScTableProtection * | pProtect | ||
) |
Definition at line 1922 of file documen3.cxx.
References FetchTable().
Referenced by XclImpSheetProtectBuffer::Apply(), ScMyTables::DeleteTable(), ScUndoTabProtect::DoProtect(), oox::xls::WorksheetSettings::finalizeImport(), ScDocFunc::ProtectSheet(), ScUndoImportTab::Redo(), ScVbaWorksheet::setEnableSelection(), ScUndoDeleteTab::Undo(), and ScRetypePassDlg::WriteNewDataToDocument().
void ScDocument::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.
Definition at line 3452 of file document.cxx.
References ScAddress::Col(), EditEngine::CreateTextObject(), FetchTable(), GetEditEngine(), ScStringUtil::isMultiline(), ScAddress::Row(), ScEditEngineDefaulter::SetTextCurrentDefaults(), ScSetStringParam::setTextInput(), and ScAddress::Tab().
Referenced by lcl_PutFormulaArray(), lcl_PutString(), ScQProReader::readSheet(), ScFormatFilterPluginImpl::ScImportDif(), and ScImportExport::Sylk2Doc().
|
inline |
Definition at line 629 of file document.hxx.
References ScGlobal::bThreadedGroupCalcInProgress, and set().
Referenced by ScFormulaCell::InterpretFormulaGroupThreading().
|
inline |
Definition at line 2396 of file document.hxx.
References mbTrackFormulasPending.
Referenced by TrackFormulas().
void ScDocument::SetupContextFromNonThreadedContext | ( | ScInterpreterContext & | threadedContext, |
int | threadNumber | ||
) |
Definition at line 6909 of file document.cxx.
Referenced by ScFormulaCell::InterpretFormulaGroupThreading().
void ScDocument::SetValue | ( | const ScAddress & | rPos, |
double | fVal | ||
) |
Definition at line 3482 of file document.cxx.
References ScAddress::Col(), EndListeningIntersectedGroup(), FetchTable(), ScTable::GetFormulaCell(), ScFormulaCell::IsShared(), sc::EndListeningContext::purgeEmptyBroadcasters(), ScAddress::Row(), ScTable::SetValue(), and ScAddress::Tab().
Definition at line 3477 of file document.cxx.
References SetValue().
Referenced by ScCellValue::commit(), ScRefCellValue::commit(), ScDPOutput::DataCell(), ScViewFunc::EnterValue(), ScDocFunc::FillSeries(), ScDPOutput::HeaderCell(), lcl_PutDataArray(), lcl_PutFormulaArray(), lcl_PutString(), ImportLotus::Numbercell(), OP_IEEENumber123(), OP_Integer(), OP_Number(), OP_Number123(), ScConsData::OutputToDocument(), ScDatabaseDocUtil::PutData(), ScQProReader::readSheet(), ScUndoAutoFill::Redo(), ScUndoEnterValue::Redo(), ScCellValue::release(), ScFormatFilterPluginImpl::ScImportDif(), ScUndoSetCell::SetValue(), SetValue(), ScDocFunc::SetValueCell(), ImportLotus::Smallnumcell(), ScTransferObj::StripRefs(), ScImportExport::Sylk2Doc(), sc::AggregateFunction::Transform(), sc::NumberTransformation::Transform(), sc::DateTimeTransformation::Transform(), sc::SwapRowsTransformation::Transform(), and ScEEImport::WriteToDocument().
void ScDocument::SetValues | ( | const ScAddress & | rPos, |
const std::vector< double > & | rVals | ||
) |
Definition at line 160 of file document10.cxx.
References ScAddress::Col(), FetchTable(), ScAddress::Row(), ScTable::SetValues(), and ScAddress::Tab().
Referenced by ScDocFunc::SetValueCells().
|
inline |
Definition at line 2537 of file document.hxx.
References mxVbaEvents.
Referenced by ScServiceProvider::MakeInstance().
void ScDocument::SetViewOptions | ( | const ScViewOptions & | rOpt | ) |
Definition at line 1957 of file documen3.cxx.
References pViewOptions.
Referenced by XclImpDocViewSettings::Finalize(), XclImpTabViewSettings::Finalize(), ImportExcel::Hideobj(), InitClipPtrs(), ScDrawTransferObj::InitDocShell(), ScTransferObj::InitDocShell(), ScModule::ModifyOptions(), ScViewData::ReadUserDataSequence(), ScDocumentConfiguration::setPropertyValue(), and ScTabViewObj::setPropertyValue().
void ScDocument::SetVisible | ( | SCTAB | nTab, |
bool | bVisible | ||
) |
Definition at line 884 of file document.cxx.
References bVisible, and FetchTable().
Referenced by ImportExcel8::Boundsheet(), ImportExcel::Boundsheet(), ScUndoShowHideTab::DoChange(), oox::xls::WorksheetBuffer::finalizeImport(), ScViewFunc::HideTable(), oox::xls::WorksheetBuffer::insertEmptySheet(), ScViewFunc::MoveTable(), ImportExcel::Read(), ImportExcel8::Read(), ScUndoCopyTab::Redo(), ScUndoImportTab::Redo(), ScDocFunc::SetTableVisible(), ScTabView::SetTabNo(), ScViewFunc::ShowTable(), and ScUndoDeleteTab::Undo().
|
inline |
Definition at line 880 of file document.hxx.
References nVisibleTab.
Referenced by ScTabViewShell::Construct(), ScXMLImport::endDocument(), oox::xls::WorkbookHelper::finalizeWorkbookImport(), ImportExcel::PostDocLoad(), and ScModelObj::render().
|
private |
Definition at line 330 of file document10.cxx.
References CORE, mpCellStringPool, and mxPoolHelper.
Referenced by InitClipPtrs(), InitUndo(), and InitUndoSelected().
Definition at line 4297 of file document.cxx.
References FetchTable().
Referenced by XclImpColRowSettings::ConvertHiddenFlags(), ScDataTableColView::HideEntries(), ScOutlineDocFunc::HideOutline(), ScTransferObj::InitDocShell(), ScUndoAutoFormat::Redo(), ScOutlineDocFunc::SelectLevel(), ScViewFunc::SetWidthOrHeight(), ScDocFunc::SetWidthOrHeight(), ScOutlineDocFunc::ShowMarkedOutlines(), and ScOutlineDocFunc::ShowOutline().
Definition at line 4303 of file document.cxx.
References FetchTable().
Referenced by ScDataTableRowView::HideEntries(), ScTransferObj::InitDocShell(), and ScConsData::OutputToDocument().
Definition at line 4309 of file document.cxx.
References FetchTable().
Referenced by XclImpColRowSettings::ConvertHiddenFlags(), ScOutlineDocFunc::HideOutline(), ScOutlineDocFunc::SelectLevel(), ScDocumentImport::setRowsVisible(), ScViewFunc::SetWidthOrHeight(), ScDocFunc::SetWidthOrHeight(), ShowFilteredRows(), ScOutlineDocFunc::ShowMarkedOutlines(), and ScOutlineDocFunc::ShowOutline().
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.
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().
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.
o_bShrunk | Out parameter, true if area was shrunk, false if not. |
bColumnsOnly | If TRUE, shrink only by columns, not rows. |
bStickyTopRow | If TRUE, do not adjust the top row. |
bStickyLeftCol | If TRUE, do not adjust the left column. |
pDataAreaExtras | Consider 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. |
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().
Definition at line 5709 of file document.cxx.
References IsHorOverlapped(), and IsVerOverlapped().
Referenced by ScTabView::ClickCursor(), ScTabViewShell::Execute(), ScTabView::ExpandBlock(), ScViewData::GetPosFromPixel(), ScTabView::MarkRange(), and ScTabView::MoveCursorScreen().
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)
@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().
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().
void ScDocument::StartAllListeners | ( | ) |
Definition at line 582 of file documen7.cxx.
Referenced by CompileXML(), CopyToDocument(), DeleteTab(), DeleteTabs(), InsertCol(), InsertRow(), InsertTab(), InsertTabs(), and MoveTab().
void ScDocument::StartAllListeners | ( | const ScRange & | rRange | ) |
Definition at line 564 of file document10.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), FetchTable(), GetNoListening(), IsClipOrUndo(), ScAddress::Row(), ScTable::StartListeningFormulaCells(), and ScAddress::Tab().
void ScDocument::StartAnimations | ( | SCTAB | nTab | ) |
Definition at line 307 of file documen9.cxx.
References mpDrawLayer, SdrObjListIter::Next(), and pObject.
Referenced by ScTabView::DrawEnableAnim().
void ScDocument::StartChangeTracking | ( | ) |
Definition at line 277 of file documen2.cxx.
References mpShell, pChangeTrack, and SfxObjectShell::SetModified().
Referenced by ScDocShell::Execute().
void ScDocument::StartListeningArea | ( | const ScRange & | rRange, |
bool | bGroupListening, | ||
SvtListener * | pListener | ||
) |
Definition at line 35 of file documen7.cxx.
References LimitRangeToAvailableSheets(), pBASM, and ScAddress::UNINITIALIZED.
Referenced by ScChart2DataSequence::addModifyListener(), ScMacroManager::BroadcastModuleUpdate(), ScServerObject::GetData(), GetLookupCache(), GetSortedRangeCache(), ScChart2DataSequence::RefChanged(), ScServerObject::ScServerObject(), ScTable::SortReorderByColumn(), ScTable::SortReorderByRowRefUpdate(), ScFormulaListener::startListening(), sc::SharedFormulaUtil::startListeningAsGroup(), ScFormulaCell::StartListeningTo(), and ScDBData::StartTableColumnNamesListener().
void ScDocument::StartListeningCell | ( | const ScAddress & | rAddress, |
SvtListener * | pListener | ||
) |
Definition at line 221 of file documen7.cxx.
References FetchTable(), and ScAddress::Tab().
Referenced by sc::SharedFormulaUtil::startListeningAsGroup(), and ScFormulaCell::StartListeningTo().
void ScDocument::StartListeningCell | ( | sc::StartListeningContext & | rCxt, |
const ScAddress & | rPos, | ||
SvtListener & | rListener | ||
) |
Definition at line 239 of file documen7.cxx.
References FetchTable(), and ScAddress::Tab().
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().
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().
void ScDocument::StartNeededListeners | ( | ) |
Definition at line 554 of file document10.cxx.
References maTabs.
Referenced by CopyBlockFromClip(), DeleteArea(), DeleteCol(), DeleteRow(), DeleteSelection(), DeleteSelectionTab(), InsertCol(), and InsertRow().
void ScDocument::StartNeededListeners | ( | const std::shared_ptr< const sc::ColumnSet > & | rpColSet | ) |
Definition at line 559 of file document10.cxx.
References maTabs.
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().
void ScDocument::StopTemporaryChartLock | ( | ) |
Definition at line 406 of file documen3.cxx.
References apTemporaryChartLock.
Definition at line 1026 of file document10.cxx.
References FetchTable(), rStrm, and ScTable::StoreToCache().
Definition at line 4670 of file document.cxx.
References FetchTable().
Referenced by ScOutputData::ScOutputData().
void ScDocument::StyleSheetChanged | ( | const SfxStyleSheetBase * | pStyleSheet, |
bool | bRemoved, | ||
OutputDevice * | pDev, | ||
double | nPPTX, | ||
double | nPPTY, | ||
const Fraction & | rZoomX, | ||
const Fraction & | rZoomY | ||
) |
Definition at line 4924 of file document.cxx.
References maTabs, nPPTX, and nPPTY.
Referenced by lcl_DocStyleChanged(), ScStyleFamilyObj::removeByName(), ScViewFunc::RemoveStyleSheetInUse(), ScStyleObj::setAllPropertiesToDefault(), ScStyleObj::setParentStyle(), ScStyleObj::setPropertyValue_Impl(), and ScViewFunc::UpdateStyleSheetInUse().
void ScDocument::StylesToNames | ( | ) |
Definition at line 6112 of file document.cxx.
References ATTR_PATTERN(), SfxItemPool::GetDefaultItem(), SfxItemPool::GetItemSurrogates(), mxPoolHelper, and ScPatternAttr::StyleToName().
Referenced by ScTabViewShell::ExecStyle().
void ScDocument::SwapNonEmpty | ( | sc::TableValues & | rValues | ) |
Definition at line 229 of file document10.cxx.
References ScRange::aEnd, ScRange::aStart, FetchTable(), sc::TableValues::getRange(), ScRange::IsValid(), sc::EndListeningContext::purgeEmptyBroadcasters(), ScTable::SwapNonEmpty(), and ScAddress::Tab().
Referenced by sc::UndoFormulaToValue::Execute().
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().
Definition at line 892 of file documen3.cxx.
References get(), HasTable(), and maTabs.
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().
void ScDocument::TrackFormulas | ( | SfxHintId | nHintId = SfxHintId::ScDataChanged | ) |
Definition at line 524 of file documen7.cxx.
References bAutoCalc, BroadcastHintInternal(), CalcFormulaTree(), CALCULATE, ScAddress::Col(), ScFormulaCell::GetNextTrack(), HasAnySheetEventScript(), IsAutoCalcShellDisabled(), IsCalculatingFormulaTree(), IsFinalTrackFormulas(), IsInInterpreter(), nFormulaTrackCount, pBASM, pFormulaTrack, PutInFormulaTree(), RemoveFromFormulaTrack(), ScAddress::Row(), SetCalcNotification(), SetForcedFormulaPending(), SetForcedFormulas(), SetTrackFormulasPending(), and ScAddress::Tab().
Referenced by AreaBroadcast(), Broadcast(), BroadcastCells(), ScAddInAsync::CallBack(), CompileXML(), ScDdeLink::DataChanged(), ScWebServiceLink::DataChanged(), FinalTrackFormulas(), ScBroadcastAreaSlotMachine::LeaveBulkBroadcast(), ScAddInListener::modified(), ScFormulaCell::SetDirty(), ScColumn::SetDirty(), ScFormulaCell::SetTableOpDirty(), and UpdateExternalRefLinks().
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().
void ScDocument::TransferDrawPage | ( | const ScDocument & | rSrcDoc, |
SCTAB | nSrcPos, | ||
SCTAB | nDestPos | ||
) |
Definition at line 67 of file documen9.cxx.
References ScChartHelper::AdjustRangesOfChartsOnDestinationPage(), SdrObject::CloneSdrObject(), ScStyleSheetPool::CopyStyleFrom(), SdrObject::GetStyleSheet(), GetStyleSheetPool(), SdrObjList::InsertObject(), mpDrawLayer, SdrObjListIter::Next(), and ScChartHelper::UpdateChartsOnDestinationPage().
Referenced by TransferTab().
sal_uLong ScDocument::TransferTab | ( | ScDocument & | rSrcDoc, |
SCTAB | nSrcPos, | ||
SCTAB | nDestPos, | ||
bool | bInsertNew = true , |
||
bool | bResultsOnly = false |
||
) |
Definition at line 946 of file documen2.cxx.
References ScRange::aEnd, ALL, aName, ScRange::aStart, ScRangeName::CopyUsedNames(), CreateValidTabName(), FetchTable(), FORMULA, get(), GetAutoCalc(), SfxObjectShell::GetBasicContainer(), SfxObjectShell::GetBasicManager(), GetCodeName(), GetDocumentShell(), INetURLObject::GetMainURL(), SfxObjectShell::GetMedium(), BasicManager::GetName(), SfxShell::GetName(), GetName(), GetRangeName(), GetTableCount(), SfxMedium::GetURLObject(), InsertTab(), IsInVBAMode(), IsPrintEntireSheet(), maFileURL, sc::RefUpdateContext::maRange, maTabs, MaxCol(), MaxRow(), sc::RefUpdateContext::meMode, sc::RefUpdateContext::mnTabDelta, mpShell, nPos, pBASM, SetAutoCalc(), SetDirty(), SetNoListening(), ScAddress::SetTab(), INetURLObject::ToIUri, TransferDrawPage(), URM_COPY, and VBA_InsertModule().
Referenced by LinkExternalTab(), and ScTableLink::Refresh().
void ScDocument::TransliterateText | ( | const ScMarkData & | rMultiMark, |
TransliterationFlags | nType | ||
) |
Definition at line 1205 of file documen8.cxx.
References ATTR_CJK_FONT_LANGUAGE(), ATTR_CTL_FONT_LANGUAGE(), ATTR_FONT_LANGUAGE(), CELLTYPE_EDIT, CELLTYPE_STRING, ScPatternAttr::FillEditItemSet(), GetAttr(), GetEditPool(), ScRefCellValue::getEditText(), GetEnginePool(), GetNextMarkedCell(), GetPattern(), GetPreviewCellStyle(), GetPreviewFont(), comphelper::getProcessComponentContext(), ScRefCellValue::getSharedString(), svl::SharedString::getString(), GetStringScriptType(), GetTableCount(), ScRefCellValue::getType(), GetValue(), ScMarkData::IsCellMarked(), ScMarkData::IsMultiMarked(), LANGUAGE_SYSTEM, maTabs, nCount, utl::TransliterationWrapper::needLanguageForTheMode(), ScEditAttrTester::NeedsObject(), nType, SetEditText(), SetString(), ScPatternAttr::SetStyleSheet(), ScSetStringParam::setTextInput(), and utl::TransliterationWrapper::transliterate().
Referenced by ScUndoTransliterate::Redo(), and ScDocFunc::TransliterateText().
void ScDocument::TransposeClip | ( | ScDocument * | pTransClip, |
InsertDeleteFlags | nFlags, | ||
bool | bAsLink, | ||
bool | bIncludeFiltered | ||
) |
Definition at line 2295 of file document.cxx.
References ScRange::aEnd, ScRange::aStart, bIsClip, ScRangeName::clear(), ScAddress::Col(), CountNonFilteredRows(), GetClipParam(), GetRangeName(), GetTableCount(), ScClipParam::getWholeRange(), HasFilteredRows(), i, InitDrawLayer(), ScClipParam::isMultiRange(), ScClipParam::maRanges, maTabs, ScClipParam::mbCutMode, ScClipParam::meDirection, mpDrawLayer, n, nIndex, OBJECTS, pData, pRangeName, ResetClip(), ScAddress::Row(), ScClipParam::Row, SAL_WARN, SetClipParam(), ScRangeList::size(), ScAddress::Tab(), ScClipParam::transpose(), and ValidRow().
Referenced by ScViewFunc::PasteFromClip(), and ScViewFunc::PasteMultiRangesFromClip().
void ScDocument::UndoToDocument | ( | const ScRange & | rRange, |
InsertDeleteFlags | nFlags, | ||
bool | bMarked, | ||
ScDocument & | rDestDoc | ||
) |
Definition at line 2115 of file document.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), CopyToDocument(), FORMULA, GetTableCount(), i, maTabs, MaxCol(), MaxRow(), ScRange::PutInOrder(), ScAddress::Row(), and ScAddress::Tab().
void ScDocument::UndoToDocument | ( | SCCOL | nCol1, |
SCROW | nRow1, | ||
SCTAB | nTab1, | ||
SCCOL | nCol2, | ||
SCROW | nRow2, | ||
SCTAB | nTab2, | ||
InsertDeleteFlags | nFlags, | ||
bool | bMarked, | ||
ScDocument & | rDestDoc | ||
) |
Definition at line 2053 of file document.cxx.
References CopyToDocument(), FORMULA, GetTableCount(), i, maTabs, MaxCol(), MaxRow(), MAXTAB, PutInOrder(), and ValidTab().
void ScDocument::UnlockAdjustHeight | ( | ) |
Definition at line 1781 of file document.cxx.
References nAdjustHeightLock.
Referenced by ScXMLImport::endDocument(), oox::xls::WorkbookGlobals::finalize(), ScModelObj::setPropertyValue(), and ScVbaApplication::setScreenUpdating().
void ScDocument::UnlockTable | ( | SCTAB | nTab | ) |
Definition at line 5307 of file document.cxx.
References FetchTable().
Referenced by ScValidationData::DoMacro(), ScValidationData::DoScript(), and ScInterpreter::ScMacro().
Make specified formula cells non-grouped.
nTab | sheet index |
nCol | column index |
rRows | list 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().
void ScDocument::UpdateAllRowHeights | ( | sc::RowHeightContext & | rCxt, |
const ScMarkData * | pTabMark | ||
) |
Definition at line 4274 of file document.cxx.
References GetDocumentShell(), GetTableCount(), ScMarkData::GetTableSelect(), maTabs, MaxRow(), and ScResId().
void ScDocument::UpdateAreaLinks | ( | ) |
Definition at line 1044 of file documen8.cxx.
References GetDocLinkManager(), sc::DocumentLinkManager::getLinkManager(), sfx2::LinkManager::GetLinks(), and sfx2::SvBaseLink::Update().
void ScDocument::UpdateBroadcastAreas | ( | UpdateRefMode | eUpdateRefMode, |
const ScRange & | rRange, | ||
SCCOL | nDx, | ||
SCROW | nDy, | ||
SCTAB | nDz | ||
) |
Definition at line 590 of file documen7.cxx.
References IsExpandRefs(), pBASM, SC_MOD, SetExpandRefs(), and URM_INSDEL.
Referenced by DeleteCol(), DeleteRow(), DeleteTab(), DeleteTabs(), InsertCol(), InsertRow(), InsertTab(), and InsertTabs().
void ScDocument::UpdateChart | ( | const OUString & | rName | ) |
Definition at line 335 of file documen5.cxx.
References apTemporaryChartLock, bInDtorClear, GetChartByName(), SfxObjectShell::IsEnableSetModified(), mpDrawLayer, mpShell, and pChartListenerCollection.
Referenced by ScDBFunc::DoUpdateCharts(), ScChartListener::Update(), and ScChartListener::UpdateChartIntersecting().
void ScDocument::UpdateChartArea | ( | const OUString & | rChartName, |
const ScRange & | rNewArea, | ||
bool | bColHeaders, | ||
bool | bRowHeaders, | ||
bool | bAdd | ||
) |
Definition at line 130 of file documen5.cxx.
References UpdateChartArea().
Referenced by ScUndoChartData::Redo(), ScUndoChartData::Undo(), ScChartObj::Update_Impl(), and UpdateChartArea().
void ScDocument::UpdateChartArea | ( | const OUString & | rChartName, |
const ScRangeListRef & | rNewList, | ||
bool | bColHeaders, | ||
bool | bRowHeaders, | ||
bool | bAdd | ||
) |
Definition at line 253 of file documen5.cxx.
References GetAddressConvention(), ScChartHelper::GetChartFromSdrObject(), SfxObjectShell::GetModel(), SdrOle2Obj::GetPersistName(), lcl_GetChartParameters(), lcl_SetChartParameters(), maTabs, mpDrawLayer, mpShell, SdrObjListIter::Next(), pChartListenerCollection, pObject, and RANGE_ABS_3D.
void ScDocument::UpdateChartListenerCollection | ( | ) |
Definition at line 571 of file documen5.cxx.
References bChartListenerCollectionNeedsUpdate, maTabs, mpDrawLayer, SdrObjListIter::Next(), PastingDrawFromOtherDoc(), pChartListenerCollection, pObject, and ScChartListener::SetUsed().
Referenced by ScTransferObj::InitDocShell(), ScViewFunc::MoveTable(), and ImportExcel8::PostDocLoad().
void ScDocument::UpdateChartRef | ( | UpdateRefMode | eUpdateRefMode, |
SCCOL | nCol1, | ||
SCROW | nRow1, | ||
SCTAB | nTab1, | ||
SCCOL | nCol2, | ||
SCROW | nRow2, | ||
SCTAB | nTab2, | ||
SCCOL | nDx, | ||
SCROW | nDy, | ||
SCTAB | nDz | ||
) |
Definition at line 394 of file documen5.cxx.
References ScRange::aEnd, ScRange::aStart, ScChartListener::ChangeListening(), ScAddress::Col(), FindOleObjectByName(), ScChartListener::GetName(), ScChartListener::GetRangeList(), i, mpDrawLayer, pChartListenerCollection, ScAddress::Row(), ScAddress::Tab(), svt::EmbeddedObjectRef::TryRunningState(), ScRefUpdate::Update(), UR_INVALID, UR_NOTHING, and URM_INSDEL.
Referenced by CopyTab(), DeleteTab(), DeleteTabs(), InsertTab(), InsertTabs(), MoveTab(), and UpdateReference().
|
private |
Definition at line 182 of file documen9.cxx.
References eCjkLanguage, eCtlLanguage, EE_CHAR_LANGUAGE(), EE_CHAR_LANGUAGE_CJK(), EE_CHAR_LANGUAGE_CTL(), eLanguage, mpDrawLayer, and SfxItemPool::SetPoolDefaultItem().
Referenced by InitDrawLayer(), and SetLanguage().
|
private |
Definition at line 193 of file documen9.cxx.
References GetRefDevice(), and mpDrawLayer.
Referenced by GetPrinter(), InitDrawLayer(), and SetPrinter().
void ScDocument::UpdateExternalRefLinks | ( | weld::Window * | pWin | ) |
Definition at line 789 of file documen8.cxx.
References bAutoCalc, Application::CreateMessageDialog(), sfx2::LinkManager::GetDisplayNames(), GetDocLinkManager(), GetDocumentShell(), sc::DocumentLinkManager::getLinkManager(), sfx2::LinkManager::GetLinks(), INetURLObject::GetMainURL(), GetViewBindings(), i, SfxBindings::Invalidate(), SfxObjectShell::IsModified(), mpShell, n, nCount, pExternalRefMgr, ScResId(), SfxObjectShell::SetModified(), ScProgress::SetState(), sMessage, TrackFormulas(), INetURLObject::Unambiguous, sfx2::SvBaseLink::Update(), and INetURLObject::WasEncoded.
void ScDocument::UpdateFontCharSet | ( | ) |
Definition at line 533 of file documen9.cxx.
References ATTR_FONT(), EE_CHAR_FONTINFO(), eSrcSet, SvxFontItem::GetCharSet(), SfxItemPool::GetItemSurrogates(), mpDrawLayer, mxPoolHelper, nSrcVer, SC_FONTCHARSET, and SvxFontItem::SetCharSet().
Definition at line 1143 of file documen3.cxx.
References GetTableCount(), i, maTabs, pRangeName, and UpdateGrow().
Referenced by FitBlock(), and UpdateGrow().
Adapt Outline.
Definition at line 1415 of file documen3.cxx.
References FetchTable().
Referenced by ScViewFunc::SetWidthOrHeight(), and ScDocFunc::SetWidthOrHeight().
Definition at line 1424 of file documen3.cxx.
References FetchTable().
Referenced by ScConsData::OutputToDocument(), ScViewFunc::SetWidthOrHeight(), and ScDocFunc::SetWidthOrHeight().
Definition at line 6210 of file document.cxx.
References FetchTable().
Referenced by sc::PrintPageRanges::calculate(), ScDocFunc::DeleteCells(), ScTableSheetObj::getColumnPageBreaks(), ScTableSheetObj::getRowPageBreaks(), ScOutlineDocFunc::HideMarkedOutlines(), ScOutlineDocFunc::HideOutline(), IMPL_LINK(), ScDocFunc::InsertCells(), ScDocFunc::InsertPageBreak(), ScDBDocFunc::Query(), ScUndoRemoveBreaks::Redo(), ScTableSheetObj::removeAllManualPageBreaks(), ScOutlineDocFunc::RemoveAllOutlines(), ScViewFunc::RemoveManualBreaks(), ScDocFunc::RemovePageBreak(), ScPrintFunc::ResetBreaks(), ScOutlineDocFunc::SelectLevel(), ScDocumentImport::setRowsVisible(), ScViewFunc::SetWidthOrHeight(), ScDocFunc::SetWidthOrHeight(), ScOutlineDocFunc::ShowMarkedOutlines(), ScOutlineDocFunc::ShowOutline(), ScUndoWidthOrHeight::Undo(), ScUndoOutlineLevel::Undo(), ScUndoOutlineBlock::Undo(), ScUndoRemoveAllOutlines::Undo(), and ScUndoQuery::Undo().
|
private |
Definition at line 1078 of file documen8.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), ScAreaLink::GetDestArea(), GetDocLinkManager(), sc::DocumentLinkManager::getLinkManager(), sfx2::LinkManager::GetLinks(), i, nCount, pLink, sfx2::LinkManager::Remove(), ScAddress::Row(), ScAddress::Tab(), ScRefUpdate::Update(), and UR_NOTHING.
Referenced by CopyTab(), DeleteTab(), DeleteTabs(), InsertTab(), InsertTabs(), MoveTab(), and UpdateReference().
void ScDocument::UpdateReference | ( | sc::RefUpdateContext & | rCxt, |
ScDocument * | pUndoDoc = nullptr , |
||
bool | bIncludeDraw = true , |
||
bool | bUpdateNoteCaptionPos = true |
||
) |
Definition at line 1008 of file documen3.cxx.
References aEmbedRange, ScRange::aEnd, ScRange::aStart, bIsEmbedded, ScAddress::Col(), CORE, ScModule::GetClipDoc(), GetClipParam(), GetMaxColCount(), GetMaxRowCount(), i, IsClipboardSource(), sc::RefUpdateContext::isInserted(), sc::RefUpdateContext::maRange, maTabs, ScClipParam::mbCutMode, sc::RefUpdateContext::meMode, sc::RefUpdateContext::mnColDelta, sc::RefUpdateContext::mnRowDelta, sc::RefUpdateContext::mnTabDelta, n, pDBCollection, pDetOpList, pDPCollection, pRangeName, pUnoBroadcaster, pValidationList, ScAddress::Row(), SC_MOD, ScAddress::Tab(), ScRefUpdate::Update(), UpdateChartRef(), UpdateRefAreaLinks(), URM_COPY, URM_INSDEL, ValidRange(), xColNameRanges, and xRowNameRanges.
Referenced by CopyBlockFromClip(), CopyOneCellFromClip(), DeleteCol(), DeleteRow(), InsertCol(), InsertRow(), and ScChangeActionMove::Reject().
Definition at line 337 of file document10.cxx.
References ScAddress::Col(), FetchTable(), ScAddress::Row(), ScAddress::Tab(), and ScTable::UpdateScriptTypes().
Referenced by ScViewFunc::AdjustBlockHeight(), and ScDBDocFunc::Sort().
void ScDocument::UpdateTranspose | ( | const ScAddress & | rDestPos, |
ScDocument * | pClipDoc, | ||
const ScMarkData & | rMark, | ||
ScDocument * | pUndoDoc | ||
) |
pClipDoc | original 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().
void ScDocument::UpdStlShtPtrsFrmNms | ( | ) |
Definition at line 6099 of file document.cxx.
References ATTR_PATTERN(), SfxItemPool::GetDefaultItem(), SfxItemPool::GetItemSurrogates(), mxPoolHelper, and ScPatternAttr::UpdateStyleSheet().
Referenced by ScTabViewShell::ExecStyle().
|
inline |
Definition at line 904 of file document.hxx.
References MaxCol(), MaxRow(), and ValidAddress().
Referenced by ImportLotus::Errcell(), ImportLotus::Formulacell(), ScFormulaCell::GetFormula(), ScFormulaCell::GetMatrixOrigin(), ScCompiler::HandleColRowName(), ImportLotus::Labelcell(), lcl_ScDetectiveRefIter_SkipRef(), ImportLotus::Nacell(), ImportLotus::Numbercell(), OP_Formula123(), OP_IEEENumber123(), OP_Integer(), OP_Number(), OP_Number123(), and ImportLotus::Smallnumcell().
|
inline |
Definition at line 899 of file document.hxx.
References mxSheetLimits, and ValidCol().
Referenced by ScCompiler::AdjustSumRangeShape(), AlphaToCol(), CompareDocument(), ScBroadcastAreaSlotMachine::ComputeSlotOffset(), DeleteCol(), ScGridWindow::Draw(), sc::RangeColumnSpanSet::executeColumnAction(), FillInfo(), ScInterpreter::GetDBParams(), HasColBreak(), HasColNotes(), ScCellIterator::init(), lcl_PutString(), ScTabView::MarkCursor(), ScDocFunc::MoveBlock(), OP_ColumnWidth(), ScViewFunc::PasteFromClip(), ScViewFunc::PasteFromClipToMultiRanges(), ScViewFunc::PasteMultiRangesFromClip(), RemoveColBreak(), RowDifferences(), ScInterpreter::ScAddressFunc(), ScHorizontalValueIterator::ScHorizontalValueIterator(), ScFormatFilterPluginImpl::ScImportDif(), ScInterpreter::ScOffset(), ScValueIterator::ScValueIterator(), sc::ColumnSpanSet::set(), SetColBreak(), DifAttrCache::SetNumFormat(), ScInterpreter::SingleRefToVars(), ScHTMLLayoutParser::SkipLocked(), ScInputHandler::StartTable(), ScImportExport::Text2Doc(), ScGridWindow::UpdateDragRectOverlay(), ScTable::ValidCol(), and ScEEImport::WriteToDocument().
Definition at line 901 of file document.hxx.
References MaxCol(), MaxRow(), and ValidColRow().
Referenced by ExtendMerge(), ExtendOverlapped(), ScDetectiveFunc::GetDrawPos(), ScInterpreter::GetExternalDoubleRef(), HasNote(), InsertMatrixFormula(), InsertTableOp(), ScTabView::MoveCursorAbs(), ScTabView::MoveCursorRel(), OP_Formula(), OP_Label(), OP_NamedRange(), OP_SymphNamedRange(), ScDBDocFunc::Query(), ScAreaLink::Refresh(), sc::ColumnSpanSet::scan(), Solver(), and ScTable::ValidColRow().
Definition at line 902 of file document.hxx.
References MaxCol(), MaxRow(), and ValidColRowTab().
Referenced by ScDrawLayer::GetCellRect().
bool ScDocument::ValidNewTabName | ( | const OUString & | rName | ) | const |
Definition at line 357 of file document.cxx.
References a, ScGlobal::getCharClass(), maTabs, CharClass::uppercase(), and ValidTabName().
Referenced by ScDrawLayer::CopyFromClip(), CopyTab(), CreateValidTabName(), CreateValidTabNames(), ScCellShell::Execute(), IMPL_LINK_NOARG(), InsertTab(), and ScChangeActionDel::Reject().
|
inline |
Definition at line 903 of file document.hxx.
References MaxCol(), MaxRow(), and ValidRange().
Referenced by ScInterpreter::ScColRowNameAuto(), and UpdateReference().
|
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().
|
static |
Definition at line 318 of file document.cxx.
References i.
Referenced by ScMoveTableDlg::CheckNewTabName(), ScTpDefaultsOptions::CheckPrefix(), CopyTab(), CreateValidTabName(), CreateValidTabNames(), ScCellShell::Execute(), IMPL_LINK_NOARG(), RenameTab(), SetTabNameOnLoad(), and ValidNewTabName().
|
friend |
Definition at line 343 of file document.hxx.
|
friend |
Definition at line 335 of file document.hxx.
|
friend |
Definition at line 327 of file document.hxx.
|
friend |
Definition at line 340 of file document.hxx.
|
friend |
Definition at line 338 of file document.hxx.
|
friend |
Definition at line 326 of file document.hxx.
|
friend |
Definition at line 334 of file document.hxx.
|
friend |
Definition at line 337 of file document.hxx.
|
friend |
Definition at line 336 of file document.hxx.
|
friend |
Definition at line 342 of file document.hxx.
|
friend |
Definition at line 333 of file document.hxx.
|
friend |
Definition at line 332 of file document.hxx.
|
friend |
Definition at line 325 of file document.hxx.
|
friend |
Definition at line 345 of file document.hxx.
|
friend |
Definition at line 344 of file document.hxx.
|
friend |
Definition at line 331 of file document.hxx.
|
friend |
Definition at line 329 of file document.hxx.
|
friend |
Definition at line 341 of file document.hxx.
Referenced by GetRefCellValue().
|
friend |
Definition at line 339 of file document.hxx.
Referenced by AddUndoTab(), AppendTabOnLoad(), CopyTab(), EnsureTable(), InitUndo(), InitUndoSelected(), InsertTab(), InsertTabs(), MakeTable(), and ResetClip().
|
friend |
Definition at line 324 of file document.hxx.
|
private |
Definition at line 439 of file document.hxx.
Referenced by IdleCalcTextWidth(), and ScDocument().
|
private |
Definition at line 418 of file document.hxx.
Referenced by GetCodeName(), and SetCodeName().
|
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().
|
private |
Definition at line 438 of file document.hxx.
Referenced by GetEmbedded(), GetEmbeddedRect(), ResetEmbedded(), SetEmbedded(), and UpdateReference().
ScInterpreterTableOpParams ScDocument::aLastTableOpParams |
Definition at line 448 of file document.hxx.
Referenced by InvalidateLastTableOpParams(), and ScInterpreter::ScTableOp().
|
private |
Definition at line 384 of file document.hxx.
Referenced by KeyInput(), ScDocument(), StopTemporaryChartLock(), UpdateChart(), and ~ScDocument().
|
private |
Definition at line 441 of file document.hxx.
Referenced by ScDocument(), and StartTrackTimer().
|
private |
Definition at line 487 of file document.hxx.
Referenced by CalcFormulaTree(), CheckVectorizationState(), CopyDdeLinks(), CreateDdeLink(), GetAutoCalc(), InitDrawLayer(), LoadDdeLinks(), SetAllFormulasDirty(), SetAutoCalc(), SetDirty(), SetTableOpDirty(), TrackFormulas(), and UpdateExternalRefLinks().
|
private |
Definition at line 488 of file document.hxx.
Referenced by IsAutoCalcShellDisabled(), and SetAutoCalcShellDisabled().
|
private |
Definition at line 506 of file document.hxx.
Referenced by CalcAfterLoad(), and IsCalcingAfterLoad().
|
private |
Definition at line 493 of file document.hxx.
Referenced by CalcFormulaTree(), and IsCalculatingFormulaTree().
|
private |
Definition at line 511 of file document.hxx.
Referenced by IsChartListenerCollectionNeedsUpdate(), SetChartListenerCollectionNeedsUpdate(), and UpdateChartListenerCollection().
|
private |
Definition at line 531 of file document.hxx.
Referenced by EnableDelayDeletingBroadcasters(), and IsDelayedDeletingBroadcasters().
|
private |
Definition at line 522 of file document.hxx.
Referenced by IsDetectiveDirty(), and SetDetectiveDirty().
|
private |
Definition at line 520 of file document.hxx.
Referenced by IsExpandRefs(), and SetExpandRefs().
|
private |
Definition at line 492 of file document.hxx.
Referenced by IsForcedFormulaPending(), and SetForcedFormulaPending().
|
private |
Definition at line 513 of file document.hxx.
Referenced by SetAutoCalc(), and SetForcedFormulas().
|
private |
Definition at line 505 of file document.hxx.
Referenced by CreateFieldEditEngine(), InitDrawLayer(), IsBlockEditable(), IsDocEditable(), IsImportingXML(), IsSelectionEditable(), SetImportingXML(), and SetLayoutRTL().
|
private |
Definition at line 515 of file document.hxx.
Referenced by IsInDtorClear(), UpdateChart(), and ~ScDocument().
|
private |
Definition at line 510 of file document.hxx.
Referenced by IsInLinkUpdate(), SetInLinkUpdate(), and ~ScDocument().
|
private |
Definition at line 503 of file document.hxx.
Referenced by CopyFromClip(), CopyMultiRangeFromClip(), DeleteTab(), DeleteTabs(), IsInsertingFromOtherDoc(), and SetInsertingFromOtherDoc().
|
private |
Definition at line 542 of file document.hxx.
Referenced by AddUnoListenerCall(), BroadcastUno(), and RemoveUnoObject().
|
private |
Definition at line 543 of file document.hxx.
Referenced by BroadcastUno().
|
private |
Definition at line 494 of file document.hxx.
Referenced by CalcAfterLoad(), ClosingClipboardSource(), CopyDdeLinks(), CopyFromClip(), CopyMultiRangeFromClip(), CopyTabToClip(), CopyToClip(), GetClipArea(), GetClipStart(), InitClipPtrs(), IsClipboard(), IsClipboardSource(), IsClipOrUndo(), IsCutMode(), ResetClip(), SetClipArea(), SetCutMode(), TransposeClip(), UpdateTranspose(), and ~ScDocument().
|
private |
Definition at line 499 of file document.hxx.
Referenced by IsEmbedded(), ResetEmbedded(), SetEmbedded(), and UpdateReference().
|
private |
Definition at line 496 of file document.hxx.
Referenced by IsFunctionAccess().
|
private |
Definition at line 495 of file document.hxx.
Referenced by AddUndoTab(), DeleteArea(), EnsureTable(), InitUndo(), InitUndoSelected(), IsClipOrUndo(), IsUndo(), and ~ScDocument().
|
private |
Definition at line 497 of file document.hxx.
Referenced by IsDocVisible(), RepaintRange(), and SetDocVisible().
|
private |
Definition at line 533 of file document.hxx.
Referenced by HasLinkFormulaNeedingCheck(), and SetLinkFormulaNeedingCheck().
|
private |
Definition at line 504 of file document.hxx.
Referenced by MakeTable(), and SetLoadingMedium().
|
private |
Definition at line 508 of file document.hxx.
Referenced by GetNoListening(), and SetNoListening().
|
private |
Definition at line 538 of file document.hxx.
Referenced by PastingDrawFromOtherDoc(), and SetPastingDrawFromOtherDoc().
|
mutableprivate |
Definition at line 547 of file document.hxx.
Referenced by InvalidateStyleSheetUsage(), and IsStyleSheetUsed().
|
private |
Definition at line 453 of file document.hxx.
Referenced by GetLanguage(), SetLanguage(), and UpdateDrawLanguages().
|
private |
Definition at line 454 of file document.hxx.
Referenced by GetLanguage(), SetLanguage(), and UpdateDrawLanguages().
|
private |
Definition at line 545 of file document.hxx.
Referenced by GetAddressConvention(), GetGrammar(), and SetGrammar().
|
private |
Definition at line 480 of file document.hxx.
Referenced by AreaBroadcast(), Broadcast(), BroadcastCells(), CalcFormulaTree(), GetHardRecalcState(), and SetHardRecalcState().
|
private |
Definition at line 452 of file document.hxx.
Referenced by GetLanguage(), SetLanguage(), and UpdateDrawLanguages().
|
private |
Definition at line 485 of file document.hxx.
Referenced by GetLinkMode(), and SetLinkMode().
|
private |
Definition at line 455 of file document.hxx.
Referenced by ScDocument(), SetSrcCharSet(), and UpdateFontCharSet().
|
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().
|
private |
Definition at line 568 of file document.hxx.
Referenced by GetIconSetBitmapMap().
std::vector<ScInterpreterTableOpParams*> ScDocument::m_TableOpList |
list of ScInterpreterTableOpParams currently in use
Definition at line 447 of file document.hxx.
Referenced by AddTableOpFormulaCell(), ScInterpreter::DoubleRefToRange(), ScInterpreter::DoubleRefToVars(), ScInterpreter::IsTableOpInRange(), ScInterpreter::PopSingleRef(), ScInterpreter::ReplaceCell(), and ScInterpreter::ScTableOp().
|
private |
Definition at line 366 of file document.hxx.
Referenced by GetCalcConfig(), and SetCalcConfig().
|
private |
Definition at line 419 of file document.hxx.
Referenced by CopyTabToClip(), CopyToClip(), GetFileURL(), InitUndo(), and TransferTab().
|
mutableprivate |
Definition at line 473 of file document.hxx.
Referenced by GetNonThreadedContext(), and MergeContextBackIntoNonThreadedContext().
|
private |
Definition at line 467 of file document.hxx.
Referenced by GetRecursionHelper(), and ~ScDocument().
|
private |
Definition at line 433 of file document.hxx.
Referenced by GetPreviewSelection(), ScDocument(), and SetPreviewSelection().
|
private |
Definition at line 557 of file document.hxx.
Referenced by AddSubTotalCell(), RemoveSubTotalCell(), and SetSubTotalCellsDirty().
|
private |
Definition at line 380 of file document.hxx.
Referenced by CopyTabToClip(), CopyToClip(), and GetCopyTabName().
|
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().
|
staticprivate |
Definition at line 471 of file document.hxx.
Referenced by CalculateInColumnInThread(), GetRecursionHelper(), GetThreadedContext(), and ~ScDocument().
|
private |
Definition at line 551 of file document.hxx.
Referenced by EnableChangeReadOnly(), IsBlockEditable(), IsChangeReadOnlyEnabled(), IsDocEditable(), and IsSelectionEditable().
|
private |
Definition at line 573 of file document.hxx.
Referenced by IsInDocShellRecalc(), and SetDocShellRecalc().
|
private |
Definition at line 560 of file document.hxx.
Referenced by IsEmbedFonts(), and SetEmbedFonts().
|
private |
Definition at line 563 of file document.hxx.
Referenced by IsEmbedFontScriptAsian(), and SetEmbedFontScriptAsian().
|
private |
Definition at line 564 of file document.hxx.
Referenced by IsEmbedFontScriptComplex(), and SetEmbedFontScriptComplex().
|
private |
Definition at line 562 of file document.hxx.
Referenced by IsEmbedFontScriptLatin(), and SetEmbedFontScriptLatin().
|
private |
Definition at line 561 of file document.hxx.
Referenced by IsEmbedUsedFontsOnly(), and SetEmbedUsedFontsOnly().
|
private |
Definition at line 550 of file document.hxx.
Referenced by EnableExecuteLink(), and IsExecuteLinkEnabled().
|
private |
Definition at line 571 of file document.hxx.
Referenced by FinalTrackFormulas(), and IsFinalTrackFormulas().
|
private |
Definition at line 364 of file document.hxx.
Referenced by BlockFormulaGroupContextDiscard(), and DiscardFormulaGroupContext().
|
private |
Definition at line 509 of file document.hxx.
Referenced by EnableIdle(), IdleCalcTextWidth(), and IsIdleEnabled().
|
private |
Definition at line 575 of file document.hxx.
Referenced by IsInLayoutStrings(), and SetLayoutStrings().
|
private |
Definition at line 552 of file document.hxx.
Referenced by IsStreamValidLocked(), and LockStreamValid().
|
private |
Definition at line 570 of file document.hxx.
Referenced by FinalTrackFormulas(), IsTrackFormulasPending(), and SetTrackFormulasPending().
|
private |
Definition at line 549 of file document.hxx.
Referenced by EnableUndo(), and IsUndoEnabled().
|
private |
Definition at line 553 of file document.hxx.
Referenced by EnableUserInteraction(), and IsUserInteractionEnabled().
|
private |
Definition at line 566 of file document.hxx.
Referenced by GetImagePreferredDPI(), and SetImagePreferredDPI().
|
private |
Definition at line 577 of file document.hxx.
Referenced by ScMutationDisable::ScMutationDisable(), ScMutationGuard::ScMutationGuard(), ScMutationDisable::~ScMutationDisable(), and ScMutationGuard::~ScMutationGuard().
|
private |
Definition at line 555 of file document.hxx.
Referenced by GetNamedRangesLockCount(), and SetNamedRangesLockCount().
|
private |
Definition at line 402 of file document.hxx.
Referenced by GetAnonymousDBData(), SetAnonymousDBData(), and ~ScDocument().
|
private |
Definition at line 360 of file document.hxx.
Referenced by GetSharedStringPool(), SharePooledResources(), and ~ScDocument().
|
private |
Definition at line 426 of file document.hxx.
Referenced by GetClipOptions(), and SetClipOptions().
|
private |
Definition at line 408 of file document.hxx.
Referenced by GetClipParam(), and SetClipParam().
|
private |
Definition at line 403 of file document.hxx.
Referenced by GetExternalDataMapper().
|
private |
Definition at line 361 of file document.hxx.
Referenced by GetDocLinkManager().
|
private |
Definition at line 374 of file document.hxx.
Referenced by BeginDrawUndo(), Clear(), CopyBlockFromClip(), ScTable::CopyOneCellFromClip(), CopyTab(), CopyToClip(), DeleteObjectsInArea(), DeleteObjectsInSelection(), DrawGetPrintArea(), EnableUndo(), EnsureGraphicNames(), FindOleObjectByName(), GetChartByName(), GetDataStart(), GetDrawBroadcaster(), GetDrawLayer(), GetObjectAtPoint(), GetOldChartParameters(), GetPrintArea(), GetPrintAreaHor(), GetPrintAreaVer(), HasAnyDraw(), HasBackgroundDraw(), HasChartAtPoint(), HasDetectiveObjects(), HasOLEObjectsInArea(), InitDrawLayer(), MoveTab(), SetAsianCompression(), SetAsianKerning(), SetChartRangeList(), SetForbiddenCharacters(), SetImportingXML(), SetLayoutRTL(), StartAnimations(), TransferDrawPage(), TransposeClip(), UpdateChart(), UpdateChartArea(), UpdateChartListenerCollection(), UpdateChartRef(), UpdateDrawLanguages(), UpdateDrawPrinter(), UpdateFontCharSet(), and ~ScDocument().
|
private |
Definition at line 369 of file document.hxx.
Referenced by GetEditEngine(), SetAsianCompression(), SetAsianKerning(), SetForbiddenCharacters(), and ~ScDocument().
|
private |
Definition at line 363 of file document.hxx.
Referenced by CalcFormulaTree(), DiscardFormulaGroupContext(), GetFormulaGroupContext(), InterpretDirtyCells(), PrepareFormulaCalc(), and ~ScDocument().
|
private |
Definition at line 411 of file document.hxx.
Referenced by GetMacroManager().
|
private |
Definition at line 370 of file document.hxx.
Referenced by GetNoteEngine(), and ~ScDocument().
|
private |
Definition at line 372 of file document.hxx.
Referenced by GetPrinter(), SetPrinter(), SetPrintOptions(), and ~ScDocument().
|
private |
Definition at line 371 of file document.hxx.
Referenced by CopyTabToClip(), CopyToClip(), EndChangeTracking(), GetDocumentID(), GetDocumentShell(), GetViewBindings(), InitDrawLayer(), InitUndo(), IsBlockEditable(), IsClipboardSource(), IsDocEditable(), IsInVBAMode(), IsSelectionEditable(), LinkExternalTab(), RepaintRange(), StartChangeTracking(), TransferTab(), UpdateChart(), UpdateChartArea(), and UpdateExternalRefLinks().
|
private |
Definition at line 368 of file document.hxx.
Referenced by GetUndoManager().
|
private |
Definition at line 373 of file document.hxx.
Referenced by GetVirtualDevice_100th_mm(), and ~ScDocument().
|
private |
Definition at line 475 of file document.hxx.
Referenced by GetLookupCache(), and GetSortedRangeCache().
|
private |
Definition at line 2700 of file document.hxx.
Referenced by GetSortParam(), and SetSortParam().
|
mutableprivate |
Definition at line 415 of file document.hxx.
Referenced by GetFormulaParserPool(), and ~ScDocument().
|
private |
Definition at line 358 of file document.hxx.
Referenced by ApplySelectionPattern(), CopyStdStylesFrom(), FillInfo(), GetAttr(), GetCellScriptType(), GetCondResult(), GetDefPattern(), GetEditPool(), GetEditTextDirection(), GetEffItem(), GetEnginePool(), GetFormatTable(), GetPool(), GetPrinter(), GetScriptType(), GetStyleSheetPool(), HasAttrib(), InitDrawLayer(), IsClipboardSource(), IsStyleSheetUsed(), MergeNumberFormatter(), NeedPageResetAfterTab(), RemoveMerge(), ScDocument(), SetDocOptions(), SetLanguage(), SharePooledResources(), StylesToNames(), UpdateFontCharSet(), UpdStlShtPtrsFrmNms(), and ~ScDocument().
|
private |
Definition at line 476 of file document.hxx.
Referenced by ClearLookupCaches(), GetSortedRangeCache(), and RemoveSortedRangeCache().
|
private |
Definition at line 379 of file document.hxx.
Referenced by GetMaxColCount(), GetMaxRowCount(), GetSheetLimits(), MaxCol(), MaxColAsString(), MaxRow(), MaxRowAsString(), ScDocument(), ValidCol(), and ValidRow().
|
private |
Definition at line 444 of file document.hxx.
Referenced by GetVbaEventProcessor(), HasSheetEventScript(), and SetVbaEventProcessor().
|
private |
Definition at line 544 of file document.hxx.
Referenced by IsAdjustHeightLocked(), LockAdjustHeight(), and UnlockAdjustHeight().
|
private |
Definition at line 535 of file document.hxx.
Referenced by GetAsianCompression(), IsValidAsianCompression(), and SetAsianCompression().
|
private |
Definition at line 536 of file document.hxx.
Referenced by GetAsianKerning(), IsValidAsianKerning(), and SetAsianKerning().
|
private |
Definition at line 461 of file document.hxx.
Referenced by CalcFormulaTree(), GetFormulaCodeInTree(), PutInFormulaTree(), and RemoveFromFormulaTree().
|
private |
Definition at line 479 of file document.hxx.
Referenced by AppendToFormulaTrack(), RemoveFromFormulaTrack(), and TrackFormulas().
|
private |
Definition at line 540 of file document.hxx.
Referenced by DecInDdeLinkUpdate(), IncInDdeLinkUpdate(), and IsInDdeLinkUpdate().
|
private |
Definition at line 465 of file document.hxx.
Referenced by DecInterpreterTableOpLevel(), IncInterpreterTableOpLevel(), and IsInInterpreterTableOp().
|
private |
Definition at line 463 of file document.hxx.
Referenced by DecInterpretLevel(), IncInterpretLevel(), and IsInInterpreter().
|
private |
Definition at line 464 of file document.hxx.
Referenced by DecMacroInterpretLevel(), GetMacroInterpretLevel(), and IncMacroInterpretLevel().
|
private |
Definition at line 482 of file document.hxx.
Referenced by GetPosLeft(), and SetPosLeft().
|
private |
Definition at line 483 of file document.hxx.
Referenced by GetPosTop(), and SetPosTop().
|
private |
Definition at line 436 of file document.hxx.
Referenced by GetRangeOverflowType(), HasRangeOverflow(), and SetRangeOverflowType().
|
staticprivate |
Definition at line 478 of file document.hxx.
Referenced by GetSrcVersion(), and UpdateFontCharSet().
|
private |
Definition at line 434 of file document.hxx.
Referenced by GetNewUnoId().
|
private |
Definition at line 481 of file document.hxx.
Referenced by GetVisibleTab(), and SetVisibleTab().
|
private |
Definition at line 462 of file document.hxx.
Referenced by DecXMLImportedFormulaCount(), GetXMLImportedFormulaCount(), and IncXMLImportedFormulaCount().
|
private |
Definition at line 429 of file document.hxx.
Referenced by CompileXML(), GetAutoNameCache(), SetAutoNameCache(), and ~ScDocument().
|
private |
Definition at line 390 of file document.hxx.
Referenced by AreaBroadcast(), Broadcast(), BroadcastCells(), DelBroadcastAreasInRange(), EndListeningArea(), GetBASM(), GetBroadcasterState(), ScDocument(), StartListeningArea(), TrackFormulas(), TransferTab(), UpdateBroadcastAreas(), and ~ScDocument().
|
private |
Definition at line 405 of file document.hxx.
Referenced by CreateFieldEditEngine(), DisposeFieldEditEngine(), and ~ScDocument().
|
private |
Definition at line 394 of file document.hxx.
Referenced by CompareDocument(), EndChangeTracking(), GetChangeTrack(), InsertCol(), InsertRow(), SetChangeTrack(), StartChangeTracking(), and ~ScDocument().
|
private |
Definition at line 398 of file document.hxx.
Referenced by GetChangeViewSettings(), SetChangeViewSettings(), and ~ScDocument().
|
private |
Definition at line 391 of file document.hxx.
Referenced by AddOLEObjectToCollection(), CalcAfterLoad(), DeleteCol(), DeleteRow(), GetChartListenerCollection(), InsertCol(), InsertRow(), KeyInput(), RenameTab(), RestoreChartListener(), ScDocument(), SetAllFormulasDirty(), SetChartListenerCollection(), UpdateChart(), UpdateChartArea(), UpdateChartListenerCollection(), UpdateChartRef(), and ~ScDocument().
|
private |
Definition at line 392 of file document.hxx.
Referenced by CopyDdeLinks(), InitClipPtrs(), and ~ScDocument().
|
private |
Definition at line 375 of file document.hxx.
|
private |
Definition at line 427 of file document.hxx.
Referenced by GetConsolidateDlgData(), SetConsolidateDlgData(), and ~ScDocument().
|
private |
Definition at line 382 of file document.hxx.
Referenced by CopyTab(), DeleteTab(), DeleteTabs(), GetDBAtArea(), GetDBAtCursor(), GetDBCollection(), GetFilterEntries(), GetFormulaEntries(), InsertTab(), InsertTabs(), MoveTab(), RefreshAutoFilter(), RefreshDirtyTableColumnNames(), ScDocument(), SetDBCollection(), UpdateReference(), and ~ScDocument().
|
private |
Definition at line 525 of file document.hxx.
Referenced by AddDelayedFormulaGroupingCell(), DelayFormulaGrouping(), IsDelayedFormulaGrouping(), and ~ScDocument().
|
private |
Definition at line 529 of file document.hxx.
Referenced by CanDelayStartListeningFormulaCells(), EnableDelayStartListeningFormulaCells(), IsEnabledDelayStartListeningFormulaCells(), and ~ScDocument().
|
private |
Definition at line 393 of file document.hxx.
Referenced by AddDetectiveOperation(), ClearDetectiveOperations(), CopyTab(), DeleteTab(), DeleteTabs(), GetDetOpList(), HasDetectiveOperations(), InsertTab(), InsertTabs(), MoveTab(), SetDetOpList(), UpdateReference(), and ~ScDocument().
|
private |
Definition at line 424 of file document.hxx.
Referenced by GetDocOptions(), ImplCreateOptions(), ImplDeleteOptions(), and SetDocOptions().
|
private |
Definition at line 407 of file document.hxx.
Referenced by GetDocProtection(), IsDocProtected(), and SetDocProtection().
|
private |
Definition at line 383 of file document.hxx.
Referenced by CopyTab(), DeleteTab(), DeleteTabs(), GetDPAtBlock(), GetDPAtCursor(), GetDPCollection(), HasPivotTable(), InsertTab(), InsertTabs(), MoveTab(), UpdateReference(), and ~ScDocument().
|
private |
Definition at line 389 of file document.hxx.
Referenced by AppendToFormulaTrack(), and RemoveFromFormulaTrack().
|
private |
Definition at line 387 of file document.hxx.
Referenced by PutInFormulaTree(), and RemoveFromFormulaTree().
|
private |
Definition at line 425 of file document.hxx.
Referenced by GetExtDocOptions(), ImplDeleteOptions(), LinkExternalTab(), and SetExtDocOptions().
|
private |
Definition at line 410 of file document.hxx.
Referenced by GetExternalRefManager(), HasExternalRefManager(), IsInExternalReferenceMarking(), MarkUsedExternalReferences(), UpdateExternalRefLinks(), and ~ScDocument().
|
private |
Definition at line 377 of file document.hxx.
Referenced by GetFormatExchangeList(), and MergeNumberFormatter().
|
private |
Definition at line 388 of file document.hxx.
Referenced by AppendToFormulaTrack(), IsInFormulaTrack(), RemoveFromFormulaTrack(), and TrackFormulas().
|
private |
Definition at line 386 of file document.hxx.
Referenced by CalcFormulaTree(), ClearFormulaTree(), IsInFormulaTree(), PutInFormulaTree(), and RemoveFromFormulaTree().
|
private |
Definition at line 432 of file document.hxx.
Referenced by GetPreviewCellStyle(), and SetPreviewCellStyle().
|
private |
Definition at line 431 of file document.hxx.
Referenced by GetPreviewFont(), SetPreviewFont(), and ~ScDocument().
|
mutableprivate |
Definition at line 381 of file document.hxx.
Referenced by CompileXML(), CopyRangeNamesToClip(), CopyTab(), DeleteTab(), DeleteTabs(), GetFormulaEntries(), GetRangeAtBlock(), GetRangeName(), GetRangeNameMap(), InsertTab(), InsertTabs(), MoveTab(), SetAllRangeNames(), SetRangeName(), TransposeClip(), UpdateGrow(), UpdateReference(), UpdateTranspose(), and ~ScDocument().
|
private |
Definition at line 400 of file document.hxx.
Referenced by GetRefreshTimerControlAddress(), ScDocument(), and ~ScDocument().
|
private |
Definition at line 399 of file document.hxx.
Referenced by GetBreakIterator(), and ~ScDocument().
|
private |
Definition at line 385 of file document.hxx.
Referenced by Clear(), GetSelectionPattern(), ScDocument(), and ~ScDocument().
|
private |
Definition at line 395 of file document.hxx.
Referenced by AddUnoObject(), BroadcastUno(), CopyTab(), DeleteTab(), DeleteTabs(), InsertTab(), InsertTabs(), MoveTab(), RemoveUnoObject(), UpdateReference(), and ~ScDocument().
|
private |
Definition at line 396 of file document.hxx.
Referenced by AddUnoListenerCall(), BroadcastUno(), and ~ScDocument().
|
private |
Definition at line 397 of file document.hxx.
Referenced by AddUnoRefChange(), BeginUnoRefUndo(), EndUnoRefUndo(), HasUnoRefUndo(), and ~ScDocument().
|
private |
Definition at line 376 of file document.hxx.
Referenced by AddValidationEntry(), CompileXML(), CopyTab(), DeleteTab(), DeleteTabs(), GetValidationEntry(), GetValidationList(), InitClipPtrs(), InsertTab(), InsertTabs(), MoveTab(), UpdateReference(), and ~ScDocument().
|
private |
Definition at line 423 of file document.hxx.
Referenced by GetViewOptions(), ImplCreateOptions(), ImplDeleteOptions(), and SetViewOptions().
|
private |
Definition at line 420 of file document.hxx.
Referenced by CopyTab(), DeleteTab(), DeleteTabs(), GetColNameRanges(), GetColNameRangesRef(), InsertTab(), InsertTabs(), MoveTab(), ScDocument(), and UpdateReference().
|
private |
Definition at line 401 of file document.hxx.
Referenced by ApplyAsianEditSettings(), GetForbiddenCharacters(), InitDrawLayer(), and SetForbiddenCharacters().
|
private |
Definition at line 421 of file document.hxx.
Referenced by CopyTab(), DeleteTab(), DeleteTabs(), GetRowNameRanges(), GetRowNameRangesRef(), InsertTab(), InsertTabs(), MoveTab(), ScDocument(), and UpdateReference().