LibreOffice Module dbaccess (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
dbaui::OLinkedDocumentsAccess Class Referencefinal

#include <linkeddocuments.hxx>

Collaboration diagram for dbaui::OLinkedDocumentsAccess:
[legend]

Public Member Functions

 OLinkedDocumentsAccess (weld::Window *pDialogParent, const css::uno::Reference< css::sdb::application::XDatabaseDocumentUI > &i_rDocumentUI, const css::uno::Reference< css::uno::XComponentContext > &_rxContext, const css::uno::Reference< css::container::XNameAccess > &_rxContainer, const css::uno::Reference< css::sdbc::XConnection > &_xConnection, OUString _sDataSourceName)
 
 ~OLinkedDocumentsAccess ()
 
bool isConnected () const
 
css::uno::Reference< css::lang::XComponent > open (const OUString &_rLinkName, css::uno::Reference< css::lang::XComponent > &_xDefinition, ElementOpenMode _eOpenMode, const ::comphelper::NamedValueCollection &_rAdditionalArgs)
 
css::uno::Reference< css::lang::XComponent > newDocument (sal_Int32 i_nActionID, const ::comphelper::NamedValueCollection &i_rCreationArgs, css::uno::Reference< css::lang::XComponent > &o_rDefinition)
 
void newFormWithPilot (const sal_Int32 _nCommandType, const OUString &_rObjectName)
 
void newReportWithPilot (const sal_Int32 _nCommandType, const OUString &_rObjectName)
 
void newQueryWithPilot ()
 
void newTableWithPilot ()
 

Private Member Functions

css::uno::Reference< css::lang::XComponent > impl_open (const OUString &_rLinkName, css::uno::Reference< css::lang::XComponent > &_xDefinition, ElementOpenMode _eOpenMode, const ::comphelper::NamedValueCollection &_rAdditionalArgs)
 
void impl_newWithPilot (const char *_pWizardService, const sal_Int32 _nCommandType, const OUString &_rObjectName)
 

Private Attributes

css::uno::Reference< css::uno::XComponentContext > m_xContext
 
css::uno::Reference< css::container::XNameAccess > m_xDocumentContainer
 
css::uno::Reference< css::sdbc::XConnection > m_xConnection
 
css::uno::Reference< css::sdb::application::XDatabaseDocumentUI > m_xDocumentUI
 
weld::Windowm_pDialogParent
 
OUString m_sDataSourceName
 

Detailed Description

Definition at line 36 of file linkeddocuments.hxx.

Constructor & Destructor Documentation

◆ OLinkedDocumentsAccess()

dbaui::OLinkedDocumentsAccess::OLinkedDocumentsAccess ( weld::Window pDialogParent,
const css::uno::Reference< css::sdb::application::XDatabaseDocumentUI > &  i_rDocumentUI,
const css::uno::Reference< css::uno::XComponentContext > &  _rxContext,
const css::uno::Reference< css::container::XNameAccess > &  _rxContainer,
const css::uno::Reference< css::sdbc::XConnection > &  _xConnection,
OUString  _sDataSourceName 
)

Definition at line 90 of file linkeddocuments.cxx.

References m_pDialogParent, and m_xContext.

◆ ~OLinkedDocumentsAccess()

dbaui::OLinkedDocumentsAccess::~OLinkedDocumentsAccess ( )

Definition at line 103 of file linkeddocuments.cxx.

Member Function Documentation

◆ impl_newWithPilot()

void dbaui::OLinkedDocumentsAccess::impl_newWithPilot ( const char *  _pWizardService,
const sal_Int32  _nCommandType,
const OUString &  _rObjectName 
)
private

◆ impl_open()

Reference< XComponent > dbaui::OLinkedDocumentsAccess::impl_open ( const OUString &  _rLinkName,
css::uno::Reference< css::lang::XComponent > &  _xDefinition,
ElementOpenMode  _eOpenMode,
const ::comphelper::NamedValueCollection _rAdditionalArgs 
)
private

◆ isConnected()

bool dbaui::OLinkedDocumentsAccess::isConnected ( ) const
inline

Definition at line 60 of file linkeddocuments.hxx.

References m_xConnection.

◆ newDocument()

Reference< XComponent > dbaui::OLinkedDocumentsAccess::newDocument ( sal_Int32  i_nActionID,
const ::comphelper::NamedValueCollection i_rCreationArgs,
css::uno::Reference< css::lang::XComponent > &  o_rDefinition 
)

◆ newFormWithPilot()

void dbaui::OLinkedDocumentsAccess::newFormWithPilot ( const sal_Int32  _nCommandType,
const OUString &  _rObjectName 
)

Definition at line 190 of file linkeddocuments.cxx.

References impl_newWithPilot().

◆ newQueryWithPilot()

void dbaui::OLinkedDocumentsAccess::newQueryWithPilot ( )

Definition at line 203 of file linkeddocuments.cxx.

References impl_newWithPilot().

◆ newReportWithPilot()

void dbaui::OLinkedDocumentsAccess::newReportWithPilot ( const sal_Int32  _nCommandType,
const OUString &  _rObjectName 
)

Definition at line 195 of file linkeddocuments.cxx.

References impl_newWithPilot().

◆ newTableWithPilot()

void dbaui::OLinkedDocumentsAccess::newTableWithPilot ( )

Definition at line 199 of file linkeddocuments.cxx.

References impl_newWithPilot().

◆ open()

Reference< XComponent > dbaui::OLinkedDocumentsAccess::open ( const OUString &  _rLinkName,
css::uno::Reference< css::lang::XComponent > &  _xDefinition,
ElementOpenMode  _eOpenMode,
const ::comphelper::NamedValueCollection _rAdditionalArgs 
)

Member Data Documentation

◆ m_pDialogParent

weld::Window* dbaui::OLinkedDocumentsAccess::m_pDialogParent
private

◆ m_sDataSourceName

OUString dbaui::OLinkedDocumentsAccess::m_sDataSourceName
private

Definition at line 47 of file linkeddocuments.hxx.

Referenced by impl_newWithPilot().

◆ m_xConnection

css::uno::Reference< css::sdbc::XConnection> dbaui::OLinkedDocumentsAccess::m_xConnection
private

Definition at line 43 of file linkeddocuments.hxx.

Referenced by impl_newWithPilot(), impl_open(), isConnected(), and newDocument().

◆ m_xContext

css::uno::Reference< css::uno::XComponentContext > dbaui::OLinkedDocumentsAccess::m_xContext
private

Definition at line 39 of file linkeddocuments.hxx.

Referenced by impl_newWithPilot(), OLinkedDocumentsAccess(), and open().

◆ m_xDocumentContainer

css::uno::Reference< css::container::XNameAccess > dbaui::OLinkedDocumentsAccess::m_xDocumentContainer
private

Definition at line 41 of file linkeddocuments.hxx.

Referenced by impl_open(), and newDocument().

◆ m_xDocumentUI

css::uno::Reference< css::sdb::application::XDatabaseDocumentUI > dbaui::OLinkedDocumentsAccess::m_xDocumentUI
private

Definition at line 45 of file linkeddocuments.hxx.

Referenced by impl_newWithPilot().


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