LibreOffice Module sfx2 (master) 1
Classes | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Types | Private Member Functions | Static Private Member Functions | Private Attributes | Friends | List of all members
SfxObjectShell Class Referenceabstract

#include <objsh.hxx>

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

Classes

class  LockAllViewsGuard
 

Public Member Functions

void Stamp_SetPrintCancelState (bool bState)
 
bool Stamp_GetPrintCancelState () const
 
virtual void Invalidate (sal_uInt16 nId=0) override
 With this method can the slots of the subclasses be invalidated through the slot Id or alternatively through the Which ID. More...
 
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 ()
 Initialize bare minimum just enough for unit test runs. More...
 
bool DoInitNew ()
 
bool DoLoad (SfxMedium *pMedium)
 
bool DoLoadExternal (SfxMedium *pMed)
 
bool DoSave ()
 
bool DoSaveAs (SfxMedium &rNewStor)
 
bool DoSaveObjectAs (SfxMedium &rNewStor, bool bCommit)
 
virtual bool DoSaveCompleted (SfxMedium *pNewStor=nullptr, bool bRegisterRecent=true)
 
virtual void TerminateEditing ()
 Terminate any in-flight editing. Used before saving, primarily by Calc to commit cell changes. More...
 
bool LoadOwnFormat (SfxMedium &pMedium)
 
virtual bool SaveAsOwnFormat (SfxMedium &pMedium)
 
virtual bool ConvertFrom (SfxMedium &rMedium)
 
virtual bool ConvertTo (SfxMedium &rMedium)
 
virtual bool InitNew (const css::uno::Reference< css::embed::XStorage > &xStorage)
 
virtual bool Load (SfxMedium &rMedium)
 
virtual bool LoadFrom (SfxMedium &rMedium)
 
virtual bool Save ()
 
virtual bool SaveAs (SfxMedium &rMedium)
 
virtual bool SaveCompleted (const css::uno::Reference< css::embed::XStorage > &xStorage)
 
bool SwitchPersistence (const css::uno::Reference< css::embed::XStorage > &xStorage)
 
virtual void UpdateLinks ()
 
virtual bool LoadExternal (SfxMedium &rMedium)
 
bool IsConfigOptionsChecked () const
 
void SetConfigOptionsChecked (bool bChecked)
 
virtual bool QuerySlotExecutable (sal_uInt16 nSlotId)
 
void SaveChildren (bool bObjectsOnly=false)
 
bool SaveAsChildren (SfxMedium &rMedium)
 
bool SwitchChildrenPersistence (const css::uno::Reference< css::embed::XStorage > &xStorage, bool bForceNonModified=false)
 
bool SaveCompletedChildren ()
 
virtual bool InsertGeneratedStream (SfxMedium &rMedium, css::uno::Reference< css::text::XTextRange > const &xInsertPosition)
 a very special case to insert at a position in Writer from UNO, via OwnSubFilterService More...
 
virtual bool ImportFrom (SfxMedium &rMedium, css::uno::Reference< css::text::XTextRange > const &xInsertPosition)
 
bool ExportTo (SfxMedium &rMedium)
 
bool PrepareForSigning (weld::Window *pDialogParent)
 Returns true if preparing was successful, else false. More...
 
bool CheckIsReadonly (bool bSignScriptingContent, weld::Window *pDialogParent=nullptr)
 
void RecheckSignature (bool bAlsoRecheckScriptingSignature)
 
void AfterSigning (bool bSignSuccess, bool bSignScriptingContent)
 
bool HasValidSignatures () const
 
SignatureState GetDocumentSignatureState ()
 
bool SignDocumentContent (weld::Window *pDialogParent)
 
css::uno::Sequence< css::security::DocumentSignatureInformation > GetDocumentSignatureInformation (bool bScriptingContent, const css::uno::Reference< css::security::XDocumentDigitalSignatures > &xSigner=css::uno::Reference< css::security::XDocumentDigitalSignatures >())
 
bool SignDocumentContentUsingCertificate (const css::uno::Reference< css::security::XCertificate > &xCertificate)
 
bool ResignDocument (css::uno::Sequence< css::security::DocumentSignatureInformation > &rSignaturesInfo)
 
void SignSignatureLine (weld::Window *pDialogParent, const OUString &aSignatureLineId, const css::uno::Reference< css::security::XCertificate > &xCert, const css::uno::Reference< css::graphic::XGraphic > &xValidGraphic, const css::uno::Reference< css::graphic::XGraphic > &xInvalidGraphic, const OUString &aComment)
 
SignatureState GetScriptingSignatureState ()
 
bool SignScriptingContent (weld::Window *pDialogParent)
 
 DECL_DLLPRIVATE_LINK (SignDocumentHandler, weld::Button &, void)
 
virtual std::shared_ptr< SfxDocumentInfoDialogCreateDocumentInfoDialog (weld::Window *pParent, const SfxItemSet &rItemSet)
 
ErrCode CallBasic (std::u16string_view rMacro, std::u16string_view rBasicName, SbxArray *pArgs, SbxValue *pRet=nullptr)
 
ErrCode CallXScript (const OUString &rScriptURL, const css::uno::Sequence< css::uno::Any > &aParams, css::uno::Any &aRet, css::uno::Sequence< sal_Int16 > &aOutParamIndex, css::uno::Sequence< css::uno::Any > &aOutParam, bool bRaiseError=true, const css::uno::Any *aCaller=nullptr)
 
bool AdjustMacroMode ()
 adjusts the internal macro mode, according to the current security settings More...
 
SvKeyValueIteratorGetHeaderAttributes ()
 
void ClearHeaderAttributesForSourceViewHack ()
 
void SetHeaderAttributesForSourceViewHack ()
 
bool IsQueryLoadTemplate () const
 
bool IsUseUserData () const
 
bool IsUseThumbnailSave () const
 
bool IsLoadReadonly () const
 
bool IsSaveVersionOnClose () const
 
void SetQueryLoadTemplate (bool b)
 
void SetUseUserData (bool bNew)
 
void SetUseThumbnailSave (bool _bNew)
 
void SetLoadReadonly (bool _bReadonly)
 
void SetSaveVersionOnClose (bool bSet)
 
void ResetFromTemplate (const OUString &rTemplateName, std::u16string_view rFileName)
 
sal_uInt32 GetModifyPasswordHash () const
 
bool SetModifyPasswordHash (sal_uInt32 nHash)
 
void SetMacroCallsSeenWhileLoading ()
 
bool GetMacroCallsSeenWhileLoading () const
 
const css::uno::Sequence< css::beans::PropertyValue > & GetModifyPasswordInfo () const
 
bool SetModifyPasswordInfo (const css::uno::Sequence< css::beans::PropertyValue > &aInfo)
 
virtual bool PrepareClose (bool bUI=true)
 
virtual HiddenInformation GetHiddenInformationState (HiddenInformation nStates)
 
sal_Int16 QueryHiddenInformation (HiddenWarningFact eFact, weld::Window *pParent)
 
bool IsSecurityOptOpenReadOnly () const
 
void SetSecurityOptOpenReadOnly (bool bOpenReadOnly)
 
Size GetFirstPageSize () const
 
bool DoClose ()
 
std::shared_ptr< GDIMetaFileGetPreviewMetaFile (bool bFullContent=false) const
 
BitmapEx GetPreviewBitmap () const
 
virtual void CancelTransfers ()
 
bool GenerateAndStoreThumbnail (bool bEncrypted, const css::uno::Reference< css::embed::XStorage > &xStor)
 
bool WriteThumbnail (bool bEncrypted, const css::uno::Reference< css::io::XStream > &xStream)
 
bool IsInGenerateAndStoreThumbnail () const
 
bool IsAvoidRecentDocs () const
 Don't add to the recent documents - it's an expensive operation, sometimes it is not wanted. More...
 
bool IsRememberingSignature () const
 
void AvoidRecentDocs (bool bAvoid)
 Don't add to the recent documents - it's an expensive operation, sometimes it is not wanted. More...
 
bool IsContinueImportOnFilterExceptions (std::u16string_view aErrMessage)
 On first error ask user if import should continue; return saved answer. More...
 
bool IsAbortingImport () const
 
void FinishedLoading (SfxLoadedFlags nWhich=SfxLoadedFlags::ALL)
 
void TemplateDisconnectionAfterLoad ()
 
void SetLoading (SfxLoadedFlags nFlags)
 
bool IsLoading () const
 
bool IsLoadingFinished () const
 
void SetAutoLoad (const INetURLObject &, sal_uInt32 nTime, bool bReload)
 
bool IsAutoLoadLocked () const
 
bool IsPreview () const
 
SfxObjectCreateMode GetCreateMode () const
 
SfxProgressGetProgress () const
 
void SetWaitCursor (bool bSet) const
 
void SetTitle (const OUString &rTitle)
 
OUString GetTitle (sal_uInt16 nMaxLen=0) const
 
void InvalidateName ()
 
virtual ::sfx2::SvLinkSourceDdeCreateLinkSource (const OUString &rItem)
 
virtual void ReconnectDdeLink (SfxObjectShell &rServer)
 
virtual SfxStyleSheetBasePoolGetStyleSheetPool ()
 
virtual void LoadStyles (SfxObjectShell &rSource)
 
virtual sfx2::StyleManagerGetStyleManager ()
 
void SetAutoStyleFilterIndex (sal_uInt16 nSet)
 
sal_uInt16 GetAutoStyleFilterIndex () const
 
bool HasBasic () const
 
BasicManagerGetBasicManager () const
 
css::uno::Reference< css::script::XLibraryContainer > GetBasicContainer ()
 
css::uno::Reference< css::script::XLibraryContainer > GetDialogContainer ()
 
StarBASICGetBasic () const
 
std::optional< NamedColorGetRecentColor (sal_uInt16 nSlotId)
 
void SetRecentColor (sal_uInt16 nSlotId, const NamedColor &rColor)
 
virtual std::set< ColorGetDocColors ()
 
virtual std::shared_ptr< model::ColorSetGetThemeColors ()
 
virtual sfx::AccessibilityIssueCollection runAccessibilityCheck ()
 
virtual SfxObjectShellGetObjectShell () override
 
css::uno::Reference< css::frame::XModel3 > GetModel () const
 
void SetBaseModel (SfxBaseModel *pModel)
 
css::uno::Reference< css::frame::XModel3 > GetBaseModel () const
 
virtual css::uno::Sequence< OUString > GetEventNames ()
 
css::uno::Reference< css::awt::XWindow > GetDialogParent (SfxMedium const *pMedium=nullptr)
 
bool IsInPlaceActive () const
 
bool IsUIActive () const
 
bool isEditDocLocked () const
 
bool isContentExtractionLocked () const
 
bool isExportLocked () const
 
bool isPrintLocked () const
 
bool isSaveLocked () const
 
void EnableSetModified (bool bEnable=true)
 
bool IsEnableSetModified () const
 
virtual void SetModified (bool bModified=true)
 
bool IsModified () const
 
void SetupStorage (const css::uno::Reference< css::embed::XStorage > &xStorage, sal_Int32 nVersion, bool bTemplate) const
 
css::uno::Reference< css::embed::XStorage > const & GetStorage ()
 
SvGlobalName const & GetClassName () const
 
virtual css::uno::Reference< css::task::XInteractionHandler > getInteractionHandler () const override
 
virtual css::uno::Reference< css::embed::XStorage > getStorage () const override
 
virtual comphelper::EmbeddedObjectContainergetEmbeddedObjectContainer () const override
 
bool isEnableSetModified () const override
 
virtual OUString getDocumentBaseURL () const override
 
comphelper::EmbeddedObjectContainerGetEmbeddedObjectContainer () const
 
void ClearEmbeddedObjects ()
 
virtual PrinterGetDocumentPrinter ()
 
virtual OutputDeviceGetDocumentRefDev ()
 
virtual void OnDocumentPrinterChanged (Printer *pNewPrinter)
 
virtual tools::Rectangle GetVisArea (sal_uInt16 nAspect) const
 
virtual void SetVisArea (const tools::Rectangle &rVisArea)
 
const tools::RectangleGetVisArea () const
 
void SetVisAreaSize (const Size &rVisSize)
 
MapUnit GetMapUnit () const
 
void SetMapUnit (MapUnit nMUnit)
 
void FillTransferableObjectDescriptor (TransferableObjectDescriptor &rDesc) const
 
void DoDraw (OutputDevice *, const Point &rObjPos, const Size &rSize, const JobSetup &rSetup, sal_uInt16 nAspect=ASPECT_CONTENT, bool bOutputForScreen=false)
 
virtual void Draw (OutputDevice *, const JobSetup &rSetup, sal_uInt16 nAspect, bool bOutputForScreen)=0
 
virtual void FillClass (SvGlobalName *pClassName, SotClipboardFormatId *pFormat, OUString *pFullTypeName, sal_Int32 nVersion, bool bTemplate=false) const =0
 
virtual bool IsChangeRecording () const
 
virtual bool HasChangeRecordProtection () const
 
virtual void SetChangeRecording (bool bActivate, bool bLockAllViews=false)
 
virtual void SetProtectionPassword (const OUString &rPassword)
 
virtual bool GetProtectionHash (css::uno::Sequence< sal_Int8 > &rPasswordHash)
 
void AppendInfoBarWhenReady (const OUString &sId, const OUString &sPrimaryMessage, const OUString &sSecondaryMessage, InfobarType aInfobarType, bool bShowCloseButton=true)
 Append Infobar once the frame is ready. More...
 
std::vector< InfobarData > & getPendingInfobars ()
 
SAL_DLLPRIVATE bool CreatePreview_Impl (bool bFullContent, VirtualDevice *pDevice, GDIMetaFile *pFile) const
 
SAL_DLLPRIVATE bool ConnectTmpStorage_Impl (const css::uno::Reference< css::embed::XStorage > &xStorage, SfxMedium *pMedium)
 
