21#include <com/sun/star/drawing/NormalsKind.hpp>
22#include <com/sun/star/drawing/TextureProjectionMode.hpp>
23#include <com/sun/star/drawing/TextureKind.hpp>
24#include <com/sun/star/drawing/TextureMode.hpp>
25#include <com/sun/star/drawing/ProjectionMode.hpp>
26#include <com/sun/star/drawing/ShadeMode.hpp>
43Svx3DNormalsKindItem::Svx3DNormalsKindItem(sal_uInt16 nVal)
48Svx3DTextureProjectionXItem::Svx3DTextureProjectionXItem(sal_uInt16 nVal)
53Svx3DTextureProjectionYItem::Svx3DTextureProjectionYItem(sal_uInt16 nVal)
58Svx3DTextureKindItem::Svx3DTextureKindItem(sal_uInt16 nVal)
63Svx3DTextureModeItem::Svx3DTextureModeItem(sal_uInt16 nVal)
73Svx3DShadeModeItem::Svx3DShadeModeItem(sal_uInt16 nVal)
108Svx3DCloseFrontItem::Svx3DCloseFrontItem(
bool bVal)
113Svx3DCloseFrontItem* Svx3DCloseFrontItem::Clone(
SfxItemPool*)
const
115 return new Svx3DCloseFrontItem(*
this);
118Svx3DCloseBackItem::Svx3DCloseBackItem(
bool bVal)
123Svx3DCloseBackItem* Svx3DCloseBackItem::Clone(
SfxItemPool*)
const
125 return new Svx3DCloseBackItem(*
this);
131 rVal <<= static_cast<drawing::NormalsKind>(
GetValue());
137 drawing::NormalsKind eVar;
138 if (!(rVal >>= eVar))
140 SetValue(
static_cast<sal_Int16
>(eVar));
144Svx3DNormalsKindItem* Svx3DNormalsKindItem::Clone(
SfxItemPool* )
const
146 return new Svx3DNormalsKindItem(*
this);
152 rVal <<= static_cast<drawing::TextureProjectionMode>(
GetValue());
158 drawing::TextureProjectionMode eVar;
159 if (!(rVal >>= eVar))
161 SetValue(
static_cast<sal_Int16
>(eVar));
165Svx3DTextureProjectionXItem* Svx3DTextureProjectionXItem::Clone(
SfxItemPool* )
const
167 return new Svx3DTextureProjectionXItem(*
this);
173 rVal <<= static_cast<drawing::TextureProjectionMode>(
GetValue());
179 drawing::TextureProjectionMode eVar;
180 if (!(rVal >>= eVar))
182 SetValue(
static_cast<sal_Int16
>(eVar));
186Svx3DTextureProjectionYItem* Svx3DTextureProjectionYItem::Clone(
SfxItemPool* )
const
188 return new Svx3DTextureProjectionYItem(*
this);
194 rVal <<= static_cast<drawing::TextureKind>(
GetValue());
200 drawing::TextureKind eVar;
201 if (!(rVal >>= eVar))
203 SetValue(
static_cast<sal_Int16
>(eVar));
207Svx3DTextureKindItem* Svx3DTextureKindItem::Clone(
SfxItemPool* )
const
209 return new Svx3DTextureKindItem(*
this);
215 rVal <<= static_cast<drawing::TextureMode>(
GetValue());
221 drawing::TextureMode eVar;
222 if (!(rVal >>= eVar))
224 SetValue(
static_cast<sal_Int16
>(eVar));
228Svx3DTextureModeItem* Svx3DTextureModeItem::Clone(
SfxItemPool* )
const
230 return new Svx3DTextureModeItem(*
this);
236 rVal <<= static_cast<drawing::ProjectionMode>(
GetValue());
242 drawing::ProjectionMode eVar;
243 if (!(rVal >>= eVar))
245 SetValue(
static_cast<sal_Int16
>(eVar));
249Svx3DPerspectiveItem* Svx3DPerspectiveItem::Clone(
SfxItemPool* )
const
251 return new Svx3DPerspectiveItem(*
this);
257 rVal <<= static_cast<drawing::ShadeMode>(
GetValue());
263 drawing::ShadeMode eVar;
264 if (!(rVal >>= eVar))
266 SetValue(
static_cast<sal_Int16
>(eVar));
270Svx3DShadeModeItem* Svx3DShadeModeItem::Clone(
SfxItemPool* )
const
272 return new Svx3DShadeModeItem(*
this);
Svx3DCharacterModeItem * Clone(SfxItemPool *=nullptr) const override
Svx3DCharacterModeItem(bool bVal=false)
Svx3DReducedLineGeometryItem * Clone(SfxItemPool *=nullptr) const override
Svx3DReducedLineGeometryItem(bool bVal=false)
Svx3DSmoothLidsItem(bool bVal=false)
Svx3DSmoothLidsItem * Clone(SfxItemPool *=nullptr) const override
Svx3DSmoothNormalsItem(bool bVal=true)
Svx3DSmoothNormalsItem * Clone(SfxItemPool *=nullptr) const override
virtual void SetValue(tools::Long nNew) override
constexpr TypedWhichId< Svx3DNormalsKindItem > SDRATTR_3DOBJ_NORMALS_KIND(SDRATTR_3DOBJ_FIRST+7)
constexpr TypedWhichId< Svx3DPerspectiveItem > SDRATTR_3DSCENE_PERSPECTIVE(SDRATTR_3DSCENE_FIRST+0)
constexpr TypedWhichId< Svx3DTextureModeItem > SDRATTR_3DOBJ_TEXTURE_MODE(SDRATTR_3DOBJ_FIRST+17)
constexpr TypedWhichId< Svx3DSmoothLidsItem > SDRATTR_3DOBJ_SMOOTH_LIDS(SDRATTR_3DOBJ_FIRST+20)
constexpr TypedWhichId< Svx3DCloseFrontItem > SDRATTR_3DOBJ_CLOSE_FRONT(SDRATTR_3DOBJ_FIRST+22)
constexpr TypedWhichId< Svx3DShadeModeItem > SDRATTR_3DSCENE_SHADE_MODE(SDRATTR_3DSCENE_FIRST+30)
constexpr TypedWhichId< Svx3DTextureKindItem > SDRATTR_3DOBJ_TEXTURE_KIND(SDRATTR_3DOBJ_FIRST+16)
constexpr TypedWhichId< Svx3DReducedLineGeometryItem > SDRATTR_3DOBJ_REDUCED_LINE_GEOMETRY(SDRATTR_3DOBJ_FIRST+24)
constexpr TypedWhichId< Svx3DCharacterModeItem > SDRATTR_3DOBJ_CHARACTER_MODE(SDRATTR_3DOBJ_FIRST+21)
constexpr TypedWhichId< Svx3DCloseBackItem > SDRATTR_3DOBJ_CLOSE_BACK(SDRATTR_3DOBJ_FIRST+23)
constexpr TypedWhichId< Svx3DTextureProjectionYItem > SDRATTR_3DOBJ_TEXTURE_PROJ_Y(SDRATTR_3DOBJ_FIRST+10)
constexpr TypedWhichId< Svx3DTextureProjectionXItem > SDRATTR_3DOBJ_TEXTURE_PROJ_X(SDRATTR_3DOBJ_FIRST+9)
constexpr TypedWhichId< Svx3DSmoothNormalsItem > SDRATTR_3DOBJ_SMOOTH_NORMALS(SDRATTR_3DOBJ_FIRST+19)