LibreOffice Module sfx2 (master) 1
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
SfxBaseModel Class Reference

#include <sfxbasemodel.hxx>

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

Public Member Functions

 SfxBaseModel (SfxObjectShell *pObjectShell)
 
virtual ~SfxBaseModel () override
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) override
 give answer, if interface is supported @descr The interfaces are searched by type. More...
 
virtual void SAL_CALL acquire () noexcept override
 increment refcount @seealso XInterface @seealso release() @onerror A RuntimeException is thrown. More...
 
virtual void SAL_CALL release () noexcept override
 decrement refcount @seealso XInterface @seealso acquire() @onerror A RuntimeException is thrown. More...
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override
 get information about supported interfaces @seealso XTypeProvider More...
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () override
 get implementation id @descr This ID is necessary for UNO-caching. More...
 
virtual css::uno::Reference< css::container::XNameContainer > SAL_CALL getLibraryContainer () override
 
virtual void SAL_CALL createLibrary (const OUString &LibName, const OUString &Password, const OUString &ExternalSourceURL, const OUString &LinkTargetURL) override
 
virtual void SAL_CALL addModule (const OUString &LibraryName, const OUString &ModuleName, const OUString &Language, const OUString &Source) override
 
virtual void SAL_CALL addDialog (const OUString &LibraryName, const OUString &DialogName, const css::uno::Sequence< sal_Int8 > &Data) override
 
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL getParent () override
 
virtual void SAL_CALL setParent (const css::uno::Reference< css::uno::XInterface > &xParent) override
 
virtual void SAL_CALL dispose () override
 
virtual void SAL_CALL addEventListener (const css::uno::Reference< css::lang::XEventListener > &aListener) override
 
virtual void SAL_CALL removeEventListener (const css::uno::Reference< css::lang::XEventListener > &aListener) override
 
virtual css::uno::Reference< css::document::XDocumentProperties > SAL_CALL getDocumentProperties () override
 
virtual void SAL_CALL disposing (const css::lang::EventObject &aEvent) override
 
virtual sal_Bool SAL_CALL attachResource (const OUString &sURL, const css::uno::Sequence< css::beans::PropertyValue > &aArgs) override
 
virtual OUString SAL_CALL getURL () override
 
virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getArgs () override
 
virtual void SAL_CALL connectController (const css::uno::Reference< css::frame::XController > &xController) override
 
virtual void SAL_CALL disconnectController (const css::uno::Reference< css::frame::XController > &xController) override
 
virtual void SAL_CALL lockControllers () override
 
virtual void SAL_CALL unlockControllers () override
 
virtual sal_Bool SAL_CALL hasControllersLocked () override
 
virtual css::uno::Reference< css::frame::XController > SAL_CALL getCurrentController () override
 
virtual void SAL_CALL setCurrentController (const css::uno::Reference< css::frame::XController > &xController) override
 
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL getCurrentSelection () override
 
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL getControllers () override
 
virtual css::uno::Sequence< OUString > SAL_CALL getAvailableViewControllerNames () override
 
virtual css::uno::Reference< css::frame::XController2 > SAL_CALL createDefaultViewController (const css::uno::Reference< css::frame::XFrame > &Frame) override
 
virtual css::uno::Reference< css::frame::XController2 > SAL_CALL createViewController (const OUString &ViewName, const css::uno::Sequence< css::beans::PropertyValue > &Arguments, const css::uno::Reference< css::frame::XFrame > &Frame) override
 
virtual void SAL_CALL setArgs (const css::uno::Sequence< css::beans::PropertyValue > &aArgs) override
 
virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getArgs2 (const css::uno::Sequence< OUString > &requestedArgs) override
 
virtual sal_Bool SAL_CALL disableSetModified () override
 
virtual sal_Bool SAL_CALL enableSetModified () override
 
virtual sal_Bool SAL_CALL isSetModifiedEnabled () override
 
virtual sal_Bool SAL_CALL isModified () override
 
virtual void SAL_CALL setModified (sal_Bool bModified) override
 
virtual void SAL_CALL addModifyListener (const css::uno::Reference< css::util::XModifyListener > &xListener) override
 
virtual void SAL_CALL removeModifyListener (const css::uno::Reference< css::util::XModifyListener > &xListener) override
 
virtual void SAL_CALL close (sal_Bool bDeliverOwnership) override
 
virtual void SAL_CALL addCloseListener (const css::uno::Reference< css::util::XCloseListener > &xListener) override
 
virtual void SAL_CALL removeCloseListener (const css::uno::Reference< css::util::XCloseListener > &xListener) override
 
virtual void SAL_CALL addPrintJobListener (const css::uno::Reference< css::view::XPrintJobListener > &xListener) override
 
virtual void SAL_CALL removePrintJobListener (const css::uno::Reference< css::view::XPrintJobListener > &xListener) override
 
virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getPrinter () override
 
virtual void SAL_CALL setPrinter (const css::uno::Sequence< css::beans::PropertyValue > &seqPrinter) override
 
virtual void SAL_CALL print (const css::uno::Sequence< css::beans::PropertyValue > &seqOptions) override
 
virtual void SAL_CALL storeSelf (const css::uno::Sequence< css::beans::PropertyValue > &seqArguments) override
 
virtual sal_Bool SAL_CALL hasLocation () override
 
virtual OUString SAL_CALL getLocation () override
 
virtual sal_Bool SAL_CALL isReadonly () override
 
virtual void SAL_CALL store () override
 
virtual void SAL_CALL storeAsURL (const OUString &sURL, const css::uno::Sequence< css::beans::PropertyValue > &seqArguments) override
 
virtual void SAL_CALL storeToURL (const OUString &sURL, const css::uno::Sequence< css::beans::PropertyValue > &seqArguments) override
 
SAL_DLLPRIVATE void impl_store (const OUString &sURL, const css::uno::Sequence< css::beans::PropertyValue > &seqArguments, bool bSaveTo)
 
virtual void SAL_CALL initNew () override
 
virtual void SAL_CALL load (const css::uno::Sequence< css::beans::PropertyValue > &seqArguments) override
 
virtual css::uno::Reference< css::embed::XStorage > SAL_CALL getDocumentSubStorage (const OUString &aStorageName, sal_Int32 nMode) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getDocumentSubStoragesNames () override
 
virtual void SAL_CALL loadFromStorage (const css::uno::Reference< css::embed::XStorage > &xStorage, const css::uno::Sequence< css::beans::PropertyValue > &aMediaDescriptor) override
 
virtual void SAL_CALL storeToStorage (const css::uno::Reference< css::embed::XStorage > &xStorage, const css::uno::Sequence< css::beans::PropertyValue > &aMediaDescriptor) override
 
virtual void SAL_CALL switchToStorage (const css::uno::Reference< css::embed::XStorage > &xStorage) override
 
virtual css::uno::Reference< css::embed::XStorage > SAL_CALL getDocumentStorage () override
 
virtual void SAL_CALL addStorageChangeListener (const css::uno::Reference< css::document::XStorageChangeListener > &xListener) override
 
virtual void SAL_CALL removeStorageChangeListener (const css::uno::Reference< css::document::XStorageChangeListener > &xListener) override
 
virtual void SAL_CALL setVisualAreaSize (sal_Int64 nAspect, const css::awt::Size &aSize) override
 
virtual css::awt::Size SAL_CALL getVisualAreaSize (sal_Int64 nAspect) override
 
virtual css::embed::VisualRepresentation SAL_CALL getPreferredVisualRepresentation (::sal_Int64 nAspect) override
 
virtual sal_Int32 SAL_CALL getMapUnit (sal_Int64 nAspect) override
 
virtual css::uno::Reference< css::script::provider::XScriptProvider > SAL_CALL getScriptProvider () override
 