SAL_DLLPRIVATE bool DisconnectStorage_Impl (SfxMedium &rSrcMedium, SfxMedium &rTargetMedium)
 
SAL_DLLPRIVATE bool PutURLContentsToVersionStream_Impl (const OUString &aURL, const css::uno::Reference< css::embed::XStorage > &xDocStorage, const OUString &aStreamName)
 
SAL_DLLPRIVATE OUString CreateTempCopyOfStorage_Impl (const css::uno::Reference< css::embed::XStorage > &xStorage)
 
SAL_DLLPRIVATE void InitOwnModel_Impl ()
 
SAL_DLLPRIVATE void BreakMacroSign_Impl (bool bBreakMacroSing)
 
SAL_DLLPRIVATE void CheckSecurityOnLoading_Impl ()
 
SAL_DLLPRIVATE void CheckForBrokenDocSignatures_Impl ()
 
SAL_DLLPRIVATE void CheckEncryption_Impl (const css::uno::Reference< css::task::XInteractionHandler > &xHandler)
 
SAL_DLLPRIVATE void SetModifyPasswordEntered (bool bEntered=true)
 
SAL_DLLPRIVATE bool IsModifyPasswordEntered () const
 
SAL_DLLPRIVATE void InitBasicManager_Impl ()
 
SAL_DLLPRIVATE SfxObjectShell_ImplGet_Impl ()
 
SAL_DLLPRIVATE const SfxObjectShell_ImplGet_Impl () const
 
SAL_DLLPRIVATE void SetCreateMode_Impl (SfxObjectCreateMode nMode)
 
SAL_DLLPRIVATE void DoDraw_Impl (OutputDevice *pDev, const Point &rViewPos, const Fraction &rScaleX, const Fraction &rScaleY, const JobSetup &rSetup, sal_uInt16 nAspect, bool bOutputForScreen)
 
SAL_DLLPRIVATE void ExecFile_Impl (SfxRequest &)
 
SAL_DLLPRIVATE void GetState_Impl (SfxItemSet &)
 
SAL_DLLPRIVATE void PrintExec_Impl (SfxRequest &)
 
SAL_DLLPRIVATE void PrintState_Impl (SfxItemSet &)
 
SAL_DLLPRIVATE void ExecProps_Impl (SfxRequest &)
 
SAL_DLLPRIVATE void StateProps_Impl (SfxItemSet &)
 
SAL_DLLPRIVATE void ExecView_Impl (SfxRequest &)
 
SAL_DLLPRIVATE bool ImportFromGeneratedStream_Impl (const css::uno::Reference< css::io::XStream > &xStream, const css::uno::Sequence< css::beans::PropertyValue > &aMediaDescr)
 
SAL_DLLPRIVATE void UpdateFromTemplate_Impl ()
 
SAL_DLLPRIVATE bool CanReload_Impl ()
 
SAL_DLLPRIVATE void SetNamedVisibility_Impl ()
 
SAL_DLLPRIVATE bool DoSave_Impl (const SfxItemSet *pSet)
 
SAL_DLLPRIVATE bool Save_Impl (const SfxItemSet *pSet)
 
SAL_DLLPRIVATE bool PreDoSaveAs_Impl (const OUString &rFileName, const OUString &rFiltName, SfxItemSet const &rItemSet, const css::uno::Sequence< css::beans::PropertyValue > &rArgs)
 
SAL_DLLPRIVATE bool APISaveAs_Impl (std::u16string_view aFileName, SfxItemSet &rItemSet, const css::uno::Sequence< css::beans::PropertyValue > &rArgs)
 
SAL_DLLPRIVATE bool CommonSaveAs_Impl (const INetURLObject &aURL, const OUString &aFilterName, SfxItemSet &rItemSet, const css::uno::Sequence< css::beans::PropertyValue > &rArgs)
 
SAL_DLLPRIVATE bool GeneralInit_Impl (const css::uno::Reference< css::embed::XStorage > &xStorage, bool bTypeMustBeSetAlready)
 
SAL_DLLPRIVATE void PrepareSecondTryLoad_Impl ()
 
SAL_DLLPRIVATE void SetInitialized_Impl (const bool i_fromInitNew)
 
SAL_DLLPRIVATE IndexBitSetGetNoSet_Impl ()
 
SAL_DLLPRIVATE void SetProgress_Impl (SfxProgress *pProgress)
 
SAL_DLLPRIVATE void PostActivateEvent_Impl (SfxViewFrame const *)
 
SAL_DLLPRIVATE void SetActivateEvent_Impl (SfxEventHintId)
 
SAL_DLLPRIVATE SignatureState ImplGetSignatureState (bool bScriptingContent=false)
 
SAL_DLLPRIVATE bool QuerySaveSizeExceededModules_Impl (const css::uno::Reference< css::task::XInteractionHandler > &xHandler)
 
SAL_DLLPRIVATE void CheckOut ()
 
SAL_DLLPRIVATE void CancelCheckOut ()
 
SAL_DLLPRIVATE void CheckIn ()
 
SAL_DLLPRIVATE css::uno::Sequence< css::document::CmisVersion > GetCmisVersions () const
 
virtual const sfx2::IXmlIdRegistryGetXmlIdRegistry () const
 override this if you have a XmlIdRegistry. More...
 
bool IsSignPDF () const
 Is this read-only object shell opened via .uno:SignPDF? More...
 
css::uno::Reference< css::security::XCertificate > GetSignPDFCertificate () const
 Gets the certificate that is already picked by the user but not yet used for signing. More...
 
css::uno::Sequence< css::beans::PropertyValue > GetDocumentProtectionFromGrabBag () const
 Gets grab-bagged password info to unprotect change tracking with verification. More...
 
virtual std::unique_ptr< LockAllViewsGuardLockAllViews ()
 
- Public Member Functions inherited from SfxShell
virtual ~SfxShell () override
 The connection to a possible corresponding SbxObject is dissolved. More...
 
virtual SfxInterfaceGetInterface () const
 With this virtual method, which is automatically overridden by each subclass with its own slots through the macro <SFX_DECL_INTERFACE>, one can access each of the <SfxInterface> instance belonging to the subclass. More...
 
void SetName (const OUString &rName)
 Sets the name of the Shell object. More...
 
const OUString & GetName () const
 Returns the name of the Shell object. More...
 
SfxViewShellGetViewShell () const
 Returns the SfxViewShell in which they are located in the subshells. More...
 
const SfxPoolItemGetSlotState (sal_uInt16 nSlotId, const SfxInterface *pIF=nullptr, SfxItemSet *pStateSet=nullptr)
 This method returns the status of the slot with the specified slot ID on the specified interface. More...
 
const SfxPoolItemExecuteSlot (SfxRequest &rReq, const SfxInterface *pIF=nullptr)
 This method allows you to forward a <SfxRequest> to the specified base <SfxShell>. More...
 
void ExecuteSlot (SfxRequest &rReq, bool bAsync)
 Asynchronous ExecuteSlot for the RELOAD. More...
 
SfxItemPoolGetPool () const
 Each Subclass of SfxShell must reference a pool. More...
 
void SetPool (SfxItemPool *pNewPool)
 With this method, the subclasses register their special <SfxItemPool> in the SfxShell. More...
 
virtual SfxUndoManagerGetUndoManager ()
 Each Subclass of SfxShell can have a <SfxUndoManager>. More...
 
void SetUndoManager (SfxUndoManager *pNewUndoMgr)
 Sets a <SfxUndoManager> for this <SfxShell> Instance. More...
 
SfxRepeatTarget * GetRepeatTarget () const
 Returns a pointer to the <SfxRepeatTarget> instance that is used in SID_REPEAT as repeat target when it is addressed from the <SfxUndoManager> supplied by this SfxShell. More...
 
void SetRepeatTarget (SfxRepeatTarget *pTarget)
 Sets the <SfxRepeatTarget> instance that is used in SID_REPEAT as RepeatTarget, when the current supplied by this <SfxUndoManager> is addressed. More...
 
virtual void Invalidate (sal_uInt16 nId=0)
 With this method can the slots of the subclasses be invalidated through the slot Id or alternatively through the Which ID. More...
 
virtual bool IsDesignMode () const
 
bool IsActive () const
 
virtual void Activate (bool bMDI)
 Virtual method that is called when enabling the SfxShell instance, in order to give the Subclasses the opportunity to respond to the to the enabling. More...
 
virtual void Deactivate (bool bMDI)
 Virtual method that is called when disabling the SfxShell instance, to give the Subclasses the opportunity to respond to the disabling. More...
 
SfxDispatcherGetDispatcher () const
 This method returns a pointer to the <SfxDispatcher>, when the SfxShell is currently <UI-active> or a NULL-pointer if it is not UI-active. More...
 
SfxViewFrameGetFrame () const
 This method returns a pointer to the <SfxViewFrame> to which this SfxShell instance is associated or in which they currently is <UI-active>. More...
 
virtual bool HasUIFeature (SfxShellFeature nFeature) const
 
void UIFeatureChanged ()
 
const SfxPoolItemGetItem (sal_uInt16 nSlotId) const
 With this method any objects of <SfxPoolItemu> subclasses can be accessed. More...
 
template<class T >
const T * GetItem (TypedWhichId< T > nWhich) const
 
void PutItem (const SfxPoolItem &rItem)
 With this method, any objects of subclasses of <SfxPoolItem> can be made available. More...
 
void SetVerbs (const css::uno::Sequence< css::embed::VerbDescriptor > &aVerbs)
 
const css::uno::Sequence< css::embed::VerbDescriptor > & GetVerbs () const
 
void VerbExec (SfxRequest &)
 
SAL_DLLPRIVATE const SfxSlotGetVerbSlot_Impl (sal_uInt16 nId) const
 
virtual SfxObjectShellGetObjectShell ()
 
void SetDisableFlags (SfxDisableFlags nFlags)
 
SfxDisableFlags GetDisableFlags () const
 
virtual std::optional< SfxItemSetCreateItemSet (sal_uInt16 nId)
 
virtual void ApplyItemSet (sal_uInt16 nId, const SfxItemSet &rSet)
 
void SetContextName (const OUString &rsContextName)
 Set the name of the sidebar context that is broadcast on calls to Activation(). More...
 
void BroadcastContextForActivation (const bool bIsActivated)
 Broadcast a sidebar context change. More...
 
bool SetContextBroadcasterEnabled (const bool bIsEnabled)
 Enabled or disable the context broadcaster. More...
 
SAL_DLLPRIVATE bool CanExecuteSlot_Impl (const SfxSlot &rSlot)
 This method determines by calling the status function whether 'rSlot' can be executed currently. More...
 
virtual bool IsConditionalFastCall (const SfxRequest &rReq)
 This method determines whether we need to execute without checking the disabled state of the slot. More...
 
SAL_DLLPRIVATE void DoActivate_Impl (SfxViewFrame *pFrame, bool bMDI)
 This method controls the activation of SfxShell instance. More...
 
SAL_DLLPRIVATE void DoDeactivate_Impl (SfxViewFrame const *pFrame, bool bMDI)
 This method controls the deactivation of the SfxShell instance. More...
 
- Public Member Functions inherited from SfxBroadcaster
 SfxBroadcaster ()
 
 SfxBroadcaster (const SfxBroadcaster &rBC)
 
virtual ~SfxBroadcaster () COVERITY_NOEXCEPT_FALSE
 
void Broadcast (const SfxHint &rHint)
 
bool HasListeners () const
 
size_t GetListenerCount () const
 
void ForAllListeners (std::function< bool(SfxListener *)> f) const
 
- Public Member Functions inherited from SotObject
 SotObject ()
 
sal_uInt16 GetOwnerLockCount () const
 
void OwnerLock (bool bLock)
 
bool DoClose ()
 
bool IsInClose () const
 
virtual EmbeddedObjectContainergetEmbeddedObjectContainer () const=0
 
virtual css::uno::Reference< css::embed::XStorage > getStorage () const=0
 
virtual css::uno::Reference< css::task::XInteractionHandler > getInteractionHandler () const=0
 
virtual bool isEnableSetModified () const=0
 
virtual OUString getDocumentBaseURL () const=0
 

Static Public Member Functions

static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId ()
 
static OUString CreateShellID (const SfxObjectShell *pShell)
 
static SAL_WARN_UNUSED_RESULT SfxObjectShellGetFirst (const std::function< bool(const SfxObjectShell *)> &isObjectShell=nullptr, bool bOnlyVisible=true)
 
static SAL_WARN_UNUSED_RESULT SfxObjectShellGetNext (const SfxObjectShell &rPrev, const std::function< bool(const SfxObjectShell *)> &isObjectShell=nullptr, bool bOnlyVisible=true)
 
static SAL_WARN_UNUSED_RESULT SfxObjectShellCurrent ()
 
static css::uno::Reference< css::uno::XInterface > GetCurrentComponent ()
 
static void SetCurrentComponent (const css::uno::Reference< css::uno::XInterface > &_rxComponent)
 
static ErrCode CallXScript (const css::uno::Reference< css::uno::XInterface > &_rxScriptContext, const OUString &rScriptURL, const css::uno::Sequence< css::uno::Any > &aParams, css::uno::Any &aRet, css::uno::Sequence< sal_Int16 > &aOutParamIndex, css::uno::Sequence< css::uno::Any > &aOutParam, bool bRaiseError=true, const css::uno::Any *aCaller=nullptr)
 
static bool UnTrustedScript (const OUString &rScriptURL)
 
static bool isScriptAccessAllowed (const css::uno::Reference< css::uno::XInterface > &rScriptContext)
 
static ErrCode HandleFilter (SfxMedium *pMedium, SfxObjectShell const *pDoc)
 
static void ReconnectDdeLinks (SfxObjectShell &rServer)
 
static SfxObjectShellCreateObject (const OUString &rServiceName, SfxObjectCreateMode=SfxObjectCreateMode::STANDARD)
 
static SfxObjectShellCreateObjectByFactoryName (const OUString &rURL, SfxObjectCreateMode=SfxObjectCreateMode::STANDARD)
 
static css::uno::Reference< css::lang::XComponent > CreateAndLoadComponent (const SfxItemSet &rSet)
 
static SfxObjectShellGetShellFromComponent (const css::uno::Reference< css::uno::XInterface > &xComp)
 
static SfxObjectShellGetParentShell (const css::uno::Reference< css::uno::XInterface > &xChild)
 
static OUString GetServiceNameFromFactory (const OUString &rFact)
 
static bool CopyStoragesOfUnknownMediaType (const css::uno::Reference< css::embed::XStorage > &xSource, const css::uno::Reference< css::embed::XStorage > &xTarget, const css::uno::Sequence< OUString > &rExceptions=css::uno::Sequence< OUString >())
 
static bool IsOwnStorageFormat (const SfxMedium &)
 
static SAL_DLLPRIVATE bool IsPackageStorageFormat_Impl (const SfxMedium &)
 
static SAL_DLLPRIVATE bool UseInteractionToHandleError (const css::uno::Reference< css::task::XInteractionHandler > &xHandler, ErrCode nError)
 
static SAL_DLLPRIVATE void StateView_Impl (SfxItemSet &)
 
static SAL_DLLPRIVATE bool QueryAllowExoticFormat_Impl (const css::uno::Reference< css::task::XInteractionHandler > &xHandler, const OUString &rURL, const OUString &rFilterUIName)
 
- Static Public Member Functions inherited from SfxShell
static SfxInterfaceGetStaticInterface ()
 
static void EmptyExecStub (SfxShell *pShell, SfxRequest &)
 
static void EmptyStateStub (SfxShell *pShell, SfxItemSet &)
 
static void VerbState (SfxItemSet &)
 

Protected Member Functions

 SfxObjectShell (SfxObjectCreateMode)
 Constructor of the class SfxObjectShell. More...
 
 SfxObjectShell (SfxModelFlags)
 
virtual ~SfxObjectShell () override
 
void ModifyChanged ()
 
virtual bool Close () override
 
virtual void DoFlushDocInfo ()
 template method, called by FlushDocInfo; this implementation is empty More...
 
void AddToRecentlyUsedList ()
 
- Protected Member Functions inherited from SfxShell
 SfxShell ()
 The constructor of the SfxShell class initializes only simple types, the corresponding SbxObject is only created on-demand. More...
 
 SfxShell (SfxViewShell *pViewSh)
 The constructor of the SfxShell class initializes only simple types, the corresponding SbxObject is only created on-demand. More...
 
void SetViewShell_Impl (SfxViewShell *pView)
 
SAL_DLLPRIVATE void Invalidate_Impl (SfxBindings &rBindings, sal_uInt16 nId)
 
- Protected Member Functions inherited from SfxBroadcaster
void Forward (SfxBroadcaster &rBC, const SfxHint &rHint)
 
- Protected Member Functions inherited from SotObject
virtual ~SotObject () override
 
virtual bool Close ()
 
- Protected Member Functions inherited from comphelper::IEmbeddedHelper
 ~IEmbeddedHelper ()
 

Private Types

enum  TriState {
  undefined ,
  yes ,
  no
}
 

Private Member Functions

bool CloseInternal ()
 
SAL_DLLPRIVATE void UpdateTime_Impl (const css::uno::Reference< css::document::XDocumentProperties > &i_xDocProps)
 
SAL_DLLPRIVATE bool SaveTo_Impl (SfxMedium &rMedium, const SfxItemSet *pSet)
 

Static Private Member Functions

static void InitInterface_Impl ()
 SfxInterface initializer. More...
 

Private Attributes

std::unique_ptr< struct SfxObjectShell_ImplpImpl
 
SfxMediumpMedium
 
SfxObjectCreateMode eCreateMode
 
bool bHasName:1
 
bool bIsInGenerateThumbnail
 
bool mbAvoidRecentDocs
 Avoid adding to the recent documents list, if not necessary. More...
 
bool bRememberSignature
 
TriState mbContinueImportOnFilterExceptions = undefined
 
css::uno::Sequence< css::security::DocumentSignatureInformation > rSignatureInfosRemembered
 

Friends

struct ModifyBlocker_Impl
 
class SfxObjectShellLock
 

Additional Inherited Members

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

Detailed Description

Definition at line 177 of file objsh.hxx.

Member Enumeration Documentation

◆ TriState

Enumerator
undefined 
yes 
no 

Definition at line 196 of file objsh.hxx.

Constructor & Destructor Documentation

◆ SfxObjectShell() [1/2]

SfxObjectShell::SfxObjectShell ( SfxObjectCreateMode  eMode)
protected

Constructor of the class SfxObjectShell.

Parameters
eModePurpose, to which the SfxObjectShell is created: SfxObjectCreateMode::EMBEDDED (default) as SO-Server from within another Document SfxObjectCreateMode::STANDARD, as a normal Document open stand-alone SfxObjectCreateMode::ORGANIZER to be displayed in the Organizer, here nothing of the contents is used

Definition at line 273 of file objxtor.cxx.

References eMode.

◆ SfxObjectShell() [2/2]

SfxObjectShell::SfxObjectShell ( SfxModelFlags  i_nCreationFlags)
protected

◆ ~SfxObjectShell()

SfxObjectShell::~SfxObjectShell ( )
overrideprotectedvirtual

Member Function Documentation

◆ AcceptStateUpdate()

bool SfxObjectShell::AcceptStateUpdate ( ) const

Definition at line 427 of file objmisc.cxx.

References IsInModalMode().

Referenced by SfxBindings::NextJob_Impl().

◆ AddToRecentlyUsedList()

void SfxObjectShell::AddToRecentlyUsedList ( )
protected

◆ AdjustMacroMode()

bool SfxObjectShell::AdjustMacroMode ( )

adjusts the internal macro mode, according to the current security settings

Finally, the macro mode is either NEVER_EXECUTE or ALWAYS_EXECUTE_NO_WARN.

Returns
whether macros from this document should be executed

Definition at line 1605 of file objmisc.cxx.

References CheckEncryption_Impl(), CheckForBrokenDocSignatures_Impl(), SfxMedium::GetInteractionHandler(), pImpl, and pMedium.

Referenced by CallBasic(), and SfxMacroLoader::loadMacro().

◆ AfterSigning()

void SfxObjectShell::AfterSigning ( bool  bSignSuccess,
bool  bSignScriptingContent 
)

◆ APISaveAs_Impl()

bool SfxObjectShell::APISaveAs_Impl ( std::u16string_view  aFileName,
SfxItemSet rItemSet,
const css::uno::Sequence< css::beans::PropertyValue > &  rArgs 
)

◆ AppendInfoBarWhenReady()

void SfxObjectShell::AppendInfoBarWhenReady ( const OUString &  sId,
const OUString &  sPrimaryMessage,
const OUString &  sSecondaryMessage,
InfobarType  aInfobarType,
bool  bShowCloseButton = true 
)

Append Infobar once the frame is ready.

Useful when you want to register an Infobar before the doc/frame is fully loaded.

Definition at line 194 of file objmisc.cxx.

References Get_Impl(), SfxObjectShell_Impl::m_aPendingInfobars, InfobarData::maInfobarType, InfobarData::mbShowCloseButton, InfobarData::msId, InfobarData::msPrimaryMessage, InfobarData::msSecondaryMessage, and sId.

◆ AvoidRecentDocs()

void SfxObjectShell::AvoidRecentDocs ( bool  bAvoid)
inline

Don't add to the recent documents - it's an expensive operation, sometimes it is not wanted.

Definition at line 469 of file objsh.hxx.

◆ BreakMacroSign_Impl()

void SfxObjectShell::BreakMacroSign_Impl ( bool  bBreakMacroSing)

Definition at line 938 of file objmisc.cxx.

References pImpl.

Referenced by SfxBaseModel::attachResource().

◆ CallBasic()

ErrCode SfxObjectShell::CallBasic ( std::u16string_view  rMacro,
std::u16string_view  rBasicName,
SbxArray pArgs,
SbxValue pRet = nullptr 
)

◆ CallXScript() [1/2]

static ErrCode SfxObjectShell::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

◆ CallXScript() [2/2]

ErrCode SfxObjectShell::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 
)

Definition at line 1460 of file objmisc.cxx.

References CallXScript(), and GetModel().

Referenced by CallXScript(), and SfxApplication::OfaExec_Impl().

◆ CancelCheckOut()

void SfxObjectShell::CancelCheckOut ( )

◆ CancelTransfers()

void SfxObjectShell::CancelTransfers ( )
virtual

Definition at line 1264 of file objmisc.cxx.

References ALL, FinishedLoading(), IsLoading(), and pImpl.

Referenced by SfxFrame::CancelTransfers(), and SfxViewFrame::ExecReload_Impl().

◆ CanReload_Impl()

bool SfxObjectShell::CanReload_Impl ( )

◆ CheckEncryption_Impl()

void SfxObjectShell::CheckEncryption_Impl ( const css::uno::Reference< css::task::XInteractionHandler > &  xHandler)

◆ CheckForBrokenDocSignatures_Impl()

void SfxObjectShell::CheckForBrokenDocSignatures_Impl ( )

Definition at line 1003 of file objmisc.cxx.

References BROKEN, GetDocumentSignatureState(), and pImpl.

Referenced by AdjustMacroMode(), and CheckSecurityOnLoading_Impl().

◆ CheckIn()

void SfxObjectShell::CheckIn ( )

◆ CheckIsReadonly()

bool SfxObjectShell::CheckIsReadonly ( bool  bSignScriptingContent,
weld::Window pDialogParent = nullptr 
)

◆ CheckOut()

void SfxObjectShell::CheckOut ( )

◆ CheckSecurityOnLoading_Impl()

void SfxObjectShell::CheckSecurityOnLoading_Impl ( )

◆ ClearEmbeddedObjects()

void SfxObjectShell::ClearEmbeddedObjects ( )

Definition at line 218 of file objembed.cxx.

References pImpl.

◆ ClearHeaderAttributesForSourceViewHack()

void SfxObjectShell::ClearHeaderAttributesForSourceViewHack ( )

Definition at line 1539 of file objmisc.cxx.

References GetHeaderAttributes().

◆ Close()

bool SfxObjectShell::Close ( )
overrideprotectedvirtual

Reimplemented from SotObject.

Definition at line 356 of file objxtor.cxx.

References CloseInternal().

Referenced by DoClose().

◆ CloseInternal()

bool SfxObjectShell::CloseInternal ( )
private

◆ CommonSaveAs_Impl()

bool SfxObjectShell::CommonSaveAs_Impl ( const INetURLObject aURL,
const OUString &  aFilterName,
SfxItemSet rItemSet,
const css::uno::Sequence< css::beans::PropertyValue > &  rArgs 
)

◆ ConnectTmpStorage_Impl()

bool SfxObjectShell::ConnectTmpStorage_Impl ( const css::uno::Reference< css::embed::XStorage > &  xStorage,
SfxMedium pMedium 
)

◆ ConvertFrom()

bool SfxObjectShell::ConvertFrom ( SfxMedium rMedium)
virtual

Definition at line 2122 of file objstor.cxx.

Referenced by DoLoad().

◆ ConvertTo()

bool SfxObjectShell::ConvertTo ( SfxMedium rMedium)
virtual

Definition at line 2512 of file objstor.cxx.

Referenced by SaveTo_Impl().

◆ CopyStoragesOfUnknownMediaType()

bool SfxObjectShell::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

◆ CreateAndLoadComponent()

Reference< lang::XComponent > SfxObjectShell::CreateAndLoadComponent ( const SfxItemSet rSet)
static

◆ CreateDocumentInfoDialog()

std::shared_ptr< SfxDocumentInfoDialog > SfxObjectShell::CreateDocumentInfoDialog ( weld::Window pParent,
const SfxItemSet rItemSet 
)
virtual

Definition at line 311 of file objcont.cxx.

References rSet.

Referenced by ExecFile_Impl().

◆ CreateObject()

SfxObjectShell * SfxObjectShell::CreateObject ( const OUString &  rServiceName,
SfxObjectCreateMode  eCreateMode = SfxObjectCreateMode::STANDARD 
)
static

◆ CreateObjectByFactoryName()

SfxObjectShell * SfxObjectShell::CreateObjectByFactoryName ( const OUString &  rURL,
SfxObjectCreateMode  eMode = SfxObjectCreateMode::STANDARD 
)
static

Definition at line 990 of file objxtor.cxx.

References CreateObject(), eMode, and GetServiceNameFromFactory().

Referenced by UpdateFromTemplate_Impl().

◆ CreatePreview_Impl()

bool SfxObjectShell::CreatePreview_Impl ( bool  bFullContent,
VirtualDevice pDevice,
GDIMetaFile pFile 
) const

◆ CreateShellID()

OUString SfxObjectShell::CreateShellID ( const SfxObjectShell pShell)
static

Definition at line 405 of file objxtor.cxx.

References SfxMedium::GetBaseURL(), GetMedium(), and pMedium.

◆ CreateTempCopyOfStorage_Impl()

OUString SfxObjectShell::CreateTempCopyOfStorage_Impl ( const css::uno::Reference< css::embed::XStorage > &  xStorage)

◆ Current()

SfxObjectShell * SfxObjectShell::Current ( )
static

◆ DdeCreateLinkSource()

sfx2::SvLinkSource * SfxObjectShell::DdeCreateLinkSource ( const OUString &  rItem)

Definition at line 385 of file appdde.cxx.

Referenced by sfx2::LinkManager::LinkServerShell().

◆ DECL_DLLPRIVATE_LINK()

SfxObjectShell::DECL_DLLPRIVATE_LINK ( SignDocumentHandler  ,
weld::Button ,
void   
)

◆ DisconnectStorage_Impl()

bool SfxObjectShell::DisconnectStorage_Impl ( SfxMedium rSrcMedium,
SfxMedium rTargetMedium 
)

◆ DoClose()

bool SfxObjectShell::DoClose ( )

Definition at line 818 of file objxtor.cxx.

References Close().

Referenced by ExecFile_Impl(), SfxViewFrame::ExecReload_Impl(), and SfxApplication::LoadTemplate().

◆ DoDraw()

void SfxObjectShell::DoDraw ( OutputDevice pDev,
const Point rObjPos,
const Size rSize,
const JobSetup rSetup,
sal_uInt16  nAspect = ASPECT_CONTENT,
bool  bOutputForScreen = false 
)

◆ DoDraw_Impl()

void SfxObjectShell::DoDraw_Impl ( OutputDevice pDev,
const Point rViewPos,
const Fraction rScaleX,
const Fraction rScaleY,
const JobSetup rSetup,
sal_uInt16  nAspect,
bool  bOutputForScreen 
)

◆ DoFlushDocInfo()

void SfxObjectShell::DoFlushDocInfo ( )
protectedvirtual

template method, called by FlushDocInfo; this implementation is empty

Definition at line 173 of file objmisc.cxx.

Referenced by FlushDocInfo().

◆ DoInitNew()

bool SfxObjectShell::DoInitNew ( )

◆ DoInitUnitTest()

void SfxObjectShell::DoInitUnitTest ( )

Initialize bare minimum just enough for unit test runs.

Returns
true if the initialization is successful, false otherwise.

Definition at line 438 of file objstor.cxx.

References pMedium.

◆ DoLoad()

bool SfxObjectShell::DoLoad ( SfxMedium pMedium)

Definition at line 572 of file objstor.cxx.

References AddToRecentlyUsedList(), Any, bHasName, SfxBroadcaster::Broadcast(), SfxMedium::CanDisposeStorage_Impl(), ConvertFrom(), CreateDoc, DBG_ASSERT, eCreateMode, EMBEDDED, EnableSetModified(), ERRCODE_ABORT, ERRCODE_IO_ABORT, ERRCODE_IO_BROKENPACKAGE, ERRCODE_IO_FILTERDISABLED, ERRCODE_IO_GENERAL, ERRCODE_NONE, Exception, FinishedLoading(), SfxMedium::GetBaseURL(), utl::UCBContentHelper::getDefaultCommandEnvironment(), SfxMedium::GetError(), GetError(), SfxMedium::GetFilter(), SfxMedium::GetInStream(), getInteractionHandler(), SfxItemSet::GetItem(), SfxMedium::GetItemSet(), SvtLanguageTable::GetLanguageEntryCount(), SfxMedium::GetLastStorageCreationState(), GetModel(), SfxMedium::GetName(), SfxMedium::GetOrigURL(), SfxMedium::GetPhysicalName(), comphelper::getProcessComponentContext(), ucbhelper::Content::getProperties(), ucbhelper::Content::getPropertyValue(), SfxMedium::GetStorage(), CntUnencodedStringItem::GetValue(), SfxBoolItem::GetValue(), HandleFilter(), ImportFrom(), InitNew(), InitOwnModel_Impl(), comphelper::LibreOfficeKit::isActive(), tools::isEmptyFileUrl(), IsLoadReadonly(), IsOwnStorageFormat(), IsPackageStorageFormat_Impl(), IsReadOnlyMedium(), LoadOwnFormat(), SfxMedium::LockOrigFileOnDemand(), MAINDOCUMENT, NONE, OpenDoc, pImpl, pMedium, SfxItemSet::Put(), QueryAllowExoticFormat_Impl(), ReconnectDdeLinks(), rSet, SetActivateEvent_Impl(), SetError(), SfxShell::SetName(), SetReadOnlyUI(), SfxResId(), u, and UpdateLinks().

Referenced by SfxApplication::LoadTemplate().

◆ DoLoadExternal()

bool SfxObjectShell::DoLoadExternal ( SfxMedium pMed)

Definition at line 850 of file objstor.cxx.

References LoadExternal(), and pMedium.

◆ DoNotCleanShareControlFile()

SAL_DLLPRIVATE void SfxObjectShell::DoNotCleanShareControlFile ( )

◆ DoSave()

bool SfxObjectShell::DoSave ( )

◆ DoSave_Impl()

bool SfxObjectShell::DoSave_Impl ( const SfxItemSet pSet)

◆ DoSaveAs()

bool SfxObjectShell::DoSaveAs ( SfxMedium rNewStor)

◆ DoSaveCompleted()

bool SfxObjectShell::DoSaveCompleted ( SfxMedium pNewStor = nullptr,
bool  bRegisterRecent = true 
)
virtual

◆ DoSaveObjectAs()

bool SfxObjectShell::DoSaveObjectAs ( SfxMedium rNewStor,
bool  bCommit 
)

◆ Draw()

virtual void SfxObjectShell::Draw ( OutputDevice ,
const JobSetup rSetup,
sal_uInt16  nAspect,
bool  bOutputForScreen 
)
pure virtual

Referenced by DoDraw_Impl().

◆ EnableSetModified()

void SfxObjectShell::EnableSetModified ( bool  bEnable = true)

◆ ExecFile_Impl()

void SfxObjectShell::ExecFile_Impl ( SfxRequest rReq)

! detailed analysis of an error code

Definition at line 521 of file objserv.cxx.

References SfxRedactionHelper::addPagesToDraw(), API, SfxRequest::AppendItem(), ASYNCHRON, aURL, bReadOnly, bRememberSignature, CancelCheckOut(), CheckIn(), CheckOut(), COL_BLACK(), COL_GRAY7(), COL_WHITE(), CreateDocumentInfoDialog(), Application::CreateMessageDialog(), SfxViewFrame::Current(), SfxViewShell::Current(), DoClose(), SfxRequest::Done(), SvtModuleOptions::DRAW, ERRCODE_BASIC_WRONG_ARGS, ERRCODE_IO_ABORT, ERRCODE_IO_GENERAL, ERRCODE_NONE, ERRCTX_SFX_SAVEASDOC, Exception, ExecFile_Impl(), SfxViewFrame::ExecReload_Impl(), SfxDispatcher::Execute(), SfxShell::ExecuteSlot(), SfxRequest::GetArg(), SfxRequest::GetArgs(), GetBaseModel(), SfxRequest::GetCallMode(), GetCurrentComponent(), SfxViewFrame::GetDispatcher(), getDocProperties(), GetDocumentSignatureInformation(), GetDocumentSignatureState(), GetErrorCode(), GetFactory(), SfxViewFrame::GetFirst(), SfxShell::GetFrame(), SfxRequest::GetFrameWeld(), SfxViewFrame::GetFrameWeld(), SfxItemSet::GetItem(), SfxMedium::GetItemSet(), GetMedium(), GetModel(), GetModifyPasswordHash(), GetModifyPasswordInfo(), GetModule(), SfxShell::GetName(), DocumentToGraphicRenderer::getPageCount(), SfxRedactionHelper::getPageMarginsForCalc(), SfxRedactionHelper::getPageMarginsForWriter(), SfxRedactionHelper::getPageMetaFilesFromDoc(), SfxShell::GetPool(), comphelper::getProcessComponentContext(), GetSignPDFCertificate(), SfxRequest::GetSlot(), SfxSlotPool::GetSlot(), SfxModule::GetSlotPool(), SfxShell::GetSlotState(), SfxRedactionHelper::getStringParam(), SfxAutoRedactDialog::getTargets(), GetTitle(), SfxSlot::GetUnoName(), SfxBoolItem::GetValue(), ErrorHandler::HandleError(), HasName(), SfxAutoRedactDialog::hasTargets(), HasValidSignatures(), SfxRequest::Ignore(), Invalidate(), comphelper::LibreOfficeKit::isActive(), SfxRequest::IsAPI(), DocumentToGraphicRenderer::isCalc(), SfxRequest::IsDone(), IsLoadReadonly(), IsOwnStorageFormat(), IsReadOnly(), IsReadOnlyMedium(), SfxRedactionHelper::isRedactMode(), IsSaveVersionOnClose(), SfxVersionDialog::IsSaveVersionOnClose(), SfxRequest::IsSynchronCall(), IsUseThumbnailSave(), IsUseUserData(), SfxAutoRedactDialog::isValidState(), DocumentToGraphicRenderer::isWriter(), nId, pImpl, PrepareClose(), SfxItemSet::Put(), QueryHiddenInformation(), QuerySlotExecutable(), SfxRequest::ReleaseArgs(), SfxViewFrame::RemoveInfoBar(), ResetError(), ResignDocument(), RET_OK, RET_YES, rSignatureInfosRemembered, weld::DialogController::run(), SfxTabDialogController::runAsync(), SAL_WARN, sendErrorToLOK(), SfxRequest::SetArgs(), SbxBase::SetError(), SetModified(), SetReadOnlyUI(), SfxRequest::SetReturnValue(), SetSaveVersionOnClose(), SfxViewShell::SetStoringHelper(), SfxMedium::SetUpdatePickList(), SetUseThumbnailSave(), SetUseUserData(), SfxGetpApp(), SfxResId(), SfxRedactionHelper::showRedactionToolbar(), SignDocumentContent(), SignDocumentContentUsingCertificate(), SignScriptingContent(), SLOT, SYNCHRON, TOOLS_WARN_EXCEPTION_IF, TransformItems(), TransformParameters(), u, WhenCreatingPDF, WhenSaving, WhenSigning, SfxPoolItem::Which(), xController, and xModel.

Referenced by ExecFile_Impl(), PrepareForSigning(), and SignDocumentContentUsingCertificate().

◆ ExecProps_Impl()

void SfxObjectShell::ExecProps_Impl ( SfxRequest rReq)

◆ ExecView_Impl()

void SfxObjectShell::ExecView_Impl ( SfxRequest rReq)

◆ ExportTo()

bool SfxObjectShell::ExportTo ( SfxMedium rMedium)

◆ FillClass()

virtual void SfxObjectShell::FillClass ( SvGlobalName pClassName,
SotClipboardFormatId pFormat,
OUString *  pFullTypeName,
sal_Int32  nVersion,
bool  bTemplate = false 
) const
pure virtual

◆ FillTransferableObjectDescriptor()

void SfxObjectShell::FillTransferableObjectDescriptor ( TransferableObjectDescriptor rDesc) const

◆ FinishedLoading()

void SfxObjectShell::FinishedLoading ( SfxLoadedFlags  nWhich = SfxLoadedFlags::ALL)

◆ FlushDocInfo()

void SfxObjectShell::FlushDocInfo ( )

◆ FreeSharedFile()

SAL_DLLPRIVATE void SfxObjectShell::FreeSharedFile ( const OUString &  aTempFileURL)

◆ GeneralInit_Impl()

bool SfxObjectShell::GeneralInit_Impl ( const css::uno::Reference< css::embed::XStorage > &  xStorage,
bool  bTypeMustBeSetAlready 
)

Definition at line 388 of file objstor.cxx.

References a, Any, ERRCODE_IO_BROKENPACKAGE, pImpl, SAL_WARN, SetError(), SetupStorage(), and SOFFICE_FILEFORMAT_CURRENT.

Referenced by InitNew(), and Load().

◆ GenerateAndStoreThumbnail()

bool SfxObjectShell::GenerateAndStoreThumbnail ( bool  bEncrypted,
const css::uno::Reference< css::embed::XStorage > &  xStor 
)

Definition at line 3681 of file objstor.cxx.

References bIsInGenerateThumbnail, WriteThumbnail(), and xStream.

Referenced by SaveTo_Impl().

◆ Get_Impl() [1/2]

SAL_DLLPRIVATE SfxObjectShell_Impl * SfxObjectShell::Get_Impl ( )
inline

◆ Get_Impl() [2/2]

SAL_DLLPRIVATE const SfxObjectShell_Impl * SfxObjectShell::Get_Impl ( ) const
inline

Definition at line 723 of file objsh.hxx.

◆ GetAPIName()

OUString SfxObjectShell::GetAPIName ( ) const

◆ GetAutoStyleFilterIndex()

sal_uInt16 SfxObjectShell::GetAutoStyleFilterIndex ( ) const

Definition at line 864 of file objxtor.cxx.

References pImpl.

Referenced by IMPL_LINK(), SfxCommonTemplateDialog_Impl::IsUpdate(), and StyleList::Update().

◆ GetBaseModel()

css::uno::Reference< css::frame::XModel3 > SfxObjectShell::GetBaseModel ( ) const

◆ GetBasic()

StarBASIC * SfxObjectShell::GetBasic ( ) const

Definition at line 755 of file objxtor.cxx.

References GetBasicManager(), and BasicManager::GetLib().

◆ GetBasicContainer()

Reference< XLibraryContainer > SfxObjectShell::GetBasicContainer ( )

◆ GetBasicManager()

BasicManager * SfxObjectShell::GetBasicManager ( ) const

◆ GetClassName()

SvGlobalName const & SfxObjectShell::GetClassName ( ) const

Definition at line 282 of file objstor.cxx.

References SfxObjectFactory::GetClassId(), and GetFactory().

◆ GetCmisVersions()

uno::Sequence< document::CmisVersion > SfxObjectShell::GetCmisVersions ( ) const

◆ GetCreateMode()

SfxObjectCreateMode SfxObjectShell::GetCreateMode ( ) const
inline

◆ GetCurrentComponent()

Reference< XInterface > SfxObjectShell::GetCurrentComponent ( )
static

◆ GetDialogContainer()

