LibreOffice Module sw (master)  1
Classes | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
SwDocShell Class Reference

#include <docsh.hxx>

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

Classes

class  LockAllViewsGuard
 

Public Member Functions

 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 void FillClass (SvGlobalName *pClassName, SotClipboardFormatId *pClipFormat, OUString *pAppName, OUString *pLongUserName, OUString *pUserName, sal_Int32 nFileFormat, bool bTemplate=false) const 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)
 
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)
 

Static Public Member Functions

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 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

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)
 

Private Member Functions

SAL_DLLPRIVATE void AddLink ()
 Methods for access to doc. More...
 
SAL_DLLPRIVATE void RemoveLink ()
 
virtual SAL_DLLPRIVATE void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override
 Catch hint for DocInfo. More...
 
virtual SAL_DLLPRIVATE bool InitNew (const css::uno::Reference< css::embed::XStorage > &xStorage) override
 FileIO. More...
 
virtual SAL_DLLPRIVATE bool Load (SfxMedium &rMedium) override
 
virtual SAL_DLLPRIVATE bool LoadFrom (SfxMedium &rMedium) override
 
virtual SAL_DLLPRIVATE bool ConvertFrom (SfxMedium &rMedium) override
 
virtual SAL_DLLPRIVATE bool ConvertTo (SfxMedium &rMedium) override
 
virtual SAL_DLLPRIVATE bool SaveAs (SfxMedium &rMedium) override
 
virtual SAL_DLLPRIVATE bool SaveCompleted (const css::uno::Reference< css::embed::XStorage > &xStorage) override
 
virtual SAL_DLLPRIVATE bool PrepareClose (bool bUI=true) override
 
virtual SAL_DLLPRIVATE bool InsertGeneratedStream (SfxMedium &rMedium, css::uno::Reference< css::text::XTextRange > const &xInsertPosition) override
 
virtual SAL_DLLPRIVATE VclPtr< SfxDocumentInfoDialogCreateDocumentInfoDialog (const SfxItemSet &) override
 Make DocInfo known to the Doc. More...
 
virtual SAL_DLLPRIVATE void Draw (OutputDevice *, const JobSetup &, sal_uInt16 nAspect) override
 OLE-stuff. More...
 
SAL_DLLPRIVATE void Edit (const OUString &rName, const OUString &rParent, const SfxStyleFamily nFamily, SfxStyleSearchBits nMask, const bool bNew, const OString &sPageId, SwWrtShell *pActShell, SfxRequest *pRequest=nullptr, sal_uInt16 nSlot=0)
 Methods for StyleSheets. More...
 
SAL_DLLPRIVATE void Delete (const OUString &rName, SfxStyleFamily nFamily)
 
SAL_DLLPRIVATE void Hide (const OUString &rName, SfxStyleFamily nFamily, bool bHidden)
 
SAL_DLLPRIVATE SfxStyleFamily ApplyStyles (const OUString &rName, const SfxStyleFamily nFamily, SwWrtShell *pShell, sal_uInt16 nMode)
 
SAL_DLLPRIVATE SfxStyleFamily DoWaterCan (const OUString &rName, SfxStyleFamily nFamily)
 
SAL_DLLPRIVATE void UpdateStyle (const OUString &rName, SfxStyleFamily nFamily, SwWrtShell *pShell)
 
SAL_DLLPRIVATE void MakeByExample (const OUString &rName, SfxStyleFamily nFamily, SfxStyleSearchBits nMask, SwWrtShell *pShell)
 
SAL_DLLPRIVATE void SubInitNew ()
 for InitNew and HtmlSourceMode. More...
 
SAL_DLLPRIVATE void RemoveOLEObjects ()
 
SAL_DLLPRIVATE void CalcLayoutForOLEObjects ()
 
SAL_DLLPRIVATE void Init_Impl ()
 

Static Private Member Functions

static void InitInterface_Impl ()
 but we implement this ourselves. More...
 

Private Attributes

rtl::Reference< SwDocm_xDoc
 Document. More...
 
rtl::Reference< SfxStyleSheetBasePoolm_xBasePool
 Passing through for formats. More...
 
std::unique_ptr< FontListm_pFontList
 Current Fontlist. More...
 
bool m_IsInUpdateFontList
 prevent nested calls of UpdateFontList More...
 
std::unique_ptr< sfx2::StyleManagerm_pStyleManager
 
SwViewm_pView
 For "historical reasons" nothing can be done without the WrtShell. More...
 
SwWrtShellm_pWrtShell
 
std::unique_ptr< comphelper::EmbeddedObjectContainerm_pOLEChildList
 
sal_Int16 m_nUpdateDocMode
 contains the css::document::UpdateDocMode More...
 
bool m_IsATemplate
 prevent nested calls of UpdateFontList More...
 
bool m_IsRemovedInvisibleContent
 whether SID_MAIL_PREPAREEXPORT removed content that SID_MAIL_EXPORT_FINISHED needs to restore More...
 
css::uno::Reference< ooo::vba::XSinkCaller > mxAutomationDocumentEventsCaller
 
css::uno::Reference< ooo::vba::word::XDocument > mxAutomationDocumentObject
 

Additional Inherited Members

- Static Protected Member Functions inherited from SfxShell
static void HandleOpenXmlFilterSettings (SfxRequest &)
 

Detailed Description

Definition at line 67 of file docsh.hxx.

Constructor & Destructor Documentation

SwDocShell::SwDocShell ( SfxObjectCreateMode  eMode = SfxObjectCreateMode::EMBEDDED)

Doc is required for SO data exchange!

Definition at line 335 of file docshini.cxx.

References Init_Impl().

Referenced by Execute(), and SwFindDocShell().

SwDocShell::SwDocShell ( SfxModelFlags  i_nSfxCreationFlags)

Definition at line 349 of file docshini.cxx.

References Init_Impl().

SwDocShell::SwDocShell ( SwDoc pDoc,
SfxObjectCreateMode  eMode 
)

Definition at line 363 of file docshini.cxx.

References Init_Impl().

SwDocShell::~SwDocShell ( )
overridevirtual

Member Function Documentation

void SwDocShell::AddLink ( )
private
SfxStyleFamily SwDocShell::ApplyStyles ( const OUString &  rName,
const SfxStyleFamily  nFamily,
SwWrtShell pShell,
sal_uInt16  nMode 
)
private
void SwDocShell::CalcLayoutForOLEObjects ( )
private
void SwDocShell::CallAutomationDocumentEventSinks ( const OUString &  Method,
css::uno::Sequence< css::uno::Any > &  Arguments 
)

