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

#include <docsh.hxx>

Inheritance diagram for ScDocShell:
[legend]
Collaboration diagram for ScDocShell:
[legend]

Classes

class  PrepareSaveGuard
 Do things that need to be done before saving to our own format and necessary clean ups in dtor. More...
 

Public Member Functions

 SFX_DECL_OBJECTFACTORY ()
 
 ScDocShell (const ScDocShell &rDocShell)=delete
 
 ScDocShell (const SfxModelFlags i_nSfxCreationFlags=SfxModelFlags::EMBEDDED_OBJECT, const std::shared_ptr< ScDocument > &pDoc={})
 
virtual ~ScDocShell () override
 
virtual SfxUndoManagerGetUndoManager () override
 
virtual void FillClass (SvGlobalName *pClassName, SotClipboardFormatId *pFormat, OUString *pFullTypeName, sal_Int32 nFileFormat, bool bTemplate=false) const override
 
virtual std::set< ColorGetDocColors () override
 
virtual std::shared_ptr< model::ColorSetGetThemeColors () override
 
virtual bool InitNew (const css::uno::Reference< css::embed::XStorage > &) override
 
virtual bool Load (SfxMedium &rMedium) override
 
virtual bool LoadFrom (SfxMedium &rMedium) override
 
virtual bool ConvertFrom (SfxMedium &rMedium) override
 
virtual bool LoadExternal (SfxMedium &rMedium) override
 
virtual bool Save () override
 
virtual bool SaveAs (SfxMedium &rMedium) override
 
virtual bool ConvertTo (SfxMedium &rMedium) override
 
virtual bool PrepareClose (bool bUI=true) override
 
virtual void LoadStyles (SfxObjectShell &rSource) override
 
virtual bool DoSaveCompleted (SfxMedium *pNewStor=nullptr, bool bRegisterRecent=true) override
 
virtual bool QuerySlotExecutable (sal_uInt16 nSlotId) override
 
virtual void Draw (OutputDevice *, const JobSetup &rSetup, sal_uInt16 nAspect, bool bOutputForScreen) override
 
virtual void SetVisArea (const tools::Rectangle &rVisArea) override
 
virtual void TerminateEditing () override
 
virtual tools::Rectangle GetVisArea (sal_uInt16 nAspect) const override
 
virtual PrinterGetDocumentPrinter () override
 
virtual void SetModified (bool=true) override
 
void SetVisAreaOrSize (const tools::Rectangle &rVisArea)
 
virtual std::shared_ptr< SfxDocumentInfoDialogCreateDocumentInfoDialog (weld::Window *pParent, const SfxItemSet &rSet) override
 
void GetDocStat (ScDocStat &rDocStat)
 
const ScDocumentGetDocument () const
 
ScDocumentGetDocument ()
 
ScDocFuncGetDocFunc ()
 
css::uno::Reference< css::datatransfer::XTransferable2 > const & GetClipData () const
 
void SetClipData (const css::uno::Reference< css::datatransfer::XTransferable2 > &xTransferable)
 
SfxPrinterGetPrinter (bool bCreateIfNotExist=true)
 
sal_uInt16 SetPrinter (VclPtr< SfxPrinter > const &pNewPrinter, SfxPrinterChangeFlags nDiffFlags=SFX_PRINTER_ALL)
 
void UpdateFontList ()
 
ScDrawLayerMakeDrawLayer ()
 
void AsciiSave (SvStream &rStream, const ScImportOptions &rOpt, SCTAB nTab)
 
void Execute (SfxRequest &rReq)
 
void GetState (SfxItemSet &rSet)
 
void ExecutePageStyle (const SfxViewShell &rCaller, SfxRequest &rReq, SCTAB nCurTab)
 
void GetStatePageStyle (SfxItemSet &rSet, SCTAB nCurTab)
 
void CompareDocument (ScDocument &rOtherDoc)
 
void MergeDocument (ScDocument &rOtherDoc, bool bShared=false, bool bCheckDuplicates=false, sal_uLong nOffset=0, ScChangeActionMergeMap *pMergeMap=nullptr, bool bInverseMap=false)
 
bool MergeSharedDocument (ScDocShell *pSharedDocShell)
 
ScChangeActionGetChangeAction (const ScAddress &rPos)
 
void SetChangeComment (ScChangeAction *pAction, const OUString &rComment)
 
void ExecuteChangeCommentDialog (ScChangeAction *pAction, weld::Window *pParent, bool bPrevNext=true)
 
bool ExecuteChangeProtectionDialog (bool bJustQueryIfProtected=false)
 Protect/unprotect ChangeTrack and return <TRUE> if protection was successfully changed. More...
 
void SetPrintZoom (SCTAB nTab, sal_uInt16 nScale, sal_uInt16 nPages)
 
bool AdjustPrintZoom (const ScRange &rRange)
 
void LoadStylesArgs (ScDocShell &rSource, bool bReplace, bool bCellStyles, bool bPageStyles)
 
void PageStyleModified (std::u16string_view rStyleName, bool bApi)
 
void NotifyStyle (const SfxStyleSheetHint &rHint)
 
void DoAutoStyle (const ScRange &rRange, const OUString &rStyle)
 
void ErrorMessage (TranslateId pGlobStrId)
 
bool IsEditable () const
 
bool AdjustRowHeight (SCROW nStartRow, SCROW nEndRow, SCTAB nTab)
 merge with docfunc More...
 
void UpdateAllRowHeights (const ScMarkData *pTabMark=nullptr)
 
void UpdateAllRowHeights (const bool bOnlyUsedRows)
 
void UpdatePendingRowHeights (SCTAB nUpdateTab, bool bBefore=false)
 
void RefreshPivotTables (const ScRange &rSource)
 
void DoConsolidate (const ScConsolidateParam &rParam, bool bRecord=true)
 
void UseScenario (SCTAB nTab, const OUString &rName, bool bRecord=true)
 
SCTAB MakeScenario (SCTAB nTab, const OUString &rName, const OUString &rComment, const Color &rColor, ScScenarioFlags nFlags, ScMarkData &rMark, bool bRecord=true)
 
void ModifyScenario (SCTAB nTab, const OUString &rName, const OUString &rComment, const Color &rColor, ScScenarioFlags nFlags)
 
sal_uLong TransferTab (ScDocShell &rSrcDocShell, SCTAB nSrcPos, SCTAB nDestPos, bool bInsertNew, bool bNotifyAndPaint)
 
bool MoveTable (SCTAB nSrcTab, SCTAB nDestTab, bool bCopy, bool bRecord)
 
void DoRecalc (bool bApi)
 
void DoHardRecalc ()
 
void UpdateOle (const ScViewData &rViewData, bool bSnapSize=false)
 
bool IsOle () const
 
void DBAreaDeleted (SCTAB nTab, SCCOL nX1, SCROW nY1, SCCOL nX2)
 
ScDBDataGetDBData (const ScRange &rMarked, ScGetDBMode eMode, ScGetDBSelection eSel)
 
ScDBDataGetAnonymousDBData (const ScRange &rRange)
 
std::unique_ptr< ScDBDataGetOldAutoDBRange ()
 
void CancelAutoDBRange ()
 
virtual void ReconnectDdeLink (SfxObjectShell &rServer) override
 
void UpdateLinks () override
 
void SetInitialLinkUpdate (const SfxMedium *pMedium)
 
void AllowLinkUpdate ()
 
void ReloadAllLinks ()
 
void ReloadTabLinks ()
 
ScLkUpdMode GetLinkUpdateModeState () const
 
void SetFormulaOptions (const ScFormulaOptions &rOpt, bool bForLoading=false)
 
void CheckConfigOptions ()
 Called when the Options dialog is dismissed with the OK button, to handle potentially conflicting option settings. More...
 
void PostEditView (ScEditEngineDefaulter *pEditEngine, const ScAddress &rCursorPos)
 
void PostPaint (SCCOL nStartCol, SCROW nStartRow, SCTAB nStartTab, SCCOL nEndCol, SCROW nEndRow, SCTAB nEndTab, PaintPartFlags nPart, sal_uInt16 nExtFlags=0)
 
void PostPaint (const ScRangeList &rRanges, PaintPartFlags nPart, sal_uInt16 nExtFlags=0)
 
void PostPaintCell (SCCOL nCol, SCROW nRow, SCTAB nTab)
 
void PostPaintCell (const ScAddress &rPos)
 
void PostPaintGridAll ()
 
void PostPaintExtras ()
 
bool IsPaintLocked () const
 
void PostDataChanged ()
 
void UpdatePaintExt (sal_uInt16 &rExtFlags, SCCOL nStartCol, SCROW nStartRow, SCTAB nStartTab, SCCOL nEndCol, SCROW nEndRow, SCTAB nEndTab)
 
void UpdatePaintExt (sal_uInt16 &rExtFlags, const ScRange &rRange)
 
void SetDocumentModified ()
 
void SetDrawModified ()
 SetDrawModified - without Formula update. More...
 
void LockPaint ()
 
void UnlockPaint ()
 
sal_uInt16 GetLockCount () const
 
void SetLockCount (sal_uInt16 nNew)
 
void LockDocument ()
 
void UnlockDocument ()
 
 DECL_DLLPRIVATE_LINK (DialogClosedHdl, sfx2::FileDialogHelper *, void)
 
 DECL_DLLPRIVATE_LINK (ReloadAllLinksHdl, weld::Button &, void)
 
virtual SfxStyleSheetBasePoolGetStyleSheetPool () override
 
void SetInplace (bool bInplace)
 
bool IsEmpty () const
 
void SetEmpty (bool bSet)
 
bool IsInUndo () const
 
void SetInUndo (bool bSet)
 
void CalcOutputFactor ()
 
double GetOutputFactor () const
 
void GetPageOnFromPageStyleSet (const SfxItemSet *pStyleSet, SCTAB nCurTab, bool &rbHeader, bool &rbFooter)
 
virtual ::sfx2::SvLinkSourceDdeCreateLinkSource (const OUString &rItem) override
 
const OUString & GetDdeTextFmt () const
 
SfxBindingsGetViewBindings ()
 
ScTabViewShellGetBestViewShell (bool bOnlyVisible=true)
 
void SetDocumentModifiedPending (bool bVal)
 
bool IsDocumentModifiedPending () const
 
bool IsUpdateEnabled () const
 
void SetUpdateEnabled (bool bValue)
 
void SetAreasChangedNeedBroadcast ()
 
OutputDeviceGetRefDevice ()
 
 DECL_DLLPRIVATE_LINK (RefreshDBDataHdl, Timer *, void)
 
void BeforeXMLLoading ()
 
void AfterXMLLoading (bool bRet)
 
virtual HiddenInformation GetHiddenInformationState (HiddenInformation nStates) override
 
ScSheetSaveDataGetSheetSaveData ()
 
ScFormatSaveDataGetFormatSaveData ()
 
virtual bool IsChangeRecording () const override
 
virtual bool HasChangeRecordProtection () const override
 
virtual void SetChangeRecording (bool bActivate, bool bLockAllViews=false) override
 
virtual void SetProtectionPassword (const OUString &rPassword) override
 
virtual bool GetProtectionHash (css::uno::Sequence< sal_Int8 > &rPasswordHash) override
 
void SnapVisArea (tools::Rectangle &rRect) const
 
void RegisterAutomationWorkbookObject (css::uno::Reference< ooo::vba::excel::XWorkbook > const &xWorkbook)
 
ScModelObjGetModel () const
 
virtual tools::Rectangle GetVisArea (sal_uInt16 nAspect) const
 
const tools::RectangleGetVisArea () const
 
- Public Member Functions inherited from SfxObjectShell
void Stamp_SetPrintCancelState (bool bState)
 
bool Stamp_GetPrintCancelState () const
 
virtual void Invalidate (sal_uInt16 nId=0) override
 
SfxModuleGetModule () const
 
virtual SfxObjectFactoryGetFactory () const=0
 
SfxMediumGetMedium () const
 
css::uno::Reference< css::document::XDocumentProperties > getDocProperties () const
 
void UpdateDocInfoForSave ()
 
void FlushDocInfo ()
 
bool HasName () const
 
OUString GetAPIName () const
 
void SetReadOnly ()
 
bool IsReadOnly () const
 
bool IsReadOnlyMedium () const
 
bool IsOriginallyReadOnlyMedium () const
 
bool IsOriginallyLoadedReadOnlyMedium () const
 
void SetReadOnlyUI (bool bReadOnly=true)
 
bool IsReadOnlyUI () const
 
void SetNoName ()
 
bool IsInModalMode () const
 
bool IsInPrepareClose () const
 
bool AcceptStateUpdate () const
 
bool IsHelpDocument () const
 
bool IsDocShared () const
 
OUString GetSharedFileURL () const
 
bool SwitchToShared (bool bShared, bool bSave)
 
SAL_DLLPRIVATE void FreeSharedFile (const OUString &aTempFileURL)
 
SAL_DLLPRIVATE void DoNotCleanShareControlFile ()
 
void SetSharedXMLFlag (bool bFlag) const
 
bool HasSharedXMLFlagSet () const
 
SAL_DLLPRIVATE void SetModalMode_Impl (bool bModal)
 
SAL_DLLPRIVATE void SetMacroMode_Impl (bool bModal=true)
 
void ResetError ()
 
ErrCode GetError () const
 
ErrCode GetErrorCode () const
 
void SetError (ErrCode rErr)
 
void DoInitUnitTest ()
 
bool DoInitNew ()
 
bool DoLoad (SfxMedium *pMedium)
 
bool DoLoadExternal (SfxMedium *pMed)
 
bool DoSave ()
 
bool DoSaveAs (SfxMedium &rNewStor)
 
bool DoSaveObjectAs (SfxMedium &rNewStor, bool bCommit)
 
virtual bool DoSaveCompleted (SfxMedium *pNewStor=nullptr, bool bRegisterRecent=true)
 
virtual void TerminateEditing ()
 
bool LoadOwnFormat (SfxMedium &pMedium)
 
virtual bool SaveAsOwnFormat (SfxMedium &pMedium)
 
virtual bool ConvertFrom (SfxMedium &rMedium)
 
virtual bool ConvertTo (SfxMedium &rMedium)
 
virtual bool InitNew (const css::uno::Reference< css::embed::XStorage > &xStorage)
 
virtual bool Load (SfxMedium &rMedium)
 
virtual bool LoadFrom (SfxMedium &rMedium)
 
virtual bool Save ()
 
virtual bool SaveAs (SfxMedium &rMedium)
 
virtual bool SaveCompleted (const css::uno::Reference< css::embed::XStorage > &xStorage)
 
bool SwitchPersistence (const css::uno::Reference< css::embed::XStorage > &xStorage)
 
virtual void UpdateLinks ()
 
virtual bool LoadExternal (SfxMedium &rMedium)
 
bool IsConfigOptionsChecked () const
 
void SetConfigOptionsChecked (bool bChecked)
 
virtual bool QuerySlotExecutable (sal_uInt16 nSlotId)
 
void SaveChildren (bool bObjectsOnly=false)
 
bool SaveAsChildren (SfxMedium &rMedium)
 
bool SwitchChildrenPersistence (const css::uno::Reference< css::embed::XStorage > &xStorage, bool bForceNonModified=false)
 
bool SaveCompletedChildren ()
 
virtual bool InsertGeneratedStream (SfxMedium &rMedium, css::uno::Reference< css::text::XTextRange > const &xInsertPosition)
 
virtual bool ImportFrom (SfxMedium &rMedium, css::uno::Reference< css::text::XTextRange > const &xInsertPosition)
 
bool ExportTo (SfxMedium &rMedium)
 
bool PrepareForSigning (weld::Window *pDialogParent)
 
bool CheckIsReadonly (bool bSignScriptingContent, weld::Window *pDialogParent=nullptr)
 
void RecheckSignature (bool bAlsoRecheckScriptingSignature)
 
void AfterSigning (bool bSignSuccess, bool bSignScriptingContent)
 
bool HasValidSignatures () const
 
SignatureState GetDocumentSignatureState ()
 
bool SignDocumentContent (weld::Window *pDialogParent)
 
css::uno::Sequence< css::security::DocumentSignatureInformation > GetDocumentSignatureInformation (bool bScriptingContent, const css::uno::Reference< css::security::XDocumentDigitalSignatures > &xSigner=css::uno::Reference< css::security::XDocumentDigitalSignatures >())
 
bool SignDocumentContentUsingCertificate (const css::uno::Reference< css::security::XCertificate > &xCertificate)
 
bool ResignDocument (css::uno::Sequence< css::security::DocumentSignatureInformation > &rSignaturesInfo)
 
void SignSignatureLine (weld::Window *pDialogParent, const OUString &aSignatureLineId, const css::uno::Reference< css::security::XCertificate > &xCert, const css::uno::Reference< css::graphic::XGraphic > &xValidGraphic, const css::uno::Reference< css::graphic::XGraphic > &xInvalidGraphic, const OUString &aComment)
 
SignatureState GetScriptingSignatureState ()
 
bool SignScriptingContent (weld::Window *pDialogParent)
 
 DECL_DLLPRIVATE_LINK (SignDocumentHandler, weld::Button &, void)
 
virtual std::shared_ptr< SfxDocumentInfoDialogCreateDocumentInfoDialog (weld::Window *pParent, const SfxItemSet &rItemSet)
 
ErrCode CallBasic (std::u16string_view rMacro, std::u16string_view rBasicName, SbxArray *pArgs, SbxValue *pRet=nullptr)
 
ErrCode CallXScript (const OUString &rScriptURL, const css::uno::Sequence< css::uno::Any > &aParams, css::uno::Any &aRet, css::uno::Sequence< sal_Int16 > &aOutParamIndex, css::uno::Sequence< css::uno::Any > &aOutParam, bool bRaiseError=true, const css::uno::Any *aCaller=nullptr)
 
bool AdjustMacroMode ()
 
SvKeyValueIteratorGetHeaderAttributes ()
 
void ClearHeaderAttributesForSourceViewHack ()
 
void SetHeaderAttributesForSourceViewHack ()
 
bool IsQueryLoadTemplate () const
 
bool IsUseUserData () const
 
bool IsUseThumbnailSave () const
 
bool IsLoadReadonly () const
 
bool IsSaveVersionOnClose () const
 
void SetQueryLoadTemplate (bool b)
 
void SetUseUserData (bool bNew)
 
void SetUseThumbnailSave (bool _bNew)
 
void SetLoadReadonly (bool _bReadonly)
 
void SetSaveVersionOnClose (bool bSet)
 
void ResetFromTemplate (const OUString &rTemplateName, std::u16string_view rFileName)
 
sal_uInt32 GetModifyPasswordHash () const
 
bool SetModifyPasswordHash (sal_uInt32 nHash)
 
void SetMacroCallsSeenWhileLoading ()
 
bool GetMacroCallsSeenWhileLoading () const
 
const css::uno::Sequence< css::beans::PropertyValue > & GetModifyPasswordInfo () const
 
bool SetModifyPasswordInfo (const css::uno::Sequence< css::beans::PropertyValue > &aInfo)
 
virtual bool PrepareClose (bool bUI=true)
 
virtual HiddenInformation GetHiddenInformationState (HiddenInformation nStates)
 
sal_Int16 QueryHiddenInformation (HiddenWarningFact eFact, weld::Window *pParent)
 
bool IsSecurityOptOpenReadOnly () const
 
void SetSecurityOptOpenReadOnly (bool bOpenReadOnly)
 
Size GetFirstPageSize () const
 
bool DoClose ()
 
std::shared_ptr< GDIMetaFileGetPreviewMetaFile (bool bFullContent=false) const
 
BitmapEx GetPreviewBitmap () const
 
virtual void CancelTransfers ()
 
bool GenerateAndStoreThumbnail (bool bEncrypted, const css::uno::Reference< css::embed::XStorage > &xStor)
 
bool WriteThumbnail (bool bEncrypted, const css::uno::Reference< css::io::XStream > &xStream)
 
bool IsInGenerateAndStoreThumbnail () const
 
bool IsAvoidRecentDocs () const
 
bool IsRememberingSignature () const
 
void AvoidRecentDocs (bool bAvoid)
 
bool IsContinueImportOnFilterExceptions (std::u16string_view aErrMessage)
 
bool IsAbortingImport () const
 
void FinishedLoading (SfxLoadedFlags nWhich=SfxLoadedFlags::ALL)
 
void TemplateDisconnectionAfterLoad ()
 
void SetLoading (SfxLoadedFlags nFlags)
 
bool IsLoading () const
 
