diff options
Diffstat (limited to 'dbaccess/source/ui/inc/WTypeSelect.hxx')
-rw-r--r-- | dbaccess/source/ui/inc/WTypeSelect.hxx | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/dbaccess/source/ui/inc/WTypeSelect.hxx b/dbaccess/source/ui/inc/WTypeSelect.hxx index 53ea48261f00..aa9d1239b3d2 100644 --- a/dbaccess/source/ui/inc/WTypeSelect.hxx +++ b/dbaccess/source/ui/inc/WTypeSelect.hxx @@ -2,9 +2,9 @@ * * $RCSfile: WTypeSelect.hxx,v $ * - * $Revision: 1.9 $ + * $Revision: 1.10 $ * - * last change: $Author: oj $ $Date: 2002-09-26 10:49:04 $ + * last change: $Author: hr $ $Date: 2003-03-19 17:52:37 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -102,10 +102,10 @@ namespace dbaui virtual ::com::sun::star::lang::Locale GetLocale() const; virtual ::com::sun::star::uno::Reference< ::com::sun::star::util::XNumberFormatter > GetFormatter() const; - virtual const OTypeInfo* getTypeInfo(sal_Int32 _nPos); + virtual TOTypeInfoSP getTypeInfo(sal_Int32 _nPos); virtual const OTypeInfoMap* getTypeInfo() const; - virtual sal_Bool isAutoIncrementValueEnabled() const; - virtual ::rtl::OUString getAutoIncrementValue() const; + virtual sal_Bool isAutoIncrementValueEnabled() const; + virtual ::rtl::OUString getAutoIncrementValue() const; public: OWizTypeSelectControl(Window* pParent, OTableDesignHelpBar* pHelpBar=NULL); @@ -160,6 +160,7 @@ namespace dbaui Image m_imgPKey; SvStream* m_pParserStream; // stream to read the tokens from or NULL ::rtl::OUString m_sAutoIncrementValue; + sal_Int32 m_nDisplayRow; sal_Bool m_bAutoIncrementEnabled; void fillColumnList(sal_uInt32 nRows); @@ -176,6 +177,8 @@ namespace dbaui OWizTypeSelect(Window* pParent,SvStream* _pStream = NULL); virtual ~OWizTypeSelect(); + inline void setDisplayRow(sal_Int32 _nRow) { m_nDisplayRow = _nRow - 1; } + }; } #endif // DBAUI_WIZ_TYPESELECT_HXX |