Definition at line 1425 of file docsh.cxx.

References mxAutomationDocumentEventsCaller.

Referenced by SwXTextDocument::close().

void SwDocShell::CancelTransfers ( )
overridevirtual

Cancel transfer (called from SFX).

Reimplemented from SfxObjectShell.

Definition at line 1233 of file docsh.cxx.

References SfxObjectShell::CancelTransfers(), and m_xDoc.

bool SwDocShell::ConvertFrom ( SfxMedium rMedium)
overrideprivatevirtual
bool SwDocShell::ConvertTo ( SfxMedium rMedium)
overrideprivatevirtual

Reimplemented from SfxObjectShell.

Definition at line 593 of file docsh.cxx.

References docfunc::AllDrawObjsOnPage(), Any, CalcLayoutForOLEObjects(), SfxMedium::CloseOutStream(), SotStorage::Commit(), Application::CreateMessageDialog(), SwCursorShell::DeleteCurrent, DO_NOT_CAPTURE_DRAW_OBJS_ON_PAGE, SwEditShell::EndAllAction(), SwCursorShell::EndAllTableBoxEdit(), ERRCODE_NONE, FILTER_TEXT_DLG, FILTER_XML, FILTER_XMLV, FILTER_XMLVW, SvxHtmlOptions::Get(), SvtFilterOptions::Get(), IDocumentSettingAccess::get(), SfxMedium::GetBaseURL(), SfxObjectShell::GetBasicContainer(), SfxObjectShell::GetCreateMode(), GetDoc(), SwView::GetEditWin(), SotStorage::GetError(), SfxMedium::GetFilter(), SotExchange::GetFormatMimeType(), SwDoc::getIDocumentSettingAccess(), SfxMedium::GetItemSet(), SfxItemSet::GetItemState(), SfxMedium::GetName(), SfxMedium::GetOutStream(), SwView::GetPostItMgr(), SfxMedium::GetStorage(), SwReaderWriter::GetWriter(), GLOBAL_DOCUMENT, GLOBAL_DOCUMENT_SAVE_LINKS, SwPostItMgr::HasActiveSidebarWin(), SfxObjectShell::HasBasic(), HTML_MODE, tools::SvRef< T >::is(), ErrCode::IsError(), Application::IsHeadlessModeEnabled(), SvtFilterOptions::IsLoadWordBasicStorage(), SfxMedium::IsSkipImages(), SvxHtmlOptions::IsStarBasic(), SvxHtmlOptions::IsStarBasicWarning(), SfxMedium::IsStorage(), SwViewShell::IsViewLocked(), lcl_GetSourceView(), SwViewShell::LockView(), m_pView, m_pWrtShell, m_xDoc, SwWrtShell::Pop(), SwCursorShell::Push(), SwAsciiOptions::ReadUserData(), SaveAs(), SwSrcView::SaveContentTo(), SaveOrDelMSVBAStorage(), IDocumentSettingAccess::set(), SfxObjectShell::SetError(), SwEditShell::StartAllAction(), SwEditWin::StopQuickHelp(), SW_MOD, SwResId(), SwPostItMgr::UpdateDataOnActiveSidebarWin(), WARN_SWG_HTML_NO_MACROS, and SwWriter::Write().

VclPtr< SfxDocumentInfoDialog > SwDocShell::CreateDocumentInfoDialog ( const SfxItemSet rSet)
overrideprivatevirtual
sfx2::SvLinkSource * SwDocShell::DdeCreateLinkSource ( const OUString &  rItem)
override

Definition at line 1362 of file docsh2.cxx.

References m_xDoc.

Referenced by SwTrnsfrDdeLink::SwTrnsfrDdeLink().

SwDocShell::DECL_LINK ( Ole2ModifiedHdl  ,
bool  ,
void   
)

OLE 2.0-notification.

void SwDocShell::Delete ( const OUString &  rName,
SfxStyleFamily  nFamily 
)
private
void SwDocShell::DoFlushDocInfo ( )
overrideprotectedvirtual
SfxStyleFamily SwDocShell::DoWaterCan ( const OUString &  rName,
SfxStyleFamily  nFamily 
)
private
void SwDocShell::Draw ( OutputDevice pDev,
const JobSetup rSetup,
sal_uInt16  nAspect 
)
overrideprivatevirtual
void SwDocShell::Edit ( const OUString &  rName,
const OUString &  rParent,
const SfxStyleFamily  nFamily,
SfxStyleSearchBits  nMask,
const bool  bNew,
const OString &  sPageId,
SwWrtShell pActShell,
SfxRequest pRequest = nullptr,
sal_uInt16  nSlot = 0 
)
private

Methods for StyleSheets.

Parameters
nSlotOnly used for nFamily == SfxStyleFamily::Page. Identifies optional Slot by which the edit is triggered. Used to activate certain dialog pane

Definition at line 646 of file docst.cxx.

References SwRewriter::AddRule(), ChrFmt, ConvertAttrCharToGen(), ConvertAttrGenToChar(), SwAbstractDialogFactory::Create(), SwAbstractDialogFactory::CreateTemplateDialog(), EMPTY, SwEditShell::EndAllAction(), SwEditShell::EndUndo(), SwEditShell::FindCharFormatByName(), SwDoc::FindFrameFormatByName(), SwEditShell::FindTextFormatCollByName(), FrmFmt, VclPtr< reference_type >::get(), SdrModel::GetBitmapList(), SwDocStyleSheet::GetCharFormat(), SwEditShell::GetCharFormatFromPool(), SwDocStyleSheet::GetCollection(), SdrModel::GetColorList(), SwEditShell::GetCurCharFormat(), SwEditShell::GetCurTextFormatColl(), GetDfltMetric(), GetDoc(), SwViewShell::GetDoc(), IDocumentDrawModelAccess::GetDrawModel(), SwDocStyleSheet::GetFrameFormat(), SwEditShell::GetFrameFormatFromPool(), GetFrameWeld(), SdrModel::GetGradientList(), SdrModel::GetHatchList(), GetHtmlMode(), SwViewShell::getIDocumentDeviceAccess(), SwDoc::getIDocumentDrawModelAccess(), SwEditShell::GetLastUndoInfo(), SwFormat::GetName(), SdrModel::GetPatternList(), SwStyleNameMapper::GetPoolIdFromUIName(), IDocumentDeviceAccess::getPrinter(), SwEditShell::GetTextCollFromPool(), GetView(), SwEditShell::GetWatermark(), GetWrtShell(), HTMLMODE_ON, SfxRequest::Ignore(), SwViewShell::InitPrt(), SwView::InvalidateRulerPos(), SfxRequest::IsAPI(), SwTextFormatColl::IsAssignedToListLevelOfOutlineStyle(), LINK, m_pView, m_pWrtShell, m_xBasePool, m_xDoc, nId, SwDocStyleSheet::PresetParent(), SfxItemSet::Put(), SfxShell::PutItem(), RET_OK, SAL_WARN_IF, SwTextFormatColl::SetAttrOutlineLevel(), SwFormat::SetDerivedFrom(), SwTextFormatColl::SetFormatAttr(), SwEditShell::SetWatermark(), SfxToSwPageDescAttr(), SwEditShell::StartAllAction(), SwEditShell::StartUndo(), SW_MOD, SwToSfxPageDescAttr(), TxtColl, SwEditShell::Undo(), UndoArg1, and USHRT_MAX.

Referenced by ExecStyleSheet(), and FormatPage().

void SwDocShell::ExecStyleSheet ( SfxRequest rReq)
void SwDocShell::Execute ( SfxRequest rReq)

Dispatcher.

false, true, true is on the save side but a probably overdone

Definition at line 413 of file docsh2.cxx.

References IDocumentRedlineAccess::AcceptAllRedline(), aName, Any, SfxFrame::Appear(), SfxRequest::AppendItem(), SwEditShell::ApplyAdvancedClassification(), SwEditShell::ApplyParagraphClassification(), SvxSwAutoFormatFlags::bAutoCmpltCollectWords, SwAutoCompleteWord::CheckChangedList(), SwModule::CheckSpellChanges(), sfx2::SfxNotebookBar::CloseMethod(), SwEditShell::CollectAdvancedClassification(), SwEditShell::CollectParagraphClassification(), SfxEventConfiguration::ConfigureEvent(), SfxAbstractDialogFactory::Create(), VclPtr< reference_type >::Create(), SwAbstractDialogFactory::Create(), SfxAbstractDialogFactory::CreateAutoCorrTabDialog(), Application::CreateBuilder(), Application::CreateMessageDialog(), editeng::SortedAutoCompleteStrings::createNonOwningCopy(), SwAbstractDialogFactory::CreateSwInsertAbstractDlg(), SfxViewShell::Current(), VclPtr< reference_type >::disposeAndClear(), SfxObjectShell::DoInitNew(), SfxRequest::Done(), SwRedlineTable::empty(), utl::TempFile::EnableKillingFile(), SfxObjectShell::EnableSetModified(), SwEditShell::EndAllAction(), ERRCODE_NONE, eType, Exception, sfx2::SfxNotebookBar::ExecMethod(), SfxDispatcher::Execute(), SfxDispatcher::ExecuteList(), FN_ABSTRACT_NEWDOC, FN_ABSTRACT_STARIMPRESS, FN_NEW_GLOBAL_DOC, FN_NEW_HTML_DOC, FN_OPEN_FILE, FN_OUTLINE_TO_CLIPBOARD, FN_OUTLINE_TO_IMPRESS, FN_PRINT_LAYOUT, FN_REDLINE_ACCEPT_ALL, FN_REDLINE_REJECT_ALL, SvxAutoCorrCfg::Get(), sw::proofreadingiterator::get(), SwSmartTagMgr::Get(), SfxRequest::GetArg(), SfxRequest::GetArgs(), SwDoc::GetAutoCompleteWords(), SvxAutoCorrCfg::GetAutoCorrect(), SfxViewFrame::GetBindings(), SvxColorListItem::GetColorList(), IDocumentLayoutAccess::GetCurrentViewShell(), SfxShell::GetDispatcher(), SfxViewFrame::GetDispatcher(), GetDoc(), SwView::GetDocShell(), SfxObjectShell::GetError(), GlobalEventConfig::GetEventName(), SfxObjectShell::GetFactory(), SfxObjectFactory::GetFactoryName(), SfxMedium::GetFilter(), SwIoSystem::GetFilterOfFormat(), SfxViewFrame::GetFirst(), SfxViewShell::GetFirst(), SfxObjectShell::GetFirst(), SwView::GetFormShell(), SfxViewFrame::GetFrame(), vcl::Window::GetFrameWeld(), GetFrameWeld(), SwDoc::getIDocumentDeviceAccess(), SwDoc::getIDocumentLayoutAccess(), SwDoc::getIDocumentRedlineAccess(), SwDoc::getIDocumentState(), SfxShell::GetItem(), SfxItemSet::GetItemState(), SfxObjectShell::GetMedium(), SwFormat::GetName(), SfxViewFrame::GetNext(), SfxViewShell::GetNext(), SfxObjectShell::GetNext(), SfxViewShell::GetObjectShell(), SfxShell::GetPool(), IDocumentDeviceAccess::getPrinter(), IDocumentRedlineAccess::GetRedlineTable(), GetRTFWriter(), SfxRequest::GetSlot(), SvxAutoCorrect::GetSwFlags(), SfxNewFileDialog::GetTemplateFileName(), SfxNewFileDialog::GetTemplateFlags(), SfxObjectShell::GetTitle(), utl::TempFile::GetURL(), GetValue, CntInt32Item::GetValue(), CntUnencodedStringItem::GetValue(), GetView(), SfxViewShell::GetViewFrame(), SfxShell::GetViewShell(), SfxViewFrame::GetWindow(), SwAutoCompleteWord::GetWordList(), SvtPathOptions::GetWorkPath(), GetWrtShell(), SwView::GetWrtShell(), ErrorHandler::HandleError(), SfxObjectShell::HasName(), SwSrcView::HasSourceSaved(), HID_SEND_HTML_CTRL_CHECKBOX_AUTOEXTENSION, HID_SEND_HTML_CTRL_CONTROL_FILEVIEW, HID_SEND_HTML_CTRL_EDIT_FILEURL, HID_SEND_HTML_CTRL_LISTBOX_FILTER, HID_SEND_HTML_CTRL_LISTBOX_TEMPLATE, HID_SEND_HTML_CTRL_PUSHBUTTON_CANCEL, HID_SEND_HTML_CTRL_PUSHBUTTON_OK, HID_SEND_MASTER_CTRL_CHECKBOX_AUTOEXTENSION, HID_SEND_MASTER_CTRL_CONTROL_FILEVIEW, HID_SEND_MASTER_CTRL_EDIT_FILEURL, HID_SEND_MASTER_CTRL_LISTBOX_FILTER, HID_SEND_MASTER_CTRL_LISTBOX_TEMPLATE, HID_SEND_MASTER_CTRL_PUSHBUTTON_CANCEL, HID_SEND_MASTER_CTRL_PUSHBUTTON_OK, i, SfxRequest::Ignore(), ErrCode::IgnoreWarning(), SfxBindings::Invalidate(), SwDoc::InvalidateAutoCompleteFlag(), SfxRequest::IsAPI(), SwTextFormatColl::IsAtDocNodeSet(), SwFormat::IsDefault(), SfxObjectShell::IsEnableSetModified(), SwAutoCompleteWord::IsLockWordLstLocked(), SfxObjectShell::IsModified(), SwSrcView::IsModified(), SfxViewFrame::LoadDocument(), LoadStylesFromFile(), m_IsRemovedInvisibleContent, SvxSwAutoFormatFlags::m_pAutoCompleteList, m_pWrtShell, m_xDoc, MAXLEVEL, SvxSwAutoFormatFlags::nAutoCmpltListLen, SvxSwAutoFormatFlags::nAutoCmpltWordLen, SvLockBytesStat::nSize, PrepareClose(), SvxSwAutoFormatFlags::pSmartTagMgr, SvLockBytes::ReadAt(), ReloadFromHtml(), RET_OK, RET_TEMPLATE_LOAD, RET_YES, weld::DialogController::runAsync(), SAL_WARN, SwSrcView::SaveContent(), SvStream::Seek(), SfxWatermarkItem::SetAngle(), SwEditShell::SetAutoFormatFlags(), SvStream::SetBufferSize(), SwEditShell::SetClassification(), SfxWatermarkItem::SetColor(), SfxObjectShell::SetError(), SfxWatermarkItem::SetFont(), SwgReaderOption::SetFrameFormats(), SwAutoCompleteWord::SetLockWordLstLocked(), SwAutoCompleteWord::SetMaxCount(), SwgReaderOption::SetMerge(), SwAutoCompleteWord::SetMinWordLen(), IDocumentState::SetModified(), SwEditShell::SetNewDoc(), SwgReaderOption::SetNumRules(), SwgReaderOption::SetPageDescs(), IDocumentDeviceAccess::setPrinter(), SfxRequest::SetReturnValue(), SfxBindings::SetState(), SfxNewFileDialog::SetTemplateFlags(), SfxWatermarkItem::SetText(), SwgReaderOption::SetTextFormats(), SfxObjectShell::SetTitle(), SfxWatermarkItem::SetTransparency(), SwEditShell::SetWatermark(), FmFormShell::SetY2KState(), SFX_INTERFACE_NONE, SfxGetpApp(), SfxViewFrame::Show(), SwEditShell::SignParagraph(), o3tl::sorted_vector< Value, Compare, Find, class >::size(), STARBASIC, SwEditShell::StartAllAction(), SvLockBytes::Stat(), STREAM_SEEK_TO_BEGIN, STREAM_SEEK_TO_END, SfxClassificationHelper::stringToPolicyType(), SwDocShell(), SwResId(), toInt32(), USHRT_MAX, SwWriter::Write(), and SvStream::WriteChar().

Referenced by SwBaseShell::Execute(), and SwXTextDocument::setPropertyValue().

void SwDocShell::FillClass ( SvGlobalName pClassName,
SotClipboardFormatId pClipFormat,
OUString *  pAppName,
OUString *  pLongUserName,
OUString *  pUserName,
sal_Int32  nFileFormat,
bool  bTemplate = false 
) const
overridevirtual
void SwDocShell::FormatPage ( const OUString &  rPage,
const OString &  rPageId,
SwWrtShell rActShell,
SfxRequest pRequest = nullptr 
)

Show page style format dialog.

Parameters
nSlotIdentifies slot by which the dialog is triggered. Used to activate certain dialog pane

Definition at line 1374 of file docst.cxx.

References Edit().

Referenced by SwBaseShell::ExecDlg(), SwHeaderFooterWin::ExecuteCommand(), and IMPL_LINK_NOARG().

uno::Reference< frame::XController > SwDocShell::GetController ( )

Definition at line 1305 of file docsh.cxx.

References SfxViewShell::GetController(), and GetView().

Referenced by SwTextFrame::SmartTagScan().

SwDoc* SwDocShell::GetDoc ( )
inline

returns Doc. But be careful!

Definition at line 202 of file docsh.hxx.

Referenced by SwXDocumentSettings::_preGetValues(), SwXDocumentSettings::_preSetValues(), SwVbaRevision::Accept(), SwPostItMgr::AddPostIts(), SwXTextView::BuildTmpSelectionDoc(), SwEditWin::Command(), SwHHCWrapper::Convert(), SdrHHCWrapper::ConvertNextDocument(), ConvertTo(), SwXTextDocument::create(), SwXTextDocument::createClone(), SwXAutoStyleFamily::createEnumeration(), SwTrnsfrDdeLink::Disconnect(), Edit(), SwGlossaries::EditGroupDoc(), SwFrameShell::Execute(), SwGrfShell::Execute(), SwSrcView::Execute(), Execute(), SwView::Execute(), SwView::ExecViewOptions(), SwDocInfoField::ExpandImpl(), DocxExportFilter::exportDocument(), FillCharStyleListBox(), RtfExportFilter::filter(), SwXTextDocument::FindAny(), SwTrnsfrDdeLink::FindDocShell(), SwXTextDocument::findFirst(), SwXTextDocument::findNext(), SwSpellDialogChildWindow::FindNextDrawTextError_Impl(), SwXAutoTextEntry::GetBodyText(), SwXTextDocument::getBookmarks(), SwXTextCellStyle::GetBoxAutoFormat(), SwXNumberingRules::getByIndex(), SwXLinkNameAccessWrapper::getByName(), sw::XStyleFamily::GetCountOrName(), SwImport::GetDocFromXMLImport(), SwXTextDocument::getDocumentIndexes(), SwXTextDocument::getDocumentLanguages(), SwXTextDocument::getDrawPage(), SwXLinkNameAccessWrapper::getElementNames(), SwXTextDocument::getEmbeddedObjects(), SwXTextViewCursor::getEnd(), SwXTextDocument::getEndnotes(), SwXTextDocument::getEndnoteSettings(), SwXTextDocument::getFlatParagraphIterator(), SwXTextDocument::getFootnotes(), SwXTextDocument::getFootnoteSettings(), SwXTextDocument::getGraphicObjects(), GetHiddenInformationState(), SwXTextDocument::getLineNumberingProperties(), SwXNumberingRules::getName(), SwXTextCellStyle::getName(), SwXTextDocument::GetNumberFormatter(), SwXNumberingRules::GetNumberingRuleByIndex(), SwXTextDocument::getNumberingRules(), ooo::vba::word::getPageCount(), SwXTextDocument::getPagePrintSettings(), SwSrcView::GetPrinter(), SwXTextDocument::GetPropertyHelper(), SwXNumberingRules::getPropertyValue(), SwXTextDocument::getPropertyValue(), SwXTextCellStyle::getPropertyValue(), SwXTextDocument::getRedlines(), SwXTextDocument::getReferenceMarks(), SwXTextDocument::GetRenderDoc(), SwXTextDocument::getRenderer(), SwXTextDocument::getSdrModelFromUnoModel(), SwXTextViewCursor::getStart(), GetState(), SwXTextTableStyle::GetTableAutoFormat(), Reader::GetTemplateDoc(), SwXTextViewCursor::getText(), SwXTextDocument::getText(), SwXTextDocument::getTextFieldMasters(), SwXTextDocument::getTextFields(), SwXTextDocument::getTextFrames(), SwXTextDocument::getTextSections(), SwXTextDocument::getTextTables(), SwXTextDocument::getTrackedChanges(), SwXTextDocument::getXForms(), SwXTextViewCursor::gotoRange(), SwVbaInformationHelper::handleWdVerticalPositionRelativeToPage(), SwXLinkNameAccessWrapper::hasByName(), IMPL_LINK_NOARG(), SwXAutoTextEntry::implFlushDocument(), sw::annotation::SwAnnotationWin::InitAnswer(), sw::annotation::SwAnnotationWin::InitControls(), InitNew(), SwXMLImport::initXForms(), sw::XStyleFamily::insertByName(), SwView::InsertGraphicDlg(), SwView::InsertMedium(), SwXAutoStyleFamily::insertStyle(), SwXTextTableStyle::isInUse(), SwXTextTableStyle::isUserDefined(), SwXTextCellStyle::isUserDefined(), sw::sidebarwindows::SidebarTextControl::KeyInput(), lcl_CreateStyle(), lcl_Execute(), lcl_GetPrintUIOptions(), lcl_GetState(), WW8Glossary::Load(), SwSrcView::Load(), SwXTextDocument::lockControllers(), SwModule::Notify(), SwView::Notify(), OnDocumentPrinterChanged(), SwXTextDocument::printPages(), SwView::ReadUserDataSequence(), SwVbaRevision::Reject(), ReloadFromHtml(), sw::XStyleFamily::removeByName(), SwXTextDocument::replaceAll(), SwXNumberingRules::replaceByIndex(), SwXTextTableStyle::replaceByName(), SwEditWin::RequestHelp(), SwEndNoteOptionPage::Reset(), SaveAs(), SdrHHCWrapper::SdrHHCWrapper(), SwXTextView::select(), SwWebView::SelectShell(), SwView::SelectShell(), SwDBManager::setEmbeddedName(), SetFormatSpecificCompatibilityOptions(), SwXTextCellStyle::setName(), SwXNumberingRules::SetNumberingRuleByIndex(), SwXTextDocument::setPagePrintSettings(), SwSrcView::SetPrinter(), SwXNumberingRules::SetPropertiesToNumFormat(), SwXNumberingRules::setPropertyValue(), SwXTextDocument::setPropertyValue(), SwXTextCellStyle::setPropertyValue(), SwXTextView::setRubyList(), SwAsciiFilterDlg::SwAsciiFilterDlg(), SwView::SwView(), SwXAutoStyleFamily::SwXAutoStyleFamily(), SwXDocumentSettings::SwXDocumentSettings(), SwXMLTextBlocks::SwXMLTextBlocks(), SwXNumberingRules::SwXNumberingRules(), TestImportDOC(), TestImportHTML(), ToggleLayoutMode(), sw::annotation::SwAnnotationWin::UpdateData(), UpdateLinks(), SwXTextDocument::updateLinks(), SwTrnsfrDdeLink::WriteData(), SwView::WriteUserDataSequence(), and SwHHCWrapper::~SwHHCWrapper().

const SwDoc* SwDocShell::GetDoc ( ) const
inline

Definition at line 203 of file docsh.hxx.

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

Reimplemented from SfxObjectShell.

Definition at line 1313 of file docst.cxx.

References m_xDoc.

Printer * SwDocShell::GetDocumentPrinter ( )
overridevirtual

Reimplemented from SfxObjectShell.

Definition at line 955 of file docsh.cxx.

References m_xDoc.

OutputDevice * SwDocShell::GetDocumentRefDev ( )
overridevirtual

Reimplemented from SfxObjectShell.

Definition at line 960 of file docsh.cxx.

References m_xDoc.

SwEditShell * SwDocShell::GetEditShell ( )

Definition at line 1240 of file docsh.cxx.

References m_pWrtShell.

Referenced by LockAllViews(), and SwAutoCorrect::PutText().

OUString SwDocShell::GetEventName ( sal_Int32  nId)
static
Sequence< OUString > SwDocShell::GetEventNames ( )
overridevirtual

Reimplemented from SfxObjectShell.

Definition at line 1325 of file docsh.cxx.

References GetEventName(), and SfxObjectShell::GetEventNames().

SwFEShell * SwDocShell::GetFEShell ( )
const SwFEShell* SwDocShell::GetFEShell ( ) const
inline

Definition at line 231 of file docsh.hxx.

HiddenInformation SwDocShell::GetHiddenInformationState ( HiddenInformation  nStates)
overridevirtual
IDocumentChartDataProviderAccess & SwDocShell::getIDocumentChartDataProviderAccess ( )

Definition at line 717 of file docshini.cxx.

References m_xDoc.

Referenced by SwXTextDocument::create(), and SwInsertChart().

IDocumentDeviceAccess & SwDocShell::getIDocumentDeviceAccess ( )

Definition at line 712 of file docshini.cxx.

References m_xDoc.

Referenced by SwModule::InsertLab(), SwSrcView::SetPrinter(), and ToggleLayoutMode().

SfxInPlaceClient * SwDocShell::GetIPClient ( const ::svt::EmbeddedObjectRef xObjRef)
bool SwDocShell::GetProtectionHash ( css::uno::Sequence< sal_Int8 > &  rPasswordHash)
overridevirtual
void SwDocShell::GetState ( SfxItemSet rSet)
sfx2::StyleManager * SwDocShell::GetStyleManager ( )
overridevirtual

Reimplemented from SfxObjectShell.

Definition at line 1165 of file docsh.cxx.

References m_pStyleManager.

SfxStyleSheetBasePool * SwDocShell::GetStyleSheetPool ( )
overridevirtual
sal_Int16 SwDocShell::GetUpdateDocMode ( ) const
inline

Definition at line 284 of file docsh.hxx.

Referenced by sw::DocumentLinksAdministrationManager::UpdateLinks().

const SwView* SwDocShell::GetView ( ) const
inline
SwView* SwDocShell::GetView ( )
inline

Definition at line 220 of file docsh.hxx.

tools::Rectangle SwDocShell::GetVisArea ( sal_uInt16  nAspect) const
overridevirtual
SwWrtShell* SwDocShell::GetWrtShell ( )
inline
const SwWrtShell* SwDocShell::GetWrtShell ( ) const
inline

Definition at line 224 of file docsh.hxx.

const ::sfx2::IXmlIdRegistry * SwDocShell::GetXmlIdRegistry ( ) const
overridevirtual

Reimplemented from SfxObjectShell.

Definition at line 1350 of file docsh.cxx.

References m_xDoc.

bool SwDocShell::HasChangeRecordProtection ( ) const
overridevirtual
void SwDocShell::Hide ( const OUString &  rName,
SfxStyleFamily  nFamily,
bool  bHidden 
)
private
void SwDocShell::Init_Impl ( )
private
void SwDocShell::InitInterface_Impl ( )
staticprivate

but we implement this ourselves.

SfxInterface initializer.

Definition at line 145 of file docsh.cxx.

bool SwDocShell::InitNew ( const css::uno::Reference< css::embed::XStorage > &  xStorage)
overrideprivatevirtual

FileIO.

Reimplemented from SfxObjectShell.

Definition at line 107 of file docshini.cxx.

References AddLink(), LanguageTag::convertToLanguageType(), FONT_CAPTION, FONT_CAPTION_CJK, FONT_CAPTION_CTL, FONT_INDEX, FONT_INDEX_CJK, FONT_INDEX_CTL, FONT_LIST, FONT_LIST_CJK, FONT_LIST_CTL, FONT_OUTLINE, FONT_OUTLINE_CJK, FONT_OUTLINE_CTL, FONT_STANDARD, FONT_STANDARD_CJK, FONT_STANDARD_CTL, GetAppLanguage(), SwFormat::GetAttrSet(), SvxAsianConfig::GetCharDistanceCompression(), vcl::Font::GetCharSet(), SfxObjectShell::GetCreateMode(), OutputDevice::GetDefaultFont(), GetDefaultFrameDirection(), SwStdFontConfig::GetDefaultHeightFor(), GetDoc(), vcl::Font::GetFamilyName(), vcl::Font::GetFamilyType(), SwStdFontConfig::GetFontFor(), SwStdFontConfig::GetFontHeight(), SwFormat::GetFormatAttr(), SvxFontHeightItem::GetHeight(), SwDoc::getIDocumentSettingAccess(), SfxItemSet::GetItemState(), SvxLanguageItem::GetLanguage(), LanguageTag::getLanguageType(), SfxObjectShell::GetMapUnit(), vcl::Font::GetPitch(), Application::GetSettings(), SvxAsianConfig::GetStartEndCharLocales(), SvxAsianConfig::GetStartEndChars(), AllSettings::GetUILanguageTag(), GLOBAL_DOCUMENT, i, SfxObjectShell::InitNew(), SwTransferable::InitOle(), SwStdFontConfig::IsFontDefault(), utl::ConfigManager::IsFuzzing(), SvxAsianConfig::IsKerningWesternTextOnly(), MsLangId::isKorean(), KERN_ASIAN_PUNCTUATION, m_xDoc, MATH_BASELINE_ALIGNMENT, RES_CHRATR_AUTOKERN, RES_CHRATR_CJK_FONT, RES_CHRATR_CJK_FONTSIZE, RES_CHRATR_CJK_LANGUAGE, RES_CHRATR_CTL_FONT, RES_CHRATR_CTL_FONTSIZE, RES_CHRATR_CTL_LANGUAGE, RES_CHRATR_FONT, RES_CHRATR_FONTSIZE, RES_CHRATR_LANGUAGE, RES_COLLAPSING_BORDERS, RES_PARATR_ADJUST, RES_POOLCOLL_HEADLINE_BASE, RES_POOLCOLL_LABEL, RES_POOLCOLL_NUMBUL_BASE, RES_POOLCOLL_REGISTER_BASE, RES_POOLCOLL_STANDARD, SwTextFormatColl::ResetFormatAttr(), IDocumentSettingAccess::set(), SwTextFormatColl::SetFormatAttr(), SvxFontHeightItem::SetHeight(), SetHTMLTemplate(), SubInitNew(), and SW_MOD.

bool SwDocShell::InsertGeneratedStream ( SfxMedium rMedium,
css::uno::Reference< css::text::XTextRange > const &  xInsertPosition 
)
overrideprivatevirtual

Reimplemented from SfxObjectShell.

Definition at line 152 of file docsh.cxx.

References ERRCODE_NONE, and sw::XTextRangeToSwPaM().

void SwDocShell::InvalidateModel ( )
bool SwDocShell::IsChangeRecording ( ) const
overridevirtual

passwword protection for Writer (derived from SfxObjectShell) see also: FN_REDLINE_ON, FN_REDLINE_ON

Reimplemented from SfxObjectShell.

Definition at line 1355 of file docsh.cxx.