virtual css::uno::Reference< css::ui::XUIConfigurationManager > SAL_CALL getUIConfigurationManager () override
 
virtual css::uno::Any SAL_CALL getTransferData (const css::datatransfer::DataFlavor &aFlavor) override
 
virtual css::uno::Sequence< css::datatransfer::DataFlavor > SAL_CALL getTransferDataFlavors () override
 
virtual sal_Bool SAL_CALL isDataFlavorSupported (const css::datatransfer::DataFlavor &aFlavor) override
 
virtual css::uno::Reference< css::container::XNameReplace > SAL_CALL getEvents () override
 
virtual css::uno::Reference< css::script::XStorageBasedLibraryContainer > SAL_CALL getBasicLibraries () override
 
virtual css::uno::Reference< css::script::XStorageBasedLibraryContainer > SAL_CALL getDialogLibraries () override
 
virtual sal_Bool SAL_CALL getAllowMacroExecution () override
 
virtual css::uno::Reference< css::document::XEmbeddedScripts > SAL_CALL getScriptContainer () override
 
virtual void SAL_CALL addEventListener (const css::uno::Reference< css::document::XEventListener > &xListener) override
 
virtual void SAL_CALL removeEventListener (const css::uno::Reference< css::document::XEventListener > &xListener) override
 
virtual void SAL_CALL addShapeEventListener (const css::uno::Reference< css::drawing::XShape > &xShape, const css::uno::Reference< css::document::XShapeEventListener > &xListener) override
 
virtual void SAL_CALL removeShapeEventListener (const css::uno::Reference< css::drawing::XShape > &xShape, const css::uno::Reference< css::document::XShapeEventListener > &xListener) override
 
virtual void SAL_CALL addDocumentEventListener (const css::uno::Reference< css::document::XDocumentEventListener > &Listener) override
 
virtual void SAL_CALL removeDocumentEventListener (const css::uno::Reference< css::document::XDocumentEventListener > &Listener) override
 
virtual void SAL_CALL notifyDocumentEvent (const OUString &EventName, const css::uno::Reference< css::frame::XController2 > &ViewController, const css::uno::Any &Supplement) override
 
virtual sal_Int64 SAL_CALL getSomething (const css::uno::Sequence< sal_Int8 > &aIdentifier) override
 
virtual void SAL_CALL setIdentifier (const OUString &sIdentifier) override
 
virtual OUString SAL_CALL getIdentifier () override
 
virtual OUString SAL_CALL getTitle () override
 
virtual void SAL_CALL setTitle (const OUString &sTitle) override
 
virtual void SAL_CALL addTitleChangeListener (const css::uno::Reference< css::frame::XTitleChangeListener > &xListener) override
 
virtual void SAL_CALL removeTitleChangeListener (const css::uno::Reference< css::frame::XTitleChangeListener > &xListener) override
 
virtual ::sal_Int32 SAL_CALL leaseNumber (const css::uno::Reference< css::uno::XInterface > &xComponent) override
 
virtual void SAL_CALL releaseNumber (::sal_Int32 nNumber) override
 
virtual void SAL_CALL releaseNumberForComponent (const css::uno::Reference< css::uno::XInterface > &xComponent) override
 
virtual OUString SAL_CALL getUntitledPrefix () override
 
virtual sal_Bool SAL_CALL wasModifiedSinceLastSave () override
 
virtual void SAL_CALL storeToRecoveryFile (const OUString &i_TargetLocation, const css::uno::Sequence< css::beans::PropertyValue > &i_MediaDescriptor) override
 
virtual void SAL_CALL recoverFromFile (const OUString &i_SourceLocation, const OUString &i_SalvagedFile, const css::uno::Sequence< css::beans::PropertyValue > &i_MediaDescriptor) override
 
virtual sal_Int64 SAL_CALL getModifiedStateDuration () override
 
virtual css::uno::Reference< css::document::XUndoManager > SAL_CALL getUndoManager () override
 
virtual OUString SAL_CALL getStringValue () override
 
virtual OUString SAL_CALL getNamespace () override
 
virtual OUString SAL_CALL getLocalName () override
 
virtual css::uno::Reference< css::rdf::XRepository > SAL_CALL getRDFRepository () override
 
virtual css::uno::Reference< css::rdf::XMetadatable > SAL_CALL getElementByMetadataReference (const css::beans::StringPair &i_rReference) override
 
virtual css::uno::Reference< css::rdf::XMetadatable > SAL_CALL getElementByURI (const css::uno::Reference< css::rdf::XURI > &i_xURI) override
 
virtual css::uno::Sequence< css::uno::Reference< css::rdf::XURI > > SAL_CALL getMetadataGraphsWithType (const css::uno::Reference< css::rdf::XURI > &i_xType) override
 
virtual css::uno::Reference< css::rdf::XURI > SAL_CALL addMetadataFile (const OUString &i_rFileName, const css::uno::Sequence< css::uno::Reference< css::rdf::XURI > > &i_rTypes) override
 
virtual css::uno::Reference< css::rdf::XURI > SAL_CALL importMetadataFile (::sal_Int16 i_Format, const css::uno::Reference< css::io::XInputStream > &i_xInStream, const OUString &i_rFileName, const css::uno::Reference< css::rdf::XURI > &i_xBaseURI, const css::uno::Sequence< css::uno::Reference< css::rdf::XURI > > &i_rTypes) override
 
virtual void SAL_CALL removeMetadataFile (const css::uno::Reference< css::rdf::XURI > &i_xGraphName) override
 
virtual void SAL_CALL addContentOrStylesFile (const OUString &i_rFileName) override
 
virtual void SAL_CALL removeContentOrStylesFile (const OUString &i_rFileName) override
 
virtual void SAL_CALL loadMetadataFromStorage (const css::uno::Reference< css::embed::XStorage > &i_xStorage, const css::uno::Reference< css::rdf::XURI > &i_xBaseURI, const css::uno::Reference< css::task::XInteractionHandler > &i_xHandler) override
 
virtual void SAL_CALL storeMetadataToStorage (const css::uno::Reference< css::embed::XStorage > &i_xStorage) override
 
virtual void SAL_CALL loadMetadataFromMedium (const css::uno::Sequence< css::beans::PropertyValue > &i_rMedium) override
 
virtual void SAL_CALL storeMetadataToMedium (const css::uno::Sequence< css::beans::PropertyValue > &i_rMedium) override
 
virtual css::uno::Sequence< css::document::CmisProperty > SAL_CALL getCmisProperties () override
 
virtual void SAL_CALL setCmisProperties (const css::uno::Sequence< css::document::CmisProperty > &_cmisproperties) override
 
virtual void SAL_CALL updateCmisProperties (const css::uno::Sequence< css::document::CmisProperty > &_cmisproperties) override
 
virtual css::uno::Sequence< css::document::CmisVersion > SAL_CALL getAllVersions () override
 
virtual void SAL_CALL checkOut () override
 
virtual void SAL_CALL cancelCheckOut () override
 
virtual void SAL_CALL checkIn (sal_Bool bIsMajor, const OUString &rMessage) override
 
virtual sal_Bool SAL_CALL isVersionable () override
 
virtual sal_Bool SAL_CALL canCheckOut () override
 
virtual sal_Bool SAL_CALL canCancelCheckOut () override
 
virtual sal_Bool SAL_CALL canCheckIn () override
 
bool getBoolPropertyValue (const OUString &rName)
 
void Notify (SfxBroadcaster &aBC, const SfxHint &aHint) override
 
void changing ()
 
SfxObjectShellGetObjectShell () const
 
SAL_DLLPRIVATE bool impl_isDisposed () const
 
bool IsInitialized () const
 
void MethodEntryCheck (const bool i_mustBeInitialized) const
 
css::uno::Reference< css::container::XIndexAccess > SAL_CALL getViewData () override
 
