new ex- import data
This commit is contained in:
parent
711e7188f8
commit
e1adc57bba
4 changed files with 61 additions and 9 deletions
|
@ -2,9 +2,9 @@
|
|||
*
|
||||
* $RCSfile: browserids.hxx,v $
|
||||
*
|
||||
* $Revision: 1.4 $
|
||||
* $Revision: 1.5 $
|
||||
*
|
||||
* last change: $Author: oj $ $Date: 2001-02-12 16:04:14 $
|
||||
* last change: $Author: oj $ $Date: 2001-02-16 15:54:53 $
|
||||
*
|
||||
* The Contents of this file are made available subject to the terms of
|
||||
* either of the following licenses
|
||||
|
@ -110,6 +110,9 @@
|
|||
#define ID_TREE_TABLE_CREATE_DESIGN 8
|
||||
#define ID_TREE_TABLE_EDIT 9
|
||||
#define ID_TREE_TABLE_DELETE 10
|
||||
#define ID_TREE_TABLE_COPY 11
|
||||
#define ID_TREE_QUERY_COPY 12
|
||||
#define ID_TREE_TABLE_PASTE 13
|
||||
|
||||
#define ID_BROWSER_QUERY_EXECUTE SID_FM_EXECUTE
|
||||
#define ID_BROWSER_CLEAR_QUERY (SID_SBA_START+130)
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
*
|
||||
* $RCSfile: dbexchange.hxx,v $
|
||||
*
|
||||
* $Revision: 1.1 $
|
||||
* $Revision: 1.2 $
|
||||
*
|
||||
* last change: $Author: oj $ $Date: 2001-02-06 10:05:25 $
|
||||
* last change: $Author: oj $ $Date: 2001-02-16 15:54:53 $
|
||||
*
|
||||
* The Contents of this file are made available subject to the terms of
|
||||
* either of the following licenses
|
||||
|
@ -64,6 +64,15 @@
|
|||
#ifndef _DTRANS_HXX //autogen
|
||||
#include <so3/dtrans.hxx>
|
||||
#endif
|
||||
#ifndef _TRANSFER_HXX
|
||||
#include <svtools/transfer.hxx>
|
||||
#endif
|
||||
#ifndef DBAUI_TOKENWRITER_HXX
|
||||
#include "TokenWriter.hxx"
|
||||
#endif
|
||||
#ifndef _COM_SUN_STAR_BEANS_PROPERTYVALUE_HPP_
|
||||
#include <com/sun/star/beans/PropertyValue.hpp>
|
||||
#endif
|
||||
|
||||
namespace dbaui
|
||||
{
|
||||
|
@ -96,7 +105,38 @@ namespace dbaui
|
|||
};
|
||||
|
||||
SV_DECL_IMPL_REF( ODataExchange );
|
||||
|
||||
class OHTMLImportExport;
|
||||
class ORTFImportExport;
|
||||
class ODataClipboard : public TransferableHelper
|
||||
{
|
||||
::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue > m_aSeq;
|
||||
::std::auto_ptr<OHTMLImportExport> m_pHtml;
|
||||
::std::auto_ptr<ORTFImportExport> m_pRtf;
|
||||
public:
|
||||
ODataClipboard(::std::auto_ptr<OHTMLImportExport> _pHtml,::std::auto_ptr<ORTFImportExport> _pRtf)
|
||||
:m_pHtml(_pHtml)
|
||||
,m_pRtf(_pRtf)
|
||||
{}
|
||||
ODataClipboard(const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& _aSeq)
|
||||
:m_aSeq(_aSeq)
|
||||
,m_pHtml(NULL)
|
||||
,m_pRtf(NULL)
|
||||
{
|
||||
}
|
||||
protected:
|
||||
virtual void AddSupportedFormats();
|
||||
virtual sal_Bool GetData( const ::com::sun::star::datatransfer::DataFlavor& rFlavor );
|
||||
virtual void ObjectReleased();
|
||||
virtual sal_Bool WriteObject( SotStorageStreamRef& rxOStm, void* pUserObject, sal_uInt32 nUserObjectId, const ::com::sun::star::datatransfer::DataFlavor& rFlavor );
|
||||
};
|
||||
}
|
||||
|
||||
#endif //
|
||||
#endif // DBAUI_DBEXCHANGE_HXX
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
*
|
||||
* $RCSfile: dbu_resource.hrc,v $
|
||||
*
|
||||
* $Revision: 1.24 $
|
||||
* $Revision: 1.25 $
|
||||
*
|
||||
* last change: $Author: oj $ $Date: 2001-02-14 14:39:23 $
|
||||
* last change: $Author: oj $ $Date: 2001-02-16 15:54:53 $
|
||||
*
|
||||
* The Contents of this file are made available subject to the terms of
|
||||
* either of the following licenses
|
||||
|
@ -314,6 +314,10 @@
|
|||
#define STR_SVT_SQL_SYNTAX_CRIT_NO_COMPARE RID_STRING_START + 103
|
||||
#define STR_TBL_COLUMN_IS_KEYCOLUMN RID_STRING_START + 104
|
||||
#define STR_TBL_COLUMN_IS_KEYCOLUMN_TITLE RID_STRING_START + 105
|
||||
#define STR_COLUMN_NAME RID_STRING_START + 106
|
||||
#define STR_QRY_CONTINUE RID_STRING_START + 107
|
||||
#define STR_STAT_WARNING RID_STRING_START + 108
|
||||
|
||||
//========================================================================
|
||||
// untyped resources
|
||||
|
||||
|
@ -326,6 +330,9 @@
|
|||
/*************************************************************************
|
||||
* history:
|
||||
* $Log: not supported by cvs2svn $
|
||||
* Revision 1.24 2001/02/14 14:39:23 oj
|
||||
* some changes
|
||||
*
|
||||
* Revision 1.23 2001/02/06 08:07:55 oj
|
||||
* new querybox
|
||||
*
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
*
|
||||
* $RCSfile: unodatbr.hxx,v $
|
||||
*
|
||||
* $Revision: 1.11 $
|
||||
* $Revision: 1.12 $
|
||||
*
|
||||
* last change: $Author: fs $ $Date: 2001-01-26 14:13:56 $
|
||||
* last change: $Author: oj $ $Date: 2001-02-16 15:54:53 $
|
||||
*
|
||||
* The Contents of this file are made available subject to the terms of
|
||||
* either of the following licenses
|
||||
|
@ -223,6 +223,8 @@ namespace dbaui
|
|||
this container entry
|
||||
*/
|
||||
SvLBoxEntry* getNameAccessFromEntry(const ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess>& _rxNameAccess);
|
||||
// return true when there is connection available
|
||||
sal_Bool secureConnection(SvLBoxEntry* _pDSEntry,void * pDSData,::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection>& _xConnection);
|
||||
|
||||
// is called when a table or a query was selected
|
||||
DECL_LINK( OnSelectEntry, SvLBoxEntry* );
|
||||
|
|
Loading…
Reference in a new issue