Reference< XLibraryContainer > SfxObjectShell::GetDialogContainer ( )

◆ GetDialogParent()

css::uno::Reference< css::awt::XWindow > SfxObjectShell::GetDialogParent ( SfxMedium const *  pMedium = nullptr)

◆ GetDocColors()

std::set< Color > SfxObjectShell::GetDocColors ( )
virtual

Definition at line 332 of file objcont.cxx.

◆ getDocProperties()

uno::Reference< document::XDocumentProperties > SfxObjectShell::getDocProperties ( ) const

◆ getDocumentBaseURL()

OUString SfxObjectShell::getDocumentBaseURL ( ) const
overridevirtual

◆ GetDocumentPrinter()

Printer * SfxObjectShell::GetDocumentPrinter ( )
virtual

Definition at line 35 of file objembed.cxx.

References GetDocumentPrinter(), GetModel(), and GetParentShell().

Referenced by GetDocumentPrinter().

◆ GetDocumentProtectionFromGrabBag()

uno::Sequence< beans::PropertyValue > SfxObjectShell::GetDocumentProtectionFromGrabBag ( ) const

Gets grab-bagged password info to unprotect change tracking with verification.

Definition at line 2236 of file objserv.cxx.

References GetBaseModel(), UNO_NAME_MISC_OBJ_INTEROPGRABBAG, and xModel.

Referenced by lcl_IsPasswordCorrect().

◆ GetDocumentRefDev()

OutputDevice * SfxObjectShell::GetDocumentRefDev ( )
virtual

◆ GetDocumentSignatureInformation()

uno::Sequence< security::DocumentSignatureInformation > SfxObjectShell::GetDocumentSignatureInformation ( bool  bScriptingContent,
const css::uno::Reference< css::security::XDocumentDigitalSignatures > &  xSigner = css::uno::Reference<css::security::XDocumentDigitalSignatures>() 
)

◆ GetDocumentSignatureState()

SignatureState SfxObjectShell::GetDocumentSignatureState ( )

Definition at line 2070 of file objserv.cxx.

References ImplGetSignatureState().

Referenced by CheckForBrokenDocSignatures_Impl(), ExecFile_Impl(), and GetState_Impl().

◆ GetEmbeddedObjectContainer()

comphelper::EmbeddedObjectContainer & SfxObjectShell::GetEmbeddedObjectContainer ( ) const

◆ getEmbeddedObjectContainer()

virtual comphelper::EmbeddedObjectContainer & SfxObjectShell::getEmbeddedObjectContainer ( ) const
inlineoverridevirtual

Implements comphelper::IEmbeddedHelper.

Definition at line 635 of file objsh.hxx.

Referenced by sfx2::LinkManager::UpdateAllLinks().

◆ GetError()

ErrCode SfxObjectShell::GetError ( ) const

Definition at line 220 of file objmisc.cxx.

References GetErrorCode(), and ErrCode::IgnoreWarning().

Referenced by DoLoad(), DoSave_Impl(), and DoSaveAs().

◆ GetErrorCode()

ErrCode SfxObjectShell::GetErrorCode ( ) const

◆ GetEventNames()

uno::Sequence< OUString > SfxObjectShell::GetEventNames ( )
virtual

Definition at line 830 of file objxtor.cxx.

Referenced by SfxEvents_Impl::SfxEvents_Impl().

◆ GetFactory()

virtual SfxObjectFactory & SfxObjectShell::GetFactory ( ) const
pure virtual

◆ GetFirst()

SfxObjectShell * SfxObjectShell::GetFirst ( const std::function< bool(const SfxObjectShell *)> &  isObjectShell = nullptr,
bool  bOnlyVisible = true 
)
static

◆ GetFirstPageSize()

Size SfxObjectShell::GetFirstPageSize ( ) const

Definition at line 653 of file objmisc.cxx.

References ASPECT_THUMBNAIL, tools::Rectangle::GetSize(), and GetVisArea().

Referenced by CreatePreview_Impl().

◆ GetHeaderAttributes()

SvKeyValueIterator * SfxObjectShell::GetHeaderAttributes ( )

◆ GetHiddenInformationState()

HiddenInformation SfxObjectShell::GetHiddenInformationState ( HiddenInformation  nStates)
virtual

Definition at line 3072 of file objstor.cxx.

References DOCUMENTVERSIONS, GetMedium(), NONE, and nState.

Referenced by QueryHiddenInformation().

◆ getInteractionHandler()

uno::Reference< task::XInteractionHandler > SfxObjectShell::getInteractionHandler ( ) const
overridevirtual

Implements comphelper::IEmbeddedHelper.

Definition at line 3845 of file objstor.cxx.

References SfxMedium::GetInteractionHandler(), and GetMedium().

Referenced by DoLoad().

◆ GetMacroCallsSeenWhileLoading()

bool SfxObjectShell::GetMacroCallsSeenWhileLoading ( ) const

Definition at line 3785 of file objstor.cxx.

References pImpl.

Referenced by SfxObjectShell_Impl::macroCallsSeenWhileLoading().

◆ GetMapUnit()

MapUnit SfxObjectShell::GetMapUnit ( ) const

◆ GetMedium()

SfxMedium * SfxObjectShell::GetMedium ( ) const
inline

Definition at line 261 of file objsh.hxx.

Referenced by SfxPickListImpl::AddDocumentToPickList(), AfterSigning(), APISaveAs_Impl(), SfxBaseModel::attachResource(), CheckIsReadonly(), CheckSecurityOnLoading_Impl(), CommonSaveAs_Impl(), SfxBaseModel::connectController(), ConnectTmpStorage_Impl(), SfxFrame::CreateHidden(), CreateShellID(), DoInitNew(), DoSave(), DoSave_Impl(), ExecFile_Impl(), SfxViewShell::ExecPrint_Impl(), SfxViewFrame::ExecReload_Impl(), SfxViewFrame::ExecView_Impl(), GetAPIName(), SfxObjectShell_Impl::getCurrentMacroExecMode(), GetDialogParent(), getDocumentBaseURL(), SfxObjectShell_Impl::getDocumentLocation(), GetDocumentSignatureInformation(), GetErrorCode(), sfx2::LinkManager::GetGraphicFromAny(), GetHiddenInformationState(), getInteractionHandler(), GetState_Impl(), SfxObjectShell_Impl::hasTrustedScriptingSignature(), IMPL_LINK(), IMPL_LINK_NOARG(), SfxDocumentPage::ImplCheckPasswordState(), SfxDocumentPage::ImplUpdateSignatures(), SfxVersionDialog::Init_Impl(), InitOwnModel_Impl(), AutoReloadTimer_Impl::Invoke(), IsHelpDocument(), SfxWorkWindow::IsPluginMode(), SfxApplication::LoadTemplate(), SfxViewShell::Notify(), SfxPickListImpl::Notify(), SfxVersionDialog::Open_Impl(), PrepareForSigning(), sfx2::LinkManager::ReconnectDdeLink(), ResetError(), ResetFromTemplate(), Save_Impl(), SaveTo_Impl(), SfxObjectShell_Impl::setCurrentMacroExecMode(), SfxProgress::SetState(), SetTitle(), SignDocumentContent(), SignDocumentContentUsingCertificate(), SignScriptingContent(), SignSignatureLine(), SfxViewFrame::StateReload_Impl(), SwitchPersistence(), SfxDispatcher::Update_Impl_(), SfxFrame::UpdateDescriptor(), UpdateFromTemplate_Impl(), and SfxViewFrame::UpdateTitle().

◆ GetModel()

css::uno::Reference< css::frame::XModel3 > SfxObjectShell::GetModel ( ) const

Definition at line 838 of file objxtor.cxx.

References GetBaseModel().

Referenced by SfxViewShell::Activate(), CallXScript(), CancelCheckOut(), CheckIn(), CheckOut(), SfxFrame::CreateHidden(), SfxBaseController::dispose(), DoInitNew(), DoLoad(), DoSave(), DoSaveCompleted(), ExecFile_Impl(), SfxViewFrame::ExecReload_Impl(), SfxEvents_Impl::Execute(), ExportTo(), SfxDocumentPage::FillItemSet(), SfxDocumentFontsPage::FillItemSet(), SfxViewFrame::Get(), GetBasicContainer(), GetCmisVersions(), SfxInPlaceClient_Impl::getComponent(), SfxViewShell::GetCurrentDocument(), StyleList::getDefaultStyleName(), GetDialogContainer(), getDocProperties(), GetDocumentPrinter(), GetDocumentRefDev(), SfxObjectShell_Impl::getEmbeddedDocumentScripts(), GetEmbeddedObjectContainer(), getModuleIdentifier(), SfxViewShell::GetRenderable(), GetState_Impl(), HandleFilter(), ImportFrom(), SfxVersionDialog::Init_Impl(), InitBasicManager_Impl(), InitOwnModel_Impl(), isContentExtractionLocked(), isEditDocLocked(), isExportLocked(), isPrintLocked(), isSaveLocked(), SfxMacroLoader::loadMacro(), SfxApplication::LoadTemplate(), SfxViewFrame::LoadViewIntoFrame_Impl(), SfxApplication::NewDocExec_Impl(), SfxApplication::OfaExec_Impl(), SfxFrame::PrepareForDoc_Impl(), PropagateEvent_Impl(), SfxObjectShellItem::QueryValue(), SfxBaseController::ReleaseShell_Impl(), SfxDocumentPage::Reset(), SfxDocumentFontsPage::Reset(), SaveTo_Impl(), SetNoName(), SetupStorage(), SfxViewShell::StartPrint(), and SfxInPlaceClient_Impl::stateChanged().

◆ GetModifyPasswordHash()

sal_uInt32 SfxObjectShell::GetModifyPasswordHash ( ) const

Definition at line 678 of file objcont.cxx.

References pImpl.

Referenced by ExecFile_Impl(), SfxViewFrame::ExecReload_Impl(), and FinishedLoading().

◆ GetModifyPasswordInfo()

const uno::Sequence< beans::PropertyValue > & SfxObjectShell::GetModifyPasswordInfo ( ) const

Definition at line 697 of file objcont.cxx.

References pImpl.

Referenced by ExecFile_Impl(), SfxViewFrame::ExecReload_Impl(), and FinishedLoading().

◆ GetModule()

SfxModule * SfxObjectShell::GetModule ( ) const

◆ GetNext()

SfxObjectShell * SfxObjectShell::GetNext ( const SfxObjectShell rPrev,
const std::function< bool(const SfxObjectShell *)> &  isObjectShell = nullptr,
bool  bOnlyVisible = true 
)
static

◆ GetNoSet_Impl()

IndexBitSet & SfxObjectShell::GetNoSet_Impl ( )

Definition at line 659 of file objmisc.cxx.

References pImpl.

Referenced by SfxViewFrame::GetDocNumber_Impl().

◆ GetObjectShell()

SfxObjectShell * SfxObjectShell::GetObjectShell ( )
overridevirtual

Reimplemented from SfxShell.

Definition at line 824 of file objxtor.cxx.

Referenced by SfxViewFrame::GetFirst(), IMPL_LINK(), and IMPL_LINK_NOARG().

◆ GetParentShell()

SfxObjectShell * SfxObjectShell::GetParentShell ( const css::uno::Reference< css::uno::XInterface > &  xChild)
static

Definition at line 1056 of file objxtor.cxx.

References Exception, and GetShellFromComponent().

Referenced by GetDocumentPrinter(), and GetDocumentRefDev().

◆ getPendingInfobars()

std::vector< InfobarData > & SfxObjectShell::getPendingInfobars ( )

Definition at line 207 of file objmisc.cxx.

References Get_Impl(), and SfxObjectShell_Impl::m_aPendingInfobars.

◆ GetPreviewBitmap()

BitmapEx SfxObjectShell::GetPreviewBitmap ( ) const

◆ GetPreviewMetaFile()

std::shared_ptr< GDIMetaFile > SfxObjectShell::GetPreviewMetaFile ( bool  bFullContent = false) const

◆ GetProgress()

SfxProgress * SfxObjectShell::GetProgress ( ) const

Definition at line 877 of file objmisc.cxx.

References pImpl.

Referenced by CloseInternal(), SfxProgress::GetActiveProgress(), and SfxViewFrame::GetProgress().

◆ GetProtectionHash()

bool SfxObjectShell::GetProtectionHash ( css::uno::Sequence< sal_Int8 > &  rPasswordHash)
virtual

Definition at line 1119 of file objxtor.cxx.

References SAL_WARN.

Referenced by lcl_IsPasswordCorrect(), and SfxSecurityPage_Impl::Reset_Impl().

◆ GetRecentColor()

std::optional< NamedColor > SfxObjectShell::GetRecentColor ( sal_uInt16  nSlotId)

Definition at line 317 of file objcont.cxx.

References pImpl.

◆ GetScriptingSignatureState()

SignatureState SfxObjectShell::GetScriptingSignatureState ( )

◆ GetServiceNameFromFactory()

OUString SfxObjectShell::GetServiceNameFromFactory ( const OUString &  rFact)
static

◆ GetSharedFileURL()

OUString SfxObjectShell::GetSharedFileURL ( ) const

Definition at line 644 of file objmisc.cxx.

References pImpl.

Referenced by SfxPickListImpl::AddDocumentToPickList(), SfxViewFrame::ExecReload_Impl(), and GetAPIName().

◆ GetShellFromComponent()

SfxObjectShell * SfxObjectShell::GetShellFromComponent ( const css::uno::Reference< css::uno::XInterface > &  xComp)
static

◆ GetSignPDFCertificate()

uno::Reference< security::XCertificate > SfxObjectShell::GetSignPDFCertificate ( ) const

Gets the certificate that is already picked by the user but not yet used for signing.

Definition at line 415 of file objserv.cxx.

References aMap, GetBaseModel(), and xModel.

Referenced by SfxViewFrame::AppendReadOnlyInfobar(), and ExecFile_Impl().

◆ GetState_Impl()

void SfxObjectShell::GetState_Impl ( SfxItemSet rSet)

◆ GetStorage()

uno::Reference< embed::XStorage > const & SfxObjectShell::GetStorage ( )

◆ getStorage()

virtual css::uno::Reference< css::embed::XStorage > SfxObjectShell::getStorage ( ) const
inlineoverridevirtual

Implements comphelper::IEmbeddedHelper.

Definition at line 631 of file objsh.hxx.

◆ GetStyleManager()

sfx2::StyleManager * SfxObjectShell::GetStyleManager ( )
virtual

Definition at line 411 of file objcont.cxx.

Referenced by IMPL_LINK().

◆ GetStyleSheetPool()

SfxStyleSheetBasePool * SfxObjectShell::GetStyleSheetPool ( )
virtual

◆ GetThemeColors()

std::shared_ptr< model::ColorSet > SfxObjectShell::GetThemeColors ( )
virtual

Definition at line 338 of file objcont.cxx.

◆ GetTitle()

OUString SfxObjectShell::GetTitle ( sal_uInt16  nMaxLen = 0) const

◆ getUnoTunnelId()

const uno::Sequence< sal_Int8 > & SfxObjectShell::getUnoTunnelId ( )
static

Definition at line 2230 of file objserv.cxx.

References comphelper::UnoIdInit::getSeq().

◆ GetVisArea() [1/2]

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

◆ GetVisArea() [2/2]

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

◆ GetXmlIdRegistry()

virtual const sfx2::IXmlIdRegistry * SfxObjectShell::GetXmlIdRegistry ( ) const
inlinevirtual

override this if you have a XmlIdRegistry.

Definition at line 789 of file objsh.hxx.

◆ HandleFilter()

ErrCode SfxObjectShell::HandleFilter ( SfxMedium pMedium,
SfxObjectShell const *  pDoc 
)
static

◆ HasBasic()

bool SfxObjectShell::HasBasic ( ) const

Definition at line 662 of file objxtor.cxx.

References InitBasicManager_Impl(), and pImpl.

Referenced by DoSave(), QuerySaveSizeExceededModules_Impl(), and SaveAsOwnFormat().

◆ HasChangeRecordProtection()

bool SfxObjectShell::HasChangeRecordProtection ( ) const
virtual

Definition at line 1097 of file objxtor.cxx.

References SAL_WARN.

Referenced by SfxSecurityPage_Impl::FillItemSet_Impl().

◆ HasName()

bool SfxObjectShell::HasName ( ) const
inline

◆ HasSharedXMLFlagSet()

bool SfxObjectShell::HasSharedXMLFlagSet ( ) const

References GetError(), and SetError().

◆ HasValidSignatures()

bool SfxObjectShell::HasValidSignatures ( ) const

◆ ImplGetSignatureState()

SignatureState SfxObjectShell::ImplGetSignatureState ( bool  bScriptingContent = false)

◆ ImportFrom()

bool SfxObjectShell::ImportFrom ( SfxMedium rMedium,
css::uno::Reference< css::text::XTextRange > const &  xInsertPosition 
)
virtual

◆ ImportFromGeneratedStream_Impl()

bool SfxObjectShell::ImportFromGeneratedStream_Impl ( const css::uno::Reference< css::io::XStream > &  xStream,
const css::uno::Sequence< css::beans::PropertyValue > &  aMediaDescr 
)

◆ InitBasicManager_Impl()

void SfxObjectShell::InitBasicManager_Impl ( )

Definition at line 765 of file objxtor.cxx.

References DBG_ASSERT, GetModel(), pImpl, and TOOLS_WARN_EXCEPTION.

Referenced by HasBasic().

◆ InitInterface_Impl()

void SfxObjectShell::InitInterface_Impl ( )
staticprivate

SfxInterface initializer.

Definition at line 131 of file objserv.cxx.

◆ InitNew()

bool SfxObjectShell::InitNew ( const css::uno::Reference< css::embed::XStorage > &  xStorage)
virtual

Definition at line 427 of file objstor.cxx.

References GeneralInit_Impl().

Referenced by DoInitNew(), and DoLoad().

◆ InitOwnModel_Impl()

void SfxObjectShell::InitOwnModel_Impl ( )

◆ InsertGeneratedStream()

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

a very special case to insert at a position in Writer from UNO, via OwnSubFilterService

Definition at line 3762 of file objstor.cxx.

Referenced by ImportFromGeneratedStream_Impl().

◆ Invalidate()

void SfxObjectShell::Invalidate ( sal_uInt16  nId = 0)
overridevirtual

With this method can the slots of the subclasses be invalidated through the slot Id or alternatively through the Which ID.

Slot IDs, which are inherited by the subclass are also invalidated.

[Cross-reference]

<SfxBindings::Invalidate(sal_uInt16)> <SfxBindings::InvalidateAll(sal_Bool)>

Reimplemented from SfxShell.

Definition at line 1599 of file objmisc.cxx.

References SfxViewFrame::GetFirst(), SfxViewFrame::GetNext(), SfxShell::Invalidate_Impl(), and nId.

Referenced by ExecFile_Impl(), FinishedLoading(), ModifyChanged(), and RecheckSignature().

◆ InvalidateName()

void SfxObjectShell::InvalidateName ( )

◆ IsAbortingImport()

bool SfxObjectShell::IsAbortingImport ( ) const

Definition at line 154 of file objmisc.cxx.

References pImpl.

◆ IsAutoLoadLocked()

bool SfxObjectShell::IsAutoLoadLocked ( ) const

Definition at line 927 of file objmisc.cxx.

References IsReadOnly().

Referenced by AutoReloadTimer_Impl::Invoke(), and SfxFrame::IsAutoLoadLocked_Impl().

◆ IsAvoidRecentDocs()

bool SfxObjectShell::IsAvoidRecentDocs ( ) const
inline

Don't add to the recent documents - it's an expensive operation, sometimes it is not wanted.

Definition at line 464 of file objsh.hxx.

Referenced by SfxPickListImpl::AddDocumentToPickList().

◆ IsChangeRecording()

bool SfxObjectShell::IsChangeRecording ( ) const
virtual

Definition at line 1089 of file objxtor.cxx.

References SAL_WARN.

Referenced by SfxSecurityPage_Impl::FillItemSet_Impl().

◆ IsConfigOptionsChecked()

bool SfxObjectShell::IsConfigOptionsChecked ( ) const

Definition at line 3770 of file objstor.cxx.

References pImpl.

◆ isContentExtractionLocked()

bool SfxObjectShell::isContentExtractionLocked ( ) const

Definition at line 1894 of file objmisc.cxx.

References GetModel(), comphelper::NamedValueCollection::getOrDefault(), u, and xModel.

◆ IsContinueImportOnFilterExceptions()

bool SfxObjectShell::IsContinueImportOnFilterExceptions ( std::u16string_view  aErrMessage)

On first error ask user if import should continue; return saved answer.

Definition at line 1863 of file objmisc.cxx.

References Application::CreateMessageDialog(), Application::GetDialogCancelMode(), mbContinueImportOnFilterExceptions, no, RET_YES, SfxResId(), undefined, and yes.

◆ IsDocShared()

bool SfxObjectShell::IsDocShared ( ) const

◆ isEditDocLocked()

bool SfxObjectShell::isEditDocLocked ( ) const

◆ IsEnableSetModified()

bool SfxObjectShell::IsEnableSetModified ( ) const

◆ isEnableSetModified()

bool SfxObjectShell::isEnableSetModified ( ) const
inlineoverridevirtual

Implements comphelper::IEmbeddedHelper.

Definition at line 639 of file objsh.hxx.

◆ isExportLocked()

bool SfxObjectShell::isExportLocked ( ) const

◆ IsHelpDocument()

bool SfxObjectShell::IsHelpDocument ( ) const

Definition at line 580 of file objcont.cxx.

References SfxMedium::GetFilter(), and GetMedium().

Referenced by SfxBaseController::ConnectSfxFrame_Impl().

◆ IsInGenerateAndStoreThumbnail()

bool SfxObjectShell::IsInGenerateAndStoreThumbnail ( ) const
inline

Definition at line 461 of file objsh.hxx.

◆ IsInModalMode()

bool SfxObjectShell::IsInModalMode ( ) const

Definition at line 422 of file objmisc.cxx.

References pImpl.

Referenced by AcceptStateUpdate(), CanReload_Impl(), SfxViewFrame::ExecReload_Impl(), and PrepareClose().

◆ IsInPlaceActive()

bool SfxObjectShell::IsInPlaceActive ( ) const

◆ IsInPrepareClose()

bool SfxObjectShell::IsInPrepareClose ( ) const

Definition at line 488 of file objxtor.cxx.

References pImpl.

◆ IsLoading()

bool SfxObjectShell::IsLoading ( ) const

◆ IsLoadingFinished()

bool SfxObjectShell::IsLoadingFinished ( ) const

Definition at line 1033 of file objmisc.cxx.

References ALL, and pImpl.

Referenced by SetReadOnly(), and SfxViewFrame::UpdateDocument_Impl().

◆ IsLoadReadonly()

bool SfxObjectShell::IsLoadReadonly ( ) const

Definition at line 654 of file objcont.cxx.

References pImpl.

Referenced by DoLoad(), ExecFile_Impl(), ImportFromGeneratedStream_Impl(), and IsSecurityOptOpenReadOnly().

◆ IsModified()

bool SfxObjectShell::IsModified ( ) const

◆ IsModifyPasswordEntered()

bool SfxObjectShell::IsModifyPasswordEntered ( ) const

Definition at line 721 of file objcont.cxx.

References pImpl.

Referenced by SfxViewFrame::ExecReload_Impl(), and FinishedLoading().

◆ IsOriginallyLoadedReadOnlyMedium()

bool SfxObjectShell::IsOriginallyLoadedReadOnlyMedium ( ) const

Definition at line 367 of file objmisc.cxx.

References SfxMedium::IsOriginallyLoadedReadOnly(), and pMedium.

Referenced by SfxViewFrame::ExecReload_Impl().

◆ IsOriginallyReadOnlyMedium()

bool SfxObjectShell::IsOriginallyReadOnlyMedium ( ) const

Definition at line 362 of file objmisc.cxx.

References SfxMedium::IsOriginallyReadOnly(), and pMedium.

Referenced by SfxViewFrame::ExecReload_Impl().

◆ IsOwnStorageFormat()

bool SfxObjectShell::IsOwnStorageFormat ( const SfxMedium rMedium)
static

◆ IsPackageStorageFormat_Impl()

bool SfxObjectShell::IsPackageStorageFormat_Impl ( const SfxMedium rMedium)
static

◆ IsPreview()

bool SfxObjectShell::IsPreview ( ) const

◆ isPrintLocked()

bool SfxObjectShell::isPrintLocked ( ) const

◆ IsQueryLoadTemplate()

bool SfxObjectShell::IsQueryLoadTemplate ( ) const

Definition at line 618 of file objcont.cxx.

References pImpl.

Referenced by UpdateFromTemplate_Impl().

◆ IsReadOnly()

bool SfxObjectShell::IsReadOnly ( ) const

◆ IsReadOnlyMedium()

bool SfxObjectShell::IsReadOnlyMedium ( ) const

Definition at line 349 of file objmisc.cxx.

References SfxMedium::IsReadOnly(), and pMedium.

Referenced by DoLoad(), ExecFile_Impl(), SfxViewFrame::ExecReload_Impl(), and SetReadOnly().

◆ IsReadOnlyUI()

bool SfxObjectShell::IsReadOnlyUI ( ) const

Definition at line 336 of file objmisc.cxx.

References pImpl.

Referenced by SfxViewFrame::ExecReload_Impl(), SetModifyPasswordHash(), and SetModifyPasswordInfo().

◆ IsRememberingSignature()

bool SfxObjectShell::IsRememberingSignature ( ) const
inline

Definition at line 466 of file objsh.hxx.

Referenced by SfxStoringHelper::GUIStoreModel().

◆ isSaveLocked()

bool SfxObjectShell::isSaveLocked ( ) const

Definition at line 1918 of file objmisc.cxx.

References GetModel(), comphelper::NamedValueCollection::getOrDefault(), u, and xModel.

Referenced by GetState_Impl().

◆ IsSaveVersionOnClose()

bool SfxObjectShell::IsSaveVersionOnClose ( ) const

Definition at line 659 of file objcont.cxx.

References pImpl.

Referenced by ExecFile_Impl(), and PrepareClose().

◆ isScriptAccessAllowed()

bool SfxObjectShell::isScriptAccessAllowed ( const css::uno::Reference< css::uno::XInterface > &  rScriptContext)
static

Definition at line 1344 of file objmisc.cxx.

References DBG_UNHANDLED_EXCEPTION, and Exception.

Referenced by SfxEvents_Impl::Execute().

◆ IsSecurityOptOpenReadOnly()

bool SfxObjectShell::IsSecurityOptOpenReadOnly ( ) const

◆ IsSignPDF()

bool SfxObjectShell::IsSignPDF ( ) const

Is this read-only object shell opened via .uno:SignPDF?

Definition at line 403 of file objserv.cxx.

References SfxMedium::GetFilter(), SfxMedium::IsOriginallyReadOnly(), and pMedium.

◆ IsUIActive()

bool SfxObjectShell::IsUIActive ( ) const

◆ IsUseThumbnailSave()

bool SfxObjectShell::IsUseThumbnailSave ( ) const

Definition at line 628 of file objcont.cxx.

References pImpl.

Referenced by ExecFile_Impl(), PreDoSaveAs_Impl(), and SaveTo_Impl().

◆ IsUseUserData()

bool SfxObjectShell::IsUseUserData ( ) const

