LibreOffice Module sfx2 (master) 1
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
IMPL_SfxBaseModel_DataContainer Struct Reference
Inheritance diagram for IMPL_SfxBaseModel_DataContainer:
[legend]
Collaboration diagram for IMPL_SfxBaseModel_DataContainer:
[legend]

Public Member Functions

 IMPL_SfxBaseModel_DataContainer (::osl::Mutex &rMutex, SfxObjectShell *pObjectShell)
 
virtual ~IMPL_SfxBaseModel_DataContainer ()
 
virtual void storageIsModified () override
 indicates the root or a sub storage of the document has been modified More...
 
void impl_setDocumentProperties (const Reference< document::XDocumentProperties > &)
 
Reference< rdf::XDocumentMetadataAccess > GetDMA ()
 
Reference< rdf::XDocumentMetadataAccess > CreateDMAUninitialized ()
 
void setModifiedForAutoSave (bool val)
 
virtual void storageIsModified ()=0
 indicates the root or a sub storage of the document has been modified More...
 

Public Attributes

SfxObjectShellRef m_pObjectShell
 
OUString m_sURL
 
OUString m_sRuntimeUID
 
OUString m_aPreusedFilterName
 
comphelper::OMultiTypeInterfaceContainerHelper2 m_aInterfaceContainer
 
std::unordered_map< css::uno::Reference< css::drawing::XShape >, std::vector< css::uno::Reference< css::document::XShapeEventListener > > > maShapeListeners
 
Reference< XInterfacem_xParent
 
Reference< frame::XController > m_xCurrent
 
Reference< document::XDocumentProperties > m_xDocumentProperties
 
Reference< script::XStarBasicAccess > m_xStarBasicAccess
 
Reference< container::XNameReplace > m_xEvents
 
Sequence< beans::PropertyValue > m_seqArguments
 
std::vector< Reference< frame::XController > > m_seqControllers
 
Reference< container::XIndexAccess > m_contViewData
 
sal_uInt16 m_nControllerLockCount
 
bool m_bClosed
 
bool m_bClosing
 
bool m_bSaving
 
bool m_bSuicide
 
bool m_bExternalTitle
 
bool m_bDisposing
 
Reference< view::XPrintable > m_xPrintable
 
Reference< ui::XUIConfigurationManager2 > m_xUIConfigurationManager
 
::rtl::Reference< ::sfx2::DocumentStorageModifyListenerm_pStorageModifyListen
 
OUString m_sModuleIdentifier
 
Reference< frame::XTitle > m_xTitleHelper
 
Reference< frame::XUntitledNumbers > m_xNumberedControllers
 
Reference< rdf::XDocumentMetadataAccess > m_xDocumentMetadata
 
::rtl::Reference< ::sfx2::DocumentUndoManagerm_pDocumentUndoManager
 
Sequence< document::CmisProperty > m_cmisProperties
 
std::shared_ptr< SfxGrabBagItemm_xGrabBagItem
 
std::optional< std::chrono::steady_clock::time_point > m_oDirtyTimestamp
 

Static Public Attributes

static sal_Int64 g_nInstanceCounter = 0
 

Additional Inherited Members

- Protected Member Functions inherited from sfx2::IModifiableDocument
 ~IModifiableDocument ()
 

Detailed Description

Definition at line 197 of file sfxbasemodel.cxx.

Constructor & Destructor Documentation

◆ IMPL_SfxBaseModel_DataContainer()

IMPL_SfxBaseModel_DataContainer::IMPL_SfxBaseModel_DataContainer ( ::osl::Mutex &  rMutex,
SfxObjectShell pObjectShell 
)
inline

Definition at line 235 of file sfxbasemodel.cxx.

References g_nInstanceCounter, and m_sRuntimeUID.

◆ ~IMPL_SfxBaseModel_DataContainer()

virtual IMPL_SfxBaseModel_DataContainer::~IMPL_SfxBaseModel_DataContainer ( )
inlinevirtual

Definition at line 252 of file sfxbasemodel.cxx.

Member Function Documentation

◆ CreateDMAUninitialized()

Reference< rdf::XDocumentMetadataAccess > IMPL_SfxBaseModel_DataContainer::CreateDMAUninitialized ( )
inline

Definition at line 308 of file sfxbasemodel.cxx.

References tools::SvRef< typename T >::is(), and m_pObjectShell.

◆ GetDMA()

Reference< rdf::XDocumentMetadataAccess > IMPL_SfxBaseModel_DataContainer::GetDMA ( )
inline

◆ impl_setDocumentProperties()

void IMPL_SfxBaseModel_DataContainer::impl_setDocumentProperties ( const Reference< document::XDocumentProperties > &  rxNewDocProps)

◆ setModifiedForAutoSave()

void IMPL_SfxBaseModel_DataContainer::setModifiedForAutoSave ( bool  val)
inline

Definition at line 316 of file sfxbasemodel.cxx.

References m_oDirtyTimestamp.

◆ storageIsModified()

virtual void IMPL_SfxBaseModel_DataContainer::storageIsModified ( )
inlineoverridevirtual

indicates the root or a sub storage of the document has been modified

Implements sfx2::IModifiableDocument.

Definition at line 257 of file sfxbasemodel.cxx.

References tools::SvRef< typename T >::is(), and m_pObjectShell.

Member Data Documentation

◆ g_nInstanceCounter

sal_Int64 IMPL_SfxBaseModel_DataContainer::g_nInstanceCounter = 0
static

Definition at line 200 of file sfxbasemodel.cxx.

Referenced by IMPL_SfxBaseModel_DataContainer().

◆ m_aInterfaceContainer

comphelper::OMultiTypeInterfaceContainerHelper2 IMPL_SfxBaseModel_DataContainer::m_aInterfaceContainer

Definition at line 205 of file sfxbasemodel.cxx.

◆ m_aPreusedFilterName

OUString IMPL_SfxBaseModel_DataContainer::m_aPreusedFilterName

Definition at line 204 of file sfxbasemodel.cxx.

◆ m_bClosed

bool IMPL_SfxBaseModel_DataContainer::m_bClosed

Definition at line 217 of file sfxbasemodel.cxx.

◆ m_bClosing

bool IMPL_SfxBaseModel_DataContainer::m_bClosing

Definition at line 218 of file sfxbasemodel.cxx.

◆ m_bDisposing

bool IMPL_SfxBaseModel_DataContainer::m_bDisposing

Definition at line 222 of file sfxbasemodel.cxx.

◆ m_bExternalTitle

bool IMPL_SfxBaseModel_DataContainer::m_bExternalTitle

Definition at line 221 of file sfxbasemodel.cxx.

◆ m_bSaving

bool IMPL_SfxBaseModel_DataContainer::m_bSaving

Definition at line 219 of file sfxbasemodel.cxx.

◆ m_bSuicide

bool IMPL_SfxBaseModel_DataContainer::m_bSuicide

Definition at line 220 of file sfxbasemodel.cxx.

◆ m_cmisProperties

Sequence< document::CmisProperty> IMPL_SfxBaseModel_DataContainer::m_cmisProperties

Definition at line 231 of file sfxbasemodel.cxx.

◆ m_contViewData

Reference< container::XIndexAccess > IMPL_SfxBaseModel_DataContainer::m_contViewData

Definition at line 215 of file sfxbasemodel.cxx.

◆ m_nControllerLockCount

sal_uInt16 IMPL_SfxBaseModel_DataContainer::m_nControllerLockCount

Definition at line 216 of file sfxbasemodel.cxx.

◆ m_oDirtyTimestamp

std::optional<std::chrono::steady_clock::time_point> IMPL_SfxBaseModel_DataContainer::m_oDirtyTimestamp

Definition at line 233 of file sfxbasemodel.cxx.

Referenced by setModifiedForAutoSave().

◆ m_pDocumentUndoManager

::rtl::Reference< ::sfx2::DocumentUndoManager > IMPL_SfxBaseModel_DataContainer::m_pDocumentUndoManager

Definition at line 230 of file sfxbasemodel.cxx.