bool IsLoadingFinished () const
 
void SetAutoLoad (const INetURLObject &, sal_uInt32 nTime, bool bReload)
 
bool IsAutoLoadLocked () const
 
bool IsPreview () const
 
SfxObjectCreateMode GetCreateMode () const
 
SfxProgressGetProgress () const
 
void SetWaitCursor (bool bSet) const
 
void SetTitle (const OUString &rTitle)
 
OUString GetTitle (sal_uInt16 nMaxLen=0) const
 
void InvalidateName ()
 
virtual ::sfx2::SvLinkSourceDdeCreateLinkSource (const OUString &rItem)
 
virtual void ReconnectDdeLink (SfxObjectShell &rServer)
 
virtual SfxStyleSheetBasePoolGetStyleSheetPool ()
 
virtual void LoadStyles (SfxObjectShell &rSource)
 
virtual sfx2::StyleManagerGetStyleManager ()
 
void SetAutoStyleFilterIndex (sal_uInt16 nSet)
 
sal_uInt16 GetAutoStyleFilterIndex () const
 
bool HasBasic () const
 
BasicManagerGetBasicManager () const
 
css::uno::Reference< css::script::XLibraryContainer > GetBasicContainer ()
 
css::uno::Reference< css::script::XLibraryContainer > GetDialogContainer ()
 
StarBASICGetBasic () const
 
std::optional< NamedColorGetRecentColor (sal_uInt16 nSlotId)
 
void SetRecentColor (sal_uInt16 nSlotId, const NamedColor &rColor)
 
virtual std::set< ColorGetDocColors ()
 
virtual std::shared_ptr< model::ColorSetGetThemeColors ()
 
virtual sfx::AccessibilityIssueCollection runAccessibilityCheck ()
 
virtual SfxObjectShellGetObjectShell () override
 
css::uno::Reference< css::frame::XModel3 > GetModel () const
 
void SetBaseModel (SfxBaseModel *pModel)
 
css::uno::Reference< css::frame::XModel3 > GetBaseModel () const
 
virtual css::uno::Sequence< OUString > GetEventNames ()
 
css::uno::Reference< css::awt::XWindow > GetDialogParent (SfxMedium const *pMedium=nullptr)
 
bool IsInPlaceActive () const
 
bool IsUIActive () const
 
bool isEditDocLocked () const
 
bool isContentExtractionLocked () const
 
bool isExportLocked () const
 
bool isPrintLocked () const
 
bool isSaveLocked () const
 
void EnableSetModified (bool bEnable=true)
 
bool IsEnableSetModified () const
 
virtual void SetModified (bool bModified=true)
 
bool IsModified () const
 
void SetupStorage (const css::uno::Reference< css::embed::XStorage > &xStorage, sal_Int32 nVersion, bool bTemplate) const
 
css::uno::Reference< css::embed::XStorage > const & GetStorage ()
 
SvGlobalName const & GetClassName () const
 
virtual css::uno::Reference< css::task::XInteractionHandler > getInteractionHandler () const override
 
virtual css::uno::Reference< css::embed::XStorage > getStorage () const override
 
virtual comphelper::EmbeddedObjectContainergetEmbeddedObjectContainer () const override
 
bool isEnableSetModified () const override
 
virtual OUString getDocumentBaseURL () const override
 
comphelper::EmbeddedObjectContainerGetEmbeddedObjectContainer () const
 
void ClearEmbeddedObjects ()
 
virtual PrinterGetDocumentPrinter ()
 
virtual OutputDeviceGetDocumentRefDev ()
 
virtual void OnDocumentPrinterChanged (Printer *pNewPrinter)
 
virtual tools::Rectangle GetVisArea (sal_uInt16 nAspect) const
 
virtual void SetVisArea (const tools::Rectangle &rVisArea)
 
const tools::RectangleGetVisArea () const
 
void SetVisAreaSize (const Size &rVisSize)
 
MapUnit GetMapUnit () const
 
void SetMapUnit (MapUnit nMUnit)
 
void FillTransferableObjectDescriptor (TransferableObjectDescriptor &rDesc) const
 
void DoDraw (OutputDevice *, const Point &rObjPos, const Size &rSize, const JobSetup &rSetup, sal_uInt16 nAspect=ASPECT_CONTENT, bool bOutputForScreen=false)
 
virtual void Draw (OutputDevice *, const JobSetup &rSetup, sal_uInt16 nAspect, bool bOutputForScreen)=0
 
virtual void FillClass (SvGlobalName *pClassName, SotClipboardFormatId *pFormat, OUString *pFullTypeName, sal_Int32 nVersion, bool bTemplate=false) const=0
 
virtual bool IsChangeRecording () const
 
virtual bool HasChangeRecordProtection () const
 
virtual void SetChangeRecording (bool bActivate, bool bLockAllViews=false)
 
virtual void SetProtectionPassword (const OUString &rPassword)
 
virtual bool GetProtectionHash (css::uno::Sequence< sal_Int8 > &rPasswordHash)
 
void AppendInfoBarWhenReady (const OUString &sId, const OUString &sPrimaryMessage, const OUString &sSecondaryMessage, InfobarType aInfobarType, bool bShowCloseButton=true)
 
std::vector< InfobarData > & getPendingInfobars ()
 
SAL_DLLPRIVATE bool CreatePreview_Impl (bool bFullContent, VirtualDevice *pDevice, GDIMetaFile *pFile) const
 
SAL_DLLPRIVATE bool ConnectTmpStorage_Impl (const css::uno::Reference< css::embed::XStorage > &xStorage, SfxMedium *pMedium)
 
SAL_DLLPRIVATE bool DisconnectStorage_Impl (SfxMedium &rSrcMedium, SfxMedium &rTargetMedium)
 
SAL_DLLPRIVATE bool PutURLContentsToVersionStream_Impl (const OUString &aURL, const css::uno::Reference< css::embed::XStorage > &xDocStorage, const OUString &aStreamName)
 
SAL_DLLPRIVATE OUString CreateTempCopyOfStorage_Impl (const css::uno::Reference< css::embed::XStorage > &xStorage)
 
SAL_DLLPRIVATE void InitOwnModel_Impl ()
 
SAL_DLLPRIVATE void BreakMacroSign_Impl (bool bBreakMacroSing)
 
SAL_DLLPRIVATE void CheckSecurityOnLoading_Impl ()
 
SAL_DLLPRIVATE void CheckForBrokenDocSignatures_Impl ()
 
SAL_DLLPRIVATE void CheckEncryption_Impl (const css::uno::Reference< css::task::XInteractionHandler > &xHandler)
 
SAL_DLLPRIVATE void SetModifyPasswordEntered (bool bEntered=true)
 
SAL_DLLPRIVATE bool IsModifyPasswordEntered () const
 
SAL_DLLPRIVATE void InitBasicManager_Impl ()
 
SAL_DLLPRIVATE SfxObjectShell_ImplGet_Impl ()
 
SAL_DLLPRIVATE const SfxObjectShell_ImplGet_Impl () const
 
SAL_DLLPRIVATE void SetCreateMode_Impl (SfxObjectCreateMode nMode)
 
SAL_DLLPRIVATE void DoDraw_Impl (OutputDevice *pDev, const Point &rViewPos, const Fraction &rScaleX, const Fraction &rScaleY, const JobSetup &rSetup, sal_uInt16 nAspect, bool bOutputForScreen)
 
SAL_DLLPRIVATE void ExecFile_Impl (SfxRequest &)
 
SAL_DLLPRIVATE void GetState_Impl (SfxItemSet &)
 
SAL_DLLPRIVATE void PrintExec_Impl (SfxRequest &)
 
SAL_DLLPRIVATE void PrintState_Impl (SfxItemSet &)
 
SAL_DLLPRIVATE void ExecProps_Impl (SfxRequest &)
 
SAL_DLLPRIVATE void StateProps_Impl (SfxItemSet &)
 
SAL_DLLPRIVATE void ExecView_Impl (SfxRequest &)
 
SAL_DLLPRIVATE bool ImportFromGeneratedStream_Impl (const css::uno::Reference< css::io::XStream > &xStream, const css::uno::Sequence< css::beans::PropertyValue > &aMediaDescr)
 
SAL_DLLPRIVATE void UpdateFromTemplate_Impl ()
 
SAL_DLLPRIVATE bool CanReload_Impl ()
 
SAL_DLLPRIVATE void SetNamedVisibility_Impl ()
 
SAL_DLLPRIVATE bool DoSave_Impl (const SfxItemSet *pSet)
 
SAL_DLLPRIVATE bool Save_Impl (const SfxItemSet *pSet)
 
SAL_DLLPRIVATE bool PreDoSaveAs_Impl (const OUString &rFileName, const OUString &rFiltName, SfxItemSet const &rItemSet, const css::uno::Sequence< css::beans::PropertyValue > &rArgs)
 
SAL_DLLPRIVATE bool APISaveAs_Impl (std::u16string_view aFileName, SfxItemSet &rItemSet, const css::uno::Sequence< css::beans::PropertyValue > &rArgs)
 
SAL_DLLPRIVATE bool CommonSaveAs_Impl (const INetURLObject &aURL, const OUString &aFilterName, SfxItemSet &rItemSet, const css::uno::Sequence< css::beans::PropertyValue > &rArgs)
 
SAL_DLLPRIVATE bool GeneralInit_Impl (const css::uno::Reference< css::embed::XStorage > &xStorage, bool bTypeMustBeSetAlready)
 
SAL_DLLPRIVATE void PrepareSecondTryLoad_Impl ()
 
SAL_DLLPRIVATE void SetInitialized_Impl (const bool i_fromInitNew)
 
SAL_DLLPRIVATE IndexBitSetGetNoSet_Impl ()
 
SAL_DLLPRIVATE void SetProgress_Impl (SfxProgress *pProgress)
 
SAL_DLLPRIVATE void PostActivateEvent_Impl (SfxViewFrame const *)
 
SAL_DLLPRIVATE void SetActivateEvent_Impl (SfxEventHintId)
 
SAL_DLLPRIVATE SignatureState ImplGetSignatureState (bool bScriptingContent=false)
 
SAL_DLLPRIVATE bool QuerySaveSizeExceededModules_Impl (const css::uno::Reference< css::task::XInteractionHandler > &xHandler)
 
SAL_DLLPRIVATE void CheckOut ()
 
SAL_DLLPRIVATE void CancelCheckOut ()
 
SAL_DLLPRIVATE void CheckIn ()
 
SAL_DLLPRIVATE css::uno::Sequence< css::document::CmisVersion > GetCmisVersions () const
 
virtual const sfx2::IXmlIdRegistryGetXmlIdRegistry () const
 
bool IsSignPDF () const
 
css::uno::Reference< css::security::XCertificate > GetSignPDFCertificate () const
 
css::uno::Sequence< css::beans::PropertyValue > GetDocumentProtectionFromGrabBag () const
 
virtual std::unique_ptr< LockAllViewsGuard > LockAllViews ()
 
- Public Member Functions inherited from SfxShell
virtual ~SfxShell () override
 
virtual SfxInterfaceGetInterface () const
 
void SetName (const OUString &rName)
 
const OUString & GetName () const
 
SfxViewShellGetViewShell () const
 
const SfxPoolItemGetSlotState (sal_uInt16 nSlotId, const SfxInterface *pIF=nullptr, SfxItemSet *pStateSet=nullptr)
 
const SfxPoolItemExecuteSlot (SfxRequest &rReq, const SfxInterface *pIF=nullptr)
 
void ExecuteSlot (SfxRequest &rReq, bool bAsync)
 
SfxItemPoolGetPool () const
 
void SetPool (SfxItemPool *pNewPool)
 
virtual SfxUndoManagerGetUndoManager ()
 
void SetUndoManager (SfxUndoManager *pNewUndoMgr)
 
SfxRepeatTarget * GetRepeatTarget () const
 
void SetRepeatTarget (SfxRepeatTarget *pTarget)
 
virtual void Invalidate (sal_uInt16 nId=0)
 
virtual bool IsDesignMode () const
 
bool IsActive () const
 
virtual void Activate (bool bMDI)
 
virtual void Deactivate (bool bMDI)
 
SfxDispatcherGetDispatcher () const
 
SfxViewFrameGetFrame () const
 
virtual bool HasUIFeature (SfxShellFeature nFeature) const
 
void UIFeatureChanged ()
 
const SfxPoolItemGetItem (sal_uInt16 nSlotId) const
 
const T * GetItem (TypedWhichId< T > nWhich) const
 
void PutItem (const SfxPoolItem &rItem)
 
void SetVerbs (const css::uno::Sequence< css::embed::VerbDescriptor > &aVerbs)
 
const css::uno::Sequence< css::embed::VerbDescriptor > & GetVerbs () const
 
void VerbExec (SfxRequest &)
 
SAL_DLLPRIVATE const SfxSlotGetVerbSlot_Impl (sal_uInt16 nId) const
 
virtual SfxObjectShellGetObjectShell ()
 
void SetDisableFlags (SfxDisableFlags nFlags)
 
SfxDisableFlags GetDisableFlags () const
 
virtual std::optional< SfxItemSetCreateItemSet (sal_uInt16 nId)
 
virtual void ApplyItemSet (sal_uInt16 nId, const SfxItemSet &rSet)
 
void SetContextName (const OUString &rsContextName)
 
void BroadcastContextForActivation (const bool bIsActivated)
 
bool SetContextBroadcasterEnabled (const bool bIsEnabled)
 
SAL_DLLPRIVATE bool CanExecuteSlot_Impl (const SfxSlot &rSlot)
 
virtual bool IsConditionalFastCall (const SfxRequest &rReq)
 
SAL_DLLPRIVATE void DoActivate_Impl (SfxViewFrame *pFrame, bool bMDI)
 
SAL_DLLPRIVATE void DoDeactivate_Impl (SfxViewFrame const *pFrame, bool bMDI)
 
- Public Member Functions inherited from SfxListener
 SfxListener ()
 
 SfxListener (const SfxListener &rCopy)
 
virtual ~SfxListener () COVERITY_NOEXCEPT_FALSE
 
void StartListening (SfxBroadcaster &rBroadcaster, DuplicateHandling eDuplicateHanding=DuplicateHandling::Unexpected)
 
void EndListening (SfxBroadcaster &rBroadcaster, bool bRemoveAllDuplicates=false)
 
void EndListeningAll ()
 
bool IsListening (SfxBroadcaster &rBroadcaster) const
 
sal_uInt16 GetBroadcasterCount () const
 
SfxBroadcasterGetBroadcasterJOE (sal_uInt16 nNo) const
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint)
 
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)
 
virtual bool IsSdrView () const
 

Static Public Member Functions

static weld::WindowGetActiveDialogParent ()
 
static ScViewDataGetViewData ()
 
static SCTAB GetCurTab ()
 
static ScDocShellGetShellByNum (sal_uInt16 nDocNo)
 
static OUString GetOwnFilterName ()
 
static OUString GetHtmlFilterName ()
 
static OUString GetWebQueryFilterName ()
 
static OUString GetAsciiFilterName ()
 
static OUString GetLotusFilterName ()
 
static OUString GetDBaseFilterName ()
 
static OUString GetDifFilterName ()
 
static bool HasAutomaticTableName (std::u16string_view rFilter)
 
static void LOKCommentNotify (LOKCommentNotificationType nType, const ScDocument *pDocument, const ScAddress &rPos, const ScPostIt *pNote)
 
static void ResetKeyBindings (ScOptionsUtil::KeyBindingType eType)
 
- Static Public Member Functions inherited from SfxObjectShell
static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId ()
 
static OUString CreateShellID (const SfxObjectShell *pShell)
 
static SAL_WARN_UNUSED_RESULT SfxObjectShellGetFirst (const std::function< bool(const SfxObjectShell *)> &isObjectShell=nullptr, bool bOnlyVisible=true)
 
static SAL_WARN_UNUSED_RESULT SfxObjectShellGetNext (const SfxObjectShell &rPrev, const std::function< bool(const SfxObjectShell *)> &isObjectShell=nullptr, bool bOnlyVisible=true)
 
static SAL_WARN_UNUSED_RESULT SfxObjectShellCurrent ()
 
static css::uno::Reference< css::uno::XInterface > GetCurrentComponent ()
 
static void SetCurrentComponent (const css::uno::Reference< css::uno::XInterface > &_rxComponent)
 
static ErrCode CallXScript (const css::uno::Reference< css::uno::XInterface > &_rxScriptContext, const OUString &rScriptURL, const css::uno::Sequence< css::uno::Any > &aParams, css::uno::Any &aRet, css::uno::Sequence< sal_Int16 > &aOutParamIndex, css::uno::Sequence< css::uno::Any > &aOutParam, bool bRaiseError=true, const css::uno::Any *aCaller=nullptr)
 
static bool UnTrustedScript (const OUString &rScriptURL)
 
static bool isScriptAccessAllowed (const css::uno::Reference< css::uno::XInterface > &rScriptContext)
 
static ErrCode HandleFilter (SfxMedium *pMedium, SfxObjectShell const *pDoc)
 
static void ReconnectDdeLinks (SfxObjectShell &rServer)
 
static SfxObjectShellCreateObject (const OUString &rServiceName, SfxObjectCreateMode=SfxObjectCreateMode::STANDARD)
 
static SfxObjectShellCreateObjectByFactoryName (const OUString &rURL, SfxObjectCreateMode=SfxObjectCreateMode::STANDARD)
 
static css::uno::Reference< css::lang::XComponent > CreateAndLoadComponent (const SfxItemSet &rSet)
 
static SfxObjectShellGetShellFromComponent (const css::uno::Reference< css::uno::XInterface > &xComp)
 
static SfxObjectShellGetParentShell (const css::uno::Reference< css::uno::XInterface > &xChild)
 
static OUString GetServiceNameFromFactory (const OUString &rFact)
 
static bool CopyStoragesOfUnknownMediaType (const css::uno::Reference< css::embed::XStorage > &xSource, const css::uno::Reference< css::embed::XStorage > &xTarget, const css::uno::Sequence< OUString > &rExceptions=css::uno::Sequence< OUString >())
 
static bool IsOwnStorageFormat (const SfxMedium &)
 
static SAL_DLLPRIVATE bool IsPackageStorageFormat_Impl (const SfxMedium &)
 
static SAL_DLLPRIVATE bool UseInteractionToHandleError (const css::uno::Reference< css::task::XInteractionHandler > &xHandler, ErrCode nError)
 
static SAL_DLLPRIVATE void StateView_Impl (SfxItemSet &)
 
static SAL_DLLPRIVATE bool QueryAllowExoticFormat_Impl (const css::uno::Reference< css::task::XInteractionHandler > &xHandler, const OUString &rURL, const OUString &rFilterUIName)
 
- Static Public Member Functions inherited from SfxShell
static SfxInterfaceGetStaticInterface ()
 
static void EmptyExecStub (SfxShell *pShell, SfxRequest &)
 
static void EmptyStateStub (SfxShell *pShell, SfxItemSet &)
 
static void VerbState (SfxItemSet &)
 

Private Member Functions

SAL_DLLPRIVATE void InitItems ()
 
SAL_DLLPRIVATE void DoEnterHandler ()
 
SAL_DLLPRIVATE void InitOptions (bool bForLoading)
 
SAL_DLLPRIVATE void ResetDrawObjectShell ()
 
SAL_DLLPRIVATE bool LoadXML (SfxMedium *pMedium, const css::uno::Reference< css::embed::XStorage > &)
 
SAL_DLLPRIVATE bool SaveXML (SfxMedium *pMedium, const css::uno::Reference< css::embed::XStorage > &)
 
SAL_DLLPRIVATE SCTAB GetSaveTab ()
 
SAL_DLLPRIVATE ErrCode DBaseImport (const OUString &rFullFileName, rtl_TextEncoding eCharSet, std::map< SCCOL, ScColWidthParam > &aColWidthParam, ScFlatBoolRowSegments &rRowHeightsRecalc)
 
SAL_DLLPRIVATE ErrCode DBaseExport (const OUString &rFullFileName, rtl_TextEncoding eCharSet, bool &bHasMemo)
 
SAL_DLLPRIVATE void LockPaint_Impl (bool bDoc)
 
SAL_DLLPRIVATE void UnlockPaint_Impl (bool bDoc)
 
SAL_DLLPRIVATE void LockDocument_Impl (sal_uInt16 nNew)
 
SAL_DLLPRIVATE void UnlockDocument_Impl (sal_uInt16 nNew)
 
SAL_DLLPRIVATE void EnableSharedSettings (bool bEnable)
 
