LibreOffice Module sc (master)  1
Classes | Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | 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)
 
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 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) 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)
 
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 (const OUString &rStyleName, bool bApi)
 
void NotifyStyle (const SfxStyleSheetHint &rHint)
 
void DoAutoStyle (const ScRange &rRange, const OUString &rStyle)
 
void ErrorMessage (const char *pGlobStrId)
 
bool IsEditable () const
 
bool AdjustRowHeight (SCROW nStartRow, SCROW nEndRow, SCTAB nTab)
 merge with docfunc More...
 
void UpdateAllRowHeights (const ScMarkData *pTabMark=nullptr)
 
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 *pViewData, 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 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_LINK (DialogClosedHdl, sfx2::FileDialogHelper *, void)
 
 DECL_LINK (ReloadAllLinksHdl, 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_LINK (RefreshDBDataHdl, Timer *, void)
 
void BeforeXMLLoading ()
 
void AfterXMLLoading (bool bRet)
 
virtual HiddenInformation GetHiddenInformationState (HiddenInformation nStates) override
 
const ScOptSolverSaveGetSolverSaveData () const
 
void SetSolverSaveData (std::unique_ptr< ScOptSolverSave > pData)
 
ScSheetSaveDataGetSheetSaveData ()
 
ScFormatSaveDataGetFormatSaveData ()
 
virtual bool IsChangeRecording () const override
 
virtual bool HasChangeRecordProtection () const override
 
virtual void SetChangeRecording (bool bActivate) 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 SetIsInUcalc ()
 
void RegisterAutomationWorkbookObject (css::uno::Reference< ooo::vba::excel::XWorkbook > const &xWorkbook)
 
- 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 (SfxMedium *pMedium=nullptr)
 
bool DoLoad (SfxMedium *pMedium)
 
bool DoLoadExternal (SfxMedium *pMed)
 
bool DoSave ()
 
bool DoSaveAs (SfxMedium &rNewStor)
 
bool DoSaveObjectAs (SfxMedium &rNewStor, bool bCommit)
 
bool LoadOwnFormat (SfxMedium &pMedium)
 
virtual bool SaveAsOwnFormat (SfxMedium &pMedium)
 
virtual bool SaveCompleted (const css::uno::Reference< css::embed::XStorage > &xStorage)
 
bool SwitchPersistance (const css::uno::Reference< css::embed::XStorage > &xStorage)
 
bool IsConfigOptionsChecked () const
 
void SetConfigOptionsChecked (bool bChecked)
 
void SaveChildren (bool bObjectsOnly=false)
 
bool SaveAsChildren (SfxMedium &rMedium)
 
bool SwitchChildrenPersistance (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)
 
void RecheckSignature (bool bAlsoRecheckScriptingSignature)
 
void AfterSigning (bool bSignSuccess, bool bSignScriptingContent)
 
bool HasValidSignatures () const
 
SignatureState GetDocumentSignatureState ()
 
void 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)
 
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 ()
 
void SignScriptingContent (weld::Window *pDialogParent)
 
 DECL_LINK (SignDocumentHandler, Button *, void)
 
ErrCode CallBasic (const OUString &rMacro, const OUString &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, const OUString &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)
 
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
 
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
 
void AvoidRecentDocs (bool bAvoid)
 
bool IsContinueImportOnFilterExceptions (const OUString &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 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
 
virtual sfx::AccessibilityIssueCollection runAccessibilityCheck ()
 
virtual SfxObjectShellGetObjectShell () override
 
css::uno::Reference< css::frame::XModel > GetModel () const
 
void SetBaseModel (SfxBaseModel *pModel)
 
css::uno::Reference< css::frame::XModel > GetBaseModel () const
 
virtual css::uno::Sequence< OUString > GetEventNames ()
 
vcl::WindowGetDialogParent (SfxMedium const *pMedium=nullptr)
 
bool IsInPlaceActive () const
 
bool IsUIActive () const
 
bool isEditDocLocked ()
 
bool isContentExtractionLocked ()
 
bool isExportLocked ()
 
bool isPrintLocked ()
 
bool isSaveLocked ()
 
void EnableSetModified (bool bEnable=true)
 
bool IsEnableSetModified () const
 
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 OutputDeviceGetDocumentRefDev ()
 
virtual void OnDocumentPrinterChanged (Printer *pNewPrinter)
 
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)
 
void AppendInfoBarWhenReady (const OUString &sId, const OUString &sPrimaryMessage, const OUString &sSecondaryMessage, InfobarType aInfobarType, bool bShowCloseButton=true)
 
std::vector< InfobarData > & getPendingInfobars ()
 
SAL_DLLPRIVATE std::shared_ptr< GDIMetaFileCreatePreviewMetaFile_Impl (bool bFullContent) 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)
 
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 (const OUString &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 SfxObjectShellGetParentShellByModel_Impl ()
 
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
 
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
 
void CallExec (SfxExecFunc pFunc, SfxRequest &rReq)
 
void CallState (SfxStateFunc pFunc, SfxItemSet &rSet)
 
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)
 
void SetUndoManager (SfxUndoManager *pNewUndoMgr)
 
SfxRepeatTargetGetRepeatTarget () const
 
void SetRepeatTarget (SfxRepeatTarget *pTarget)
 
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
 
void SetDisableFlags (SfxDisableFlags nFlags)
 
SfxDisableFlags GetDisableFlags () const
 
virtual std::unique_ptr< 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
 
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)
 

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 (const OUString &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 SfxObjectShellGetFirst (const std::function< bool(const SfxObjectShell *)> &isObjectShell=nullptr, bool bOnlyVisible=true)
 
static SfxObjectShellGetNext (const SfxObjectShell &rPrev, const std::function< bool(const SfxObjectShell *)> &isObjectShell=nullptr, bool bOnlyVisible=true)
 
static 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::lang::XComponent > &xComp)
 
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

ScDocument m_aDocument
 
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_bUcalcTest: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< ScOptSolverSavem_pSolverSaveData
 
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
 

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 78 of file docsh.hxx.

Constructor & Destructor Documentation

ScDocShell::ScDocShell ( const ScDocShell rDocShell)
explicitdelete

Referenced by Execute().

ScDocShell::ScDocShell ( const SfxModelFlags  i_nSfxCreationFlags = SfxModelFlags::EMBEDDED_OBJECT)
explicit
ScDocShell::~ScDocShell ( )
overridevirtual

Member Function Documentation

bool ScDocShell::AdjustPrintZoom ( const ScRange rRange)
bool ScDocShell::AdjustRowHeight ( SCROW  nStartRow,
SCROW  nEndRow,
SCTAB  nTab 
)
void ScDocShell::AfterXMLLoading ( bool  bRet)
void ScDocShell::AsciiSave ( SvStream rStream,
const ScImportOptions rOpt 
)
void ScDocShell::BeforeXMLLoading ( )

Definition at line 250 of file docsh.cxx.

Referenced by ScModelObj::BeforeXMLLoading().

void ScDocShell::CalcOutputFactor ( )
void ScDocShell::CancelAutoDBRange ( )
void ScDocShell::CheckConfigOptions ( )
void ScDocShell::CompareDocument ( ScDocument rOtherDoc)
bool ScDocShell::ConvertFrom ( SfxMedium rMedium)
overridevirtual

Call CreateFileStream directly, if available

In the filter

For all imports?

Reimplemented from SfxObjectShell.

Definition at line 1136 of file docsh.cxx.

References ScRange::aEnd, ScRange::aStart, EIF_AUTO, EIF_BIFF5, EIF_BIFF8, EIF_BIFF_LE4, ERRCODE_NONE, ScFormatFilter::Get(), SfxMedium::GetBaseURL(), ScAsciiOptions::GetCharSet(), ScGlobal::GetCharsetString(), ScGlobal::GetCharsetValue(), ScSizeDeviceProvider::GetDevice(), GetError(), SfxMedium::GetFilter(), SfxMedium::GetInStream(), SfxMedium::GetItemSet(), SfxItemSet::GetItemState(), SfxMedium::GetName(), ScFormatFilterPlugin::GetOrcusFilters(), SfxMedium::GetPhysicalName(), ScSizeDeviceProvider::GetPPTX(), ScSizeDeviceProvider::GetPPTY(), comphelper::getProcessComponentContext(), CntUInt16Item::GetValue(), GetValue, ScOrcusFilters::importExcel2003XML(), ScOrcusFilters::importGnumeric(), ScImportExport::ImportStream(), ScImportExport::IsOverflowCell(), ScImportExport::IsOverflowCol(), ScImportExport::IsOverflowRow(), SfxMedium::IsStorage(), ErrCode::IsWarning(), LANGUAGE_SYSTEM, lcl_parseHtmlFilterOption(), ScGlobal::nLastColWidthExtra, nPPTX, nPPTY, ScGlobal::nScreenPPTX, ScGlobal::nScreenPPTY, pFilterAscii, pFilterDBase, pFilterDif, pFilterEx4Temp, pFilterEx5Temp, pFilterEx95Temp, pFilterEx97Temp, pFilterExcel4, pFilterExcel5, pFilterExcel95, pFilterExcel97, pFilterHtml, pFilterHtmlWebQ, pFilterLotus, pFilterQPro6, pFilterRtf, pFilterSylk, pFilterXML, ScAsciiOptions::ReadFromString(), SAL_WARN, 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_RANGE_OVERFLOW, SCWARN_IMPORT_ROW_OVERFLOW, SvStream::Seek(), ScAsciiOptions::SetCharSet(), ScAddress::SetCol(), SetError(), ScImportExport::SetExtOptions(), ScAsciiOptions::SetFieldSeps(), ScMarkData::SetMarkArea(), ScAddress::SetRow(), SvStream::SetStreamCharSet(), ScAsciiOptions::SetTextSep(), and ScDocRowHeightUpdater::update().

bool ScDocShell::ConvertTo ( SfxMedium rMedium)
overridevirtual

Reimplemented from SfxObjectShell.

Definition at line 2308 of file docsh.cxx.

References AsciiSave(), ScImportOptions::BuildString(), SfxItemSet::ClearItem(), SfxMedium::CloseOutStream(), DBaseExport(), ERRCODE_ABORT, ERRCODE_NONE, ExpBiff5, ExpBiff8, ScImportExport::ExportStream(), ScFormatFilter::Get(), GetActiveDialogParent(), SfxMedium::GetBaseURL(), GetBestViewShell(), ScDocument::GetCellArea(), ScGlobal::GetCharsetString(), ScGlobal::GetCharsetValue(), SfxObjectShell::GetCreateMode(), SfxMedium::GetError(), SfxObjectShell::GetError(), ScDocument::GetExtDocOptions(), SfxMedium::GetFilter(), SfxItemSet::GetItem(), SfxMedium::GetItemSet(), SfxItemSet::GetItemState(), SfxMedium::GetName(), ScImportExport::GetNonConvertibleChars(), SfxMedium::GetOutStream(), SfxMedium::GetPhysicalName(), ScDocument::GetRefreshTimerControlAddress(), ScDocument::GetTableCount(), CntUnencodedStringItem::GetValue(), GetValue, IsDocument(), ErrCode::IsWarning(), KillFile(), m_aDocument, m_pAutoStyleList, MoveFile(), ScPassHashHelper::needsPassHashRegen(), PASSHASH_XL, pFilterAscii, pFilterDBase, pFilterDif, pFilterEx5Temp, pFilterEx95Temp, pFilterEx97Temp, pFilterExcel5, pFilterExcel95, pFilterExcel97, pFilterHtml, pFilterSylk, pFilterXML, SaveXML(), SCERR_EXPORT_DATA, SCERR_IMPORT_NI, ScFormatFilterPlugin::ScExportDif(), ScFormatFilterPlugin::ScExportExcel5(), SCWARN_EXPORT_ASCII, SCWARN_EXPORT_NONCONVERTIBLE_CHARS, SfxMedium::SetError(), SfxObjectShell::SetError(), ScDocument::SetExtDocOptions(), INetURLObject::setExtension(), ScImportExport::SetFilterOptions(), ScImportExport::SetFormulas(), ScImportExport::SetStreamPath(), SfxObjectShell::SetVisArea(), INetURLObject::Unambiguous, and ScWarnPassword::WarningOnPassword().

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

Definition at line 2728 of file docsh.cxx.

Referenced by ScDocShell().

std::shared_ptr< SfxDocumentInfoDialog > ScDocShell::CreateDocumentInfoDialog ( weld::Window pParent,
const SfxItemSet rSet 
)
overridevirtual
void ScDocShell::DBAreaDeleted ( SCTAB  nTab,
SCCOL  nX1,
SCROW  nY1,
SCCOL  nX2 
)
ErrCode ScDocShell::DBaseExport ( const OUString &  rFullFileName,
rtl_TextEncoding  eCharSet,
bool &  bHasMemo 
)
private
ErrCode ScDocShell::DBaseImport ( const OUString &  rFullFileName,
rtl_TextEncoding  eCharSet,
std::map< SCCOL, ScColWidthParam > &  aColWidthParam,
ScFlatBoolRowSegments rRowHeightsRecalc 
)
private
sfx2::SvLinkSource * ScDocShell::DdeCreateLinkSource ( const OUString &  rItem)
override
ScDocShell::DECL_LINK ( DialogClosedHdl  ,
sfx2::FileDialogHelper ,
void   
)
ScDocShell::DECL_LINK ( ReloadAllLinksHdl  ,
Button ,
void   
)
ScDocShell::DECL_LINK ( RefreshDBDataHdl  ,
Timer ,
void   
)
void ScDocShell::DoAutoStyle ( const ScRange rRange,
const OUString &  rStyle 
)
void ScDocShell::DoConsolidate ( const ScConsolidateParam rParam,
bool  bRecord = true 
)
void ScDocShell::DoEnterHandler ( )
private
void ScDocShell::DoHardRecalc ( )
void ScDocShell::DoRecalc ( bool  bApi)
bool ScDocShell::DoSaveCompleted ( SfxMedium pNewStor = nullptr,
bool  bRegisterRecent = true 
)
overridevirtual

Reimplemented from SfxObjectShell.

Definition at line 2577 of file docsh.cxx.

References SfxObjectShell::DoSaveCompleted().

void ScDocShell::Draw ( OutputDevice pDev,
const JobSetup rSetup,
sal_uInt16  nAspect 
)
overridevirtual
SAL_DLLPRIVATE void ScDocShell::EnableSharedSettings ( bool  bEnable)
private

Referenced by Execute().

void ScDocShell::ErrorMessage ( const char *  pGlobStrId)
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 184 of file docsh4.cxx.

References aData, SfxUndoManager::AddUndoAction(), ScRange::aEnd, aName, SfxViewFrame::AppendInfoBar(), SfxRequest::AppendItem(), aProperties, ScRange::aStart, ScDocument::CalcAll(), SfxUndoManager::Clear(), tools::SvRef< T >::clear(), sfx2::SfxNotebookBar::CloseMethod(), ScAddress::Col(), sfx2::DocumentInserter::Compare, CompareDocument(), SfxAbstractDialogFactory::Create(), ScAbstractDialogFactory::Create(), Application::CreateMessageDialog(), ScAbstractDialogFactory::CreateScColRowLabelDlg(), ScAbstractDialogFactory::CreateScNewScenarioDlg(), SfxViewFrame::Current(), ScViewFunc::DeleteTable(), DoHardRecalc(), SfxObjectShell::DoLoad(), SfxRequest::Done(), DoRecalc(), EE_CHAR_LANGUAGE(), EE_CHAR_LANGUAGE_CJK(), EE_CHAR_LANGUAGE_CTL(), EE_TEXTPOS_ALL, ScRangeList::empty(), EnableSharedSettings(), ScDocument::EndChangeTracking(), SfxUndoManager::EnterListAction(), ERRCODE_BASIC_BAD_PARAMETER, ERRCODE_BASIC_NO_ACTIVE_OBJECT, ERRCODE_BASIC_NO_OBJECT, ERRCTX_SFX_OPENDOC, sfx2::SfxNotebookBar::ExecMethod(), VclAbstractDialog::Execute(), ScTabViewShell::Execute(), ExecuteChangeProtectionDialog(), SfxDispatcher::ExecuteList(), SfxBindings::ExecuteSynchron(), ScDBCollection::NamedDBs::findByUpperName(), ScRangeList::front(), ScChangeTrack::GetActionMax(), GetActiveDialogParent(), ScViewData::GetActivePart(), ScTabViewShell::GetActiveViewShell(), ScDocument::GetAddressConvention(), ScDBData::GetArea(), SfxRequest::GetArg(), SfxRequest::GetArgs(), ScDocument::GetAutoCalc(), GetBestViewShell(), ScDocument::GetChangeTrack(), ScDocument::GetChangeViewSettings(), ScGlobal::getCharClassPtr(), SvxColorListItem::GetColorList(), ScDocument::GetDBCollection(), GetDBData(), ScTabViewShell::GetDialogParent(), ScViewData::GetDispatcher(), ScDocument::GetDocOptions(), GetDocument(), EditView::GetEditEngine(), ScViewData::GetEditView(), ScModelObj::GetEmbeddedObject(), SfxObjectShell::getEmbeddedObjectContainer(), EditEngine::GetEmptyItemSet(), ScDocumentLoader::GetFilterName(), ScTabViewShell::GetFormShell(), SfxShell::GetFrame(), SfxViewShell::GetFrameWeld(), ScDBData::GetImportParam(), SfxShell::GetItem(), SfxItemSet::GetItemState(), ScDocument::GetLanguage(), SvtLanguageTable::GetLanguageType(), GetLinkUpdateModeState(), svt::DocumentLockFile::GetLockData(), SfxMedium::GetName(), ScDBData::GetName(), ScDBCollection::getNamedDBs(), SfxShell::GetPool(), ScDocument::GetScenarioData(), SvtLanguageOptions::GetScriptTypeOfLanguage(), EditView::GetSelection(), SfxObjectShell::GetSharedFileURL(), SfxRequest::GetSlot(), ScModule::GetSpellSettings(), ScDocument::GetTable(), ScDocument::GetTableCount(), ScViewData::GetTabNo(), GetUndoManager(), SfxBoolItem::GetValue(), CntUnencodedStringItem::GetValue(), SfxInt16Item::GetValue(), GetValue, ScViewData::GetView(), GetViewBindings(), ScTabView::GetViewData(), GetViewData(), SfxViewFrame::GetWindow(), 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(), ScDocument::IsBlockEditable(), SfxObjectShell::IsDocShared(), ScChangeTrack::IsProtected(), ScDocument::IsScenario(), ScShareDocumentDlg::IsShareDocumentChecked(), ScDBData::IsStripData(), ScDocument::IsTabProtected(), ScDocument::IsUndoEnabled(), Keep, LANGUAGE_DONTKNOW, LANGUAGE_NONE, SfxUndoManager::LeaveListAction(), ScDocument::LimitChartArea(), LINK, LM_ALWAYS, LM_NEVER, LM_ON_DEMAND, LoadSharedDocument(), m_aDocument, m_nCanUpdate, m_pImpl, ScTabView::MarkRange(), sfx2::DocumentInserter::Merge, MergeDocument(), mode, ModifyScenario(), ESelection::nEndPos, nPos, ESelection::nStartPos, nVersion, ScRangeList::Parse(), 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(), EditView::SetAttribs(), ScDocument::SetAutoCalc(), ScDocument::SetChangeViewSettings(), ScDocument::SetDocOptions(), SetDocumentModified(), SbxBase::SetError(), ScChangeViewSettings::SetHasActionRange(), ScDBData::SetImportParam(), ScDocument::SetLanguage(), SfxRequest::SetReturnValue(), EditView::SetSelection(), ScChangeViewSettings::SetShowAccepted(), ScChangeViewSettings::SetShowChanges(), ScDocument::SetString(), ScTabView::SetTabNo(), ScChangeViewSettings::SetTheActionRange(), comphelper::EmbeddedObjectContainer::setUserAllowsLinkUpdate(), FmFormShell::SetY2KState(), ScDocOptions::SetYear2000(), SfxGetpApp(), ScChangeViewSettings::ShowChanges(), SfxViewFrame::ShowChildWindow(), EditView::SpellIgnoreWord(), ScDocument::StartChangeTracking(), SfxObjectShell::SwitchToShared(), ScAddress::Tab(), UpdateAcceptChangesDialog(), ScDocument::UpdateChartArea(), ScDBDocFunc::UpdateImport(), ScTabView::UpdateLayerLocks(), ScInputHandler::UpdateSpellSettings(), VALID, ScDocument::ValidCol(), ScDocument::ValidRow(), ValidTab(), xModel, and ZERO.

void ScDocShell::ExecuteChangeCommentDialog ( ScChangeAction pAction,
weld::Window pParent,
bool  bPrevNext = true 
)
bool ScDocShell::ExecuteChangeProtectionDialog ( bool  bJustQueryIfProtected = false)
void ScDocShell::ExecutePageStyle ( const SfxViewShell rCaller,
SfxRequest rReq,
SCTAB  nCurTab 
)
void ScDocShell::FillClass ( SvGlobalName pClassName,
SotClipboardFormatId pFormat,
OUString *  pFullTypeName,
sal_Int32  nFileFormat,
bool  bTemplate = false 
) const
overridevirtual

Implements SfxObjectShell.

Definition at line 175 of file docsh.cxx.

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

weld::Window * ScDocShell::GetActiveDialogParent ( )
static
ScDBData * ScDocShell::GetAnonymousDBData ( const ScRange rRange)
OUString ScDocShell::GetAsciiFilterName ( )
static

Definition at line 2692 of file docsh.cxx.

References pFilterAscii.

Referenced by ScFilterOptionsObj::execute().

ScTabViewShell * ScDocShell::GetBestViewShell ( bool  bOnlyVisible = true)
ScChangeAction * ScDocShell::GetChangeAction ( const ScAddress rPos)
css::uno::Reference<css::datatransfer::XTransferable2> const& ScDocShell::GetClipData ( ) const
inline

Definition at line 220 of file docsh.hxx.

Referenced by ooo::vba::excel::implnPasteSpecial(), and ScVbaRange::Insert().

SCTAB ScDocShell::GetCurTab ( )
static
OUString ScDocShell::GetDBaseFilterName ( )
static

Definition at line 2702 of file docsh.cxx.

References pFilterDBase.

Referenced by ScFilterOptionsObj::execute().

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

(UNDO ???)

Definition at line 115 of file docsh5.cxx.

References SfxUndoManager::AddUndoAction(), ScRange::aEnd, assert(), ScRange::aStart, ScAddress::Col(), ScDocument::CompileHybridFormula(), DBAreaDeleted(), ScDBCollection::NamedDBs::findByUpperName(), ForceMark, ScDocument::GetAnonymousDBData(), ScDBData::GetArea(), ScGlobal::getCharClassPtr(), ScDocument::GetDataArea(), ScDocument::GetDBAtArea(), ScDocument::GetDBCollection(), ScDBCollection::GetDBNearCursor(), ScDBData::GetName(), ScDBCollection::getNamedDBs(), ScDBData::GetTab(), GetUndoManager(), ScDBData::HasAutoFilter(), ScDocument::HasColHeader(), ScDBData::HasHeader(), ScDBCollection::NamedDBs::insert(), m_aDocument, m_pOldAutoDBRange, nCount, pData, ScDocument::PreprocessDBDataUpdate(), ScAddress::Row(), RowDown, SC_DB_AUTOFILTER, SC_DB_IMPORT, SC_DB_MAKE, SC_DB_OLD, ScResId(), ScDocument::SetAnonymousDBData(), ScDBData::SetArea(), ScDBData::SetAutoFilter(), ScDBData::SetByRow(), ScDBData::SetHeader(), ScDBData::SetQueryParam(), ScDBData::SetSortParam(), ScDBData::SetSubTotalParam(), SfxGetpApp(), STR_DB_LOCAL_NONAME, ScAddress::Tab(), and void().

Referenced by ScCellRangeObj::applySubTotals(), ScCellRangeObj::createFilterDescriptor(), ScCellRangeObj::createImportDescriptor(), ScCellRangeObj::createSortDescriptor(), ScCellRangeObj::createSubTotalDescriptor(), ScCellRangeObj::doImport(), Execute(), ScCellRangeObj::filter(), ScDBFunc::GetDBData(), ScViewFunc::PasteDataFormat(), ScDBDocFunc::Query(), ScCellRangeObj::removeSubTotals(), and ScCellRangeObj::sort().

const OUString& ScDocShell::GetDdeTextFmt ( ) const
inline

Definition at line 367 of file docsh.hxx.

Referenced by ScServerObject::GetData().

OUString ScDocShell::GetDifFilterName ( )
static

Definition at line 2707 of file docsh.cxx.

References pFilterDif.

Referenced by ScFilterOptionsObj::execute().

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

Reimplemented from SfxObjectShell.

Definition at line 199 of file docsh.cxx.

ScDocFunc& ScDocShell::GetDocFunc ( )
inline

Definition at line 218 of file docsh.hxx.

Referenced by ScNamedRangesObj::addNewByName(), ScNamedRangesObj::addNewFromTitles(), ScTableSheetObj::addRanges(), ScVbaRange::AutoFill(), ScVbaRange::Autofit(), ScViewFunc::AutoFormat(), ScCellRangeObj::autoFormat(), ScViewFunc::ChangeIndent(), ScTableSheetObj::clearArrows(), ScCellRangesBase::clearContents(), ScViewFunc::ConvertFormulaToValue(), ScTableSheetsObj::copyByName(), ScTableSheetObj::copyRange(), ScViewFunc::CreateNames(), ScCellRangesBase::decrementIndent(), ScViewFunc::DeleteCells(), ScViewFunc::DeleteContents(), 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(), ScViewFunc::FillAuto(), ScCellRangeObj::fillAuto(), ScViewFunc::FillSeries(), ScCellRangeObj::fillSeries(), ScViewFunc::FillSimple(), oox::xls::Comment::finalizeImport(), ScRandomNumberGeneratorDialog::GenerateNumbers(), ScViewData::GetDocFunc(), ScTableSheetObj::hideDependents(), ScTableSheetObj::hidePrecedents(), ScCellRangesBase::incrementIndent(), ScCellObj::InputEnglishString(), ScViewFunc::InsertAreaLink(), ScAreaLinksObj::insertAtPosition(), ScTableColumnsObj::insertByIndex(), ScTableRowsObj::insertByIndex(), ScTableSheetsObj::insertByName(), ScViewFunc::InsertCells(), ScTableSheetObj::insertCells(), ScViewFunc::InsertCurrentTime(), ScViewFunc::InsertNameList(), ScAnnotationsObj::insertNew(), ScDrawPagesObj::insertNewByIndex(), ScTableSheetsObj::insertNewByName(), ScCellRangeObj::merge(), ScViewFunc::MergeCells(), MergeDocument(), ScNamedRangeObj::Modify_Impl(), ScAreaLinkObj::Modify_Impl(), ScPreview::MouseButtonUp(), ScGridWindow::MouseButtonUp(), ScViewFunc::MoveBlockTo(), ScTableSheetObj::moveRange(), ScCondFormatDlg::OkPressed(), ScNamedRangesObj::outputList(), ScViewFunc::PasteFromClip(), ScSamplingDialog::PerformPeriodicSampling(), ScSamplingDialog::PerformRandomSampling(), ScSamplingDialog::PerformRandomSamplingKeepOrder(), ScViewFunc::Protect(), ScModelObj::protect(), ScTableSheetObj::protect(), ScViewFunc::ProtectSheet(), ScUndoDragDrop::Redo(), ScModelObj::refreshArrows(), ScDrawPagesObj::remove(), ScTableColumnsObj::removeByIndex(), ScTableRowsObj::removeByIndex(), ScAnnotationsObj::removeByIndex(), ScNamedRangesObj::removeByName(), ScTableSheetsObj::removeByName(), ScScenariosObj::removeByName(), ScViewFunc::RemoveMerge(), ScTableSheetObj::removeRange(), ScTableSheetsObj::replaceByName(), ScViewFunc::ReplaceNote(), ScCellRangeObj::SetArrayFormula_Impl(), ScCellRangeObj::setArrayTokens(), ScVbaRange::setColumnWidth(), ScAccessibleCellBase::setCurrentValue(), SetDocumentModified(), ScVbaRange::setFormulaArray(), ScCellObj::setFormulaString(), ScTableSheetObj::setName(), ScViewFunc::SetNoteText(), ScCellRangesBase::SetOnePropertyValue(), ScTableSheetObj::SetOnePropertyValue(), ScTableColumnObj::SetOnePropertyValue(), ScTableRowObj::SetOnePropertyValue(), ScCellRangesBase::setPropertyToDefault(), ScTableColumnsObj::setPropertyValue(), ScTableRowsObj::setPropertyValue(), ScCellRangesBase::setPropertyValues(), ScCellRangesBase::setPropertyValuesTolerant(), ScVbaRange::setRowHeight(), ScCellObj::SetString_Impl(), ScCellRangeObj::setTableOperation(), ScCellObj::setTokens(), ScCellObj::SetValue_Impl(), ScTableSheetObj::showDependents(), ScTableSheetObj::showErrors(), ScTableSheetObj::showInvalid(), ScViewFunc::ShowNote(), ScTableSheetObj::showPrecedents(), ScDBDocFunc::Sort(), ScViewFunc::TabOp(), ScViewFunc::Unprotect(), ScModelObj::unprotect(), ScTableSheetObj::unprotect(), ScCellTextData::UpdateData(), AddressWalkerWriter::writeBoldString(), AddressWalkerWriter::writeFormula(), AddressWalkerWriter::writeFormulas(), AddressWalkerWriter::writeMatrixFormula(), AddressWalkerWriter::writeString(), and AddressWalkerWriter::writeValue().

void ScDocShell::GetDocStat ( ScDocStat rDocStat)
const ScDocument& ScDocShell::GetDocument ( ) const
inline

Definition at line 216 of file docsh.hxx.

Referenced by ScNamedRangesObj::addActionLock(), ScCellRangesBase::addChartDataChangeEventListener(), ScDBDocFunc::AddDBRange(), ScDDELinksObj::addDDELink(), ScCellRangesBase::addModifyListener(), ScLabelRangesObj::addNew(), ScNamedRangesObj::addNewByName(), ScScenariosObj::addNewByName(), ScTableSheetObj::addRanges(), ScVbaRange::Address(), ScViewFunc::AdjustBlockHeight(), ScBlockUndo::AdjustHeight(), ScViewFunc::AdjustRowHeight(), ScCellsEnumeration::Advance_Impl(), ScViewFunc::AppendTable(), ScTableSheetObj::apply(), ScHelperFunctions::ApplyBorder(), ScViewFunc::ApplySelectionPattern(), ScVbaRange::AutoFilter(), ScOutlineDocFunc::AutoOutline(), ScDBFuncUndo::BeginRedo(), ScBlockUndo::BeginUndo(), ScMultiBlockUndo::BeginUndo(), ScDBFuncUndo::BeginUndo(), ScMoveUndo::BeginUndo(), ScSimpleUndo::BroadcastChanges(), ScPreview::CalcPages(), ScVbaWorksheet::Cells(), ScUndoSelectionAttr::ChangeEditData(), ScViewFunc::ChangeIndent(), ScVbaTextBoxShape::characters(), sc::tools::ChartIterator::ChartIterator(), ScCellsEnumeration::CheckPos_Impl(), ScServerObject::Clear(), ScAreaLink::Closed(), ScCellCursorObj::collapseToCurrentArray(), ScCellCursorObj::collapseToCurrentRegion(), ScCellCursorObj::collapseToMergedArea(), ScCellCursorObj::collapseToSize(), ScCellRangesBase::computeFunction(), ScModule::ConfigurationChanged(), ScModelObj::consolidate(), ScTabViewShell::Construct(), ScPrintFunc::Construct(), ScTableSheetsObj::copyByName(), ScTpLayoutOptions::Create(), ScCondFormatsObj::createByRange(), ScSelectionTransferObj::CreateCellData(), ScModelObj::createConsolidationDescriptor(), ScTableSheetObj::createCursor(), ScCondFormatObj::createEntry(), ScCellRangeObj::createFilterDescriptorByObject(), ScModule::CreateItemSet(), ScCellRangesBase::CreateMemChart_Impl(), ScDBDocFunc::CreatePivotTable(), ScAreaLink::DataChanged(), ScDBDocFunc::DataPilotUpdate(), sc::DataStream::Decode(), ScDBDocFunc::DeleteDBRange(), ScViewFunc::DeleteMulti(), ScDBFunc::DeletePivotTable(), ScViewFunc::DeleteTable(), ScViewFunc::DeleteTables(), ScViewFunc::DetectiveMarkPred(), ScViewFunc::DoAutoAttributes(), ScUndoAllRangeNames::DoChange(), ScUndoModifyStyle::DoChange(), ScUndoCursorAttr::DoChange(), ScUndoInsertCells::DoChange(), ScUndoDeleteCells::DoChange(), ScUndoDeleteMulti::DoChange(), ScUndoRenameTab::DoChange(), ScUndoCut::DoChange(), ScUndoMoveTab::DoChange(), ScUndoPageBreak::DoChange(), ScUndoPrintZoom::DoChange(), ScUndoPaste::DoChange(), ScUndoTabColor::DoChange(), ScUndoThesaurus::DoChange(), ScUndoAutoFilter::DoChange(), ScUndoImportTab::DoChange(), ScUndoDeleteContents::DoChange(), ScUndoRemoveLink::DoChange(), ScUndoFillTable::DoChange(), ScUndoShowHideTab::DoChange(), ScUndoRangeNames::DoChange(), sc::UndoSetCells::DoChange(), ScUndoSelectionAttr::DoChange(), ScUndoPrintRange::DoChange(), ScUndoDataForm::DoChange(), ScUndoMerge::DoChange(), ScUndoLayoutRTL::DoChange(), ScUndoConversion::DoChange(), ScUndoRefConversion::DoChange(), ScUndoListNames::DoChange(), ScUndoConditionalFormat::DoChange(), ScUndoConditionalFormatList::DoChange(), ScUndoSelectionStyle::DoChange(), ScUndoUpdateAreaLink::DoChange(), ScDrawView::DoCopy(), ScTabControl::DoDrag(), ScPosWnd::DoEnter(), 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(), ScDrawShell::ExecDrawFunc(), ScTabViewShell::ExecDrawIns(), sc::UndoFormulaToValue::Execute(), sc::UndoSort::Execute(), ScPreviewShell::Execute(), ScModule::Execute(), Execute(), ScFormatShell::ExecuteStyle(), ScTabViewShell::ExecuteTable(), XclExpXmlStream::exportDocument(), ScViewFunc::FillAuto(), ScCellRangeObj::fillAuto(), ScPreviewShell::FillFieldData(), ScTabViewShell::FillFieldData(), ScModelObj::FillRenderMarkData(), ScViewFunc::FillSimple(), ScViewFunc::FillTab(), ScCellRangeObj::filter(), ScCellRangesBase::Find_Impl(), ScCellRangesBase::findAll(), ScRedComDialog::FindNext(), ScRedComDialog::FindPrev(), ScCellRangesBase::ForceChartListener_Impl(), ScInputHandler::FormulaPreview(), FuInsertChart::FuInsertChart(), ScAnnotationsObj::GetAddressByIndex_Impl(), sc::tools::getAllPivotChartsConntectedTo(), ScDBFunc::GetAnonymousDBData(), ScCellRangeObj::getArrayFormula(), ScCellRangeObj::getArrayTokens(), ScVbaWorksheet::getAutoFilterMode(), 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(), ScDataPilotTablesObj::getCount(), ScStyleFamilyObj::getCount(), ScSheetLinksObj::getCount(), ScAreaLinksObj::getCount(), ScLabelRangesObj::getCount(), ScDDELinksObj::getCount(), ScDrawPagesObj::getCount(), ScTableSheetsObj::getCount(), ScDatabaseRangesObj::getCount(), ScAnnotationsObj::getCount(), ScScenariosObj::getCount(), ScCellFormatsObj::getCount(), ScCellRangesBase::GetCurrentAttrsDeep(), ScCellRangesBase::GetCurrentAttrsFlat(), ScServerObject::GetData(), ScChartObj::GetData_Impl(), ScLabelRangeObj::GetData_Impl(), ScCellRangeObj::getDataArray(), ScDBFunc::GetDBData(), ScDatabaseRangeObj::GetDBData_Impl(), ScCellShell::GetDBState(), getDefaultCharWidth(), ScPrintFuncCache::GetDisplayStart(), ScDocumentLoader::GetDocument(), ScPreviewShell::GetDocument(), ScModelObj::GetDocument(), ScCellRangesBase::GetDocument(), ScViewData::GetDocument(), getDocumentFromRange(), ScModelObj::getDocumentSize(), ScGridWindow::GetEditUrl(), ScDataPilotTablesObj::getElementNames(), ScStyleFamilyObj::getElementNames(), ScSheetLinksObj::getElementNames(), ScDDELinksObj::getElementNames(), ScCellRangesObj::getElementNames(), ScTableSheetsObj::getElementNames(), ScDatabaseRangesObj::getElementNames(), ScScenariosObj::getElementNames(), ScVbaWorksheet::getEnableSelection(), ScCellObj::getError(), ScChartObj::getFastPropertyValue(), ScPreview::GetFirstPage(), ScModelObj::GetFormatter(), ScCellRangeObj::getFormulaArray(), ScInputHandler::GetFormulaData(), ScExternalRefManager::getInMemorySrcDocument(), ScCellRangeObj::getIsMerged(), ScTableSheetObj::getIsScenario(), ScCellRangesBase::GetLimitedChartRanges_Impl(), ScTableSheetObj::getLinkMode(), ScTableSheetObj::getLinkSheetName(), GetLinkUpdateModeState(), ScTableSheetObj::getLinkUrl(), ScPreview::GetLocationData(), ScTableSheetObj::getName(), ScUndoRenameObject::GetObject(), ScDataPilotTablesObj::GetObjectByIndex_Impl(), ScStyleFamilyObj::GetObjectByIndex_Impl(), ScSheetLinksObj::GetObjectByIndex_Impl(), ScGlobalNamedRangesObj::GetObjectByIndex_Impl(), ScLocalNamedRangesObj::GetObjectByIndex_Impl(), ScLabelRangesObj::GetObjectByIndex_Impl(), ScDDELinksObj::GetObjectByIndex_Impl(), ScDatabaseRangesObj::GetObjectByIndex_Impl(), ScCellFormatsObj::GetObjectByIndex_Impl(), ScStyleFamilyObj::GetObjectByName_Impl(), ScSheetLinksObj::GetObjectByName_Impl(), ScDDELinksObj::GetObjectByName_Impl(), ScTableSheetsObj::GetObjectByName_Impl(), ScTableColumnsObj::GetObjectByName_Impl(), ScCellRangesBase::GetOnePropertyState(), ScCellRangesBase::GetOnePropertyValue(), ScCellRangeObj::GetOnePropertyValue(), ScTableSheetObj::GetOnePropertyValue(), ScTableColumnObj::GetOnePropertyValue(), ScTableRowObj::GetOnePropertyValue(), ScViewFunc::GetOptimalColWidth(), ScPreview::GetOptimalZoom(), ScCellObj::GetOutputString_Impl(), ScPreviewShell::GetPageSize(), ScModelObj::getParts(), ScModelObj::getPostIts(), ScModelObj::getPostItsPos(), ScVbaWorkbook::getPrecisionAsDisplayed(), ScVbaPageSetup::getPrintArea(), ScTableSheetObj::getPrintAreas(), ScTableSheetObj::getPrintTitleColumns(), ScTableSheetObj::getPrintTitleRows(), ScDocDefaultsObj::getPropertyDefault(), ScCellRangesBase::getPropertyDefault(), ScDocumentConfiguration::getPropertyValue(), ScDocDefaultsObj::getPropertyValue(), ScAddressConversionObj::getPropertyValue(), ScModelObj::getPropertyValue(), ScTableColumnsObj::getPropertyValue(), ScTableRowsObj::getPropertyValue(), ScStyleObj::getPropertyValue_Impl(), ScVbaWorksheet::getProtectDrawingObjects(), ScCellRangesObj::getRangeAddressesAsString(), 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(), ScTabViewObj::getSelection(), ScTransferObj::GetSourceDocument(), ScContentTree::GetSourceDocument(), sc::DataStreamDlg::GetStartRange(), ScPivotShell::GetState(), ScPreviewShell::GetState(), ScModule::GetState(), GetState(), ScStyleObj::GetStyle_Impl(), ScNamedRangeObj::GetTab_Impl(), ScLocalNamedRangesObj::GetTab_Impl(), ScPrintFuncCache::GetTabForPage(), ScAccessibleCellTextData::GetTextForwarder(), ScAnnotationEditSource::GetTextForwarder(), ScAccessiblePreviewHeaderCellTextData::GetTextForwarder(), ScAccessibleNoteTextData::GetTextForwarder(), ScCellTextData::GetTextForwarder(), ScTableSheetObj::getTitleColumns(), ScTableSheetObj::getTitleRows(), ScNamedRangeObj::getTokens(), ScCellObj::getTokens(), ScModelObj::getTrackedChanges(), ScCellObj::getType(), ScCellObj::GetValue_Impl(), ScModelObj::getViewData(), ScCellCursorObj::gotoEnd(), ScCellCursorObj::gotoEndOfUsedArea(), ScCellCursorObj::gotoNext(), ScCellCursorObj::gotoOffset(), ScCellCursorObj::gotoPrevious(), ScCellCursorObj::gotoStart(), ScCellCursorObj::gotoStartOfUsedArea(), ScModelObj::HandleCalculateEvents(), ScDataPilotTablesObj::hasByName(), ScStyleFamilyObj::hasByName(), ScSheetLinksObj::hasByName(), ScDDELinksObj::hasByName(), ScTableSheetsObj::hasByName(), ScDatabaseRangesObj::hasByName(), ScTableColumnsObj::hasByName(), ScUnnamedDatabaseRangesObj::hasByTable(), ScModelObj::HasChangesListeners(), ScDBFunc::HideAutoFilter(), ScOutlineDocFunc::HideMarkedOutlines(), ScOutlineDocFunc::HideOutline(), ScViewFunc::HideTable(), IMPL_LINK(), IMPL_LINK_NOARG(), ScInputHandler::ImplCreateEditEngine(), ScTableSheetsObj::importSheet(), ScViewFunc::ImportTables(), sc::DataStreamDlg::Init(), ScSpellDialogChildWindow::Init(), ScUndoChartData::Init(), ScStyleObj::InitDoc(), ScMoveTableDlg::InitDocListBox(), ScTransferObj::InitDocShell(), ScDrawTransferObj::InitDocShell(), ScTextWnd::InitEditEngine(), oox::xls::WorkbookGlobals::initialize(), ScCellRangesBase::InitInsertRange(), ScTableSheetObj::InitInsertSheet(), ScPrintFuncCache::InitLocations(), ScInputHandler::InitRangeFinder(), ScCellObj::InputEnglishString(), ScTableColumnsObj::insertByIndex(), ScTableRowsObj::insertByIndex(), ScStyleFamilyObj::insertByName(), ScTableSheetsObj::insertByName(), ScViewFunc::InsertCurrentTime(), ScViewFunc::InsertName(), ScDrawPagesObj::insertNewByIndex(), ScViewFunc::InsertTableLink(), ScViewFunc::InsertTables(), ScNamedRangesObj::isActionLocked(), ScModelObj::isAutomaticCalculationEnabled(), ScModelObj::isProtected(), ScTableSheetObj::isProtected(), ScGridWindow::IsSpellErrorAtPos(), 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(), ScTableSheetObj::link(), ScExternalRefManager::loadSrcDocument(), LoadStylesArgs(), ScNamedRangesObj::lock(), ScServiceProvider::MakeInstance(), ScOutlineDocFunc::MakeOutline(), ScViewFunc::MarkAndJumpToRanges(), MaxDocRange(), ScViewFunc::MergeCells(), MergeSharedDocument(), ScNamedRangeObj::Modify_Impl(), ScAreaLinkObj::Modify_Impl(), ScLabelRangeObj::Modify_Impl(), ScDBDocFunc::ModifyAllDBData(), ScViewFunc::ModifyCellSize(), ScDBDocFunc::ModifyDBData(), ScModule::ModifyOptions(), ScPreview::MouseButtonUp(), ScPreview::MouseMove(), ScTabViewObj::MousePressed(), ScTabViewObj::MouseReleased(), ScViewFunc::MoveBlockTo(), ScTableSheetsObj::moveByName(), ScViewFunc::MoveTable(), ScPreviewShell::Notify(), ScModelObj::Notify(), ScCellRangesBase::Notify(), ScDataPilotTableObj::Notify(), ScCellsObj::Notify(), ScCellsEnumeration::Notify(), ScInputHandler::NotifyChange(), ScModelObj::NotifyChanges(), ScForbiddenCharsObj::onChange(), ScGridWindow::PagebreakMove(), ScUndoDragDrop::PaintArea(), ScUndoUtil::PaintMore(), ScFormulaParserObj::parseFormula(), ScAddressConversionObj::ParseUIString(), ScViewFunc::PasteDataFormat(), ScViewFunc::PasteRTF(), ScTableSheetObj::PrintAreaUndo_Impl(), ScFormulaParserObj::printFormula(), ScViewFunc::Protect(), ScModelObj::protect(), ScTableSheetObj::protect(), ScViewFunc::ProtectSheet(), ScDBFunc::Query(), ScDBDocFunc::Query(), ScCellRangesBase::queryContentCells(), ScCellRangesBase::queryDependents(), ScCellRangesBase::QueryDifferences_Impl(), ScCellRangesBase::queryEmptyCells(), ScCellRangesBase::queryFormulaCells(), ScCellRangesBase::queryPrecedents(), ScCellRangesBase::queryVisibleCells(), ScPreview::RecalcPages(), ScUndoInsertCells::Redo(), ScUndoAddRangeData::Redo(), ScUndoMakeOutline::Redo(), ScUndoApplyPageStyle::Redo(), ScUndoDeleteCells::Redo(), ScUndoEnterData::Redo(), ScUndoDeleteTab::Redo(), ScUndoDeleteMulti::Redo(), ScUndoEnterValue::Redo(), ScUndoCut::Redo(), ScUndoCopyTab::Redo(), ScUndoPaste::Redo(), ScUndoDragDrop::Redo(), ScUndoImportTab::Redo(), ScUndoDBData::Redo(), ScUndoShowHideNote::Redo(), ScUndoImportData::Redo(), ScUndoDetective::Redo(), ScUndoDataPilot::Redo(), ScUndoWidthOrHeight::Redo(), ScUndoChartData::Redo(), ScUndoAutoFill::Redo(), ScUndoScenarioFlags::Redo(), ScUndoDataForm::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(), ScCellRangesBase::RefChanged(), ScAreaLink::Refresh(), ScTableLink::Refresh(), ScDDELinkObj::refresh(), ScDataPilotTableObj::Refreshed_Impl(), ScDBDocFunc::RefreshPivotTableGroups(), ScDBDocFunc::RefreshPivotTables(), ScExternalRefManager::refreshSrcDocument(), ScRedComDialog::ReInit(), ScNamedRangesObj::removeActionLock(), ScTableSheetObj::removeAllManualPageBreaks(), ScOutlineDocFunc::RemoveAllOutlines(), ScAreaLinksObj::removeByIndex(), ScLabelRangesObj::removeByIndex(), ScTableColumnsObj::removeByIndex(), ScTableRowsObj::removeByIndex(), ScAnnotationsObj::removeByIndex(), ScStyleFamilyObj::removeByName(), ScCellRangesObj::removeByName(), ScTableSheetsObj::removeByName(), ScCellRangesBase::removeChartDataChangeEventListener(), ScViewFunc::RemoveManualBreaks(), ScOutlineDocFunc::RemoveOutline(), ScDBDocFunc::RemovePivotTable(), ScDBDocFunc::RenameDBRange(), XclExpXmlStream::renameTab(), ScModelObj::render(), ScUndoSelectionStyle::Repeat(), ScUndoEnterMatrix::Repeat(), ScDBDocFunc::RepeatDB(), ScCellRangesBase::replaceAll(), ScSheetEventsObj::replaceByName(), ScTableSheetsObj::replaceByName(), ScNamedRangesObj::resetActionLocks(), XclExpXmlStream::restoreTabNames(), ScAccessibleHeaderTextData::ScAccessibleHeaderTextData(), ScAccessibleNoteTextData::ScAccessibleNoteTextData(), ScAddressConversionObj::ScAddressConversionObj(), ScAnnotationEditSource::ScAnnotationEditSource(), ScAreaLink::ScAreaLink(), ScAreaLinkObj::ScAreaLinkObj(), ScAreaLinksObj::ScAreaLinksObj(), ScBlockUndo::ScBlockUndo(), ScCellFieldsObj::ScCellFieldsObj(), ScCellFormatsEnumeration::ScCellFormatsEnumeration(), ScCellFormatsObj::ScCellFormatsObj(), ScCellRangesBase::ScCellRangesBase(), 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(), ScViewData::ScViewData(), ScViewFunc::SearchAndReplace(), ScModelObj::seekGoal(), ScRedComDialog::SelectCell(), ScTabViewObj::SelectionChanged(), ScOutlineDocFunc::SelectLevel(), sc::DataStream::Set(), ScNamedRangesObj::setActionLocks(), ScStyleObj::setAllPropertiesToDefault(), ScCellRangeObj::setArrayTokens(), ScVbaWorksheet::setAutoFilterMode(), ScUnnamedDatabaseRangesObj::setByTable(), ScExternalSheetCacheObj::setCellValue(), SetChangeComment(), ScUndoInsertTab::SetChangeTrack(), ScUndoInsertCells::SetChangeTrack(), ScUndoInsertTables::SetChangeTrack(), ScUndoDeleteCells::SetChangeTrack(), ScUndoEnterData::SetChangeTrack(), ScUndoDeleteTab::SetChangeTrack(), ScUndoEnterValue::SetChangeTrack(), ScUndoDeleteMulti::SetChangeTrack(), ScUndoSetCell::SetChangeTrack(), ScUndoCut::SetChangeTrack(), ScUndoPaste::SetChangeTrack(), ScUndoThesaurus::SetChangeTrack(), ScUndoDragDrop::SetChangeTrack(), ScUndoDeleteContents::SetChangeTrack(), ScUndoFillTable::SetChangeTrack(), ScUndoAutoFill::SetChangeTrack(), ScUndoReplace::SetChangeTrack(), ScUndoConversion::SetChangeTrack(), ScUndoRefConversion::SetChangeTrack(), ScUndoEnterMatrix::SetChangeTrack(), ScCellRangesBase::setColumnDescriptions(), ScVbaName::setContent(), ScCellRangesBase::setData(), ScDocShellModificator::SetDocumentModified(), ScTabViewShell::SetDrawTextUndo(), ScVbaWorksheet::setEnableSelection(), ScTableSheetObj::setExternalName(), ScChartObj::setFastPropertyValue_NoBroadcast(), ScFilterDescriptorBase::setFilterFields(), ScFilterDescriptorBase::setFilterFields2(), ScFilterDescriptorBase::setFilterFields3(), ScCellRangeObj::setFormulaArray(), ScCellObj::setFormulaResult(), ScCellObj::setFormulaString(), ScStyleObj::setName(), ScCellRangesBase::SetOnePropertyValue(), ScTableSheetObj::SetOnePropertyValue(), ScTableRowObj::SetOnePropertyValue(), ScStyleObj::setParentStyle(), ScVbaWorkbook::setPrecisionAsDisplayed(), ScTableSheetObj::setPrintAreas(), ScViewFunc::SetPrintRanges(), ScTableSheetObj::setPrintTitleColumns(), ScTableSheetObj::setPrintTitleRows(), ScDocDefaultsObj::setPropertyToDefault(), ScDocumentConfiguration::setPropertyValue(), ScDocDefaultsObj::setPropertyValue(), ScFormulaParserObj::setPropertyValue(), ScConditionEntryObj::setPropertyValue(), ScDataPilotDescriptorBase::setPropertyValue(), ScModelObj::setPropertyValue(), ScDatabaseRangeObj::setPropertyValue(), ScTableRowsObj::setPropertyValue(), ScStyleObj::setPropertyValue_Impl(), ScCellRangesBase::setPropertyValues(), ScCellRangesBase::setPropertyValuesTolerant(), ScDDELinkObj::setResults(), ScCellRangesBase::setRowDescriptions(), ScTableSheetObj::setScenarioComment(), ScVbaApplication::setScreenUpdating(), ScDataPilotDescriptorBase::setSourceRange(), ScViewFunc::SetStyleSheetToMarked(), ScTableSheetObj::setTitleColumns(), ScTableSheetObj::setTitleRows(), ScNamedRangeObj::setTokens(), ScCellObj::setTokens(), ooo::vba::excel::setUpDocumentModules(), ScUndoSetCell::SetValue(), ScViewFunc::SetWidthOrHeight(), ScInputHandler::ShowArgumentsTip(), ScOutlineDocFunc::ShowMarkedOutlines(), ScOutlineDocFunc::ShowOutline(), ScViewFunc::ShowTable(), ScDBDocFunc::Sort(), ScInputHandler::StartTable(), TestImportXLS(), ScPreview::TestLastPage(), TransferTab(), ScDBFunc::UISort(), ScUndoDoOutline::Undo(), ScUndoInsertTab::Undo(), ScUndoInsertCells::Undo(), ScUndoAddRangeData::Undo(), ScUndoInsertTables::Undo(), ScUndoMakeOutline::Undo(), ScUndoApplyPageStyle::Undo(), ScUndoDeleteCells::Undo(), ScUndoEnterData::Undo(), ScUndoOutlineLevel::Undo(), ScUndoDeleteTab::Undo(), ScUndoDeleteMulti::Undo(), ScUndoEnterValue::Undo(), ScUndoOutlineBlock::Undo(), ScUndoSetCell::Undo(), ScUndoRemoveAllOutlines::Undo(), ScUndoAutoOutline::Undo(), ScUndoCopyTab::Undo(), ScUndoSubTotals::Undo(), ScUndoThesaurus::Undo(), ScUndoQuery::Undo(), ScUndoDragDrop::Undo(), ScUndoMakeScenario::Undo(), ScUndoReplaceNote::Undo(), ScUndoImportTab::Undo(), ScUndoDBData::Undo(), ScUndoShowHideNote::Undo(), ScUndoImportData::Undo(), ScUndoDetective::Undo(), ScUndoRepeatDB::Undo(), ScUndoDataPilot::Undo(), ScUndoConsolidate::Undo(), ScUndoWidthOrHeight::Undo(), ScUndoChartData::Undo(), ScUndoAutoFill::Undo(), ScUndoScenarioFlags::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(), ScMoveUndo::UndoRef(), ScNamedRangesObj::unlock(), ScViewFunc::Unprotect(), ScChartObj::Update_Impl(), ScInputHandler::UpdateAdjust(), ScPreview::UpdateDrawView(), ScDBDocFunc::UpdateImport(), ScTabView::UpdatePageBreakData(), ScDBDocFunc::UpdatePivotTable(), ScLinkedAreaDlg::UpdateSourceRanges(), XclExpXmlStream::validateTabNames(), ScVbaApplication::Volatile(), ScAccessibleHeaderTextData::~ScAccessibleHeaderTextData(), ScAccessibleNoteTextData::~ScAccessibleNoteTextData(), ScAddressConversionObj::~ScAddressConversionObj(), ScAnnotationEditSource::~ScAnnotationEditSource(), ScAnnotationsObj::~ScAnnotationsObj(), ScAreaLinkObj::~ScAreaLinkObj(), ScAreaLinksObj::~ScAreaLinksObj(), ScCellFieldsObj::~ScCellFieldsObj(), ScCellFormatsEnumeration::~ScCellFormatsEnumeration(), ScCellFormatsObj::~ScCellFormatsObj(), ScCellRangesBase::~ScCellRangesBase(), ScCellsEnumeration::~ScCellsEnumeration(), ScCellsObj::~ScCellsObj(), ScCellTextData::~ScCellTextData(), ScChartObj::~ScChartObj(), 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(), ScSheetLinksObj::~ScSheetLinksObj(), ScStyleFamiliesObj::~ScStyleFamiliesObj(), ScStyleFamilyObj::~ScStyleFamilyObj(), ScStyleObj::~ScStyleObj(), ScTableColumnsObj::~ScTableColumnsObj(), ScTableRowsObj::~ScTableRowsObj(), ScTableSheetsObj::~ScTableSheetsObj(), ScUndoCursorAttr::~ScUndoCursorAttr(), ScUndoSelectionAttr::~ScUndoSelectionAttr(), ScUniqueCellFormatsEnumeration::~ScUniqueCellFormatsEnumeration(), ScUniqueCellFormatsObj::~ScUniqueCellFormatsObj(), and ScUnnamedDatabaseRangesObj::~ScUnnamedDatabaseRangesObj().