References SwEditShell::GetRedlineFlags(), m_pWrtShell, and On.

SAL_DLLPRIVATE bool SwDocShell::IsTemplate ( )
inline

Definition at line 307 of file docsh.hxx.

Referenced by SwXTextDocument::getPropertyValue().

bool SwDocShell::Load ( SfxMedium rMedium)
overrideprivatevirtual
bool SwDocShell::LoadFrom ( SfxMedium rMedium)
overrideprivatevirtual
void SwDocShell::LoadingFinished ( )

linked graphics are now loaded on demand.

Thus, loading of linked graphics no longer needed and necessary for the load of document being finished.

Definition at line 1191 of file docsh.cxx.

References SfxObjectShell::FinishedLoading(), SfxViewFrame::GetFirst(), SfxShell::GetViewShell(), and m_xDoc.

Referenced by ConvertFrom(), and Load().

void SwDocShell::LoadStyles ( SfxObjectShell rSource)
overridevirtual

Reimplemented from SfxObjectShell.

Definition at line 1318 of file docst.cxx.

References LoadStyles_().

void SwDocShell::LoadStyles_ ( SfxObjectShell rSource,
bool  bPreserveCurrentDocument 
)
ErrCode SwDocShell::LoadStylesFromFile ( const OUString &  rURL,
SwgReaderOption const &  rOpt,
bool  bUnoCall 
)
std::unique_ptr< SwDocShell::LockAllViewsGuard > SwDocShell::LockAllViews ( )

Definition at line 403 of file docsh.cxx.

References GetEditShell().

Referenced by SaveAs().

void SwDocShell::MakeByExample ( const OUString &  rName,
SfxStyleFamily  nFamily,
SfxStyleSearchBits  nMask,
SwWrtShell pShell 
)
private

Definition at line 1150 of file docst.cxx.

References aFrameFormatSetRange, SwEditShell::ChgNumRuleFormats(), SfxItemSet::ClearItem(), COLL_DOC_BITS, COLL_EXTRA_BITS, COLL_HTML_BITS, COLL_LISTS_BITS, COLL_REGISTER_BITS, COLL_TEXT_BITS, SwDoc::CopyPageDesc(), IDocumentUndoRedo::DelAllUndoObj(), SwEditShell::EndAllAction(), SwEditShell::FillByEx(), SwDocStyleSheet::GetCharFormat(), SwDocStyleSheet::GetCollection(), SwEditShell::GetCurCharFormat(), SwFEShell::GetCurPageDesc(), SwEditShell::GetCurTextFormatColl(), SwViewShell::GetDoc(), SwFEShell::GetFlyFrameAttr(), SwDocStyleSheet::GetFrameFormat(), SwDoc::getIDocumentListsAccess(), SwDoc::GetIDocumentUndoRedo(), SwNumRule::GetName(), SwDocStyleSheet::GetNumRule(), SwEditShell::GetNumRuleAtCurrCursorPos(), SwDocStyleSheet::GetPageDesc(), SwFEShell::GetPageDesc(), SfxShell::GetPool(), SwFormat::GetPoolFormatId(), SwPageDesc::GetPoolFormatId(), SwPageDesc::GetPoolHelpId(), SwPageDesc::GetPoolHlpFileId(), SwFEShell::GetSelectedFrameFormat(), SwFEShell::GetTableAutoFormat(), SwDocStyleSheet::GetTableFormat(), GetWrtShell(), SwFormat::IsDefault(), SwFEShell::IsFrameSelected(), m_xBasePool, nId, pChar, SwEditShell::ReplaceNumRule(), RES_ANCHOR, SwEditShell::SetAttrItem(), SwFormat::SetDerivedFrom(), SwFormat::SetFormatAttr(), SwFEShell::SetFrameFormat(), SwNumRule::SetName(), SwFormat::SetPoolFormatId(), SwPageDesc::SetPoolFormatId(), SwPageDesc::SetPoolHelpId(), SwPageDesc::SetPoolHlpFileId(), SwFEShell::SetTableStyle(), SwEditShell::SetTextFormatColl(), and SwEditShell::StartAllAction().

Referenced by ExecStyleSheet().

void SwDocShell::Notify ( SfxBroadcaster rBC,
const SfxHint rHint 
)
overrideprivatevirtual
void SwDocShell::OnDocumentPrinterChanged ( Printer pNewPrinter)
overridevirtual
bool SwDocShell::PrepareClose ( bool  bUI = true)
overrideprivatevirtual
void SwDocShell::ReactivateModel ( )

Definition at line 470 of file docshini.cxx.

References SfxObjectShell::GetBaseModel().

Referenced by SwXMLTextBlocks::ClearDoc().

void SwDocShell::ReconnectDdeLink ( SfxObjectShell rServer)
overridevirtual

Reimplemented from SfxObjectShell.

Definition at line 1367 of file docsh2.cxx.

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

void SwDocShell::RegisterAutomationDocumentEventsCaller ( css::uno::Reference< ooo::vba::XSinkCaller > const &  xCaller)

Definition at line 1420 of file docsh.cxx.

References mxAutomationDocumentEventsCaller.

Referenced by SwVbaDocument::AddSink().

void SwDocShell::RegisterAutomationDocumentObject ( css::uno::Reference< ooo::vba::word::XDocument > const &  xDocument)

Definition at line 1431 of file docsh.cxx.

References mxAutomationDocumentObject.

Referenced by SwVbaDocument::Initialize().

void SwDocShell::ReloadFromHtml ( const OUString &  rStreamName,
SwSrcView pSrcView 
)
void SwDocShell::RemoveLink ( )
private
void SwDocShell::RemoveOLEObjects ( )
private
bool SwDocShell::Save ( )
overridevirtual
bool SwDocShell::SaveAs ( SfxMedium rMedium)
overrideprivatevirtual

Reimplemented from SfxObjectShell.

Definition at line 409 of file docsh.cxx.