◆ Load()

bool SfxObjectShell::Load ( SfxMedium rMedium)
virtual

Definition at line 433 of file objstor.cxx.

References GeneralInit_Impl(), and SfxMedium::GetStorage().

Referenced by LoadOwnFormat().

◆ LoadExternal()

bool SfxObjectShell::LoadExternal ( SfxMedium rMedium)
virtual

Definition at line 3755 of file objstor.cxx.

Referenced by DoLoadExternal().

◆ LoadFrom()

bool SfxObjectShell::LoadFrom ( SfxMedium rMedium)
virtual

Definition at line 3052 of file objstor.cxx.

References SAL_WARN.

Referenced by UpdateFromTemplate_Impl().

◆ LoadOwnFormat()

bool SfxObjectShell::LoadOwnFormat ( SfxMedium pMedium)

◆ LoadStyles()

void SfxObjectShell::LoadStyles ( SfxObjectShell rSource)
virtual

◆ LockAllViews()

virtual std::unique_ptr< LockAllViewsGuard > SfxObjectShell::LockAllViews ( )
inlinevirtual

Definition at line 801 of file objsh.hxx.

Referenced by SaveTo_Impl().

◆ ModifyChanged()

void SfxObjectShell::ModifyChanged ( )
protected

◆ OnDocumentPrinterChanged()

void SfxObjectShell::OnDocumentPrinterChanged ( Printer pNewPrinter)
virtual

Definition at line 53 of file objembed.cxx.

◆ PostActivateEvent_Impl()

void SfxObjectShell::PostActivateEvent_Impl ( SfxViewFrame const *  pFrame)

◆ PreDoSaveAs_Impl()

bool SfxObjectShell::PreDoSaveAs_Impl ( const OUString &  rFileName,
const OUString &  rFiltName,
SfxItemSet const &  rItemSet,
const css::uno::Sequence< css::beans::PropertyValue > &  rArgs 
)

◆ PrepareClose()

bool SfxObjectShell::PrepareClose ( bool  bUI = true)
virtual

◆ PrepareForSigning()

bool SfxObjectShell::PrepareForSigning ( weld::Window pDialogParent)

◆ PrepareSecondTryLoad_Impl()

void SfxObjectShell::PrepareSecondTryLoad_Impl ( )

Definition at line 379 of file objstor.cxx.

References pImpl, and ResetError().

◆ PrintExec_Impl()

void SfxObjectShell::PrintExec_Impl ( SfxRequest rReq)

◆ PrintState_Impl()

void SfxObjectShell::PrintState_Impl ( SfxItemSet rSet)

◆ PutURLContentsToVersionStream_Impl()

bool SfxObjectShell::PutURLContentsToVersionStream_Impl ( const OUString &  aURL,
const css::uno::Reference< css::embed::XStorage > &  xDocStorage,
const OUString &  aStreamName 
)

◆ QueryAllowExoticFormat_Impl()

bool SfxObjectShell::QueryAllowExoticFormat_Impl ( const css::uno::Reference< css::task::XInteractionHandler > &  xHandler,
const OUString &  rURL,
const OUString &  rFilterUIName 
)
static

Definition at line 3817 of file objstor.cxx.

References SvtSecurityOptions::isTrustedLocationUri().

Referenced by DoLoad().

◆ QueryHiddenInformation()

sal_Int16 SfxObjectShell::QueryHiddenInformation ( HiddenWarningFact  eFact,
weld::Window pParent 
)

◆ QuerySaveSizeExceededModules_Impl()

bool SfxObjectShell::QuerySaveSizeExceededModules_Impl ( const css::uno::Reference< css::task::XInteractionHandler > &  xHandler)

Definition at line 3792 of file objstor.cxx.

References GetBasicManager(), HasBasic(), and pImpl.

Referenced by SaveTo_Impl().

◆ QuerySlotExecutable()

bool SfxObjectShell::QuerySlotExecutable ( sal_uInt16  nSlotId)
virtual

Definition at line 164 of file objstor.cxx.

Referenced by ExecFile_Impl(), and SfxViewShell::ExecPrint_Impl().

◆ RecheckSignature()

void SfxObjectShell::RecheckSignature ( bool  bAlsoRecheckScriptingSignature)

Definition at line 1981 of file objserv.cxx.

References SfxBroadcaster::Broadcast(), Invalidate(), pImpl, and UNKNOWN.

Referenced by AfterSigning().

◆ ReconnectDdeLink()

void SfxObjectShell::ReconnectDdeLink ( SfxObjectShell rServer)
virtual

Definition at line 390 of file appdde.cxx.

◆ ReconnectDdeLinks()

void SfxObjectShell::ReconnectDdeLinks ( SfxObjectShell rServer)
static

Definition at line 394 of file appdde.cxx.

References GetFirst(), GetNext(), and p.

Referenced by DoLoad().

◆ ResetError()

void SfxObjectShell::ResetError ( )

◆ ResetFromTemplate()

void SfxObjectShell::ResetFromTemplate ( const OUString &  rTemplateName,
std::u16string_view  rFileName 
)

◆ ResignDocument()

bool SfxObjectShell::ResignDocument ( css::uno::Sequence< css::security::DocumentSignatureInformation > &  rSignaturesInfo)

Definition at line 2090 of file objserv.cxx.

References SignDocumentContentUsingCertificate().

Referenced by ExecFile_Impl().

◆ runAccessibilityCheck()

sfx::AccessibilityIssueCollection SfxObjectShell::runAccessibilityCheck ( )
virtual

Definition at line 340 of file objcont.cxx.

◆ Save()

bool SfxObjectShell::Save ( )
virtual

Definition at line 151 of file objstor.cxx.

References SaveChildren().

Referenced by DoSave(), and SaveTo_Impl().

◆ Save_Impl()

bool SfxObjectShell::Save_Impl ( const SfxItemSet pSet)

◆ SaveAs()

bool SfxObjectShell::SaveAs ( SfxMedium rMedium)
virtual

Definition at line 158 of file objstor.cxx.

References SaveAsChildren().

Referenced by SaveAsOwnFormat().

◆ SaveAsChildren()

bool SfxObjectShell::SaveAsChildren ( SfxMedium rMedium)

◆ SaveAsOwnFormat()

bool SfxObjectShell::SaveAsOwnFormat ( SfxMedium pMedium)
virtual

◆ SaveChildren()

void SfxObjectShell::SaveChildren ( bool  bObjectsOnly = false)

◆ SaveCompleted()

bool SfxObjectShell::SaveCompleted ( const css::uno::Reference< css::embed::XStorage > &  xStorage)
virtual

◆ SaveCompletedChildren()

bool SfxObjectShell::SaveCompletedChildren ( )

◆ SaveTo_Impl()

bool SfxObjectShell::SaveTo_Impl ( SfxMedium rMedium,
const SfxItemSet pSet 
)
private

Definition at line 1128 of file objstor.cxx.

References SfxMedium::AddVersion_Impl(), aInfos, Any, SfxMedium::CheckFileDate(), SfxMedium::CloseAndRelease(), SfxMedium::CloseStorage(), SfxMedium::CloseZipStorage_Impl(), SfxMedium::Commit(), ConnectTmpStorage_Impl(), ConvertTo(), CreateTempCopyOfStorage_Impl(), SfxMedium::CreateTempFileNoCopy(), SfxMedium::DisableUnlockWebDAV(), DisconnectStorage_Impl(), SfxMedium::DoBackup_Impl(), SfxMedium::DocNeedsFileDateCheck(), EMBEDDED, ERRCODE_ABORT, ERRCODE_IO_ABORT, ERRCODE_IO_GENERAL, Exception, ExportTo(), GenerateAndStoreThumbnail(), SfxFilterContainer::GetAnyFilter(), GetCreateMode(), Date::GetDay(), utl::UCBContentHelper::getDefaultCommandEnvironment(), GetEmbeddedObjectContainer(), GetEncryptionData_Impl(), SfxMedium::GetError(), SfxMedium::GetErrorCode(), GetErrorCode(), GetFactory(), SfxMedium::GetFilter(), SfxFilterMatcher::GetFilter4ClipBoardId(), SfxObjectFactory::GetFilterContainer(), SfxApplication::GetFilterMatcher(), SotExchange::GetFormatDataFlavor(), tools::Time::GetHour(), SfxMedium::GetInitFileDate(), SfxMedium::GetInteractionHandler(), SfxItemSet::GetItem(), SfxMedium::GetItemSet(), GetMedium(), tools::Time::GetMin(), GetModel(), Date::GetMonth(), SfxMedium::GetName(), GetODFSaneDefaultVersion(), SfxMedium::GetOutputStorage(), SfxMedium::GetOutStream(), comphelper::getProcessComponentContext(), ucbhelper::Content::getProperties(), tools::Time::GetSec(), DocumentSignatures::getSignatureState(), GetStorage(), SfxMedium::GetStorage(), CntUnencodedStringItem::GetValue(), SfxBoolItem::GetValue(), SotStorage::GetVersion(), SfxMedium::GetVersionList(), Date::GetYear(), SfxMedium::GetZipStorageToSign_Impl(), SfxMedium::HasStorage_Impl(), INVALID, comphelper::LibreOfficeKit::isActive(), SfxMedium::IsInCheckIn(), IsOwnStorageFormat(), IsPackageStorageFormat_Impl(), IsUseThumbnailSave(), lcl_strip_template(), LockAllViews(), SfxMedium::LockOrigFileOnDemand(), NOTVALIDATED, nState, nVersion, SvtSaveOptions::ODFSVER_012, ODFVER_012_TEXT, OK, PARTIAL_OK, pImpl, pMedium, PutURLContentsToVersionStream_Impl(), QuerySaveSizeExceededModules_Impl(), SfxMedium::ResetError(), SAL_INFO, SAL_WARN, Save(), SaveAsOwnFormat(), SaveChildren(), SfxMedium::SaveVersionList_Impl(), SfxMedium::SetCachedSignatureState_Impl(), comphelper::OStorageHelper::SetCommonStorageEncryptionData(), SetError(), SfxMedium::SetFilter(), SfxMedium::SetHasEmbeddedObjects(), ucbhelper::Content::setPropertyValue(), SfxGetpApp(), sName, SOFFICE_FILEFORMAT_60, SfxMedium::StorageCommit_Impl(), SfxMedium::SwitchDocumentToFile(), DateTime::SYSTEM, u, UpdateDocInfoForSave(), SfxMedium::WillDisposeStorageOnClose_Impl(), and xTarget.

Referenced by DoSave_Impl(), DoSaveAs(), and PreDoSaveAs_Impl().

◆ SetActivateEvent_Impl()

void SfxObjectShell::SetActivateEvent_Impl ( SfxEventHintId  nId)

Definition at line 922 of file objmisc.cxx.

References nId, and pImpl.

Referenced by DoLoad(), and SetInitialized_Impl().

◆ SetAutoLoad()

void SfxObjectShell::SetAutoLoad ( const INetURLObject rUrl,
sal_uInt32  nTime,
bool  bReload 
)

Definition at line 1015 of file objmisc.cxx.

References INetURLObject::GetMainURL(), pImpl, and INetURLObject::ToIUri.

Referenced by FinishedLoading(), and FlushDocInfo().

◆ SetAutoStyleFilterIndex()

void SfxObjectShell::SetAutoStyleFilterIndex ( sal_uInt16  nSet)

Definition at line 859 of file objxtor.cxx.

References pImpl.

Referenced by IMPL_LINK_NOARG().

◆ SetBaseModel()

void SfxObjectShell::SetBaseModel ( SfxBaseModel pModel)

Definition at line 843 of file objxtor.cxx.

References pImpl.

◆ SetChangeRecording()

void SfxObjectShell::SetChangeRecording ( bool  bActivate,
bool  bLockAllViews = false 
)
virtual

Definition at line 1105 of file objxtor.cxx.

References SAL_WARN.

Referenced by SfxSecurityPage_Impl::FillItemSet_Impl().

◆ SetConfigOptionsChecked()

void SfxObjectShell::SetConfigOptionsChecked ( bool  bChecked)

Definition at line 3775 of file objstor.cxx.

References pImpl.

Referenced by SfxApplication::OfaExec_Impl().

◆ SetCreateMode_Impl()

void SfxObjectShell::SetCreateMode_Impl ( SfxObjectCreateMode  nMode)

Definition at line 1671 of file objmisc.cxx.

References eCreateMode.

◆ SetCurrentComponent()

void SfxObjectShell::SetCurrentComponent ( const css::uno::Reference< css::uno::XInterface > &  _rxComponent)
static

◆ SetError()

void SfxObjectShell::SetError ( ErrCode  rErr)

◆ SetHeaderAttributesForSourceViewHack()

void SfxObjectShell::SetHeaderAttributesForSourceViewHack ( )

Definition at line 1546 of file objmisc.cxx.

References GetHeaderAttributes().

◆ SetInitialized_Impl()

void SfxObjectShell::SetInitialized_Impl ( const bool  i_fromInitNew)

◆ SetLoading()

void SfxObjectShell::SetLoading ( SfxLoadedFlags  nFlags)

Definition at line 1028 of file objmisc.cxx.

References pImpl.

◆ SetLoadReadonly()

void SfxObjectShell::SetLoadReadonly ( bool  _bReadonly)

Definition at line 664 of file objcont.cxx.

References pImpl, and SetModified().

Referenced by SetSecurityOptOpenReadOnly().

◆ SetMacroCallsSeenWhileLoading()

void SfxObjectShell::SetMacroCallsSeenWhileLoading ( )

Definition at line 3780 of file objstor.cxx.

References pImpl.

Referenced by SfxBaseModel::attachResource().

◆ SetMacroMode_Impl()

void SfxObjectShell::SetMacroMode_Impl ( bool  bModal = true)

Definition at line 433 of file objmisc.cxx.

References SfxBroadcaster::Broadcast(), and pImpl.

Referenced by SfxMacroLoader::loadMacro().

◆ SetMapUnit()

void SfxObjectShell::SetMapUnit ( MapUnit  nMUnit)

Definition at line 115 of file objembed.cxx.

References pImpl.

◆ SetModalMode_Impl()

void SfxObjectShell::SetModalMode_Impl ( bool  bModal)

◆ SetModified()

void SfxObjectShell::SetModified ( bool  bModified = true)
virtual

◆ SetModifyPasswordEntered()

void SfxObjectShell::SetModifyPasswordEntered ( bool  bEntered = true)

Definition at line 716 of file objcont.cxx.

References pImpl.

Referenced by SfxViewFrame::ExecReload_Impl().

◆ SetModifyPasswordHash()

bool SfxObjectShell::SetModifyPasswordHash ( sal_uInt32  nHash)

Definition at line 683 of file objcont.cxx.

References IsReadOnly(), IsReadOnlyUI(), MAINDOCUMENT, and pImpl.

◆ SetModifyPasswordInfo()

bool SfxObjectShell::SetModifyPasswordInfo ( const css::uno::Sequence< css::beans::PropertyValue > &  aInfo)

Definition at line 702 of file objcont.cxx.

References IsReadOnly(), IsReadOnlyUI(), MAINDOCUMENT, and pImpl.

◆ SetNamedVisibility_Impl()

void SfxObjectShell::SetNamedVisibility_Impl ( )

◆ SetNoName()

void SfxObjectShell::SetNoName ( )

Definition at line 870 of file objmisc.cxx.

References bHasName, and GetModel().

Referenced by SfxApplication::LoadTemplate(), and TemplateDisconnectionAfterLoad().

◆ SetProgress_Impl()

void SfxObjectShell::SetProgress_Impl ( SfxProgress pProgress)

Definition at line 883 of file objmisc.cxx.

References DBG_ASSERT, and pImpl.

Referenced by SfxProgress::SfxProgress().

◆ SetProtectionPassword()

void SfxObjectShell::SetProtectionPassword ( const OUString &  rPassword)
virtual

Definition at line 1112 of file objxtor.cxx.

References SAL_WARN.

Referenced by SfxSecurityPage_Impl::FillItemSet_Impl().

◆ SetQueryLoadTemplate()

void SfxObjectShell::SetQueryLoadTemplate ( bool  b)

Definition at line 633 of file objcont.cxx.

References pImpl, and SetModified().

Referenced by ResetFromTemplate(), and UpdateFromTemplate_Impl().

◆ SetReadOnly()

void SfxObjectShell::SetReadOnly ( )

◆ SetReadOnlyUI()

void SfxObjectShell::SetReadOnlyUI ( bool  bReadOnly = true)

◆ SetRecentColor()

void SfxObjectShell::SetRecentColor ( sal_uInt16  nSlotId,
const NamedColor rColor 
)

Definition at line 326 of file objcont.cxx.

References SfxBroadcaster::Broadcast(), and pImpl.

◆ SetSaveVersionOnClose()

void SfxObjectShell::SetSaveVersionOnClose ( bool  bSet)

Definition at line 671 of file objcont.cxx.

References pImpl, and SetModified().

Referenced by ExecFile_Impl().

◆ SetSecurityOptOpenReadOnly()

void SfxObjectShell::SetSecurityOptOpenReadOnly ( bool  bOpenReadOnly)

Definition at line 3163 of file objstor.cxx.

References SetLoadReadonly().

Referenced by SfxSecurityPage_Impl::FillItemSet_Impl().

◆ SetSharedXMLFlag()

void SfxObjectShell::SetSharedXMLFlag ( bool  bFlag) const

◆ SetTitle()

void SfxObjectShell::SetTitle ( const OUString &  rTitle)

◆ SetupStorage()

void SfxObjectShell::SetupStorage ( const css::uno::Reference< css::embed::XStorage > &  xStorage,
sal_Int32  nVersion,
bool  bTemplate 
) const

◆ SetUseThumbnailSave()

void SfxObjectShell::SetUseThumbnailSave ( bool  _bNew)

Definition at line 647 of file objcont.cxx.

References pImpl, and SetModified().

Referenced by ExecFile_Impl(), and PreDoSaveAs_Impl().

◆ SetUseUserData()

void SfxObjectShell::SetUseUserData ( bool  bNew)

Definition at line 640 of file objcont.cxx.

References pImpl, and SetModified().

Referenced by ExecFile_Impl().

◆ SetVisArea()

void SfxObjectShell::SetVisArea ( const tools::Rectangle rVisArea)
virtual

◆ SetVisAreaSize()

void SfxObjectShell::SetVisAreaSize ( const Size rVisSize)

Definition at line 103 of file objembed.cxx.

References GetVisArea(), SetVisArea(), and TopLeft.

◆ SetWaitCursor()

void SfxObjectShell::SetWaitCursor ( bool  bSet) const

Definition at line 1577 of file objmisc.cxx.

References SfxViewFrame::GetFirst(), and SfxViewFrame::GetNext().

◆ SignDocumentContent()

bool SfxObjectShell::SignDocumentContent ( weld::Window pDialogParent)

◆ SignDocumentContentUsingCertificate()

bool SfxObjectShell::SignDocumentContentUsingCertificate ( const css::uno::Reference< css::security::XCertificate > &  xCertificate)

◆ SignScriptingContent()

bool SfxObjectShell::SignScriptingContent ( weld::Window pDialogParent)

◆ SignSignatureLine()

void SfxObjectShell::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 
)

◆ Stamp_GetPrintCancelState()

bool SfxObjectShell::Stamp_GetPrintCancelState ( ) const

Definition at line 348 of file objxtor.cxx.

References pImpl.

◆ Stamp_SetPrintCancelState()

void SfxObjectShell::Stamp_SetPrintCancelState ( bool  bState)

Definition at line 342 of file objxtor.cxx.

References pImpl.

◆ StateProps_Impl()

void SfxObjectShell::StateProps_Impl ( SfxItemSet rSet)

◆ StateView_Impl()

void SfxObjectShell::StateView_Impl ( SfxItemSet )
static

Definition at line 1769 of file objserv.cxx.

◆ SwitchChildrenPersistence()

bool SfxObjectShell::SwitchChildrenPersistence ( const css::uno::Reference< css::embed::XStorage > &  xStorage,
bool  bForceNonModified = false 
)

Definition at line 3363 of file objstor.cxx.

References pImpl.

Referenced by SaveCompleted(), and SwitchPersistence().

◆ SwitchPersistence()

bool SfxObjectShell::SwitchPersistence ( const css::uno::Reference< css::embed::XStorage > &  xStorage)

◆ SwitchToShared()

bool SfxObjectShell::SwitchToShared ( bool  bShared,
bool  bSave 
)

Referenced by CommonSaveAs_Impl().

◆ TemplateDisconnectionAfterLoad()

void SfxObjectShell::TemplateDisconnectionAfterLoad ( )

◆ TerminateEditing()

virtual void SfxObjectShell::TerminateEditing ( )
inlinevirtual

Terminate any in-flight editing. Used before saving, primarily by Calc to commit cell changes.

Definition at line 313 of file objsh.hxx.

Referenced by PreDoSaveAs_Impl().

◆ UnTrustedScript()

bool SfxObjectShell::UnTrustedScript ( const OUString &  rScriptURL)
static

Definition at line 1365 of file objmisc.cxx.

References comphelper::getProcessComponentContext(), nIndex, parse(), and sScript.

Referenced by SfxEvents_Impl::Execute().

◆ UpdateDocInfoForSave()

void SfxObjectShell::UpdateDocInfoForSave ( )

◆ UpdateFromTemplate_Impl()

void SfxObjectShell::UpdateFromTemplate_Impl ( )

◆ UpdateLinks()

void SfxObjectShell::UpdateLinks ( )
virtual

Definition at line 3751 of file objstor.cxx.

Referenced by DoLoad().

◆ UpdateTime_Impl()

void SfxObjectShell::UpdateTime_Impl ( const css::uno::Reference< css::document::XDocumentProperties > &  i_xDocProps)
private

◆ UseInteractionToHandleError()

bool SfxObjectShell::UseInteractionToHandleError ( const css::uno::Reference< css::task::XInteractionHandler > &  xHandler,
ErrCode  nError 
)
static

◆ WriteThumbnail()

bool SfxObjectShell::WriteThumbnail ( bool  bEncrypted,
const css::uno::Reference< css::io::XStream > &  xStream 
)

Definition at line 3714 of file objstor.cxx.

References GetFactory(), GetPreviewBitmap(), BitmapEx::IsEmpty(), and xStream.

Referenced by GenerateAndStoreThumbnail().

Friends And Related Function Documentation

◆ ModifyBlocker_Impl

friend struct ModifyBlocker_Impl
friend

Definition at line 181 of file objsh.hxx.

◆ SfxObjectShellLock

friend class SfxObjectShellLock
friend

Definition at line 182 of file objsh.hxx.

Member Data Documentation

◆ bHasName

bool SfxObjectShell::bHasName
private

◆ bIsInGenerateThumbnail

bool SfxObjectShell::bIsInGenerateThumbnail
private

Definition at line 192 of file objsh.hxx.

Referenced by GenerateAndStoreThumbnail().

◆ bRememberSignature

bool SfxObjectShell::bRememberSignature
private

Definition at line 194 of file objsh.hxx.

Referenced by ExecFile_Impl(), GetState_Impl(), and PrepareForSigning().

◆ eCreateMode

SfxObjectCreateMode SfxObjectShell::eCreateMode
private

◆ mbAvoidRecentDocs

bool SfxObjectShell::mbAvoidRecentDocs
private

Avoid adding to the recent documents list, if not necessary.

Definition at line 193 of file objsh.hxx.

◆ mbContinueImportOnFilterExceptions

TriState SfxObjectShell::mbContinueImportOnFilterExceptions = undefined
private

Definition at line 197 of file objsh.hxx.

Referenced by IsContinueImportOnFilterExceptions().

◆ pImpl

std::unique_ptr<struct SfxObjectShell_Impl> SfxObjectShell::pImpl
private

Definition at line 185 of file objsh.hxx.

Referenced by AdjustMacroMode(), AfterSigning(), BreakMacroSign_Impl(), CancelTransfers(), CanReload_Impl(), CheckEncryption_Impl(), CheckForBrokenDocSignatures_Impl(), CheckSecurityOnLoading_Impl(), ClearEmbeddedObjects(), CloseInternal(), ConnectTmpStorage_Impl(), DisconnectStorage_Impl(), DoInitNew(), DoLoad(), DoSave(), DoSaveAs(), DoSaveCompleted(), DoSaveObjectAs(), EnableSetModified(), ExecFile_Impl(), FinishedLoading(), GeneralInit_Impl(), GetAutoStyleFilterIndex(), GetBaseModel(), GetBasicContainer(), GetDialogContainer(), GetEmbeddedObjectContainer(), GetErrorCode(), GetHeaderAttributes(), GetMacroCallsSeenWhileLoading(), GetMapUnit(), GetModifyPasswordHash(), GetModifyPasswordInfo(), GetNoSet_Impl(), GetProgress(), GetRecentColor(), GetSharedFileURL(), GetState_Impl(), GetStorage(), GetVisArea(), HasBasic(), HasValidSignatures(), ImplGetSignatureState(), ImportFromGeneratedStream_Impl(), InitBasicManager_Impl(), InitOwnModel_Impl(), InvalidateName(), IsAbortingImport(), IsConfigOptionsChecked(), IsDocShared(), IsEnableSetModified(), IsInModalMode(), IsInPrepareClose(), IsLoading(), IsLoadingFinished(), IsLoadReadonly(), IsModified(), IsModifyPasswordEntered(), IsQueryLoadTemplate(), IsReadOnly(), IsReadOnlyUI(), IsSaveVersionOnClose(), IsUseThumbnailSave(), IsUseUserData(), ModifyChanged(), PostActivateEvent_Impl(), PreDoSaveAs_Impl(), PrepareClose(), PrepareForSigning(), PrepareSecondTryLoad_Impl(), QuerySaveSizeExceededModules_Impl(), RecheckSignature(), ResetError(), Save_Impl(), SaveAsChildren(), SaveAsOwnFormat(), SaveChildren(), SaveCompleted(), SaveCompletedChildren(), SaveTo_Impl(), SetActivateEvent_Impl(), SetAutoLoad(), SetAutoStyleFilterIndex(), SetBaseModel(), SetConfigOptionsChecked(), SetError(), SetInitialized_Impl(), SetLoading(), SetLoadReadonly(), SetMacroCallsSeenWhileLoading(), SetMacroMode_Impl(), SetMapUnit(), SetModalMode_Impl(), SetModified(), SetModifyPasswordEntered(), SetModifyPasswordHash(), SetModifyPasswordInfo(), SetNamedVisibility_Impl(), SetProgress_Impl(), SetQueryLoadTemplate(), SetReadOnlyUI(), SetRecentColor(), SetSaveVersionOnClose(), SetTitle(), SetUseThumbnailSave(), SetUseUserData(), SetVisArea(), SfxObjectShell(), SignDocumentContentUsingCertificate(), Stamp_GetPrintCancelState(), Stamp_SetPrintCancelState(), StateProps_Impl(), SwitchChildrenPersistence(), SwitchPersistence(), UpdateTime_Impl(), and ~SfxObjectShell().

◆ pMedium

SfxMedium* SfxObjectShell::pMedium
private

◆ rSignatureInfosRemembered

css::uno::Sequence< css::security::DocumentSignatureInformation > SfxObjectShell::rSignatureInfosRemembered
private

Definition at line 204 of file objsh.hxx.

Referenced by ExecFile_Impl().


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