diff options
author | Sascha Ballach <sab@openoffice.org> | 2000-10-26 09:41:37 +0000 |
---|---|---|
committer | Sascha Ballach <sab@openoffice.org> | 2000-10-26 09:41:37 +0000 |
commit | fe163baaac30ea0aa1e4df52accc662ee0d4bac0 (patch) | |
tree | 75a654ca4411f982f0d12f5feac59524dd0acaee /xmloff | |
parent | d78114a00514b4486393ab676f2450b7a3b0a638 (diff) |
to finished method StartIndex and EndIndex added
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/chart/PropertyMaps.cxx | 6 | ||||
-rw-r--r-- | xmloff/source/style/PageMasterImportPropMapper.cxx | 8 | ||||
-rw-r--r-- | xmloff/source/style/PageMasterImportPropMapper.hxx | 9 | ||||
-rw-r--r-- | xmloff/source/style/xmlimppr.cxx | 9 | ||||
-rw-r--r-- | xmloff/source/text/txtimppr.cxx | 7 |
5 files changed, 21 insertions, 18 deletions
diff --git a/xmloff/source/chart/PropertyMaps.cxx b/xmloff/source/chart/PropertyMaps.cxx index f320f41dcef2..510cf69cde19 100644 --- a/xmloff/source/chart/PropertyMaps.cxx +++ b/xmloff/source/chart/PropertyMaps.cxx @@ -2,9 +2,9 @@ * * $RCSfile: PropertyMaps.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: mib $ $Date: 2000-10-19 14:25:04 $ + * last change: $Author: sab $ $Date: 2000-10-26 10:33:17 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -477,7 +477,7 @@ sal_Bool XMLChartImportPropertyMapper::handleSpecialItem( return sal_False; } -void XMLChartImportPropertyMapper::finished( ::std::vector< XMLPropertyState >& rProperties ) const +void XMLChartImportPropertyMapper::finished( ::std::vector< XMLPropertyState >& rProperties, sal_Int32 nStartIndex, sal_Int32 nEndIndex ) const { } diff --git a/xmloff/source/style/PageMasterImportPropMapper.cxx b/xmloff/source/style/PageMasterImportPropMapper.cxx index f95ca2630fda..a6e1ef8c3a5a 100644 --- a/xmloff/source/style/PageMasterImportPropMapper.cxx +++ b/xmloff/source/style/PageMasterImportPropMapper.cxx @@ -2,9 +2,9 @@ * * $RCSfile: PageMasterImportPropMapper.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: sab $ $Date: 2000-10-26 07:17:20 $ + * last change: $Author: sab $ $Date: 2000-10-26 10:35:27 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -107,9 +107,9 @@ PageMasterImportPropertyMapper::~PageMasterImportPropertyMapper() return sal_True; }*/ -void PageMasterImportPropertyMapper::finished(::std::vector< XMLPropertyState >& rProperties ) const +void PageMasterImportPropertyMapper::finished(::std::vector< XMLPropertyState >& rProperties, sal_Int32 nStartIndex, sal_Int32 nEndIndex ) const { - SvXMLImportPropertyMapper::finished(rProperties); + SvXMLImportPropertyMapper::finished(rProperties, nStartIndex, nEndIndex); XMLPropertyState* pAllPaddingProperty = NULL; XMLPropertyState* pAllBorderProperty = NULL; XMLPropertyState* pAllBorderWidthProperty = NULL; diff --git a/xmloff/source/style/PageMasterImportPropMapper.hxx b/xmloff/source/style/PageMasterImportPropMapper.hxx index 23024570ebbc..fbc0977656b3 100644 --- a/xmloff/source/style/PageMasterImportPropMapper.hxx +++ b/xmloff/source/style/PageMasterImportPropMapper.hxx @@ -2,9 +2,9 @@ * * $RCSfile: PageMasterImportPropMapper.hxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: sab $ $Date: 2000-10-25 15:00:52 $ + * last change: $Author: sab $ $Date: 2000-10-26 10:35:27 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -63,7 +63,7 @@ #define _XMLOFF_PAGEMASTERIMPORTPROPMAPPER_HXX #ifndef _XMLOFF_XMLIMPPR_HXX -#include <xmloff/xmlimppr.hxx> +#include "xmlimppr.hxx" #endif class PageMasterImportPropertyMapper : public SvXMLImportPropertyMapper @@ -94,7 +94,8 @@ public: /** This method is called when all attributes have been processed. It may be used to remove items that are incomplete */ virtual void finished( - ::std::vector< XMLPropertyState >& rProperties ) const; + ::std::vector< XMLPropertyState >& rProperties, + sal_Int32 nStartIndex, sal_Int32 nEndIndex ) const; }; #endif diff --git a/xmloff/source/style/xmlimppr.cxx b/xmloff/source/style/xmlimppr.cxx index 511d4e996b23..5e8443c2cdde 100644 --- a/xmloff/source/style/xmlimppr.cxx +++ b/xmloff/source/style/xmlimppr.cxx @@ -2,9 +2,9 @@ * * $RCSfile: xmlimppr.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: mib $ $Date: 2000-10-26 08:35:07 $ + * last change: $Author: sab $ $Date: 2000-10-26 10:35:27 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -258,7 +258,7 @@ void SvXMLImportPropertyMapper::importXML( while( ( nIndex >= 0 ) && (( nFlags & MID_FLAG_MULTI_PROPERTY ) != 0 ) ); } - finished( rProperties ); + finished( rProperties, nStartIdx, nEndIdx ); } /** this method is called for every item that has the MID_FLAG_SPECIAL_ITEM_IMPORT flag set */ @@ -286,7 +286,8 @@ BOOL SvXMLImportPropertyMapper::handleNoItem( } void SvXMLImportPropertyMapper::finished( - vector< XMLPropertyState >& rProperties ) const + vector< XMLPropertyState >& rProperties, + sal_Int32 nStartIndex, sal_Int32 nEndIndex ) const { // nothing to do here } diff --git a/xmloff/source/text/txtimppr.cxx b/xmloff/source/text/txtimppr.cxx index b20de67baf63..677264d2e478 100644 --- a/xmloff/source/text/txtimppr.cxx +++ b/xmloff/source/text/txtimppr.cxx @@ -2,9 +2,9 @@ * * $RCSfile: txtimppr.cxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: hr $ $Date: 2000-09-18 17:07:07 $ + * last change: $Author: sab $ $Date: 2000-10-26 10:37:03 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -104,7 +104,8 @@ XMLTextImportPropertyMapper::~XMLTextImportPropertyMapper() } void XMLTextImportPropertyMapper::finished( - ::std::vector< XMLPropertyState >& rProperties ) const + ::std::vector< XMLPropertyState >& rProperties, + sal_Int32 nStartIndex, sal_Int32 nEndIndex ) const { XMLPropertyState* pFontName = 0; XMLPropertyState* pFontStyleName = 0; |