References INetURLObject::All, docfunc::AllDrawObjsOnPage(), CalcLayoutForOLEObjects(), SwEditShell::ClassifyDocPerHighestParagraphClass(), DO_NOT_CAPTURE_DRAW_OBJS_ON_PAGE, SfxObjectShell::DoClose(), INetURLObject::encode(), SwCursorShell::EndAllTableBoxEdit(), ERR_SWG_WRITE_ERROR, ERRCODE_NONE, FILTER_WW8, SvtFilterOptions::Get(), SfxMedium::GetBaseURL(), SfxObjectShell::GetCreateMode(), GetDoc(), SwView::GetEditWin(), SwDBManager::getEmbeddedName(), SfxMedium::GetFilter(), SwDoc::getIDocumentSettingAccess(), SfxItemSet::GetItem(), SfxMedium::GetItemSet(), INetURLObject::GetMainURL(), SfxObjectShell::GetMedium(), SfxObjectShell::GetModel(), SfxMedium::GetName(), SfxMedium::GetOutputStorage(), SwView::GetPostItMgr(), comphelper::getProcessComponentContext(), GetSaveWarningOfMSVBAStorage(), SfxMedium::GetURLObject(), SotStorage::GetVersion(), GetXMLWriter(), GLOBAL_DOCUMENT, GLOBAL_DOCUMENT_SAVE_LINKS, SwPostItMgr::HasActiveSidebarWin(), ErrCode::IsError(), SvtFilterOptions::IsLoadWordBasicStorage(), SwViewShell::IsViewLocked(), LockAllViews(), SwViewShell::LockView(), m_pView, m_pWrtShell, m_xDoc, INetURLObject::NONE, INetURLObject::PART_FPATH, RemoveOLEObjects(), SfxObjectShell::SaveAs(), SfxObjectShell::SetError(), SfxObjectShell::SetupStorage(), SwEditWin::StopQuickHelp(), SwDBManager::StoreEmbeddedDataSource(), SW_MOD, SwPostItMgr::UpdateDataOnActiveSidebarWin(), SwEditShell::ValidateAllParagraphSignatures(), and SwWriter::Write().

Referenced by ConvertTo().

bool SwDocShell::SaveCompleted ( const css::uno::Reference< css::embed::XStorage > &  xStorage)
overrideprivatevirtual
void SwDocShell::SetChangeRecording ( bool  bActivate)
overridevirtual
void SwDocShell::SetFormatSpecificCompatibilityOptions ( const OUString &  rFilterTypeName)
overridevirtual
SAL_DLLPRIVATE void SwDocShell::SetIsTemplate ( bool  bValue)
inline

Definition at line 308 of file docsh.hxx.

Referenced by SwWW8ImplReader::CoreLoad().

void SwDocShell::SetModified ( bool  bSet = true)
overridevirtual
void SwDocShell::SetProtectionPassword ( const OUString &  rPassword)
overridevirtual
void SwDocShell::SetView ( SwView pVw)
void SwDocShell::SetVisArea ( const tools::Rectangle rRect)
overridevirtual
Reader * SwDocShell::StartConvertFrom ( SfxMedium rMedium,
SwReaderPtr rpRdr,
SwCursorShell const *  pCursorSh = nullptr,
SwPaM pPaM = nullptr 
)
void SwDocShell::StateStyleSheet ( SfxItemSet rSet,
SwWrtShell pSh = nullptr 
)
void SwDocShell::SubInitNew ( )
private
void SwDocShell::ToggleLayoutMode ( SwView pView)
void SwDocShell::UpdateChildWindows ( )
void SwDocShell::UpdateFontList ( )
void SwDocShell::UpdateLinks ( )
overridevirtual

#i42634# Overwrites SfxObjectShell::UpdateLinks This new function is necessary to trigger update of links in docs read by the binary filter:

Reimplemented from SfxObjectShell.

Definition at line 1295 of file docsh.cxx.

References GetDoc(), SwDoc::GetFootnoteIdxs(), SwDoc::getIDocumentLinksAdministration(), SwDoc::GetNodes(), SwTextFootnote::SetUniqueSeqRefNo(), SwFootnoteIdxs::UpdateFootnote(), and IDocumentLinksAdministration::UpdateLinks().

void SwDocShell::UpdateStyle ( const OUString &  rName,
SfxStyleFamily  nFamily,
SwWrtShell pShell 
)
private

Member Data Documentation

bool SwDocShell::m_IsATemplate
private

prevent nested calls of UpdateFontList

Definition at line 88 of file docsh.hxx.

bool SwDocShell::m_IsInUpdateFontList
private

prevent nested calls of UpdateFontList

Definition at line 74 of file docsh.hxx.

Referenced by UpdateFontList().

bool SwDocShell::m_IsRemovedInvisibleContent
private

whether SID_MAIL_PREPAREEXPORT removed content that SID_MAIL_EXPORT_FINISHED needs to restore

Definition at line 90 of file docsh.hxx.

Referenced by Execute().

sal_Int16 SwDocShell::m_nUpdateDocMode
private

contains the css::document::UpdateDocMode

Definition at line 87 of file docsh.hxx.

Referenced by Load(), and StartConvertFrom().

std::unique_ptr<FontList> SwDocShell::m_pFontList
private

Current Fontlist.

Definition at line 73 of file docsh.hxx.

Referenced by GetState(), UpdateFontList(), and ~SwDocShell().

std::unique_ptr<comphelper::EmbeddedObjectContainer> SwDocShell::m_pOLEChildList
private

Definition at line 86 of file docsh.hxx.

Referenced by RemoveOLEObjects(), SaveCompleted(), and ~SwDocShell().

std::unique_ptr<sfx2::StyleManager> SwDocShell::m_pStyleManager
private

Definition at line 76 of file docsh.hxx.

Referenced by GetStyleManager().

SwView* SwDocShell::m_pView
private

For "historical reasons" nothing can be done without the WrtShell.

Back-pointer on View (again "for historical reasons"). Back-pointer is valid until in Activate a new one is set or until it is deleted in the View's Dtor.

Definition at line 83 of file docsh.hxx.

Referenced by ConvertTo(), DoWaterCan(), Edit(), LoadStyles_(), Save(), SaveAs(), SetView(), and SetVisArea().

SwWrtShell* SwDocShell::m_pWrtShell
private
rtl::Reference< SfxStyleSheetBasePool > SwDocShell::m_xBasePool
private
rtl::Reference< SwDoc > SwDocShell::m_xDoc
private
css::uno::Reference< ooo::vba::XSinkCaller > SwDocShell::mxAutomationDocumentEventsCaller
private
css::uno::Reference< ooo::vba::word::XDocument> SwDocShell::mxAutomationDocumentObject
private

Definition at line 95 of file docsh.hxx.

Referenced by Notify(), PrepareClose(), and RegisterAutomationDocumentObject().


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