◆ m_pObjectShell

SfxObjectShellRef IMPL_SfxBaseModel_DataContainer::m_pObjectShell

◆ m_pStorageModifyListen

::rtl::Reference< ::sfx2::DocumentStorageModifyListener > IMPL_SfxBaseModel_DataContainer::m_pStorageModifyListen

Definition at line 225 of file sfxbasemodel.cxx.

◆ m_seqArguments

Sequence< beans::PropertyValue> IMPL_SfxBaseModel_DataContainer::m_seqArguments

Definition at line 213 of file sfxbasemodel.cxx.

◆ m_seqControllers

std::vector< Reference< frame::XController > > IMPL_SfxBaseModel_DataContainer::m_seqControllers

Definition at line 214 of file sfxbasemodel.cxx.

◆ m_sModuleIdentifier

OUString IMPL_SfxBaseModel_DataContainer::m_sModuleIdentifier

Definition at line 226 of file sfxbasemodel.cxx.

◆ m_sRuntimeUID

OUString IMPL_SfxBaseModel_DataContainer::m_sRuntimeUID

Definition at line 203 of file sfxbasemodel.cxx.

Referenced by IMPL_SfxBaseModel_DataContainer().

◆ m_sURL

OUString IMPL_SfxBaseModel_DataContainer::m_sURL

Definition at line 202 of file sfxbasemodel.cxx.

◆ m_xCurrent

Reference< frame::XController > IMPL_SfxBaseModel_DataContainer::m_xCurrent

Definition at line 209 of file sfxbasemodel.cxx.

◆ m_xDocumentMetadata

Reference< rdf::XDocumentMetadataAccess> IMPL_SfxBaseModel_DataContainer::m_xDocumentMetadata

Definition at line 229 of file sfxbasemodel.cxx.

Referenced by GetDMA().

◆ m_xDocumentProperties

Reference< document::XDocumentProperties > IMPL_SfxBaseModel_DataContainer::m_xDocumentProperties

Definition at line 210 of file sfxbasemodel.cxx.

Referenced by impl_setDocumentProperties().

◆ m_xEvents

Reference< container::XNameReplace > IMPL_SfxBaseModel_DataContainer::m_xEvents

Definition at line 212 of file sfxbasemodel.cxx.

◆ m_xGrabBagItem

std::shared_ptr<SfxGrabBagItem> IMPL_SfxBaseModel_DataContainer::m_xGrabBagItem

Definition at line 232 of file sfxbasemodel.cxx.

◆ m_xNumberedControllers

Reference< frame::XUntitledNumbers > IMPL_SfxBaseModel_DataContainer::m_xNumberedControllers

Definition at line 228 of file sfxbasemodel.cxx.

◆ m_xParent

Reference< XInterface > IMPL_SfxBaseModel_DataContainer::m_xParent

Definition at line 208 of file sfxbasemodel.cxx.

◆ m_xPrintable

Reference< view::XPrintable> IMPL_SfxBaseModel_DataContainer::m_xPrintable

Definition at line 223 of file sfxbasemodel.cxx.

◆ m_xStarBasicAccess

Reference< script::XStarBasicAccess > IMPL_SfxBaseModel_DataContainer::m_xStarBasicAccess

Definition at line 211 of file sfxbasemodel.cxx.

◆ m_xTitleHelper

Reference< frame::XTitle > IMPL_SfxBaseModel_DataContainer::m_xTitleHelper

Definition at line 227 of file sfxbasemodel.cxx.

◆ m_xUIConfigurationManager

Reference< ui::XUIConfigurationManager2 > IMPL_SfxBaseModel_DataContainer::m_xUIConfigurationManager

Definition at line 224 of file sfxbasemodel.cxx.

◆ maShapeListeners

std::unordered_map<css::uno::Reference< css::drawing::XShape >, std::vector<css::uno::Reference< css::document::XShapeEventListener > > > IMPL_SfxBaseModel_DataContainer::maShapeListeners

Definition at line 207 of file sfxbasemodel.cxx.


The documentation for this struct was generated from the following file: