#104698# impl new ctor
This commit is contained in:
parent
2f8a6fdf64
commit
53de7b09c5
2 changed files with 30 additions and 4 deletions
|
@ -2,9 +2,9 @@
|
|||
*
|
||||
* $RCSfile: dbexchange.cxx,v $
|
||||
*
|
||||
* $Revision: 1.18 $
|
||||
* $Revision: 1.19 $
|
||||
*
|
||||
* last change: $Author: oj $ $Date: 2002-03-21 07:21:24 $
|
||||
* last change: $Author: oj $ $Date: 2002-11-05 08:32:13 $
|
||||
*
|
||||
* The Contents of this file are made available subject to the terms of
|
||||
* either of the following licenses
|
||||
|
@ -118,6 +118,24 @@ namespace dbaui
|
|||
m_xRtf = m_pRtf;
|
||||
}
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
ODataClipboard::ODataClipboard(
|
||||
const ::rtl::OUString& _rDatasource,
|
||||
const sal_Int32 _nCommandType,
|
||||
const ::rtl::OUString& _rCommand,
|
||||
const Reference< XNumberFormatter >& _rxFormatter,
|
||||
const Reference< XMultiServiceFactory >& _rxORB)
|
||||
:ODataAccessObjectTransferable( _rDatasource, _nCommandType, _rCommand)
|
||||
,m_pHtml(NULL)
|
||||
,m_pRtf(NULL)
|
||||
{
|
||||
m_pHtml = new OHTMLImportExport(getDescriptor(), _rxORB, _rxFormatter);
|
||||
m_xHtml = m_pHtml;
|
||||
|
||||
m_pRtf = new ORTFImportExport(getDescriptor(), _rxORB, _rxFormatter);
|
||||
m_xRtf = m_pRtf;
|
||||
}
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
ODataClipboard::ODataClipboard( const Reference< XPropertySet >& _rxLivingForm,
|
||||
const Sequence< Any >& _rSelectedRows,
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
*
|
||||
* $RCSfile: dbexchange.hxx,v $
|
||||
*
|
||||
* $Revision: 1.8 $
|
||||
* $Revision: 1.9 $
|
||||
*
|
||||
* last change: $Author: oj $ $Date: 2002-03-21 07:21:51 $
|
||||
* last change: $Author: oj $ $Date: 2002-11-05 08:34:33 $
|
||||
*
|
||||
* The Contents of this file are made available subject to the terms of
|
||||
* either of the following licenses
|
||||
|
@ -105,6 +105,14 @@ namespace dbaui
|
|||
const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& _rxORB
|
||||
);
|
||||
|
||||
ODataClipboard(
|
||||
const ::rtl::OUString& _rDatasource,
|
||||
const sal_Int32 _nCommandType,
|
||||
const ::rtl::OUString& _rCommand,
|
||||
const ::com::sun::star::uno::Reference< ::com::sun::star::util::XNumberFormatter >& _rxFormatter,
|
||||
const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& _rxORB
|
||||
);
|
||||
|
||||
/** with this ctor, only the object descriptor format will be provided
|
||||
*/
|
||||
ODataClipboard(
|
||||
|
|
Loading…
Reference in a new issue