ScDocument& ScDocShell::GetDocument ( )
inline

Definition at line 217 of file docsh.hxx.

Printer * ScDocShell::GetDocumentPrinter ( )
overridevirtual

Reimplemented from SfxObjectShell.

Definition at line 445 of file docsh3.cxx.

References ScDocument::GetPrinter(), and m_aDocument.

ScFormatSaveData * ScDocShell::GetFormatSaveData ( )

Definition at line 2971 of file docsh.cxx.

References m_pFormatSaveData.

Referenced by ScModelObj::GetFormatSaveData().

HiddenInformation ScDocShell::GetHiddenInformationState ( HiddenInformation  nStates)
overridevirtual

Reimplemented from SfxObjectShell.

Definition at line 223 of file docsh.cxx.

References SfxObjectShell::GetHiddenInformationState(), and nState.

OUString ScDocShell::GetHtmlFilterName ( )
static

Definition at line 2682 of file docsh.cxx.

References pFilterHtml.

Referenced by ScFilterOptionsObj::execute().

ScLkUpdMode ScDocShell::GetLinkUpdateModeState ( ) const
sal_uInt16 ScDocShell::GetLockCount ( ) const
inline

Definition at line 333 of file docsh.hxx.

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

OUString ScDocShell::GetLotusFilterName ( )
static

