LibreOffice Module sfx2 (master) 1
|
#include <objsh.hxx>
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... | |
SfxModule * | GetModule () const |
virtual SfxObjectFactory & | GetFactory () const =0 |
SfxMedium * | GetMedium () 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< SfxDocumentInfoDialog > | CreateDocumentInfoDialog (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... | |
SvKeyValueIterator * | GetHeaderAttributes () |
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< GDIMetaFile > | GetPreviewMetaFile (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 |
SfxProgress * | GetProgress () const |
void | SetWaitCursor (bool bSet) const |
void | SetTitle (const OUString &rTitle) |
OUString | GetTitle (sal_uInt16 nMaxLen=0) const |
void | InvalidateName () |
virtual ::sfx2::SvLinkSource * | DdeCreateLinkSource (const OUString &rItem) |
virtual void | ReconnectDdeLink (SfxObjectShell &rServer) |
virtual SfxStyleSheetBasePool * | GetStyleSheetPool () |
virtual void | LoadStyles (SfxObjectShell &rSource) |
virtual sfx2::StyleManager * | GetStyleManager () |
void | SetAutoStyleFilterIndex (sal_uInt16 nSet) |
sal_uInt16 | GetAutoStyleFilterIndex () const |
bool | HasBasic () const |
BasicManager * | GetBasicManager () const |
css::uno::Reference< css::script::XLibraryContainer > | GetBasicContainer () |
css::uno::Reference< css::script::XLibraryContainer > | GetDialogContainer () |
StarBASIC * | GetBasic () const |
std::optional< NamedColor > | GetRecentColor (sal_uInt16 nSlotId) |
void | SetRecentColor (sal_uInt16 nSlotId, const NamedColor &rColor) |
virtual std::set< Color > | GetDocColors () |
virtual std::shared_ptr< model::ColorSet > | GetThemeColors () |
virtual sfx::AccessibilityIssueCollection | runAccessibilityCheck () |
virtual SfxObjectShell * | GetObjectShell () 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::EmbeddedObjectContainer & | getEmbeddedObjectContainer () const override |
bool | isEnableSetModified () const override |
virtual OUString | getDocumentBaseURL () const override |
comphelper::EmbeddedObjectContainer & | GetEmbeddedObjectContainer () const |
void | ClearEmbeddedObjects () |
virtual Printer * | GetDocumentPrinter () |
virtual OutputDevice * | GetDocumentRefDev () |
virtual void | OnDocumentPrinterChanged (Printer *pNewPrinter) |
virtual tools::Rectangle | GetVisArea (sal_uInt16 nAspect) const |
virtual void | SetVisArea (const tools::Rectangle &rVisArea) |
const tools::Rectangle & | GetVisArea () 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_Impl * | Get_Impl () |
SAL_DLLPRIVATE const SfxObjectShell_Impl * | Get_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 IndexBitSet & | GetNoSet_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::IXmlIdRegistry * | GetXmlIdRegistry () 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< LockAllViewsGuard > | LockAllViews () |
Public Member Functions inherited from SfxShell | |
virtual | ~SfxShell () override |
The connection to a possible corresponding SbxObject is dissolved. More... | |
virtual SfxInterface * | GetInterface () 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... | |
SfxViewShell * | GetViewShell () const |
Returns the SfxViewShell in which they are located in the subshells. More... | |
const SfxPoolItem * | GetSlotState (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 SfxPoolItem * | ExecuteSlot (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... | |
SfxItemPool & | GetPool () 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 SfxUndoManager * | GetUndoManager () |
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... | |
SfxDispatcher * | GetDispatcher () 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... | |
SfxViewFrame * | GetFrame () 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 SfxPoolItem * | GetItem (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 SfxSlot * | GetVerbSlot_Impl (sal_uInt16 nId) const |
virtual SfxObjectShell * | GetObjectShell () |
void | SetDisableFlags (SfxDisableFlags nFlags) |
SfxDisableFlags | GetDisableFlags () const |
virtual std::optional< SfxItemSet > | CreateItemSet (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 EmbeddedObjectContainer & | getEmbeddedObjectContainer () 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 SfxObjectShell * | GetFirst (const std::function< bool(const SfxObjectShell *)> &isObjectShell=nullptr, bool bOnlyVisible=true) |
static SAL_WARN_UNUSED_RESULT SfxObjectShell * | GetNext (const SfxObjectShell &rPrev, const std::function< bool(const SfxObjectShell *)> &isObjectShell=nullptr, bool bOnlyVisible=true) |
static SAL_WARN_UNUSED_RESULT SfxObjectShell * | Current () |
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 SfxObjectShell * | CreateObject (const OUString &rServiceName, SfxObjectCreateMode=SfxObjectCreateMode::STANDARD) |
static SfxObjectShell * | CreateObjectByFactoryName (const OUString &rURL, SfxObjectCreateMode=SfxObjectCreateMode::STANDARD) |
static css::uno::Reference< css::lang::XComponent > | CreateAndLoadComponent (const SfxItemSet &rSet) |
static SfxObjectShell * | GetShellFromComponent (const css::uno::Reference< css::uno::XInterface > &xComp) |
static SfxObjectShell * | GetParentShell (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 SfxInterface * | GetStaticInterface () |
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_Impl > | pImpl |
SfxMedium * | pMedium |
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 &) |
|
private |
|
protected |
Constructor of the class SfxObjectShell.
eMode | Purpose, 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.
|
protected |
Definition at line 243 of file objxtor.cxx.
References DISABLE_DOCUMENT_RECOVERY, DISABLE_EMBEDDED_SCRIPTS, eCreateMode, EMBEDDED, EMBEDDED_OBJECT, EXTERNAL_LINK, INTERNAL, NONE, pImpl, and STANDARD.
|
overrideprotectedvirtual |
Definition at line 284 of file objxtor.cxx.
References SfxMedium::CanDisposeStorage_Impl(), SfxMedium::CloseAndReleaseStreams_Impl(), CloseInternal(), EnableSetModified(), FreeSharedFile(), SfxApplication::GetDdeService(), INetURLObject::GetMainURL(), SfxMedium::GetStorage(), SfxMedium::GetURLObject(), SfxMedium::HasStorage_Impl(), IsDocShared(), IsEnableSetModified(), INetURLObject::NONE, pImpl, pMedium, SfxApplication::ReleaseIndex(), SfxApplication::RemoveDdeTopic(), and SfxGetpApp().
bool SfxObjectShell::AcceptStateUpdate | ( | ) | const |
Definition at line 427 of file objmisc.cxx.
References IsInModalMode().
Referenced by SfxBindings::NextJob_Impl().
|
protected |
Definition at line 2108 of file objstor.cxx.
References Application::AddToRecentDocumentList(), SfxMedium::GetFilter(), SfxMedium::GetOrigURL(), INetURLObject::GetProtocol(), INetURLObject::GetURLNoPass(), INetURLObject::NONE, and pMedium.
Referenced by DoLoad(), and DoSaveCompleted().
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.
Definition at line 1605 of file objmisc.cxx.
References CheckEncryption_Impl(), CheckForBrokenDocSignatures_Impl(), SfxMedium::GetInteractionHandler(), pImpl, and pMedium.
Referenced by CallBasic(), and SfxMacroLoader::loadMacro().
void SfxObjectShell::AfterSigning | ( | bool | bSignSuccess, |
bool | bSignScriptingContent | ||
) |
Definition at line 1993 of file objserv.cxx.
References DoSaveCompleted(), EnableSetModified(), GetMedium(), pImpl, and RecheckSignature().
Referenced by SignDocumentContent(), SignDocumentContentUsingCertificate(), SignScriptingContent(), and SignSignatureLine().
bool SfxObjectShell::APISaveAs_Impl | ( | std::u16string_view | aFileName, |
SfxItemSet & | rItemSet, | ||
const css::uno::Sequence< css::beans::PropertyValue > & | rArgs | ||
) |
Definition at line 274 of file objserv.cxx.
References CommonSaveAs_Impl(), DBG_ASSERT, SfxFilter::GetDefaultFilterFromFactory(), getDocProperties(), GetFactory(), SfxFilterMatcher::GetFilter4Mime(), SfxItemSet::GetItem(), GetMedium(), CntUnencodedStringItem::GetValue(), and SfxItemSet::Put().
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.
|
inline |
void SfxObjectShell::BreakMacroSign_Impl | ( | bool | bBreakMacroSing | ) |
Definition at line 938 of file objmisc.cxx.
References pImpl.
Referenced by SfxBaseModel::attachResource().
ErrCode SfxObjectShell::CallBasic | ( | std::u16string_view | rMacro, |
std::u16string_view | rBasicName, | ||
SbxArray * | pArgs, | ||
SbxValue * | pRet = nullptr |
||
) |
Definition at line 1326 of file objmisc.cxx.
References AdjustMacroMode(), SfxApplication::CallBasic(), ERRCODE_IO_ACCESSDENIED, SfxApplication::GetBasicManager(), GetBasicManager(), SfxShell::GetName(), and SfxGetpApp().
|
static |
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().
void SfxObjectShell::CancelCheckOut | ( | ) |
Definition at line 345 of file objserv.cxx.
References Application::CreateMessageDialog(), SfxShell::GetFrame(), GetFrameWeld(), and GetModel().
Referenced by ExecFile_Impl().
|
virtual |
Definition at line 1264 of file objmisc.cxx.
References ALL, FinishedLoading(), IsLoading(), and pImpl.
Referenced by SfxFrame::CancelTransfers(), and SfxViewFrame::ExecReload_Impl().
bool SfxObjectShell::CanReload_Impl | ( | ) |
Definition at line 3059 of file objstor.cxx.
References HasName(), IsInModalMode(), pImpl, and pMedium.
Referenced by SfxViewFrame::ExecReload_Impl(), AutoReloadTimer_Impl::Invoke(), and SfxViewFrame::StateReload_Impl().
void SfxObjectShell::CheckEncryption_Impl | ( | const css::uno::Reference< css::task::XInteractionHandler > & | xHandler | ) |
Definition at line 964 of file objmisc.cxx.
References SfxMedium::CallApproveHandler(), ERRCODE_SFX_INCOMPLETE_ENCRYPTION, GetStorage(), ODFVER_012_TEXT, and pImpl.
Referenced by AdjustMacroMode(), and CheckSecurityOnLoading_Impl().
void SfxObjectShell::CheckForBrokenDocSignatures_Impl | ( | ) |
Definition at line 1003 of file objmisc.cxx.
References BROKEN, GetDocumentSignatureState(), and pImpl.
Referenced by AdjustMacroMode(), and CheckSecurityOnLoading_Impl().
void SfxObjectShell::CheckIn | ( | ) |
Definition at line 364 of file objserv.cxx.
References Application::CreateMessageDialog(), SfxCheckinDialog::GetComment(), SfxShell::GetFrame(), GetFrameWeld(), GetModel(), SfxCheckinDialog::IsMajor(), RET_OK, and weld::DialogController::run().
Referenced by ExecFile_Impl().
bool SfxObjectShell::CheckIsReadonly | ( | bool | bSignScriptingContent, |
weld::Window * | pDialogParent = nullptr |
||
) |
Definition at line 2006 of file objserv.cxx.
References utl::UcbStreamHelper::CreateStream(), GetMedium(), SfxShell::GetName(), comphelper::OStorageHelper::GetODFVersionFromStorage(), comphelper::getProcessComponentContext(), GetStorage(), weld::Window::GetXWindow(), SfxMedium::GetZipStorageToSign_Impl(), HasValidSignatures(), comphelper::LibreOfficeKit::isActive(), SAL_WARN, and xStream.
Referenced by SignDocumentContent(), SignScriptingContent(), and SignSignatureLine().
void SfxObjectShell::CheckOut | ( | ) |
Definition at line 326 of file objserv.cxx.
References Application::CreateMessageDialog(), SfxShell::GetFrame(), GetFrameWeld(), GetModel(), SfxViewFrame::RemoveInfoBar(), and u.
Referenced by ExecFile_Impl().
void SfxObjectShell::CheckSecurityOnLoading_Impl | ( | ) |
Definition at line 944 of file objmisc.cxx.
References CheckEncryption_Impl(), CheckForBrokenDocSignatures_Impl(), SfxMedium::GetInteractionHandler(), GetMedium(), GetScriptingSignatureState(), HasValidSignatures(), and pImpl.
Referenced by FinishedLoading(), and SfxViewFrame::UpdateDocument_Impl().
void SfxObjectShell::ClearEmbeddedObjects | ( | ) |
Definition at line 218 of file objembed.cxx.
References pImpl.
void SfxObjectShell::ClearHeaderAttributesForSourceViewHack | ( | ) |
Definition at line 1539 of file objmisc.cxx.
References GetHeaderAttributes().
|
overrideprotectedvirtual |
Reimplemented from SotObject.
Definition at line 356 of file objxtor.cxx.
References CloseInternal().
Referenced by DoClose().
|
private |
Definition at line 363 of file objxtor.cxx.
References Exception, SfxApplication::Get(), GetBaseModel(), SfxApplication::GetObjectShells_Impl(), GetProgress(), and pImpl.
Referenced by Close(), and ~SfxObjectShell().
bool SfxObjectShell::CommonSaveAs_Impl | ( | const INetURLObject & | aURL, |
const OUString & | aFilterName, | ||
SfxItemSet & | rItemSet, | ||
const css::uno::Sequence< css::beans::PropertyValue > & | rArgs | ||
) |
Definition at line 2704 of file objstor.cxx.
References aURL, SfxBroadcaster::Broadcast(), SfxItemSet::ClearItem(), SfxItemSet::Count(), DBG_ASSERT, ERRCODE_IO_INVALIDPARAMETER, ERRCODE_SFX_ALREADYOPEN, ERRCODE_SFX_DOCUMENTREADONLY, FreeSharedFile(), GetFactory(), SfxFilterContainer::GetFilter4FilterName(), SfxObjectFactory::GetFilterContainer(), GetFirst(), SfxItemSet::GetItem(), SfxMedium::GetItemSet(), SfxItemSet::GetItemState(), INetURLObject::GetMainURL(), GetMedium(), SfxMedium::GetName(), GetNext(), SfxMedium::GetURLObject(), SfxBoolItem::GetValue(), IsDocShared(), IsModified(), IsReadOnly(), INetURLObject::NONE, pMedium, PreDoSaveAs_Impl(), SfxItemSet::Put(), rSet, SetError(), SOFFICE_FILEFORMAT_60, SwitchToShared(), SfxMedium::TryDirectTransfer(), and u.
Referenced by APISaveAs_Impl().
bool SfxObjectShell::ConnectTmpStorage_Impl | ( | const css::uno::Reference< css::embed::XStorage > & | xStorage, |
SfxMedium * | pMedium | ||
) |
Definition at line 1801 of file objstor.cxx.
References SfxMedium::CanDisposeStorage_Impl(), DBG_ASSERT, ERRCODE_IO_GENERAL, GetMedium(), comphelper::OStorageHelper::GetTemporaryStorage(), pImpl, SaveCompleted(), and SetError().
Referenced by SfxViewFrame::ExecReload_Impl(), PrepareForSigning(), SaveTo_Impl(), and SignDocumentContentUsingCertificate().
|
virtual |
Definition at line 2122 of file objstor.cxx.
Referenced by DoLoad().
|
virtual |
Definition at line 2512 of file objstor.cxx.
Referenced by SaveTo_Impl().
|
static |
Definition at line 3555 of file objstor.cxx.
References SotExchange::GetFormat(), comphelper::OStorageHelper::GetTemporaryStorage(), SAL_WARN, u, and xTarget.
Referenced by SaveAsChildren().
|
static |
Definition at line 1011 of file objxtor.cxx.
References aURL, SfxItemSet::GetItem(), comphelper::getProcessComponentContext(), CntUnencodedStringItem::GetValue(), rSet, and TransformItems().
|
virtual |
|
static |
Definition at line 996 of file objxtor.cxx.
References createInstance(), eCreateMode, and GetShellFromComponent().
Referenced by CreateObjectByFactoryName(), SfxViewFrame::ExecReload_Impl(), SfxApplication::LoadTemplate(), and SfxApplication::OfaExec_Impl().
|
static |
Definition at line 990 of file objxtor.cxx.
References CreateObject(), eMode, and GetServiceNameFromFactory().
Referenced by UpdateFromTemplate_Impl().
bool SfxObjectShell::CreatePreview_Impl | ( | bool | bFullContent, |
VirtualDevice * | pDevice, | ||
GDIMetaFile * | pFile | ||
) | const |
Definition at line 121 of file objcont.cxx.
References ASPECT_CONTENT, ASPECT_THUMBNAIL, DBG_ASSERT, DoDraw(), FRound(), SvtCTLOptions::GetCTLTextNumerals(), SfxViewFrame::GetFirst(), GetFirstPageSize(), AllSettings::GetLanguageTag(), LanguageTag::getLanguageType(), GetMapUnit(), SfxViewShell::GetPrinter(), Application::GetSettings(), tools::Rectangle::GetSize(), SfxShell::GetViewShell(), GetVisArea(), Size::Height(), Size::IsEmpty(), Printer::IsPrinting(), LANGUAGE_ARABIC_SAUDI_ARABIA, LANGUAGE_ENGLISH, OutputDevice::LogicToPixel(), SvtCTLOptions::NUMERALS_ARABIC, SvtCTLOptions::NUMERALS_HINDI, GDIMetaFile::Record(), OutputDevice::SetDigitLanguage(), Size::setHeight(), OutputDevice::SetMapMode(), VirtualDevice::SetOutputSizePixel(), GDIMetaFile::SetPrefMapMode(), GDIMetaFile::SetPrefSize(), Size::setWidth(), GDIMetaFile::Stop(), and Size::Width().
Referenced by GetPreviewBitmap(), and GetPreviewMetaFile().
|
static |
Definition at line 405 of file objxtor.cxx.
References SfxMedium::GetBaseURL(), GetMedium(), and pMedium.
OUString SfxObjectShell::CreateTempCopyOfStorage_Impl | ( | const css::uno::Reference< css::embed::XStorage > & | xStorage | ) |
Definition at line 249 of file objstor.cxx.
References DBG_ASSERT, ERRCODE_IO_GENERAL, comphelper::OStorageHelper::GetStorageFromURL(), SAL_WARN, and SetError().
Referenced by SaveTo_Impl().
|
static |
Definition at line 481 of file objxtor.cxx.
References SfxViewFrame::Current(), and SfxViewFrame::GetObjectShell().
Referenced by SfxEvents_Impl::Execute(), SfxDocumentPage::FillItemSet(), SfxDocumentFontsPage::FillItemSet(), SfxSecurityPage_Impl::FillItemSet_Impl(), sfx2::IMPL_LINK(), IMPL_LINK(), IMPL_LINK_NOARG(), SfxDocumentPage::ImplCheckPasswordState(), SfxDocumentPage::ImplUpdateSignatures(), lcl_IsPasswordCorrect(), SfxMacroLoader::loadMacro(), SfxApplication::MiscExec_Impl(), SfxApplication::MiscState_Impl(), SfxApplication::NewDocExec_Impl(), SfxEvents_Impl::NormalizeMacro(), SfxApplication::OfaExec_Impl(), PrepareClose(), SfxDocumentPage::Reset(), SfxDocumentFontsPage::Reset(), SfxSecurityPage_Impl::Reset_Impl(), and SfxManageStyleSheetPage::SfxManageStyleSheetPage().
sfx2::SvLinkSource * SfxObjectShell::DdeCreateLinkSource | ( | const OUString & | rItem | ) |
Definition at line 385 of file appdde.cxx.
Referenced by sfx2::LinkManager::LinkServerShell().
SfxObjectShell::DECL_DLLPRIVATE_LINK | ( | SignDocumentHandler | , |
weld::Button & | , | ||
void | |||
) |
Definition at line 1757 of file objstor.cxx.
References SfxMedium::CanDisposeStorage_Impl(), SfxMedium::Close(), SfxMedium::GetBackup_Impl(), SfxMedium::GetStorage(), pImpl, and SfxMedium::ResetError().
Referenced by SaveTo_Impl().
bool SfxObjectShell::DoClose | ( | ) |
Definition at line 818 of file objxtor.cxx.
References Close().
Referenced by ExecFile_Impl(), SfxViewFrame::ExecReload_Impl(), and SfxApplication::LoadTemplate().
void SfxObjectShell::DoDraw | ( | OutputDevice * | pDev, |
const Point & | rObjPos, | ||
const Size & | rSize, | ||
const JobSetup & | rSetup, | ||
sal_uInt16 | nAspect = ASPECT_CONTENT , |
||
bool | bOutputForScreen = false |
||
) |
Definition at line 132 of file objembed.cxx.
References DoDraw_Impl(), OutputDevice::GetMapMode(), GetMapUnit(), tools::Rectangle::GetSize(), GetVisArea(), Size::Height(), OutputDevice::LogicToLogic(), and Size::Width().
Referenced by CreatePreview_Impl().
void SfxObjectShell::DoDraw_Impl | ( | OutputDevice * | pDev, |
const Point & | rViewPos, | ||
const Fraction & | rScaleX, | ||
const Fraction & | rScaleY, | ||
const JobSetup & | rSetup, | ||
sal_uInt16 | nAspect, | ||
bool | bOutputForScreen | ||
) |
Definition at line 155 of file objembed.cxx.
References Draw(), OutputDevice::GetClipRegion(), OutputDevice::GetConnectMetaFile(), GetMapUnit(), OutputDevice::GetOutDevType(), GetVisArea(), OutputDevice::IsClipRegion(), GDIMetaFile::IsRecord(), OutputDevice::LogicToLogic(), OutputDevice::LogicToPixel(), OUTDEV_PRINTER, OutputDevice::PixelToLogic(), OutputDevice::Pop(), OutputDevice::Push(), GDIMetaFile::Record(), OutputDevice::SetClipRegion(), MapMode::SetOrigin(), OutputDevice::SetRelativeMapMode(), MapMode::SetScaleX(), MapMode::SetScaleY(), GDIMetaFile::Stop(), and tools::Rectangle::TopLeft().
Referenced by DoDraw().
|
protectedvirtual |
template method, called by FlushDocInfo; this implementation is empty
Definition at line 173 of file objmisc.cxx.
Referenced by FlushDocInfo().
bool SfxObjectShell::DoInitNew | ( | ) |
Definition at line 443 of file objstor.cxx.
References SfxMedium::CanDisposeStorage_Impl(), eCreateMode, EMBEDDED, SfxMedium::GetItemSet(), GetMedium(), GetModel(), GetTitle(), impl_addToModelCollection(), InitNew(), utl::ConfigManager::IsFuzzing(), nLength, pImpl, pMedium, rSet, SetInitialized_Impl(), SetTitle(), SFX_TITLE_DETECT, SfxResId(), TransformItems(), and xModel.
Referenced by SfxApplication::OfaExec_Impl(), and UpdateFromTemplate_Impl().
void SfxObjectShell::DoInitUnitTest | ( | ) |
Initialize bare minimum just enough for unit test runs.
Definition at line 438 of file objstor.cxx.
References pMedium.
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().
bool SfxObjectShell::DoLoadExternal | ( | SfxMedium * | pMed | ) |
Definition at line 850 of file objstor.cxx.
References LoadExternal(), and pMedium.
SAL_DLLPRIVATE void SfxObjectShell::DoNotCleanShareControlFile | ( | ) |
Referenced by SfxViewFrame::ExecReload_Impl().
bool SfxObjectShell::DoSave | ( | ) |
Definition at line 970 of file objstor.cxx.
References SfxMedium::Commit(), DBG_ASSERT, ERRCODE_IO_GENERAL, GetBasicManager(), GetEncryptionData_Impl(), GetItemSet(), GetMedium(), GetModel(), GetODFSaneDefaultVersion(), GetStorage(), SfxMedium::GetStorage(), comphelper::OStorageHelper::GetTemporaryStorage(), HasBasic(), utl::ConfigManager::IsFuzzing(), IsOwnStorageFormat(), IsPackageStorageFormat_Impl(), SvtSaveOptions::ODFSVER_012, SvtSaveOptions::ODFSVER_013, ODFVER_012_TEXT, ODFVER_013_TEXT, pImpl, pMedium, SAL_INFO_IF, Save(), comphelper::OStorageHelper::SetCommonStorageEncryptionData(), SetError(), TOOLS_WARN_EXCEPTION, and u.
bool SfxObjectShell::DoSave_Impl | ( | const SfxItemSet * | pSet | ) |
Definition at line 2568 of file objstor.cxx.
References Any, SfxItemSet::ClearItem(), DBG_ASSERT, SfxMedium::DisableFileSync(), DoSaveCompleted(), ERRCODE_ABORT, ERRCODE_NONE, SfxMedium::GetError(), GetError(), SfxMedium::GetErrorCode(), SfxMedium::GetFilter(), SfxItemSet::GetItem(), SfxItemSet::GetItemIfSet(), SfxMedium::GetItemSet(), SfxMedium::GetLongName(), GetMedium(), SfxMedium::GetName(), SfxMedium::GetOpenMode(), SfxBoolItem::GetValue(), SfxUnoAnyItem::GetValue(), SfxMedium::IsInCheckIn(), SfxItemSet::Put(), SaveTo_Impl(), SetError(), SfxMedium::SetInCheckIn(), SfxMedium::SetLongName(), SetModified(), and SfxMedium::TransferVersionList_Impl().
Referenced by Save_Impl().
bool SfxObjectShell::DoSaveAs | ( | SfxMedium & | rNewStor | ) |
Definition at line 1926 of file objstor.cxx.
References SfxMedium::CreateTempFileNoCopy(), GetError(), SfxMedium::GetErrorCode(), pImpl, pMedium, SaveTo_Impl(), SetError(), and SfxMedium::TransferVersionList_Impl().
Referenced by Save_Impl().
|
virtual |
Definition at line 1945 of file objstor.cxx.
References AddToRecentlyUsedList(), aURL, bHasName, SfxBroadcaster::Broadcast(), BROKEN, SfxMedium::CanDisposeStorage_Impl(), SfxMedium::ClearBackup_Impl(), DBG_ASSERT, SfxMedium::DocNeedsFileDateCheck(), eCreateMode, EMBEDDED, EnableSetModified(), ERRCODE_NONE, SfxMedium::GetCachedSignatureState_Impl(), getDocProperties(), SfxMedium::GetError(), SfxMedium::GetFilter(), utl::DocInfoHelper::GetGeneratorString(), SfxMedium::GetInitFileDate(), SfxMedium::GetInStream(), SfxItemSet::GetItem(), SfxMedium::GetItemSet(), SfxMedium::GetMedium_Impl(), GetModel(), SfxMedium::GetName(), SfxMedium::GetOpenMode(), SfxMedium::GetOrigURL(), GetStorage(), SfxMedium::GetStorage(), SfxBoolItem::GetValue(), SfxMedium::HasStorage_Impl(), InvalidateName(), IsPackageStorageFormat_Impl(), SfxMedium::LockOrigFileOnDemand(), NOSIGNATURES, pImpl, pMedium, SfxMedium::ReOpen(), SaveCompleted(), SaveCompletedChildren(), SfxMedium::SetCachedSignatureState_Impl(), SetModified(), TransformItems(), and xModel.
Referenced by AfterSigning(), DoSave_Impl(), SfxViewFrame::ExecReload_Impl(), SfxApplication::LoadTemplate(), PreDoSaveAs_Impl(), Save_Impl(), SwitchPersistence(), and TemplateDisconnectionAfterLoad().
bool SfxObjectShell::DoSaveObjectAs | ( | SfxMedium & | rNewStor, |
bool | bCommit | ||
) |
Definition at line 1884 of file objstor.cxx.
References a, Any, SfxMedium::GetStorage(), pImpl, SAL_WARN, SaveAsOwnFormat(), SetupStorage(), and SOFFICE_FILEFORMAT_CURRENT.
|
pure virtual |
Referenced by DoDraw_Impl().
void SfxObjectShell::EnableSetModified | ( | bool | bEnable = true | ) |
Definition at line 241 of file objmisc.cxx.
References pImpl, and SAL_INFO_IF.
Referenced by AfterSigning(), DoLoad(), DoSaveCompleted(), SfxViewFrame::ExecReload_Impl(), FinishedLoading(), SfxStoringHelper::FinishGUIStoreModel(), SfxPrinterController::jobFinished(), SfxPrinterController::jobStarted(), ModifyBlocker_Impl::ModifyBlocker_Impl(), SfxPickListImpl::Notify(), PrepareForSigning(), SignDocumentContentUsingCertificate(), ModifyBlocker_Impl::~ModifyBlocker_Impl(), and ~SfxObjectShell().
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().
void SfxObjectShell::ExecProps_Impl | ( | SfxRequest & | rReq | ) |
Definition at line 1641 of file objserv.cxx.
References aStr, SfxRequest::Done(), SfxItemSet::Get(), SfxRequest::GetArgs(), getDocProperties(), SfxRequest::GetSlot(), CntUnencodedStringItem::GetValue(), GetValue, SetModified(), and SetTitle().
void SfxObjectShell::ExecView_Impl | ( | SfxRequest & | rReq | ) |
Definition at line 1752 of file objserv.cxx.
References SfxFrame::Appear(), SfxRequest::Done(), SfxViewFrame::GetFirst(), SfxViewFrame::GetFrame(), SfxRequest::GetSlot(), SfxRequest::SetReturnValue(), and SfxShell::SfxObjectItem.
bool SfxObjectShell::ExportTo | ( | SfxMedium & | rMedium | ) |
Definition at line 2356 of file objstor.cxx.
References ex, exceptionToString(), SfxMedium::GetArgs(), SfxMedium::GetBaseURL(), cppu::getCaughtException(), SfxMedium::GetFilter(), SfxMedium::GetItemSet(), SfxItemSet::GetItemState(), GetModel(), SfxMedium::GetName(), SfxMedium::GetOutStream(), i, Name, sOutputStream, sStream, TOOLS_INFO_EXCEPTION, TransformItems(), and u.
Referenced by SaveTo_Impl().
|
pure virtual |
Referenced by FillTransferableObjectDescriptor(), and SetupStorage().
void SfxObjectShell::FillTransferableObjectDescriptor | ( | TransferableObjectDescriptor & | rDesc | ) | const |
Definition at line 121 of file objembed.cxx.
References ASPECT_CONTENT, FillClass(), GetMapUnit(), GetVisArea(), OutputDevice::LogicToLogic(), TransferableObjectDescriptor::maClassName, TransferableObjectDescriptor::maDisplayName, TransferableObjectDescriptor::maDragStartPos, TransferableObjectDescriptor::maSize, TransferableObjectDescriptor::maTypeName, TransferableObjectDescriptor::mnViewAspect, and SOFFICE_FILEFORMAT_CURRENT.
void SfxObjectShell::FinishedLoading | ( | SfxLoadedFlags | nWhich = SfxLoadedFlags::ALL | ) |
Definition at line 1073 of file objmisc.cxx.
References bHasName, SfxBroadcaster::Broadcast(), CheckSecurityOnLoading_Impl(), SfxMedium::CloseInStream(), DBG_ASSERT, EnableSetModified(), getDocProperties(), SfxViewFrame::GetFirst(), GetHeaderAttributes(), SfxItemSet::GetItem(), SfxMedium::GetItemSet(), GetModifyPasswordHash(), GetModifyPasswordInfo(), SfxMedium::GetOpenMode(), GetTitle(), SfxBoolItem::GetValue(), SfxMedium::HasStorage_Impl(), IMAGES, InitOwnModel_Impl(), Invalidate(), IsEnableSetModified(), IsModifyPasswordEntered(), SfxMedium::IsOpen(), MAINDOCUMENT, NONE, pImpl, pMedium, PostActivateEvent_Impl(), SetAutoLoad(), SetInitialized_Impl(), SetModified(), SetReadOnly(), SFX_TITLE_DETECT, and TemplateDisconnectionAfterLoad().
Referenced by CancelTransfers(), and DoLoad().
void SfxObjectShell::FlushDocInfo | ( | ) |
Definition at line 180 of file objmisc.cxx.
References DoFlushDocInfo(), getDocProperties(), IsLoading(), SetAutoLoad(), and SetModified().
SAL_DLLPRIVATE void SfxObjectShell::FreeSharedFile | ( | const OUString & | aTempFileURL | ) |
Referenced by CommonSaveAs_Impl(), and ~SfxObjectShell().
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.
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().
|
inline |
Definition at line 718 of file objsh.hxx.
Referenced by AppendInfoBarWhenReady(), SfxViewFrame::ExecReload_Impl(), getPendingInfobars(), AutoReloadTimer_Impl::Invoke(), SfxApplication::NotifyEvent(), ResetFromTemplate(), and SfxViewFrame::StateReload_Impl().
|
inline |
OUString SfxObjectShell::GetAPIName | ( | ) | const |
Definition at line 1588 of file objmisc.cxx.
References aName, aURL, GetMedium(), SfxShell::GetName(), GetSharedFileURL(), GetTitle(), IsDocShared(), and SFX_TITLE_DETECT.
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().
css::uno::Reference< css::frame::XModel3 > SfxObjectShell::GetBaseModel | ( | ) | const |
Definition at line 854 of file objxtor.cxx.
References pImpl.
Referenced by CloseInternal(), DevelopmentToolDockingWindow::DevelopmentToolDockingWindow(), ExecFile_Impl(), GetDocumentProtectionFromGrabBag(), GetModel(), GetSignPDFCertificate(), and SignDocumentContentUsingCertificate().
StarBASIC * SfxObjectShell::GetBasic | ( | ) | const |
Definition at line 755 of file objxtor.cxx.
References GetBasicManager(), and BasicManager::GetLib().
Reference< XLibraryContainer > SfxObjectShell::GetBasicContainer | ( | ) |
Definition at line 731 of file objxtor.cxx.
References SfxApplication::GetBasicContainer(), GetModel(), BasicManager::GetScriptLibraryContainer(), utl::ConfigManager::IsFuzzing(), pImpl, SAL_WARN, SfxGetpApp(), and TOOLS_WARN_EXCEPTION.
Referenced by SfxViewFrame::AddDispatchMacroToBasic_Impl().
BasicManager * SfxObjectShell::GetBasicManager | ( | ) | const |
Definition at line 644 of file objxtor.cxx.
References SfxApplication::GetBasicManager(), and TOOLS_WARN_EXCEPTION.
Referenced by SfxViewFrame::AddDispatchMacroToBasic_Impl(), CallBasic(), DoSave(), GetBasic(), SfxMacroLoader::loadMacro(), QuerySaveSizeExceededModules_Impl(), and SaveAsOwnFormat().
SvGlobalName const & SfxObjectShell::GetClassName | ( | ) | const |
Definition at line 282 of file objstor.cxx.
References SfxObjectFactory::GetClassId(), and GetFactory().
uno::Sequence< document::CmisVersion > SfxObjectShell::GetCmisVersions | ( | ) | const |
Definition at line 387 of file objserv.cxx.
References Application::CreateMessageDialog(), SfxShell::GetFrame(), GetFrameWeld(), and GetModel().
Referenced by SfxCmisVersionsDialog::LoadVersions().
|
inline |
Definition at line 487 of file objsh.hxx.
Referenced by SfxPickListImpl::AddDocumentToPickList(), SfxViewFrame::INetState_Impl(), PreDoSaveAs_Impl(), PrepareClose(), SaveTo_Impl(), SetVisArea(), and SfxViewFrame::StateReload_Impl().
|
static |
Definition at line 915 of file objxtor.cxx.
Referenced by ExecFile_Impl(), and SfxAppData_Impl::OnApplicationBasicManagerCreated().
Reference< XLibraryContainer > SfxObjectShell::GetDialogContainer | ( | ) |
Definition at line 709 of file objxtor.cxx.
References SfxApplication::GetDialogContainer(), BasicManager::GetDialogLibraryContainer(), GetModel(), pImpl, SAL_WARN, SfxGetpApp(), and TOOLS_WARN_EXCEPTION.
css::uno::Reference< css::awt::XWindow > SfxObjectShell::GetDialogParent | ( | SfxMedium const * | pMedium = nullptr | ) |
Definition at line 1618 of file objmisc.cxx.
References SfxViewFrame::Current(), SfxViewFrame::GetFirst(), SfxFrameItem::GetFrame(), SfxUnoFrameItem::GetFrame(), SfxViewFrame::GetFrame(), SfxFrame::GetFrameInterface(), SfxItemSet::GetItem(), SfxMedium::GetItemSet(), GetMedium(), SfxViewFrame::GetObjectShell(), SfxBoolItem::GetValue(), rSet, SAL_WARN_IF, and xFrame.
Referenced by CheckPasswd_Impl(), and UpdateFromTemplate_Impl().
Definition at line 332 of file objcont.cxx.
uno::Reference< document::XDocumentProperties > SfxObjectShell::getDocProperties | ( | ) | const |
Definition at line 161 of file objmisc.cxx.
References DBG_ASSERT, and GetModel().
Referenced by APISaveAs_Impl(), DoSaveCompleted(), ExecFile_Impl(), ExecProps_Impl(), FinishedLoading(), FlushDocInfo(), SfxObjectShell_Impl::getDocumentLocation(), GetState_Impl(), sfx2::IMPL_LINK(), SfxPrinterController::jobFinished(), SfxPrinterController::jobStarted(), SfxPickListImpl::Notify(), ResetFromTemplate(), StateProps_Impl(), TemplateDisconnectionAfterLoad(), UpdateDocInfoForSave(), and UpdateFromTemplate_Impl().
|
overridevirtual |
Implements comphelper::IEmbeddedHelper.
Definition at line 3853 of file objstor.cxx.
References SfxMedium::GetBaseURL(), and GetMedium().
Referenced by SfxObjectShell_Impl::getDocumentLocation(), and sfx2::LinkManager::UpdateAllLinks().
|
virtual |
Definition at line 35 of file objembed.cxx.
References GetDocumentPrinter(), GetModel(), and GetParentShell().
Referenced by GetDocumentPrinter().
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().
|
virtual |
Definition at line 44 of file objembed.cxx.
References GetDocumentRefDev(), GetModel(), and GetParentShell().
Referenced by GetDocumentRefDev(), and SfxRedactionHelper::searchInMetaFile().
uno::Sequence< security::DocumentSignatureInformation > SfxObjectShell::GetDocumentSignatureInformation | ( | bool | bScriptingContent, |
const css::uno::Reference< css::security::XDocumentDigitalSignatures > & | xSigner = css::uno::Reference<css::security::XDocumentDigitalSignatures>() |
||
) |
Definition at line 1803 of file objserv.cxx.
References utl::UcbStreamHelper::CreateStream(), SfxMedium::CreateTempFile(), SfxMedium::GetFilter(), GetMedium(), SfxShell::GetName(), comphelper::getProcessComponentContext(), GetStorage(), HasSignatureStream(), IsOwnStorageFormat(), TOOLS_WARN_EXCEPTION, and xStream.
Referenced by ExecFile_Impl(), SfxObjectShell_Impl::hasTrustedScriptingSignature(), and ImplGetSignatureState().
SignatureState SfxObjectShell::GetDocumentSignatureState | ( | ) |
Definition at line 2070 of file objserv.cxx.
References ImplGetSignatureState().
Referenced by CheckForBrokenDocSignatures_Impl(), ExecFile_Impl(), and GetState_Impl().
comphelper::EmbeddedObjectContainer & SfxObjectShell::GetEmbeddedObjectContainer | ( | ) | const |
Definition at line 211 of file objembed.cxx.
References GetModel(), GetStorage(), and pImpl.
Referenced by ImportFrom(), IsModified(), SaveAsChildren(), SaveChildren(), SaveCompleted(), SaveCompletedChildren(), SaveTo_Impl(), and SwitchPersistence().
|
inlineoverridevirtual |
Implements comphelper::IEmbeddedHelper.
Definition at line 635 of file objsh.hxx.
Referenced by sfx2::LinkManager::UpdateAllLinks().
ErrCode SfxObjectShell::GetError | ( | ) | const |
Definition at line 220 of file objmisc.cxx.
References GetErrorCode(), and ErrCode::IgnoreWarning().
Referenced by DoLoad(), DoSave_Impl(), and DoSaveAs().
ErrCode SfxObjectShell::GetErrorCode | ( | ) | const |
Definition at line 225 of file objmisc.cxx.
References SfxMedium::GetErrorCode(), GetMedium(), and pImpl.
Referenced by ExecFile_Impl(), GetError(), SfxApplication::LoadTemplate(), and SaveTo_Impl().
|
virtual |
Definition at line 830 of file objxtor.cxx.
Referenced by SfxEvents_Impl::SfxEvents_Impl().
|
pure virtual |
Referenced by APISaveAs_Impl(), SfxBaseModel::attachResource(), CommonSaveAs_Impl(), SfxBaseController::ConnectSfxFrame_Impl(), ConvertSlotsToCommands(), SfxBaseModel::createDefaultViewController(), SfxBaseModel::createViewController(), SvFileObject::Edit(), ExecFile_Impl(), SfxBaseModel::getAvailableViewControllerNames(), GetClassName(), GetModule(), IMPL_LINK(), SfxViewFrame::MiscState_Impl(), PreDoSaveAs_Impl(), Save_Impl(), SfxViewFrame::SaveCurrentViewData_Impl(), SaveTo_Impl(), SfxViewFrame::StateView_Impl(), SfxViewFrame::SwitchToViewShell_Impl(), UpdateFromTemplate_Impl(), SfxViewFrame::UpdateTitle(), and WriteThumbnail().
|
static |
Definition at line 426 of file objxtor.cxx.
References SfxViewFrame::GetFirst(), SfxApplication::GetObjectShells_Impl(), and SfxGetpApp().
Referenced by CommonSaveAs_Impl(), SfxApplication::Deinitialize(), SfxViewFrame::Get(), IMPL_LINK_NOARG(), SfxMacroLoader::loadMacro(), SfxApplication::MiscExec_Impl(), SfxApplication::MiscState_Impl(), and ReconnectDdeLinks().
Size SfxObjectShell::GetFirstPageSize | ( | ) | const |
Definition at line 653 of file objmisc.cxx.
References ASPECT_THUMBNAIL, tools::Rectangle::GetSize(), and GetVisArea().
Referenced by CreatePreview_Impl().
SvKeyValueIterator * SfxObjectShell::GetHeaderAttributes | ( | ) |
Definition at line 1529 of file objmisc.cxx.
References DBG_ASSERT, pImpl, and pMedium.
Referenced by ClearHeaderAttributesForSourceViewHack(), FinishedLoading(), and SetHeaderAttributesForSourceViewHack().
|
virtual |
Definition at line 3072 of file objstor.cxx.
References DOCUMENTVERSIONS, GetMedium(), NONE, and nState.
Referenced by QueryHiddenInformation().
|
overridevirtual |
Implements comphelper::IEmbeddedHelper.
Definition at line 3845 of file objstor.cxx.
References SfxMedium::GetInteractionHandler(), and GetMedium().
Referenced by DoLoad().
bool SfxObjectShell::GetMacroCallsSeenWhileLoading | ( | ) | const |
Definition at line 3785 of file objstor.cxx.
References pImpl.
Referenced by SfxObjectShell_Impl::macroCallsSeenWhileLoading().
MapUnit SfxObjectShell::GetMapUnit | ( | ) | const |
Definition at line 109 of file objembed.cxx.
References pImpl.
Referenced by SfxBaseModel::attachResource(), CreatePreview_Impl(), DoDraw(), DoDraw_Impl(), FillTransferableObjectDescriptor(), and GetVisArea().
|
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().
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().
sal_uInt32 SfxObjectShell::GetModifyPasswordHash | ( | ) | const |
Definition at line 678 of file objcont.cxx.
References pImpl.
Referenced by ExecFile_Impl(), SfxViewFrame::ExecReload_Impl(), and FinishedLoading().
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().
SfxModule * SfxObjectShell::GetModule | ( | ) | const |
Definition at line 1321 of file objmisc.cxx.
References GetFactory(), and SfxObjectFactory::GetModule().
Referenced by ExecFile_Impl(), SfxModule::GetActiveModule(), IMPL_LINK_NOARG(), SfxStatusBarControllerFactory(), SfxToolBoxControllerFactory(), and StyleList::Update().
|
static |
Definition at line 451 of file objxtor.cxx.
References SfxViewFrame::GetFirst(), SfxApplication::GetObjectShells_Impl(), IsPreview(), IsReadOnly(), nPos, and SfxGetpApp().
Referenced by CommonSaveAs_Impl(), SfxViewFrame::Get(), IMPL_LINK_NOARG(), SfxMacroLoader::loadMacro(), SfxApplication::MiscExec_Impl(), SfxApplication::MiscState_Impl(), and ReconnectDdeLinks().
IndexBitSet & SfxObjectShell::GetNoSet_Impl | ( | ) |
Definition at line 659 of file objmisc.cxx.
References pImpl.
Referenced by SfxViewFrame::GetDocNumber_Impl().
|
overridevirtual |
Reimplemented from SfxShell.
Definition at line 824 of file objxtor.cxx.
Referenced by SfxViewFrame::GetFirst(), IMPL_LINK(), and IMPL_LINK_NOARG().
|
static |
Definition at line 1056 of file objxtor.cxx.
References Exception, and GetShellFromComponent().
Referenced by GetDocumentPrinter(), and GetDocumentRefDev().
std::vector< InfobarData > & SfxObjectShell::getPendingInfobars | ( | ) |
Definition at line 207 of file objmisc.cxx.
References Get_Impl(), and SfxObjectShell_Impl::m_aPendingInfobars.
BitmapEx SfxObjectShell::GetPreviewBitmap | ( | ) | const |
Definition at line 105 of file objcont.cxx.
References BitmapEx::Convert(), CreatePreview_Impl(), BitmapEx::IsEmpty(), BitmapEx::Scale(), and size.
Referenced by SfxPickListImpl::AddDocumentToPickList(), and WriteThumbnail().
std::shared_ptr< GDIMetaFile > SfxObjectShell::GetPreviewMetaFile | ( | bool | bFullContent = false | ) | const |
Definition at line 95 of file objcont.cxx.
References CreatePreview_Impl(), and VclPtr< class reference_type >::get().
Referenced by SfxPreviewWin_Impl::SetObjectShell().
SfxProgress * SfxObjectShell::GetProgress | ( | ) | const |
Definition at line 877 of file objmisc.cxx.
References pImpl.
Referenced by CloseInternal(), SfxProgress::GetActiveProgress(), and SfxViewFrame::GetProgress().
|
virtual |
Definition at line 1119 of file objxtor.cxx.
References SAL_WARN.
Referenced by lcl_IsPasswordCorrect(), and SfxSecurityPage_Impl::Reset_Impl().
std::optional< NamedColor > SfxObjectShell::GetRecentColor | ( | sal_uInt16 | nSlotId | ) |
Definition at line 317 of file objcont.cxx.
References pImpl.
SignatureState SfxObjectShell::GetScriptingSignatureState | ( | ) |
Definition at line 2210 of file objserv.cxx.
References ImplGetSignatureState().
Referenced by CheckSecurityOnLoading_Impl(), SfxObjectShell_Impl::getScriptingSignatureState(), and GetState_Impl().
|
static |
Remove everything behind name!
Definition at line 921 of file objxtor.cxx.
References nPos.
Referenced by sfx2::FileDialogHelper_Impl::createMatcher(), sfx2::FileDialogHelper::CreateMatcher(), CreateObjectByFactoryName(), SfxTemplateManagerDlg::DefaultTemplateMenuSelectHdl(), sfx2::FileDialogHelper::FileDialogHelper(), and SfxFilter::GetDefaultFilterFromFactory().
OUString SfxObjectShell::GetSharedFileURL | ( | ) | const |
Definition at line 644 of file objmisc.cxx.
References pImpl.
Referenced by SfxPickListImpl::AddDocumentToPickList(), SfxViewFrame::ExecReload_Impl(), and GetAPIName().
|
static |
Definition at line 1039 of file objxtor.cxx.
References aSeq, Exception, and SFX_GLOBAL_CLASSID.
Referenced by CreateObject(), GetParentShell(), SfxPrintHelper::initialize(), SfxObjectShellItem::PutValue(), SfxFrame::Resize(), SfxRedactionHelper::searchInMetaFile(), SfxStatusBarControllerFactory(), and SfxToolBoxControllerFactory().
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().
void SfxObjectShell::GetState_Impl | ( | SfxItemSet & | rSet | ) |
pCombinedFilters ||
pCombinedFilters ||
Definition at line 1360 of file objserv.cxx.
References SfxViewFrame::AppendInfoBar(), bRememberSignature, BROKEN, weld::Button::connect_clicked(), DANGER, SfxItemSet::DisableItem(), SfxWhichIter::FirstWhich(), getDocProperties(), GetDocumentSignatureState(), SfxViewFrame::GetFirst(), SfxShell::GetFrame(), GetMedium(), GetModel(), SfxShell::GetName(), GetScriptingSignatureState(), getTitle(), SfxShell::GetUndoManager(), SfxViewFrame::HasInfoBarWithID(), HasName(), INFO, INVALID, SfxUndoManager::IsEmptyActions(), isExportLocked(), IsModified(), IsOwnStorageFormat(), IsReadOnly(), isSaveLocked(), LINK, MAINDOCUMENT, SfxWhichIter::NextWhich(), NOSIGNATURES, NOTVALIDATED, NOTVALIDATED_PARTIAL_OK, OK, PARTIAL_OK, pImpl, SfxItemSet::Put(), SfxViewFrame::RemoveInfoBar(), rSet, weld::Button::set_label(), SfxResId(), sMessage, u, SfxViewFrame::UpdateInfoBar(), and WARNING.
uno::Reference< embed::XStorage > const & SfxObjectShell::GetStorage | ( | ) |
Definition at line 3260 of file objstor.cxx.
References GlobalEventConfig::GetEventName(), comphelper::OStorageHelper::GetTemporaryStorage(), utl::ConfigManager::IsFuzzing(), SfxApplication::NotifyEvent(), pImpl, SetupStorage(), SfxGetpApp(), SOFFICE_FILEFORMAT_CURRENT, StorageChanged, and TOOLS_WARN_EXCEPTION.
Referenced by CheckEncryption_Impl(), CheckIsReadonly(), DoSave(), DoSaveCompleted(), SfxViewFrame::ExecReload_Impl(), GetDocumentSignatureInformation(), GetEmbeddedObjectContainer(), SfxObjectShell_Impl::hasTrustedScriptingSignature(), SfxApplication::LoadTemplate(), PrepareForSigning(), SaveAsChildren(), SaveChildren(), SaveCompleted(), SaveTo_Impl(), SignDocumentContentUsingCertificate(), and TemplateDisconnectionAfterLoad().
|
inlineoverridevirtual |
Implements comphelper::IEmbeddedHelper.
|
virtual |
Definition at line 411 of file objcont.cxx.
Referenced by IMPL_LINK().
|
virtual |
Definition at line 346 of file objcont.cxx.
Referenced by StyleList::FilterSelect(), LoadStyles(), StyleList::Notify(), sfx2::StyleManager::Search(), SfxManageStyleSheetPage::SfxManageStyleSheetPage(), StyleList::Update(), and StyleList::UpdateFamily().
|
virtual |
Definition at line 338 of file objcont.cxx.
OUString SfxObjectShell::GetTitle | ( | sal_uInt16 | nMaxLen = 0 | ) | const |
Definition at line 710 of file objmisc.cxx.
References aName, aTitleMap_Impl, aURL, DBG_ASSERT, INetURLObject::decode(), SfxItemSet::GetItem(), SfxMedium::GetItemSet(), GetName(), GetTitle(), CntUnencodedStringItem::GetValue(), INetURLObject::LAST_SEGMENT, INetURLObject::NONE, INetURLObject::PathToFileName(), SFX_TITLE_APINAME, SFX_TITLE_CAPTION, SFX_TITLE_DETECT, SFX_TITLE_FILENAME, SFX_TITLE_FULLNAME, SFX_TITLE_HISTORY, SFX_TITLE_MAXLEN, SFX_TITLE_PICKLIST, SfxResId(), INetURLObject::ToIUri, and INetURLObject::WithCharset.
Referenced by SfxPickListImpl::AddDocumentToPickList(), SfxShell::DoActivate_Impl(), DoInitNew(), ExecFile_Impl(), FinishedLoading(), GetAPIName(), InvalidateName(), SfxApplication::LoadTemplate(), SfxEvents_Impl::NormalizeMacro(), SetNamedVisibility_Impl(), SetTitle(), SfxCmisVersionsDialog::SfxCmisVersionsDialog(), SfxVersionDialog::SfxVersionDialog(), and StateProps_Impl().
|
static |
Definition at line 2230 of file objserv.cxx.
References comphelper::UnoIdInit::getSeq().
const tools::Rectangle & SfxObjectShell::GetVisArea | ( | ) | const |
Definition at line 74 of file objembed.cxx.
References ASPECT_CONTENT, GetVisArea(), and pImpl.
Referenced by CreatePreview_Impl(), DoDraw(), DoDraw_Impl(), FillTransferableObjectDescriptor(), GetFirstPageSize(), GetVisArea(), and SetVisAreaSize().
|
virtual |
Definition at line 59 of file objembed.cxx.
References ASPECT_CONTENT, ASPECT_THUMBNAIL, GetMapUnit(), OutputDevice::LogicToLogic(), pImpl, and tools::Rectangle::SetSize().
|
inlinevirtual |
|
static |
Definition at line 856 of file objstor.cxx.
References Any, ERRCODE_ABORT, ERRCODE_IO_INVALIDPARAMETER, ERRCODE_NONE, Exception, SfxMedium::GetFilter(), SfxMedium::GetInputStream(), SfxMedium::GetInteractionHandler(), SfxItemSet::GetItem(), SfxMedium::GetItemSet(), SfxItemSet::GetItemState(), GetModel(), SfxMedium::GetName(), SfxShell::GetPool(), comphelper::LibreOfficeKit::isActive(), pData, pMedium, SfxItemSet::Put(), rSet, TransformItems(), and TransformParameters().
Referenced by DoLoad().
bool SfxObjectShell::HasBasic | ( | ) | const |
Definition at line 662 of file objxtor.cxx.
References InitBasicManager_Impl(), and pImpl.
Referenced by DoSave(), QuerySaveSizeExceededModules_Impl(), and SaveAsOwnFormat().
|
virtual |
Definition at line 1097 of file objxtor.cxx.
References SAL_WARN.
Referenced by SfxSecurityPage_Impl::FillItemSet_Impl().
|
inline |
Definition at line 266 of file objsh.hxx.
Referenced by SfxPickListImpl::AddDocumentToPickList(), CanReload_Impl(), ExecFile_Impl(), SfxViewFrame::ExecReload_Impl(), sfx2::LinkManager::GetGraphicFromAny(), GetState_Impl(), SfxViewFrame::INetState_Impl(), AutoReloadTimer_Impl::Invoke(), SetNamedVisibility_Impl(), SetTitle(), SfxViewFrame::StateReload_Impl(), and SfxViewFrame::UpdateTitle().
bool SfxObjectShell::HasSharedXMLFlagSet | ( | ) | const |
References GetError(), and SetError().
bool SfxObjectShell::HasValidSignatures | ( | ) | const |
Definition at line 2063 of file objserv.cxx.
References NOTVALIDATED, OK, PARTIAL_OK, and pImpl.
Referenced by CheckIsReadonly(), CheckSecurityOnLoading_Impl(), ExecFile_Impl(), SignDocumentContent(), SignDocumentContentUsingCertificate(), SignScriptingContent(), and SignSignatureLine().
SignatureState SfxObjectShell::ImplGetSignatureState | ( | bool | bScriptingContent = false | ) |
Definition at line 1866 of file objserv.cxx.
References aInfos, GetDocumentSignatureInformation(), DocumentSignatures::getSignatureState(), INVALID, IsModified(), NOSIGNATURES, NOTVALIDATED, OK, PARTIAL_OK, pImpl, and UNKNOWN.
Referenced by GetDocumentSignatureState(), GetScriptingSignatureState(), PrepareForSigning(), and SignDocumentContentUsingCertificate().
|
virtual |
Definition at line 2176 of file objstor.cxx.
References ERRCODE_IO_BROKENPACKAGE, ERRCODE_SFX_DOLOADFAILED, ERRCODE_SFX_FORMAT_ROWCOL, SfxMedium::GetBaseURL(), comphelper::EmbeddedObjectContainer::GetEmbeddedObject(), GetEmbeddedObjectContainer(), SfxMedium::GetFilter(), SfxMedium::GetInStream(), SfxMedium::GetItemSet(), GetModel(), SfxMedium::GetName(), comphelper::EmbeddedObjectContainer::GetObjectNames(), i, Name, nState, SfxItemSet::Put(), SAL_WARN, SetError(), sInputStream, TransformItems(), u, and xFactory.
Referenced by DoLoad().
bool SfxObjectShell::ImportFromGeneratedStream_Impl | ( | const css::uno::Reference< css::io::XStream > & | xStream, |
const css::uno::Sequence< css::beans::PropertyValue > & | aMediaDescr | ||
) |
Definition at line 500 of file objstor.cxx.
References bHasName, SfxMedium::CanDisposeStorage_Impl(), SfxMedium::CloseStorage(), SfxMedium::GetItemSet(), SfxShell::GetPool(), comphelper::OStorageHelper::GetStorageFromStream(), SfxMedium::HasStorage_Impl(), InsertGeneratedStream(), IsLoadReadonly(), IsReadOnly(), LoadOwnFormat(), pImpl, pMedium, SfxItemSet::Put(), SetReadOnlyUI(), SfxMedium::SetStorage_Impl(), SfxGetpApp(), TransformParameters(), and xStream.
void SfxObjectShell::InitBasicManager_Impl | ( | ) |
Definition at line 765 of file objxtor.cxx.
References DBG_ASSERT, GetModel(), pImpl, and TOOLS_WARN_EXCEPTION.
Referenced by HasBasic().
|
staticprivate |
SfxInterface initializer.
Definition at line 131 of file objserv.cxx.
|
virtual |
Definition at line 427 of file objstor.cxx.
References GeneralInit_Impl().
Referenced by DoInitNew(), and DoLoad().
void SfxObjectShell::InitOwnModel_Impl | ( | ) |
Definition at line 1038 of file objmisc.cxx.
References SfxItemSet::ClearItem(), SfxItemSet::GetItem(), SfxMedium::GetItemSet(), GetMedium(), GetModel(), SfxMedium::GetOrigURL(), SfxMedium::GetPhysicalName(), impl_addToModelCollection(), IsReadOnly(), pImpl, pMedium, SfxItemSet::Put(), rSet, TransformItems(), and xModel.
Referenced by DoLoad(), and FinishedLoading().
|
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().
|
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().
void SfxObjectShell::InvalidateName | ( | ) |
Definition at line 839 of file objmisc.cxx.
References SfxBroadcaster::Broadcast(), GetTitle(), pImpl, SfxShell::SetName(), and SFX_TITLE_APINAME.
Referenced by DoSaveCompleted(), SfxApplication::LoadTemplate(), and TemplateDisconnectionAfterLoad().
bool SfxObjectShell::IsAbortingImport | ( | ) | const |
Definition at line 154 of file objmisc.cxx.
References pImpl.
bool SfxObjectShell::IsAutoLoadLocked | ( | ) | const |
Definition at line 927 of file objmisc.cxx.
References IsReadOnly().
Referenced by AutoReloadTimer_Impl::Invoke(), and SfxFrame::IsAutoLoadLocked_Impl().
|
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().
|
virtual |
Definition at line 1089 of file objxtor.cxx.
References SAL_WARN.
Referenced by SfxSecurityPage_Impl::FillItemSet_Impl().
bool SfxObjectShell::IsConfigOptionsChecked | ( | ) | const |
Definition at line 3770 of file objstor.cxx.
References pImpl.
bool SfxObjectShell::isContentExtractionLocked | ( | ) | const |
Definition at line 1894 of file objmisc.cxx.
References GetModel(), comphelper::NamedValueCollection::getOrDefault(), u, and xModel.
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.
bool SfxObjectShell::IsDocShared | ( | ) | const |
Definition at line 634 of file objmisc.cxx.
References pImpl.
Referenced by SfxPickListImpl::AddDocumentToPickList(), CommonSaveAs_Impl(), SfxViewFrame::ExecReload_Impl(), GetAPIName(), SetTitle(), and ~SfxObjectShell().
bool SfxObjectShell::isEditDocLocked | ( | ) | const |
Definition at line 1884 of file objmisc.cxx.
References GetModel(), comphelper::NamedValueCollection::getOrDefault(), u, and xModel.
Referenced by SfxViewFrame::ExecReload_Impl(), and SfxViewFrame::StateReload_Impl().
bool SfxObjectShell::IsEnableSetModified | ( | ) | const |
Definition at line 248 of file objmisc.cxx.
References eCreateMode, INTERNAL, IsPreview(), ORGANIZER, and pImpl.
Referenced by SfxViewFrame::ExecReload_Impl(), FinishedLoading(), SfxStoringHelper::FinishGUIStoreModel(), SfxPrinterController::jobStarted(), ModifyBlocker_Impl::ModifyBlocker_Impl(), SfxPickListImpl::Notify(), PrepareForSigning(), SaveCompleted(), SetModified(), SetVisArea(), SignDocumentContentUsingCertificate(), SwitchPersistence(), and ~SfxObjectShell().
|
inlineoverridevirtual |
Implements comphelper::IEmbeddedHelper.
bool SfxObjectShell::isExportLocked | ( | ) | const |
Definition at line 1902 of file objmisc.cxx.
References GetModel(), comphelper::NamedValueCollection::getOrDefault(), u, and xModel.
Referenced by GetState_Impl(), and SfxViewShell::GetState_Impl().
bool SfxObjectShell::IsHelpDocument | ( | ) | const |
Definition at line 580 of file objcont.cxx.
References SfxMedium::GetFilter(), and GetMedium().
Referenced by SfxBaseController::ConnectSfxFrame_Impl().
|
inline |
bool SfxObjectShell::IsInModalMode | ( | ) | const |
Definition at line 422 of file objmisc.cxx.
References pImpl.
Referenced by AcceptStateUpdate(), CanReload_Impl(), SfxViewFrame::ExecReload_Impl(), and PrepareClose().
bool SfxObjectShell::IsInPlaceActive | ( | ) | const |
Definition at line 1676 of file objmisc.cxx.
References eCreateMode, EMBEDDED, SfxViewFrame::GetFirst(), SfxViewFrame::GetFrame(), and SfxFrame::IsInPlace().
Referenced by SfxWorkWindow::SfxWorkWindow().
bool SfxObjectShell::IsInPrepareClose | ( | ) | const |
Definition at line 488 of file objxtor.cxx.
References pImpl.
bool SfxObjectShell::IsLoading | ( | ) | const |
Definition at line 1254 of file objmisc.cxx.
References MAINDOCUMENT, and pImpl.
Referenced by CancelTransfers(), FlushDocInfo(), PostActivateEvent_Impl(), and SfxEvents_Impl::replaceByName().
bool SfxObjectShell::IsLoadingFinished | ( | ) | const |
Definition at line 1033 of file objmisc.cxx.
Referenced by SetReadOnly(), and SfxViewFrame::UpdateDocument_Impl().
bool SfxObjectShell::IsLoadReadonly | ( | ) | const |
Definition at line 654 of file objcont.cxx.
References pImpl.
Referenced by DoLoad(), ExecFile_Impl(), ImportFromGeneratedStream_Impl(), and IsSecurityOptOpenReadOnly().
bool SfxObjectShell::IsModified | ( | ) | const |
Definition at line 259 of file objmisc.cxx.
References comphelper::EmbeddedObjectContainer::GetEmbeddedObject(), GetEmbeddedObjectContainer(), comphelper::EmbeddedObjectContainer::GetObjectNames(), IsReadOnly(), nState, and pImpl.
Referenced by SfxPickListImpl::AddDocumentToPickList(), CommonSaveAs_Impl(), SfxViewFrame::ExecReload_Impl(), GetState_Impl(), ImplGetSignatureState(), PrepareClose(), PrepareForSigning(), SignDocumentContentUsingCertificate(), StateProps_Impl(), and UpdateDocInfoForSave().
bool SfxObjectShell::IsModifyPasswordEntered | ( | ) | const |
Definition at line 721 of file objcont.cxx.
References pImpl.
Referenced by SfxViewFrame::ExecReload_Impl(), and FinishedLoading().
bool SfxObjectShell::IsOriginallyLoadedReadOnlyMedium | ( | ) | const |
Definition at line 367 of file objmisc.cxx.
References SfxMedium::IsOriginallyLoadedReadOnly(), and pMedium.
Referenced by SfxViewFrame::ExecReload_Impl().
bool SfxObjectShell::IsOriginallyReadOnlyMedium | ( | ) | const |
Definition at line 362 of file objmisc.cxx.
References SfxMedium::IsOriginallyReadOnly(), and pMedium.
Referenced by SfxViewFrame::ExecReload_Impl().
|
static |
Definition at line 953 of file objstor.cxx.
References SfxMedium::GetFilter(), and SOFFICE_FILEFORMAT_60.
Referenced by DoLoad(), DoSave(), ExecFile_Impl(), GetDocumentSignatureInformation(), GetState_Impl(), ResetFromTemplate(), and SaveTo_Impl().
|
static |
Definition at line 962 of file objstor.cxx.
References SfxMedium::GetFilter(), and SOFFICE_FILEFORMAT_60.
Referenced by DoLoad(), DoSave(), DoSaveCompleted(), SaveTo_Impl(), and TemplateDisconnectionAfterLoad().
bool SfxObjectShell::IsPreview | ( | ) | const |
Definition at line 1552 of file objmisc.cxx.
References SfxItemSet::GetItem(), SfxMedium::GetItemSet(), CntUnencodedStringItem::GetValue(), SfxBoolItem::GetValue(), and pMedium.
Referenced by GetNext(), IsEnableSetModified(), and SfxApplication::NotifyEvent().
bool SfxObjectShell::isPrintLocked | ( | ) | const |
Definition at line 1910 of file objmisc.cxx.
References GetModel(), comphelper::NamedValueCollection::getOrDefault(), u, and xModel.
Referenced by SfxViewShell::GetState_Impl().
bool SfxObjectShell::IsQueryLoadTemplate | ( | ) | const |
Definition at line 618 of file objcont.cxx.
References pImpl.
Referenced by UpdateFromTemplate_Impl().
bool SfxObjectShell::IsReadOnly | ( | ) | const |
Definition at line 416 of file objmisc.cxx.
References pImpl, and pMedium.
Referenced by CommonSaveAs_Impl(), SfxViewFrame::Construct_Impl(), ExecFile_Impl(), SfxViewFrame::ExecReload_Impl(), SfxSecurityPage_Impl::FillItemSet_Impl(), GetNext(), GetState_Impl(), IMPL_LINK_NOARG(), ImportFromGeneratedStream_Impl(), SfxVersionDialog::Init_Impl(), InitOwnModel_Impl(), IsAutoLoadLocked(), IsModified(), PrepareClose(), SfxSecurityPage_Impl::Reset_Impl(), Save_Impl(), SetModifyPasswordHash(), SetModifyPasswordInfo(), SetReadOnly(), StateProps_Impl(), SfxViewFrame::StateReload_Impl(), UpdateFromTemplate_Impl(), and SfxShell::VerbExec().
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().
bool SfxObjectShell::IsReadOnlyUI | ( | ) | const |
Definition at line 336 of file objmisc.cxx.
References pImpl.
Referenced by SfxViewFrame::ExecReload_Impl(), SetModifyPasswordHash(), and SetModifyPasswordInfo().
|
inline |
Definition at line 466 of file objsh.hxx.
Referenced by SfxStoringHelper::GUIStoreModel().
bool SfxObjectShell::isSaveLocked | ( | ) | const |
Definition at line 1918 of file objmisc.cxx.
References GetModel(), comphelper::NamedValueCollection::getOrDefault(), u, and xModel.
Referenced by GetState_Impl().
bool SfxObjectShell::IsSaveVersionOnClose | ( | ) | const |
Definition at line 659 of file objcont.cxx.
References pImpl.
Referenced by ExecFile_Impl(), and PrepareClose().
|
static |
Definition at line 1344 of file objmisc.cxx.
References DBG_UNHANDLED_EXCEPTION, and Exception.
Referenced by SfxEvents_Impl::Execute().
bool SfxObjectShell::IsSecurityOptOpenReadOnly | ( | ) | const |
Definition at line 3158 of file objstor.cxx.
References IsLoadReadonly().
Referenced by SfxSecurityPage_Impl::FillItemSet_Impl(), and SfxSecurityPage_Impl::Reset_Impl().
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.
bool SfxObjectShell::IsUIActive | ( | ) | const |
Definition at line 1685 of file objmisc.cxx.
References eCreateMode, EMBEDDED, SfxViewFrame::GetFirst(), SfxViewFrame::GetFrame(), SfxFrame::GetWorkWindow_Impl(), SfxFrame::IsInPlace(), and SfxWorkWindow::IsVisible_Impl().
bool SfxObjectShell::IsUseThumbnailSave | ( | ) | const |
Definition at line 628 of file objcont.cxx.
References pImpl.
Referenced by ExecFile_Impl(), PreDoSaveAs_Impl(), and SaveTo_Impl().
bool SfxObjectShell::IsUseUserData | ( | ) | const |
Definition at line 623 of file objcont.cxx.
References pImpl.
Referenced by ExecFile_Impl(), SfxStoringHelper::FinishGUIStoreModel(), SfxPrinterController::jobStarted(), and UpdateDocInfoForSave().
|
virtual |
Definition at line 433 of file objstor.cxx.
References GeneralInit_Impl(), and SfxMedium::GetStorage().
Referenced by LoadOwnFormat().
|
virtual |
Definition at line 3755 of file objstor.cxx.
Referenced by DoLoadExternal().
|
virtual |
Definition at line 3052 of file objstor.cxx.
References SAL_WARN.
Referenced by UpdateFromTemplate_Impl().
bool SfxObjectShell::LoadOwnFormat | ( | SfxMedium & | pMedium | ) |
Definition at line 3168 of file objstor.cxx.
References CheckPasswd_Impl(), ERRCODE_IO_ABORT, GetEncryptionData_Impl(), SfxItemSet::GetItem(), SfxMedium::GetItemSet(), SfxMedium::GetName(), SfxMedium::GetStorage(), Load(), pMedium, SAL_INFO, and comphelper::OStorageHelper::SetCommonStorageEncryptionData().
Referenced by DoLoad(), and ImportFromGeneratedStream_Impl().
|
virtual |
Definition at line 361 of file objcont.cxx.
References SfxStyleSheetBasePool::CreateIterator(), DBG_ASSERT, SfxStyleSheetBasePool::Find(), SfxStyleSheetBase::GetFamily(), SfxStyleSheetBase::GetItemSet(), SfxStyleSheetBase::GetMask(), SfxStyleSheetBase::GetName(), SfxStyleSheetBase::GetParent(), GetStyleSheetPool(), SfxStyleSheetBase::HasFollowSupport(), SfxStyleSheetBase::HasParentSupport(), i, SfxStyleSheetBasePool::Make(), and SfxItemSet::PutExtended().
Referenced by UpdateFromTemplate_Impl().
|
inlinevirtual |
Definition at line 801 of file objsh.hxx.
Referenced by SaveTo_Impl().
|
protected |
Definition at line 317 of file objmisc.cxx.
References SfxBroadcaster::Broadcast(), SfxViewFrame::Current(), SfxViewFrame::GetBindings(), GlobalEventConfig::GetEventName(), SfxBindings::Invalidate(), Invalidate(), ModifyChanged, SfxApplication::NotifyEvent(), pImpl, and SfxGetpApp().
Referenced by SetModified().
|
virtual |
Definition at line 53 of file objembed.cxx.
void SfxObjectShell::PostActivateEvent_Impl | ( | SfxViewFrame const * | pFrame | ) |
Definition at line 903 of file objmisc.cxx.
References CreateDoc, SfxFrame::GetController(), GlobalEventConfig::GetEventName(), SfxViewFrame::GetFrame(), SfxItemSet::GetItem(), SfxMedium::GetItemSet(), SfxBoolItem::GetValue(), SfxFrame::IsClosing_Impl(), SfxApplication::IsDowning(), IsLoading(), nId, NONE, SfxApplication::NotifyEvent(), OpenDoc, pImpl, pMedium, and SfxGetpApp().
Referenced by FinishedLoading(), and SfxApplication::SetViewFrame_Impl().
bool SfxObjectShell::PreDoSaveAs_Impl | ( | const OUString & | rFileName, |
const OUString & | rFiltName, | ||
SfxItemSet const & | rItemSet, | ||
const css::uno::Sequence< css::beans::PropertyValue > & | rArgs | ||
) |
Definition at line 2847 of file objstor.cxx.
References DBG_ASSERT, SfxMedium::DisableFileSync(), DoSaveCompleted(), EMBEDDED, ERRCODE_NONE, GetCreateMode(), SfxMedium::GetError(), SfxMedium::GetErrorCode(), GetFactory(), SfxMedium::GetItemSet(), SfxBoolItem::GetValue(), SfxUnoAnyItem::GetValue(), i, comphelper::LibreOfficeKit::isActive(), IsUseThumbnailSave(), pImpl, pMedium, SfxItemSet::Put(), SAL_WARN_IF, SaveTo_Impl(), SfxMedium::SetArgs(), SetError(), SfxMedium::SetFilter(), SetModified(), SetUseThumbnailSave(), TerminateEditing(), and SfxMedium::TransferVersionList_Impl().
Referenced by CommonSaveAs_Impl().
|
virtual |
Definition at line 505 of file objxtor.cxx.
References SfxFrame::Appear(), sfx2::SfxNotebookBar::CloseMethod(), Current(), SfxViewFrame::Current(), DBG_ASSERT, EMBEDDED, ExecuteQuerySaveDocument(), SfxBindings::ExecuteSynchron(), SfxViewFrame::GetBindings(), GetCreateMode(), SfxFrame::GetCurrentViewFrame(), GlobalEventConfig::GetEventName(), SfxViewFrame::GetFirst(), SfxViewFrame::GetFrame(), SfxViewFrame::GetFrameWeld(), SfxViewFrame::GetNext(), IsInModalMode(), IsModified(), IsReadOnly(), IsSaveVersionOnClose(), SfxPoolItem::IsVoidItem(), SfxApplication::NotifyEvent(), pImpl, SfxFrame::PrepareClose_Impl(), PrepareCloseDoc, RET_CANCEL, RET_YES, SfxViewFrame::SetViewFrame(), SfxGetpApp(), and SfxResId().
Referenced by SfxViewFrame::Exec_Impl(), ExecFile_Impl(), SfxViewFrame::ExecReload_Impl(), SfxFrame::PrepareClose_Impl(), and SfxBaseController::suspend().
bool SfxObjectShell::PrepareForSigning | ( | weld::Window * | pDialogParent | ) |
Returns true if preparing was successful, else false.
Definition at line 1888 of file objserv.cxx.
References bRememberSignature, SfxMedium::CloseAndRelease(), ConnectTmpStorage_Impl(), Application::CreateMessageDialog(), EnableSetModified(), ExecFile_Impl(), GetMedium(), SfxShell::GetName(), GetODFSaneDefaultVersion(), comphelper::OStorageHelper::GetODFVersionFromStorage(), SfxShell::GetPool(), GetStorage(), SfxMedium::GetStorage(), ImplGetSignatureState(), IsEnableSetModified(), IsModified(), nId, NOSIGNATURES, nVersion, SvtSaveOptions::ODFSVER_012, ODFVER_012_TEXT, pImpl, pMedium, RET_YES, SetModified(), SfxResId(), and SLOT.
Referenced by SignDocumentContent(), SignScriptingContent(), and SignSignatureLine().
void SfxObjectShell::PrepareSecondTryLoad_Impl | ( | ) |
Definition at line 379 of file objstor.cxx.
References pImpl, and ResetError().
void SfxObjectShell::PrintExec_Impl | ( | SfxRequest & | rReq | ) |
Definition at line 251 of file objserv.cxx.
References SfxShell::ExecuteSlot(), SfxViewFrame::GetFirst(), SfxShell::GetViewShell(), and SfxRequest::SetSlot().
void SfxObjectShell::PrintState_Impl | ( | SfxItemSet & | rSet | ) |
Definition at line 262 of file objserv.cxx.
References SfxViewFrame::GetFirst(), SfxViewShell::GetPrinter(), SfxShell::GetViewShell(), Printer::IsPrinting(), SfxItemSet::Put(), and rSet.
bool SfxObjectShell::PutURLContentsToVersionStream_Impl | ( | const OUString & | aURL, |
const css::uno::Reference< css::embed::XStorage > & | xDocStorage, | ||
const OUString & | aStreamName | ||
) |
Definition at line 196 of file objstor.cxx.
References aURL, comphelper::OStorageHelper::CopyInputToOutput(), DBG_ASSERT, ERRCODE_IO_GENERAL, comphelper::OStorageHelper::GetInputStreamFromURL(), comphelper::getProcessComponentContext(), and SetError().
Referenced by SaveTo_Impl().
|
static |
Definition at line 3817 of file objstor.cxx.
References SvtSecurityOptions::isTrustedLocationUri().
Referenced by DoLoad().
sal_Int16 SfxObjectShell::QueryHiddenInformation | ( | HiddenWarningFact | eFact, |
weld::Window * | pParent | ||
) |
Definition at line 3084 of file objstor.cxx.
References Application::CreateMessageDialog(), DOCUMENTVERSIONS, SvtSecurityOptions::DocWarnCreatePdf, SvtSecurityOptions::DocWarnPrint, SvtSecurityOptions::DocWarnSaveOrSend, SvtSecurityOptions::DocWarnSigning, GetHiddenInformationState(), SvtSecurityOptions::IsOptionSet(), NOTES, RECORDEDCHANGES, RET_NO, RET_YES, SfxResId(), sMessage, WhenCreatingPDF, WhenPrinting, WhenSaving, and WhenSigning.
Referenced by ExecFile_Impl(), SfxViewShell::ExecMisc_Impl(), and SfxViewShell::ExecPrint_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().
|
virtual |
Definition at line 164 of file objstor.cxx.
Referenced by ExecFile_Impl(), and SfxViewShell::ExecPrint_Impl().
void SfxObjectShell::RecheckSignature | ( | bool | bAlsoRecheckScriptingSignature | ) |
Definition at line 1981 of file objserv.cxx.
References SfxBroadcaster::Broadcast(), Invalidate(), pImpl, and UNKNOWN.
Referenced by AfterSigning().
|
virtual |
Definition at line 390 of file appdde.cxx.
|
static |
Definition at line 394 of file appdde.cxx.
References GetFirst(), GetNext(), and p.
Referenced by DoLoad().
void SfxObjectShell::ResetError | ( | ) |
Definition at line 233 of file objmisc.cxx.
References ERRCODE_NONE, GetMedium(), pImpl, and SfxMedium::ResetError().
Referenced by ExecFile_Impl(), SfxApplication::LoadTemplate(), and PrepareSecondTryLoad_Impl().
void SfxObjectShell::ResetFromTemplate | ( | const OUString & | rTemplateName, |
std::u16string_view | rFileName | ||
) |
Definition at line 586 of file objcont.cxx.
References Get_Impl(), getDocProperties(), INetURLObject::GetMainURL(), GetMedium(), DateTime::GetUNODateTime(), comphelper::isFileUrl(), IsOwnStorageFormat(), now, SetQueryLoadTemplate(), SfxGetpApp(), DateTime::SYSTEM, INetURLObject::ToIUri, and u.
Referenced by SetTemplate_Impl().
bool SfxObjectShell::ResignDocument | ( | css::uno::Sequence< css::security::DocumentSignatureInformation > & | rSignaturesInfo | ) |
Definition at line 2090 of file objserv.cxx.
References SignDocumentContentUsingCertificate().
Referenced by ExecFile_Impl().
|
virtual |
Definition at line 340 of file objcont.cxx.
|
virtual |
Definition at line 151 of file objstor.cxx.
References SaveChildren().
Referenced by DoSave(), and SaveTo_Impl().
bool SfxObjectShell::Save_Impl | ( | const SfxItemSet * | pSet | ) |
Definition at line 2668 of file objstor.cxx.
References DoSave_Impl(), DoSaveAs(), DoSaveCompleted(), ERRCODE_SFX_DOCUMENTREADONLY, GetFactory(), SfxFilterMatcher::GetFilter4FilterName(), SfxItemSet::GetItem(), SfxMedium::GetItemSet(), GetMedium(), CntUnencodedStringItem::GetValue(), IsReadOnly(), pImpl, SfxItemSet::Put(), and SetError().
|
virtual |
Definition at line 158 of file objstor.cxx.
References SaveAsChildren().
Referenced by SaveAsOwnFormat().
bool SfxObjectShell::SaveAsChildren | ( | SfxMedium & | rMedium | ) |
Definition at line 3296 of file objstor.cxx.
References CopyStoragesOfUnknownMediaType(), eCreateMode, EMBEDDED, SfxMedium::GetArgs(), GetEmbeddedObjectContainer(), SfxItemSet::GetItem(), SfxMedium::GetItemSet(), GetStorage(), SfxMedium::GetStorage(), SotStorage::GetVersion(), pImpl, utl::MediaDescriptor::PROP_AUTOSAVEEVENT, SaveChildren(), SOFFICE_FILEFORMAT_60, and comphelper::EmbeddedObjectContainer::StoreAsChildren().
Referenced by SaveAs().
|
virtual |
Definition at line 3202 of file objstor.cxx.
References GetBasicManager(), SfxMedium::GetFilter(), comphelper::LibreOfficeKit::getLanguageTag(), SfxLokHelper::getLoadLanguage(), SfxMedium::GetStorage(), HasBasic(), comphelper::LibreOfficeKit::isActive(), nVersion, pImpl, SaveAs(), comphelper::LibreOfficeKit::setLanguageTag(), SetupStorage(), and SOFFICE_FILEFORMAT_60.
Referenced by DoSaveObjectAs(), and SaveTo_Impl().
void SfxObjectShell::SaveChildren | ( | bool | bObjectsOnly = false | ) |
Definition at line 3287 of file objstor.cxx.
References GetEmbeddedObjectContainer(), GetStorage(), SotStorage::GetVersion(), pImpl, SOFFICE_FILEFORMAT_60, and comphelper::EmbeddedObjectContainer::StoreChildren().
Referenced by Save(), SaveAsChildren(), and SaveTo_Impl().
|
virtual |
Definition at line 3379 of file objstor.cxx.
References DBG_ASSERT, GetEmbeddedObjectContainer(), GlobalEventConfig::GetEventName(), GetStorage(), IsEnableSetModified(), SfxApplication::NotifyEvent(), pImpl, SaveCompletedChildren(), SetModified(), SfxGetpApp(), StorageChanged, SwitchChildrenPersistence(), and comphelper::EmbeddedObjectContainer::SwitchPersistence().
Referenced by ConnectTmpStorage_Impl(), and DoSaveCompleted().
bool SfxObjectShell::SaveCompletedChildren | ( | ) |
Definition at line 3329 of file objstor.cxx.
References comphelper::EmbeddedObjectContainer::GetEmbeddedObject(), GetEmbeddedObjectContainer(), comphelper::EmbeddedObjectContainer::GetObjectNames(), and pImpl.
Referenced by DoSaveCompleted(), and SaveCompleted().
|
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().
void SfxObjectShell::SetActivateEvent_Impl | ( | SfxEventHintId | nId | ) |
Definition at line 922 of file objmisc.cxx.
Referenced by DoLoad(), and SetInitialized_Impl().
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().
void SfxObjectShell::SetAutoStyleFilterIndex | ( | sal_uInt16 | nSet | ) |
void SfxObjectShell::SetBaseModel | ( | SfxBaseModel * | pModel | ) |
Definition at line 843 of file objxtor.cxx.
References pImpl.
|
virtual |
Definition at line 1105 of file objxtor.cxx.
References SAL_WARN.
Referenced by SfxSecurityPage_Impl::FillItemSet_Impl().
void SfxObjectShell::SetConfigOptionsChecked | ( | bool | bChecked | ) |
Definition at line 3775 of file objstor.cxx.
References pImpl.
Referenced by SfxApplication::OfaExec_Impl().
void SfxObjectShell::SetCreateMode_Impl | ( | SfxObjectCreateMode | nMode | ) |
Definition at line 1671 of file objmisc.cxx.
References eCreateMode.
|
static |
Definition at line 870 of file objxtor.cxx.
References Any, SfxApplication::GetBasicManager(), and BasicManager::SetGlobalUNOConstant().
Referenced by SfxViewShell::SetCurrentDocument(), and SfxInPlaceClient_Impl::stateChanged().
void SfxObjectShell::SetError | ( | ErrCode | rErr | ) |
Definition at line 212 of file objmisc.cxx.
References ERRCODE_NONE, and pImpl.
Referenced by CommonSaveAs_Impl(), ConnectTmpStorage_Impl(), CreateTempCopyOfStorage_Impl(), DoLoad(), DoSave(), DoSave_Impl(), DoSaveAs(), GeneralInit_Impl(), ImportFrom(), PreDoSaveAs_Impl(), PutURLContentsToVersionStream_Impl(), Save_Impl(), SaveTo_Impl(), SetupStorage(), and TemplateDisconnectionAfterLoad().
void SfxObjectShell::SetHeaderAttributesForSourceViewHack | ( | ) |
Definition at line 1546 of file objmisc.cxx.
References GetHeaderAttributes().
void SfxObjectShell::SetInitialized_Impl | ( | const bool | i_fromInitNew | ) |
Definition at line 1072 of file objxtor.cxx.
References CreateDoc, DocCreated, GlobalEventConfig::GetEventName(), utl::ConfigManager::IsFuzzing(), LoadFinished, SfxApplication::NotifyEvent(), pImpl, SetActivateEvent_Impl(), and SfxGetpApp().
Referenced by DoInitNew(), and FinishedLoading().
void SfxObjectShell::SetLoading | ( | SfxLoadedFlags | nFlags | ) |
Definition at line 1028 of file objmisc.cxx.
References pImpl.
void SfxObjectShell::SetLoadReadonly | ( | bool | _bReadonly | ) |
Definition at line 664 of file objcont.cxx.
References pImpl, and SetModified().
Referenced by SetSecurityOptOpenReadOnly().
void SfxObjectShell::SetMacroCallsSeenWhileLoading | ( | ) |
Definition at line 3780 of file objstor.cxx.
References pImpl.
Referenced by SfxBaseModel::attachResource().
void SfxObjectShell::SetMacroMode_Impl | ( | bool | bModal = true | ) |
Definition at line 433 of file objmisc.cxx.
References SfxBroadcaster::Broadcast(), and pImpl.
Referenced by SfxMacroLoader::loadMacro().
void SfxObjectShell::SetMapUnit | ( | MapUnit | nMUnit | ) |
Definition at line 115 of file objembed.cxx.
References pImpl.
void SfxObjectShell::SetModalMode_Impl | ( | bool | bModal | ) |
Definition at line 443 of file objmisc.cxx.
References SfxBroadcaster::Broadcast(), SfxApplication::Get_Impl(), SfxAppData_Impl::nDocModalMode, pImpl, and SfxGetpApp().
|
virtual |
Definition at line 301 of file objmisc.cxx.
References IsEnableSetModified(), ModifyChanged(), pImpl, and SAL_INFO_IF.
Referenced by DoSave_Impl(), DoSaveCompleted(), SfxViewFrame::Exec_Impl(), ExecFile_Impl(), ExecProps_Impl(), SfxViewFrame::ExecReload_Impl(), FinishedLoading(), FlushDocInfo(), IMPL_LINK(), IMPL_LINK_NOARG(), SfxApplication::LoadTemplate(), SfxApplication::OfaExec_Impl(), PreDoSaveAs_Impl(), PrepareForSigning(), SfxEvents_Impl::replaceByName(), SaveCompleted(), SfxInPlaceClient_Impl::saveObject(), SetLoadReadonly(), SetQueryLoadTemplate(), SetSaveVersionOnClose(), SetUseThumbnailSave(), SetUseUserData(), SetVisArea(), SignDocumentContentUsingCertificate(), SwitchPersistence(), TemplateDisconnectionAfterLoad(), and UpdateFromTemplate_Impl().
void SfxObjectShell::SetModifyPasswordEntered | ( | bool | bEntered = true | ) |
Definition at line 716 of file objcont.cxx.
References pImpl.
Referenced by SfxViewFrame::ExecReload_Impl().
bool SfxObjectShell::SetModifyPasswordHash | ( | sal_uInt32 | nHash | ) |
Definition at line 683 of file objcont.cxx.
References IsReadOnly(), IsReadOnlyUI(), MAINDOCUMENT, and pImpl.
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.
void SfxObjectShell::SetNamedVisibility_Impl | ( | ) |
Definition at line 855 of file objmisc.cxx.
References SfxBroadcaster::Broadcast(), SfxApplication::GetFreeIndex(), GetTitle(), HasName(), pImpl, SfxShell::SetName(), SFX_TITLE_APINAME, and SfxGetpApp().
Referenced by SfxViewFrame::GetDocNumber_Impl().
void SfxObjectShell::SetNoName | ( | ) |
Definition at line 870 of file objmisc.cxx.
References bHasName, and GetModel().
Referenced by SfxApplication::LoadTemplate(), and TemplateDisconnectionAfterLoad().
void SfxObjectShell::SetProgress_Impl | ( | SfxProgress * | pProgress | ) |
Definition at line 883 of file objmisc.cxx.
References DBG_ASSERT, and pImpl.
Referenced by SfxProgress::SfxProgress().
|
virtual |
Definition at line 1112 of file objxtor.cxx.
References SAL_WARN.
Referenced by SfxSecurityPage_Impl::FillItemSet_Impl().
void SfxObjectShell::SetQueryLoadTemplate | ( | bool | b | ) |
Definition at line 633 of file objcont.cxx.
References pImpl, and SetModified().
Referenced by ResetFromTemplate(), and UpdateFromTemplate_Impl().
void SfxObjectShell::SetReadOnly | ( | ) |
Definition at line 390 of file objmisc.cxx.
References SfxBroadcaster::Broadcast(), SfxMedium::CloseInStream(), SfxMedium::GetItemSet(), SfxMedium::HasStorage_Impl(), IsLoadingFinished(), IsReadOnly(), IsReadOnlyMedium(), pMedium, SfxItemSet::Put(), SfxMedium::SetOpenMode(), SFX_STREAM_READONLY, and SfxMedium::UnlockFile().
Referenced by SfxViewFrame::ExecReload_Impl(), and FinishedLoading().
void SfxObjectShell::SetReadOnlyUI | ( | bool | bReadOnly = true | ) |
Definition at line 373 of file objmisc.cxx.
References bReadOnly, SfxBroadcaster::Broadcast(), and pImpl.
Referenced by DoLoad(), ExecFile_Impl(), SfxViewFrame::ExecReload_Impl(), and ImportFromGeneratedStream_Impl().
void SfxObjectShell::SetRecentColor | ( | sal_uInt16 | nSlotId, |
const NamedColor & | rColor | ||
) |
Definition at line 326 of file objcont.cxx.
References SfxBroadcaster::Broadcast(), and pImpl.
void SfxObjectShell::SetSaveVersionOnClose | ( | bool | bSet | ) |
Definition at line 671 of file objcont.cxx.
References pImpl, and SetModified().
Referenced by ExecFile_Impl().
void SfxObjectShell::SetSecurityOptOpenReadOnly | ( | bool | bOpenReadOnly | ) |
Definition at line 3163 of file objstor.cxx.
References SetLoadReadonly().
Referenced by SfxSecurityPage_Impl::FillItemSet_Impl().
void SfxObjectShell::SetSharedXMLFlag | ( | bool | bFlag | ) | const |
void SfxObjectShell::SetTitle | ( | const OUString & | rTitle | ) |
Definition at line 667 of file objmisc.cxx.
References SfxBroadcaster::Broadcast(), GetMedium(), GetTitle(), HasName(), IsDocShared(), pImpl, SfxApplication::ReleaseIndex(), SfxShell::SetName(), SFX_TITLE_APINAME, and SfxGetpApp().
Referenced by DoInitNew(), and ExecProps_Impl().
void SfxObjectShell::SetupStorage | ( | const css::uno::Reference< css::embed::XStorage > & | xStorage, |
sal_Int32 | nVersion, | ||
bool | bTemplate | ||
) | const |
bChart | true if the file is a chart doc and FillClass should not be called |
Definition at line 288 of file objstor.cxx.
References aName, ERRCODE_IO_GENERAL, FillClass(), SotExchange::GetFormatDataFlavor(), GetModel(), GetODFSaneDefaultVersion(), utl::ConfigManager::IsFuzzing(), nVersion, SvtSaveOptions::ODFSVER_012, SvtSaveOptions::ODFSVER_013, ODFVER_012_TEXT, ODFVER_013_TEXT, SAL_INFO_IF, and SetError().
Referenced by DoSaveObjectAs(), GeneralInit_Impl(), GetStorage(), and SaveAsOwnFormat().
void SfxObjectShell::SetUseThumbnailSave | ( | bool | _bNew | ) |
Definition at line 647 of file objcont.cxx.
References pImpl, and SetModified().
Referenced by ExecFile_Impl(), and PreDoSaveAs_Impl().
void SfxObjectShell::SetUseUserData | ( | bool | bNew | ) |
Definition at line 640 of file objcont.cxx.
References pImpl, and SetModified().
Referenced by ExecFile_Impl().
|
virtual |
Definition at line 81 of file objembed.cxx.
References EMBEDDED, GetCreateMode(), GlobalEventConfig::GetEventName(), IsEnableSetModified(), SfxApplication::NotifyEvent(), pImpl, SetModified(), SfxGetpApp(), and VisAreaChanged.
Referenced by SfxBaseModel::attachResource(), and SetVisAreaSize().
void SfxObjectShell::SetVisAreaSize | ( | const Size & | rVisSize | ) |
Definition at line 103 of file objembed.cxx.
References GetVisArea(), SetVisArea(), and TopLeft.
void SfxObjectShell::SetWaitCursor | ( | bool | bSet | ) | const |
Definition at line 1577 of file objmisc.cxx.
References SfxViewFrame::GetFirst(), and SfxViewFrame::GetNext().
bool SfxObjectShell::SignDocumentContent | ( | weld::Window * | pDialogParent | ) |
Definition at line 2075 of file objserv.cxx.
References AfterSigning(), CheckIsReadonly(), GetMedium(), HasValidSignatures(), PrepareForSigning(), and SfxMedium::SignContents_Impl().
Referenced by ExecFile_Impl(), and IMPL_LINK_NOARG().
bool SfxObjectShell::SignDocumentContentUsingCertificate | ( | const css::uno::Reference< css::security::XCertificate > & | xCertificate | ) |
Definition at line 2107 of file objserv.cxx.
References AfterSigning(), SfxMedium::CloseAndRelease(), ConnectTmpStorage_Impl(), EnableSetModified(), ExecFile_Impl(), GetBaseModel(), GetMedium(), SfxShell::GetName(), GetODFSaneDefaultVersion(), comphelper::OStorageHelper::GetODFVersionFromStorage(), SfxShell::GetPool(), GetStorage(), SfxMedium::GetStorage(), HasValidSignatures(), ImplGetSignatureState(), IsEnableSetModified(), IsModified(), nId, NOSIGNATURES, nVersion, SvtSaveOptions::ODFSVER_012, ODFVER_012_TEXT, pImpl, pMedium, SetModified(), SfxMedium::SignDocumentContentUsingCertificate(), and SLOT.
Referenced by ExecFile_Impl(), and ResignDocument().
bool SfxObjectShell::SignScriptingContent | ( | weld::Window * | pDialogParent | ) |
Definition at line 2215 of file objserv.cxx.
References AfterSigning(), CheckIsReadonly(), GetMedium(), HasValidSignatures(), PrepareForSigning(), and SfxMedium::SignContents_Impl().
Referenced by ExecFile_Impl().
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 | ||
) |
Definition at line 2185 of file objserv.cxx.
References AfterSigning(), CheckIsReadonly(), SfxDispatcher::Execute(), SfxViewFrame::GetDispatcher(), SfxShell::GetFrame(), GetMedium(), HasValidSignatures(), PrepareForSigning(), and SfxMedium::SignContents_Impl().
bool SfxObjectShell::Stamp_GetPrintCancelState | ( | ) | const |
Definition at line 348 of file objxtor.cxx.
References pImpl.
void SfxObjectShell::Stamp_SetPrintCancelState | ( | bool | bState | ) |
Definition at line 342 of file objxtor.cxx.
References pImpl.
void SfxObjectShell::StateProps_Impl | ( | SfxItemSet & | rSet | ) |
Definition at line 1676 of file objserv.cxx.
References convertCommaSeparated(), SfxWhichIter::FirstWhich(), getDocProperties(), GetTitle(), IMAGES, IsModified(), IsReadOnly(), MAINDOCUMENT, SfxWhichIter::NextWhich(), pImpl, SfxItemSet::Put(), rSet, and SFX_TITLE_FULLNAME.
|
static |
Definition at line 1769 of file objserv.cxx.
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().
bool SfxObjectShell::SwitchPersistence | ( | const css::uno::Reference< css::embed::XStorage > & | xStorage | ) |
Definition at line 3525 of file objstor.cxx.
References DBG_ASSERT, DoSaveCompleted(), GetEmbeddedObjectContainer(), GetMedium(), IsEnableSetModified(), pImpl, SetModified(), StoragesOfUnknownMediaTypeAreCopied_Impl(), SwitchChildrenPersistence(), and comphelper::EmbeddedObjectContainer::SwitchPersistence().
bool SfxObjectShell::SwitchToShared | ( | bool | bShared, |
bool | bSave | ||
) |
Referenced by CommonSaveAs_Impl().
void SfxObjectShell::TemplateDisconnectionAfterLoad | ( | ) |
Definition at line 1162 of file objmisc.cxx.
References aName, aURL, SfxBroadcaster::Broadcast(), SfxMedium::CanDisposeStorage_Impl(), SfxItemSet::ClearItem(), SfxMedium::Close(), SfxMedium::CreateTempFile(), DoSaveCompleted(), ERRCODE_IO_GENERAL, getDocProperties(), SfxItemSet::GetItem(), SfxMedium::GetItemSet(), SfxMedium::GetName(), GetStorage(), comphelper::OStorageHelper::GetTemporaryStorage(), CntUnencodedStringItem::GetValue(), SfxMedium::Init_Impl(), InvalidateName(), IsPackageStorageFormat_Impl(), INetURLObject::LAST_SEGMENT, pMedium, SetError(), SetModified(), SfxMedium::SetName(), SetNoName(), SfxMedium::SetOpenMode(), SfxMedium::SetStorage_Impl(), SetTemplate_Impl(), SFX_STREAM_READWRITE, and INetURLObject::WithCharset.
Referenced by FinishedLoading().
|
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().
|
static |
Definition at line 1365 of file objmisc.cxx.
References comphelper::getProcessComponentContext(), nIndex, parse(), and sScript.
Referenced by SfxEvents_Impl::Execute().
void SfxObjectShell::UpdateDocInfoForSave | ( | ) |
Definition at line 206 of file objcont.cxx.
References SvtSecurityOptions::DocWarnRemovePersonalInfo, getDocProperties(), DateTime::GetUNODateTime(), IsModified(), SvtSecurityOptions::IsOptionSet(), IsUseUserData(), now, DateTime::SYSTEM, and UpdateTime_Impl().
Referenced by SaveTo_Impl().
void SfxObjectShell::UpdateFromTemplate_Impl | ( | ) |
Definition at line 435 of file objcont.cxx.
References CreateObjectByFactoryName(), DBG_ASSERT, DoInitNew(), Exception, GetDialogParent(), getDocProperties(), GetFactory(), SfxMedium::GetFilter(), Application::GetFrameWeld(), SfxDocumentTemplates::GetFull(), SfxItemSet::GetItem(), SfxMedium::GetItemSet(), GetMedium(), SfxMedium::GetName(), SfxShell::GetName(), SfxMedium::GetStorage(), CntUInt16Item::GetValue(), comphelper::isFileUrl(), IsQueryLoadTemplate(), IsReadOnly(), LoadFrom(), LoadStyles(), ORGANIZER, RET_YES, SetModified(), SetQueryLoadTemplate(), SfxResId(), sMessage, TOOLS_INFO_EXCEPTION, and u.
Referenced by SfxViewFrame::UpdateDocument_Impl().
|
virtual |
Definition at line 3751 of file objstor.cxx.
Referenced by DoLoad().
|
private |
Definition at line 253 of file objcont.cxx.
References DBG_ASSERT, Date::GetDate(), DateTime::GetSecFromDateTime(), tools::Time::GetTime(), lcl_add(), pImpl, and DateTime::SYSTEM.
Referenced by UpdateDocInfoForSave().
|
static |
Definition at line 1694 of file objmisc.cxx.
References framework::InteractionRequest::CreateRequest().
Referenced by SfxBaseModel::handleLoadError().
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().
|
friend |
|
friend |
|
private |
Definition at line 190 of file objsh.hxx.
Referenced by DoLoad(), DoSaveCompleted(), FinishedLoading(), ImportFromGeneratedStream_Impl(), and SetNoName().
|
private |
Definition at line 192 of file objsh.hxx.
Referenced by GenerateAndStoreThumbnail().
|
private |
Definition at line 194 of file objsh.hxx.
Referenced by ExecFile_Impl(), GetState_Impl(), and PrepareForSigning().
|
private |
Definition at line 189 of file objsh.hxx.
Referenced by CreateObject(), DoInitNew(), DoLoad(), DoSaveCompleted(), IsEnableSetModified(), IsInPlaceActive(), IsUIActive(), SaveAsChildren(), SetCreateMode_Impl(), and SfxObjectShell().
|
private |
Definition at line 197 of file objsh.hxx.
Referenced by IsContinueImportOnFilterExceptions().
|
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().
|
private |
Definition at line 187 of file objsh.hxx.
Referenced by AddToRecentlyUsedList(), AdjustMacroMode(), CanReload_Impl(), CommonSaveAs_Impl(), CreateShellID(), DoInitNew(), DoInitUnitTest(), DoLoad(), DoLoadExternal(), DoSave(), DoSaveAs(), DoSaveCompleted(), FinishedLoading(), GetHeaderAttributes(), HandleFilter(), ImportFromGeneratedStream_Impl(), InitOwnModel_Impl(), IsOriginallyLoadedReadOnlyMedium(), IsOriginallyReadOnlyMedium(), IsPreview(), IsReadOnly(), IsReadOnlyMedium(), IsSignPDF(), LoadOwnFormat(), PostActivateEvent_Impl(), PreDoSaveAs_Impl(), PrepareForSigning(), SaveTo_Impl(), SetReadOnly(), SignDocumentContentUsingCertificate(), TemplateDisconnectionAfterLoad(), and ~SfxObjectShell().
|
private |
Definition at line 204 of file objsh.hxx.
Referenced by ExecFile_Impl().