Kaydet (Commit) c5d24ba9 authored tarafından Vladimir Glazounov's avatar Vladimir Glazounov

INTEGRATION: CWS dba24 (1.26.4); FILE MERGED

2005/02/18 12:42:25 oj 1.26.4.1: #i42460# changes for the separation of datasource and database document(model)
üst 748dfee3
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: UITools.hxx,v $ * $RCSfile: UITools.hxx,v $
* *
* $Revision: 1.26 $ * $Revision: 1.27 $
* *
* last change: $Author: kz $ $Date: 2005-01-21 17:17:28 $ * last change: $Author: vg $ $Date: 2005-03-10 16:50:45 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -236,8 +236,8 @@ namespace dbaui ...@@ -236,8 +236,8 @@ namespace dbaui
@param _bDisplayError @param _bDisplayError
determines whether the method should display an error, when it happens, or simply absorb it determines whether the method should display an error, when it happens, or simply absorb it
*/ */
::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel > ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XDataSource >
getDataSourceByName_displayError( getDataSourceByName_displayError(
const ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess >& _rxDBContext, const ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess >& _rxDBContext,
const ::rtl::OUString& _rDataSourceName, const ::rtl::OUString& _rDataSourceName,
Window* _pErrorMessageParent, Window* _pErrorMessageParent,
...@@ -245,6 +245,12 @@ namespace dbaui ...@@ -245,6 +245,12 @@ namespace dbaui
bool _bDisplayError bool _bDisplayError
); );
/** returns either the model when data source is given as parameter,
or returns a data source when a model is given.
@param _xObject Either a data source or a model.
*/
::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > getDataSourceOrModel(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& _xObject);
/** maps com::sun::star::awt::TextAlign to SvxCellHorJustify /** maps com::sun::star::awt::TextAlign to SvxCellHorJustify
@param com::sun::star::awt::TextAlign& _nAlignment @param com::sun::star::awt::TextAlign& _nAlignment
@return the corresponding SvxCellHorJustify @return the corresponding SvxCellHorJustify
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment