Tag: cws_src680_odbmacros2
User: fs      
Date: 2007-12-13 11:19:39+0000
Modified:
   dba/dbaccess/inc/singledoccontroller.hxx

Log:
 #i49133# +getAssociatedModel

File Changes:

Directory: /dba/dbaccess/inc/
=============================

File [changed]: singledoccontroller.hxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/inc/singledoccontroller.hxx?r1=1.2&r2=1.2.98.1
Delta lines:  +13 -9
--------------------
--- singledoccontroller.hxx     2007-07-06 07:50:28+0000        1.2
+++ singledoccontroller.hxx     2007-12-13 11:19:36+0000        1.2.98.1
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: singledoccontroller.hxx,v $
  *
- *  $Revision: 1.2 $
+ *  $Revision: 1.2.98.1 $
  *
- *  last change: $Author: rt $ $Date: 2007/07/06 07:50:28 $
+ *  last change: $Author: fs $ $Date: 2007/12/13 11:19:36 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -137,15 +137,18 @@
 
                ::com::sun::star::uno::Reference< 
::com::sun::star::sdbc::XDatabaseMetaData >
                                        getMetaData( ) const;
+
                // 
----------------------------------------------------------------
-               // access to the data source
+               // access to the data source / document
                ::rtl::OUString getDataSourceName() const;
                const ::com::sun::star::uno::Reference< 
::com::sun::star::beans::XPropertySet >&
                                        getDataSource() const;
                sal_Bool        haveDataSource() const;
 
+        ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel >
+                    getDatabaseDocument() const;
 
-        /** provides to the SDB-level database meta data of the current 
connection
+        /** provides access to the SDB-level database meta data of the current 
connection
         */
         const ::dbtools::DatabaseMetaData& getSdbMetaData() const;
 
@@ -166,8 +169,8 @@
                */
                virtual void getError(::com::sun::star::sdbc::SQLException& 
_rException ) const;
 
-               /** @retrun
-                       returns <TRUE/> when an error was set otherwise <FALSE/>
+               /** @return
+                           <TRUE/> when an error was set otherwise <FALSE/>
                */
                virtual sal_Bool hasError() const;
 
@@ -188,8 +191,9 @@
 
                // ::com::sun::star::frame::XController
                virtual sal_Bool SAL_CALL suspend(sal_Bool bSuspend) throw( 
::com::sun::star::uno::RuntimeException );
-               virtual sal_Bool SAL_CALL attachModel(const 
::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel > & xModel) 
throw( ::com::sun::star::uno::RuntimeException );
-               virtual ::com::sun::star::uno::Reference< 
::com::sun::star::frame::XModel >  SAL_CALL getModel(void) throw( 
::com::sun::star::uno::RuntimeException );
+
+        // IController overridables
+               virtual ::com::sun::star::uno::Reference< 
::com::sun::star::frame::XModel > getAssociatedModel() const;
 
        protected:
                OSingleDocumentController(const 
::com::sun::star::uno::Reference< 
::com::sun::star::lang::XMultiServiceFactory>& _rxORB);




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to