void SAL_CALL setViewData (const css::uno::Reference< css::container::XIndexAccess > &aData) override
 
void notifyEvent (const css::document::EventObject &aEvent) const
 calls all XEventListeners More...
 
bool hasEventListeners () const
 returns true if someone added a XEventListener to this XEventBroadcaster More...
 
- Public Member Functions inherited from SfxListener
 SfxListener ()
 
 SfxListener (const SfxListener &rCopy)
 
virtual ~SfxListener () COVERITY_NOEXCEPT_FALSE
 
void StartListening (SfxBroadcaster &rBroadcaster, DuplicateHandling eDuplicateHanding=DuplicateHandling::Unexpected)
 
void EndListening (SfxBroadcaster &rBroadcaster, bool bRemoveAllDuplicates=false)
 
void EndListeningAll ()
 
bool IsListening (SfxBroadcaster &rBroadcaster) const
 
sal_uInt16 GetBroadcasterCount () const
 
SfxBroadcasterGetBroadcasterJOE (sal_uInt16 nNo) const
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint)
 
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)
 
virtual bool IsSdrView () const
 

Protected Member Functions

OUString const & getRuntimeUID () const
 
bool hasValidSignatures () const
 
void getGrabBagItem (css::uno::Any &rVal) const
 
void setGrabBagItem (const css::uno::Any &rVal)
 
- Protected Member Functions inherited from SfxListener
 SfxListener ()
 
 SfxListener (const SfxListener &rCopy)
 
virtual ~SfxListener () COVERITY_NOEXCEPT_FALSE
 
void StartListening (SfxBroadcaster &rBroadcaster, DuplicateHandling eDuplicateHanding=DuplicateHandling::Unexpected)
 
void EndListening (SfxBroadcaster &rBroadcaster, bool bRemoveAllDuplicates=false)
 
void EndListeningAll ()
 
bool IsListening (SfxBroadcaster &rBroadcaster) const
 
sal_uInt16 GetBroadcasterCount () const
 
SfxBroadcasterGetBroadcasterJOE (sal_uInt16 nNo) const
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint)
 
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)
 
virtual bool IsSdrView () const
 

Private Member Functions

css::uno::Reference< css::ui::XUIConfigurationManager2 > getUIConfigurationManager2 ()
 
void impl_getPrintHelper ()
 
SAL_DLLPRIVATE void ListenForStorage_Impl (const css::uno::Reference< css::embed::XStorage > &xStorage)
 
SAL_DLLPRIVATE OUString GetMediumFilterName_Impl () const
 
SAL_DLLPRIVATE void postEvent_Impl (const OUString &aName, const css::uno::Reference< css::frame::XController2 > &xController=css::uno::Reference< css::frame::XController2 >(), const css::uno::Any &aSupplement=css::uno::Any())
 
SAL_DLLPRIVATE css::uno::Reference< css::frame::XTitle > impl_getTitleHelper ()
 
SAL_DLLPRIVATE css::uno::Reference< css::frame::XUntitledNumbers > impl_getUntitledHelper ()
 
SAL_DLLPRIVATE SfxViewFrameFindOrCreateViewFrame_Impl (const css::uno::Reference< css::frame::XFrame > &i_rFrame, ::sfx::intern::ViewCreationGuard &i_rGuard) const
 
SAL_DLLPRIVATE void NotifyModifyListeners_Impl () const
 
SAL_DLLPRIVATE void loadCmisProperties ()
 
SAL_DLLPRIVATE SfxMediumhandleLoadError (ErrCode nError, SfxMedium *pMedium)
 

Private Attributes

std::shared_ptr< IMPL_SfxBaseModel_DataContainerm_pData
 
const bool m_bSupportEmbeddedScripts
 
const bool m_bSupportDocRecovery
 

Additional Inherited Members

- Protected Attributes inherited from cppu::BaseMutex
mutable::osl::Mutex m_aMutex
 

Detailed Description

Definition at line 149 of file sfxbasemodel.hxx.

Constructor & Destructor Documentation

◆ SfxBaseModel()

SfxBaseModel::SfxBaseModel ( SfxObjectShell pObjectShell)

Definition at line 525 of file sfxbasemodel.cxx.

References m_aMutex, m_pData, make_shared(), and SfxListener::StartListening().

◆ ~SfxBaseModel()

SfxBaseModel::~SfxBaseModel ( )
overridevirtual

Definition at line 538 of file sfxbasemodel.cxx.

Member Function Documentation

◆ acquire()

virtual void SAL_CALL SfxBaseModel::acquire ( )
inlineoverridevirtualnoexcept

increment refcount @seealso XInterface @seealso release() @onerror A RuntimeException is thrown.


Definition at line 194 of file sfxbasemodel.hxx.

References cppu::OWeakObject::acquire().

Referenced by SfxModelSubComponent::acquireModel().

◆ addCloseListener()

void SAL_CALL SfxBaseModel::addCloseListener ( const css::uno::Reference< css::util::XCloseListener > &  xListener)
overridevirtual

Definition at line 1521 of file sfxbasemodel.cxx.

References SfxModelGuard::E_INITIALIZING, and m_pData.

◆ addContentOrStylesFile()

void SAL_CALL SfxBaseModel::addContentOrStylesFile ( const OUString &  i_rFileName)
overridevirtual

Definition at line 4499 of file sfxbasemodel.cxx.

References m_pData.

◆ addDialog()

void SAL_CALL SfxBaseModel::addDialog ( const OUString &  LibraryName,
const OUString &  DialogName,
const css::uno::Sequence< sal_Int8 > &  Data 
)
overridevirtual

@seealso XStarBasicAccess

Definition at line 686 of file sfxbasemodel.cxx.

References Data, and m_pData.

◆ addDocumentEventListener()

void SAL_CALL SfxBaseModel::addDocumentEventListener ( const css::uno::Reference< css::document::XDocumentEventListener > &  Listener)
overridevirtual

Definition at line 2534 of file sfxbasemodel.cxx.

References SfxModelGuard::E_INITIALIZING, and m_pData.

◆ addEventListener() [1/2]

virtual void SAL_CALL SfxBaseModel::addEventListener ( const css::uno::Reference< css::document::XEventListener > &  xListener)
overridevirtual

@descr - registers the given XEventListener.

◆ addEventListener() [2/2]

virtual void SAL_CALL SfxBaseModel::addEventListener ( const css::uno::Reference< css::lang::XEventListener > &  aListener)
overridevirtual

◆ addMetadataFile()

Reference< rdf::XURI > SAL_CALL SfxBaseModel::addMetadataFile ( const OUString &  i_rFileName,
const css::uno::Sequence< css::uno::Reference< css::rdf::XURI > > &  i_rTypes 
)
overridevirtual

Definition at line 4453 of file sfxbasemodel.cxx.

References m_pData.

◆ addModifyListener()

void SAL_CALL SfxBaseModel::addModifyListener ( const css::uno::Reference< css::util::XModifyListener > &  xListener)
overridevirtual

Definition at line 1436 of file sfxbasemodel.cxx.

References SfxModelGuard::E_INITIALIZING, and m_pData.

◆ addModule()

void SAL_CALL SfxBaseModel::addModule ( const OUString &  LibraryName,
const OUString &  ModuleName,
const OUString &  Language,
const OUString &  Source 
)
overridevirtual

@seealso XStarBasicAccess

Definition at line 663 of file sfxbasemodel.cxx.

References m_pData, and Source.

◆ addPrintJobListener()

void SAL_CALL SfxBaseModel::addPrintJobListener ( const css::uno::Reference< css::view::XPrintJobListener > &  xListener)
overridevirtual

Definition at line 3427 of file sfxbasemodel.cxx.

References SfxModelGuard::E_INITIALIZING, impl_getPrintHelper(), and m_pData.

◆ addShapeEventListener()

void SAL_CALL SfxBaseModel::addShapeEventListener ( const css::uno::Reference< css::drawing::XShape > &  xShape,
const css::uno::Reference< css::document::XShapeEventListener > &  xListener 
)
overridevirtual

@descr - registers the given XEventListener.

Definition at line 2501 of file sfxbasemodel.cxx.

References SfxModelGuard::E_INITIALIZING, and m_pData.

◆ addStorageChangeListener()

void SAL_CALL SfxBaseModel::addStorageChangeListener ( const css::uno::Reference< css::document::XStorageChangeListener > &  xListener)
overridevirtual

Definition at line 3932 of file sfxbasemodel.cxx.

References SfxModelGuard::E_INITIALIZING, and m_pData.

◆ addTitleChangeListener()

void SAL_CALL SfxBaseModel::addTitleChangeListener ( const css::uno::Reference< css::frame::XTitleChangeListener > &  xListener)
overridevirtual

Definition at line 4078 of file sfxbasemodel.cxx.

References SfxModelGuard::E_INITIALIZING, and impl_getTitleHelper().

◆ attachResource()

sal_Bool SAL_CALL SfxBaseModel::attachResource ( const OUString &  sURL,
const css::uno::Sequence< css::beans::PropertyValue > &  aArgs 
)
overridevirtual

◆ canCancelCheckOut()

sal_Bool SAL_CALL SfxBaseModel::canCancelCheckOut ( )
overridevirtual

Definition at line 2756 of file sfxbasemodel.cxx.

References getBoolPropertyValue().

◆ cancelCheckOut()

void SAL_CALL SfxBaseModel::cancelCheckOut ( )
overridevirtual

◆ canCheckIn()

sal_Bool SAL_CALL SfxBaseModel::canCheckIn ( )
overridevirtual

Definition at line 2761 of file sfxbasemodel.cxx.

References getBoolPropertyValue().

◆ canCheckOut()

sal_Bool SAL_CALL SfxBaseModel::canCheckOut ( )
overridevirtual

Definition at line 2751 of file sfxbasemodel.cxx.

References getBoolPropertyValue().

◆ changing()

void SfxBaseModel::changing ( )

Definition at line 2977 of file sfxbasemodel.cxx.

References m_pData, and NotifyModifyListeners_Impl().

Referenced by Notify().

◆ checkIn()

void SAL_CALL SfxBaseModel::checkIn ( sal_Bool  bIsMajor,
const OUString &  rMessage 
)
overridevirtual

◆ checkOut()

void SAL_CALL SfxBaseModel::checkOut ( )
overridevirtual

◆ close()

void SAL_CALL SfxBaseModel::close ( sal_Bool  bDeliverOwnership)
overridevirtual

◆ connectController()

void SAL_CALL SfxBaseModel::connectController ( const css::uno::Reference< css::frame::XController > &  xController)
overridevirtual

◆ createDefaultViewController()

Reference< frame::XController2 > SAL_CALL SfxBaseModel::createDefaultViewController ( const css::uno::Reference< css::frame::XFrame > &  Frame)
overridevirtual

◆ createLibrary()

void SAL_CALL SfxBaseModel::createLibrary ( const OUString &  LibName,
const OUString &  Password,
const OUString &  ExternalSourceURL,
const OUString &  LinkTargetURL 
)
overridevirtual

@seealso XStarBasicAccess

Definition at line 640 of file sfxbasemodel.cxx.

References m_pData, and Password.

◆ createViewController()

Reference< frame::XController2 > SAL_CALL SfxBaseModel::createViewController ( const OUString &  ViewName,
const css::uno::Sequence< css::beans::PropertyValue > &  Arguments,
const css::uno::Reference< css::frame::XFrame > &  Frame 
)
overridevirtual

◆ disableSetModified()

sal_Bool SAL_CALL SfxBaseModel::disableSetModified ( )
overridevirtual

Definition at line 1373 of file sfxbasemodel.cxx.

References m_pData.

◆ disconnectController()

void SAL_CALL SfxBaseModel::disconnectController ( const css::uno::Reference< css::frame::XController > &  xController)
overridevirtual

Definition at line 1212 of file sfxbasemodel.cxx.

References m_pData, and xController.

◆ dispose()

void SAL_CALL SfxBaseModel::dispose ( void  )
overridevirtual

Definition at line 730 of file sfxbasemodel.cxx.

References aEvent, close(), SfxModelGuard::E_INITIALIZING, SfxListener::EndListening(), and m_pData.

Referenced by close().

◆ disposing()

void SAL_CALL SfxBaseModel::disposing ( const css::lang::EventObject &  aEvent)
overridevirtual

Definition at line 838 of file sfxbasemodel.cxx.

References impl_isDisposed(), and m_pData.

◆ enableSetModified()

sal_Bool SAL_CALL SfxBaseModel::enableSetModified ( )
overridevirtual

Definition at line 1386 of file sfxbasemodel.cxx.

References m_pData.

◆ FindOrCreateViewFrame_Impl()

SfxViewFrame * SfxBaseModel::FindOrCreateViewFrame_Impl ( const css::uno::Reference< css::frame::XFrame > &  i_rFrame,
::sfx::intern::ViewCreationGuard i_rGuard 
) const
private

◆ getAllowMacroExecution()

sal_Bool SAL_CALL SfxBaseModel::getAllowMacroExecution ( )
overridevirtual

Definition at line 2432 of file sfxbasemodel.cxx.

References m_pData.

◆ getAllVersions()

uno::Sequence< document::CmisVersion > SAL_CALL SfxBaseModel::getAllVersions ( )
overridevirtual

◆ getArgs()

Sequence< beans::PropertyValue > SAL_CALL SfxBaseModel::getArgs ( )
overridevirtual

Definition at line 968 of file sfxbasemodel.cxx.

References getArgs2().

◆ getArgs2()

Sequence< beans::PropertyValue > SAL_CALL SfxBaseModel::getArgs2 ( const css::uno::Sequence< OUString > &  requestedArgs)
overridevirtual

◆ getAvailableViewControllerNames()

Sequence< OUString > SAL_CALL SfxBaseModel::getAvailableViewControllerNames ( )
overridevirtual

◆ getBasicLibraries()

Reference< script::XStorageBasedLibraryContainer > SAL_CALL SfxBaseModel::getBasicLibraries ( )
overridevirtual

Definition at line 2412 of file sfxbasemodel.cxx.

References m_pData.

◆ getBoolPropertyValue()

bool SfxBaseModel::getBoolPropertyValue ( const OUString &  rName)

◆ getCmisProperties()

Sequence< document::CmisProperty > SAL_CALL SfxBaseModel::getCmisProperties ( )
overridevirtual

Definition at line 2553 of file sfxbasemodel.cxx.

References impl_isDisposed(), and m_pData.

◆ getControllers()

Reference< container::XEnumeration > SAL_CALL SfxBaseModel::getControllers ( )
overridevirtual

Definition at line 4135 of file sfxbasemodel.cxx.

References m_pData, and x.

◆ getCurrentController()

Reference< frame::XController > SAL_CALL SfxBaseModel::getCurrentController ( )
overridevirtual

Definition at line 1322 of file sfxbasemodel.cxx.

References m_pData.

Referenced by getCurrentSelection().

◆ getCurrentSelection()

Reference< XInterface > SAL_CALL SfxBaseModel::getCurrentSelection ( )
overridevirtual

Definition at line 1349 of file sfxbasemodel.cxx.

References Any, getCurrentController(), and xController.

◆ getDialogLibraries()

Reference< script::XStorageBasedLibraryContainer > SAL_CALL SfxBaseModel::getDialogLibraries ( )
overridevirtual

Definition at line 2422 of file sfxbasemodel.cxx.

References m_pData.