SAL_DLLPRIVATE css::uno::Reference< css::frame::XModel > LoadSharedDocument ()
 
SAL_DLLPRIVATE void UseSheetSaveEntries ()
 
SAL_DLLPRIVATE std::unique_ptr< ScDocFuncCreateDocFunc ()
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override
 

Static Private Member Functions

static SAL_DLLPRIVATE bool MoveFile (const INetURLObject &rSource, const INetURLObject &rDest)
 
static SAL_DLLPRIVATE bool KillFile (const INetURLObject &rURL)
 
static SAL_DLLPRIVATE bool IsDocument (const INetURLObject &rURL)
 
static void InitInterface_Impl ()
 SfxInterface initializer. More...
 

Private Attributes

std::shared_ptr< ScDocumentm_pDocument
 
OUString m_aDdeTextFmt
 
double m_nPrtToScreenFactor
 
std::unique_ptr< DocShell_Implm_pImpl
 
std::unique_ptr< ScDocFuncm_pDocFunc
 
bool m_bHeaderOn
 
bool m_bFooterOn
 
bool m_bIsInplace:1
 
bool m_bIsEmpty:1
 
bool m_bIsInUndo:1
 
bool m_bDocumentModifiedPending:1
 
bool m_bUpdateEnabled:1
 
bool m_bAreasChangedNeedBroadcast:1
 
sal_uInt16 m_nDocumentLock
 
sal_Int16 m_nCanUpdate
 
std::unique_ptr< ScDBDatam_pOldAutoDBRange
 
std::unique_ptr< ScAutoStyleListm_pAutoStyleList
 
std::unique_ptr< ScPaintLockDatam_pPaintLockData
 
std::unique_ptr< ScSheetSaveDatam_pSheetSaveData
 
std::unique_ptr< ScFormatSaveDatam_pFormatSaveData
 
std::unique_ptr< ScDocShellModificator, o3tl::default_delete< ScDocShellModificator > > m_pModificator
 
css::uno::Reference< ooo::vba::excel::XWorkbook > mxAutomationWorkbookObject
 
css::uno::Reference< css::script::vba::XVBAScriptListener > m_xVBAListener
 
css::uno::Reference< css::datatransfer::XTransferable2 > m_xClipData
 

Friends

bool TestImportDBF (SvStream &rStream)
 

Additional Inherited Members

- Protected Member Functions inherited from SfxObjectShell
 SfxObjectShell (SfxObjectCreateMode)
 
 SfxObjectShell (SfxModelFlags)
 
virtual ~SfxObjectShell () override
 
void ModifyChanged ()
 
virtual bool Close () override
 
virtual void DoFlushDocInfo ()
 
void AddToRecentlyUsedList ()
 
- Protected Member Functions inherited from SfxShell
 SfxShell ()
 
 SfxShell (SfxViewShell *pViewSh)
 
void SetViewShell_Impl (SfxViewShell *pView)
 
SAL_DLLPRIVATE void Invalidate_Impl (SfxBindings &rBindings, sal_uInt16 nId)
 
- Static Protected Member Functions inherited from SfxShell
static void HandleOpenXmlFilterSettings (SfxRequest &)
 

Detailed Description

Definition at line 80 of file docsh.hxx.

Constructor & Destructor Documentation

◆ ScDocShell() [1/2]

ScDocShell::ScDocShell ( const ScDocShell rDocShell)
explicitdelete

Referenced by Execute().

◆ ScDocShell() [2/2]

ScDocShell::ScDocShell ( const SfxModelFlags  i_nSfxCreationFlags = SfxModelFlags::EMBEDDED_OBJECT,
const std::shared_ptr< ScDocument > &  pDoc = {} 
)
explicit

◆ ~ScDocShell()

ScDocShell::~ScDocShell ( )
overridevirtual

Member Function Documentation

◆ AdjustPrintZoom()

bool ScDocShell::AdjustPrintZoom ( const ScRange rRange)

◆ AdjustRowHeight()

bool ScDocShell::AdjustRowHeight ( SCROW  nStartRow,
SCROW  nEndRow,
SCTAB  nTab 
)

◆ AfterXMLLoading()

void ScDocShell::AfterXMLLoading ( bool  bRet)

◆ AllowLinkUpdate()

void ScDocShell::AllowLinkUpdate ( )

◆ AsciiSave()

void ScDocShell::AsciiSave ( SvStream rStream,
const ScImportOptions rOpt,
SCTAB  nTab 
)

◆ BeforeXMLLoading()

void ScDocShell::BeforeXMLLoading ( )

Definition at line 293 of file docsh.cxx.

References m_pDocument, and m_pModificator.

Referenced by ScModelObj::BeforeXMLLoading(), and LoadXML().

◆ CalcOutputFactor()

void ScDocShell::CalcOutputFactor ( )

◆ CancelAutoDBRange()

void ScDocShell::CancelAutoDBRange ( )

◆ CheckConfigOptions()

void ScDocShell::CheckConfigOptions ( )

◆ CompareDocument()

void ScDocShell::CompareDocument ( ScDocument rOtherDoc)

◆ ConvertFrom()

bool ScDocShell::ConvertFrom ( SfxMedium rMedium)
overridevirtual

Call CreateFileStream directly, if available

In the filter

For all imports?

Reimplemented from SfxObjectShell.

Definition at line 1172 of file docsh.cxx.

References ScRange::aEnd, ScRange::aStart, CalcOutputFactor(), SfxUndoManager::Clear(), DBaseImport(), EIF_AUTO, EIF_BIFF5, EIF_BIFF8, EIF_BIFF_LE4, ERRCODE_NONE, SfxObjectShell::FinishedLoading(), ScFormatFilter::Get(), INetURLObject::GetBase(), SfxMedium::GetBaseURL(), ScAsciiOptions::GetCharSet(), ScGlobal::GetCharsetString(), ScGlobal::GetCharsetValue(), ScSizeDeviceProvider::GetDevice(), SfxObjectShell::GetError(), SfxMedium::GetFilter(), ScImportExport::GetIncludeBOM(), SfxMedium::GetInStream(), SfxItemSet::GetItemIfSet(), SfxMedium::GetItemSet(), SfxMedium::GetName(), ScFormatFilterPlugin::GetOrcusFilters(), GetOutputFactor(), SfxMedium::GetPhysicalName(), ScSizeDeviceProvider::GetPPTX(), ScSizeDeviceProvider::GetPPTY(), comphelper::getProcessComponentContext(), GetUndoManager(), ScOrcusFilters::importExcel2003XML(), ScOrcusFilters::importGnumeric(), ScImportExport::ImportStream(), InitItems(), ScImportExport::IsOverflowCell(), ScImportExport::IsOverflowCol(), ScImportExport::IsOverflowRow(), SfxMedium::IsStorage(), ErrCode::IsWarning(), LANGUAGE_SYSTEM, lcl_parseHtmlFilterOption(), LoadXML(), m_bIsEmpty, m_pDocument, MakeDrawLayer(), ScDocRowHeightUpdater::TabRanges::maRanges, ScMarkData::MarkToMulti(), ScGlobal::nLastColWidthExtra, nPPTX, nPPTY, ScGlobal::nScreenPPTX, ScGlobal::nScreenPPTY, pFilterDBase, pFilterDif, pFilterEx4Temp, pFilterEx5Temp, pFilterEx95Temp, pFilterEx97Temp, pFilterExcel4, pFilterExcel5, pFilterExcel95, pFilterExcel97, pFilterHtml, pFilterHtmlWebQ, pFilterLotus, pFilterQPro6, pFilterRtf, pFilterSylk, pFilterXML, SfxItemSet::Put(), ScAsciiOptions::ReadFromString(), SAL_WARN, SC_TEXT_CSV_FILTER_NAME, SCERR_IMPORT_CONNECT, SCERR_IMPORT_NI, SCERR_IMPORT_UNKNOWN, ScFormatFilterPlugin::ScImportDif(), ScFormatFilterPlugin::ScImportExcel(), ScFormatFilterPlugin::ScImportHTML(), ScFormatFilterPlugin::ScImportLotus123(), ScFormatFilterPlugin::ScImportQuattroPro(), ScFormatFilterPlugin::ScImportRTF(), SCWARN_IMPORT_CELL_OVERFLOW, SCWARN_IMPORT_COLUMN_OVERFLOW, SCWARN_IMPORT_ROW_OVERFLOW, SvStream::Seek(), ScAsciiOptions::SetCharSet(), ScAddress::SetCol(), SfxObjectShell::SetError(), ScImportExport::SetExtOptions(), ScAsciiOptions::SetFieldSeps(), ScAsciiOptions::SetIncludeBOM(), SetInitialLinkUpdate(), ScMarkData::SetMarkArea(), ScAddress::SetRow(), SvStream::SetStreamCharSet(), ScAsciiOptions::SetTextSep(), ScDocRowHeightUpdater::update(), and ScAsciiOptions::WriteToString().

◆ ConvertTo()

bool ScDocShell::ConvertTo ( SfxMedium rMedium)
overridevirtual

Reimplemented from SfxObjectShell.

Definition at line 2391 of file docsh.cxx.

References INetURLObject::Append(), AsciiSave(), ScImportOptions::BuildString(), SfxItemSet::ClearItem(), SfxMedium::CloseOutStream(), utl::UcbStreamHelper::CreateStream(), INetURLObject::CutExtension(), INetURLObject::CutLastName(), DBaseExport(), ERRCODE_ABORT, ERRCODE_IO_CANTCREATE, ERRCODE_NONE, ExpBiff5, ExpBiff8, ScImportExport::ExportStream(), ScFormatFilter::Get(), GetActiveDialogParent(), SfxMedium::GetArgs(), SfxMedium::GetBaseURL(), GetBestViewShell(), ScGlobal::GetCharsetString(), ScGlobal::GetCharsetValue(), SfxObjectShell::GetCreateMode(), SfxMedium::GetError(), SfxObjectShell::GetError(), SfxMedium::GetFilter(), SfxItemSet::GetItem(), SfxItemSet::GetItemIfSet(), SfxMedium::GetItemSet(), SfxItemSet::GetItemState(), INetURLObject::GetLastName(), INetURLObject::GetMainURL(), SfxMedium::GetName(), ScImportExport::GetNonConvertibleChars(), SfxMedium::GetOutStream(), SfxMedium::GetPhysicalName(), GetSaveTab(), SfxMedium::GetURLObject(), CntUnencodedStringItem::GetValue(), i, IsDocument(), FStatHelper::IsDocument(), ErrCode::IsWarning(), KillFile(), m_pAutoStyleList, m_pDocument, MoveFile(), nCount, ScPassHashHelper::needsPassHashRegen(), INetURLObject::NONE, ScImportOptions::nSheetToExport, OUStringToOString(), PASSHASH_XL, pFilterDBase, pFilterDif, pFilterEx5Temp, pFilterEx95Temp, pFilterEx97Temp, pFilterExcel5, pFilterExcel95, pFilterExcel97, pFilterHtml, pFilterSylk, pFilterXML, SaveXML(), SC_TEXT_CSV_FILTER_NAME, SCERR_EXPORT_DATA, SCERR_IMPORT_NI, ScFormatFilterPlugin::ScExportDif(), ScFormatFilterPlugin::ScExportExcel5(), SCWARN_EXPORT_ASCII, SCWARN_EXPORT_NONCONVERTIBLE_CHARS, SfxMedium::SetError(), SfxObjectShell::SetError(), INetURLObject::setExtension(), ScImportExport::SetFilterOptions(), ScImportExport::SetFormulas(), ScImportExport::SetStreamPath(), SfxObjectShell::SetVisArea(), u, INetURLObject::Unambiguous, and ScWarnPassword::WarningOnPassword().

◆ CreateDocFunc()

std::unique_ptr< ScDocFunc > ScDocShell::CreateDocFunc ( )
private

Definition at line 2893 of file docsh.cxx.

Referenced by ScDocShell().

◆ CreateDocumentInfoDialog()

std::shared_ptr< SfxDocumentInfoDialog > ScDocShell::CreateDocumentInfoDialog ( weld::Window pParent,
const SfxItemSet rSet 
)
overridevirtual

◆ DBAreaDeleted()

void ScDocShell::DBAreaDeleted ( SCTAB  nTab,
SCCOL  nX1,
SCROW  nY1,
SCCOL  nX2 
)

◆ DBaseExport()

ErrCode ScDocShell::DBaseExport ( const OUString &  rFullFileName,
rtl_TextEncoding  eCharSet,
bool &  bHasMemo 
)
private

◆ DBaseImport()

ErrCode ScDocShell::DBaseImport ( const OUString &  rFullFileName,
rtl_TextEncoding  eCharSet,
std::map< SCCOL, ScColWidthParam > &  aColWidthParam,
ScFlatBoolRowSegments rRowHeightsRecalc 
)
private

◆ DdeCreateLinkSource()

sfx2::SvLinkSource * ScDocShell::DdeCreateLinkSource ( const OUString &  rItem)
override

◆ DECL_DLLPRIVATE_LINK() [1/3]

ScDocShell::DECL_DLLPRIVATE_LINK ( DialogClosedHdl  ,
sfx2::FileDialogHelper ,
void   
)

◆ DECL_DLLPRIVATE_LINK() [2/3]

ScDocShell::DECL_DLLPRIVATE_LINK ( RefreshDBDataHdl  ,
Timer ,
void   
)

◆ DECL_DLLPRIVATE_LINK() [3/3]

ScDocShell::DECL_DLLPRIVATE_LINK ( ReloadAllLinksHdl  ,
weld::Button ,
void   
)

◆ DoAutoStyle()

void ScDocShell::DoAutoStyle ( const ScRange rRange,
const OUString &  rStyle 
)

◆ DoConsolidate()

void ScDocShell::DoConsolidate ( const ScConsolidateParam rParam,
bool  bRecord = true 
)

◆ DoEnterHandler()

void ScDocShell::DoEnterHandler ( )
private

◆ DoHardRecalc()

void ScDocShell::DoHardRecalc ( )

◆ DoRecalc()

void ScDocShell::DoRecalc ( bool  bApi)

◆ DoSaveCompleted()

bool ScDocShell::DoSaveCompleted ( SfxMedium pNewStor = nullptr,
bool  bRegisterRecent = true 
)
overridevirtual

Reimplemented from SfxObjectShell.

Definition at line 2743 of file docsh.cxx.

References SfxObjectShell::DoSaveCompleted().

◆ Draw()

void ScDocShell::Draw ( OutputDevice pDev,
const JobSetup rSetup,
sal_uInt16  nAspect,
bool  bOutputForScreen 
)
overridevirtual

◆ EnableSharedSettings()

SAL_DLLPRIVATE void ScDocShell::EnableSharedSettings ( bool  bEnable)
private

Referenced by Execute().

◆ ErrorMessage()

void ScDocShell::ErrorMessage ( TranslateId  pGlobStrId)

◆ Execute()

void ScDocShell::Execute ( SfxRequest rReq)

limit always or not at all ???

also for individual ranges, which cannot be updated

only for the dependent

old changes trace will be lost

get view for this document!

???????

omit SetTabNo in DeleteTable?

Definition at line 242 of file docsh4.cxx.

References aData, SfxUndoManager::AddUndoAction(), ScRange::aEnd, aName, SfxViewFrame::AppendInfoBar(), SfxRequest::AppendItem(), aProperties, ScRange::aStart, SfxUndoManager::Clear(), tools::SvRef< typename T >::clear(), sfx2::SfxNotebookBar::CloseMethod(), ScAddress::Col(), sfx2::DocumentInserter::Compare, CompareDocument(), weld::Button::connect_clicked(), SfxAbstractDialogFactory::Create(), ScAbstractDialogFactory::Create(), Application::CreateMessageDialog(), ScAbstractDialogFactory::CreateScColRowLabelDlg(), ScAbstractDialogFactory::CreateScNewScenarioDlg(), SfxViewFrame::Current(), ScViewFunc::DeleteTable(), SfxObjectShell::DoClose(), DoHardRecalc(), SfxObjectShell::DoLoad(), SfxRequest::Done(), DoRecalc(), EE_CHAR_LANGUAGE(), EE_CHAR_LANGUAGE_CJK(), EE_CHAR_LANGUAGE_CTL(), EE_TEXTPOS_ALL, EnableSharedSettings(), ScDocument::EndChangeTracking(), SfxUndoManager::EnterListAction(), ERRCODE_BASIC_BAD_PARAMETER, ERRCODE_BASIC_NO_ACTIVE_OBJECT, ERRCODE_BASIC_NO_OBJECT, ERRCTX_SFX_OPENDOC, sfx2::SfxNotebookBar::ExecMethod(), ScTabViewShell::Execute(), ExecuteChangeProtectionDialog(), SfxDispatcher::ExecuteList(), ScDBCollection::NamedDBs::findByUpperName(), ScChangeTrack::GetActionMax(), GetActiveDialogParent(), ScViewData::GetActivePart(), ScTabViewShell::GetActiveViewShell(), ScDocument::GetAddressConvention(), ScDBData::GetArea(), SfxRequest::GetArg(), SfxRequest::GetArgs(), GetBestViewShell(), ScDocument::GetChangeTrack(), ScGlobal::getCharClass(), SvxColorListItem::GetColorList(), GetDBData(), ScTabViewShell::GetDialogParent(), ScViewData::GetDispatcher(), GetDocument(), EditView::GetEditEngine(), ScViewData::GetEditView(), ScModelObj::GetEmbeddedObject(), SfxObjectShell::getEmbeddedObjectContainer(), EditEngine::GetEmptyItemSet(), SfxObjectShell::GetError(), SfxObjectShell::GetErrorCode(), ScDocumentLoader::GetFilterName(), ScTabViewShell::GetFormShell(), SfxShell::GetFrame(), SfxViewShell::GetFrameWeld(), ScDBData::GetImportParam(), SfxShell::GetItem(), SfxItemSet::GetItemIfSet(), SfxItemSet::GetItemState(), ScDocument::GetLanguage(), SvtLanguageTable::GetLanguageType(), GetLinkUpdateModeState(), svt::GenDocumentLockFile::GetLockData(), GetModel(), SfxMedium::GetName(), ScDBData::GetName(), ScDBCollection::getNamedDBs(), SfxShell::GetPool(), SvtLanguageOptions::GetScriptTypeOfLanguage(), EditView::GetSelection(), SfxObjectShell::GetSharedFileURL(), SfxRequest::GetSlot(), ScModule::GetSpellSettings(), GetStandardText(), ScViewData::GetTabNo(), o3tl::getToken(), GetUndoManager(), CntUnencodedStringItem::GetValue(), SfxBoolItem::GetValue(), SfxInt16Item::GetValue(), GetValue, ScViewData::GetView(), GetViewBindings(), GetViewData(), ScTabView::GetViewData(), ErrorHandler::HandleError(), ScChartPositioner::HasColHeaders(), ScDBData::HasImportParam(), ScDBData::HasImportSelection(), SfxItemSet::HasItem(), SfxObjectShell::HasName(), svt::ShareControlFile::HasOwnEntry(), ScDBData::HasQueryParam(), ScChartPositioner::HasRowHeaders(), SfxObjectShell::HasSharedXMLFlagSet(), ScDBData::HasSortParam(), ScDBData::HasSubTotalParam(), SfxRequest::Ignore(), ScDBFunc::ImportData(), svx::ODataAccessDescriptor::initializeFrom(), EditView::InsertText(), SfxBindings::Invalidate(), SfxBindings::InvalidateAll(), SfxObjectShell::InvalidateName(), sfx2::SfxNotebookBar::IsActive(), SfxRequest::IsAPI(), SfxObjectShell::IsDocShared(), ScChangeTrack::IsProtected(), ScShareDocumentDlg::IsShareDocumentChecked(), ScDBData::IsStripData(), Keep, LANGUAGE_DONTKNOW, LANGUAGE_NONE, SfxUndoManager::LeaveListAction(), LINK, LM_ALWAYS, LM_NEVER, LM_ON_DEMAND, LoadSharedDocument(), m_nCanUpdate, m_pDocument, m_pImpl, ScTabView::MarkRange(), sfx2::DocumentInserter::Merge, MergeDocument(), mode, ModifyScenario(), ESelection::nEndPos, nPos, ESelection::nStartPos, nVersion, ScAddress::Parse(), ScRange::ParseAny(), PostDataChanged(), PostPaintCell(), PostPaintExtras(), PostPaintGridAll(), SfxItemSet::Put(), RefreshPivotTables(), ReloadAllLinks(), ScDocumentLoader::RemoveAppPrefix(), SfxViewFrame::RemoveInfoBar(), ScDBFunc::RepeatDB(), RET_NO, RET_OK, RET_YES, ScAddress::Row(), weld::DialogController::run(), SC_DB_IMPORT, SC_MOD, ScDocShell(), ScResId(), weld::Button::set_label(), weld::Widget::set_tooltip_text(), EditView::SetAttribs(), ScDocument::SetChangeViewSettings(), SetDocumentModified(), SbxBase::SetError(), ScChangeViewSettings::SetHasActionRange(), ScDBData::SetImportParam(), ScDocument::SetLanguage(), SfxRequest::SetReturnValue(), EditView::SetSelection(), ScChangeViewSettings::SetShowAccepted(), ScChangeViewSettings::SetShowChanges(), ScTabView::SetTabNo(), ScChangeViewSettings::SetTheActionRange(), comphelper::EmbeddedObjectContainer::setUserAllowsLinkUpdate(), FmFormShell::SetY2KState(), ScDocOptions::SetYear2000(), SfxGetpApp(), SfxResId(), ScChangeViewSettings::ShowChanges(), SfxViewFrame::ShowChildWindow(), EditView::SpellIgnoreWord(), ScDocument::StartChangeTracking(), SfxBaseModel::store(), SfxObjectShell::SwitchToShared(), ScAddress::Tab(), TOOLS_WARN_EXCEPTION, u, UpdateAcceptChangesDialog(), ScDBDocFunc::UpdateImport(), ScTabView::UpdateLayerLocks(), ScInputHandler::UpdateSpellSettings(), VALID, ValidTab(), xModel, and ZERO.

