1*3334a7e6SAndrew Rist /************************************************************** 2cdf0e10cSrcweir * 3*3334a7e6SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*3334a7e6SAndrew Rist * or more contributor license agreements. See the NOTICE file 5*3334a7e6SAndrew Rist * distributed with this work for additional information 6*3334a7e6SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*3334a7e6SAndrew Rist * to you under the Apache License, Version 2.0 (the 8*3334a7e6SAndrew Rist * "License"); you may not use this file except in compliance 9*3334a7e6SAndrew Rist * with the License. You may obtain a copy of the License at 10*3334a7e6SAndrew Rist * 11*3334a7e6SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*3334a7e6SAndrew Rist * 13*3334a7e6SAndrew Rist * Unless required by applicable law or agreed to in writing, 14*3334a7e6SAndrew Rist * software distributed under the License is distributed on an 15*3334a7e6SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*3334a7e6SAndrew Rist * KIND, either express or implied. See the License for the 17*3334a7e6SAndrew Rist * specific language governing permissions and limitations 18*3334a7e6SAndrew Rist * under the License. 19*3334a7e6SAndrew Rist * 20*3334a7e6SAndrew Rist *************************************************************/ 21*3334a7e6SAndrew Rist 22*3334a7e6SAndrew Rist 23cdf0e10cSrcweir #ifndef _SVX3DITEMS_HXX 24cdf0e10cSrcweir #define _SVX3DITEMS_HXX 25cdf0e10cSrcweir 26cdf0e10cSrcweir #include <svl/intitem.hxx> 27cdf0e10cSrcweir #include <svl/eitem.hxx> 28cdf0e10cSrcweir 29cdf0e10cSrcweir 30cdf0e10cSrcweir #include <editeng/colritem.hxx> 31cdf0e10cSrcweir #include <svx/e3ditem.hxx> 32cdf0e10cSrcweir #include <svx/viewpt3d.hxx> 33cdf0e10cSrcweir #include <svx/svddef.hxx> 34cdf0e10cSrcweir #include "svx/svxdllapi.h" 35cdf0e10cSrcweir 36cdf0e10cSrcweir // Svx3D _3DOBJ_ Items 37cdf0e10cSrcweir class SVX_DLLPUBLIC Svx3DPercentDiagonalItem : public SfxUInt16Item { 38cdf0e10cSrcweir public: 39cdf0e10cSrcweir Svx3DPercentDiagonalItem(sal_uInt16 nVal = 10); 40cdf0e10cSrcweir }; 41cdf0e10cSrcweir 42cdf0e10cSrcweir class Svx3DBackscaleItem : public SfxUInt16Item { 43cdf0e10cSrcweir public: 44cdf0e10cSrcweir SVX_DLLPUBLIC Svx3DBackscaleItem(sal_uInt16 nVal = 100); 45cdf0e10cSrcweir }; 46cdf0e10cSrcweir 47cdf0e10cSrcweir class Svx3DDepthItem : public SfxUInt32Item { 48cdf0e10cSrcweir public: 49cdf0e10cSrcweir SVX_DLLPUBLIC Svx3DDepthItem(sal_uInt32 nVal = 1000); 50cdf0e10cSrcweir }; 51cdf0e10cSrcweir 52cdf0e10cSrcweir class SVX_DLLPUBLIC Svx3DHorizontalSegmentsItem : public SfxUInt32Item { 53cdf0e10cSrcweir public: 54cdf0e10cSrcweir Svx3DHorizontalSegmentsItem(sal_uInt32 nVal = 24); 55cdf0e10cSrcweir }; 56cdf0e10cSrcweir 57cdf0e10cSrcweir class Svx3DVerticalSegmentsItem : public SfxUInt32Item { 58cdf0e10cSrcweir public: 59cdf0e10cSrcweir SVX_DLLPUBLIC Svx3DVerticalSegmentsItem(sal_uInt32 nVal = 24); 60cdf0e10cSrcweir }; 61cdf0e10cSrcweir 62cdf0e10cSrcweir class Svx3DEndAngleItem : public SfxUInt32Item { 63cdf0e10cSrcweir public: 64cdf0e10cSrcweir SVX_DLLPUBLIC Svx3DEndAngleItem(sal_uInt32 nVal = 3600); 65cdf0e10cSrcweir }; 66cdf0e10cSrcweir 67cdf0e10cSrcweir class SVX_DLLPUBLIC Svx3DDoubleSidedItem : public SfxBoolItem { 68cdf0e10cSrcweir public: 69cdf0e10cSrcweir Svx3DDoubleSidedItem(sal_Bool bVal = 0); 70cdf0e10cSrcweir }; 71cdf0e10cSrcweir 72cdf0e10cSrcweir // #i28528# 73cdf0e10cSrcweir // Added extra Item (Bool) for chart2 to be able to show reduced line geometry 74cdf0e10cSrcweir class Svx3DReducedLineGeometryItem : public SfxBoolItem { 75cdf0e10cSrcweir public: 76cdf0e10cSrcweir Svx3DReducedLineGeometryItem(sal_Bool bVal = 0); 77cdf0e10cSrcweir virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nItemVersion) const; 78cdf0e10cSrcweir virtual sal_uInt16 GetVersion(sal_uInt16 nFileFormatVersion) const; 79cdf0e10cSrcweir }; 80cdf0e10cSrcweir 81cdf0e10cSrcweir class SVX_DLLPUBLIC Svx3DNormalsKindItem : public SfxUInt16Item { 82cdf0e10cSrcweir public: 83cdf0e10cSrcweir Svx3DNormalsKindItem(sal_uInt16 nVal = 0); 84cdf0e10cSrcweir 85cdf0e10cSrcweir // use drawing::NormalsKind 86cdf0e10cSrcweir SVX_DLLPRIVATE virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const; 87cdf0e10cSrcweir SVX_DLLPRIVATE virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ); 88cdf0e10cSrcweir SVX_DLLPRIVATE virtual SfxPoolItem* Clone(SfxItemPool* pPool = NULL) const; 89cdf0e10cSrcweir }; 90cdf0e10cSrcweir 91cdf0e10cSrcweir class Svx3DNormalsInvertItem : public SfxBoolItem { 92cdf0e10cSrcweir public: 93cdf0e10cSrcweir SVX_DLLPUBLIC Svx3DNormalsInvertItem(sal_Bool bVal = 0); 94cdf0e10cSrcweir }; 95cdf0e10cSrcweir 96cdf0e10cSrcweir class SVX_DLLPUBLIC Svx3DTextureProjectionXItem : public SfxUInt16Item { 97cdf0e10cSrcweir public: 98cdf0e10cSrcweir Svx3DTextureProjectionXItem(sal_uInt16 nVal = 0); 99cdf0e10cSrcweir 100cdf0e10cSrcweir // use drawing::TextureProjectionMode 101cdf0e10cSrcweir SVX_DLLPRIVATE virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const; 102cdf0e10cSrcweir SVX_DLLPRIVATE virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ); 103cdf0e10cSrcweir SVX_DLLPRIVATE virtual SfxPoolItem* Clone(SfxItemPool* pPool = NULL) const; 104cdf0e10cSrcweir }; 105cdf0e10cSrcweir 106cdf0e10cSrcweir class SVX_DLLPUBLIC Svx3DTextureProjectionYItem : public SfxUInt16Item { 107cdf0e10cSrcweir public: 108cdf0e10cSrcweir Svx3DTextureProjectionYItem(sal_uInt16 nVal = 0); 109cdf0e10cSrcweir 110cdf0e10cSrcweir // use drawing::TextureProjectionMode 111cdf0e10cSrcweir virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const; 112cdf0e10cSrcweir virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ); 113cdf0e10cSrcweir virtual SfxPoolItem* Clone(SfxItemPool* pPool = NULL) const; 114cdf0e10cSrcweir }; 115cdf0e10cSrcweir 116cdf0e10cSrcweir class Svx3DShadow3DItem : public SfxBoolItem { 117cdf0e10cSrcweir public: 118cdf0e10cSrcweir SVX_DLLPUBLIC Svx3DShadow3DItem(sal_Bool bVal = 0); 119cdf0e10cSrcweir }; 120cdf0e10cSrcweir 121cdf0e10cSrcweir class Svx3DMaterialColorItem : public SvxColorItem { 122cdf0e10cSrcweir public: 123cdf0e10cSrcweir Svx3DMaterialColorItem(const Color& rCol = Color(0x0000b8ff)); 124cdf0e10cSrcweir }; 125cdf0e10cSrcweir 126cdf0e10cSrcweir class Svx3DMaterialEmissionItem : public SvxColorItem { 127cdf0e10cSrcweir public: 128cdf0e10cSrcweir SVX_DLLPUBLIC Svx3DMaterialEmissionItem(const Color& rCol = Color(0x00000000)); 129cdf0e10cSrcweir }; 130cdf0e10cSrcweir 131cdf0e10cSrcweir class Svx3DMaterialSpecularItem : public SvxColorItem { 132cdf0e10cSrcweir public: 133cdf0e10cSrcweir SVX_DLLPUBLIC Svx3DMaterialSpecularItem(const Color& rCol = Color(0x00ffffff)); 134cdf0e10cSrcweir }; 135cdf0e10cSrcweir 136cdf0e10cSrcweir class Svx3DMaterialSpecularIntensityItem : public SfxUInt16Item { 137cdf0e10cSrcweir public: 138cdf0e10cSrcweir SVX_DLLPUBLIC Svx3DMaterialSpecularIntensityItem(sal_uInt16 nVal = 15); 139cdf0e10cSrcweir }; 140cdf0e10cSrcweir 141cdf0e10cSrcweir class SVX_DLLPUBLIC Svx3DTextureKindItem : public SfxUInt16Item { 142cdf0e10cSrcweir public: 143cdf0e10cSrcweir Svx3DTextureKindItem(sal_uInt16 nVal = 3); 144cdf0e10cSrcweir 145cdf0e10cSrcweir // use drawing::TextureKind 146cdf0e10cSrcweir SVX_DLLPRIVATE virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const; 147cdf0e10cSrcweir SVX_DLLPRIVATE virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ); 148cdf0e10cSrcweir SVX_DLLPRIVATE virtual SfxPoolItem* Clone(SfxItemPool* pPool = NULL) const; 149cdf0e10cSrcweir }; 150cdf0e10cSrcweir 151cdf0e10cSrcweir class SVX_DLLPUBLIC Svx3DTextureModeItem : public SfxUInt16Item { 152cdf0e10cSrcweir public: 153cdf0e10cSrcweir Svx3DTextureModeItem(sal_uInt16 nVal = 2); 154cdf0e10cSrcweir 155cdf0e10cSrcweir // use drawing:TextureMode 156cdf0e10cSrcweir SVX_DLLPRIVATE virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const; 157cdf0e10cSrcweir SVX_DLLPRIVATE virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ); 158cdf0e10cSrcweir SVX_DLLPRIVATE virtual SfxPoolItem* Clone(SfxItemPool* pPool = NULL) const; 159cdf0e10cSrcweir }; 160cdf0e10cSrcweir 161cdf0e10cSrcweir class Svx3DTextureFilterItem : public SfxBoolItem { 162cdf0e10cSrcweir public: 163cdf0e10cSrcweir SVX_DLLPUBLIC Svx3DTextureFilterItem(sal_Bool bVal = 0); 164cdf0e10cSrcweir }; 165cdf0e10cSrcweir 166cdf0e10cSrcweir // Svx3D _3DSCENE_ Items 167cdf0e10cSrcweir class SVX_DLLPUBLIC Svx3DPerspectiveItem : public SfxUInt16Item { 168cdf0e10cSrcweir public: 169cdf0e10cSrcweir Svx3DPerspectiveItem(sal_uInt16 nVal = (sal_uInt16)PR_PERSPECTIVE); 170cdf0e10cSrcweir 171cdf0e10cSrcweir // use drawing::ProjectionMode 172cdf0e10cSrcweir SVX_DLLPRIVATE virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const; 173cdf0e10cSrcweir SVX_DLLPRIVATE virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ); 174cdf0e10cSrcweir SVX_DLLPRIVATE virtual SfxPoolItem* Clone(SfxItemPool* pPool = NULL) const; 175cdf0e10cSrcweir }; 176cdf0e10cSrcweir 177cdf0e10cSrcweir class Svx3DDistanceItem : public SfxUInt32Item { 178cdf0e10cSrcweir public: 179cdf0e10cSrcweir SVX_DLLPUBLIC Svx3DDistanceItem(sal_uInt32 nVal = 100); 180cdf0e10cSrcweir }; 181cdf0e10cSrcweir 182cdf0e10cSrcweir class Svx3DFocalLengthItem : public SfxUInt32Item { 183cdf0e10cSrcweir public: 184cdf0e10cSrcweir SVX_DLLPUBLIC Svx3DFocalLengthItem(sal_uInt32 nVal = 100); 185cdf0e10cSrcweir }; 186cdf0e10cSrcweir 187cdf0e10cSrcweir class Svx3DTwoSidedLightingItem : public SfxBoolItem { 188cdf0e10cSrcweir public: 189cdf0e10cSrcweir SVX_DLLPUBLIC Svx3DTwoSidedLightingItem(sal_Bool bVal = 0); 190cdf0e10cSrcweir }; 191cdf0e10cSrcweir 192cdf0e10cSrcweir class SVX_DLLPUBLIC Svx3DLightcolor1Item : public SvxColorItem { 193cdf0e10cSrcweir public: 194cdf0e10cSrcweir Svx3DLightcolor1Item(const Color& rCol = Color(0xffcccccc)); 195cdf0e10cSrcweir }; 196cdf0e10cSrcweir 197cdf0e10cSrcweir class SVX_DLLPUBLIC Svx3DLightcolor2Item : public SvxColorItem { 198cdf0e10cSrcweir public: 199cdf0e10cSrcweir Svx3DLightcolor2Item(const Color& rCol = Color(0x00000000)); 200cdf0e10cSrcweir }; 201cdf0e10cSrcweir 202cdf0e10cSrcweir class SVX_DLLPUBLIC Svx3DLightcolor3Item : public SvxColorItem { 203cdf0e10cSrcweir public: 204cdf0e10cSrcweir Svx3DLightcolor3Item(const Color& rCol = Color(0x00000000)); 205cdf0e10cSrcweir }; 206cdf0e10cSrcweir 207cdf0e10cSrcweir class SVX_DLLPUBLIC Svx3DLightcolor4Item : public SvxColorItem { 208cdf0e10cSrcweir public: 209cdf0e10cSrcweir Svx3DLightcolor4Item(const Color& rCol = Color(0x00000000)); 210cdf0e10cSrcweir }; 211cdf0e10cSrcweir 212cdf0e10cSrcweir class SVX_DLLPUBLIC Svx3DLightcolor5Item : public SvxColorItem { 213cdf0e10cSrcweir public: 214cdf0e10cSrcweir Svx3DLightcolor5Item(const Color& rCol = Color(0x00000000)); 215cdf0e10cSrcweir }; 216cdf0e10cSrcweir 217cdf0e10cSrcweir class SVX_DLLPUBLIC Svx3DLightcolor6Item : public SvxColorItem { 218cdf0e10cSrcweir public: 219cdf0e10cSrcweir Svx3DLightcolor6Item(const Color& rCol = Color(0x00000000)); 220cdf0e10cSrcweir }; 221cdf0e10cSrcweir 222cdf0e10cSrcweir class SVX_DLLPUBLIC Svx3DLightcolor7Item : public SvxColorItem { 223cdf0e10cSrcweir public: 224cdf0e10cSrcweir Svx3DLightcolor7Item(const Color& rCol = Color(0x00000000)); 225cdf0e10cSrcweir }; 226cdf0e10cSrcweir 227cdf0e10cSrcweir class SVX_DLLPUBLIC Svx3DLightcolor8Item : public SvxColorItem { 228cdf0e10cSrcweir public: 229cdf0e10cSrcweir Svx3DLightcolor8Item(const Color& rCol = Color(0x00000000)); 230cdf0e10cSrcweir }; 231cdf0e10cSrcweir 232cdf0e10cSrcweir class SVX_DLLPUBLIC Svx3DAmbientcolorItem : public SvxColorItem { 233cdf0e10cSrcweir public: 234cdf0e10cSrcweir Svx3DAmbientcolorItem(const Color& rCol = Color(0x00666666)); 235cdf0e10cSrcweir }; 236cdf0e10cSrcweir 237cdf0e10cSrcweir class SVX_DLLPUBLIC Svx3DLightOnOff1Item : public SfxBoolItem { 238cdf0e10cSrcweir public: 239cdf0e10cSrcweir Svx3DLightOnOff1Item(sal_Bool bVal = 1); 240cdf0e10cSrcweir }; 241cdf0e10cSrcweir 242cdf0e10cSrcweir class SVX_DLLPUBLIC Svx3DLightOnOff2Item : public SfxBoolItem { 243cdf0e10cSrcweir public: 244cdf0e10cSrcweir Svx3DLightOnOff2Item(sal_Bool bVal = 0); 245cdf0e10cSrcweir }; 246cdf0e10cSrcweir 247cdf0e10cSrcweir class SVX_DLLPUBLIC Svx3DLightOnOff3Item : public SfxBoolItem { 248cdf0e10cSrcweir public: 249cdf0e10cSrcweir Svx3DLightOnOff3Item(sal_Bool bVal = 0); 250cdf0e10cSrcweir }; 251cdf0e10cSrcweir 252cdf0e10cSrcweir class SVX_DLLPUBLIC Svx3DLightOnOff4Item : public SfxBoolItem { 253cdf0e10cSrcweir public: 254cdf0e10cSrcweir Svx3DLightOnOff4Item(sal_Bool bVal = 0); 255cdf0e10cSrcweir }; 256cdf0e10cSrcweir 257cdf0e10cSrcweir class SVX_DLLPUBLIC Svx3DLightOnOff5Item : public SfxBoolItem { 258cdf0e10cSrcweir public: 259cdf0e10cSrcweir Svx3DLightOnOff5Item(sal_Bool bVal = 0); 260cdf0e10cSrcweir }; 261cdf0e10cSrcweir 262cdf0e10cSrcweir class SVX_DLLPUBLIC Svx3DLightOnOff6Item : public SfxBoolItem { 263cdf0e10cSrcweir public: 264cdf0e10cSrcweir Svx3DLightOnOff6Item(sal_Bool bVal = 0); 265cdf0e10cSrcweir }; 266cdf0e10cSrcweir 267cdf0e10cSrcweir class SVX_DLLPUBLIC Svx3DLightOnOff7Item : public SfxBoolItem { 268cdf0e10cSrcweir public: 269cdf0e10cSrcweir Svx3DLightOnOff7Item(sal_Bool bVal = 0); 270cdf0e10cSrcweir }; 271cdf0e10cSrcweir 272cdf0e10cSrcweir class SVX_DLLPUBLIC Svx3DLightOnOff8Item : public SfxBoolItem { 273cdf0e10cSrcweir public: 274cdf0e10cSrcweir Svx3DLightOnOff8Item(sal_Bool bVal = 0); 275cdf0e10cSrcweir }; 276cdf0e10cSrcweir 277cdf0e10cSrcweir class SVX_DLLPUBLIC Svx3DLightDirection1Item : public SvxB3DVectorItem { 278cdf0e10cSrcweir public: 279cdf0e10cSrcweir Svx3DLightDirection1Item(const basegfx::B3DVector& rVec = basegfx::B3DVector(0.57735026918963, 0.57735026918963, 0.57735026918963)); 280cdf0e10cSrcweir }; 281cdf0e10cSrcweir 282cdf0e10cSrcweir class SVX_DLLPUBLIC Svx3DLightDirection2Item : public SvxB3DVectorItem { 283cdf0e10cSrcweir public: 284cdf0e10cSrcweir Svx3DLightDirection2Item(const basegfx::B3DVector& rVec = basegfx::B3DVector(0.0,0.0,1.0)); 285cdf0e10cSrcweir }; 286cdf0e10cSrcweir 287cdf0e10cSrcweir class SVX_DLLPUBLIC Svx3DLightDirection3Item : public SvxB3DVectorItem { 288cdf0e10cSrcweir public: 289cdf0e10cSrcweir Svx3DLightDirection3Item(const basegfx::B3DVector& rVec = basegfx::B3DVector(0.0,0.0,1.0)); 290cdf0e10cSrcweir }; 291cdf0e10cSrcweir 292cdf0e10cSrcweir class SVX_DLLPUBLIC Svx3DLightDirection4Item : public SvxB3DVectorItem { 293cdf0e10cSrcweir public: 294cdf0e10cSrcweir Svx3DLightDirection4Item(const basegfx::B3DVector& rVec = basegfx::B3DVector(0.0,0.0,1.0)); 295cdf0e10cSrcweir }; 296cdf0e10cSrcweir 297cdf0e10cSrcweir class SVX_DLLPUBLIC Svx3DLightDirection5Item : public SvxB3DVectorItem { 298cdf0e10cSrcweir public: 299cdf0e10cSrcweir Svx3DLightDirection5Item(const basegfx::B3DVector& rVec = basegfx::B3DVector(0.0,0.0,1.0)); 300cdf0e10cSrcweir }; 301cdf0e10cSrcweir 302cdf0e10cSrcweir class SVX_DLLPUBLIC Svx3DLightDirection6Item : public SvxB3DVectorItem { 303cdf0e10cSrcweir public: 304cdf0e10cSrcweir Svx3DLightDirection6Item(const basegfx::B3DVector& rVec = basegfx::B3DVector(0.0,0.0,1.0)); 305cdf0e10cSrcweir }; 306cdf0e10cSrcweir 307cdf0e10cSrcweir class SVX_DLLPUBLIC Svx3DLightDirection7Item : public SvxB3DVectorItem { 308cdf0e10cSrcweir public: 309cdf0e10cSrcweir Svx3DLightDirection7Item(const basegfx::B3DVector& rVec = basegfx::B3DVector(0.0,0.0,1.0)); 310cdf0e10cSrcweir }; 311cdf0e10cSrcweir 312cdf0e10cSrcweir class SVX_DLLPUBLIC Svx3DLightDirection8Item : public SvxB3DVectorItem { 313cdf0e10cSrcweir public: 314cdf0e10cSrcweir Svx3DLightDirection8Item(const basegfx::B3DVector& rVec = basegfx::B3DVector(0.0,0.0,1.0)); 315cdf0e10cSrcweir }; 316cdf0e10cSrcweir 317cdf0e10cSrcweir class Svx3DShadowSlantItem : public SfxUInt16Item { 318cdf0e10cSrcweir public: 319cdf0e10cSrcweir SVX_DLLPUBLIC Svx3DShadowSlantItem(sal_uInt16 nVal = 0); 320cdf0e10cSrcweir }; 321cdf0e10cSrcweir 322cdf0e10cSrcweir class SVX_DLLPUBLIC Svx3DShadeModeItem : public SfxUInt16Item { 323cdf0e10cSrcweir public: 324cdf0e10cSrcweir Svx3DShadeModeItem(sal_uInt16 nVal = 2); 325cdf0e10cSrcweir 326cdf0e10cSrcweir // use drawing::ShadeMode 327cdf0e10cSrcweir SVX_DLLPRIVATE virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const; 328cdf0e10cSrcweir SVX_DLLPRIVATE virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ); 329cdf0e10cSrcweir SVX_DLLPRIVATE virtual SfxPoolItem* Clone(SfxItemPool* pPool = NULL) const; 330cdf0e10cSrcweir }; 331cdf0e10cSrcweir 332cdf0e10cSrcweir ////////////////////////////////////////////////////////////////////////////// 333cdf0e10cSrcweir // #107245# Item to replace bExtrudeSmoothed and bLatheSmoothed 334cdf0e10cSrcweir class Svx3DSmoothNormalsItem : public SfxBoolItem { 335cdf0e10cSrcweir public: 336cdf0e10cSrcweir Svx3DSmoothNormalsItem(sal_Bool bVal = 1); 337cdf0e10cSrcweir virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nItemVersion) const; 338cdf0e10cSrcweir virtual sal_uInt16 GetVersion(sal_uInt16 nFileFormatVersion) const; 339cdf0e10cSrcweir }; 340cdf0e10cSrcweir 341cdf0e10cSrcweir // #107245# Item to replace bExtrudeSmoothFrontBack and bLatheSmoothFrontBack 342cdf0e10cSrcweir class Svx3DSmoothLidsItem : public SfxBoolItem { 343cdf0e10cSrcweir public: 344cdf0e10cSrcweir Svx3DSmoothLidsItem(sal_Bool bVal = 0); 345cdf0e10cSrcweir virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nItemVersion) const; 346cdf0e10cSrcweir virtual sal_uInt16 GetVersion(sal_uInt16 nFileFormatVersion) const; 347cdf0e10cSrcweir }; 348cdf0e10cSrcweir 349cdf0e10cSrcweir // #107245# Item to replace bExtrudeCharacterMode and bLatheCharacterMode 350cdf0e10cSrcweir class Svx3DCharacterModeItem : public SfxBoolItem { 351cdf0e10cSrcweir public: 352cdf0e10cSrcweir Svx3DCharacterModeItem(sal_Bool bVal = 0); 353cdf0e10cSrcweir virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nItemVersion) const; 354cdf0e10cSrcweir virtual sal_uInt16 GetVersion(sal_uInt16 nFileFormatVersion) const; 355cdf0e10cSrcweir }; 356cdf0e10cSrcweir 357cdf0e10cSrcweir // #107245# Item to replace bExtrudeCloseFront and bLatheCloseFront 358cdf0e10cSrcweir class SVX_DLLPUBLIC Svx3DCloseFrontItem : public SfxBoolItem { 359cdf0e10cSrcweir public: 360cdf0e10cSrcweir Svx3DCloseFrontItem(sal_Bool bVal = 1); 361cdf0e10cSrcweir SVX_DLLPRIVATE virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nItemVersion) const; 362cdf0e10cSrcweir SVX_DLLPRIVATE virtual sal_uInt16 GetVersion(sal_uInt16 nFileFormatVersion) const; 363cdf0e10cSrcweir }; 364cdf0e10cSrcweir 365cdf0e10cSrcweir // #107245# Item to replace bExtrudeCloseBack and bLatheCloseBack 366cdf0e10cSrcweir class SVX_DLLPUBLIC Svx3DCloseBackItem : public SfxBoolItem { 367cdf0e10cSrcweir public: 368cdf0e10cSrcweir Svx3DCloseBackItem(sal_Bool bVal = 1); 369cdf0e10cSrcweir SVX_DLLPRIVATE virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nItemVersion) const; 370cdf0e10cSrcweir SVX_DLLPRIVATE virtual sal_uInt16 GetVersion(sal_uInt16 nFileFormatVersion) const; 371cdf0e10cSrcweir }; 372cdf0e10cSrcweir 373cdf0e10cSrcweir #endif // _SVX3DITEMS_HXX 374