◆ getDocumentProperties()

Reference< document::XDocumentProperties > SAL_CALL SfxBaseModel::getDocumentProperties ( )
overridevirtual

Definition at line 821 of file sfxbasemodel.cxx.

References SfxModelGuard::E_INITIALIZING, and m_pData.

Referenced by impl_store().

◆ getDocumentStorage()

Reference< embed::XStorage > SAL_CALL SfxBaseModel::getDocumentStorage ( )
overridevirtual

Definition at line 3922 of file sfxbasemodel.cxx.

References m_pData.

◆ getDocumentSubStorage()

Reference< embed::XStorage > SAL_CALL SfxBaseModel::getDocumentSubStorage ( const OUString &  aStorageName,
sal_Int32  nMode 
)
overridevirtual

Definition at line 3482 of file sfxbasemodel.cxx.

References Exception, and m_pData.

Referenced by getUIConfigurationManager2(), and Notify().

◆ getDocumentSubStoragesNames()

Sequence< OUString > SAL_CALL SfxBaseModel::getDocumentSubStoragesNames ( )
overridevirtual

Definition at line 3505 of file sfxbasemodel.cxx.

References m_pData.

◆ getElementByMetadataReference()

Reference< rdf::XMetadatable > SAL_CALL SfxBaseModel::getElementByMetadataReference ( const css::beans::StringPair &  i_rReference)
overridevirtual

Definition at line 4412 of file sfxbasemodel.cxx.

References m_pData.

◆ getElementByURI()

Reference< rdf::XMetadatable > SAL_CALL SfxBaseModel::getElementByURI ( const css::uno::Reference< css::rdf::XURI > &  i_xURI)
overridevirtual

Definition at line 4426 of file sfxbasemodel.cxx.

References m_pData.

◆ getEvents()

Reference< container::XNameReplace > SAL_CALL SfxBaseModel::getEvents ( )
overridevirtual

@descr - offers a list of event handlers which are be bound to events of this object.

Returns
- an Events object.

Definition at line 2396 of file sfxbasemodel.cxx.

References m_pData.

◆ getGrabBagItem()

void SfxBaseModel::getGrabBagItem ( css::uno::Any &  rVal) const
protected

Definition at line 3576 of file sfxbasemodel.cxx.

References m_pData.

◆ getIdentifier()

OUString SAL_CALL SfxBaseModel::getIdentifier ( )
overridevirtual

Definition at line 3971 of file sfxbasemodel.cxx.

References m_pData.

◆ getImplementationId()

Sequence< sal_Int8 > SAL_CALL SfxBaseModel::getImplementationId ( )
overridevirtual

get implementation id @descr This ID is necessary for UNO-caching.


If there no ID, cache is disabled. Another way, cache is enabled.

@seealso XTypeProvider

Returns
ID as Sequence of byte

@onerror A RuntimeException is thrown.

Definition at line 589 of file sfxbasemodel.cxx.

◆ getLibraryContainer()

Reference< container::XNameContainer > SAL_CALL SfxBaseModel::getLibraryContainer ( )
overridevirtual

@seealso XStarBasicAccess

Definition at line 617 of file sfxbasemodel.cxx.

References m_pData.

◆ getLocalName()

OUString SAL_CALL SfxBaseModel::getLocalName ( )
overridevirtual

Definition at line 4398 of file sfxbasemodel.cxx.

References m_pData.

◆ getLocation()

OUString SAL_CALL SfxBaseModel::getLocation ( )
overridevirtual

Definition at line 1583 of file sfxbasemodel.cxx.

References m_pData.

Referenced by impl_store(), and storeSelf().

◆ getMapUnit()

sal_Int32 SAL_CALL SfxBaseModel::getMapUnit ( sal_Int64  nAspect)
overridevirtual

Definition at line 3772 of file sfxbasemodel.cxx.

References Exception, m_pData, and VCLUnoHelper::VCL2UnoEmbedMapUnit().

◆ GetMediumFilterName_Impl()

OUString SfxBaseModel::GetMediumFilterName_Impl ( ) const
private

Definition at line 3029 of file sfxbasemodel.cxx.

References SfxMedium::GetFilter(), and m_pData.

Referenced by impl_store(), and storeSelf().

◆ getMetadataGraphsWithType()

Sequence< Reference< rdf::XURI > > SAL_CALL SfxBaseModel::getMetadataGraphsWithType ( const css::uno::Reference< css::rdf::XURI > &  i_xType)
overridevirtual

Definition at line 4439 of file sfxbasemodel.cxx.

References m_pData.

◆ getModifiedStateDuration()

sal_Int64 SAL_CALL SfxBaseModel::getModifiedStateDuration ( )
overridevirtual

Definition at line 1829 of file sfxbasemodel.cxx.

References m_pData.

◆ getNamespace()

OUString SAL_CALL SfxBaseModel::getNamespace ( )
overridevirtual

Definition at line 4385 of file sfxbasemodel.cxx.

References m_pData.

◆ GetObjectShell()

SfxObjectShell * SfxBaseModel::GetObjectShell ( ) const

◆ getParent()

Reference< XInterface > SAL_CALL SfxBaseModel::getParent ( )
overridevirtual

Definition at line 709 of file sfxbasemodel.cxx.

References m_pData.

◆ getPreferredVisualRepresentation()

embed::VisualRepresentation SAL_CALL SfxBaseModel::getPreferredVisualRepresentation ( ::sal_Int64  nAspect)
overridevirtual

Definition at line 3782 of file sfxbasemodel.cxx.

References getTransferData().

◆ getPrinter()

Sequence< beans::PropertyValue > SAL_CALL SfxBaseModel::getPrinter ( )
overridevirtual

Definition at line 1543 of file sfxbasemodel.cxx.

References impl_getPrintHelper(), and m_pData.

◆ getRDFRepository()

Reference< rdf::XRepository > SAL_CALL SfxBaseModel::getRDFRepository ( )
overridevirtual

Definition at line 4357 of file sfxbasemodel.cxx.

References m_pData.

◆ getRuntimeUID()

OUString const & SfxBaseModel::getRuntimeUID ( ) const
protected

Definition at line 3561 of file sfxbasemodel.cxx.

References m_pData.

◆ getScriptContainer()

Reference< document::XEmbeddedScripts > SAL_CALL SfxBaseModel::getScriptContainer ( )
overridevirtual

Definition at line 2445 of file sfxbasemodel.cxx.

References DBG_UNHANDLED_EXCEPTION, and Exception.

◆ getScriptProvider()

Reference< script::provider::XScriptProvider > SAL_CALL SfxBaseModel::getScriptProvider ( )
overridevirtual

Definition at line 3541 of file sfxbasemodel.cxx.

References Any.

◆ getSomething()

sal_Int64 SAL_CALL SfxBaseModel::getSomething ( const css::uno::Sequence< sal_Int8 > &  aIdentifier)
overridevirtual

◆ getStringValue()

OUString SAL_CALL SfxBaseModel::getStringValue ( )
overridevirtual

Definition at line 4371 of file sfxbasemodel.cxx.

References m_pData.

◆ getTitle()

OUString SAL_CALL SfxBaseModel::getTitle ( )
overridevirtual

◆ getTransferData()

Any SAL_CALL SfxBaseModel::getTransferData ( const css::datatransfer::DataFlavor &  aFlavor)
overridevirtual

◆ getTransferDataFlavors()

Sequence< datatransfer::DataFlavor > SAL_CALL SfxBaseModel::getTransferDataFlavors ( )
overridevirtual

Definition at line 2271 of file sfxbasemodel.cxx.

References cppu::UnoType< typename T >::get().

◆ getTypes()

Sequence< uno::Type > SAL_CALL SfxBaseModel::getTypes ( )
overridevirtual

get information about supported interfaces @seealso XTypeProvider


Returns
Sequence of types of all supported interfaces

@onerror A RuntimeException is thrown.

Definition at line 572 of file sfxbasemodel.cxx.

References aTypes, m_bSupportDocRecovery, and m_bSupportEmbeddedScripts.

◆ getUIConfigurationManager()

Reference< ui::XUIConfigurationManager > SAL_CALL SfxBaseModel::getUIConfigurationManager ( )
overridevirtual

Definition at line 3637 of file sfxbasemodel.cxx.

References getUIConfigurationManager2().

◆ getUIConfigurationManager2()

Reference< ui::XUIConfigurationManager2 > SfxBaseModel::getUIConfigurationManager2 ( )
private
Exceptions
css::uno::RuntimeException

Definition at line 3642 of file sfxbasemodel.cxx.

References a, Any, ConvertSlotsToCommands(), EMBEDDED, getDocumentSubStorage(), GetObjectShell(), comphelper::getProcessComponentContext(), i, m_pData, sId, and u.

Referenced by getUIConfigurationManager(), and switchToStorage().

◆ getUndoManager()

Reference< XUndoManager > SAL_CALL SfxBaseModel::getUndoManager ( )
overridevirtual

Definition at line 1772 of file sfxbasemodel.cxx.

References m_pData.

◆ getUntitledPrefix()

OUString SAL_CALL SfxBaseModel::getUntitledPrefix ( )
overridevirtual

Definition at line 4127 of file sfxbasemodel.cxx.

References impl_getUntitledHelper().

◆ getURL()

OUString SAL_CALL SfxBaseModel::getURL ( )
overridevirtual

Definition at line 959 of file sfxbasemodel.cxx.

References m_pData.

◆ getViewData()

Reference< container::XIndexAccess > SAL_CALL SfxBaseModel::getViewData ( )
override

◆ getVisualAreaSize()

awt::Size SAL_CALL SfxBaseModel::getVisualAreaSize ( sal_Int64  nAspect)
overridevirtual

◆ handleLoadError()

SfxMedium * SfxBaseModel::handleLoadError ( ErrCode  nError,
SfxMedium pMedium 
)
private

◆ hasControllersLocked()

sal_Bool SAL_CALL SfxBaseModel::hasControllersLocked ( )
overridevirtual

Definition at line 1312 of file sfxbasemodel.cxx.

References m_pData.

◆ hasEventListeners()

bool SfxBaseModel::hasEventListeners ( ) const

returns true if someone added a XEventListener to this XEventBroadcaster

Definition at line 3420 of file sfxbasemodel.cxx.

References impl_isDisposed(), and m_pData.

◆ hasLocation()

sal_Bool SAL_CALL SfxBaseModel::hasLocation ( )
overridevirtual

Definition at line 1572 of file sfxbasemodel.cxx.

References m_pData.

Referenced by storeSelf().

◆ hasValidSignatures()

bool SfxBaseModel::hasValidSignatures ( ) const
protected

Definition at line 3568 of file sfxbasemodel.cxx.

References m_pData, and OK.

◆ impl_getPrintHelper()

void SfxBaseModel::impl_getPrintHelper ( )
private

Definition at line 3950 of file sfxbasemodel.cxx.

References Any, and m_pData.

Referenced by addPrintJobListener(), getPrinter(), Notify(), print(), removePrintJobListener(), and setPrinter().

◆ impl_getTitleHelper()

Reference< frame::XTitle > SfxBaseModel::impl_getTitleHelper ( )
private

Definition at line 3982 of file sfxbasemodel.cxx.

References m_pData.

Referenced by addTitleChangeListener(), getTitle(), removeTitleChangeListener(), and setTitle().

◆ impl_getUntitledHelper()

Reference< frame::XUntitledNumbers > SfxBaseModel::impl_getUntitledHelper ( )
private

Definition at line 3998 of file sfxbasemodel.cxx.

References m_pData.

Referenced by getUntitledPrefix(), leaseNumber(), releaseNumber(), and releaseNumberForComponent().

◆ impl_isDisposed()

bool SfxBaseModel::impl_isDisposed ( ) const

◆ impl_store()

void SfxBaseModel::impl_store ( const OUString &  sURL,
const css::uno::Sequence< css::beans::PropertyValue > &  seqArguments,
bool  bSaveTo 
)

◆ importMetadataFile()

Reference< rdf::XURI > SAL_CALL SfxBaseModel::importMetadataFile ( ::sal_Int16  i_Format,
const css::uno::Reference< css::io::XInputStream > &  i_xInStream,
const OUString &  i_rFileName,
const css::uno::Reference< css::rdf::XURI > &  i_xBaseURI,
const css::uno::Sequence< css::uno::Reference< css::rdf::XURI > > &  i_rTypes 
)
overridevirtual

Definition at line 4467 of file sfxbasemodel.cxx.

References m_pData.

◆ initNew()

void SAL_CALL SfxBaseModel::initNew ( )
overridevirtual

◆ isDataFlavorSupported()

sal_Bool SAL_CALL SfxBaseModel::isDataFlavorSupported ( const css::datatransfer::DataFlavor &  aFlavor)
overridevirtual

Definition at line 2338 of file sfxbasemodel.cxx.

◆ IsInitialized()

bool SfxBaseModel::IsInitialized ( ) const

Definition at line 3001 of file sfxbasemodel.cxx.

References m_pData.

Referenced by initNew(), load(), loadFromStorage(), and MethodEntryCheck().

◆ isModified()

sal_Bool SAL_CALL SfxBaseModel::isModified ( )
overridevirtual

Definition at line 1413 of file sfxbasemodel.cxx.

References m_pData.

Referenced by Notify(), and NotifyModifyListeners_Impl().

◆ isReadonly()

sal_Bool SAL_CALL SfxBaseModel::isReadonly ( )
overridevirtual

Definition at line 1603 of file sfxbasemodel.cxx.

References m_pData.

◆ isSetModifiedEnabled()

sal_Bool SAL_CALL SfxBaseModel::isSetModifiedEnabled ( )
overridevirtual

Definition at line 1399 of file sfxbasemodel.cxx.

References m_pData.

◆ isVersionable()

sal_Bool SAL_CALL SfxBaseModel::isVersionable ( )
overridevirtual

Definition at line 2746 of file sfxbasemodel.cxx.

References getBoolPropertyValue().

◆ leaseNumber()

sal_Int32 SAL_CALL SfxBaseModel::leaseNumber ( const css::uno::Reference< css::uno::XInterface > &  xComponent)
override

Definition at line 4102 of file sfxbasemodel.cxx.

References impl_getUntitledHelper().

◆ ListenForStorage_Impl()

void SfxBaseModel::ListenForStorage_Impl ( const css::uno::Reference< css::embed::XStorage > &  xStorage)
private

Definition at line 3467 of file sfxbasemodel.cxx.

References Application::GetSolarMutex(), and m_pData.

Referenced by Notify().

◆ load()

void SAL_CALL SfxBaseModel::load ( const css::uno::Sequence< css::beans::PropertyValue > &  seqArguments)
overridevirtual

◆ loadCmisProperties()

void SfxBaseModel::loadCmisProperties ( )
private

◆ loadFromStorage()

void SAL_CALL SfxBaseModel::loadFromStorage ( const css::uno::Reference< css::embed::XStorage > &  xStorage,
const css::uno::Sequence< css::beans::PropertyValue > &  aMediaDescriptor 
)
overridevirtual

◆ loadMetadataFromMedium()

void SAL_CALL SfxBaseModel::loadMetadataFromMedium ( const css::uno::Sequence< css::beans::PropertyValue > &  i_rMedium)
overridevirtual

Definition at line 4566 of file sfxbasemodel.cxx.

References Exception, and m_pData.

◆ loadMetadataFromStorage()

void SAL_CALL SfxBaseModel::loadMetadataFromStorage ( const css::uno::Reference< css::embed::XStorage > &  i_xStorage,
const css::uno::Reference< css::rdf::XURI > &  i_xBaseURI,
const css::uno::Reference< css::task::XInteractionHandler > &  i_xHandler 
)
overridevirtual

Definition at line 4525 of file sfxbasemodel.cxx.

References Exception, and m_pData.

◆ lockControllers()

void SAL_CALL SfxBaseModel::lockControllers ( )
overridevirtual

Definition at line 1274 of file sfxbasemodel.cxx.

References m_pData.

◆ MethodEntryCheck()

void SfxBaseModel::MethodEntryCheck ( const bool  i_mustBeInitialized) const

◆ Notify()

void SfxBaseModel::Notify ( SfxBroadcaster aBC,
const SfxHint aHint 
)
overridevirtual

◆ notifyDocumentEvent()

void SAL_CALL SfxBaseModel::notifyDocumentEvent ( const OUString &  EventName,
const css::uno::Reference< css::frame::XController2 > &  ViewController,
const css::uno::Any &  Supplement 
)
overridevirtual

Definition at line 2548 of file sfxbasemodel.cxx.

◆ notifyEvent()

void SfxBaseModel::notifyEvent ( const css::document::EventObject &  aEvent) const

◆ NotifyModifyListeners_Impl()

void SfxBaseModel::NotifyModifyListeners_Impl ( ) const
private

◆ postEvent_Impl()

void SfxBaseModel::postEvent_Impl ( const OUString &  aName,
const css::uno::Reference< css::frame::XController2 > &  xController = css::uno::Reference< css::frame::XController2 >(),
const css::uno::Any &  aSupplement = css::uno::Any() 
)
private

◆ print()

void SAL_CALL SfxBaseModel::print ( const css::uno::Sequence< css::beans::PropertyValue > &  seqOptions)
overridevirtual

◆ queryInterface()

Any SAL_CALL SfxBaseModel::queryInterface ( const css::uno::Type &  rType)
overridevirtual

give answer, if interface is supported @descr The interfaces are searched by type.


@seealso XInterface

Parameters
rTypeis the type of searched interface.
Returns
Any information about found interface

@onerror A RuntimeException is thrown.

Definition at line 543 of file sfxbasemodel.cxx.

References Any, m_bSupportDocRecovery, and m_bSupportEmbeddedScripts.

◆ recoverFromFile()

void SAL_CALL SfxBaseModel::recoverFromFile ( const OUString &  i_SourceLocation,
const OUString &  i_SalvagedFile,
const css::uno::Sequence< css::beans::PropertyValue > &  i_MediaDescriptor 
)
overridevirtual

◆ release()

virtual void SAL_CALL SfxBaseModel::release ( )
inlineoverridevirtualnoexcept

decrement refcount @seealso XInterface @seealso acquire() @onerror A RuntimeException is thrown.


Definition at line 204 of file sfxbasemodel.hxx.

References cppu::OWeakObject::release().

Referenced by SfxModelSubComponent::releaseModel().

◆ releaseNumber()

void SAL_CALL SfxBaseModel::releaseNumber ( ::sal_Int32  nNumber)
overridevirtual

Definition at line 4111 of file sfxbasemodel.cxx.

References impl_getUntitledHelper().

◆ releaseNumberForComponent()

void SAL_CALL SfxBaseModel::releaseNumberForComponent ( const css::uno::Reference< css::uno::XInterface > &  xComponent)
overridevirtual

Definition at line 4119 of file sfxbasemodel.cxx.

References impl_getUntitledHelper().

◆ removeCloseListener()

void SAL_CALL SfxBaseModel::removeCloseListener ( const css::uno::Reference< css::util::XCloseListener > &  xListener)
overridevirtual

Definition at line 1532 of file sfxbasemodel.cxx.

References m_pData.

◆ removeContentOrStylesFile()

void SAL_CALL SfxBaseModel::removeContentOrStylesFile ( const OUString &  i_rFileName)
overridevirtual

Definition at line 4512 of file sfxbasemodel.cxx.

References m_pData.

◆ removeDocumentEventListener()

void SAL_CALL SfxBaseModel::removeDocumentEventListener ( const css::uno::Reference< css::document::XDocumentEventListener > &  Listener)
overridevirtual

Definition at line 2541 of file sfxbasemodel.cxx.

References m_pData.

◆ removeEventListener() [1/2]

virtual void SAL_CALL SfxBaseModel::removeEventListener ( const css::uno::Reference< css::document::XEventListener > &  xListener)
overridevirtual

@descr - unregisters the given XEventListener.

References getIdentifier(), getTitle(), and IsInitialized().

◆ removeEventListener() [2/2]

virtual void SAL_CALL SfxBaseModel::removeEventListener ( const css::uno::Reference< css::lang::XEventListener > &  aListener)
overridevirtual

References close.

◆ removeMetadataFile()

void SAL_CALL SfxBaseModel::removeMetadataFile ( const css::uno::Reference< css::rdf::XURI > &  i_xGraphName)
overridevirtual

Definition at line 4485 of file sfxbasemodel.cxx.

References m_pData.

◆ removeModifyListener()

void SAL_CALL SfxBaseModel::removeModifyListener ( const css::uno::Reference< css::util::XModifyListener > &  xListener)
overridevirtual

Definition at line 1447 of file sfxbasemodel.cxx.

References m_pData.

◆ removePrintJobListener()

void SAL_CALL SfxBaseModel::removePrintJobListener ( const css::uno::Reference< css::view::XPrintJobListener > &  xListener)
overridevirtual

Definition at line 3437 of file sfxbasemodel.cxx.

References impl_getPrintHelper(), and m_pData.

◆ removeShapeEventListener()

void SAL_CALL SfxBaseModel::removeShapeEventListener ( const css::uno::Reference< css::drawing::XShape > &  xShape,
const css::uno::Reference< css::document::XShapeEventListener > &  xListener 
)
overridevirtual

@descr - unregisters the given XEventListener.

Definition at line 2513 of file sfxbasemodel.cxx.

References m_pData.

◆ removeStorageChangeListener()

void SAL_CALL SfxBaseModel::removeStorageChangeListener ( const css::uno::Reference< css::document::XStorageChangeListener > &  xListener)
overridevirtual

Definition at line 3941 of file sfxbasemodel.cxx.

References m_pData.

◆ removeTitleChangeListener()

void SAL_CALL SfxBaseModel::removeTitleChangeListener ( const css::uno::Reference< css::frame::XTitleChangeListener > &  xListener)
overridevirtual

Definition at line 4090 of file sfxbasemodel.cxx.

References impl_getTitleHelper().

◆ setArgs()

void SAL_CALL SfxBaseModel::setArgs ( const css::uno::Sequence< css::beans::PropertyValue > &  aArgs)
overridevirtual

◆ setCmisProperties()

void SAL_CALL SfxBaseModel::setCmisProperties ( const css::uno::Sequence< css::document::CmisProperty > &  _cmisproperties)
overridevirtual

Definition at line 2560 of file sfxbasemodel.cxx.

References m_pData.

Referenced by loadCmisProperties().

◆ setCurrentController()

void SAL_CALL SfxBaseModel::setCurrentController ( const css::uno::Reference< css::frame::XController > &  xController)
overridevirtual

Definition at line 1338 of file sfxbasemodel.cxx.

References m_pData.

◆ setGrabBagItem()

void SfxBaseModel::setGrabBagItem ( const css::uno::Any &  rVal)
protected

Definition at line 3584 of file sfxbasemodel.cxx.

References m_pData.

◆ setIdentifier()

void SAL_CALL SfxBaseModel::setIdentifier ( const OUString &  sIdentifier)
overridevirtual

Definition at line 3963 of file sfxbasemodel.cxx.

References Identifier, and m_pData.

◆ setModified()

void SAL_CALL SfxBaseModel::setModified ( sal_Bool  bModified)
overridevirtual

Definition at line 1424 of file sfxbasemodel.cxx.

References m_pData.

◆ setParent()

void SAL_CALL SfxBaseModel::setParent ( const css::uno::Reference< css::uno::XInterface > &  xParent)
overridevirtual

Definition at line 720 of file sfxbasemodel.cxx.

References SfxModelGuard::E_INITIALIZING, m_pData, and Parent.

◆ setPrinter()

void SAL_CALL SfxBaseModel::setPrinter ( const css::uno::Sequence< css::beans::PropertyValue > &  seqPrinter)
overridevirtual

Definition at line 1551 of file sfxbasemodel.cxx.

References impl_getPrintHelper(), and m_pData.

◆ setTitle()

void SAL_CALL SfxBaseModel::setTitle ( const OUString &  sTitle)
overridevirtual

Definition at line 4067 of file sfxbasemodel.cxx.

References impl_getTitleHelper(), and m_pData.

◆ setViewData()

void SAL_CALL SfxBaseModel::setViewData ( const css::uno::Reference< css::container::XIndexAccess > &  aData)
override

Definition at line 3373 of file sfxbasemodel.cxx.

References aData, and m_pData.

◆ setVisualAreaSize()

void SAL_CALL SfxBaseModel::setVisualAreaSize ( sal_Int64  nAspect,
const css::awt::Size &  aSize 
)
overridevirtual

◆ store()

void SAL_CALL SfxBaseModel::store ( )
overridevirtual

Definition at line 1725 of file sfxbasemodel.cxx.

References storeSelf().

◆ storeAsURL()

void SAL_CALL SfxBaseModel::storeAsURL ( const OUString &  sURL,
const css::uno::Sequence< css::beans::PropertyValue > &  seqArguments 
)
overridevirtual

◆ storeMetadataToMedium()

void SAL_CALL SfxBaseModel::storeMetadataToMedium ( const css::uno::Sequence< css::beans::PropertyValue > &  i_rMedium)
overridevirtual

Definition at line 4590 of file sfxbasemodel.cxx.

References m_pData.

◆ storeMetadataToStorage()

void SAL_CALL SfxBaseModel::storeMetadataToStorage ( const css::uno::Reference< css::embed::XStorage > &  i_xStorage)
overridevirtual

Definition at line 4552 of file sfxbasemodel.cxx.

References m_pData.

◆ storeSelf()

void SAL_CALL SfxBaseModel::storeSelf ( const css::uno::Sequence< css::beans::PropertyValue > &  seqArguments)
overridevirtual

◆ storeToRecoveryFile()

void SAL_CALL SfxBaseModel::storeToRecoveryFile ( const OUString &  i_TargetLocation,
const css::uno::Sequence< css::beans::PropertyValue > &  i_MediaDescriptor 
)
overridevirtual

Definition at line 1817 of file sfxbasemodel.cxx.

References impl_store(), and m_pData.

◆ storeToStorage()

void SAL_CALL SfxBaseModel::storeToStorage ( const css::uno::Reference< css::embed::XStorage > &  xStorage,
const css::uno::Sequence< css::beans::PropertyValue > &  aMediaDescriptor 
)
overridevirtual

◆ storeToURL()

void SAL_CALL SfxBaseModel::storeToURL ( const OUString &  sURL,
const css::uno::Sequence< css::beans::PropertyValue > &  seqArguments 
)
overridevirtual

Definition at line 1784 of file sfxbasemodel.cxx.

References impl_store(), m_pData, and vcl::solarthread::syncExecute().

Referenced by getTransferData().

◆ switchToStorage()

void SAL_CALL SfxBaseModel::switchToStorage ( const css::uno::Reference< css::embed::XStorage > &  xStorage)
overridevirtual

◆ unlockControllers()

void SAL_CALL SfxBaseModel::unlockControllers ( )
overridevirtual

Definition at line 1293 of file sfxbasemodel.cxx.

References m_pData.

◆ updateCmisProperties()

void SAL_CALL SfxBaseModel::updateCmisProperties ( const css::uno::Sequence< css::document::CmisProperty > &  _cmisproperties)
overridevirtual

◆ wasModifiedSinceLastSave()

sal_Bool SAL_CALL SfxBaseModel::wasModifiedSinceLastSave ( )
overridevirtual

Definition at line 1811 of file sfxbasemodel.cxx.

References m_pData.

Member Data Documentation

◆ m_bSupportDocRecovery

const bool SfxBaseModel::m_bSupportDocRecovery
private

Definition at line 752 of file sfxbasemodel.hxx.

Referenced by getTypes(), and queryInterface().

◆ m_bSupportEmbeddedScripts

const bool SfxBaseModel::m_bSupportEmbeddedScripts
private

Definition at line 751 of file sfxbasemodel.hxx.

Referenced by getTypes(), and queryInterface().

◆ m_pData

std::shared_ptr<IMPL_SfxBaseModel_DataContainer> SfxBaseModel::m_pData
private

Definition at line 749 of file sfxbasemodel.hxx.

Referenced by addCloseListener(), addContentOrStylesFile(), addDialog(), addDocumentEventListener(), addMetadataFile(), addModifyListener(), addModule(), addPrintJobListener(), addShapeEventListener(), addStorageChangeListener(), attachResource(), cancelCheckOut(), changing(), checkIn(), checkOut(), close(), connectController(), createLibrary(), disableSetModified(), disconnectController(), dispose(), disposing(), enableSetModified(), getAllowMacroExecution(), getAllVersions(), getArgs2(), getBasicLibraries(), getBoolPropertyValue(), getCmisProperties(), getControllers(), getCurrentController(), getDialogLibraries(), getDocumentProperties(), getDocumentStorage(), getDocumentSubStorage(), getDocumentSubStoragesNames(), getElementByMetadataReference(), getElementByURI(), getEvents(), getGrabBagItem(), getIdentifier(), getLibraryContainer(), getLocalName(), getLocation(), getMapUnit(), GetMediumFilterName_Impl(), getMetadataGraphsWithType(), getModifiedStateDuration(), getNamespace(), GetObjectShell(), getParent(), getPrinter(), getRDFRepository(), getRuntimeUID(), getStringValue(), getTitle(), getTransferData(), getUIConfigurationManager2(), getUndoManager(), getURL(), getViewData(), getVisualAreaSize(), handleLoadError(), hasControllersLocked(), hasEventListeners(), hasLocation(), hasValidSignatures(), impl_getPrintHelper(), impl_getTitleHelper(), impl_getUntitledHelper(), impl_isDisposed(), impl_store(), importMetadataFile(), initNew(), IsInitialized(), isModified(), isReadonly(), isSetModifiedEnabled(), ListenForStorage_Impl(), load(), loadCmisProperties(), loadFromStorage(), loadMetadataFromMedium(), loadMetadataFromStorage(), lockControllers(), Notify(), notifyEvent(), NotifyModifyListeners_Impl(), postEvent_Impl(), print(), removeCloseListener(), removeContentOrStylesFile(), removeDocumentEventListener(), removeMetadataFile(), removeModifyListener(), removePrintJobListener(), removeShapeEventListener(), removeStorageChangeListener(), setArgs(), setCmisProperties(), setCurrentController(), setGrabBagItem(), setIdentifier(), setModified(), setParent(), setPrinter(), setTitle(), setViewData(), setVisualAreaSize(), storeAsURL(), storeMetadataToMedium(), storeMetadataToStorage(), storeSelf(), storeToRecoveryFile(), storeToStorage(), storeToURL(), switchToStorage(), unlockControllers(), updateCmisProperties(), and wasModifiedSinceLastSave().


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