LibreOffice Module extensions (master) 1
Classes | Namespaces | Functions
datasourcehandling.cxx File Reference
#include <strings.hrc>
#include "abptypes.hxx"
#include <componentmodule.hxx>
#include "datasourcehandling.hxx"
#include "addresssettings.hxx"
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/container/XNameAccess.hpp>
#include <com/sun/star/frame/XModel.hpp>
#include <com/sun/star/frame/XStorable.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/sdb/DatabaseContext.hpp>
#include <com/sun/star/sdb/SQLContext.hpp>
#include <com/sun/star/sdb/XCompletedConnection.hpp>
#include <com/sun/star/sdb/XDatabaseRegistrations.hpp>
#include <com/sun/star/sdb/XDocumentDataSource.hpp>
#include <com/sun/star/sdbc/XConnection.hpp>
#include <com/sun/star/sdbcx/XTablesSupplier.hpp>
#include <com/sun/star/task/InteractionHandler.hpp>
#include <com/sun/star/uri/UriReferenceFactory.hpp>
#include <com/sun/star/uri/VndSunStarPkgUrlReferenceFactory.hpp>
#include <comphelper/interaction.hxx>
#include <comphelper/processfactory.hxx>
#include <tools/debug.hxx>
#include <comphelper/diagnose_ex.hxx>
#include <unotools/sharedunocomponent.hxx>
#include <vcl/stdtext.hxx>
#include <vcl/weld.hxx>
#include <sfx2/objsh.hxx>
#include <sfx2/docfile.hxx>
#include <sfx2/viewfrm.hxx>
#include <comphelper/propertysequence.hxx>
Include dependency graph for datasourcehandling.cxx:

Go to the source code of this file.

Classes

struct  abp::ODataSourceContextImpl
 
struct  abp::ODataSourceImpl
 

Namespaces

namespace  abp
 

Functions

static Reference< XDatabaseContext > abp::lcl_getDataSourceContext (const Reference< XComponentContext > &_rxContext)
 
static void abp::lcl_implCreateAndInsert (const Reference< XComponentContext > &_rxContext, const OUString &_rName, Reference< XPropertySet > &_rxNewDataSource)
 creates a new data source and inserts it into the context More...
 
static ODataSource abp::lcl_implCreateAndSetURL (const Reference< XComponentContext > &_rxORB, const OUString &_rName, const char *_pInitialAsciiURL)
 creates and inserts a data source, and sets its URL property to the string given More...
 
static void abp::lcl_registerDataSource (const Reference< XComponentContext > &_rxORB, const OUString &_sName, const OUString &_sURL)