◆ ExecuteChangeCommentDialog()

void ScDocShell::ExecuteChangeCommentDialog ( ScChangeAction pAction,
weld::Window pParent,
bool  bPrevNext = true 
)

◆ ExecuteChangeProtectionDialog()

bool ScDocShell::ExecuteChangeProtectionDialog ( bool  bJustQueryIfProtected = false)

◆ ExecutePageStyle()

void ScDocShell::ExecutePageStyle ( const SfxViewShell rCaller,
SfxRequest rReq,
SCTAB  nCurTab 
)

◆ FillClass()

void ScDocShell::FillClass ( SvGlobalName pClassName,
SotClipboardFormatId pFormat,
OUString *  pFullTypeName,
sal_Int32  nFileFormat,
bool  bTemplate = false 
) const
overridevirtual

Implements SfxObjectShell.

Definition at line 193 of file docsh.cxx.

References ScResId(), SO3_SC_CLASSID_60, SOFFICE_FILEFORMAT_60, and SOFFICE_FILEFORMAT_8.

◆ GetActiveDialogParent()

weld::Window * ScDocShell::GetActiveDialogParent ( )
static

◆ GetAnonymousDBData()

ScDBData * ScDocShell::GetAnonymousDBData ( const ScRange rRange)

◆ GetAsciiFilterName()

OUString ScDocShell::GetAsciiFilterName ( )
static

Definition at line 2857 of file docsh.cxx.

References SC_TEXT_CSV_FILTER_NAME.

Referenced by ScFilterOptionsObj::execute().

◆ GetBestViewShell()

ScTabViewShell * ScDocShell::GetBestViewShell ( bool  bOnlyVisible = true)

◆ GetChangeAction()

ScChangeAction * ScDocShell::GetChangeAction ( const ScAddress rPos)

◆ GetClipData()

css::uno::Reference< css::datatransfer::XTransferable2 > const & ScDocShell::GetClipData ( ) const
inline

Definition at line 223 of file docsh.hxx.

Referenced by ScVbaRange::Insert().

◆ GetCurTab()

SCTAB ScDocShell::GetCurTab ( )
static

◆ GetDBaseFilterName()

OUString ScDocShell::GetDBaseFilterName ( )
static

Definition at line 2867 of file docsh.cxx.

References pFilterDBase.

Referenced by ScFilterOptionsObj::execute().

◆ GetDBData()

ScDBData * ScDocShell::GetDBData ( const ScRange rMarked,
ScGetDBMode  eMode,
ScGetDBSelection  eSel 
)

◆ GetDdeTextFmt()

const OUString & ScDocShell::GetDdeTextFmt ( ) const
inline

Definition at line 373 of file docsh.hxx.

Referenced by ScServerObject::GetData().

◆ GetDifFilterName()

OUString ScDocShell::GetDifFilterName ( )
static

Definition at line 2872 of file docsh.cxx.

References pFilterDif.

Referenced by ScFilterOptionsObj::execute().

◆ GetDocColors()

std::set< Color > ScDocShell::GetDocColors ( )
overridevirtual

Reimplemented from SfxObjectShell.

Definition at line 217 of file docsh.cxx.

References m_pDocument.

◆ GetDocFunc()

ScDocFunc & ScDocShell::GetDocFunc ( )
inline

Definition at line 221 of file docsh.hxx.

Referenced by ScNamedRangesObj::addNewByName(), ScNamedRangesObj::addNewFromTitles(), ScTableSheetObj::addRanges(), ScVbaRange::AutoFill(), ScCellRangeObj::autoFormat(), ScViewFunc::AutoFormat(), ScOptSolverDlg::CallSolver(), ScViewFunc::ChangeIndent(), ScTableSheetObj::clearArrows(), ScViewFunc::ConvertFormulaToValue(), ScTableSheetsObj::copyByName(), ScTableSheetObj::copyRange(), ScViewFunc::CreateNames(), ScViewFunc::DeleteCells(), ScViewFunc::DeleteContents(), ScViewFunc::DeletePageBreak(), ScViewFunc::DeleteTable(), ScViewFunc::DetectiveAddError(), ScViewFunc::DetectiveAddPred(), ScViewFunc::DetectiveAddSucc(), ScViewFunc::DetectiveDelAll(), ScViewFunc::DetectiveDelPred(), ScViewFunc::DetectiveDelSucc(), ScViewFunc::DetectiveMarkInvalid(), ScViewFunc::DetectiveMarkPred(), ScViewFunc::DetectiveMarkSucc(), ScViewFunc::DetectiveRefresh(), ScPosWnd::DoEnter(), DoHardRecalc(), ScTransferObj::DragFinished(), ScGridWindow::DropTransferObj(), ScViewFunc::EnterMatrix(), ScCellShell::ExecuteEdit(), ScTabViewShell::ExecuteTable(), ScCellRangeObj::fillAuto(), ScViewFunc::FillAuto(), ScCellRangeObj::fillSeries(), ScViewFunc::FillSeries(), ScViewFunc::FillSimple(), oox::xls::Comment::finalizeImport(), ScRandomNumberGeneratorDialog::GenerateNumbers(), ScViewData::GetDocFunc(), ScTableSheetObj::hideDependents(), ScTableSheetObj::hidePrecedents(), ScCellObj::InputEnglishString(), ScViewFunc::InsertAreaLink(), ScAreaLinksObj::insertAtPosition(), ScTableColumnsObj::insertByIndex(), ScTableRowsObj::insertByIndex(), ScTableSheetsObj::insertByName(), ScTableSheetObj::insertCells(), ScViewFunc::InsertCells(), ScViewFunc::InsertCurrentTime(), ScViewFunc::InsertNameList(), ScAnnotationsObj::insertNew(), ScDrawPagesObj::insertNewByIndex(), ScTableSheetsObj::insertNewByName(), ScViewFunc::InsertPageBreak(), ScViewFunc::InsertTable(), ScCellRangeObj::merge(), ScViewFunc::MergeCells(), MergeDocument(), ScAreaLinkObj::Modify_Impl(), ScNamedRangeObj::Modify_Impl(), ScGridWindow::MouseButtonUp(), ScPreview::MouseButtonUp(), ScViewFunc::MoveBlockTo(), ScTableSheetObj::moveRange(), ScCondFormatDlg::OkPressed(), ScNamedRangesObj::outputList(), ScViewFunc::PasteFromClip(), sc::SparklineDataRangeDialog::perform(), sc::SparklineDialog::perform(), ScSamplingDialog::PerformPeriodicSampling(), ScSamplingDialog::PerformRandomSampling(), ScSamplingDialog::PerformRandomSamplingKeepOrder(), ScTableSheetObj::protect(), ScModelObj::protect(), ScViewFunc::ProtectDoc(), ScViewFunc::ProtectSheet(), ScUndoDragDrop::Redo(), ScModelObj::refreshArrows(), ScDrawPagesObj::remove(), ScAnnotationsObj::removeByIndex(), ScTableColumnsObj::removeByIndex(), ScTableRowsObj::removeByIndex(), ScScenariosObj::removeByName(), ScNamedRangesObj::removeByName(), ScTableSheetsObj::removeByName(), ScViewFunc::RemoveMerge(), ScTableSheetObj::removeRange(), ScViewFunc::RenameTable(), ScTableSheetsObj::replaceByName(), ScViewFunc::ReplaceNote(), ScCellRangeObj::SetArrayFormula_Impl(), ScCellRangeObj::setArrayTokens(), ScVbaRange::setColumnWidth(), ScAccessibleCellBase::setCurrentValue(), SetDocumentModified(), ScVbaRange::setFormulaArray(), ScCellObj::setFormulaString(), ScAnnotationObj::setIsVisible(), ScTableSheetObj::setName(), ScViewFunc::SetNoteText(), ScTableSheetObj::SetOnePropertyValue(), ScTableColumnObj::SetOnePropertyValue(), ScTableRowObj::SetOnePropertyValue(), ScTableColumnsObj::setPropertyValue(), ScTableRowsObj::setPropertyValue(), ScVbaRange::setRowHeight(), ScCellObj::SetString_Impl(), ScViewFunc::SetTabBgColor(), ScCellRangeObj::setTableOperation(), ScCellObj::setTokens(), ScCellObj::SetValue_Impl(), ScTableSheetObj::showDependents(), ScTableSheetObj::showErrors(), ScTableSheetObj::showInvalid(), ScViewFunc::ShowNote(), ScTableSheetObj::showPrecedents(), ScDBDocFunc::Sort(), ScViewFunc::TabOp(), ScViewFunc::TransliterateText(), ScTableSheetObj::unprotect(), ScModelObj::unprotect(), ScViewFunc::Unprotect(), ScCellTextData::UpdateData(), AddressWalkerWriter::writeBoldString(), AddressWalkerWriter::writeFormula(), AddressWalkerWriter::writeFormulas(), AddressWalkerWriter::writeMatrixFormula(), AddressWalkerWriter::writeString(), and AddressWalkerWriter::writeValue().

◆ GetDocStat()

void ScDocShell::GetDocStat ( ScDocStat rDocStat)

◆ GetDocument() [1/2]

ScDocument & ScDocShell::GetDocument ( )
inline

Definition at line 220 of file docsh.hxx.

◆ GetDocument() [2/2]

const ScDocument & ScDocShell::GetDocument ( ) const
inline

Definition at line 219 of file docsh.hxx.

Referenced by ScTabViewShell::ActivateObject(), ScNamedRangesObj::addActionLock(), ScDBDocFunc::AddDBRange(), ScDDELinksObj::addDDELink(), ScLabelRangesObj::addNew(), ScChartsObj::addNewByName(), ScScenariosObj::addNewByName(), ScNamedRangesObj::addNewByName(), sc::TablePivotCharts::addNewByName(), ScTableSheetObj::addRanges(), ScVbaRange::Address(), ScViewFunc::AdjustBlockHeight(), ScBlockUndo::AdjustHeight(), ScDocFunc::AdjustRowHeight(), ScViewFunc::AdjustRowHeight(), ScCellsEnumeration::Advance_Impl(), ScViewFunc::AppendTable(), ScTableSheetObj::apply(), sc::ThemeColorChanger::apply(), ScDocFunc::ApplyAttributes(), ScHelperFunctions::ApplyBorder(), ScViewFunc::ApplySelectionPattern(), ScDocFunc::ApplyStyle(), ScVbaRange::AutoFilter(), ScDocFunc::AutoFormat(), ScOutlineDocFunc::AutoOutline(), ScDBFuncUndo::BeginRedo(), ScBlockUndo::BeginUndo(), ScMultiBlockUndo::BeginUndo(), ScDBFuncUndo::BeginUndo(), ScMoveUndo::BeginUndo(), ScSimpleUndo::BroadcastChanges(), ScPreview::CalcPages(), ScUndoSelectionAttr::ChangeEditData(), ScViewFunc::ChangeIndent(), ScDocFunc::ChangeIndent(), ScVbaTextBoxShape::characters(), sc::tools::ChartIterator::ChartIterator(), ScCellsEnumeration::CheckPos_Impl(), ScServerObject::Clear(), ScDocFunc::ClearItems(), ScAreaLink::Closed(), ScCellCursorObj::collapseToCurrentArray(), ScCellCursorObj::collapseToCurrentRegion(), ScCellCursorObj::collapseToMergedArea(), ScTabViewShell::ConnectObject(), ScModelObj::consolidate(), ScTabViewShell::Construct(), ScPreviewShell::Construct(), ScDocFunc::ConvertFormulaToValue(), ScTableSheetsObj::copyByName(), ScTpLayoutOptions::Create(), ScCondFormatsObj::createByRange(), ScSelectionTransferObj::CreateCellData(), ScModelObj::createConsolidationDescriptor(), ScTableSheetObj::createCursor(), ScCondFormatObj::createEntry(), ScCellRangeObj::createFilterDescriptorByObject(), ScModule::CreateItemSet(), ScDocFunc::CreateNames(), ScDocFunc::CreateOneName(), ScDBDocFunc::CreatePivotTable(), ScVbaWorksheet::createSheetCopyInNewDoc(), ScAreaLink::DataChanged(), ScDBDocFunc::DataPilotUpdate(), sc::DataStream::Decode(), ScDocFunc::DeleteCell(), ScDocFunc::DeleteCells(), ScDocFunc::DeleteContents(), ScDBDocFunc::DeleteDBRange(), ScViewFunc::DeleteMulti(), ScDBFunc::DeletePivotTable(), ScDocFunc::DeleteSparkline(), ScDocFunc::DeleteSparklineGroup(), ScDocFunc::DeleteTable(), ScViewFunc::DeleteTable(), ScViewFunc::DeleteTables(), ScDocFunc::DetectiveAddError(), ScDocFunc::DetectiveAddPred(), ScDocFunc::DetectiveAddSucc(), ScDocFunc::DetectiveDelAll(), ScDocFunc::DetectiveDelPred(), ScDocFunc::DetectiveDelSucc(), ScDocFunc::DetectiveMarkInvalid(), ScViewFunc::DetectiveMarkPred(), ScDocFunc::DetectiveRefresh(), ScViewFunc::DoAutoAttributes(), ScUndoDeleteMulti::DoChange(), ScUndoImportTab::DoChange(), ScUndoPageBreak::DoChange(), ScUndoRemoveLink::DoChange(), ScUndoLayoutRTL::DoChange(), ScUndoShowHideTab::DoChange(), ScUndoPaste::DoChange(), ScUndoPrintZoom::DoChange(), ScUndoRangeNames::DoChange(), ScUndoAutoFilter::DoChange(), ScUndoPrintRange::DoChange(), ScUndoMerge::DoChange(), ScUndoMoveTab::DoChange(), ScUndoThesaurus::DoChange(), ScUndoTabColor::DoChange(), ScUndoInsertCells::DoChange(), ScUndoDeleteCells::DoChange(), ScUndoCut::DoChange(), ScUndoDeleteContents::DoChange(), ScUndoFillTable::DoChange(), ScUndoSelectionAttr::DoChange(), ScUndoSelectionStyle::DoChange(), ScUndoDataForm::DoChange(), ScUndoUpdateAreaLink::DoChange(), sc::UndoSetCells::DoChange(), ScUndoConditionalFormatList::DoChange(), ScUndoCursorAttr::DoChange(), ScUndoAllRangeNames::DoChange(), ScUndoModifyStyle::DoChange(), ScUndoConditionalFormat::DoChange(), ScUndoRefConversion::DoChange(), ScUndoConversion::DoChange(), ScUndoListNames::DoChange(), ScUndoRenameTab::DoChange(), ScTabView::DoChartSelection(), ScTabView::DoDPFieldPopup(), ScTabControl::DoDrag(), ScPosWnd::DoEnter(), ScDBDocFunc::DoImport(), ScUndoReplaceNote::DoInsertNote(), ScPreview::DoPrint(), ScUndoDocProtect::DoProtect(), ScUndoTabProtect::DoProtect(), ScUndoReplaceNote::DoRemoveNote(), ScViewFunc::DoSheetConversion(), ScDBFunc::DoSubTotals(), ScDBDocFunc::DoSubTotals(), ScViewFunc::DoThesaurus(), ScUndoDragDrop::DoUndo(), ScPreview::DrawInvert(), ScViewFunc::EditNote(), ScModelObj::enableAutomaticCalculation(), ScBlockUndo::EndUndo(), ScMultiBlockUndo::EndUndo(), ScDBFuncUndo::EndUndo(), ScMoveUndo::EndUndo(), ScViewFunc::EnterData(), ScDocFunc::EnterMatrix(), ScDrawShell::ExecDrawFunc(), ScTabViewShell::ExecDrawIns(), ScTabViewShell::ExecStyle(), sc::UndoFormulaToValue::Execute(), sc::UndoSort::Execute(), ScModule::Execute(), Execute(), ScPreviewShell::Execute(), ScFormatShell::ExecuteStyle(), ScTabViewShell::ExecuteTable(), XclExpXmlStream::exportDocument(), ScCellRangeObj::fillAuto(), ScViewFunc::FillAuto(), ScDocFunc::FillAuto(), ScPreviewShell::FillFieldData(), ScTabViewShell::FillFieldData(), ScModelObj::FillRenderMarkData(), ScDocFunc::FillSeries(), ScDocFunc::FillSimple(), ScViewFunc::FillSimple(), ScViewFunc::FillTab(), ScCellRangeObj::filter(), ScRedComDialog::FindNext(), ScRedComDialog::FindPrev(), ScInputHandler::FormulaPreview(), FuInsertChart::FuInsertChart(), ScAnnotationsObj::GetAddressByIndex_Impl(), sc::tools::getAllPivotChartsConnectedTo(), ScDBFunc::GetAnonymousDBData(), ScCellRangeObj::getArrayFormula(), ScCellRangeObj::getArrayTokens(), ScSheetEventsObj::getByName(), ScUnnamedDatabaseRangesObj::getByTable(), ScAnnotationEditSource::GetCaptionObj(), ScCellRangeObj::getCellRangeByName(), ScTableSheetsObj::getCellRangesByName(), ScVbaRange::getCellRangesForAddress(), ScCellShell::GetCellState(), GetChangeAction(), ScCellShell::GetClipState(), ScInputHandler::GetColData(), ScTableSheetObj::getColumnPageBreaks(), ScVbaRange::getColumnWidth(), ScCellObj::GetContentType_Impl(), ScCondFormatsObj::getCoreObject(), ScCellFormatsObj::getCount(), ScChartsObj::getCount(), ScDataPilotTablesObj::getCount(), ScDatabaseRangesObj::getCount(), ScDrawPagesObj::getCount(), ScTableSheetsObj::getCount(), ScAnnotationsObj::getCount(), ScScenariosObj::getCount(), ScSheetLinksObj::getCount(), ScAreaLinksObj::getCount(), ScDDELinksObj::getCount(), ScLabelRangesObj::getCount(), ScStyleFamilyObj::getCount(), ScServerObject::GetData(), ScLabelRangeObj::GetData_Impl(), ScChartObj::GetData_Impl(), ScModelObj::getDataArea(), ScCellRangeObj::getDataArray(), ScDBFunc::GetDBData(), ScDatabaseRangeObj::GetDBData_Impl(), ScCellShell::GetDBState(), getDefaultCharWidth(), ScPrintFuncCache::GetDisplayStart(), ScDocumentLoader::GetDocument(), ScPreviewShell::GetDocument(), ScModelObj::GetDocument(), getDocumentFromRange(), ScModelObj::getDocumentSize(), ScGridWindow::GetEditUrl(), ScChartsObj::getElementNames(), ScDataPilotTablesObj::getElementNames(), ScDatabaseRangesObj::getElementNames(), ScTableSheetsObj::getElementNames(), ScScenariosObj::getElementNames(), ScSheetLinksObj::getElementNames(), ScDDELinksObj::getElementNames(), ScStyleFamilyObj::getElementNames(), ScCellObj::getError(), ScChartObj::getFastPropertyValue(), ScPreview::GetFirstPage(), ScModelObj::GetFormatter(), ScCellRangeObj::getFormulaArray(), ScInputHandler::GetFormulaData(), ScExternalRefManager::getInMemorySrcDocument(), ScCellRangeObj::getIsMerged(), ScTableSheetObj::getIsScenario(), ScSheetLinkObj::GetLink_Impl(), ScTableSheetObj::getLinkMode(), ScTableSheetObj::getLinkSheetName(), GetLinkUpdateModeState(), ScTableSheetObj::getLinkUrl(), ScPreview::GetLocationData(), ScTableSheetObj::getName(), ScUndoRenameObject::GetObject(), ScDataPilotTablesObj::GetObjectByIndex_Impl(), ScSheetLinksObj::GetObjectByIndex_Impl(), ScDDELinksObj::GetObjectByIndex_Impl(), ScStyleFamilyObj::GetObjectByIndex_Impl(), ScGlobalNamedRangesObj::GetObjectByIndex_Impl(), ScLocalNamedRangesObj::GetObjectByIndex_Impl(), ScDatabaseRangesObj::GetObjectByIndex_Impl(), ScLabelRangesObj::GetObjectByIndex_Impl(), ScCellFormatsObj::GetObjectByIndex_Impl(), ScChartsObj::GetObjectByIndex_Impl(), ScSheetLinksObj::GetObjectByName_Impl(), ScTableSheetsObj::GetObjectByName_Impl(), ScStyleFamilyObj::GetObjectByName_Impl(), ScDDELinksObj::GetObjectByName_Impl(), ScTableColumnsObj::GetObjectByName_Impl(), ScCellRangeObj::GetOnePropertyValue(), ScTableSheetObj::GetOnePropertyValue(), ScTableColumnObj::GetOnePropertyValue(), ScTableRowObj::GetOnePropertyValue(), ScViewFunc::GetOptimalColWidth(), ScPreview::GetOptimalZoom(), ScCellObj::GetOutputString_Impl(), ScPreviewShell::GetPageSize(), ScModelObj::getParts(), ScModelObj::getPostIts(), ScModelObj::getPostItsPos(), ScTableSheetObj::getPrintAreas(), ScTableSheetObj::getPrintTitleColumns(), ScTableSheetObj::getPrintTitleRows(), ScDocDefaultsObj::getPropertyDefault(), ScAddressConversionObj::getPropertyValue(), ScDocumentConfiguration::getPropertyValue(), ScDocDefaultsObj::getPropertyValue(), ScModelObj::getPropertyValue(), ScTableColumnsObj::getPropertyValue(), ScTableRowsObj::getPropertyValue(), ScStyleObj::getPropertyValue_Impl(), ScNamedRangeObj::GetRangeData_Impl(), ScGlobalNamedRangesObj::GetRangeName_Impl(), ScLocalNamedRangesObj::GetRangeName_Impl(), ScTableSheetObj::getRanges(), ScInputHandler::GetReferenceMark(), ScNamedRangeObj::getReferencePosition(), ScModelObj::getRenderer(), ScModelObj::getRendererCount(), ScDDELinkObj::getResults(), ScCellObj::GetResultType_Impl(), ScVbaRange::getRowHeight(), ScTableSheetObj::getRowPageBreaks(), ScTableSheetObj::getScenarioComment(), ScScenariosObj::GetScenarioIndex_Impl(), getScRangeListForAddress(), ScModelObj::getSdrModelFromUnoModel(), ScTabViewObj::getSelection(), ScContentTree::GetSourceDocument(), ScTransferObj::GetSourceDocument(), sc::DataStreamDlg::GetStartRange(), ScModule::GetState(), GetState(), ScPivotShell::GetState(), ScPreviewShell::GetState(), ScStyleObj::GetStyle_Impl(), ScNamedRangeObj::GetTab_Impl(), ScLocalNamedRangesObj::GetTab_Impl(), ScPrintFuncCache::GetTabForPage(), ScCellTextData::GetTextForwarder(), ScAnnotationEditSource::GetTextForwarder(), ScAccessibleCellTextData::GetTextForwarder(), ScAccessiblePreviewHeaderCellTextData::GetTextForwarder(), ScAccessibleNoteTextData::GetTextForwarder(), ScTableSheetObj::getTitleColumns(), ScTableSheetObj::getTitleRows(), ScCellObj::getTokens(), ScNamedRangeObj::getTokens(), ScModelObj::getTrackedChanges(), ScCellObj::getType(), ScCellObj::GetValue_Impl(), ScModelObj::getViewData(), ScCellCursorObj::gotoEnd(), ScCellCursorObj::gotoEndOfUsedArea(), ScCellCursorObj::gotoNext(), ScCellCursorObj::gotoPrevious(), ScCellCursorObj::gotoStart(), ScCellCursorObj::gotoStartOfUsedArea(), ScModelObj::HandleCalculateEvents(), ScViewFunc::HasBookmarkAtCursor(), ScDataPilotTablesObj::hasByName(), ScDatabaseRangesObj::hasByName(), ScTableSheetsObj::hasByName(), ScTableColumnsObj::hasByName(), ScSheetLinksObj::hasByName(), ScDDELinksObj::hasByName(), ScStyleFamilyObj::hasByName(), ScUnnamedDatabaseRangesObj::hasByTable(), ScModelObj::HasChangesListeners(), ScDBFunc::HideAutoFilter(), ScOutlineDocFunc::HideMarkedOutlines(), ScOutlineDocFunc::HideOutline(), ScViewFunc::HideTable(), IMPL_LINK(), IMPL_LINK_NOARG(), ScInputHandler::ImplCreateEditEngine(), ScAnnotationObj::ImplGetNote(), ScDocFunc::ImportNote(), ScTableSheetsObj::importSheet(), ScViewFunc::ImportTables(), ScSpellDialogChildWindow::Init(), ScUndoChartData::Init(), sc::DataStreamDlg::Init(), ScStyleObj::InitDoc(), ScMoveTableDlg::InitDocListBox(), ScDrawTransferObj::InitDocShell(), ScTransferObj::InitDocShell(), ScTextWnd::InitEditEngine(), oox::xls::WorkbookGlobals::initialize(), ScTableSheetObj::InitInsertSheet(), ScPrintFuncCache::InitLocations(), ScInputHandler::InitRangeFinder(), ScCellObj::InputEnglishString(), ScDocFunc::InsertAreaLink(), ScTableColumnsObj::insertByIndex(), ScTableRowsObj::insertByIndex(), ScTableSheetsObj::insertByName(), ScStyleFamilyObj::insertByName(), ScDocFunc::InsertCells(), ScViewFunc::InsertCurrentTime(), ScViewFunc::InsertName(), ScDocFunc::InsertNameList(), ScDrawPagesObj::insertNewByIndex(), ScDocFunc::InsertPageBreak(), ScDocFunc::InsertTable(), ScViewFunc::InsertTableLink(), ScViewFunc::InsertTables(), ScNamedRangesObj::isActionLocked(), ScModelObj::isAutomaticCalculationEnabled(), ScTableSheetObj::isProtected(), ScModelObj::isProtected(), ScDocDefaultsObj::ItemsChanged(), lcl_CallActivate(), lcl_collectAllPredOrSuccRanges(), lcl_CreatePivotName(), lcl_DoDragCells(), lcl_DoDragObject(), lcl_FillRangeFromName(), lcl_FindRangeByName(), lcl_FindRangeOrEntry(), lcl_GetAreaLink(), lcl_GetDBData_Impl(), lcl_GetDPObject(), lcl_GetForbidden(), lcl_GetOptimalColWidth(), lcl_PaintAbove(), lcl_PaintOneRange(), lcl_PaintRefChanged(), lcl_PaintWidthHeight(), lcl_PutDataArray(), lcl_PutFormulaArray(), lcl_sendLOKDocumentBackground(), ScTableSheetObj::link(), ScExternalRefManager::loadSrcDocument(), LoadStylesArgs(), ScNamedRangesObj::lock(), ScServiceProvider::MakeInstance(), ScOutlineDocFunc::MakeOutline(), ScViewFunc::MarkAndJumpToRanges(), MaxDocRange(), ScViewFunc::MergeCells(), ScDocFunc::MergeCells(), MergeDocument(), MergeSharedDocument(), ScAreaLinkObj::Modify_Impl(), ScNamedRangeObj::Modify_Impl(), ScLabelRangeObj::Modify_Impl(), ScDBDocFunc::ModifyAllDBData(), ScDocFunc::ModifyAllRangeNames(), ScViewFunc::ModifyCellSize(), ScDBDocFunc::ModifyDBData(), ScModule::ModifyOptions(), ScPreview::MouseButtonUp(), ScPreview::MouseMove(), ScTabViewObj::MousePressed(), ScTabViewObj::MouseReleased(), ScDocFunc::MoveBlock(), ScViewFunc::MoveBlockTo(), ScTableSheetsObj::moveByName(), ScViewFunc::MoveTable(), ScCellsObj::Notify(), ScCellsEnumeration::Notify(), ScModelObj::Notify(), Notify(), ScPreviewShell::Notify(), ScInputHandler::NotifyChange(), ScModelObj::NotifyChanges(), ScDocFunc::NotifyDrawUndo(), ScForbiddenCharsObj::onChange(), ScGridWindow::PagebreakMove(), ScUndoDragDrop::PaintArea(), ScUndoUtil::PaintMore(), ScModelObj::paintTile(), ScFormulaParserObj::parseFormula(), ScAddressConversionObj::ParseUIString(), ScViewFunc::PasteRTF(), ScModelObj::postMouseEvent(), ScTableSheetObj::PrintAreaUndo_Impl(), ScFormulaParserObj::printFormula(), ScTableSheetObj::protect(), ScModelObj::protect(), ScDocFunc::Protect(), ScDocFunc::ProtectDocument(), ScDocFunc::ProtectSheet(), ScViewFunc::ProtectSheet(), ScDocFunc::PutData(), ScDBFunc::Query(), ScDBDocFunc::Query(), ScPreview::RecalcPages(), ScUndoAddRangeData::Redo(), sc::UndoDeleteSparkline::Redo(), sc::UndoDeleteSparklineGroup::Redo(), sc::UndoGroupSparklines::Redo(), sc::UndoInsertSparkline::Redo(), sc::UndoThemeChange::Redo(), sc::UndoUngroupSparklines::Redo(), ScUndoInsertCells::Redo(), ScUndoDeleteCells::Redo(), ScUndoDeleteMulti::Redo(), ScUndoCut::Redo(), ScUndoPaste::Redo(), ScUndoDragDrop::Redo(), ScUndoWidthOrHeight::Redo(), ScUndoAutoFill::Redo(), ScUndoAutoFormat::Redo(), ScUndoReplace::Redo(), ScUndoRefreshLink::Redo(), ScUndoEnterMatrix::Redo(), ScUndoInsertAreaLink::Redo(), ScUndoRemoveAreaLink::Redo(), ScUndoUpdateAreaLink::Redo(), ScUndoIndent::Redo(), ScUndoTransliterate::Redo(), ScUndoClearItems::Redo(), ScUndoRemoveBreaks::Redo(), ScUndoRemoveMerge::Redo(), ScUndoBorder::Redo(), ScUndoEnterData::Redo(), ScUndoEnterValue::Redo(), ScUndoShowHideNote::Redo(), ScUndoDetective::Redo(), ScUndoMakeOutline::Redo(), ScUndoDBData::Redo(), ScUndoImportData::Redo(), ScUndoDataPilot::Redo(), ScUndoChartData::Redo(), ScUndoDataForm::Redo(), ScUndoApplyPageStyle::Redo(), ScUndoDeleteTab::Redo(), ScUndoCopyTab::Redo(), ScUndoImportTab::Redo(), ScUndoScenarioFlags::Redo(), ScDDELinkObj::refresh(), ScAreaLink::Refresh(), ScTableLink::Refresh(), ScDataPilotTableObj::Refreshed_Impl(), ScDBDocFunc::RefreshPivotTableGroups(), ScDBDocFunc::RefreshPivotTables(), ScExternalRefManager::refreshSrcDocument(), ScRedComDialog::ReInit(), ScNamedRangesObj::removeActionLock(), ScTableSheetObj::removeAllManualPageBreaks(), ScOutlineDocFunc::RemoveAllOutlines(), ScAnnotationsObj::removeByIndex(), ScAreaLinksObj::removeByIndex(), ScLabelRangesObj::removeByIndex(), ScTableColumnsObj::removeByIndex(), ScTableRowsObj::removeByIndex(), ScChartsObj::removeByName(), ScTableSheetsObj::removeByName(), ScStyleFamilyObj::removeByName(), sc::TablePivotCharts::removeByName(), ScViewFunc::RemoveManualBreaks(), ScOutlineDocFunc::RemoveOutline(), ScDocFunc::RemovePageBreak(), ScDBDocFunc::RemovePivotTable(), ScDBDocFunc::RenameDBRange(), XclExpXmlStream::renameTab(), ScDocFunc::RenameTable(), ScModelObj::render(), ScUndoSelectionStyle::Repeat(), ScUndoEnterMatrix::Repeat(), ScDBDocFunc::RepeatDB(), ScTableSheetsObj::replaceByName(), ScSheetEventsObj::replaceByName(), ScDocFunc::ReplaceConditionalFormat(), ScDocFunc::ReplaceNote(), ScNamedRangesObj::resetActionLocks(), ScDocFunc::ResizeMatrix(), XclExpXmlStream::restoreTabNames(), ScAccessibleHeaderTextData::ScAccessibleHeaderTextData(), ScAccessibleNoteTextData::ScAccessibleNoteTextData(), ScAddressConversionObj::ScAddressConversionObj(), ScAnnotationEditSource::ScAnnotationEditSource(), ScAreaLink::ScAreaLink(), ScAreaLinkObj::ScAreaLinkObj(), ScAreaLinksObj::ScAreaLinksObj(), ScBlockUndo::ScBlockUndo(), ScCellFieldsObj::ScCellFieldsObj(), ScCellFormatsEnumeration::ScCellFormatsEnumeration(), ScCellFormatsObj::ScCellFormatsObj(), ScCellsEnumeration::ScCellsEnumeration(), ScCellsObj::ScCellsObj(), ScCellTextData::ScCellTextData(), ScChartObj::ScChartObj(), ScCondFormatsObj::ScCondFormatsObj(), ScDatabaseRangeObj::ScDatabaseRangeObj(), ScDatabaseRangesObj::ScDatabaseRangesObj(), ScDataPilotDescriptor::ScDataPilotDescriptor(), ScDataPilotDescriptorBase::ScDataPilotDescriptorBase(), ScDataPilotTablesObj::ScDataPilotTablesObj(), ScDDELinkObj::ScDDELinkObj(), ScDDELinksObj::ScDDELinksObj(), ScDocShellModificator::ScDocShellModificator(), ScDocumentConfiguration::ScDocumentConfiguration(), ScDocumentLoader::ScDocumentLoader(), ScDrawDefaultsObj::ScDrawDefaultsObj(), ScDrawPagesObj::ScDrawPagesObj(), ScDrawTransferObj::ScDrawTransferObj(), ScFilterDescriptorBase::ScFilterDescriptorBase(), ScForbiddenCharsObj::ScForbiddenCharsObj(), ScLabelRangeObj::ScLabelRangeObj(), ScLabelRangesObj::ScLabelRangesObj(), ScLinkTargetTypeObj::ScLinkTargetTypeObj(), ScModelObj::ScModelObj(), ScMoveUndo::ScMoveUndo(), ScMultiBlockUndo::ScMultiBlockUndo(), ScNamedRangeObj::ScNamedRangeObj(), ScNamedRangesObj::ScNamedRangesObj(), ScNamePasteDlg::ScNamePasteDlg(), ScPrintAreasDlg::ScPrintAreasDlg(), ScPrintFuncCache::ScPrintFuncCache(), ScScenariosObj::ScScenariosObj(), ScServerObject::ScServerObject(), ScSheetLinksObj::ScSheetLinksObj(), ScStyleFamiliesObj::ScStyleFamiliesObj(), ScStyleFamilyObj::ScStyleFamilyObj(), ScStyleObj::ScStyleObj(), ScTableColumnsObj::ScTableColumnsObj(), ScTableSheetsObj::ScTableSheetsObj(), ScUndoCopyTab::ScUndoCopyTab(), ScUndoCursorAttr::ScUndoCursorAttr(), ScUndoDataForm::ScUndoDataForm(), ScUndoDeleteCells::ScUndoDeleteCells(), ScUndoDeleteContents::ScUndoDeleteContents(), ScUndoDragDrop::ScUndoDragDrop(), ScUndoImportTab::ScUndoImportTab(), ScUndoInsertCells::ScUndoInsertCells(), ScUndoInsertTab::ScUndoInsertTab(), ScUndoInsertTables::ScUndoInsertTables(), ScUndoMakeScenario::ScUndoMakeScenario(), ScUndoPaste::ScUndoPaste(), ScUndoQuery::ScUndoQuery(), ScUndoRemoveLink::ScUndoRemoveLink(), ScUndoSelectionAttr::ScUndoSelectionAttr(), ScUndoWidthOrHeight::ScUndoWidthOrHeight(), ScUniqueCellFormatsEnumeration::ScUniqueCellFormatsEnumeration(), ScUniqueCellFormatsObj::ScUniqueCellFormatsObj(), ScUnnamedDatabaseRangesObj::ScUnnamedDatabaseRangesObj(), ScVbaEventsHelper::ScVbaEventsHelper(), ScViewFunc::SearchAndReplace(), ScModelObj::seekGoal(), ScRedComDialog::SelectCell(), ScTabViewObj::SelectionChanged(), ScOutlineDocFunc::SelectLevel(), sc::DataStream::Set(), ScNamedRangesObj::setActionLocks(), ScStyleObj::setAllPropertiesToDefault(), ScCellRangeObj::setArrayTokens(), ScVbaWorksheet::setAutoFilterMode(), ScUnnamedDatabaseRangesObj::setByTable(), ScDocFunc::SetCellText(), ScExternalSheetCacheObj::setCellValue(), 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(), ScDocFunc::SetConditionalFormatList(), ScVbaName::setContent(), ScDocShellModificator::SetDocumentModified(), ScTabViewShell::SetDrawTextUndo(), ScDocFunc::SetEditCell(), ScTableSheetObj::setExternalName(), ScChartObj::setFastPropertyValue_NoBroadcast(), ScSheetLinkObj::setFileName(), ScFilterDescriptorBase::setFilterFields(), ScFilterDescriptorBase::setFilterFields2(), ScFilterDescriptorBase::setFilterFields3(), ScCellRangeObj::setFormulaArray(), ScDocFunc::SetFormulaCell(), ScDocFunc::SetFormulaCells(), ScCellObj::setFormulaResult(), ScCellObj::setFormulaString(), ScDocFunc::SetLayoutRTL(), ScStyleObj::setName(), ScDocFunc::SetNewRangeNames(), ScDocFunc::SetNormalString(), ScDocFunc::SetNoteText(), ScTableSheetObj::SetOnePropertyValue(), ScTableRowObj::SetOnePropertyValue(), ScStyleObj::setParentStyle(), ScTableSheetObj::setPrintAreas(), ScViewFunc::SetPrintRanges(), ScTableSheetObj::setPrintTitleColumns(), ScTableSheetObj::setPrintTitleRows(), ScDocDefaultsObj::setPropertyToDefault(), ScDocumentConfiguration::setPropertyValue(), ScDataPilotDescriptorBase::setPropertyValue(), ScDatabaseRangeObj::setPropertyValue(), ScDocDefaultsObj::setPropertyValue(), ScModelObj::setPropertyValue(), ScTableRowsObj::setPropertyValue(), ScFormulaParserObj::setPropertyValue(), ScConditionEntryObj::setPropertyValue(), ScStyleObj::setPropertyValue_Impl(), ScDDELinkObj::setResults(), ScTableSheetObj::setScenarioComment(), ScVbaApplication::setScreenUpdating(), ScDataPilotDescriptorBase::setSourceRange(), ScDocFunc::SetStringCell(), ScDocFunc::SetStringOrEditCell(), ScViewFunc::SetStyleSheetToMarked(), ScDocFunc::SetTabBgColor(), ScDocFunc::SetTableVisible(), ScTableSheetObj::setTitleColumns(), ScTableSheetObj::setTitleRows(), ScCellObj::setTokens(), ScNamedRangeObj::setTokens(), ooo::vba::excel::setUpDocumentModules(), ScUndoSetCell::SetValue(), ScDocFunc::SetValueCell(), ScDocFunc::SetValueCells(), ScViewFunc::SetWidthOrHeight(), ScDocFunc::SetWidthOrHeight(), ScInputHandler::ShowArgumentsTip(), ScOutlineDocFunc::ShowMarkedOutlines(), ScDocFunc::ShowNote(), ScOutlineDocFunc::ShowOutline(), ScViewFunc::ShowTable(), ScDBDocFunc::Sort(), ScInputHandler::StartTable(), ScDocFunc::TabOp(), ScPreview::TestLastPage(), TransferTab(), ScDocFunc::TransliterateText(), ScDBFunc::UISort(), ScUndoAddRangeData::Undo(), sc::UndoDeleteSparkline::Undo(), sc::UndoDeleteSparklineGroup::Undo(), sc::UndoGroupSparklines::Undo(), sc::UndoInsertSparkline::Undo(), sc::UndoThemeChange::Undo(), sc::UndoUngroupSparklines::Undo(), ScUndoInsertCells::Undo(), ScUndoDeleteCells::Undo(), ScUndoDeleteMulti::Undo(), ScUndoDragDrop::Undo(), ScUndoWidthOrHeight::Undo(), ScUndoAutoFill::Undo(), ScUndoAutoFormat::Undo(), ScUndoReplace::Undo(), ScUndoTabOp::Undo(), ScUndoConversion::Undo(), ScUndoRefConversion::Undo(), ScUndoUseScenario::Undo(), ScUndoRefreshLink::Undo(), ScUndoEnterMatrix::Undo(), ScUndoInsertAreaLink::Undo(), ScUndoRemoveAreaLink::Undo(), ScUndoUpdateAreaLink::Undo(), ScUndoIndent::Undo(), ScUndoTransliterate::Undo(), ScUndoClearItems::Undo(), ScUndoRemoveBreaks::Undo(), ScUndoRemoveMerge::Undo(), ScUndoBorder::Undo(), ScUndoEnterData::Undo(), ScUndoEnterValue::Undo(), ScUndoSetCell::Undo(), ScUndoThesaurus::Undo(), ScUndoReplaceNote::Undo(), ScUndoShowHideNote::Undo(), ScUndoDetective::Undo(), ScUndoDoOutline::Undo(), ScUndoMakeOutline::Undo(), ScUndoOutlineLevel::Undo(), ScUndoOutlineBlock::Undo(), ScUndoRemoveAllOutlines::Undo(), ScUndoAutoOutline::Undo(), ScUndoSubTotals::Undo(), ScUndoQuery::Undo(), ScUndoDBData::Undo(), ScUndoImportData::Undo(), ScUndoRepeatDB::Undo(), ScUndoDataPilot::Undo(), ScUndoConsolidate::Undo(), ScUndoChartData::Undo(), ScUndoApplyPageStyle::Undo(), ScUndoInsertTab::Undo(), ScUndoInsertTables::Undo(), ScUndoDeleteTab::Undo(), ScUndoCopyTab::Undo(), ScUndoMakeScenario::Undo(), ScUndoImportTab::Undo(), ScUndoScenarioFlags::Undo(), ScMoveUndo::UndoRef(), ScNamedRangesObj::unlock(), ScDocFunc::UnmergeCells(), ScViewFunc::Unprotect(), ScDocFunc::Unprotect(), ScChartObj::Update_Impl(), ScInputHandler::UpdateAdjust(), ScPreview::UpdateDrawView(), ScDBDocFunc::UpdateImport(), ScTabView::UpdatePageBreakData(), ScDBDocFunc::UpdatePivotTable(), ScLinkedAreaDlg::UpdateSourceRanges(), XclExpXmlStream::validateTabNames(), AddressWalkerWriter::writeFormulas(), 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(), ScChartObj::~ScChartObj(), ScChartsObj::~ScChartsObj(), ScCondFormatsObj::~ScCondFormatsObj(), ScDatabaseRangeObj::~ScDatabaseRangeObj(), ScDatabaseRangesObj::~ScDatabaseRangesObj(), ScDataPilotDescriptorBase::~ScDataPilotDescriptorBase(), ScDataPilotTablesObj::~ScDataPilotTablesObj(), ScDDELinkObj::~ScDDELinkObj(), ScDDELinksObj::~ScDDELinksObj(), ScDocDefaultsObj::~ScDocDefaultsObj(), ScDocShellModificator::~ScDocShellModificator(), 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(), ScPreviewShell::~ScPreviewShell(), ScScenariosObj::~ScScenariosObj(), ScSheetEventsObj::~ScSheetEventsObj(), ScSheetLinkObj::~ScSheetLinkObj(), ScSheetLinksObj::~ScSheetLinksObj(), ScStyleFamiliesObj::~ScStyleFamiliesObj(), ScStyleFamilyObj::~ScStyleFamilyObj(), ScStyleObj::~ScStyleObj(), ScTableColumnsObj::~ScTableColumnsObj(), ScTableRowsObj::~ScTableRowsObj(), ScTableSheetsObj::~ScTableSheetsObj(), ScUndoCursorAttr::~ScUndoCursorAttr(), ScUndoSelectionAttr::~ScUndoSelectionAttr(), ScUniqueCellFormatsEnumeration::~ScUniqueCellFormatsEnumeration(), ScUniqueCellFormatsObj::~ScUniqueCellFormatsObj(), ScUnnamedDatabaseRangesObj::~ScUnnamedDatabaseRangesObj(), sc::TablePivotChart::~TablePivotChart(), and sc::TablePivotCharts::~TablePivotCharts().

◆ GetDocumentPrinter()

Printer * ScDocShell::GetDocumentPrinter ( )
overridevirtual

Reimplemented from SfxObjectShell.

Definition at line 446 of file docsh3.cxx.

References m_pDocument.

◆ GetFormatSaveData()

ScFormatSaveData * ScDocShell::GetFormatSaveData ( )

Definition at line 3128 of file docsh.cxx.

References m_pFormatSaveData.

Referenced by ScModelObj::GetFormatSaveData().

◆ GetHiddenInformationState()

HiddenInformation ScDocShell::GetHiddenInformationState ( HiddenInformation  nStates)
overridevirtual

Reimplemented from SfxObjectShell.

Definition at line 266 of file docsh.cxx.

References SfxObjectShell::GetHiddenInformationState(), m_pDocument, and nState.

◆ GetHtmlFilterName()

OUString ScDocShell::GetHtmlFilterName ( )
static

Definition at line 2847 of file docsh.cxx.

References pFilterHtml.

Referenced by ScFilterOptionsObj::execute().

◆ GetLinkUpdateModeState()

ScLkUpdMode ScDocShell::GetLinkUpdateModeState ( ) const

◆ GetLockCount()

sal_uInt16 ScDocShell::GetLockCount ( ) const
inline

Definition at line 339 of file docsh.hxx.

Referenced by ScModelObj::isActionLocked(), and ScModelObj::resetActionLocks().

◆ GetLotusFilterName()

OUString ScDocShell::GetLotusFilterName ( )
static

Definition at line 2862 of file docsh.cxx.

References pFilterLotus.

Referenced by ScFilterOptionsObj::execute().

◆ GetModel()

ScModelObj * ScDocShell::GetModel ( ) const
inline

◆ GetOldAutoDBRange()

std::unique_ptr< ScDBData > ScDocShell::GetOldAutoDBRange ( )

Definition at line 364 of file docsh5.cxx.

References m_pOldAutoDBRange.

Referenced by ScDBFuncUndo::ScDBFuncUndo().

◆ GetOutputFactor()

double ScDocShell::GetOutputFactor ( ) const
inline

◆ GetOwnFilterName()

OUString ScDocShell::GetOwnFilterName ( )
static

Definition at line 2842 of file docsh.cxx.

References pFilterSc50.

Referenced by ScDocumentLoader::GetFilterName().

◆ GetPageOnFromPageStyleSet()

void ScDocShell::GetPageOnFromPageStyleSet ( const SfxItemSet pStyleSet,
SCTAB  nCurTab,
bool &  rbHeader,
bool &  rbFooter 
)

◆ GetPrinter()

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

◆ GetProtectionHash()

bool ScDocShell::GetProtectionHash ( css::uno::Sequence< sal_Int8 > &  rPasswordHash)
overridevirtual

Reimplemented from SfxObjectShell.

Definition at line 3406 of file docsh.cxx.

References ScChangeTrack::GetProtection(), ScChangeTrack::IsProtected(), and m_pDocument.

◆ GetRefDevice()

OutputDevice * ScDocShell::GetRefDevice ( )

◆ GetSaveTab()

SCTAB ScDocShell::GetSaveTab ( )
private

◆ GetSheetSaveData()

ScSheetSaveData * ScDocShell::GetSheetSaveData ( )

Definition at line 3120 of file docsh.cxx.

References m_pSheetSaveData.

Referenced by ScModelObj::GetSheetSaveData().

◆ GetShellByNum()

ScDocShell * ScDocShell::GetShellByNum ( sal_uInt16  nDocNo)
static

◆ GetState()

void ScDocShell::GetState ( SfxItemSet rSet)

◆ GetStatePageStyle()

void ScDocShell::GetStatePageStyle ( SfxItemSet rSet,
SCTAB  nCurTab 
)

◆ GetStyleSheetPool()

SfxStyleSheetBasePool * ScDocShell::GetStyleSheetPool ( )
overridevirtual

Reimplemented from SfxObjectShell.

Definition at line 194 of file docsh6.cxx.

References m_pDocument.

Referenced by LoadStyles(), and LoadStylesArgs().

◆ GetThemeColors()

std::shared_ptr< model::ColorSet > ScDocShell::GetThemeColors ( )
overridevirtual

◆ GetUndoManager()

SfxUndoManager * ScDocShell::GetUndoManager ( )
overridevirtual

Reimplemented from SfxShell.

Definition at line 2968 of file docsh.cxx.

References m_pDocument.

Referenced by ScDBDocFunc::AddDBRange(), ScNameDefDlg::AddPushed(), ScViewFunc::AppendTable(), sc::ThemeColorChanger::apply(), ScDocFunc::ApplyAttributes(), ScDBFunc::ApplyAutoFilter(), ScHelperFunctions::ApplyBorder(), ScViewFunc::ApplyPatternLines(), ScViewFunc::ApplySelectionPattern(), ScDocFunc::ApplyStyle(), ScDocFunc::AutoFormat(), ScOutlineDocFunc::AutoOutline(), ScStatisticsInputOutputDialog::CalculateInputAndWriteToOutput(), ScStatisticsTwoVariableDialog::CalculateInputAndWriteToOutput(), ScDocFunc::ChangeIndent(), ScDocFunc::ChangeSparkline(), ScDocFunc::ChangeSparklineGroupAttributes(), ScDocFunc::ClearItems(), ScAreaLink::Closed(), ScTabViewShell::Construct(), ScDocFunc::ConvertFormulaToValue(), ConvertFrom(), ScDBDocFunc::CreatePivotTable(), ScViewFunc::CutToClip(), ScViewFunc::DataFormPutData(), ScDBDocFunc::DataPilotUpdate(), ScDocFunc::DeleteCell(), ScDocFunc::DeleteCells(), ScDocFunc::DeleteContents(), ScDBDocFunc::DeleteDBRange(), ScDrawView::DeleteMarked(), ScViewFunc::DeleteMulti(), ScDocFunc::DeleteSparkline(), ScDocFunc::DeleteSparklineGroup(), ScDocFunc::DeleteTable(), ScDocFunc::DetectiveAddError(), ScDocFunc::DetectiveAddPred(), ScDocFunc::DetectiveAddSucc(), ScDocFunc::DetectiveDelAll(), ScDocFunc::DetectiveDelPred(), ScDocFunc::DetectiveDelSucc(), ScDocFunc::DetectiveMarkInvalid(), ScDocFunc::DetectiveRefresh(), DoConsolidate(), ScDBDocFunc::DoImport(), ScViewFunc::DoRefConversion(), ScViewFunc::DoSheetConversion(), ScDBFunc::DoSubTotals(), ScDBDocFunc::DoSubTotals(), ScViewFunc::DoThesaurus(), ScGridWindow::DropTransferObj(), ScDocFunc::EndListAction(), ScImportExport::EndPaste(), ScViewFunc::EnterData(), ScDocFunc::EnterListAction(), ScDocFunc::EnterMatrix(), ScViewFunc::EnterValue(), ScDrawShell::ExecDrawFunc(), ScTabViewShell::ExecStyle(), Execute(), ScCellShell::ExecuteDB(), ScCellShell::ExecuteEdit(), ExecutePageStyle(), ScTabViewShell::ExecuteTable(), ScDocFunc::FillAuto(), ScDocFunc::FillSeries(), ScDocFunc::FillSimple(), ScViewFunc::FillTab(), ScDrawView::FitToCellSize(), FuInsertChart::FuInsertChart(), ScRandomNumberGeneratorDialog::GenerateNumbers(), GetDBData(), ScDocFunc::GroupSparklines(), ScDBFunc::HideAutoFilter(), ScOutlineDocFunc::HideMarkedOutlines(), ScOutlineDocFunc::HideOutline(), ScViewFunc::HideTable(), IMPL_LINK(), IMPL_LINK_NOARG(), ScViewFunc::ImportTables(), ScDocFunc::InsertAreaLink(), ScDocFunc::InsertCells(), ScViewFunc::InsertCurrentTime(), ScDocFunc::InsertNameList(), ScDocFunc::InsertPageBreak(), ScDocFunc::InsertSparklines(), ScDocFunc::InsertTable(), ScViewFunc::InsertTables(), lcl_PutDataArray(), lcl_PutFormulaArray(), Load(), ScOutlineDocFunc::MakeOutline(), ScDBFunc::MakePivotTable(), MakeScenario(), ScDocFunc::MergeCells(), ScDBDocFunc::ModifyAllDBData(), ScDocFunc::ModifyAllRangeNames(), ScDBDocFunc::ModifyDBData(), ModifyScenario(), ScGridWindow::MouseButtonUp(), ScPreview::MouseButtonUp(), ScDocFunc::MoveBlock(), ScViewFunc::MoveBlockTo(), ScViewFunc::MoveTable(), MoveTable(), Notify(), ScDocFunc::NotifyDrawUndo(), ScGridWindow::PagebreakMove(), ScViewFunc::PasteFromClip(), ScViewFunc::PasteFromClipToMultiRanges(), ScViewFunc::PasteMultiRangesFromClip(), ScViewFunc::PasteRTF(), ScSamplingDialog::PerformSampling(), ScTableSheetObj::PrintAreaUndo_Impl(), ScDocFunc::ProtectDocument(), ScDocFunc::ProtectSheet(), ScViewFunc::ProtectSheet(), ScDBDocFunc::Query(), ScAreaLink::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(), ScSpellDialogChildWindow::Reset(), ScDocFunc::ResizeMatrix(), ScViewFunc::SearchAndReplace(), ScOutlineDocFunc::SelectLevel(), ScDocFunc::SetConditionalFormatList(), ScTabViewShell::SetDrawTextUndo(), ScDocFunc::SetEditCell(), ScDocFunc::SetFormulaCell(), ScDocFunc::SetFormulaCells(), ScDocFunc::SetLayoutRTL(), ScDrawView::SetMarkedOriginalSize(), ScDocFunc::SetNewRangeNames(), ScDocFunc::SetNormalString(), ScViewFunc::SetPrintRanges(), SetPrintZoom(), ScModelObj::setPropertyValue(), ScDocFunc::SetStringCell(), ScViewFunc::SetStyleSheetToMarked(), ScDocFunc::SetTabBgColor(), ScDocFunc::SetTableVisible(), ScDocFunc::SetValueCell(), ScDocFunc::SetValueCells(), ScViewFunc::SetWidthOrHeight(), ScDocFunc::SetWidthOrHeight(), ScDBFunc::ShowDataPilotSourceData(), ScOutlineDocFunc::ShowMarkedOutlines(), ScDocFunc::ShowNote(), ScOutlineDocFunc::ShowOutline(), ScViewFunc::ShowTable(), ScDBDocFunc::Sort(), FuText::StopEditMode(), ScDocFunc::TabOp(), ScDBFunc::ToggleAutoFilter(), ScDocFunc::TransliterateText(), ScDocFunc::UngroupSparklines(), ScDocFunc::UnmergeCells(), ScViewFunc::Unprotect(), ScChartObj::Update_Impl(), ScDetectiveFunc::UpdateAllComments(), ScDBDocFunc::UpdatePivotTable(), and UseScenario().

◆ GetViewBindings()

SfxBindings * ScDocShell::GetViewBindings ( )

◆ GetViewData()

ScViewData * ScDocShell::GetViewData ( )
static

◆ GetVisArea() [1/3]

const tools::Rectangle & SfxObjectShell::GetVisArea ( ) const

Referenced by Draw().

◆ GetVisArea() [2/3]

virtual tools::Rectangle SfxObjectShell::GetVisArea ( sal_uInt16  nAspect) const
virtual

Reimplemented from SfxObjectShell.

◆ GetVisArea() [3/3]

tools::Rectangle ScDocShell::GetVisArea ( sal_uInt16  nAspect) const
overridevirtual

◆ GetWebQueryFilterName()

OUString ScDocShell::GetWebQueryFilterName ( )
static

Definition at line 2852 of file docsh.cxx.

References pFilterHtmlWebQ.

Referenced by ScFilterOptionsObj::execute(), and ScAreaLink::Refresh().

◆ HasAutomaticTableName()

bool ScDocShell::HasAutomaticTableName ( std::u16string_view  rFilter)
static

◆ HasChangeRecordProtection()

bool ScDocShell::HasChangeRecordProtection ( ) const
overridevirtual

Reimplemented from SfxObjectShell.

Definition at line 3341 of file docsh.cxx.

References ScChangeTrack::IsProtected(), and m_pDocument.

Referenced by ScModelObj::getPropertyValue(), and ScModelObj::setPropertyValue().

◆ InitInterface_Impl()

void ScDocShell::InitInterface_Impl ( )
staticprivate

SfxInterface initializer.

Definition at line 185 of file docsh.cxx.

◆ InitItems()

void ScDocShell::InitItems ( )
private

◆ InitNew()

bool ScDocShell::InitNew ( const css::uno::Reference< css::embed::XStorage > &  )
overridevirtual

◆ InitOptions()

void ScDocShell::InitOptions ( bool  bForLoading)
private

◆ IsChangeRecording()

bool ScDocShell::IsChangeRecording ( ) const
overridevirtual

Reimplemented from SfxObjectShell.

Definition at line 3335 of file docsh.cxx.

References m_pDocument.

Referenced by ScModelObj::getPropertyValue(), and SetChangeRecording().

◆ IsDocument()

bool ScDocShell::IsDocument ( const INetURLObject rURL)
staticprivate

◆ IsDocumentModifiedPending()

bool ScDocShell::IsDocumentModifiedPending ( ) const
inline

Definition at line 381 of file docsh.hxx.

Referenced by ScDocShellModificator::~ScDocShellModificator().

◆ IsEditable()

bool ScDocShell::IsEditable ( ) const

Definition at line 96 of file docsh5.cxx.

References SfxObjectShell::IsReadOnly(), and m_pDocument.

Referenced by ScDocFunc::SetWidthOrHeight().

◆ IsEmpty()

bool ScDocShell::IsEmpty ( ) const
inline

Definition at line 351 of file docsh.hxx.

Referenced by ScTabViewShell::Construct(), and ScModelObj::getPropertyValue().

◆ IsInUndo()

bool ScDocShell::IsInUndo ( ) const
inline

Definition at line 354 of file docsh.hxx.

Referenced by SetDocumentModified().

◆ IsOle()

bool ScDocShell::IsOle ( ) const

Definition at line 147 of file docsh6.cxx.

References SfxObjectShell::GetCreateMode().

Referenced by ScTabViewShell::GetDialogParent(), and ScViewData::IsOle().

◆ IsPaintLocked()

bool ScDocShell::IsPaintLocked ( ) const
inline

Definition at line 326 of file docsh.hxx.

Referenced by ScSimpleUndo::IsPaintLocked(), and ScUndoUtil::MarkSimpleBlock().

◆ IsUpdateEnabled()

bool ScDocShell::IsUpdateEnabled ( ) const
inline

Definition at line 384 of file docsh.hxx.

Referenced by ScTabViewShell::Construct().

◆ KillFile()

bool ScDocShell::KillFile ( const INetURLObject rURL)
staticprivate

◆ Load()

bool ScDocShell::Load ( SfxMedium rMedium)
overridevirtual

◆ LoadExternal()

bool ScDocShell::LoadExternal ( SfxMedium rMedium)
overridevirtual

◆ LoadFrom()

bool ScDocShell::LoadFrom ( SfxMedium rMedium)
overridevirtual

◆ LoadSharedDocument()

SAL_DLLPRIVATE css::uno::Reference< css::frame::XModel > ScDocShell::LoadSharedDocument ( )
private

References SFX_DECL_INTERFACE.

Referenced by Execute(), and Notify().

◆ LoadStyles()

void ScDocShell::LoadStyles ( SfxObjectShell rSource)
overridevirtual

◆ LoadStylesArgs()

void ScDocShell::LoadStylesArgs ( ScDocShell rSource,
bool  bReplace,
bool  bCellStyles,
bool  bPageStyles 
)

◆ LoadXML()

bool ScDocShell::LoadXML ( SfxMedium pMedium,
const css::uno::Reference< css::embed::XStorage > &  xStor 
)
private

◆ LockDocument()

void ScDocShell::LockDocument ( )

Definition at line 327 of file docsh3.cxx.

References LockDocument_Impl(), LockPaint_Impl(), and m_nDocumentLock.

Referenced by ScModelObj::addActionLock().

◆ LockDocument_Impl()

void ScDocShell::LockDocument_Impl ( sal_uInt16  nNew)
private

Definition at line 278 of file docsh3.cxx.

References m_nDocumentLock, m_pDocument, and SdrModel::setLock().

Referenced by LockDocument(), and SetLockCount().

◆ LockPaint()

void ScDocShell::LockPaint ( )

◆ LockPaint_Impl()

void ScDocShell::LockPaint_Impl ( bool  bDoc)
private

Definition at line 234 of file docsh3.cxx.

References m_pPaintLockData.

Referenced by LockDocument(), and LockPaint().

◆ LOKCommentNotify()

void ScDocShell::LOKCommentNotify ( LOKCommentNotificationType  nType,
const ScDocument pDocument,
const ScAddress rPos,
const ScPostIt pNote 
)
static

◆ MakeDrawLayer()

ScDrawLayer * ScDocShell::MakeDrawLayer ( )

◆ MakeScenario()

SCTAB ScDocShell::MakeScenario ( SCTAB  nTab,
const OUString &  rName,
const OUString &  rComment,
const Color rColor,
ScScenarioFlags  nFlags,
ScMarkData rMark,
bool  bRecord = true 
)

◆ MergeDocument()

void ScDocShell::MergeDocument ( ScDocument rOtherDoc,
bool  bShared = false,
bool  bCheckDuplicates = false,
sal_uLong  nOffset = 0,
ScChangeActionMergeMap pMergeMap = nullptr,
bool  bInverseMap = false 
)

functions to the DocShell

nothing to do - error notification?

Inquiry if the documents where equal before the change tracking !!!

nothing to do - error notification?

does it need to be determined yet if really deleted in this document?

??? revert deletion action ??? ??? save action somewhere else ???

Take over date/author/comment of the source action!

what happens at actions, which were accepted in this document??? error notification or what??? or execute reject change normally

Test if it was at the very bottom in the document, then automatic row insert ???

this one is bungled now

Definition at line 765 of file docsh3.cxx.

References ScRange::aEnd, aName, ScChangeTrack::AppendDeleteRange(), ScChangeTrack::AppendInsert(), ScChangeTrack::AppendMove(), ScRange::aStart, CELLTYPE_FORMULA, ScChangeTrack::Clear(), ScAddress::Col(), Cols, ScDocFunc::DeleteCells(), ScDocFunc::DeleteTable(), ScViewFunc::EnterData(), ScDocFunc::EnterMatrix(), eType, Formula, ScChangeTrack::GetAction(), ScChangeTrack::GetActionMax(), ScChangeAction::GetActionNumber(), GetBestViewShell(), ScChangeAction::GetBigRange(), ScDocument::GetChangeTrack(), ScChangeAction::GetComment(), ScChangeAction::GetDateTimeUTC(), GetDocFunc(), GetDocument(), ScChangeTrack::GetFirst(), ScCellValue::getFormula(), ScChangeActionMove::GetFromRange(), ScChangeTrack::GetLast(), ScViewData::GetMarkData(), ScFormulaCell::GetMatColsRows(), ScFormulaCell::GetMatrixFlag(), ScChangeAction::GetNext(), ScChangeActionDel::GetOverAllRange(), ScChangeAction::GetRejectAction(), ScChangeAction::GetState(), ScCellValue::getType(), ScChangeAction::GetType(), ScChangeAction::GetUser(), ScChangeTrack::GetUser(), ScTabView::GetViewData(), formula::FormulaGrammar::GRAM_DEFAULT, INS_INSCOLS_BEFORE, INS_INSROWS_BEFORE, ScDocFunc::InsertCells(), ScDocFunc::InsertTable(), ScChangeAction::IsDeletedIn(), ScChangeAction::IsRejected(), ScChangeActionDel::IsTabDeleteCol(), ScChangeTrack::IsTimeNanoSeconds(), ScChangeActionDel::IsTopDelete(), ScChangeAction::IsVirgin(), lcl_Equal(), lcl_FindAction(), LockPaint(), m_pDocument, ScBigRange::MakeRange(), ScChangeTrack::MergeActionState(), ScChangeTrack::MergeIgnore(), ScChangeTrack::MergeOwn(), ScChangeTrack::MergePrepare(), ScDocFunc::MoveBlock(), NONE, PostPaintGridAll(), Reference, ScChangeTrack::Reject(), ScChangeAction::RemoveAllDeletedIn(), ScAddress::Row(), Rows, SAL_WARN, SC_CAS_VIRGIN, SC_CAT_CONTENT, SC_CAT_DELETE_COLS, SC_CAT_DELETE_ROWS, SC_CAT_DELETE_TABS, SC_CAT_INSERT_COLS, SC_CAT_INSERT_ROWS, SC_CAT_INSERT_TABS, SC_CAT_MOVE, ScMarkData::SelectOneTable(), ScAddress::SetCol(), ScChangeAction::SetComment(), ScChangeTrack::SetFixDateTimeUTC(), ScAddress::SetRow(), ScChangeViewSettings::SetShowChanges(), ScProgress::SetStateCountDown(), ScChangeTrack::SetUseFixDateTime(), ScChangeTrack::SetUser(), ScAddress::Tab(), and UnlockPaint().

Referenced by Execute(), and MergeSharedDocument().

◆ MergeSharedDocument()

bool ScDocShell::MergeSharedDocument ( ScDocShell pSharedDocShell)

◆ ModifyScenario()

void ScDocShell::ModifyScenario ( SCTAB  nTab,
const OUString &  rName,
const OUString &  rComment,
const Color rColor,
ScScenarioFlags  nFlags 
)

◆ MoveFile()

bool ScDocShell::MoveFile ( const INetURLObject rSource,
const INetURLObject rDest 
)
staticprivate

◆ MoveTable()

bool ScDocShell::MoveTable ( SCTAB  nSrcTab,
SCTAB  nDestTab,
bool  bCopy,
bool  bRecord 
)

◆ Notify()

void ScDocShell::Notify ( SfxBroadcaster rBC,
const SfxHint rHint 
)
overrideprivatevirtual

direct call for AutoStyles

Reimplemented from SfxListener.

Definition at line 680 of file docsh.cxx.

References aData, SfxUndoManager::Clear(), ScDocument::ClosingClipboardSource(), Application::CreateMessageDialog(), ERRCODE_IO_ABORT, ERRCODE_IO_GENERAL, SfxBindings::ExecuteSynchron(), GetActiveDialogParent(), SfxObjectShell::GetBasicContainer(), ScModule::GetClipDoc(), SfxFrame::GetController(), GetDocument(), SfxEventHint::GetEventId(), SfxViewFrame::GetFrame(), SfxHint::GetId(), SfxItemSet::GetItem(), SfxMedium::GetItemSet(), svt::GenDocumentLockFile::GetLockData(), SfxObjectShell::GetMedium(), GetModel(), SfxShell::GetName(), SfxBaseModel::GetObjectShell(), comphelper::getProcessComponentContext(), SfxObjectShell::GetSharedFileURL(), ScAppOptions::GetShowSharedDocumentWarning(), GetStandardText(), ScTablesHint::GetTab1(), ScTablesHint::GetTablesHintId(), GetUndoManager(), SfxUnoAnyItem::GetValue(), CntUnencodedStringItem::GetValue(), ScViewData::GetView(), GetViewBindings(), GetViewData(), SfxViewShell::GetViewFrame(), ScViewData::GetViewShell(), ErrorHandler::HandleError(), svt::ShareControlFile::HasOwnEntry(), SfxObjectShell::HasSharedXMLFlagSet(), comphelper::LibreOfficeKit::isActive(), SfxObjectShell::IsDocShared(), SfxObjectShell::IsReadOnly(), LoadSharedDocument(), m_pAutoStyleList, m_pDocument, m_pSheetSaveData, m_xVBAListener, comphelper::makePropertyValue(), MergeSharedDocument(), mxAutomationWorkbookObject, NotifyStyle(), pValues, RET_CANCEL, RET_NO, RET_RETRY, SC_MOD, SC_TAB_INSERTED, ScResId(), SfxObjectShell::SetError(), SfxObjectShell::SetReadOnlyUI(), ScChangeViewSettings::SetShowAccepted(), ScChangeViewSettings::SetShowChanges(), ScAppOptions::SetShowSharedDocumentWarning(), SfxGetpApp(), ScChangeViewSettings::ShowChanges(), SfxBaseModel::storeToURL(), SfxObjectShell::SwitchToShared(), TOOLS_WARN_EXCEPTION, ScTabView::UpdateLayerLocks(), UseSheetSaveEntries(), xController, xFactory, and xModel.

◆ NotifyStyle()

void ScDocShell::NotifyStyle ( const SfxStyleSheetHint rHint)

◆ PageStyleModified()

void ScDocShell::PageStyleModified ( std::u16string_view  rStyleName,
bool  bApi 
)

◆ PostDataChanged()

void ScDocShell::PostDataChanged ( )

◆ PostEditView()

void ScDocShell::PostEditView ( ScEditEngineDefaulter pEditEngine,
const ScAddress rCursorPos 
)

◆ PostPaint() [1/2]

void ScDocShell::PostPaint ( const ScRangeList rRanges,
PaintPartFlags  nPart,
sal_uInt16  nExtFlags = 0 
)

◆ PostPaint() [2/2]

void ScDocShell::PostPaint ( SCCOL  nStartCol,
SCROW  nStartRow,
SCTAB  nStartTab,
SCCOL  nEndCol,
SCROW  nEndRow,
SCTAB  nEndTab,
PaintPartFlags  nPart,
sal_uInt16  nExtFlags = 0 
)

Definition at line 101 of file docsh3.cxx.

References PostPaint().

Referenced by ScLabelRangesObj::addNew(), ScViewFunc::AdjustBlockHeight(), ScBlockUndo::AdjustHeight(), ScDocFunc::AdjustRowHeight(), ScViewFunc::AdjustRowHeight(), AdjustRowHeight(), ScDocFunc::ApplyAttributes(), ScDBFunc::ApplyAutoFilter(), ScHelperFunctions::ApplyBorder(), ScViewFunc::ApplyPatternLines(), ScViewFunc::ApplySelectionPattern(), ScDocFunc::ApplyStyle(), ScDocFunc::AutoFormat(), ScOutlineDocFunc::AutoOutline(), ScStatisticsInputOutputDialog::CalculateInputAndWriteToOutput(), ScStatisticsTwoVariableDialog::CalculateInputAndWriteToOutput(), CancelAutoDBRange(), ScDocFunc::ChangeIndent(), ScDocFunc::ClearItems(), ScViewFunc::ConvertFormulaToValue(), ScDocFunc::ConvertFormulaToValue(), ScViewFunc::CutToClip(), ScViewFunc::DataFormPutData(), DBAreaDeleted(), ScDocFunc::DeleteCell(), ScDocFunc::DeleteCells(), ScDocFunc::DeleteContents(), ScViewFunc::DeleteMulti(), DoAutoStyle(), ScUndoDeleteMulti::DoChange(), ScUndoImportTab::DoChange(), ScUndoPaste::DoChange(), ScUndoAutoFilter::DoChange(), ScUndoPrintRange::DoChange(), ScUndoInsertCells::DoChange(), ScUndoDeleteCells::DoChange(), ScUndoCut::DoChange(), ScUndoDeleteContents::DoChange(), ScUndoFillTable::DoChange(), ScUndoSelectionAttr::DoChange(), ScUndoSelectionStyle::DoChange(), ScUndoDataForm::DoChange(), ScUndoUpdateAreaLink::DoChange(), ScUndoCursorAttr::DoChange(), ScUndoModifyStyle::DoChange(), ScUndoConditionalFormat::DoChange(), ScUndoRefConversion::DoChange(), ScUndoListNames::DoChange(), DoConsolidate(), ScDBDocFunc::DoImport(), ScViewFunc::DoRefConversion(), ScDBFunc::DoSubTotals(), ScDBDocFunc::DoSubTotals(), ScImportExport::EndPaste(), ScDBFuncUndo::EndUndo(), ScDocFunc::EnterMatrix(), sc::UndoFormulaToValue::Execute(), sc::UndoSort::Execute(), ScRandomNumberGeneratorDialog::GenerateNumbers(), ScViewData::GetPosFromPixel(), ScDBFunc::HideAutoFilter(), ScOutlineDocFunc::HideMarkedOutlines(), ScViewFunc::HideTable(), IMPL_LINK(), IMPL_LINK_NOARG(), ScViewFunc::ImportTables(), ScDocFunc::InsertCells(), ScDocFunc::InsertNameList(), ScDocFunc::InsertPageBreak(), ScDocDefaultsObj::ItemsChanged(), lcl_PaintAbove(), lcl_PaintOneRange(), lcl_PaintWidthHeight(), lcl_PostRepaintCondFormat(), lcl_PutDataArray(), lcl_PutFormulaArray(), LoadStyles(), LoadStylesArgs(), ScOutlineDocFunc::MakeOutline(), MakeScenario(), ScDocFunc::MergeCells(), ScLabelRangeObj::Modify_Impl(), ScDBDocFunc::ModifyAllDBData(), ScDocFunc::MoveBlock(), ScViewFunc::MoveTable(), ScUndoDragDrop::PaintArea(), ScUndoUtil::PaintMore(), ScViewFunc::PasteFromClip(), ScViewFunc::PasteFromClipToMultiRanges(), ScViewFunc::PasteMultiRangesFromClip(), ScSamplingDialog::PerformSampling(), PostPaint(), PostPaintCell(), PostPaintExtras(), PostPaintGridAll(), ScDBDocFunc::Query(), sc::UndoGroupSparklines::Redo(), sc::UndoInsertSparkline::Redo(), sc::UndoUngroupSparklines::Redo(), ScUndoWidthOrHeight::Redo(), ScUndoAutoFill::Redo(), ScUndoAutoFormat::Redo(), ScUndoIndent::Redo(), ScUndoTransliterate::Redo(), ScUndoClearItems::Redo(), ScUndoRemoveBreaks::Redo(), ScUndoBorder::Redo(), ScUndoMakeOutline::Redo(), ScUndoImportData::Redo(), ScAreaLink::Refresh(), ReloadTabLinks(), ScTableSheetObj::removeAllManualPageBreaks(), ScOutlineDocFunc::RemoveAllOutlines(), ScLabelRangesObj::removeByIndex(), ScStyleFamilyObj::removeByName(), ScViewFunc::RemoveManualBreaks(), ScOutlineDocFunc::RemoveOutline(), ScDocFunc::RemovePageBreak(), ScDBDocFunc::RemovePivotTable(), ScViewFunc::RemoveStyleSheetInUse(), ScModelObj::RepaintRange(), ScDBFunc::RepeatDB(), ScDBDocFunc::RepeatDB(), ScDocFunc::ReplaceConditionalFormat(), ScViewFunc::SearchAndReplace(), ScStyleObj::setAllPropertiesToDefault(), ScVbaWorksheet::setAutoFilterMode(), ScDocFunc::SetFormulaCells(), ScDocFunc::SetLayoutRTL(), ScStyleObj::setParentStyle(), SetPrinter(), ScDocumentConfiguration::setPropertyValue(), ScDatabaseRangeObj::setPropertyValue(), ScStyleObj::setPropertyValue_Impl(), ScViewFunc::SetSelectionFrameLines(), ScViewFunc::SetStyleSheetToMarked(), ScDocFunc::SetTableVisible(), ScDocFunc::SetValueCells(), SetVisAreaOrSize(), ScViewFunc::SetWidthOrHeight(), ScDocFunc::SetWidthOrHeight(), ScOutlineDocFunc::ShowMarkedOutlines(), ScViewFunc::ShowTable(), ScDBDocFunc::Sort(), ScDocFunc::TransliterateText(), sc::UndoGroupSparklines::Undo(), sc::UndoInsertSparkline::Undo(), sc::UndoUngroupSparklines::Undo(), ScUndoWidthOrHeight::Undo(), ScUndoAutoFill::Undo(), ScUndoAutoFormat::Undo(), ScUndoTabOp::Undo(), ScUndoUseScenario::Undo(), ScUndoEnterMatrix::Undo(), ScUndoIndent::Undo(), ScUndoTransliterate::Undo(), ScUndoClearItems::Undo(), ScUndoRemoveBreaks::Undo(), ScUndoBorder::Undo(), ScUndoDoOutline::Undo(), ScUndoMakeOutline::Undo(), ScUndoOutlineLevel::Undo(), ScUndoOutlineBlock::Undo(), ScUndoRemoveAllOutlines::Undo(), ScUndoAutoOutline::Undo(), ScUndoSubTotals::Undo(), ScUndoQuery::Undo(), ScUndoImportData::Undo(), ScUndoRepeatDB::Undo(), ScUndoDataPilot::Undo(), ScUndoConsolidate::Undo(), ScUndoDeleteTab::Undo(), ScUndoMakeScenario::Undo(), UnlockPaint_Impl(), ScDocFunc::UnmergeCells(), ScPrintFunc::UpdatePages(), ScViewFunc::UpdateSelectionArea(), ScViewFunc::UpdateStyleSheetInUse(), UseScenario(), and sc::ScDBDataManager::WriteToDoc().

◆ PostPaintCell() [1/2]

void ScDocShell::PostPaintCell ( const ScAddress rPos)

Definition at line 193 of file docsh3.cxx.

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

◆ PostPaintCell() [2/2]

void ScDocShell::PostPaintCell ( SCCOL  nCol,
SCROW  nRow,
SCTAB  nTab 
)

◆ PostPaintExtras()

void ScDocShell::PostPaintExtras ( )

◆ PostPaintGridAll()

void ScDocShell::PostPaintGridAll ( )

Definition at line 183 of file docsh3.cxx.

References Grid, m_pDocument, MAXTAB, and PostPaint().

Referenced by CompareDocument(), ScDBDocFunc::CreatePivotTable(), ScDBDocFunc::DataPilotUpdate(), ScUndoCopyTab::DoChange(), ScUndoMoveTab::DoChange(), sc::UndoSetCells::DoChange(), ScUndoConditionalFormatList::DoChange(), ScUndoConversion::DoChange(), ScUndoRenameTab::DoChange(), DoHardRecalc(), ScUndoDocProtect::DoProtect(), ScUndoTabProtect::DoProtect(), DoRecalc(), ScViewFunc::DoSheetConversion(), ScViewFunc::DoThesaurus(), ScTabViewShell::ExecStyle(), Execute(), ScTabViewShell::Execute(), ScDocFunc::FillAuto(), ScRedlineOptionsTabPage::FillItemSet(), ScDocFunc::FillSeries(), ScDocFunc::FillSimple(), ScViewFunc::FillTab(), IMPL_LINK(), IMPL_LINK_NOARG(), ScViewFunc::ImportTables(), MergeDocument(), MergeSharedDocument(), ScModule::ModifyOptions(), ModifyScenario(), ScViewFunc::MoveTable(), MoveTable(), ScForbiddenCharsObj::onChange(), ScDocFunc::ProtectDocument(), ScDocFunc::ProtectSheet(), sc::UndoDeleteSparklineGroup::Redo(), sc::UndoEditSparklneGroup::Redo(), ScUndoReplace::Redo(), ScUndoRefreshLink::Redo(), ScUndoScenarioFlags::Redo(), ScDBDocFunc::RemovePivotTable(), ScSpellDialogChildWindow::Reset(), ScViewFunc::SearchAndReplace(), ScTabViewObj::select(), SetChangeRecording(), ScDocFunc::SetConditionalFormatList(), ScDocFunc::TabOp(), TransferTab(), sc::UndoDeleteSparklineGroup::Undo(), sc::UndoEditSparklneGroup::Undo(), ScUndoReplace::Undo(), ScUndoRefreshLink::Undo(), ScUndoScenarioFlags::Undo(), and ScDBDocFunc::UpdatePivotTable().

◆ PrepareClose()

bool ScDocShell::PrepareClose ( bool  bUI = true)
overridevirtual

◆ QuerySlotExecutable()

bool ScDocShell::QuerySlotExecutable ( sal_uInt16  nSlotId)
overridevirtual

Reimplemented from SfxObjectShell.

Definition at line 2752 of file docsh.cxx.

References m_pDocument.

◆ ReconnectDdeLink()

void ScDocShell::ReconnectDdeLink ( SfxObjectShell rServer)
overridevirtual

Reimplemented from SfxObjectShell.

Definition at line 309 of file docsh6.cxx.

References m_pDocument, and sfx2::LinkManager::ReconnectDdeLink().

◆ RefreshPivotTables()

void ScDocShell::RefreshPivotTables ( const ScRange rSource)

◆ RegisterAutomationWorkbookObject()

void ScDocShell::RegisterAutomationWorkbookObject ( css::uno::Reference< ooo::vba::excel::XWorkbook > const &  xWorkbook)

Definition at line 3418 of file docsh.cxx.

References mxAutomationWorkbookObject.

◆ ReloadAllLinks()

void ScDocShell::ReloadAllLinks ( )

Definition at line 178 of file docsh4.cxx.

References AllowLinkUpdate(), GetActiveDialogParent(), m_pDocument, and ReloadTabLinks().

Referenced by Execute().

◆ ReloadTabLinks()

void ScDocShell::ReloadTabLinks ( )

◆ ResetDrawObjectShell()

void ScDocShell::ResetDrawObjectShell ( )
private

Definition at line 162 of file docsh2.cxx.

References m_pDocument, and FmFormModel::SetObjectShell().

Referenced by ~ScDocShell().

◆ ResetKeyBindings()

void ScDocShell::ResetKeyBindings ( ScOptionsUtil::KeyBindingType  eType)
static

Definition at line 3155 of file docsh.cxx.

References eType, ScOptionsUtil::KEY_DEFAULT, and ScOptionsUtil::KEY_OOO_LEGACY.

Referenced by ScModule::ModifyOptions().

◆ Save()

bool ScDocShell::Save ( )
overridevirtual

◆ SaveAs()

bool ScDocShell::SaveAs ( SfxMedium rMedium)
overridevirtual

◆ SaveXML()

bool ScDocShell::SaveXML ( SfxMedium pMedium,
const css::uno::Reference< css::embed::XStorage > &  xStor 
)
private

Definition at line 590 of file docsh.cxx.

References ScXMLImportWrapper::Export(), SfxObjectShell::GetCreateMode(), and m_pDocument.

Referenced by ConvertTo(), Save(), and SaveAs().

◆ SetAreasChangedNeedBroadcast()

void ScDocShell::SetAreasChangedNeedBroadcast ( )
inline

◆ SetChangeComment()

void ScDocShell::SetChangeComment ( ScChangeAction pAction,
const OUString &  rComment 
)

◆ SetChangeRecording()

void ScDocShell::SetChangeRecording ( bool  bActivate,
bool  bLockAllViews = false 
)
overridevirtual

◆ SetClipData()

void ScDocShell::SetClipData ( const css::uno::Reference< css::datatransfer::XTransferable2 > &  xTransferable)
inline

Definition at line 224 of file docsh.hxx.

Referenced by ooo::vba::excel::implnCopy(), and ooo::vba::excel::implnCut().

◆ SetDocumentModified()

void ScDocShell::SetDocumentModified ( )

Definition at line 2982 of file docsh.cxx.

References BCA_BRDCST_ALWAYS, ScDetOpList::Count(), ScDocFunc::DetectiveRefresh(), GetDocFunc(), ScDetOpList::HasAddError(), IsInUndo(), m_bAreasChangedNeedBroadcast, m_pDocument, m_pPaintLockData, PostDataChanged(), SC_MOD, SetDocumentModifiedPending(), SetDrawModified(), and SfxGetpApp().

Referenced by ScLabelRangesObj::addNew(), ScNameDefDlg::AddPushed(), ScViewFunc::AppendTable(), ScHelperFunctions::ApplyBorder(), ScOutlineDocFunc::AutoOutline(), CompareDocument(), ScViewFunc::DeleteTables(), ScUndoLayoutRTL::DoChange(), ScUndoShowHideTab::DoChange(), ScViewFunc::DoRefConversion(), ScViewFunc::DoSheetConversion(), ScViewFunc::DoThesaurus(), ScModelObj::enableAutomaticCalculation(), ScImportExport::EndPaste(), ScSimpleUndo::EndRedo(), ScSimpleUndo::EndUndo(), ScTabViewShell::ExecStyle(), ScModule::Execute(), Execute(), ScTabViewShell::Execute(), ScDrawShell::ExecuteHLink(), ExecutePageStyle(), ScTabViewShell::ExecuteSave(), ScTabView::FreezeSplitters(), ScOutlineDocFunc::HideMarkedOutlines(), ScOutlineDocFunc::HideOutline(), ScViewFunc::HideTable(), IMPL_LINK(), IMPL_LINK_NOARG(), ScViewFunc::ImportTables(), ScTabViewShell::InnerResizePixel(), ScStyleFamilyObj::insertByName(), ScViewFunc::InsertTables(), lcl_PutDataArray(), lcl_PutFormulaArray(), ScStyleFamiliesObj::loadStylesFromDocShell(), ScOutlineDocFunc::MakeOutline(), ScLabelRangeObj::Modify_Impl(), ScModule::ModifyOptions(), ScViewFunc::MoveTable(), ScForbiddenCharsObj::onChange(), ScGridWindow::PagebreakMove(), ScTableSheetObj::PrintAreaUndo_Impl(), sc::CSVDataProvider::Refresh(), sc::DataStream::Refresh(), ReloadTabLinks(), ScTableSheetObj::removeAllManualPageBreaks(), ScOutlineDocFunc::RemoveAllOutlines(), ScLabelRangesObj::removeByIndex(), ScStyleFamilyObj::removeByName(), ScViewFunc::RemoveManualBreaks(), ScOutlineDocFunc::RemoveOutline(), ScTabView::RemoveSplit(), ScSheetEventsObj::replaceByName(), ScSpellDialogChildWindow::Reset(), sc::SolverSettings::SaveSolverSettings(), ScViewFunc::SearchAndReplace(), ScOutlineDocFunc::SelectLevel(), ScStyleObj::setAllPropertiesToDefault(), SetChangeComment(), ScDocShellModificator::SetDocumentModified(), ScDataPilotTableObj::setName(), ScTableSheetObj::SetOnePropertyValue(), ScStyleObj::setParentStyle(), ScViewFunc::SetPrintRanges(), ScDocumentConfiguration::setPropertyValue(), ScModelObj::setPropertyValue(), ScTabViewObj::setPropertyValue(), ScStyleObj::setPropertyValue_Impl(), SetProtectionPassword(), ScViewFunc::SetSelectionFrameLines(), ScDataPilotTableObj::setTag(), ScOutlineDocFunc::ShowMarkedOutlines(), ScDocFunc::ShowNote(), ScOutlineDocFunc::ShowOutline(), ScViewFunc::ShowTable(), UnlockPaint_Impl(), ScTabView::UpdateRef(), and ScDocShellModificator::~ScDocShellModificator().

◆ SetDocumentModifiedPending()

void ScDocShell::SetDocumentModifiedPending ( bool  bVal)
inline

Definition at line 379 of file docsh.hxx.

Referenced by SetDocumentModified().

◆ SetDrawModified()

void ScDocShell::SetDrawModified ( )

◆ SetEmpty()

void ScDocShell::SetEmpty ( bool  bSet)

◆ SetFormulaOptions()

void ScDocShell::SetFormulaOptions ( const ScFormulaOptions rOpt,
bool  bForLoading = false 
)

◆ SetInitialLinkUpdate()

void ScDocShell::SetInitialLinkUpdate ( const SfxMedium pMedium)

◆ SetInplace()

void ScDocShell::SetInplace ( bool  bInplace)

Definition at line 346 of file docsh3.cxx.

References CalcOutputFactor(), and m_bIsInplace.

Referenced by ScTabViewShell::Construct().

◆ SetInUndo()

void ScDocShell::SetInUndo ( bool  bSet)

◆ SetLockCount()

void ScDocShell::SetLockCount ( sal_uInt16  nNew)

◆ SetModified()

void ScDocShell::SetModified ( bool  bModified = true)
overridevirtual

◆ SetPrinter()

sal_uInt16 ScDocShell::SetPrinter ( VclPtr< SfxPrinter > const &  pNewPrinter,
SfxPrinterChangeFlags  nDiffFlags = SFX_PRINTER_ALL 
)

◆ SetPrintZoom()

void ScDocShell::SetPrintZoom ( SCTAB  nTab,
sal_uInt16  nScale,
sal_uInt16  nPages 
)

◆ SetProtectionPassword()

void ScDocShell::SetProtectionPassword ( const OUString &  rPassword)
overridevirtual

◆ SetUpdateEnabled()

void ScDocShell::SetUpdateEnabled ( bool  bValue)
inline

Definition at line 386 of file docsh.hxx.

Referenced by ScTabViewShell::Construct().

◆ SetVisArea()

void ScDocShell::SetVisArea ( const tools::Rectangle rVisArea)
overridevirtual

Reimplemented from SfxObjectShell.

Definition at line 57 of file docsh6.cxx.

References SetVisAreaOrSize().

Referenced by ScDrawTransferObj::InitDocShell(), and ScTransferObj::InitDocShell().

◆ SetVisAreaOrSize()

void ScDocShell::SetVisAreaOrSize ( const tools::Rectangle rVisArea)

◆ SFX_DECL_OBJECTFACTORY()

ScDocShell::SFX_DECL_OBJECTFACTORY ( )

◆ SnapVisArea()

void ScDocShell::SnapVisArea ( tools::Rectangle rRect) const

◆ TerminateEditing()

void ScDocShell::TerminateEditing ( )
overridevirtual

Reimplemented from SfxObjectShell.

Definition at line 1812 of file docsh.cxx.

References SC_MOD.

◆ TransferTab()

sal_uLong ScDocShell::TransferTab ( ScDocShell rSrcDocShell,
SCTAB  nSrcPos,
SCTAB  nDestPos,
bool  bInsertNew,
bool  bNotifyAndPaint 
)

◆ UnlockDocument()

void ScDocShell::UnlockDocument ( )

Definition at line 333 of file docsh3.cxx.

References m_nDocumentLock, UnlockDocument_Impl(), and UnlockPaint_Impl().

Referenced by ScModelObj::removeActionLock().

◆ UnlockDocument_Impl()

void ScDocShell::UnlockDocument_Impl ( sal_uInt16  nNew)
private

Definition at line 289 of file docsh3.cxx.

References m_nDocumentLock, m_pDocument, and SdrModel::setLock().

Referenced by SetLockCount(), and UnlockDocument().

◆ UnlockPaint()

void ScDocShell::UnlockPaint ( )

◆ UnlockPaint_Impl()

void ScDocShell::UnlockPaint_Impl ( bool  bDoc)
private

◆ UpdateAllRowHeights() [1/2]

void ScDocShell::UpdateAllRowHeights ( const bool  bOnlyUsedRows)

◆ UpdateAllRowHeights() [2/2]

void ScDocShell::UpdateAllRowHeights ( const ScMarkData pTabMark = nullptr)

◆ UpdateFontList()

void ScDocShell::UpdateFontList ( )

◆ UpdateLinks()

void ScDocShell::UpdateLinks ( )
overridevirtual

◆ UpdateOle()

void ScDocShell::UpdateOle ( const ScViewData rViewData,
bool  bSnapSize = false 
)

◆ UpdatePaintExt() [1/2]

void ScDocShell::UpdatePaintExt ( sal_uInt16 &  rExtFlags,
const ScRange rRange 
)

◆ UpdatePaintExt() [2/2]

void ScDocShell::UpdatePaintExt ( sal_uInt16 &  rExtFlags,
SCCOL  nStartCol,
SCROW  nStartRow,
SCTAB  nStartTab,
SCCOL  nEndCol,
SCROW  nEndRow,
SCTAB  nEndTab 
)

◆ UpdatePendingRowHeights()

void ScDocShell::UpdatePendingRowHeights ( SCTAB  nUpdateTab,
bool  bBefore = false 
)

◆ UseScenario()

void ScDocShell::UseScenario ( SCTAB  nTab,
const OUString &  rName,
bool  bRecord = true 
)

◆ UseSheetSaveEntries()

void ScDocShell::UseSheetSaveEntries ( )
private

Definition at line 3269 of file docsh.cxx.

References m_pDocument, and m_pSheetSaveData.

Referenced by Notify().

Friends And Related Function Documentation

◆ TestImportDBF

bool TestImportDBF ( SvStream rStream)
friend

Definition at line 3439 of file docsh.cxx.

Member Data Documentation

◆ m_aDdeTextFmt

OUString ScDocShell::m_aDdeTextFmt
private

Definition at line 84 of file docsh.hxx.

◆ m_bAreasChangedNeedBroadcast

bool ScDocShell::m_bAreasChangedNeedBroadcast
private

Definition at line 97 of file docsh.hxx.

Referenced by SetDocumentModified().

◆ m_bDocumentModifiedPending

bool ScDocShell::m_bDocumentModifiedPending
private

Definition at line 95 of file docsh.hxx.

◆ m_bFooterOn

bool ScDocShell::m_bFooterOn
private

Definition at line 91 of file docsh.hxx.

Referenced by ExecutePageStyle(), and GetStatePageStyle().

◆ m_bHeaderOn

bool ScDocShell::m_bHeaderOn
private

Definition at line 90 of file docsh.hxx.

Referenced by ExecutePageStyle(), and GetStatePageStyle().

◆ m_bIsEmpty

bool ScDocShell::m_bIsEmpty
private

Definition at line 93 of file docsh.hxx.

Referenced by AfterXMLLoading(), ConvertFrom(), Load(), and SetEmpty().

◆ m_bIsInplace

bool ScDocShell::m_bIsInplace
private

Definition at line 92 of file docsh.hxx.

Referenced by CalcOutputFactor(), ScDocShell(), SetInplace(), and SetVisAreaOrSize().

◆ m_bIsInUndo

bool ScDocShell::m_bIsInUndo
private

Definition at line 94 of file docsh.hxx.

Referenced by SetInUndo().

◆ m_bUpdateEnabled

bool ScDocShell::m_bUpdateEnabled
private

Definition at line 96 of file docsh.hxx.

◆ m_nCanUpdate

sal_Int16 ScDocShell::m_nCanUpdate
private

Definition at line 99 of file docsh.hxx.

Referenced by Execute(), GetLinkUpdateModeState(), and SetInitialLinkUpdate().

◆ m_nDocumentLock

sal_uInt16 ScDocShell::m_nDocumentLock
private

◆ m_nPrtToScreenFactor

double ScDocShell::m_nPrtToScreenFactor
private

Definition at line 86 of file docsh.hxx.

Referenced by CalcOutputFactor().

◆ m_pAutoStyleList

std::unique_ptr<ScAutoStyleList> ScDocShell::m_pAutoStyleList
private

◆ m_pDocFunc

std::unique_ptr<ScDocFunc> ScDocShell::m_pDocFunc
private

Definition at line 88 of file docsh.hxx.

Referenced by InitItems(), ScDocShell(), and ~ScDocShell().

◆ m_pDocument

std::shared_ptr<ScDocument> ScDocShell::m_pDocument
private

Definition at line 82 of file docsh.hxx.

Referenced by AdjustPrintZoom(), AdjustRowHeight(), AfterXMLLoading(), AllowLinkUpdate(), AsciiSave(), BeforeXMLLoading(), CalcOutputFactor(), CancelAutoDBRange(), CompareDocument(), ConvertFrom(), ConvertTo(), DBAreaDeleted(), DBaseExport(), DBaseImport(), DdeCreateLinkSource(), DoAutoStyle(), DoConsolidate(), DoHardRecalc(), DoRecalc(), Draw(), Execute(), ExecuteChangeProtectionDialog(), ExecutePageStyle(), GetAnonymousDBData(), GetDBData(), GetDocColors(), GetDocStat(), GetDocumentPrinter(), GetHiddenInformationState(), GetPageOnFromPageStyleSet(), GetPrinter(), GetProtectionHash(), GetRefDevice(), GetState(), GetStatePageStyle(), GetStyleSheetPool(), GetUndoManager(), GetVisArea(), HasChangeRecordProtection(), InitItems(), InitNew(), InitOptions(), IsChangeRecording(), IsEditable(), Load(), LoadExternal(), LoadFrom(), LoadStyles(), LoadStylesArgs(), LoadXML(), LockDocument_Impl(), MakeDrawLayer(), MakeScenario(), MergeDocument(), MergeSharedDocument(), ModifyScenario(), MoveTable(), Notify(), NotifyStyle(), PageStyleModified(), PostDataChanged(), PostPaint(), PostPaintExtras(), PostPaintGridAll(), PrepareClose(), ScDocShell::PrepareSaveGuard::PrepareSaveGuard(), QuerySlotExecutable(), ReconnectDdeLink(), RefreshPivotTables(), ReloadAllLinks(), ReloadTabLinks(), ResetDrawObjectShell(), Save(), SaveAs(), SaveXML(), ScDocShell(), SetChangeRecording(), SetDocumentModified(), SetDrawModified(), SetFormulaOptions(), SetPrinter(), SetPrintZoom(), SetProtectionPassword(), SetVisAreaOrSize(), SnapVisArea(), TransferTab(), UnlockDocument_Impl(), UpdateAllRowHeights(), UpdateLinks(), UpdateOle(), UpdatePaintExt(), UpdatePendingRowHeights(), UseScenario(), UseSheetSaveEntries(), and ~ScDocShell().

◆ m_pFormatSaveData

std::unique_ptr<ScFormatSaveData> ScDocShell::m_pFormatSaveData
private

Definition at line 106 of file docsh.hxx.

Referenced by GetFormatSaveData(), and ~ScDocShell().

◆ m_pImpl

std::unique_ptr<DocShell_Impl> ScDocShell::m_pImpl
private

Definition at line 87 of file docsh.hxx.

Referenced by Execute(), GetState(), UpdateFontList(), and ~ScDocShell().

◆ m_pModificator

std::unique_ptr<ScDocShellModificator, o3tl::default_delete<ScDocShellModificator> > ScDocShell::m_pModificator
private

Definition at line 108 of file docsh.hxx.

Referenced by AfterXMLLoading(), BeforeXMLLoading(), and ~ScDocShell().

◆ m_pOldAutoDBRange

std::unique_ptr<ScDBData> ScDocShell::m_pOldAutoDBRange
private

Definition at line 101 of file docsh.hxx.

Referenced by CancelAutoDBRange(), GetDBData(), GetOldAutoDBRange(), and ~ScDocShell().

◆ m_pPaintLockData

std::unique_ptr<ScPaintLockData> ScDocShell::m_pPaintLockData
private

◆ m_pSheetSaveData

std::unique_ptr<ScSheetSaveData> ScDocShell::m_pSheetSaveData
private

Definition at line 105 of file docsh.hxx.

Referenced by GetSheetSaveData(), Notify(), UseSheetSaveEntries(), and ~ScDocShell().

◆ m_xClipData

css::uno::Reference<css::datatransfer::XTransferable2> ScDocShell::m_xClipData
private

Definition at line 114 of file docsh.hxx.

◆ m_xVBAListener

css::uno::Reference<css::script::vba::XVBAScriptListener> ScDocShell::m_xVBAListener
private

Definition at line 113 of file docsh.hxx.

Referenced by Notify().

◆ mxAutomationWorkbookObject

css::uno::Reference< ooo::vba::excel::XWorkbook> ScDocShell::mxAutomationWorkbookObject
private

Definition at line 110 of file docsh.hxx.

Referenced by Notify(), and RegisterAutomationWorkbookObject().


The documentation for this class was generated from the following files: