24#include <com/sun/star/sdb/application/XDatabaseDocumentUI.hpp>
25#include <com/sun/star/embed/XStorage.hpp>
26#include <com/sun/star/uno/XComponentContext.hpp>
37 const css::uno::Reference< css::uno::XComponentContext >& i_rContext,
38 const css::uno::Reference< css::sdb::application::XDatabaseDocumentUI >& i_rController,
39 css::uno::Reference< css::lang::XComponent > i_xComponent )
50 const css::uno::Reference< css::uno::XComponentContext >& i_rContext,
51 const css::uno::Reference< css::sdb::application::XDatabaseDocumentUI >& i_rController,
63 const css::uno::Reference< css::embed::XStorage >& i_rRecoveryStorage,
68 css::uno::Reference< css::lang::XComponent >
70 const css::uno::Reference< css::embed::XStorage >& i_rRecoveryStorage,
71 const OUString& i_rComponentName,
72 const bool i_bForEditing
79 const css::uno::Reference< css::embed::XStorage >& i_rObjectStorage
83 const css::uno::Reference< css::embed::XStorage >& i_rObjectStorage
86 css::uno::Reference< css::lang::XComponent >
88 const css::uno::Reference< css::embed::XStorage >& i_rRecoveryStorage,
89 const OUString& i_rComponentName,
90 const bool i_bForEditing
93 css::uno::Reference< css::lang::XComponent >
95 const css::uno::Reference< css::embed::XStorage >& i_rRecoveryStorage,
96 const OUString& i_rComponentName,
97 const bool i_bForEditing
103 const css::uno::Reference< css::uno::XComponentContext >&
105 css::uno::Reference< css::sdb::application::XDatabaseDocumentUI >
107 const css::uno::Reference< css::lang::XComponent >
void impl_saveSubDocument_throw(const css::uno::Reference< css::embed::XStorage > &i_rObjectStorage)
css::uno::Reference< css::lang::XComponent > impl_recoverQueryDesign_throw(const css::uno::Reference< css::embed::XStorage > &i_rRecoveryStorage, const OUString &i_rComponentName, const bool i_bForEditing)
const css::uno::Reference< css::uno::XComponentContext > & m_rContext
css::uno::Reference< css::lang::XComponent > recoverFromStorage(const css::uno::Reference< css::embed::XStorage > &i_rRecoveryStorage, const OUString &i_rComponentName, const bool i_bForEditing)
SubComponentRecovery(const css::uno::Reference< css::uno::XComponentContext > &i_rContext, const css::uno::Reference< css::sdb::application::XDatabaseDocumentUI > &i_rController, css::uno::Reference< css::lang::XComponent > i_xComponent)
css::uno::Reference< css::lang::XComponent > impl_recoverSubDocument_throw(const css::uno::Reference< css::embed::XStorage > &i_rRecoveryStorage, const OUString &i_rComponentName, const bool i_bForEditing)
const css::uno::Reference< css::lang::XComponent > m_xComponent
static OUString getComponentsStorageName(const SubComponentType i_eType)
void saveToRecoveryStorage(const css::uno::Reference< css::embed::XStorage > &i_rRecoveryStorage, MapCompTypeToCompDescs &io_mapCompDescs)
SubComponentRecovery(const css::uno::Reference< css::uno::XComponentContext > &i_rContext, const css::uno::Reference< css::sdb::application::XDatabaseDocumentUI > &i_rController, const SubComponentType i_eType)
void impl_identifyComponent_throw()
css::uno::Reference< css::sdb::application::XDatabaseDocumentUI > m_xDocumentUI
void impl_saveQueryDesign_throw(const css::uno::Reference< css::embed::XStorage > &i_rObjectStorage)
SubComponentDescriptor m_aCompDesc
std::map< SubComponentType, MapStringToCompDesc > MapCompTypeToCompDescs