LibreOffice Module sw (master)  1
Public Member Functions | List of all members
SwGlobalDocShell Class Reference

#include <globdoc.hxx>

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

Public Member Functions

 SFX_DECL_OBJECTFACTORY ()
 
 SwGlobalDocShell (SfxObjectCreateMode eMode)
 
virtual ~SwGlobalDocShell () override
 
virtual void FillClass (SvGlobalName *pClassName, SotClipboardFormatId *pClipFormat, OUString *pAppName, OUString *pLongUserName, OUString *pUserName, sal_Int32 nFileFormat, bool bTemplate=false) const override
 
- Public Member Functions inherited from SwDocShell
 SwDocShell (SfxObjectCreateMode eMode=SfxObjectCreateMode::EMBEDDED)
 Doc is required for SO data exchange! More...
 
 SwDocShell (SfxModelFlags i_nSfxCreationFlags)
 
 SwDocShell (SwDoc *pDoc, SfxObjectCreateMode eMode)
 
virtual ~SwDocShell () override
 
 DECL_LINK (Ole2ModifiedHdl, bool, void)
 OLE 2.0-notification. More...
 
virtual void SetVisArea (const tools::Rectangle &rRect) override
 OLE-stuff. More...
 
virtual tools::Rectangle GetVisArea (sal_uInt16 nAspect) const override
 
virtual PrinterGetDocumentPrinter () override
 
virtual OutputDeviceGetDocumentRefDev () override
 
virtual void OnDocumentPrinterChanged (Printer *pNewPrinter) override
 
virtual void SetModified (bool=true) override
 
void Execute (SfxRequest &)
 Dispatcher. More...
 
void ExecStyleSheet (SfxRequest &)
 
void GetState (SfxItemSet &)
 
void StateStyleSheet (SfxItemSet &, SwWrtShell *pSh=nullptr)
 
SwDocGetDoc ()
 returns Doc. But be careful! More...
 
const SwDocGetDoc () const
 
IDocumentDeviceAccessgetIDocumentDeviceAccess ()
 
IDocumentChartDataProviderAccessgetIDocumentChartDataProviderAccess ()
 
void UpdateFontList ()
 
void UpdateChildWindows ()
 
virtual bool Save () override
 global IO. More...
 
virtual SfxStyleSheetBasePoolGetStyleSheetPool () override
 For Style PI. More...
 
virtual sfx2::StyleManagerGetStyleManager () override
 
void SetView (SwView *pVw)
 Set View for actions via Shell. More...
 
const SwViewGetView () const
 
SwViewGetView ()
 
SwWrtShellGetWrtShell ()
 Access to the SwWrtShell belonging to SwView. More...
 
const SwWrtShellGetWrtShell () const
 
SwEditShellGetEditShell ()
 
SwFEShellGetFEShell ()
 For Core - it knows the DocShell but not the WrtShell! More...
 
const SwFEShellGetFEShell () const
 
ReaderStartConvertFrom (SfxMedium &rMedium, SwReaderPtr &rpRdr, SwCursorShell const *pCursorSh=nullptr, SwPaM *pPaM=nullptr)
 For inserting document. More...
 
virtual ::sfx2::SvLinkSourceDdeCreateLinkSource (const OUString &rItem) override
 
virtual void ReconnectDdeLink (SfxObjectShell &rServer) override
 
virtual std::set< ColorGetDocColors () override
 
virtual void LoadStyles (SfxObjectShell &rSource) override
 
void LoadStyles_ (SfxObjectShell &rSource, bool bPreserveCurrentDocument)
 
void FormatPage (const OUString &rPage, const OString &rPageId, SwWrtShell &rActShell, SfxRequest *pRequest=nullptr)
 Show page style format dialog. More...
 
void LoadingFinished ()
 linked graphics are now loaded on demand. More...
 
virtual void SetFormatSpecificCompatibilityOptions (const OUString &rFilterTypeName) override
 
virtual void CancelTransfers () override
 Cancel transfer (called from SFX). More...
 
void ReloadFromHtml (const OUString &rStreamName, SwSrcView *pSrcView)
 Re-read Doc from Html-source. More...
 
sal_Int16 GetUpdateDocMode () const
 
void ToggleLayoutMode (SwView *pView)
 
ErrCode LoadStylesFromFile (const OUString &rURL, SwgReaderOption const &rOpt, bool bUnoCall)
 
void InvalidateModel ()
 
void ReactivateModel ()
 
virtual css::uno::Sequence< OUString > GetEventNames () override
 
virtual HiddenInformation GetHiddenInformationState (HiddenInformation nStates) override
 #i20883# Digital Signatures and Encryption More...
 
virtual void UpdateLinks () override
 #i42634# Overwrites SfxObjectShell::UpdateLinks This new function is necessary to trigger update of links in docs read by the binary filter: More...
 
css::uno::Reference< css::frame::XController > GetController ()
 
SfxInPlaceClientGetIPClient (const ::svt::EmbeddedObjectRef &xObjRef)
 
SAL_DLLPRIVATE bool IsTemplate ()
 
SAL_DLLPRIVATE void SetIsTemplate (bool bValue)
 
virtual const ::sfx2::IXmlIdRegistryGetXmlIdRegistry () const override
 
virtual bool IsChangeRecording () const override
 passwword protection for Writer (derived from SfxObjectShell) see also: FN_REDLINE_ON, FN_REDLINE_ON More...
 
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 RegisterAutomationDocumentEventsCaller (css::uno::Reference< ooo::vba::XSinkCaller > const &xCaller)
 
void CallAutomationDocumentEventSinks (const OUString &Method, css::uno::Sequence< css::uno::Any > &Arguments)
 
void RegisterAutomationDocumentObject (css::uno::Reference< ooo::vba::word::XDocument > const &xDocument)
 
std::unique_ptr< LockAllViewsGuardLockAllViews ()
 
- 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 ()
 
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)
 
virtual bool DoSaveCompleted (SfxMedium *pNewStor=nullptr, bool bRegisterRecent=true)
 
bool LoadOwnFormat (SfxMedium &pMedium)
 
virtual bool SaveAsOwnFormat (SfxMedium &pMedium)
 
bool SwitchPersistance (const css::uno::Reference< css::embed::XStorage > &xStorage)
 
virtual bool LoadExternal (SfxMedium &rMedium)
 
bool IsConfigOptionsChecked () const
 
void SetConfigOptionsChecked (bool bChecked)
 
virtual bool QuerySlotExecutable (sal_uInt16 nSlotId)
 
void SaveChildren (bool bObjectsOnly=false)
 
bool SaveAsChildren (SfxMedium &rMedium)
 
bool SwitchChildrenPersistance (const css::uno::Reference< css::embed::XStorage > &xStorage, bool bForceNonModified=false)
 
bool SaveCompletedChildren ()
 
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 ()
 
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 ()
 
bool DoClose ()
 
std::shared_ptr< GDIMetaFileGetPreviewMetaFile (bool bFullContent=false) const
 
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)
 
void SetAutoStyleFilterIndex (sal_uInt16 nSet)
 
sal_uInt16 GetAutoStyleFilterIndex ()
 
bool HasBasic () const
 
BasicManagerGetBasicManager () const
 
css::uno::Reference< css::script::XLibraryContainer > GetBasicContainer ()
 
css::uno::Reference< css::script::XLibraryContainer > GetDialogContainer ()
 
StarBASICGetBasic () const
 
virtual SfxObjectShellGetObjectShell () override
 
css::uno::Reference< css::frame::XModel > GetModel () const
 
void SetBaseModel (SfxBaseModel *pModel)
 
css::uno::Reference< css::frame::XModel > GetBaseModel () const
 
vcl::WindowGetDialogParent (SfxMedium const *pMedium=nullptr)
 
bool IsInPlaceActive ()
 
bool IsUIActive ()
 
void EnableSetModified (bool bEnable=true)
 
bool IsEnableSetModified () const
 
bool IsModified ()
 
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 ()
 
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)
 
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 ()
 
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)
 
SAL_DLLPRIVATE bool APISaveAs_Impl (const OUString &aFileName, SfxItemSet &rItemSet)
 
SAL_DLLPRIVATE bool CommonSaveAs_Impl (const INetURLObject &aURL, const OUString &aFilterName, SfxItemSet &rItemSet)
 
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 ()
 
- 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)
 
virtual SfxUndoManagerGetUndoManager ()
 
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)
 

Additional Inherited Members

- Static Public Member Functions inherited from SwDocShell
static OUString GetEventName (sal_Int32 nId)
 
- 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 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 SignatureState ImplCheckSignaturesInformation (const css::uno::Sequence< css::security::DocumentSignatureInformation > &aInfos)
 
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 &)
 
- Protected Member Functions inherited from SwDocShell
virtual void DoFlushDocInfo () override
 override to update text fields More...
 
- Protected Member Functions inherited from SfxObjectShell
 SfxObjectShell (SfxObjectCreateMode)
 
 SfxObjectShell (SfxModelFlags)
 
virtual ~SfxObjectShell () override
 
void ModifyChanged ()
 
virtual bool Close () override
 
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 24 of file globdoc.hxx.

Constructor & Destructor Documentation

SwGlobalDocShell::SwGlobalDocShell ( SfxObjectCreateMode  eMode)

Definition at line 37 of file globdoc.cxx.

SwGlobalDocShell::~SwGlobalDocShell ( )
overridevirtual

Definition at line 42 of file globdoc.cxx.

Member Function Documentation

void SwGlobalDocShell::FillClass ( SvGlobalName pClassName,
SotClipboardFormatId pClipFormat,
OUString *  pAppName,
OUString *  pLongUserName,
OUString *  pUserName,
sal_Int32  nFileFormat,
bool  bTemplate = false 
) const
overridevirtual

Reimplemented from SwDocShell.

Definition at line 46 of file globdoc.cxx.

References SO3_SWGLOB_CLASSID_60, SOFFICE_FILEFORMAT_60, SOFFICE_FILEFORMAT_8, and SwResId().

SwGlobalDocShell::SFX_DECL_OBJECTFACTORY ( )

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