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