xref: /aoo41x/main/xmloff/source/draw/sdpropls.hxx (revision cdf0e10c)
1*cdf0e10cSrcweir /*************************************************************************
2*cdf0e10cSrcweir  *
3*cdf0e10cSrcweir  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4*cdf0e10cSrcweir  *
5*cdf0e10cSrcweir  * Copyright 2000, 2010 Oracle and/or its affiliates.
6*cdf0e10cSrcweir  *
7*cdf0e10cSrcweir  * OpenOffice.org - a multi-platform office productivity suite
8*cdf0e10cSrcweir  *
9*cdf0e10cSrcweir  * This file is part of OpenOffice.org.
10*cdf0e10cSrcweir  *
11*cdf0e10cSrcweir  * OpenOffice.org is free software: you can redistribute it and/or modify
12*cdf0e10cSrcweir  * it under the terms of the GNU Lesser General Public License version 3
13*cdf0e10cSrcweir  * only, as published by the Free Software Foundation.
14*cdf0e10cSrcweir  *
15*cdf0e10cSrcweir  * OpenOffice.org is distributed in the hope that it will be useful,
16*cdf0e10cSrcweir  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17*cdf0e10cSrcweir  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18*cdf0e10cSrcweir  * GNU Lesser General Public License version 3 for more details
19*cdf0e10cSrcweir  * (a copy is included in the LICENSE file that accompanied this code).
20*cdf0e10cSrcweir  *
21*cdf0e10cSrcweir  * You should have received a copy of the GNU Lesser General Public License
22*cdf0e10cSrcweir  * version 3 along with OpenOffice.org.  If not, see
23*cdf0e10cSrcweir  * <http://www.openoffice.org/license.html>
24*cdf0e10cSrcweir  * for a copy of the LGPLv3 License.
25*cdf0e10cSrcweir  *
26*cdf0e10cSrcweir  ************************************************************************/
27*cdf0e10cSrcweir 
28*cdf0e10cSrcweir #ifndef _SDPROPLS_HXX
29*cdf0e10cSrcweir #define _SDPROPLS_HXX
30*cdf0e10cSrcweir 
31*cdf0e10cSrcweir #include <com/sun/star/frame/XModel.hpp>
32*cdf0e10cSrcweir #include <xmloff/xmlnume.hxx>
33*cdf0e10cSrcweir #include <xmloff/maptype.hxx>
34*cdf0e10cSrcweir #include <xmloff/xmltypes.hxx>
35*cdf0e10cSrcweir #include <xmloff/xmlement.hxx>
36*cdf0e10cSrcweir #include <xmloff/prhdlfac.hxx>
37*cdf0e10cSrcweir #include <xmloff/xmlprmap.hxx>
38*cdf0e10cSrcweir #include "xmloff/XMLTextListAutoStylePool.hxx"
39*cdf0e10cSrcweir #include <xmloff/xmlexppr.hxx>
40*cdf0e10cSrcweir 
41*cdf0e10cSrcweir //////////////////////////////////////////////////////////////////////////////
42*cdf0e10cSrcweir // entry list for graphic properties
43*cdf0e10cSrcweir 
44*cdf0e10cSrcweir extern const XMLPropertyMapEntry aXMLSDProperties[];
45*cdf0e10cSrcweir 
46*cdf0e10cSrcweir //////////////////////////////////////////////////////////////////////////////
47*cdf0e10cSrcweir // entry list for presentation page properties
48*cdf0e10cSrcweir 
49*cdf0e10cSrcweir extern const XMLPropertyMapEntry aXMLSDPresPageProps[];
50*cdf0e10cSrcweir extern const XMLPropertyMapEntry aXMLSDPresPageProps_onlyHeadersFooter[];
51*cdf0e10cSrcweir 
52*cdf0e10cSrcweir //////////////////////////////////////////////////////////////////////////////
53*cdf0e10cSrcweir // types of own properties
54*cdf0e10cSrcweir 
55*cdf0e10cSrcweir #define	XML_SD_TYPE_STROKE							(XML_SD_TYPES_START +  0)
56*cdf0e10cSrcweir #define	XML_SD_TYPE_PRESPAGE_TYPE					(XML_SD_TYPES_START +  1)
57*cdf0e10cSrcweir #define	XML_SD_TYPE_PRESPAGE_STYLE					(XML_SD_TYPES_START +  2)
58*cdf0e10cSrcweir #define	XML_SD_TYPE_PRESPAGE_SPEED					(XML_SD_TYPES_START +  3)
59*cdf0e10cSrcweir #define	XML_SD_TYPE_PRESPAGE_DURATION				(XML_SD_TYPES_START +  4)
60*cdf0e10cSrcweir #define	XML_SD_TYPE_PRESPAGE_VISIBILITY				(XML_SD_TYPES_START +  5)
61*cdf0e10cSrcweir #define XML_SD_TYPE_MARKER							(XML_SD_TYPES_START +  6 )
62*cdf0e10cSrcweir #define XML_SD_TYPE_OPACITY							(XML_SD_TYPES_START +  7 )
63*cdf0e10cSrcweir #define XML_SD_TYPE_LINEJOIN						(XML_SD_TYPES_START +  8 )
64*cdf0e10cSrcweir #define XML_SD_TYPE_FILLSTYLE						(XML_SD_TYPES_START +  9 )
65*cdf0e10cSrcweir #define XML_SD_TYPE_GRADIENT						(XML_SD_TYPES_START + 10 )
66*cdf0e10cSrcweir #define XML_SD_TYPE_GRADIENT_STEPCOUNT				(XML_SD_TYPES_START + 11 )
67*cdf0e10cSrcweir #define XML_SD_TYPE_SHADOW							(XML_SD_TYPES_START + 12 )
68*cdf0e10cSrcweir #define XML_SD_TYPE_TEXT_CROSSEDOUT					(XML_SD_TYPES_START + 13 )
69*cdf0e10cSrcweir #define XML_SD_TYPE_NUMBULLET						(XML_SD_TYPES_START + 14 )
70*cdf0e10cSrcweir #define XML_SD_TYPE_WRITINGMODE						(XML_SD_TYPES_START + 15 )
71*cdf0e10cSrcweir #define XML_SD_TYPE_BITMAP_MODE						(XML_SD_TYPES_START + 16 )
72*cdf0e10cSrcweir #define XML_SD_TYPE_BITMAPREPOFFSETX				(XML_SD_TYPES_START + 17 )
73*cdf0e10cSrcweir #define XML_SD_TYPE_BITMAPREPOFFSETY				(XML_SD_TYPES_START + 18 )
74*cdf0e10cSrcweir #define XML_SD_TYPE_FILLBITMAPSIZE					(XML_SD_TYPES_START + 19 )
75*cdf0e10cSrcweir #define XML_SD_TYPE_LOGICAL_SIZE					(XML_SD_TYPES_START + 20 )
76*cdf0e10cSrcweir #define XML_SD_TYPE_BITMAP_REFPOINT					(XML_SD_TYPES_START + 21 )
77*cdf0e10cSrcweir #define XML_SD_TYPE_PRESPAGE_BACKSIZE				(XML_SD_TYPES_START + 22 )
78*cdf0e10cSrcweir #define XML_TYPE_TEXT_ANIMATION_BLINKING			(XML_SD_TYPES_START + 23 )
79*cdf0e10cSrcweir #define XML_TYPE_TEXT_ANIMATION_STEPS				(XML_SD_TYPES_START + 24 )
80*cdf0e10cSrcweir #define XML_SD_TYPE_TEXT_ALIGN						(XML_SD_TYPES_START + 25 )
81*cdf0e10cSrcweir #define XML_SD_TYPE_VERTICAL_ALIGN					(XML_SD_TYPES_START + 26 )
82*cdf0e10cSrcweir #define XML_SD_TYPE_FITTOSIZE						(XML_SD_TYPES_START + 27 )
83*cdf0e10cSrcweir #define XML_SD_TYPE_MEASURE_HALIGN					(XML_SD_TYPES_START + 28 )
84*cdf0e10cSrcweir #define XML_SD_TYPE_MEASURE_VALIGN					(XML_SD_TYPES_START + 29 )
85*cdf0e10cSrcweir #define XML_SD_TYPE_MEASURE_UNIT					(XML_SD_TYPES_START + 30 )
86*cdf0e10cSrcweir #define XML_SD_TYPE_MEASURE_PLACING					(XML_SD_TYPES_START + 31 )
87*cdf0e10cSrcweir #define XML_SD_TYPE_CONTROL_BORDER					(XML_SD_TYPES_START + 32 )
88*cdf0e10cSrcweir #define XML_SD_TYPE_CONTROL_BORDER_COLOR            (XML_SD_TYPES_START + 33 )
89*cdf0e10cSrcweir #define XML_SD_TYPE_IMAGE_SCALE_MODE                (XML_SD_TYPES_START + 34 )
90*cdf0e10cSrcweir 
91*cdf0e10cSrcweir // 3D property types
92*cdf0e10cSrcweir #define XML_SD_TYPE_BACKFACE_CULLING				(XML_SD_TYPES_START + 40 )
93*cdf0e10cSrcweir #define XML_SD_TYPE_NORMALS_KIND					(XML_SD_TYPES_START + 41 )
94*cdf0e10cSrcweir #define XML_SD_TYPE_NORMALS_DIRECTION				(XML_SD_TYPES_START + 42 )
95*cdf0e10cSrcweir #define XML_SD_TYPE_TEX_GENERATION_MODE_X			(XML_SD_TYPES_START + 43 )
96*cdf0e10cSrcweir #define XML_SD_TYPE_TEX_GENERATION_MODE_Y			(XML_SD_TYPES_START + 44 )
97*cdf0e10cSrcweir #define XML_SD_TYPE_TEX_KIND						(XML_SD_TYPES_START + 45 )
98*cdf0e10cSrcweir #define XML_SD_TYPE_TEX_MODE						(XML_SD_TYPES_START + 46 )
99*cdf0e10cSrcweir 
100*cdf0e10cSrcweir //////////////////////////////////////////////////////////////////////////////
101*cdf0e10cSrcweir // #FontWork# types
102*cdf0e10cSrcweir #define	XML_SD_TYPE_FONTWORK_STYLE					(XML_SD_TYPES_START + 47 )
103*cdf0e10cSrcweir #define	XML_SD_TYPE_FONTWORK_ADJUST					(XML_SD_TYPES_START + 48 )
104*cdf0e10cSrcweir #define	XML_SD_TYPE_FONTWORK_SHADOW					(XML_SD_TYPES_START + 49 )
105*cdf0e10cSrcweir #define	XML_SD_TYPE_FONTWORK_FORM					(XML_SD_TYPES_START + 50 )
106*cdf0e10cSrcweir 
107*cdf0e10cSrcweir //////////////////////////////////////////////////////////////////////////////
108*cdf0e10cSrcweir // Caption types
109*cdf0e10cSrcweir #define XML_SD_TYPE_CAPTION_ANGLE_TYPE				(XML_SD_TYPES_START + 60 )
110*cdf0e10cSrcweir #define XML_SD_TYPE_CAPTION_IS_ESC_REL				(XML_SD_TYPES_START + 61 )
111*cdf0e10cSrcweir #define XML_SD_TYPE_CAPTION_ESC_REL					(XML_SD_TYPES_START + 62 )
112*cdf0e10cSrcweir #define XML_SD_TYPE_CAPTION_ESC_ABS					(XML_SD_TYPES_START + 63 )
113*cdf0e10cSrcweir #define XML_SD_TYPE_CAPTION_ESC_DIR					(XML_SD_TYPES_START + 64 )
114*cdf0e10cSrcweir #define XML_SD_TYPE_CAPTION_TYPE					(XML_SD_TYPES_START + 65 )
115*cdf0e10cSrcweir 
116*cdf0e10cSrcweir //////////////////////////////////////////////////////////////////////////////
117*cdf0e10cSrcweir // header & footer types
118*cdf0e10cSrcweir #define XML_SD_TYPE_DATETIMEUPDATE					(XML_SD_TYPES_START + 70 )
119*cdf0e10cSrcweir #define XML_SD_TYPE_DATETIME_FORMAT					(XML_SD_TYPES_START + 71 )
120*cdf0e10cSrcweir 
121*cdf0e10cSrcweir //////////////////////////////////////////////////////////////////////////////
122*cdf0e10cSrcweir 
123*cdf0e10cSrcweir // new types for merged style:protect attribute
124*cdf0e10cSrcweir #define XML_SD_TYPE_MOVE_PROTECT					(XML_SD_TYPES_START + 72 )
125*cdf0e10cSrcweir #define XML_SD_TYPE_SIZE_PROTECT					(XML_SD_TYPES_START + 73 )
126*cdf0e10cSrcweir 
127*cdf0e10cSrcweir // new type for style:mirror attribute
128*cdf0e10cSrcweir #define	XML_TYPE_SD_MIRROR							(XML_SD_TYPES_START + 74 )
129*cdf0e10cSrcweir 
130*cdf0e10cSrcweir //////////////////////////////////////////////////////////////////////////////
131*cdf0e10cSrcweir 
132*cdf0e10cSrcweir // new smil transition types for pages
133*cdf0e10cSrcweir #define XML_SD_TYPE_TRANSITION_TYPE					(XML_SD_TYPES_START + 75 )
134*cdf0e10cSrcweir #define XML_SD_TYPE_TRANSTIION_SUBTYPE				(XML_SD_TYPES_START + 76 )
135*cdf0e10cSrcweir #define XML_SD_TYPE_TRANSTIION_DIRECTION			(XML_SD_TYPES_START + 77 )
136*cdf0e10cSrcweir 
137*cdf0e10cSrcweir #define XML_SD_TYPE_HEADER_FOOTER_VISIBILITY_TYPE	(XML_SD_TYPES_START + 78 )
138*cdf0e10cSrcweir 
139*cdf0e10cSrcweir //////////////////////////////////////////////////////////////////////////////
140*cdf0e10cSrcweir 
141*cdf0e10cSrcweir #define CTF_NUMBERINGRULES			1000
142*cdf0e10cSrcweir #define CTF_CONTROLWRITINGMODE      1001
143*cdf0e10cSrcweir #define CTF_WRITINGMODE				1002
144*cdf0e10cSrcweir #define CTF_REPEAT_OFFSET_X			1003
145*cdf0e10cSrcweir #define CTF_REPEAT_OFFSET_Y			1004
146*cdf0e10cSrcweir #define CTF_PAGE_SOUND_URL			1005
147*cdf0e10cSrcweir #define CTF_PAGE_VISIBLE			1006
148*cdf0e10cSrcweir #define CTF_PAGE_TRANS_TYPE			1007
149*cdf0e10cSrcweir #define CTF_PAGE_TRANS_STYLE		1008
150*cdf0e10cSrcweir #define CTF_PAGE_TRANS_SPEED		1009
151*cdf0e10cSrcweir #define CTF_PAGE_TRANS_DURATION		1010
152*cdf0e10cSrcweir #define CTF_PAGE_BACKSIZE			1011
153*cdf0e10cSrcweir #define CTF_DASHNAME				1012
154*cdf0e10cSrcweir #define CTF_LINESTARTNAME			1013
155*cdf0e10cSrcweir #define CTF_LINEENDNAME				1014
156*cdf0e10cSrcweir #define CTF_FILLGRADIENTNAME		1015
157*cdf0e10cSrcweir #define CTF_FILLHATCHNAME			1016
158*cdf0e10cSrcweir #define CTF_FILLBITMAPNAME			1017
159*cdf0e10cSrcweir #define CTF_FILLTRANSNAME			1018
160*cdf0e10cSrcweir #define CTF_TEXTANIMATION_BLINKING	1019
161*cdf0e10cSrcweir #define CTF_TEXTANIMATION_KIND		1020
162*cdf0e10cSrcweir 
163*cdf0e10cSrcweir #define CTF_PAGE_TRANSITION_TYPE		1021
164*cdf0e10cSrcweir #define CTF_PAGE_TRANSITION_SUBTYPE		1022
165*cdf0e10cSrcweir #define CTF_PAGE_TRANSITION_DIRECTION	1023
166*cdf0e10cSrcweir #define CTF_PAGE_TRANSITION_FADECOLOR	1024
167*cdf0e10cSrcweir 
168*cdf0e10cSrcweir //////////////////////////////////////////////////////////////////////////////
169*cdf0e10cSrcweir // #FontWork#
170*cdf0e10cSrcweir #define	CTF_FONTWORK_STYLE				1021
171*cdf0e10cSrcweir #define	CTF_FONTWORK_ADJUST				1022
172*cdf0e10cSrcweir #define	CTF_FONTWORK_DISTANCE			1023
173*cdf0e10cSrcweir #define	CTF_FONTWORK_START				1024
174*cdf0e10cSrcweir #define	CTF_FONTWORK_MIRROR				1025
175*cdf0e10cSrcweir #define	CTF_FONTWORK_OUTLINE			1026
176*cdf0e10cSrcweir #define	CTF_FONTWORK_SHADOW				1027
177*cdf0e10cSrcweir #define	CTF_FONTWORK_SHADOWCOLOR		1028
178*cdf0e10cSrcweir #define	CTF_FONTWORK_SHADOWOFFSETX		1029
179*cdf0e10cSrcweir #define	CTF_FONTWORK_SHADOWOFFSETY		1030
180*cdf0e10cSrcweir #define	CTF_FONTWORK_FORM				1031
181*cdf0e10cSrcweir #define	CTF_FONTWORK_HIDEFORM			1032
182*cdf0e10cSrcweir #define	CTF_FONTWORK_SHADOWTRANSPARENCE	1033
183*cdf0e10cSrcweir 
184*cdf0e10cSrcweir //////////////////////////////////////////////////////////////////////////////
185*cdf0e10cSrcweir // OLE part 1
186*cdf0e10cSrcweir #define CTF_SD_OLE_VIS_AREA_IMPORT_LEFT		1040
187*cdf0e10cSrcweir #define CTF_SD_OLE_VIS_AREA_IMPORT_TOP		1041
188*cdf0e10cSrcweir #define CTF_SD_OLE_VIS_AREA_IMPORT_WIDTH	1042
189*cdf0e10cSrcweir #define CTF_SD_OLE_VIS_AREA_IMPORT_HEIGHT	1043
190*cdf0e10cSrcweir #define CTF_SD_OLE_ISINTERNAL				1044
191*cdf0e10cSrcweir 
192*cdf0e10cSrcweir #define CTF_SD_MOVE_PROTECT				1045
193*cdf0e10cSrcweir #define CTF_SD_SIZE_PROTECT				1046
194*cdf0e10cSrcweir 
195*cdf0e10cSrcweir //////////////////////////////////////////////////////////////////////////////
196*cdf0e10cSrcweir // caption
197*cdf0e10cSrcweir #define CTF_CAPTION_ISESCREL			1047
198*cdf0e10cSrcweir #define CTF_CAPTION_ESCREL				1048
199*cdf0e10cSrcweir #define CTF_CAPTION_ESCABS				1049
200*cdf0e10cSrcweir 
201*cdf0e10cSrcweir //////////////////////////////////////////////////////////////////////////////
202*cdf0e10cSrcweir // header&footer
203*cdf0e10cSrcweir #define CTF_HEADER_VISIBLE				1050
204*cdf0e10cSrcweir #define	CTF_FOOTER_VISIBLE				1051
205*cdf0e10cSrcweir #define CTF_PAGE_NUMBER_VISIBLE			1052
206*cdf0e10cSrcweir #define CTF_DATE_TIME_VISIBLE			1053
207*cdf0e10cSrcweir #define CTF_HEADER_TEXT					1054
208*cdf0e10cSrcweir #define CTF_FOOTER_TEXT					1055
209*cdf0e10cSrcweir #define CTF_DATE_TIME_TEXT				1056
210*cdf0e10cSrcweir #define CTF_DATE_TIME_FORMAT			1057
211*cdf0e10cSrcweir #define CTF_DATE_TIME_UPDATE			1058
212*cdf0e10cSrcweir 
213*cdf0e10cSrcweir //////////////////////////////////////////////////////////////////////////////
214*cdf0e10cSrcweir // OLE part 2
215*cdf0e10cSrcweir #define CTF_SD_OLE_ASPECT					1059
216*cdf0e10cSrcweir #define CTF_SD_OLE_VIS_AREA_EXPORT_LEFT		1060
217*cdf0e10cSrcweir #define CTF_SD_OLE_VIS_AREA_EXPORT_TOP		1061
218*cdf0e10cSrcweir #define CTF_SD_OLE_VIS_AREA_EXPORT_WIDTH	1062
219*cdf0e10cSrcweir #define CTF_SD_OLE_VIS_AREA_EXPORT_HEIGHT	1063
220*cdf0e10cSrcweir 
221*cdf0e10cSrcweir //////////////////////////////////////////////////////////////////////////////
222*cdf0e10cSrcweir // enum maps for attributes
223*cdf0e10cSrcweir 
224*cdf0e10cSrcweir extern SvXMLEnumMapEntry aXML_ConnectionKind_EnumMap[];
225*cdf0e10cSrcweir extern SvXMLEnumMapEntry aXML_CircleKind_EnumMap[];
226*cdf0e10cSrcweir 
227*cdf0e10cSrcweir //////////////////////////////////////////////////////////////////////////////
228*cdf0e10cSrcweir 
229*cdf0e10cSrcweir /** contains the attribute to property mapping for a drawing layer table */
230*cdf0e10cSrcweir extern const XMLPropertyMapEntry aXMLTableShapeAttributes[];
231*cdf0e10cSrcweir 
232*cdf0e10cSrcweir //////////////////////////////////////////////////////////////////////////////
233*cdf0e10cSrcweir // factory for own graphic properties
234*cdf0e10cSrcweir 
235*cdf0e10cSrcweir class SvXMLExport;
236*cdf0e10cSrcweir class SvXMLImport;
237*cdf0e10cSrcweir 
238*cdf0e10cSrcweir class XMLSdPropHdlFactory : public XMLPropertyHandlerFactory
239*cdf0e10cSrcweir {
240*cdf0e10cSrcweir private:
241*cdf0e10cSrcweir 	::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel > mxModel;
242*cdf0e10cSrcweir 	SvXMLExport* mpExport;
243*cdf0e10cSrcweir 	SvXMLImport* mpImport;
244*cdf0e10cSrcweir 
245*cdf0e10cSrcweir public:
246*cdf0e10cSrcweir 	XMLSdPropHdlFactory( ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel >, SvXMLExport& rExport );
247*cdf0e10cSrcweir 	XMLSdPropHdlFactory( ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel >, SvXMLImport& rImport );
248*cdf0e10cSrcweir 	virtual ~XMLSdPropHdlFactory();
249*cdf0e10cSrcweir 	virtual const XMLPropertyHandler* GetPropertyHandler( sal_Int32 nType ) const;
250*cdf0e10cSrcweir };
251*cdf0e10cSrcweir 
252*cdf0e10cSrcweir class XMLShapePropertySetMapper : public XMLPropertySetMapper
253*cdf0e10cSrcweir {
254*cdf0e10cSrcweir public:
255*cdf0e10cSrcweir 	XMLShapePropertySetMapper(const UniReference< XMLPropertyHandlerFactory >& rFactoryRef);
256*cdf0e10cSrcweir 	XMLShapePropertySetMapper(const UniReference< XMLPropertyHandlerFactory >& rFactoryRef, sal_uInt16 nOffset);
257*cdf0e10cSrcweir 	~XMLShapePropertySetMapper();
258*cdf0e10cSrcweir };
259*cdf0e10cSrcweir 
260*cdf0e10cSrcweir class XMLShapeExportPropertyMapper : public SvXMLExportPropertyMapper
261*cdf0e10cSrcweir {
262*cdf0e10cSrcweir private:
263*cdf0e10cSrcweir 	XMLTextListAutoStylePool *mpListAutoPool;
264*cdf0e10cSrcweir 	SvXMLExport& mrExport;
265*cdf0e10cSrcweir 	SvxXMLNumRuleExport maNumRuleExp;
266*cdf0e10cSrcweir 	sal_Bool mbIsInAutoStyles;
267*cdf0e10cSrcweir 
268*cdf0e10cSrcweir 	const rtl::OUString msCDATA;
269*cdf0e10cSrcweir 	const rtl::OUString msTrue;
270*cdf0e10cSrcweir 	const rtl::OUString msFalse;
271*cdf0e10cSrcweir 
272*cdf0e10cSrcweir protected:
273*cdf0e10cSrcweir 	virtual void ContextFilter(
274*cdf0e10cSrcweir 		::std::vector< XMLPropertyState >& rProperties,
275*cdf0e10cSrcweir 		::com::sun::star::uno::Reference<
276*cdf0e10cSrcweir 			::com::sun::star::beans::XPropertySet > rPropSet ) const;
277*cdf0e10cSrcweir public:
278*cdf0e10cSrcweir 	XMLShapeExportPropertyMapper( const UniReference< XMLPropertySetMapper >& rMapper, XMLTextListAutoStylePool *pListAutoPool, SvXMLExport& rExport );
279*cdf0e10cSrcweir 	virtual ~XMLShapeExportPropertyMapper();
280*cdf0e10cSrcweir 
281*cdf0e10cSrcweir 	virtual void		handleElementItem(
282*cdf0e10cSrcweir                             SvXMLExport& rExport,
283*cdf0e10cSrcweir 							const XMLPropertyState& rProperty,
284*cdf0e10cSrcweir 							sal_uInt16 nFlags,
285*cdf0e10cSrcweir 							const ::std::vector< XMLPropertyState >* pProperties = 0,
286*cdf0e10cSrcweir 							sal_uInt32 nIdx = 0
287*cdf0e10cSrcweir 							) const;
288*cdf0e10cSrcweir 
289*cdf0e10cSrcweir 	void SetAutoStyles( sal_Bool bIsInAutoStyles ) { mbIsInAutoStyles = bIsInAutoStyles; }
290*cdf0e10cSrcweir 
291*cdf0e10cSrcweir 	virtual void handleSpecialItem(
292*cdf0e10cSrcweir 			SvXMLAttributeList& rAttrList,
293*cdf0e10cSrcweir 			const XMLPropertyState& rProperty,
294*cdf0e10cSrcweir 			const SvXMLUnitConverter& rUnitConverter,
295*cdf0e10cSrcweir 			const SvXMLNamespaceMap& rNamespaceMap,
296*cdf0e10cSrcweir 			const ::std::vector< XMLPropertyState > *pProperties = 0,
297*cdf0e10cSrcweir 			sal_uInt32 nIdx = 0 ) const;
298*cdf0e10cSrcweir };
299*cdf0e10cSrcweir 
300*cdf0e10cSrcweir class XMLPagePropertySetMapper : public XMLPropertySetMapper
301*cdf0e10cSrcweir {
302*cdf0e10cSrcweir public:
303*cdf0e10cSrcweir 	XMLPagePropertySetMapper(const UniReference< XMLPropertyHandlerFactory >& rFactoryRef);
304*cdf0e10cSrcweir 	~XMLPagePropertySetMapper();
305*cdf0e10cSrcweir };
306*cdf0e10cSrcweir 
307*cdf0e10cSrcweir class XMLPageExportPropertyMapper : public SvXMLExportPropertyMapper
308*cdf0e10cSrcweir {
309*cdf0e10cSrcweir private:
310*cdf0e10cSrcweir 	SvXMLExport& mrExport;
311*cdf0e10cSrcweir 
312*cdf0e10cSrcweir 	const rtl::OUString msCDATA;
313*cdf0e10cSrcweir 	const rtl::OUString msTrue;
314*cdf0e10cSrcweir 	const rtl::OUString msFalse;
315*cdf0e10cSrcweir 
316*cdf0e10cSrcweir protected:
317*cdf0e10cSrcweir 	virtual void ContextFilter(
318*cdf0e10cSrcweir 		::std::vector< XMLPropertyState >& rProperties,
319*cdf0e10cSrcweir 		::com::sun::star::uno::Reference<
320*cdf0e10cSrcweir 			::com::sun::star::beans::XPropertySet > rPropSet ) const;
321*cdf0e10cSrcweir public:
322*cdf0e10cSrcweir 	XMLPageExportPropertyMapper( const UniReference< XMLPropertySetMapper >& rMapper, SvXMLExport& rExport );
323*cdf0e10cSrcweir 	virtual ~XMLPageExportPropertyMapper();
324*cdf0e10cSrcweir 
325*cdf0e10cSrcweir 	virtual void		handleElementItem(
326*cdf0e10cSrcweir                             SvXMLExport& rExport,
327*cdf0e10cSrcweir                             const XMLPropertyState& rProperty,
328*cdf0e10cSrcweir 							sal_uInt16 nFlags,
329*cdf0e10cSrcweir 							const ::std::vector< XMLPropertyState >* pProperties = 0,
330*cdf0e10cSrcweir 							sal_uInt32 nIdx = 0
331*cdf0e10cSrcweir 							) const;
332*cdf0e10cSrcweir };
333*cdf0e10cSrcweir 
334*cdf0e10cSrcweir #endif	//  _SDPROPLS_HXX
335