summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/inc/DExport.hxx
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2006-05-04 07:42:41 +0000
committerRüdiger Timm <rt@openoffice.org>2006-05-04 07:42:41 +0000
commit079d348c0324667e6c37856026821f0aba986831 (patch)
tree23491867807c346ce07c4ebd626a3338cf123bf4 /dbaccess/source/ui/inc/DExport.hxx
parentd5567384cf57fb404a7b9a5545e58b86795cc9da (diff)
INTEGRATION: CWS dba203c (1.14.52); FILE MERGED
2006/04/24 13:42:31 oj 1.14.52.2: RESYNC: (1.14-1.15); FILE MERGED 2006/04/13 13:55:55 oj 1.14.52.1: #i62797# format regconition corrected
Diffstat (limited to 'dbaccess/source/ui/inc/DExport.hxx')
-rw-r--r--dbaccess/source/ui/inc/DExport.hxx17
1 files changed, 13 insertions, 4 deletions
diff --git a/dbaccess/source/ui/inc/DExport.hxx b/dbaccess/source/ui/inc/DExport.hxx
index 444540a4552f..88d5678823bf 100644
--- a/dbaccess/source/ui/inc/DExport.hxx
+++ b/dbaccess/source/ui/inc/DExport.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: DExport.hxx,v $
*
- * $Revision: 1.15 $
+ * $Revision: 1.16 $
*
- * last change: $Author: hr $ $Date: 2006-04-19 13:20:32 $
+ * last change: $Author: rt $ $Date: 2006-05-04 08:42:41 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -87,6 +87,7 @@ namespace com { namespace sun { namespace star {
}}}
class Window;
+class SvNumberFormatter;
namespace dbaui
{
class OFieldDescription;
@@ -119,7 +120,11 @@ namespace dbaui
::com::sun::star::uno::Reference< ::com::sun::star::util::XNumberFormatter > m_xFormatter; // a number formatter working with the connection's NumberFormatsSupplier
::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory> m_xFactory;
+ SvNumberFormatter* m_pFormatter;
+
String m_sTextToken; // Zellen Inhalt
+ String m_sNumToken; /// SDNUM value
+ String m_sValToken; /// SDVAL value
TOTypeInfoSP m_pTypeInfo; // contains the default type
const TColumnVector* m_pColumnList;
const OTypeInfoMap* m_pInfoMap;
@@ -143,9 +148,12 @@ namespace dbaui
virtual OWizTypeSelect* createPage(Window* _pParent) = 0;
void CreateDefaultColumn(const ::rtl::OUString& _rColumnName);
sal_Int32 CheckString(const String& aToken, sal_Int32 _nOldFormat);
+ void adjustFormat();
+ void eraseTokens();
void insertValueIntoColumn();
sal_Bool createRowSet();
void showErrorDialog(const ::com::sun::star::sdbc::SQLException& e);
+ void ensureFormatter();
/** executeWizard calls a wizard to create/append data
@param _sTableName the tablename
@@ -170,8 +178,9 @@ namespace dbaui
const TPositions& _rColumnPositions,
const ::com::sun::star::uno::Reference< ::com::sun::star::util::XNumberFormatter >& _rxNumberF,
const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& _rM,
- const TColumnVector* rList = 0,
- const OTypeInfoMap* _pInfoMap = 0);
+ const TColumnVector* rList,
+ const OTypeInfoMap* _pInfoMap,
+ sal_Bool _bAutoIncrementEnabled);
void SetColumnTypes(const TColumnVector* rList,const OTypeInfoMap* _pInfoMap);
virtual void release() = 0;