LibreOffice Module dbaccess (master) 1
|
#include <databasedocument.hxx>
Classes | |
struct | FactoryAccess |
Public Member Functions | |
virtual OUString SAL_CALL | getImplementationName () override |
virtual sal_Bool SAL_CALL | supportsService (const OUString &ServiceName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &_rType) override |
virtual void SAL_CALL | acquire () noexcept override |
virtual void SAL_CALL | release () noexcept override |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () override |
virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getImplementationId () override |
virtual void SAL_CALL | dispose () override |
virtual void SAL_CALL | addEventListener (const css::uno::Reference< css::lang::XEventListener > &xListener) override |
virtual void SAL_CALL | removeEventListener (const css::uno::Reference< css::lang::XEventListener > &aListener) override |
virtual sal_Bool SAL_CALL | attachResource (const OUString &URL, const css::uno::Sequence< css::beans::PropertyValue > &Arguments) 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 > &Controller) override |
virtual void SAL_CALL | disconnectController (const css::uno::Reference< css::frame::XController > &Controller) 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 > &Controller) 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< ::rtl::OUString > &requestedArgs) 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 > &lArguments) override |
virtual void SAL_CALL | storeToURL (const OUString &sURL, const css::uno::Sequence< css::beans::PropertyValue > &lArguments) override |
virtual void SAL_CALL | addModifyListener (const css::uno::Reference< css::util::XModifyListener > &aListener) override |
virtual void SAL_CALL | removeModifyListener (const css::uno::Reference< css::util::XModifyListener > &aListener) override |
virtual sal_Bool SAL_CALL | isModified () override |
virtual void SAL_CALL | setModified (sal_Bool bModified) override |
virtual void SAL_CALL | addEventListener (const css::uno::Reference< css::document::XEventListener > &aListener) override |
virtual void SAL_CALL | removeEventListener (const css::uno::Reference< css::document::XEventListener > &aListener) 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 css::uno::Sequence< css::beans::PropertyValue > SAL_CALL | getPrinter () override |
virtual void SAL_CALL | setPrinter (const css::uno::Sequence< css::beans::PropertyValue > &aPrinter) override |
virtual void SAL_CALL | print (const css::uno::Sequence< css::beans::PropertyValue > &xOptions) override |
virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL | getFormDocuments () override |
virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL | getReportDocuments () override |
virtual void SAL_CALL | close (sal_Bool DeliverOwnership) override |
virtual void SAL_CALL | addCloseListener (const css::uno::Reference< css::util::XCloseListener > &Listener) override |
virtual void SAL_CALL | removeCloseListener (const css::uno::Reference< css::util::XCloseListener > &Listener) override |
virtual css::uno::Reference< css::ui::XUIConfigurationManager > SAL_CALL | getUIConfigurationManager () 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 css::uno::Reference< css::sdbc::XDataSource > SAL_CALL | getDataSource () 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 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 css::uno::Reference< css::script::provider::XScriptProvider > SAL_CALL | getScriptProvider () override |
virtual css::uno::Reference< css::container::XNameReplace > SAL_CALL | getEvents () override |
virtual void SAL_CALL | initNew () override |
virtual void SAL_CALL | load (const css::uno::Sequence< css::beans::PropertyValue > &lArguments) 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 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 |
void | checkInitialized () const |
checks whether the component is already initialized, throws a NotInitializedException if not More... | |
void | checkNotUninitialized () const |
checks the document is currently in the initialization phase, or already initialized. More... | |
void | checkNotInitialized () const |
checks whether the document is currently being initialized, or already initialized, throws a DoubleInitializationException if so More... | |
Public Member Functions inherited from dbaccess::ModelDependentComponent | |
void | checkDisposed () const |
checks whether the component is already disposed, throws a DisposedException if so More... | |
void | lockModify () |
void | unlockModify () |
virtual css::uno::Any SAL_CALL | queryInterface (css::uno::Type const &rType) SAL_OVERRIDE |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () SAL_OVERRIDE |
virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getImplementationId () SAL_OVERRIDE |
Static Public Member Functions | |
static rtl::Reference< ODatabaseDocument > | createDatabaseDocument (const ::rtl::Reference< ODatabaseModelImpl > &_pImpl, FactoryAccess) |
static void | clearObjectContainer (css::uno::WeakReference< css::container::XNameAccess > &_rxContainer) |
clears the given object container More... | |
Protected Member Functions | |
virtual void SAL_CALL | disposing () override |
virtual | ~ODatabaseDocument () override |
Protected Member Functions inherited from dbaccess::ModelDependentComponent | |
ModelDependentComponent (::rtl::Reference< ODatabaseModelImpl > _model) | |
virtual | ~ModelDependentComponent () |
virtual css::uno::Reference< css::uno::XInterface > | getThis () const =0 |
returns the component itself More... | |
::osl::Mutex & | getMutex () |
Protected Member Functions inherited from cppu::ImplHelper3< class Ifc1, class Ifc2, class Ifc3 > | |
~ImplHelper3 () SAL_NOEXCEPT | |
Private Types | |
enum | InitState { NotInitialized , Initializing , Initialized } |
enum | StoreType { SAVE , SAVE_AS } |
typedef std::map< OUString, css::uno::Reference< css::frame::XUntitledNumbers > > | TNumberedController |
Private Member Functions | |
void | impl_storeAs_throw (const OUString &_rURL, const ::comphelper::NamedValueCollection &_rArguments, const StoreType _eType, DocumentGuard &_rGuard) |
stores the document to the given URL, rebases it to the respective new storage, if necessary, resets the modified flag, and notifies any listeners as required More... | |
void | impl_notifyStorageChange_nolck_nothrow (const css::uno::Reference< css::embed::XStorage > &_rxNewRootStorage) |
notifies our storage change listeners that our underlying storage changed More... | |
void | WriteThroughComponent (const css::uno::Reference< css::lang::XComponent > &xComponent, const char *pStreamName, const char *pServiceName, const css::uno::Sequence< css::uno::Any > &rArguments, const css::uno::Sequence< css::beans::PropertyValue > &rMediaDesc, const css::uno::Reference< css::embed::XStorage > &_xStorageToSaveTo) const |
write a single XML stream into the package More... | |
void | WriteThroughComponent (const css::uno::Reference< css::io::XOutputStream > &xOutputStream, const css::uno::Reference< css::lang::XComponent > &xComponent, const char *pServiceName, const css::uno::Sequence< css::uno::Any > &rArguments, const css::uno::Sequence< css::beans::PropertyValue > &rMediaDesc) const |
write a single output stream (to be called either directly or by WriteThroughComponent(...)) More... | |
void | impl_writeStorage_throw (const css::uno::Reference< css::embed::XStorage > &_rxTargetStorage, const ::comphelper::NamedValueCollection &_rMediaDescriptor) const |
writes the content and settings More... | |
virtual css::uno::Reference< css::uno::XInterface > | getThis () const override |
returns the component itself More... | |
css::uno::Reference< css::frame::XTitle > const & | impl_getTitleHelper_throw () |
css::uno::Reference< css::frame::XUntitledNumbers > | impl_getUntitledHelper_throw (const css::uno::Reference< css::uno::XInterface > &_xComponent=css::uno::Reference< css::uno::XInterface >()) |
ODatabaseDocument (const ::rtl::Reference< ODatabaseModelImpl > &_pImpl) | |
css::uno::Reference< css::ui::XUIConfigurationManager2 > const & | getUIConfigurationManager2 () |
bool | impl_isInitializing () const |
returns whether the model is currently being initialized More... | |
bool | impl_isInitialized () const |
returns whether the model is already initialized, i.e. More... | |
void | impl_setInitializing () |
tells the model it is being initialized now More... | |
void | impl_setInitialized () |
tells the model its initialization is done More... | |
void | impl_closeControllerFrames_nolck_throw (bool _bDeliverOwnership) |
closes the frames of all connected controllers More... | |
void | impl_disposeControllerFrames_nothrow () |
disposes the frames of all controllers which are still left in m_aControllers. More... | |
void | impl_reparent_nothrow (const css::uno::WeakReference< css::container::XNameAccess > &_rxContainer) |
does a reparenting at the given object container to ourself More... | |
css::uno::Reference< css::container::XNameAccess > | impl_getDocumentContainer_throw (ODatabaseModelImpl::ObjectType _eType) |
retrieves the forms or reports contained, creates and initializes it, if necessary More... | |
void | impl_reset_nothrow () |
resets everything More... | |
css::uno::Reference< css::embed::XStorage > | impl_createStorageFor_throw (const OUString &_rURL) const |
creates a storage for the given URL, truncating it if a file with this name already exists More... | |
css::uno::Reference< css::embed::XStorage > | impl_GetStorageOrCreateFor_throw (const ::comphelper::NamedValueCollection &_rArguments, const OUString &_rURL) const |
Extracts storage from arguments, or creates for the given URL, truncating it if a file with this name already exists. More... | |
void | impl_setModified_nothrow (bool _bModified, DocumentGuard &_rGuard) |
sets our "modified" flag More... | |
void | impl_storeToStorage_throw (const css::uno::Reference< css::embed::XStorage > &_rxTargetStorage, const css::uno::Sequence< css::beans::PropertyValue > &_rMediaDescriptor, DocumentGuard &_rDocGuard) const |
stores the document to the given storage More... | |
bool | impl_attachResource (const OUString &i_rLogicalDocumentURL, const css::uno::Sequence< css::beans::PropertyValue > &i_rMediaDescriptor, DocumentGuard &_rDocGuard) |
impl-version of attachResource More... | |
void | impl_throwIOExceptionCausedBySave_throw (const css::uno::Any &i_rError, std::u16string_view i_rTargetURL) const |
throws an IOException with the message as defined in the RID_STR_ERROR_WHILE_SAVING resource, wrapping the given caught non-IOException error More... | |
Static Private Member Functions | |
static void | impl_import_nolck_throw (const css::uno::Reference< css::uno::XComponentContext > &_rContext, const css::uno::Reference< css::uno::XInterface > &_rxTargetComponent, const ::comphelper::NamedValueCollection &_rResource) |
imports the document from the given resource. More... | |
Private Attributes | |
css::uno::Reference< css::ui::XUIConfigurationManager2 > | m_xUIConfigurationManager |
::comphelper::OInterfaceContainerHelper3< css::util::XModifyListener > | m_aModifyListeners |
::comphelper::OInterfaceContainerHelper3< css::util::XCloseListener > | m_aCloseListener |
::comphelper::OInterfaceContainerHelper3< css::document::XStorageChangeListener > | m_aStorageListeners |
std::unique_ptr< DocumentEvents > | m_pEventContainer |
::rtl::Reference< DocumentEventExecutor > | m_pEventExecutor |
DocumentEventNotifier | m_aEventNotifier |
css::uno::Reference< css::frame::XController > | m_xCurrentController |
Controllers | m_aControllers |
ViewMonitor | m_aViewMonitor |
css::uno::WeakReference< css::container::XNameAccess > | m_xForms |
css::uno::WeakReference< css::container::XNameAccess > | m_xReports |
css::uno::WeakReference< css::script::provider::XScriptProvider > | m_xScriptProvider |
css::uno::Reference< css::frame::XModuleManager2 > | m_xModuleManager |
such module manager is used to classify new opened documents. More... | |
css::uno::Reference< css::frame::XTitle > | m_xTitleHelper |
TNumberedController | m_aNumberedControllers |
InitState | m_eInitState |
true if and only if the DatabaseDocument's "initNew" or "load" have been called (or, well, the document has be initialized implicitly - see storeAsURL More... | |
bool | m_bClosing |
bool | m_bAllowDocumentScripting |
bool | m_bHasBeenRecovered |
bool | m_bEmbedded |
If XModel::attachResource() was called to inform us that the document is embedded into another one. More... | |
Additional Inherited Members | |
Protected Attributes inherited from dbaccess::ModelDependentComponent | |
::rtl::Reference< ODatabaseModelImpl > | m_pImpl |
::osl::Mutex | m_aMutex |
Definition at line 158 of file databasedocument.hxx.
|
private |
Definition at line 169 of file databasedocument.hxx.
|
private |
Enumerator | |
---|---|
NotInitialized | |
Initializing | |
Initialized |
Definition at line 162 of file databasedocument.hxx.
|
private |
Enumerator | |
---|---|
SAVE | |
SAVE_AS |
Definition at line 203 of file databasedocument.hxx.
|
explicitprivate |
Definition at line 133 of file databasedocument.cxx.
References getMutex(), impl_reparent_nothrow(), impl_setInitializing(), m_aViewMonitor, m_pEventExecutor, dbaccess::ModelDependentComponent::m_pImpl, m_refCount, m_xForms, m_xReports, and dbaccess::ViewMonitor::onLoadedDocument().
Referenced by createDatabaseDocument().
|
overrideprotectedvirtual |
Definition at line 179 of file databasedocument.cxx.
|
overridevirtualnoexcept |
Definition at line 206 of file databasedocument.cxx.
Referenced by ~ODatabaseDocument().
|
overridevirtual |
Definition at line 1537 of file databasedocument.cxx.
References comphelper::OInterfaceContainerHelper3< class ListenerT >::addInterface(), dbaccess::DocumentGuard::DefaultMethod, and m_aCloseListener.
|
overridevirtual |
Definition at line 1351 of file databasedocument.cxx.
References dbaccess::DocumentEventNotifier::addDocumentEventListener(), and m_aEventNotifier.
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
Definition at line 1290 of file databasedocument.cxx.
References comphelper::OInterfaceContainerHelper3< class ListenerT >::addInterface(), dbaccess::DocumentGuard::DefaultMethod, and m_aModifyListeners.
|
overridevirtual |
Definition at line 1966 of file databasedocument.cxx.
References comphelper::OInterfaceContainerHelper3< class ListenerT >::addInterface(), dbaccess::DocumentGuard::DefaultMethod, and m_aStorageListeners.
|
overridevirtual |
Definition at line 2147 of file databasedocument.cxx.
References dbaccess::DocumentGuard::DefaultMethod, and impl_getTitleHelper_throw().
|
overridevirtual |
Definition at line 712 of file databasedocument.cxx.
References Any, Exception, impl_attachResource(), m_bEmbedded, and dbaccess::DocumentGuard::MethodUsedDuringInit.
|
inline |
checks whether the component is already initialized, throws a NotInitializedException if not
Definition at line 447 of file databasedocument.hxx.
References getThis(), and impl_isInitialized().
Referenced by dbaccess::DocumentGuard::DocumentGuard().
|
inline |
checks whether the document is currently being initialized, or already initialized, throws a DoubleInitializationException if so
Definition at line 468 of file databasedocument.hxx.
References getThis(), impl_isInitialized(), and impl_isInitializing().
Referenced by dbaccess::DocumentGuard::DocumentGuard().
|
inline |
checks the document is currently in the initialization phase, or already initialized.
Throws NotInitializedException if not so.
Definition at line 456 of file databasedocument.hxx.
References getThis(), impl_isInitialized(), and impl_isInitializing().
Referenced by dbaccess::DocumentGuard::DocumentGuard().
|
static |
clears the given object container
Clearing is done via disposal - the method calls XComponent::dispose at the given object, which must be one of our impl's or our object containers (m_xForms, m_xReports, m_xTableDefinitions, m_xCommandDefinitions)
_rxContainer | the container to clear |
Definition at line 1403 of file databasedocument.cxx.
Referenced by disposing(), dbaccess::ODatabaseSource::disposing(), impl_reset_nothrow(), and impl_storeAs_throw().
|
overridevirtual |
Definition at line 1494 of file databasedocument.cxx.
References aEvent, dbaccess::DocumentGuard::DefaultMethod, dispose(), Exception, comphelper::OInterfaceContainerHelper3< class ListenerT >::forEach(), impl_closeControllerFrames_nolck_throw(), m_aCloseListener, m_aEventNotifier, m_bClosing, dbaccess::DocumentEventNotifier::notifyDocumentEvent(), and comphelper::OInterfaceContainerHelper3< class ListenerT >::notifyEach().
Referenced by disconnectController().
|
overridevirtual |
Definition at line 814 of file databasedocument.cxx.
References dbaccess::DocumentGuard::DefaultMethod, m_aControllers, m_aEventNotifier, m_aViewMonitor, dbaccess::ModelDependentComponent::m_pImpl, dbaccess::DocumentEventNotifier::notifyDocumentEventAsync(), and dbaccess::ViewMonitor::onControllerConnected().
|
inlinestatic |
Definition at line 290 of file databasedocument.hxx.
References ODatabaseDocument().
Referenced by dbaccess::ODatabaseModelImpl::createNewModel_deliverOwnership().
|
overridevirtual |
Definition at line 2060 of file databasedocument.cxx.
References createViewController(), and Frame.
|
overridevirtual |
Definition at line 2065 of file databasedocument.cxx.
References dbaccess::DocumentGuard::clear(), dbaccess::DocumentGuard::DefaultMethod, Frame, comphelper::NamedValueCollection::getWrappedPropertyValues(), dbaccess::ModelDependentComponent::m_pImpl, comphelper::NamedValueCollection::put(), and xController.
Referenced by createDefaultViewController().
|
overridevirtual |
Definition at line 837 of file databasedocument.cxx.
References close(), dbaccess::DocumentGuard::DefaultMethod, m_aControllers, m_aEventNotifier, m_bClosing, m_xCurrentController, dbaccess::DocumentEventNotifier::notifyDocumentEvent(), and pos.
|
overridevirtual |
Definition at line 1869 of file databasedocument.cxx.
Referenced by close(), and ~ODatabaseDocument().
|
overrideprotectedvirtual |
Definition at line 1786 of file databasedocument.cxx.
References clearObjectContainer(), comphelper::OInterfaceContainerHelper3< class ListenerT >::disposeAndClear(), dbaccess::DocumentEventNotifier::disposing(), impl_disposeControllerFrames_nothrow(), impl_isInitialized(), m_aCloseListener, m_aControllers, m_aEventNotifier, m_aModifyListeners, m_aStorageListeners, m_aViewMonitor, dbaccess::ModelDependentComponent::m_pImpl, m_xForms, m_xModuleManager, m_xReports, m_xTitleHelper, m_xUIConfigurationManager, dbaccess::DocumentEventNotifier::notifyDocumentEvent(), and dbaccess::ViewMonitor::reset().
|
overridevirtual |
Definition at line 1990 of file databasedocument.cxx.
References dbaccess::DocumentGuard::DefaultMethod, and dbaccess::ModelDependentComponent::m_pImpl.
|
overridevirtual |
Definition at line 794 of file databasedocument.cxx.
References dbaccess::ModelDependentComponent::m_pImpl, and dbaccess::DocumentGuard::MethodWithoutInit.
|
override |
Definition at line 800 of file databasedocument.cxx.
References comphelper::containerToSequence(), dbaccess::ModelDependentComponent::m_pImpl, and dbaccess::DocumentGuard::MethodWithoutInit.
|
overridevirtual |
Definition at line 2054 of file databasedocument.cxx.
References SERVICE_SDB_APPLICATIONCONTROLLER.
|
overridevirtual |
Definition at line 1978 of file databasedocument.cxx.
References dbaccess::ModelDependentComponent::m_pImpl, and dbaccess::DocumentGuard::MethodUsedDuringInit.
|
overridevirtual |
Definition at line 2046 of file databasedocument.cxx.
References dbaccess::DocumentGuard::DefaultMethod, and m_aControllers.
|
overridevirtual |
Definition at line 902 of file databasedocument.cxx.
References dbaccess::DocumentGuard::DefaultMethod, m_aControllers, and m_xCurrentController.
Referenced by getCurrentSelection().
|
overridevirtual |
Definition at line 938 of file databasedocument.cxx.
References dbaccess::DocumentGuard::DefaultMethod, and getCurrentController().
|
overridevirtual |
Definition at line 1900 of file databasedocument.cxx.
References dbaccess::ModelDependentComponent::m_pImpl, and dbaccess::DocumentGuard::MethodWithoutInit.
|
overridevirtual |
Definition at line 1984 of file databasedocument.cxx.
References dbaccess::DocumentGuard::DefaultMethod, and dbaccess::ModelDependentComponent::m_pImpl.
|
overridevirtual |
Definition at line 1960 of file databasedocument.cxx.
References dbaccess::ModelDependentComponent::m_pImpl, and dbaccess::DocumentGuard::MethodUsedDuringInit.
|
overridevirtual |
Definition at line 1762 of file databasedocument.cxx.
References dbaccess::DocumentGuard::DefaultMethod, and dbaccess::ModelDependentComponent::m_pImpl.
Referenced by getUIConfigurationManager2().
|
overridevirtual |
Definition at line 1770 of file databasedocument.cxx.
References dbaccess::ModelDependentComponent::m_pImpl.
|
overridevirtual |
Definition at line 2022 of file databasedocument.cxx.
References m_pEventContainer, and dbaccess::DocumentGuard::MethodUsedDuringInit.
|
overridevirtual |
Definition at line 1549 of file databasedocument.cxx.
References dbaccess::ODatabaseModelImpl::Form, impl_getDocumentContainer_throw(), and dbaccess::DocumentGuard::MethodUsedDuringInit.
|
overridevirtual |
Reimplemented from cppu::ImplHelper3< class Ifc1, class Ifc2, class Ifc3 >.
Definition at line 239 of file databasedocument.cxx.
|
overridevirtual |
Definition at line 1885 of file databasedocument.cxx.
|
overridevirtual |
Definition at line 956 of file databasedocument.cxx.
References dbaccess::ModelDependentComponent::m_pImpl, and dbaccess::DocumentGuard::MethodWithoutInit.
Referenced by hasLocation().
|
overridevirtual |
Definition at line 1380 of file databasedocument.cxx.
|
overridevirtual |
Definition at line 1555 of file databasedocument.cxx.
References impl_getDocumentContainer_throw(), dbaccess::DocumentGuard::MethodUsedDuringInit, and dbaccess::ODatabaseModelImpl::Report.
|
overridevirtual |
Definition at line 1996 of file databasedocument.cxx.
|
overridevirtual |
Definition at line 2001 of file databasedocument.cxx.
References Any, dbaccess::DocumentGuard::DefaultMethod, m_bAllowDocumentScripting, dbaccess::ModelDependentComponent::m_pImpl, m_xScriptProvider, and xFactory.
|
overridevirtual |
Definition at line 1890 of file databasedocument.cxx.
|
overrideprivatevirtual |
returns the component itself
Implements dbaccess::ModelDependentComponent.
Definition at line 2028 of file databasedocument.cxx.
Referenced by checkInitialized(), checkNotInitialized(), checkNotUninitialized(), and impl_getTitleHelper_throw().
|
overridevirtual |
Definition at line 2129 of file databasedocument.cxx.
References impl_getTitleHelper_throw(), and dbaccess::DocumentGuard::MethodUsedDuringInit.
|
overridevirtual |
Reimplemented from cppu::ImplHelper3< class Ifc1, class Ifc2, class Ifc3 >.
Definition at line 216 of file databasedocument.cxx.
References aTypes, begin, end, cppu::UnoType< typename T >::get(), cppu::ImplHelper3< class Ifc1, class Ifc2, class Ifc3 >::getTypes(), m_bAllowDocumentScripting, and t.
|
overridevirtual |
Definition at line 1724 of file databasedocument.cxx.
References getUIConfigurationManager2().
|
private |
css::uno::RuntimeException |
Definition at line 1729 of file databasedocument.cxx.
References a, Any, dbaccess::DocumentGuard::DefaultMethod, getDocumentSubStorage(), INFO_MEDIATYPE, dbaccess::ModelDependentComponent::m_pImpl, and m_xUIConfigurationManager.
Referenced by getUIConfigurationManager().
|
overridevirtual |
Definition at line 2188 of file databasedocument.cxx.
|
overridevirtual |
Definition at line 788 of file databasedocument.cxx.
References dbaccess::ModelDependentComponent::m_pImpl, and dbaccess::DocumentGuard::MethodWithoutInit.
Referenced by impl_attachResource().
|
overridevirtual |
Definition at line 895 of file databasedocument.cxx.
References dbaccess::DocumentGuard::DefaultMethod, and dbaccess::ModelDependentComponent::m_pImpl.
|
overridevirtual |
Definition at line 951 of file databasedocument.cxx.
References getLocation().
|
private |
impl-version of attachResource
i_rLogicalDocumentURL | denotes the logical URL of the document, to be reported by getURL/getLocation |
i_rMediaDescriptor | denotes additional document parameters |
_rDocGuard | is the guard which currently protects the document instance |
Definition at line 738 of file databasedocument.cxx.
References dbaccess::DocumentGuard::clear(), comphelper::NamedValueCollection::empty(), comphelper::NamedValueCollection::get(), getURL(), impl_isInitializing(), impl_setInitialized(), m_aEventNotifier, m_bAllowDocumentScripting, dbaccess::ModelDependentComponent::m_pImpl, dbaccess::DocumentEventNotifier::notifyDocumentEvent(), comphelper::NamedValueCollection::remove(), and dbaccess::ODatabaseModelImpl::SubDocument.
Referenced by attachResource(), and recoverFromFile().
|
private |
closes the frames of all connected controllers
_bDeliverOwnership | determines if the ownership should be transferred to the component which possibly vetos the closing |
css::util::CloseVetoException | if the closing was vetoed by any instance |
Definition at line 1450 of file databasedocument.cxx.
References DBG_UNHANDLED_EXCEPTION, Exception, m_aControllers, and xFrame.
Referenced by close().
|
private |
creates a storage for the given URL, truncating it if a file with this name already exists
Exception | if creating the storage failed |
Definition at line 1125 of file databasedocument.cxx.
References Any, dbaccess::ModelDependentComponent::m_pImpl, and xStream.
Referenced by impl_GetStorageOrCreateFor_throw(), and storeToRecoveryFile().
|
private |
disposes the frames of all controllers which are still left in m_aControllers.
Definition at line 1473 of file databasedocument.cxx.
References DBG_UNHANDLED_EXCEPTION, Exception, m_aControllers, and xFrame.
Referenced by disposing().
|
private |
retrieves the forms or reports contained, creates and initializes it, if necessary
DisposedException | if the instance is already disposed |
IllegalArgumentException | if <arg>_eType</arg> is not ODatabaseModelImpl::E_FORM and not ODatabaseModelImpl::E_REPORT |
Definition at line 1414 of file databasedocument.cxx.
References Any, dbaccess::ODatabaseModelImpl::Form, dbtools::getDataSourceSetting(), impl_reparent_nothrow(), dbaccess::ModelDependentComponent::m_pImpl, m_xForms, m_xReports, and dbaccess::ODatabaseModelImpl::Report.
Referenced by getFormDocuments(), and getReportDocuments().
|
private |
Extracts storage from arguments, or creates for the given URL, truncating it if a file with this name already exists.
Exception | if creating the storage failed |
Definition at line 1140 of file databasedocument.cxx.
References impl_createStorageFor_throw().
Referenced by impl_storeAs_throw(), and storeToURL().
|
private |
Definition at line 2089 of file databasedocument.cxx.
References getThis(), dbaccess::ModelDependentComponent::m_pImpl, and m_xTitleHelper.
Referenced by addTitleChangeListener(), getTitle(), removeTitleChangeListener(), and setTitle().
|
private |
Definition at line 2102 of file databasedocument.cxx.
References m_aNumberedControllers, dbaccess::ModelDependentComponent::m_pImpl, and m_xModuleManager.
Referenced by leaseNumber(), releaseNumber(), and releaseNumberForComponent().
|
staticprivate |
imports the document from the given resource.
Definition at line 442 of file databasedocument.cxx.
References comphelper::GenericPropertySet_CreateInstance(), nCount, and dbaccess::ODatabaseModelImpl::stripLoadArguments().
Referenced by load().
|
inlineprivate |
returns whether the model is already initialized, i.e.
the XModel's "initNew" or "load" methods have been called
Definition at line 484 of file databasedocument.hxx.
References Initialized, and m_eInitState.
Referenced by checkInitialized(), checkNotInitialized(), checkNotUninitialized(), disposing(), impl_storeToStorage_throw(), setModified(), and storeAsURL().
|
inlineprivate |
returns whether the model is currently being initialized
Definition at line 480 of file databasedocument.hxx.
References Initializing, and m_eInitState.
Referenced by checkNotInitialized(), checkNotUninitialized(), impl_attachResource(), impl_storeAs_throw(), and storeAsURL().
|
private |
notifies our storage change listeners that our underlying storage changed
_rxNewRootStorage | the new root storage to be notified. If <NULL>, it is assumed that no storage change actually happened, and the listeners are not notified. |
Definition at line 1776 of file databasedocument.cxx.
References comphelper::OInterfaceContainerHelper3< class ListenerT >::forEach(), and m_aStorageListeners.
Referenced by impl_storeAs_throw(), initNew(), and switchToStorage().
|
private |
does a reparenting at the given object container to ourself
Calls XChild::setParent at the given object, which must be one of our impl's or our object containers (m_xForms, m_xReports, m_xTableDefinitions, m_xCommandDefinitions)
Definition at line 1396 of file databasedocument.cxx.
Referenced by impl_getDocumentContainer_throw(), and ODatabaseDocument().
|
private |
resets everything
@precond m_pImpl is not <NULL>
Definition at line 405 of file databasedocument.cxx.
References clearObjectContainer(), DBG_UNHANDLED_EXCEPTION, Exception, m_eInitState, dbaccess::ModelDependentComponent::m_pImpl, m_xForms, m_xReports, and NotInitialized.
Referenced by initNew(), load(), and storeAsURL().
|
private |
tells the model its initialization is done
Definition at line 397 of file databasedocument.cxx.
References Initialized, m_aEventNotifier, m_eInitState, and dbaccess::DocumentEventNotifier::onDocumentInitialized().
Referenced by impl_attachResource(), impl_storeAs_throw(), initNew(), load(), and loadFromStorage().
|
inlineprivate |
tells the model it is being initialized now
Definition at line 487 of file databasedocument.hxx.
References Initializing, and m_eInitState.
Referenced by initNew(), load(), ODatabaseDocument(), and storeAsURL().
|
private |
sets our "modified" flag
will notify all our respective listeners, if the "modified" state actually changed
_bModified | the (new) flag indicating whether the document is currently modified or not |
_rGuard | the guard for our instance. At method entry, the guard must hold the lock. At the moment of method leave, the lock will be released. @precond our mutex is locked @postcond our mutex is not locked |
Definition at line 1320 of file databasedocument.cxx.
References aEvent, dbaccess::DocumentGuard::clear(), m_aEventNotifier, m_aModifyListeners, dbaccess::ModelDependentComponent::m_pImpl, dbaccess::DocumentEventNotifier::notifyDocumentEventAsync(), and comphelper::OInterfaceContainerHelper3< class ListenerT >::notifyEach().
Referenced by impl_storeAs_throw(), initNew(), load(), loadFromStorage(), and setModified().
|
private |
stores the document to the given URL, rebases it to the respective new storage, if necessary, resets the modified flag, and notifies any listeners as required
_rURL | the URL to store the document to |
_rArguments | arguments for storing the document (MediaDescriptor) |
_eType | the type of the store process (Save or SaveAs). The method will automatically notify the proper events for this type. |
_rGuard | the instance lock to be released before doing synchronous notifications |
css::io::IOException | |
css::uno::RuntimeException |
Definition at line 1018 of file databasedocument.cxx.
References Any, dbaccess::DocumentGuard::clear(), clearObjectContainer(), Exception, impl_GetStorageOrCreateFor_throw(), impl_isInitializing(), impl_notifyStorageChange_nolck_nothrow(), impl_setInitialized(), impl_setModified_nothrow(), impl_storeToStorage_throw(), impl_throwIOExceptionCausedBySave_throw(), m_aEventNotifier, dbaccess::ModelDependentComponent::m_pImpl, m_xForms, m_xReports, dbaccess::DocumentEventNotifier::notifyDocumentEvent(), dbaccess::DocumentEventNotifier::notifyDocumentEventAsync(), dbaccess::DocumentGuard::reset(), SAVE, and SAVE_AS.
Referenced by store(), and storeAsURL().
|
private |
stores the document to the given storage
Note that the document is actually not rebased to this storage, it just stores a copy of itself to the given target storage.
_rxTargetStorage | denotes the storage to store the document into |
_rMediaDescriptor | contains additional parameters for storing the document |
_rDocGuard | a guard which holds the (only) lock to the document, and which will be temporarily released where necessary (e.g. for notifications, or calling into other components) |
css::uno::IllegalArgumentException | if the given storage is <NULL>. |
css::uno::RuntimeException | when any of the used operations throws it |
css::io::IOException | when any of the used operations throws it, or any other exception occurs which is no RuntimeException and no IOException |
Definition at line 1206 of file databasedocument.cxx.
References Exception, impl_isInitialized(), impl_writeStorage_throw(), and dbaccess::ModelDependentComponent::m_pImpl.
Referenced by impl_storeAs_throw(), initNew(), store(), storeToRecoveryFile(), storeToStorage(), and storeToURL().
|
private |
throws an IOException with the message as defined in the RID_STR_ERROR_WHILE_SAVING resource, wrapping the given caught non-IOException error
Definition at line 1007 of file databasedocument.cxx.
References dbaccess::extractExceptionMessage(), dbaccess::ResourceManager::loadString(), and dbaccess::ModelDependentComponent::m_pImpl.
Referenced by impl_storeAs_throw(), store(), and storeToURL().
|
private |
writes the content and settings
sURL | The URL |
lArguments | The media descriptor |
_xStorageToSaveTo | The storage which should be used for saving |
Definition at line 1623 of file databasedocument.cxx.
References Any, aURL, DBG_UNHANDLED_EXCEPTION, Exception, comphelper::GenericPropertySet_CreateInstance(), GetODFSaneDefaultVersion(), INFO_MEDIATYPE, dbaccess::lcl_uglyHackToStoreDialogeEmbedImages(), dbaccess::ModelDependentComponent::m_pImpl, MIMETYPE_OASIS_OPENDOCUMENT_DATABASE_ASCII, SvtSaveOptions::ODFSVER_012, SvtSaveOptions::ODFSVER_013, ODFVER_012_TEXT, ODFVER_013_TEXT, dbaccess::sPictures, TOOLS_WARN_EXCEPTION, INetURLObject::WithCharset, WriteThroughComponent(), and xModel.
Referenced by impl_storeToStorage_throw().
|
overridevirtual |
Definition at line 476 of file databasedocument.cxx.
References comphelper::OStorageHelper::GetTemporaryStorage(), impl_notifyStorageChange_nolck_nothrow(), impl_reset_nothrow(), impl_setInitialized(), impl_setInitializing(), impl_setModified_nothrow(), impl_storeToStorage_throw(), dbaccess::DocumentGuard::InitMethod, m_aEventNotifier, m_bAllowDocumentScripting, dbaccess::ModelDependentComponent::m_pImpl, dbaccess::DocumentEventNotifier::notifyDocumentEvent(), and dbaccess::DocumentEventNotifier::notifyDocumentEventAsync().
|
overridevirtual |
Definition at line 1303 of file databasedocument.cxx.
References dbaccess::DocumentGuard::DefaultMethod, and dbaccess::ModelDependentComponent::m_pImpl.
Referenced by wasModifiedSinceLastSave().
|
overridevirtual |
Definition at line 964 of file databasedocument.cxx.
References dbaccess::ModelDependentComponent::m_pImpl, and dbaccess::DocumentGuard::MethodWithoutInit.
|
override |
Definition at line 2167 of file databasedocument.cxx.
References dbaccess::DocumentGuard::DefaultMethod, and impl_getUntitledHelper_throw().
|
overridevirtual |
Definition at line 509 of file databasedocument.cxx.
References dbaccess::DocumentGuard::clear(), Exception, comphelper::NamedValueCollection::get(), comphelper::NamedValueCollection::getOrDefault(), comphelper::NamedValueCollection::has(), impl_import_nolck_throw(), impl_reset_nothrow(), impl_setInitialized(), impl_setInitializing(), impl_setModified_nothrow(), dbaccess::DocumentGuard::InitMethod, m_aViewMonitor, m_bEmbedded, dbaccess::ModelDependentComponent::m_pImpl, dbaccess::ViewMonitor::onLoadedDocument(), comphelper::NamedValueCollection::put(), and dbaccess::DocumentGuard::reset().
Referenced by recoverFromFile().
|
overridevirtual |
Definition at line 1917 of file databasedocument.cxx.
References Any, comphelper::GenericPropertySet_CreateInstance(), comphelper::NamedValueCollection::getOrDefault(), impl_setInitialized(), impl_setModified_nothrow(), dbaccess::DocumentGuard::InitMethod, m_bEmbedded, dbaccess::ModelDependentComponent::m_pImpl, and u.
|
overridevirtual |
Definition at line 881 of file databasedocument.cxx.
References dbaccess::DocumentGuard::DefaultMethod, and dbaccess::ModelDependentComponent::m_pImpl.
|
overridevirtual |
Definition at line 1361 of file databasedocument.cxx.
References dbaccess::DocumentGuard::clear(), dbaccess::DocumentGuard::DefaultMethod, m_aEventNotifier, dbaccess::DocumentEvents::needsSynchronousNotification(), dbaccess::DocumentEventNotifier::notifyDocumentEvent(), and dbaccess::DocumentEventNotifier::notifyDocumentEventAsync().
|
overridevirtual |
Definition at line 1391 of file databasedocument.cxx.
|
overridevirtual |
Reimplemented from cppu::ImplHelper3< class Ifc1, class Ifc2, class Ifc3 >.
Definition at line 188 of file databasedocument.cxx.
References Any, m_bAllowDocumentScripting, and cppu::ImplHelper3< class Ifc1, class Ifc2, class Ifc3 >::queryInterface().
|
overridevirtual |
Definition at line 658 of file databasedocument.cxx.
References Any, dbaccess::DocumentGuard::clear(), Exception, comphelper::NamedValueCollection::getPropertyValues(), impl_attachResource(), dbaccess::DocumentGuard::InitMethod, load(), m_bHasBeenRecovered, dbaccess::ModelDependentComponent::m_pImpl, comphelper::NamedValueCollection::put(), and dbaccess::DocumentGuard::reset().
|
overridevirtualnoexcept |
Definition at line 211 of file databasedocument.cxx.
|
overridevirtual |
Definition at line 2174 of file databasedocument.cxx.
References dbaccess::DocumentGuard::DefaultMethod, and impl_getUntitledHelper_throw().
|
overridevirtual |
Definition at line 2181 of file databasedocument.cxx.
References dbaccess::DocumentGuard::DefaultMethod, and impl_getUntitledHelper_throw().
|
overridevirtual |
Definition at line 1543 of file databasedocument.cxx.
References dbaccess::DocumentGuard::DefaultMethod, m_aCloseListener, and comphelper::OInterfaceContainerHelper3< class ListenerT >::removeInterface().
|
overridevirtual |
Definition at line 1356 of file databasedocument.cxx.
References m_aEventNotifier, and dbaccess::DocumentEventNotifier::removeDocumentEventListener().
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
Definition at line 1296 of file databasedocument.cxx.
References dbaccess::DocumentGuard::DefaultMethod, m_aModifyListeners, and comphelper::OInterfaceContainerHelper3< class ListenerT >::removeInterface().
|
overridevirtual |
Definition at line 1972 of file databasedocument.cxx.
References comphelper::OInterfaceContainerHelper3< class ListenerT >::addInterface(), dbaccess::DocumentGuard::DefaultMethod, and m_aStorageListeners.
|
overridevirtual |
Definition at line 2157 of file databasedocument.cxx.
References dbaccess::DocumentGuard::DefaultMethod, and impl_getTitleHelper_throw().
|
overridevirtual |
Definition at line 809 of file databasedocument.cxx.
|
overridevirtual |
Definition at line 909 of file databasedocument.cxx.
References DBG_UNHANDLED_EXCEPTION, dbaccess::DocumentGuard::DefaultMethod, Exception, m_aViewMonitor, m_bHasBeenRecovered, dbaccess::ModelDependentComponent::m_pImpl, m_xCurrentController, dbaccess::ViewMonitor::onSetCurrentController(), and dbaccess::DatabaseDocumentRecovery::recoverSubDocuments().
|
overridevirtual |
Definition at line 1310 of file databasedocument.cxx.
References impl_isInitialized(), impl_setModified_nothrow(), and dbaccess::DocumentGuard::MethodWithoutInit.
|
overridevirtual |
Definition at line 1386 of file databasedocument.cxx.
|
overridevirtual |
Definition at line 2137 of file databasedocument.cxx.
References dbaccess::DocumentGuard::DefaultMethod, impl_getTitleHelper_throw(), m_aEventNotifier, and dbaccess::DocumentEventNotifier::notifyDocumentEventAsync().
|
overridevirtual |
Definition at line 970 of file databasedocument.cxx.
References Any, dbaccess::DocumentGuard::DefaultMethod, Exception, impl_storeAs_throw(), impl_storeToStorage_throw(), impl_throwIOExceptionCausedBySave_throw(), dbaccess::ModelDependentComponent::m_pImpl, and SAVE.
|
overridevirtual |
Definition at line 1158 of file databasedocument.cxx.
References dbaccess::DocumentGuard::clear(), Exception, impl_isInitialized(), impl_isInitializing(), impl_reset_nothrow(), impl_setInitializing(), impl_storeAs_throw(), m_aEventNotifier, m_bAllowDocumentScripting, dbaccess::DocumentGuard::MethodWithoutInit, dbaccess::DocumentEventNotifier::notifyDocumentEvent(), dbaccess::DocumentEventNotifier::notifyDocumentEventAsync(), dbaccess::DocumentGuard::reset(), and SAVE_AS.
|
overridevirtual |
Definition at line 619 of file databasedocument.cxx.
References Any, dbaccess::tools::stor::commitStorageIfWriteable(), dbaccess::DocumentGuard::DefaultMethod, Exception, impl_createStorageFor_throw(), impl_storeToStorage_throw(), m_aControllers, dbaccess::ModelDependentComponent::m_pImpl, and dbaccess::DatabaseDocumentRecovery::saveModifiedSubComponents().
|
overridevirtual |
Definition at line 1944 of file databasedocument.cxx.
References dbaccess::DocumentGuard::DefaultMethod, and impl_storeToStorage_throw().
|
overridevirtual |
Definition at line 1247 of file databasedocument.cxx.
References aArguments, Any, dbaccess::DocumentGuard::clear(), dbaccess::DocumentGuard::DefaultMethod, Exception, impl_GetStorageOrCreateFor_throw(), impl_storeToStorage_throw(), impl_throwIOExceptionCausedBySave_throw(), m_aEventNotifier, dbaccess::DocumentEventNotifier::notifyDocumentEvent(), dbaccess::DocumentEventNotifier::notifyDocumentEventAsync(), and dbaccess::DocumentGuard::reset().
|
overridevirtual |
Definition at line 1895 of file databasedocument.cxx.
References cppu::supportsService().
|
overridevirtual |
Definition at line 1950 of file databasedocument.cxx.
References dbaccess::DocumentGuard::clear(), dbaccess::DocumentGuard::DefaultMethod, impl_notifyStorageChange_nolck_nothrow(), and dbaccess::ModelDependentComponent::m_pImpl.
|
overridevirtual |
Definition at line 888 of file databasedocument.cxx.
References dbaccess::DocumentGuard::DefaultMethod, and dbaccess::ModelDependentComponent::m_pImpl.
|
overridevirtual |
Definition at line 584 of file databasedocument.cxx.
References DBG_UNHANDLED_EXCEPTION, dbaccess::DocumentGuard::DefaultMethod, Exception, isModified(), and m_aControllers.
|
private |
write a single output stream (to be called either directly or by WriteThroughComponent(...))
|
private |
write a single XML stream into the package
pStreamName | the component we export |
pServiceName | the stream name |
rArguments | service name of the component |
rMediaDesc | the argument (XInitialization) |
_xStorageToSaveTo | output descriptor |
Referenced by impl_writeStorage_throw().
|
private |
Definition at line 173 of file databasedocument.hxx.
Referenced by addCloseListener(), close(), disposing(), and removeCloseListener().
|
private |
Definition at line 181 of file databasedocument.hxx.
Referenced by connectController(), disconnectController(), disposing(), getControllers(), getCurrentController(), impl_closeControllerFrames_nolck_throw(), impl_disposeControllerFrames_nothrow(), storeToRecoveryFile(), and wasModifiedSinceLastSave().
|
private |
Definition at line 178 of file databasedocument.hxx.
Referenced by addDocumentEventListener(), close(), connectController(), disconnectController(), disposing(), impl_attachResource(), impl_setInitialized(), impl_setModified_nothrow(), impl_storeAs_throw(), initNew(), notifyDocumentEvent(), removeDocumentEventListener(), setTitle(), storeAsURL(), and storeToURL().
|
private |
Definition at line 172 of file databasedocument.hxx.
Referenced by addModifyListener(), disposing(), impl_setModified_nothrow(), and removeModifyListener().
|
private |
Definition at line 191 of file databasedocument.hxx.
Referenced by impl_getUntitledHelper_throw().
|
private |
Definition at line 174 of file databasedocument.hxx.
Referenced by addStorageChangeListener(), disposing(), impl_notifyStorageChange_nolck_nothrow(), and removeStorageChangeListener().
|
private |
Definition at line 182 of file databasedocument.hxx.
Referenced by connectController(), disposing(), load(), ODatabaseDocument(), and setCurrentController().
|
private |
Definition at line 198 of file databasedocument.hxx.
Referenced by getScriptProvider(), getTypes(), impl_attachResource(), initNew(), queryInterface(), and storeAsURL().
|
private |
Definition at line 197 of file databasedocument.hxx.
Referenced by close(), and disconnectController().
|
private |
If XModel::attachResource() was called to inform us that the document is embedded into another one.
Definition at line 201 of file databasedocument.hxx.
Referenced by attachResource(), load(), and loadFromStorage().
|
private |
Definition at line 199 of file databasedocument.hxx.
Referenced by recoverFromFile(), and setCurrentController().
|
private |
true if and only if the DatabaseDocument's "initNew" or "load" have been called (or, well, the document has be initialized implicitly - see storeAsURL
Definition at line 196 of file databasedocument.hxx.
Referenced by impl_isInitialized(), impl_isInitializing(), impl_reset_nothrow(), impl_setInitialized(), and impl_setInitializing().
|
private |
Definition at line 176 of file databasedocument.hxx.
Referenced by getEvents().
|
private |
Definition at line 177 of file databasedocument.hxx.
Referenced by ODatabaseDocument().
|
private |
Definition at line 180 of file databasedocument.hxx.
Referenced by disconnectController(), getCurrentController(), and setCurrentController().
|
private |
Definition at line 184 of file databasedocument.hxx.
Referenced by disposing(), impl_getDocumentContainer_throw(), impl_reset_nothrow(), impl_storeAs_throw(), and ODatabaseDocument().
|
private |
such module manager is used to classify new opened documents.
Definition at line 189 of file databasedocument.hxx.
Referenced by disposing(), and impl_getUntitledHelper_throw().
|
private |
Definition at line 185 of file databasedocument.hxx.
Referenced by disposing(), impl_getDocumentContainer_throw(), impl_reset_nothrow(), impl_storeAs_throw(), and ODatabaseDocument().
|
private |
Definition at line 186 of file databasedocument.hxx.
Referenced by getScriptProvider().
|
private |
Definition at line 190 of file databasedocument.hxx.
Referenced by disposing(), and impl_getTitleHelper_throw().
|
private |
Definition at line 170 of file databasedocument.hxx.
Referenced by disposing(), and getUIConfigurationManager2().