xref: /aoo41x/main/xmloff/source/style/xmlbahdl.hxx (revision ecfe53c5)
1*ecfe53c5SAndrew Rist /**************************************************************
2cdf0e10cSrcweir  *
3*ecfe53c5SAndrew Rist  * Licensed to the Apache Software Foundation (ASF) under one
4*ecfe53c5SAndrew Rist  * or more contributor license agreements.  See the NOTICE file
5*ecfe53c5SAndrew Rist  * distributed with this work for additional information
6*ecfe53c5SAndrew Rist  * regarding copyright ownership.  The ASF licenses this file
7*ecfe53c5SAndrew Rist  * to you under the Apache License, Version 2.0 (the
8*ecfe53c5SAndrew Rist  * "License"); you may not use this file except in compliance
9*ecfe53c5SAndrew Rist  * with the License.  You may obtain a copy of the License at
10*ecfe53c5SAndrew Rist  *
11*ecfe53c5SAndrew Rist  *   http://www.apache.org/licenses/LICENSE-2.0
12*ecfe53c5SAndrew Rist  *
13*ecfe53c5SAndrew Rist  * Unless required by applicable law or agreed to in writing,
14*ecfe53c5SAndrew Rist  * software distributed under the License is distributed on an
15*ecfe53c5SAndrew Rist  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*ecfe53c5SAndrew Rist  * KIND, either express or implied.  See the License for the
17*ecfe53c5SAndrew Rist  * specific language governing permissions and limitations
18*ecfe53c5SAndrew Rist  * under the License.
19*ecfe53c5SAndrew Rist  *
20*ecfe53c5SAndrew Rist  *************************************************************/
21*ecfe53c5SAndrew Rist 
22*ecfe53c5SAndrew Rist 
23cdf0e10cSrcweir 
24cdf0e10cSrcweir #ifndef _XMLOFF_PROPERTYHANDLER_BASICTYPES_HXX
25cdf0e10cSrcweir #define _XMLOFF_PROPERTYHANDLER_BASICTYPES_HXX
26cdf0e10cSrcweir 
27cdf0e10cSrcweir #include <xmloff/xmlprhdl.hxx>
28cdf0e10cSrcweir #include <rtl/ustrbuf.hxx>
29cdf0e10cSrcweir #include <xmloff/xmltoken.hxx>
30cdf0e10cSrcweir 
31cdf0e10cSrcweir 
32cdf0e10cSrcweir /**
33cdf0e10cSrcweir     PropertyHandler for the XML-data-type: XML_TYPE_NUMBER
34cdf0e10cSrcweir */
35cdf0e10cSrcweir class XMLNumberPropHdl : public XMLPropertyHandler
36cdf0e10cSrcweir {
37cdf0e10cSrcweir 	sal_Int8 nBytes;
38cdf0e10cSrcweir 
39cdf0e10cSrcweir public:
XMLNumberPropHdl(sal_Int8 nB=4)40cdf0e10cSrcweir 	XMLNumberPropHdl( sal_Int8 nB=4 ) : nBytes( nB ) {}
41cdf0e10cSrcweir 	virtual ~XMLNumberPropHdl();
42cdf0e10cSrcweir 
43cdf0e10cSrcweir 	virtual sal_Bool importXML( const ::rtl::OUString& rStrImpValue, ::com::sun::star::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const;
44cdf0e10cSrcweir 	virtual sal_Bool exportXML( ::rtl::OUString& rStrExpValue, const ::com::sun::star::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const;
45cdf0e10cSrcweir };
46cdf0e10cSrcweir 
47cdf0e10cSrcweir /**
48cdf0e10cSrcweir     PropertyHandler for the XML-data-type: XML_TYPE_NUMBER_NONE
49cdf0e10cSrcweir */
50cdf0e10cSrcweir class XMLNumberNonePropHdl : public XMLPropertyHandler
51cdf0e10cSrcweir {
52cdf0e10cSrcweir 	::rtl::OUString	sZeroStr;
53cdf0e10cSrcweir 	sal_Int8		nBytes;
54cdf0e10cSrcweir public:
55cdf0e10cSrcweir 	XMLNumberNonePropHdl( sal_Int8 nB = 4 );
56cdf0e10cSrcweir 	XMLNumberNonePropHdl( enum ::xmloff::token::XMLTokenEnum eZeroString, sal_Int8 nB = 4 );
57cdf0e10cSrcweir 	virtual ~XMLNumberNonePropHdl();
58cdf0e10cSrcweir 
59cdf0e10cSrcweir 	virtual sal_Bool importXML( const ::rtl::OUString& rStrImpValue, ::com::sun::star::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const;
60cdf0e10cSrcweir 	virtual sal_Bool exportXML( ::rtl::OUString& rStrExpValue, const ::com::sun::star::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const;
61cdf0e10cSrcweir };
62cdf0e10cSrcweir 
63cdf0e10cSrcweir /**
64cdf0e10cSrcweir     PropertyHandler for the XML-data-type: XML_TYPE_MEASURE
65cdf0e10cSrcweir */
66cdf0e10cSrcweir class XMLMeasurePropHdl : public XMLPropertyHandler
67cdf0e10cSrcweir {
68cdf0e10cSrcweir 	sal_Int8 nBytes;
69cdf0e10cSrcweir public:
XMLMeasurePropHdl(sal_Int8 nB=4)70cdf0e10cSrcweir 	XMLMeasurePropHdl( sal_Int8 nB=4 ) : nBytes( nB ) {}
71cdf0e10cSrcweir 	virtual ~XMLMeasurePropHdl();
72cdf0e10cSrcweir 
73cdf0e10cSrcweir 	virtual sal_Bool importXML( const ::rtl::OUString& rStrImpValue, ::com::sun::star::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const;
74cdf0e10cSrcweir 	virtual sal_Bool exportXML( ::rtl::OUString& rStrExpValue, const ::com::sun::star::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const;
75cdf0e10cSrcweir };
76cdf0e10cSrcweir 
77cdf0e10cSrcweir /**
78cdf0e10cSrcweir     PropertyHandler for the XML-data-type: XML_TYPE_PERCENT
79cdf0e10cSrcweir */
80cdf0e10cSrcweir class XMLPercentPropHdl : public XMLPropertyHandler
81cdf0e10cSrcweir {
82cdf0e10cSrcweir 	sal_Int8 nBytes;
83cdf0e10cSrcweir public:
XMLPercentPropHdl(sal_Int8 nB=4)84cdf0e10cSrcweir 	XMLPercentPropHdl( sal_Int8 nB=4 ) : nBytes( nB ) {}
85cdf0e10cSrcweir 	virtual ~XMLPercentPropHdl();
86cdf0e10cSrcweir 
87cdf0e10cSrcweir 	virtual sal_Bool importXML( const ::rtl::OUString& rStrImpValue, ::com::sun::star::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const;
88cdf0e10cSrcweir 	virtual sal_Bool exportXML( ::rtl::OUString& rStrExpValue, const ::com::sun::star::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const;
89cdf0e10cSrcweir };
90cdf0e10cSrcweir 
91cdf0e10cSrcweir /**
92cdf0e10cSrcweir     PropertyHandler for the XML-data-type: XML_TYPE_PERCENT
93cdf0e10cSrcweir 	that is mapped on a double from 0.0 to 1.0
94cdf0e10cSrcweir */
95cdf0e10cSrcweir class XMLDoublePercentPropHdl : public XMLPropertyHandler
96cdf0e10cSrcweir {
97cdf0e10cSrcweir 	virtual sal_Bool importXML( const ::rtl::OUString& rStrImpValue, ::com::sun::star::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const;
98cdf0e10cSrcweir 	virtual sal_Bool exportXML( ::rtl::OUString& rStrExpValue, const ::com::sun::star::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const;
99cdf0e10cSrcweir };
100cdf0e10cSrcweir 
101cdf0e10cSrcweir /**
102cdf0e10cSrcweir     PropertyHandler for the XML-data-type: XML_TYPE_NEG_PERCENT
103cdf0e10cSrcweir */
104cdf0e10cSrcweir class XMLNegPercentPropHdl : public XMLPropertyHandler
105cdf0e10cSrcweir {
106cdf0e10cSrcweir 	sal_Int8 nBytes;
107cdf0e10cSrcweir public:
XMLNegPercentPropHdl(sal_Int8 nB=4)108cdf0e10cSrcweir 	XMLNegPercentPropHdl( sal_Int8 nB=4 ) : nBytes( nB ) {}
109cdf0e10cSrcweir 	virtual ~XMLNegPercentPropHdl();
110cdf0e10cSrcweir 
111cdf0e10cSrcweir 	virtual sal_Bool importXML( const ::rtl::OUString& rStrImpValue, ::com::sun::star::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const;
112cdf0e10cSrcweir 	virtual sal_Bool exportXML( ::rtl::OUString& rStrExpValue, const ::com::sun::star::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const;
113cdf0e10cSrcweir };
114cdf0e10cSrcweir 
115cdf0e10cSrcweir /**
116cdf0e10cSrcweir     PropertyHandler for the XML-data-type: XML_TYPE_PERCENT
117cdf0e10cSrcweir */
118cdf0e10cSrcweir class XMLMeasurePxPropHdl : public XMLPropertyHandler
119cdf0e10cSrcweir {
120cdf0e10cSrcweir 	sal_Int8 nBytes;
121cdf0e10cSrcweir public:
XMLMeasurePxPropHdl(sal_Int8 nB=4)122cdf0e10cSrcweir 	XMLMeasurePxPropHdl( sal_Int8 nB=4 ) : nBytes( nB ) {}
123cdf0e10cSrcweir 	virtual ~XMLMeasurePxPropHdl();
124cdf0e10cSrcweir 
125cdf0e10cSrcweir 	virtual sal_Bool importXML( const ::rtl::OUString& rStrImpValue, ::com::sun::star::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const;
126cdf0e10cSrcweir 	virtual sal_Bool exportXML( ::rtl::OUString& rStrExpValue, const ::com::sun::star::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const;
127cdf0e10cSrcweir };
128cdf0e10cSrcweir 
129cdf0e10cSrcweir /**
130cdf0e10cSrcweir     PropertyHandler for the XML-data-type: XML_TYPE_BOOL
131cdf0e10cSrcweir */
132cdf0e10cSrcweir class XMLBoolPropHdl : public XMLPropertyHandler
133cdf0e10cSrcweir {
134cdf0e10cSrcweir public:
135cdf0e10cSrcweir 	virtual ~XMLBoolPropHdl();
136cdf0e10cSrcweir 
137cdf0e10cSrcweir 	virtual sal_Bool importXML( const ::rtl::OUString& rStrImpValue, ::com::sun::star::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const;
138cdf0e10cSrcweir 	virtual sal_Bool exportXML( ::rtl::OUString& rStrExpValue, const ::com::sun::star::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const;
139cdf0e10cSrcweir };
140cdf0e10cSrcweir 
141cdf0e10cSrcweir /**
142cdf0e10cSrcweir     PropertyHandler for the XML-data-type: XML_TYPE_COLOR
143cdf0e10cSrcweir */
144cdf0e10cSrcweir class XMLColorPropHdl : public XMLPropertyHandler
145cdf0e10cSrcweir {
146cdf0e10cSrcweir public:
147cdf0e10cSrcweir 	virtual ~XMLColorPropHdl();
148cdf0e10cSrcweir 
149cdf0e10cSrcweir 	virtual sal_Bool importXML( const ::rtl::OUString& rStrImpValue, ::com::sun::star::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const;
150cdf0e10cSrcweir 	virtual sal_Bool exportXML( ::rtl::OUString& rStrExpValue, const ::com::sun::star::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const;
151cdf0e10cSrcweir };
152cdf0e10cSrcweir 
153cdf0e10cSrcweir /**
154cdf0e10cSrcweir     PropertyHandler for the XML-data-type: XML_TYPE_STRING
155cdf0e10cSrcweir */
156cdf0e10cSrcweir class XMLStringPropHdl : public XMLPropertyHandler
157cdf0e10cSrcweir {
158cdf0e10cSrcweir public:
159cdf0e10cSrcweir 	virtual ~XMLStringPropHdl();
160cdf0e10cSrcweir 
161cdf0e10cSrcweir 	virtual sal_Bool importXML( const ::rtl::OUString& rStrImpValue, ::com::sun::star::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const;
162cdf0e10cSrcweir 	virtual sal_Bool exportXML( ::rtl::OUString& rStrExpValue, const ::com::sun::star::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const;
163cdf0e10cSrcweir };
164cdf0e10cSrcweir 
165cdf0e10cSrcweir /**
166cdf0e10cSrcweir     PropertyHandler for the XML-data-type: XML_TYPE_STYLENAME
167cdf0e10cSrcweir */
168cdf0e10cSrcweir class XMLStyleNamePropHdl : public XMLStringPropHdl
169cdf0e10cSrcweir {
170cdf0e10cSrcweir public:
171cdf0e10cSrcweir 	virtual ~XMLStyleNamePropHdl();
172cdf0e10cSrcweir 
173cdf0e10cSrcweir 	virtual sal_Bool exportXML( ::rtl::OUString& rStrExpValue, const ::com::sun::star::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const;
174cdf0e10cSrcweir };
175cdf0e10cSrcweir 
176cdf0e10cSrcweir 
177cdf0e10cSrcweir /**
178cdf0e10cSrcweir 	PropertyHandler for the XML-data-type: XML_TYPE_DOUBLE
179cdf0e10cSrcweir */
180cdf0e10cSrcweir class XMLDoublePropHdl : public XMLPropertyHandler
181cdf0e10cSrcweir {
182cdf0e10cSrcweir public:
183cdf0e10cSrcweir 	virtual ~XMLDoublePropHdl();
184cdf0e10cSrcweir 
185cdf0e10cSrcweir 	virtual sal_Bool importXML( const ::rtl::OUString& rStrImpValue, ::com::sun::star::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const;
186cdf0e10cSrcweir 	virtual sal_Bool exportXML( ::rtl::OUString& rStrExpValue, const ::com::sun::star::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const;
187cdf0e10cSrcweir };
188cdf0e10cSrcweir 
189cdf0e10cSrcweir /**
190cdf0e10cSrcweir     PropertyHandler for the XML-data-type: XML_TYPE_NBOOL
191cdf0e10cSrcweir */
192cdf0e10cSrcweir class XMLNBoolPropHdl : public XMLPropertyHandler
193cdf0e10cSrcweir {
194cdf0e10cSrcweir public:
195cdf0e10cSrcweir 	virtual ~XMLNBoolPropHdl();
196cdf0e10cSrcweir 
197cdf0e10cSrcweir 	virtual sal_Bool importXML( const ::rtl::OUString& rStrImpValue, ::com::sun::star::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const;
198cdf0e10cSrcweir 	virtual sal_Bool exportXML( ::rtl::OUString& rStrExpValue, const ::com::sun::star::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const;
199cdf0e10cSrcweir };
200cdf0e10cSrcweir 
201cdf0e10cSrcweir /**
202cdf0e10cSrcweir     PropertyHandler for the XML-data-type: XML_TYPE_COLORTRANSPARENT
203cdf0e10cSrcweir */
204cdf0e10cSrcweir class XMLColorTransparentPropHdl : public XMLPropertyHandler
205cdf0e10cSrcweir {
206cdf0e10cSrcweir 	const ::rtl::OUString sTransparent;
207cdf0e10cSrcweir 
208cdf0e10cSrcweir public:
209cdf0e10cSrcweir 	XMLColorTransparentPropHdl( enum ::xmloff::token::XMLTokenEnum eTransparent = xmloff::token::XML_TOKEN_INVALID );
210cdf0e10cSrcweir 	virtual ~XMLColorTransparentPropHdl();
211cdf0e10cSrcweir 
212cdf0e10cSrcweir 	virtual sal_Bool importXML( const ::rtl::OUString& rStrImpValue, ::com::sun::star::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const;
213cdf0e10cSrcweir 	virtual sal_Bool exportXML( ::rtl::OUString& rStrExpValue, const ::com::sun::star::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const;
214cdf0e10cSrcweir };
215cdf0e10cSrcweir 
216cdf0e10cSrcweir /**
217cdf0e10cSrcweir     PropertyHandler for the XML-data-type: XML_TYPE_ISTRANSPARENT
218cdf0e10cSrcweir */
219cdf0e10cSrcweir class XMLIsTransparentPropHdl : public XMLPropertyHandler
220cdf0e10cSrcweir {
221cdf0e10cSrcweir 	const ::rtl::OUString sTransparent;
222cdf0e10cSrcweir 	sal_Bool bTransPropValue;
223cdf0e10cSrcweir 
224cdf0e10cSrcweir public:
225cdf0e10cSrcweir 	XMLIsTransparentPropHdl( enum ::xmloff::token::XMLTokenEnum eTransparent = xmloff::token::XML_TOKEN_INVALID,
226cdf0e10cSrcweir 						     sal_Bool bTransPropValue = sal_True );
227cdf0e10cSrcweir 	virtual ~XMLIsTransparentPropHdl();
228cdf0e10cSrcweir 
229cdf0e10cSrcweir 	virtual sal_Bool importXML( const ::rtl::OUString& rStrImpValue, ::com::sun::star::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const;
230cdf0e10cSrcweir 	virtual sal_Bool exportXML( ::rtl::OUString& rStrExpValue, const ::com::sun::star::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const;
231cdf0e10cSrcweir };
232cdf0e10cSrcweir 
233cdf0e10cSrcweir /**
234cdf0e10cSrcweir     PropertyHandler for the XML-data-type: XML_TYPE_COLORAUTO
235cdf0e10cSrcweir */
236cdf0e10cSrcweir class XMLColorAutoPropHdl : public XMLPropertyHandler
237cdf0e10cSrcweir {
238cdf0e10cSrcweir public:
239cdf0e10cSrcweir 	XMLColorAutoPropHdl();
240cdf0e10cSrcweir 	virtual ~XMLColorAutoPropHdl();
241cdf0e10cSrcweir 
242cdf0e10cSrcweir 	virtual sal_Bool importXML( const ::rtl::OUString& rStrImpValue, ::com::sun::star::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const;
243cdf0e10cSrcweir 	virtual sal_Bool exportXML( ::rtl::OUString& rStrExpValue, const ::com::sun::star::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const;
244cdf0e10cSrcweir };
245cdf0e10cSrcweir 
246cdf0e10cSrcweir /**
247cdf0e10cSrcweir     PropertyHandler for the XML-data-type: XML_TYPE_COLORISAUTO
248cdf0e10cSrcweir */
249cdf0e10cSrcweir class XMLIsAutoColorPropHdl : public XMLPropertyHandler
250cdf0e10cSrcweir {
251cdf0e10cSrcweir public:
252cdf0e10cSrcweir 	XMLIsAutoColorPropHdl();
253cdf0e10cSrcweir 	virtual ~XMLIsAutoColorPropHdl();
254cdf0e10cSrcweir 
255cdf0e10cSrcweir 	virtual sal_Bool importXML( const ::rtl::OUString& rStrImpValue, ::com::sun::star::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const;
256cdf0e10cSrcweir 	virtual sal_Bool exportXML( ::rtl::OUString& rStrExpValue, const ::com::sun::star::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const;
257cdf0e10cSrcweir };
258cdf0e10cSrcweir 
259cdf0e10cSrcweir 
260cdf0e10cSrcweir /**
261cdf0e10cSrcweir     PropertyHandler for properties that cannot make use of importXML
262cdf0e10cSrcweir 	and exportXML methods, but can make use of the default comparison
263cdf0e10cSrcweir */
264cdf0e10cSrcweir class XMLCompareOnlyPropHdl : public XMLPropertyHandler
265cdf0e10cSrcweir {
266cdf0e10cSrcweir public:
267cdf0e10cSrcweir 	virtual ~XMLCompareOnlyPropHdl();
268cdf0e10cSrcweir 
269cdf0e10cSrcweir 	virtual sal_Bool importXML( const ::rtl::OUString& rStrImpValue, ::com::sun::star::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const;
270cdf0e10cSrcweir 	virtual sal_Bool exportXML( ::rtl::OUString& rStrExpValue, const ::com::sun::star::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const;
271cdf0e10cSrcweir };
272cdf0e10cSrcweir 
273cdf0e10cSrcweir /**
274cdf0e10cSrcweir     PropertyHandler for the XML-data-type: XML_TYPE_NUMBER_NO_ZERO
275cdf0e10cSrcweir     Reads/writes numeric properties, but fails for the value zero
276cdf0e10cSrcweir     (i.e., a value 0 property will not be written)
277cdf0e10cSrcweir */
278cdf0e10cSrcweir class XMLNumberWithoutZeroPropHdl : public XMLPropertyHandler
279cdf0e10cSrcweir {
280cdf0e10cSrcweir 	sal_Int8		nBytes;
281cdf0e10cSrcweir public:
282cdf0e10cSrcweir 	XMLNumberWithoutZeroPropHdl( sal_Int8 nB = 4 );
283cdf0e10cSrcweir 	virtual ~XMLNumberWithoutZeroPropHdl();
284cdf0e10cSrcweir 
285cdf0e10cSrcweir 	virtual sal_Bool importXML( const ::rtl::OUString& rStrImpValue, ::com::sun::star::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const;
286cdf0e10cSrcweir 	virtual sal_Bool exportXML( ::rtl::OUString& rStrExpValue, const ::com::sun::star::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const;
287cdf0e10cSrcweir };
288cdf0e10cSrcweir 
289cdf0e10cSrcweir /**
290cdf0e10cSrcweir     PropertyHandler for the XML-data-type: XML_TYPE_NUMBER16_AUTO
291cdf0e10cSrcweir     Reads/writes numeric properties with special handling for the value zero
292cdf0e10cSrcweir     (i.e., a value 0 property will be written as "auto")
293cdf0e10cSrcweir */
294cdf0e10cSrcweir class XMLNumberWithAutoInsteadZeroPropHdl : public XMLNumberWithoutZeroPropHdl
295cdf0e10cSrcweir {
296cdf0e10cSrcweir public:
297cdf0e10cSrcweir 	virtual ~XMLNumberWithAutoInsteadZeroPropHdl();
298cdf0e10cSrcweir 
299cdf0e10cSrcweir 	virtual sal_Bool importXML( const ::rtl::OUString& rStrImpValue, ::com::sun::star::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const;
300cdf0e10cSrcweir 	virtual sal_Bool exportXML( ::rtl::OUString& rStrExpValue, const ::com::sun::star::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const;
301cdf0e10cSrcweir };
302cdf0e10cSrcweir 
303cdf0e10cSrcweir #endif		// _XMLOFF_PROPERTYHANDLER_BASICTYPES_HXX
304