Definition at line 2697 of file docsh.cxx.

References pFilterLotus.

Referenced by ScFilterOptionsObj::execute().

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

Definition at line 364 of file docsh5.cxx.

References m_pOldAutoDBRange.

Referenced by ScDBFuncUndo::ScDBFuncUndo().

double ScDocShell::GetOutputFactor ( ) const
inline
OUString ScDocShell::GetOwnFilterName ( )
static

Definition at line 2677 of file docsh.cxx.

References pFilterSc50.

Referenced by ScDocumentLoader::GetFilterName().

void ScDocShell::GetPageOnFromPageStyleSet ( const SfxItemSet pStyleSet,
SCTAB  nCurTab,
bool &  rbHeader,
bool &  rbFooter 
)
SfxPrinter * ScDocShell::GetPrinter ( bool  bCreateIfNotExist = true)
bool ScDocShell::GetProtectionHash ( css::uno::Sequence< sal_Int8 > &  rPasswordHash)
overridevirtual
OutputDevice * ScDocShell::GetRefDevice ( )
SCTAB ScDocShell::GetSaveTab ( )
private

Definition at line 211 of file docsh.cxx.

References ScMarkData::GetFirstSelected(), ScViewData::GetMarkData(), and ScTabView::GetViewData().

Referenced by AsciiSave().

ScSheetSaveData * ScDocShell::GetSheetSaveData ( )

Definition at line 2963 of file docsh.cxx.

References m_pSheetSaveData.

Referenced by ScModelObj::GetSheetSaveData().

ScDocShell * ScDocShell::GetShellByNum ( sal_uInt16  nDocNo)
static
const ScOptSolverSave* ScDocShell::GetSolverSaveData ( ) const
inline

Definition at line 409 of file docsh.hxx.

Referenced by ScOptSolverDlg::Init().

void ScDocShell::GetState ( SfxItemSet rSet)
void ScDocShell::GetStatePageStyle ( SfxItemSet rSet,
SCTAB  nCurTab 
)
SfxStyleSheetBasePool * ScDocShell::GetStyleSheetPool ( )
overridevirtual

Reimplemented from SfxObjectShell.

Definition at line 196 of file docsh6.cxx.

References ScDocument::GetStyleSheetPool(), and m_aDocument.

Referenced by LoadStyles(), and LoadStylesArgs().

SfxUndoManager * ScDocShell::GetUndoManager ( )
overridevirtual

Reimplemented from SfxShell.

Definition at line 2805 of file docsh.cxx.

References ScDocument::GetUndoManager(), and m_aDocument.

Referenced by ScDBDocFunc::AddDBRange(), ScNameDefDlg::AddPushed(), ScViewFunc::AppendTable(), ScHelperFunctions::ApplyBorder(), ScViewFunc::ApplyPatternLines(), ScViewFunc::ApplySelectionPattern(), ScOutlineDocFunc::AutoOutline(), ScStatisticsTwoVariableDialog::CalculateInputAndWriteToOutput(), ScStatisticsInputOutputDialog::CalculateInputAndWriteToOutput(), ScAreaLink::Closed(), ScTabViewShell::Construct(), ScDBDocFunc::CreatePivotTable(), ScViewFunc::CutToClip(), ScViewFunc::DataFormPutData(), ScDBDocFunc::DataPilotUpdate(), ScDBDocFunc::DeleteDBRange(), ScDrawView::DeleteMarked(), ScViewFunc::DeleteMulti(), DoConsolidate(), ScViewFunc::DoRefConversion(), ScViewFunc::DoSheetConversion(), ScDBFunc::DoSubTotals(), ScDBDocFunc::DoSubTotals(), ScGridWindow::DropTransferObj(), ScImportExport::EndPaste(), ScViewFunc::EnterData(), ScViewFunc::EnterValue(), ScDrawShell::ExecDrawFunc(), Execute(), ScCellShell::ExecuteDB(), ScCellShell::ExecuteEdit(), ExecutePageStyle(), ScFormatShell::ExecuteStyle(), ScTabViewShell::ExecuteTable(), ScViewFunc::FillTab(), ScDrawView::FitToCellSize(), FuInsertChart::FuInsertChart(), ScRandomNumberGeneratorDialog::GenerateNumbers(), GetDBData(), ScDBFunc::HideAutoFilter(), ScOutlineDocFunc::HideMarkedOutlines(), ScOutlineDocFunc::HideOutline(), ScViewFunc::HideTable(), IMPL_LINK(), IMPL_LINK_NOARG(), ScViewFunc::ImportTables(), ScViewFunc::InsertCurrentTime(), ScViewFunc::InsertTables(), lcl_PutDataArray(), lcl_PutFormulaArray(), ScOutlineDocFunc::MakeOutline(), ScDBFunc::MakePivotTable(), MakeScenario(), ScDBDocFunc::ModifyAllDBData(), ScDBDocFunc::ModifyDBData(), ModifyScenario(), ScPreview::MouseButtonUp(), ScGridWindow::MouseButtonUp(), ScViewFunc::MoveBlockTo(), ScViewFunc::MoveTable(), MoveTable(), ScGridWindow::PagebreakMove(), ScViewFunc::PasteFromClip(), ScViewFunc::PasteFromClipToMultiRanges(), ScViewFunc::PasteMultiRangesFromClip(), ScViewFunc::PasteRTF(), ScSamplingDialog::PerformSampling(), ScTableSheetObj::PrintAreaUndo_Impl(), ScViewFunc::Protect(), ScViewFunc::ProtectSheet(), ScDBDocFunc::Query(), ScAreaLink::Refresh(), ScTableSheetObj::removeAllManualPageBreaks(), ScOutlineDocFunc::RemoveAllOutlines(), ScViewFunc::RemoveManualBreaks(), ScOutlineDocFunc::RemoveOutline(), ScDBDocFunc::RemovePivotTable(), ScDBDocFunc::RenameDBRange(), ScDBDocFunc::RepeatDB(), ScCellRangesBase::replaceAll(), ScSpellDialogChildWindow::Reset(), ScOutlineDocFunc::SelectLevel(), ScTabViewShell::SetDrawTextUndo(), ScDrawView::SetMarkedOriginalSize(), ScViewFunc::SetPrintRanges(), SetPrintZoom(), ScModelObj::setPropertyValue(), ScViewFunc::SetStyleSheetToMarked(), ScViewFunc::SetWidthOrHeight(), ScOutlineDocFunc::ShowMarkedOutlines(), ScOutlineDocFunc::ShowOutline(), ScViewFunc::ShowTable(), ScDBDocFunc::Sort(), FuText::StopEditMode(), ScDBFunc::ToggleAutoFilter(), ScViewFunc::Unprotect(), ScChartObj::Update_Impl(), ScDBDocFunc::UpdatePivotTable(), and UseScenario().

SfxBindings * ScDocShell::GetViewBindings ( )
ScViewData * ScDocShell::GetViewData ( )
static
tools::Rectangle ScDocShell::GetVisArea ( sal_uInt16  nAspect) const
overridevirtual
OUString ScDocShell::GetWebQueryFilterName ( )
static

Definition at line 2687 of file docsh.cxx.

References pFilterHtmlWebQ.

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

bool ScDocShell::HasAutomaticTableName ( const OUString &  rFilter)
static
bool ScDocShell::HasChangeRecordProtection ( ) const
overridevirtual
void ScDocShell::InitInterface_Impl ( )
staticprivate

SfxInterface initializer.

Definition at line 167 of file docsh.cxx.

void ScDocShell::InitItems ( )
private
bool ScDocShell::InitNew ( const css::uno::Reference< css::embed::XStorage > &  )
overridevirtual
void ScDocShell::InitOptions ( bool  bForLoading)
private
bool ScDocShell::IsChangeRecording ( ) const
overridevirtual

Reimplemented from SfxObjectShell.

Definition at line 3178 of file docsh.cxx.

References ScDocument::GetChangeTrack(), and m_aDocument.

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

bool ScDocShell::IsDocument ( const INetURLObject rURL)
staticprivate
bool ScDocShell::IsDocumentModifiedPending ( ) const
inline

Definition at line 375 of file docsh.hxx.

Referenced by ScDocShellModificator::~ScDocShellModificator().

bool ScDocShell::IsEditable ( ) const
bool ScDocShell::IsEmpty ( ) const
inline

Definition at line 345 of file docsh.hxx.

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

bool ScDocShell::IsInUndo ( ) const
inline

Definition at line 348 of file docsh.hxx.

Referenced by SetDocumentModified().

bool ScDocShell::IsOle ( ) const

Definition at line 147 of file docsh6.cxx.

References SfxObjectShell::GetCreateMode().

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

bool ScDocShell::IsPaintLocked ( ) const
inline

Definition at line 320 of file docsh.hxx.

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

bool ScDocShell::IsUpdateEnabled ( ) const
inline

Definition at line 378 of file docsh.hxx.

Referenced by ScTabViewShell::Construct().

bool ScDocShell::KillFile ( const INetURLObject rURL)
staticprivate
bool ScDocShell::Load ( SfxMedium rMedium)
overridevirtual
bool ScDocShell::LoadExternal ( SfxMedium rMedium)
overridevirtual
bool ScDocShell::LoadFrom ( SfxMedium rMedium)
overridevirtual

Reimplemented from SfxObjectShell.

Definition at line 1081 of file docsh.cxx.

References SfxMedium::GetItemSet(), CntUInt16Item::GetValue(), and SfxObjectShell::LoadFrom().

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

Referenced by Execute().

void ScDocShell::LoadStyles ( SfxObjectShell rSource)
overridevirtual
void ScDocShell::LoadStylesArgs ( ScDocShell rSource,
bool  bReplace,
bool  bCellStyles,
bool  bPageStyles 
)
bool ScDocShell::LoadXML ( SfxMedium pMedium,
const css::uno::Reference< css::embed::XStorage > &  xStor 
)
private
void ScDocShell::LockDocument ( )

Definition at line 325 of file docsh3.cxx.

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

Referenced by ScModelObj::addActionLock().

void ScDocShell::LockDocument_Impl ( sal_uInt16  nNew)
private

Definition at line 276 of file docsh3.cxx.

References ScDocument::GetDrawLayer(), m_aDocument, m_nDocumentLock, and SdrModel::setLock().

Referenced by LockDocument(), and SetLockCount().

void ScDocShell::LockPaint ( )

Definition at line 315 of file docsh3.cxx.

References LockPaint_Impl().

Referenced by ScTabViewShell::ExecuteUndo(), ScModelObj::lockControllers(), and MergeDocument().

void ScDocShell::LockPaint_Impl ( bool  bDoc)
private

Definition at line 232 of file docsh3.cxx.

References m_pPaintLockData.

Referenced by LockDocument(), and LockPaint().

void ScDocShell::LOKCommentNotify ( LOKCommentNotificationType  nType,
const ScDocument pDocument,
const ScAddress rPos,
const ScPostIt pNote 
)
static
ScDrawLayer * ScDocShell::MakeDrawLayer ( )
SCTAB ScDocShell::MakeScenario ( SCTAB  nTab,
const OUString &  rName,
const OUString &  rComment,
const Color rColor,
ScScenarioFlags  nFlags,
ScMarkData rMark,
bool  bRecord = true 
)
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 769 of file docsh3.cxx.

References ScRange::aEnd, aName, ScChangeTrack::AppendDeleteRange(), ScChangeTrack::AppendInsert(), ScChangeTrack::AppendMove(), ScRange::aStart, CELLTYPE_FORMULA, ScChangeTrack::Clear(), ScAddress::Col(), Cols, ScDocument::CreateValidTabName(), ScDocFunc::DeleteCells(), ScDocFunc::DeleteTable(), EMPTY_OUSTRING, ScViewFunc::EnterData(), ScDocFunc::EnterMatrix(), eType, Formula, ScChangeTrack::GetAction(), ScChangeTrack::GetActionMax(), ScChangeAction::GetActionNumber(), GetBestViewShell(), ScChangeAction::GetBigRange(), ScDocument::GetChangeTrack(), ScChangeAction::GetComment(), ScChangeAction::GetDateTimeUTC(), GetDocFunc(), ScChangeTrack::GetFirst(), ScChangeActionMove::GetFromRange(), ScChangeTrack::GetLast(), ScViewData::GetMarkData(), ScFormulaCell::GetMatColsRows(), ScFormulaCell::GetMatrixFlag(), ScChangeAction::GetNext(), ScChangeActionDel::GetOverAllRange(), ScChangeAction::GetRejectAction(), ScChangeAction::GetState(), 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_aDocument, ScBigRange::MakeRange(), ScChangeTrack::MergeActionState(), ScChangeTrack::MergeIgnore(), ScChangeTrack::MergeOwn(), ScChangeTrack::MergePrepare(), ScCellValue::meType, ScDocFunc::MoveBlock(), ScCellValue::mpFormula, 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(), ScDocument::SetChangeViewSettings(), ScAddress::SetCol(), ScChangeAction::SetComment(), ScChangeTrack::SetFixDateTimeUTC(), ScAddress::SetRow(), ScChangeViewSettings::SetShowChanges(), ScProgress::SetStateCountDown(), ScChangeTrack::SetUseFixDateTime(), ScChangeTrack::SetUser(), ScDocument::StartChangeTracking(), ScAddress::Tab(), UnlockPaint(), and void().

Referenced by Execute(), and MergeSharedDocument().

bool ScDocShell::MergeSharedDocument ( ScDocShell pSharedDocShell)
void ScDocShell::ModifyScenario ( SCTAB  nTab,
const OUString &  rName,
const OUString &  rComment,
const Color rColor,
ScScenarioFlags  nFlags 
)
bool ScDocShell::MoveFile ( const INetURLObject rSource,
const INetURLObject rDest 
)
staticprivate
bool ScDocShell::MoveTable ( SCTAB  nSrcTab,
SCTAB  nDestTab,
bool  bCopy,
bool  bRecord 
)
void ScDocShell::Notify ( SfxBroadcaster rBC,
const SfxHint rHint 
)
overrideprivatevirtual
void ScDocShell::NotifyStyle ( const SfxStyleSheetHint rHint)
void ScDocShell::PageStyleModified ( const OUString &  rStyleName,
bool  bApi 
)
void ScDocShell::PostDataChanged ( )
void ScDocShell::PostEditView ( ScEditEngineDefaulter pEditEngine,
const ScAddress rCursorPos 
)
void ScDocShell::PostPaint ( SCCOL  nStartCol,
SCROW  nStartRow,
SCTAB  nStartTab,
SCCOL  nEndCol,
SCROW  nEndRow,
SCTAB  nEndTab,
PaintPartFlags  nPart,
sal_uInt16  nExtFlags = 0 
)

Definition at line 99 of file docsh3.cxx.

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

void ScDocShell::PostPaint ( const ScRangeList rRanges,
PaintPartFlags  nPart,
sal_uInt16  nExtFlags = 0 
)
void ScDocShell::PostPaintCell ( SCCOL  nCol,
SCROW  nRow,
SCTAB  nTab 
)
void ScDocShell::PostPaintCell ( const ScAddress rPos)

Definition at line 191 of file docsh3.cxx.

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

void ScDocShell::PostPaintExtras ( )
void ScDocShell::PostPaintGridAll ( )
bool ScDocShell::PrepareClose ( bool  bUI = true)
overridevirtual
bool ScDocShell::QuerySlotExecutable ( sal_uInt16  nSlotId)
overridevirtual

Reimplemented from SfxObjectShell.

Definition at line 2586 of file docsh.cxx.

References ScDocument::GetVbaEventProcessor(), and m_aDocument.

void ScDocShell::ReconnectDdeLink ( SfxObjectShell rServer)
overridevirtual

Reimplemented from SfxObjectShell.

Definition at line 312 of file docsh6.cxx.

References ScDocument::GetLinkManager(), m_aDocument, and sfx2::LinkManager::ReconnectDdeLink().

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

Definition at line 3266 of file docsh.cxx.

References mxAutomationWorkbookObject.

Referenced by ScVbaWorkbook::init().

void ScDocShell::ReloadAllLinks ( )
void ScDocShell::ReloadTabLinks ( )
void ScDocShell::ResetDrawObjectShell ( )
private

Definition at line 159 of file docsh2.cxx.

References FmFormModel::SetObjectShell().

Referenced by ~ScDocShell().

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

Definition at line 2998 of file docsh.cxx.

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

Referenced by ScModule::ModifyOptions().

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

Definition at line 548 of file docsh.cxx.

References ScXMLImportWrapper::Export().

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

void ScDocShell::SetAreasChangedNeedBroadcast ( )
inline

Definition at line 383 of file docsh.hxx.

Referenced by ScDocument::CopyAdjustRangeName(), and ScTable::UndoToTable().

void ScDocShell::SetChangeComment ( ScChangeAction pAction,
const OUString &  rComment 
)
void ScDocShell::SetChangeRecording ( bool  bActivate)
overridevirtual
void ScDocShell::SetClipData ( const css::uno::Reference< css::datatransfer::XTransferable2 > &  xTransferable)
inline

Definition at line 221 of file docsh.hxx.

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

void ScDocShell::SetDocumentModified ( )

Definition at line 2819 of file docsh.cxx.

References BCA_BRDCST_ALWAYS, ScDocument::Broadcast(), ScDocument::BroadcastUno(), ScDocument::CalcFormulaTree(), ScDetOpList::Count(), ScDocFunc::DetectiveRefresh(), ScDocument::GetAutoCalc(), ScDocument::GetDetOpList(), GetDocFunc(), ScDetOpList::HasAddError(), ScDocument::InvalidateLastTableOpParams(), ScDocument::InvalidateStyleSheetUsage(), ScDocument::InvalidateTableArea(), ScDocument::IsAutoCalcShellDisabled(), ScDocument::IsDetectiveDirty(), ScDocument::IsForcedFormulaPending(), IsInUndo(), m_aDocument, m_bAreasChangedNeedBroadcast, m_pPaintLockData, PostDataChanged(), ScDocument::RefreshDirtyTableColumnNames(), SC_MOD, ScDocument::SetDetectiveDirty(), SetDocumentModifiedPending(), SetDrawModified(), and SfxGetpApp().

