#99407# new typedef inserted

This commit is contained in:
Ocke Janssen 2002-05-23 10:10:43 +00:00
parent ac86b75d24
commit b72f569236
4 changed files with 16 additions and 17 deletions

View file

@ -2,9 +2,9 @@
*
* $RCSfile: DExport.hxx,v $
*
* $Revision: 1.7 $
* $Revision: 1.8 $
*
* last change: $Author: oj $ $Date: 2002-03-21 07:21:51 $
* last change: $Author: oj $ $Date: 2002-05-23 11:07:09 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@ -94,9 +94,7 @@
#ifndef _COM_SUN_STAR_LANG_XMULTISERVICEFACTORY_HPP_
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#endif
#ifndef _VECTOR_
#include <vector>
#endif
#ifndef _STRING_HXX
#include <tools/string.hxx>
#endif
@ -122,9 +120,10 @@ namespace dbaui
{
public:
DECLARE_STL_MAP(::rtl::OUString,OFieldDescription*,::comphelper::UStringMixLess,TColumns);
typedef ::std::vector<TColumns::const_iterator> TColumnVector;
typedef ::std::vector<TColumns::const_iterator> TColumnVector;
typedef ::std::vector< ::std::pair<sal_Int32,sal_Int32> > TPositions;
protected:
::std::vector<sal_Int32> m_vColumns; // Welche Spalten "ubernommen werden sollen
TPositions m_vColumns; // Welche Spalten "ubernommen werden sollen
::std::vector<sal_Int32> m_vColumnTypes; // FeldTypen f"ur schnelleren Zugriff
::std::vector<sal_Int32> m_vColumnSize;
::std::vector<sal_Int32> m_vFormatKey;
@ -189,7 +188,7 @@ namespace dbaui
const OTypeInfoMap* _pInfoMap = 0);
// wird f"ur auto. Typ-Erkennung gebraucht
ODatabaseExport(sal_Int32 nRows,
const ::std::vector<sal_Int32> &_rColumnPositions,
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,

View file

@ -2,9 +2,9 @@
*
* $RCSfile: HtmlReader.hxx,v $
*
* $Revision: 1.5 $
* $Revision: 1.6 $
*
* last change: $Author: oj $ $Date: 2002-01-22 07:22:37 $
* last change: $Author: oj $ $Date: 2002-05-23 11:07:57 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@ -115,7 +115,7 @@ namespace dbaui
// wird f"ur auto. Typ-Erkennung gebraucht
OHTMLReader(SvStream& rIn,
sal_Int32 nRows,
const ::std::vector<sal_Int32> &_rColumnPositions,
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,

View file

@ -2,9 +2,9 @@
*
* $RCSfile: RtfReader.hxx,v $
*
* $Revision: 1.5 $
* $Revision: 1.6 $
*
* last change: $Author: oj $ $Date: 2002-01-22 07:22:37 $
* last change: $Author: oj $ $Date: 2002-05-23 11:09:30 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@ -101,7 +101,7 @@ namespace dbaui
// wird f"ur auto. Typ-Erkennung gebraucht
ORTFReader( SvStream& rIn,
sal_Int32 nRows,
const ::std::vector<sal_Int32> &_rColumnPositions,
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,

View file

@ -2,9 +2,9 @@
*
* $RCSfile: WCopyTable.hxx,v $
*
* $Revision: 1.10 $
* $Revision: 1.11 $
*
* last change: $Author: oj $ $Date: 2002-03-21 07:15:30 $
* last change: $Author: oj $ $Date: 2002-05-23 11:10:43 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@ -203,7 +203,7 @@ namespace dbaui
::std::vector<OTypeInfoMap::iterator> m_aDestTypeInfoIndex;
TNameMapping m_mNameMapping;
::std::vector<sal_Int32> m_vColumnPos;
ODatabaseExport::TPositions m_vColumnPos;
::std::vector<sal_Int32> m_vColumnTypes;
::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > m_xDestObject; // can be a query or a table
@ -270,7 +270,7 @@ namespace dbaui
void CheckButtons(); // checks which button can be disabled, enabled
// returns a vector where the position of a column and if the column is in the selection
// when not the value is CONTAINER_ENTRY_NOTFOUND == (sal_uInt32)-1
::std::vector<sal_Int32> GetColumnPositions() const { return m_vColumnPos; }
ODatabaseExport::TPositions GetColumnPositions() const { return m_vColumnPos; }
::std::vector<sal_Int32> GetColumnTypes() const { return m_vColumnTypes; }
const TNameMapping* GetNameMapping() const { return &m_mNameMapping; }