Referenced by ScLabelRangesObj::addNew(), ScNameDefDlg::AddPushed(), ScViewFunc::AppendTable(), ScHelperFunctions::ApplyBorder(), ScOutlineDocFunc::AutoOutline(), CompareDocument(), ScViewFunc::DeleteTables(), ScUndoShowHideTab::DoChange(), ScUndoLayoutRTL::DoChange(), ScViewFunc::DoRefConversion(), ScViewFunc::DoSheetConversion(), ScViewFunc::DoThesaurus(), ScModelObj::enableAutomaticCalculation(), ScImportExport::EndPaste(), ScSimpleUndo::EndRedo(), ScSimpleUndo::EndUndo(), ScModule::Execute(), Execute(), ExecutePageStyle(), ScFormatShell::ExecuteStyle(), ScTabView::FreezeSplitters(), ScOutlineDocFunc::HideMarkedOutlines(), ScOutlineDocFunc::HideOutline(), ScViewFunc::HideTable(), IMPL_LINK(), IMPL_LINK_NOARG(), ScViewFunc::ImportTables(), 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(), ScCellRangesBase::replaceAll(), ScSheetEventsObj::replaceByName(), ScSpellDialogChildWindow::Reset(), ScViewFunc::SearchAndReplace(), ScOutlineDocFunc::SelectLevel(), ScStyleObj::setAllPropertiesToDefault(), SetChangeComment(), ScCellRangesBase::setColumnDescriptions(), ScCellRangesBase::setData(), ScDocShellModificator::SetDocumentModified(), ScDataPilotTableObj::setName(), ScCellRangesBase::SetOnePropertyValue(), ScTableSheetObj::SetOnePropertyValue(), ScStyleObj::setParentStyle(), ScViewFunc::SetPrintRanges(), ScDocumentConfiguration::setPropertyValue(), ScTabViewObj::setPropertyValue(), ScModelObj::setPropertyValue(), ScStyleObj::setPropertyValue_Impl(), SetProtectionPassword(), ScCellRangesBase::setRowDescriptions(), ScViewFunc::SetSelectionFrameLines(), ScDataPilotTableObj::setTag(), ScOutlineDocFunc::ShowMarkedOutlines(), ScOutlineDocFunc::ShowOutline(), ScViewFunc::ShowTable(), UnlockPaint_Impl(), ScTabView::UpdateRef(), and ScDocShellModificator::~ScDocShellModificator().

void ScDocShell::SetDocumentModifiedPending ( bool  bVal)
inline

Definition at line 373 of file docsh.hxx.

Referenced by SetDocumentModified().

void ScDocShell::SetDrawModified ( )
void ScDocShell::SetEmpty ( bool  bSet)
void ScDocShell::SetFormulaOptions ( const ScFormulaOptions rOpt,
bool  bForLoading = false 
)
void ScDocShell::SetInplace ( bool  bInplace)

Definition at line 344 of file docsh3.cxx.

References CalcOutputFactor(), and m_bIsInplace.

Referenced by ScTabViewShell::Construct().

void ScDocShell::SetInUndo ( bool  bSet)
void ScDocShell::SetIsInUcalc ( )

Definition at line 3261 of file docsh.cxx.

References m_bUcalcTest.

void ScDocShell::SetLockCount ( sal_uInt16  nNew)
void ScDocShell::SetModified ( bool  bModified = true)
overridevirtual
sal_uInt16 ScDocShell::SetPrinter ( VclPtr< SfxPrinter > const &  pNewPrinter,
SfxPrinterChangeFlags  nDiffFlags = SFX_PRINTER_ALL 
)
void ScDocShell::SetPrintZoom ( SCTAB  nTab,
sal_uInt16  nScale,
sal_uInt16  nPages 
)
void ScDocShell::SetProtectionPassword ( const OUString &  rPassword)
overridevirtual
void ScDocShell::SetSolverSaveData ( std::unique_ptr< ScOptSolverSave pData)

Definition at line 2958 of file docsh.cxx.

References m_pSolverSaveData.

void ScDocShell::SetUpdateEnabled ( bool  bValue)
inline

Definition at line 380 of file docsh.hxx.

Referenced by ScTabViewShell::Construct().

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

Reimplemented from SfxObjectShell.

Definition at line 57 of file docsh6.cxx.

References SetVisAreaOrSize().

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

void ScDocShell::SetVisAreaOrSize ( const tools::Rectangle rVisArea)
ScDocShell::SFX_DECL_OBJECTFACTORY ( )
void ScDocShell::SnapVisArea ( tools::Rectangle rRect) const
void ScDocShell::TerminateEditing ( )
overridevirtual

Reimplemented from SfxObjectShell.

Definition at line 1766 of file docsh.cxx.

References SC_MOD.

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

Definition at line 331 of file docsh3.cxx.

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

Referenced by ScModelObj::removeActionLock().

void ScDocShell::UnlockDocument_Impl ( sal_uInt16  nNew)
private

Definition at line 287 of file docsh3.cxx.

References ScDocument::GetDrawLayer(), m_aDocument, m_nDocumentLock, and SdrModel::setLock().

Referenced by SetLockCount(), and UnlockDocument().

void ScDocShell::UnlockPaint ( )
void ScDocShell::UnlockPaint_Impl ( bool  bDoc)
private
void ScDocShell::UpdateAllRowHeights ( const ScMarkData pTabMark = nullptr)
void ScDocShell::UpdateFontList ( )
void ScDocShell::UpdateLinks ( )
overridevirtual
void ScDocShell::UpdateOle ( const ScViewData pViewData,
bool  bSnapSize = false 
)

Definition at line 152 of file docsh6.cxx.

References SfxObjectShell::GetCreateMode(), ScDocument::GetEmbeddedRect(), ScDocument::GetMMRect(), ScDocument::GetPosLeft(), ScDocument::GetPosTop(), ScViewData::GetPosX(), ScViewData::GetPosY(), ScViewData::GetTabNo(), SfxObjectShell::GetVisArea(), ScDocument::GetVisibleTab(), ScDocument::IsEmbedded(), ScDocument::IsNegativePage(), lcl_SetTopRight(), m_aDocument, SC_SPLIT_BOTTOM, SC_SPLIT_LEFT, tools::Rectangle::SetPos(), ScDocument::SetPosLeft(), ScDocument::SetPosTop(), SetVisAreaOrSize(), ScDocument::SetVisibleTab(), SnapVisArea(), tools::Rectangle::TopLeft(), and tools::Rectangle::TopRight().

Referenced by ScViewFunc::AdjustBlockHeight(), ScViewFunc::ApplyPatternLines(), ScViewFunc::ApplySelectionPattern(), ScViewFunc::AutoFormat(), ScViewFunc::ChangeIndent(), ScViewFunc::CutToClip(), ScViewFunc::DataFormPutData(), ScViewFunc::DeleteCells(), ScViewFunc::DeleteContents(), ScViewFunc::DoRefConversion(), ScGridWindow::DropTransferObj(), ScViewFunc::EnterData(), ScViewFunc::EnterMatrix(), ScViewFunc::EnterValue(), ScViewFunc::FillAuto(), ScViewFunc::FillSeries(), ScViewFunc::FillSimple(), ScTransferObj::InitDocShell(), ScDrawTransferObj::InitDocShell(), ScViewFunc::InsertCells(), ScViewFunc::InsertNameList(), ScViewFunc::MergeCells(), ScGridWindow::MouseButtonUp(), ScViewFunc::MoveBlockTo(), ScViewFunc::PasteRTF(), ScViewFunc::PostPasteFromClip(), ScViewFunc::RemoveMerge(), ScViewFunc::SetSelectionFrameLines(), ScViewFunc::SetWidthOrHeight(), and ScTabView::UpdateRef().

void ScDocShell::UpdatePaintExt ( sal_uInt16 &  rExtFlags,
SCCOL  nStartCol,
SCROW  nStartRow,
SCTAB  nStartTab,
SCCOL  nEndCol,
SCROW  nEndRow,
SCTAB  nEndTab 
)
void ScDocShell::UpdatePaintExt ( sal_uInt16 &  rExtFlags,
const ScRange rRange 
)
void ScDocShell::UpdatePendingRowHeights ( SCTAB  nUpdateTab,
bool  bBefore = false 
)
void ScDocShell::UseScenario ( SCTAB  nTab,
const OUString &  rName,
bool  bRecord = true 
)
void ScDocShell::UseSheetSaveEntries ( )
private

Member Data Documentation

OUString ScDocShell::m_aDdeTextFmt
private

Definition at line 82 of file docsh.hxx.

ScDocument ScDocShell::m_aDocument
private
bool ScDocShell::m_bAreasChangedNeedBroadcast
private

Definition at line 96 of file docsh.hxx.

Referenced by SetDocumentModified().

bool ScDocShell::m_bDocumentModifiedPending
private

Definition at line 93 of file docsh.hxx.

bool ScDocShell::m_bFooterOn
private

Definition at line 89 of file docsh.hxx.

Referenced by ExecutePageStyle(), and GetStatePageStyle().

bool ScDocShell::m_bHeaderOn
private

Definition at line 88 of file docsh.hxx.

Referenced by ExecutePageStyle(), and GetStatePageStyle().

bool ScDocShell::m_bIsEmpty
private

Definition at line 91 of file docsh.hxx.

bool ScDocShell::m_bIsInplace
private

Definition at line 90 of file docsh.hxx.

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

bool ScDocShell::m_bIsInUndo
private

Definition at line 92 of file docsh.hxx.

Referenced by SetInUndo().

bool ScDocShell::m_bUcalcTest
private

Definition at line 95 of file docsh.hxx.

Referenced by SetIsInUcalc().

bool ScDocShell::m_bUpdateEnabled
private

Definition at line 94 of file docsh.hxx.

sal_Int16 ScDocShell::m_nCanUpdate
private

Definition at line 98 of file docsh.hxx.

Referenced by Execute(), and GetLinkUpdateModeState().

sal_uInt16 ScDocShell::m_nDocumentLock
private

Definition at line 97 of file docsh.hxx.

Referenced by LockDocument(), LockDocument_Impl(), UnlockDocument(), and UnlockDocument_Impl().

double ScDocShell::m_nPrtToScreenFactor
private

Definition at line 84 of file docsh.hxx.

Referenced by CalcOutputFactor().

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

Definition at line 86 of file docsh.hxx.

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

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

Definition at line 106 of file docsh.hxx.

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

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

Definition at line 85 of file docsh.hxx.

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

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

Definition at line 108 of file docsh.hxx.

Referenced by ~ScDocShell().

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

Definition at line 100 of file docsh.hxx.

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

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

Definition at line 105 of file docsh.hxx.

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

std::unique_ptr<ScOptSolverSave> ScDocShell::m_pSolverSaveData
private

Definition at line 104 of file docsh.hxx.

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

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

Definition at line 114 of file docsh.hxx.

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

Definition at line 113 of file docsh.hxx.

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

Definition at line 110 of file docsh.hxx.

Referenced by RegisterAutomationWorkbookObject().


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