LibreOffice Module svx (master) 1
float3d.hxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19
20#ifndef INCLUDED_SVX_FLOAT3D_HXX
21#define INCLUDED_SVX_FLOAT3D_HXX
22
23#include <memory>
24#include <sfx2/ctrlitem.hxx>
25#include <sfx2/dockwin.hxx>
26#include <vcl/weld.hxx>
27#include <svx/svxdllapi.h>
28
29#include <svx/dlgctl3d.hxx>
30
31
32enum class ViewType3D
33{
34 Geo = 1,
36 Light,
37 Texture,
39};
40
41class FmFormModel;
42class Svx3DCtrlItem;
44class ColorListBox;
45
46struct Svx3DWinImpl;
47
49{
50public:
51 explicit LightButton(std::unique_ptr<weld::ToggleButton> xButton);
52
53 void switchLightOn(bool bOn);
54 bool isLightOn() const { return m_bLightOn;}
55
56 bool get_active() const { return m_xButton->get_active(); }
57 void set_active(bool bActive) { m_xButton->set_active(bActive); }
58
59 TriState get_state() const { return m_xButton->get_state(); }
60 void set_state(TriState eState) { m_xButton->set_state(eState); }
61
62 weld::ToggleButton* get_widget() const { return m_xButton.get(); }
63
65 {
66 m_xButton->connect_clicked(rLink);
67 }
68
69 bool get_prev_active() const { return m_bButtonPrevActive; }
70 void set_prev_active(bool bPrevActive) { m_bButtonPrevActive = bPrevActive; }
71
72private:
73 std::unique_ptr<weld::ToggleButton> m_xButton;
76};
77
79{
80 friend class Svx3DChildWindow;
81 friend class Svx3DCtrlItem;
82
83private:
84 std::unique_ptr<weld::ToggleButton> m_xBtnGeo;
85 std::unique_ptr<weld::ToggleButton> m_xBtnRepresentation;
86 std::unique_ptr<weld::ToggleButton> m_xBtnLight;
87 std::unique_ptr<weld::ToggleButton> m_xBtnTexture;
88 std::unique_ptr<weld::ToggleButton> m_xBtnMaterial;
89 std::unique_ptr<weld::ToggleButton> m_xBtnUpdate;
90 std::unique_ptr<weld::Button> m_xBtnAssign;
91
92// geometry
93 std::unique_ptr<weld::Container> m_xFLGeometrie;
94 std::unique_ptr<weld::Label> m_xFtPercentDiagonal;
95 std::unique_ptr<weld::MetricSpinButton> m_xMtrPercentDiagonal;
96 std::unique_ptr<weld::Label> m_xFtBackscale;
97 std::unique_ptr<weld::MetricSpinButton> m_xMtrBackscale;
98 std::unique_ptr<weld::Label> m_xFtEndAngle;
99 std::unique_ptr<weld::MetricSpinButton> m_xMtrEndAngle;
100 std::unique_ptr<weld::Label> m_xFtDepth;
101 std::unique_ptr<weld::MetricSpinButton> m_xMtrDepth;
102
103 std::unique_ptr<weld::Container> m_xFLSegments;
104 std::unique_ptr<weld::SpinButton> m_xNumHorizontal;
105 std::unique_ptr<weld::SpinButton> m_xNumVertical;
106
107 std::unique_ptr<weld::Container> m_xFLNormals;
108 std::unique_ptr<weld::ToggleButton> m_xBtnNormalsObj;
109 std::unique_ptr<weld::ToggleButton> m_xBtnNormalsFlat;
110 std::unique_ptr<weld::ToggleButton> m_xBtnNormalsSphere;
111 std::unique_ptr<weld::ToggleButton> m_xBtnNormalsInvert;
112 std::unique_ptr<weld::ToggleButton> m_xBtnTwoSidedLighting;
113 std::unique_ptr<weld::ToggleButton> m_xBtnDoubleSided;
114
115// presentation
116 std::unique_ptr<weld::Container> m_xFLRepresentation;
117 std::unique_ptr<weld::ComboBox> m_xLbShademode;
118
119 std::unique_ptr<weld::Container> m_xFLShadow;
120 std::unique_ptr<weld::ToggleButton> m_xBtnShadow3d;
121 std::unique_ptr<weld::Label> m_xFtSlant;
122 std::unique_ptr<weld::MetricSpinButton> m_xMtrSlant;
123
124 std::unique_ptr<weld::Container> m_xFLCamera;
125 std::unique_ptr<weld::MetricSpinButton> m_xMtrDistance;
126 std::unique_ptr<weld::MetricSpinButton> m_xMtrFocalLength;
127
128// lighting
129 std::unique_ptr<weld::Container> m_xFLLight;
130 std::unique_ptr<LightButton> m_xBtnLight1;
131 std::unique_ptr<LightButton> m_xBtnLight2;
132 std::unique_ptr<LightButton> m_xBtnLight3;
133 std::unique_ptr<LightButton> m_xBtnLight4;
134 std::unique_ptr<LightButton> m_xBtnLight5;
135 std::unique_ptr<LightButton> m_xBtnLight6;
136 std::unique_ptr<LightButton> m_xBtnLight7;
137 std::unique_ptr<LightButton> m_xBtnLight8;
138 std::unique_ptr<ColorListBox> m_xLbLight1;
139 std::unique_ptr<ColorListBox> m_xLbLight2;
140 std::unique_ptr<ColorListBox> m_xLbLight3;
141 std::unique_ptr<ColorListBox> m_xLbLight4;
142 std::unique_ptr<ColorListBox> m_xLbLight5;
143 std::unique_ptr<ColorListBox> m_xLbLight6;
144 std::unique_ptr<ColorListBox> m_xLbLight7;
145 std::unique_ptr<ColorListBox> m_xLbLight8;
146 std::unique_ptr<weld::Button> m_xBtnLightColor;
147 std::unique_ptr<ColorListBox> m_xLbAmbientlight; // ListBox
148 std::unique_ptr<weld::Button> m_xBtnAmbientColor; // color button
149
150// Textures
151 std::unique_ptr<weld::Container> m_xFLTexture;
152 std::unique_ptr<weld::ToggleButton> m_xBtnTexLuminance;
153 std::unique_ptr<weld::ToggleButton> m_xBtnTexColor;
154 std::unique_ptr<weld::ToggleButton> m_xBtnTexReplace;
155 std::unique_ptr<weld::ToggleButton> m_xBtnTexModulate;
156 std::unique_ptr<weld::ToggleButton> m_xBtnTexObjectX;
157 std::unique_ptr<weld::ToggleButton> m_xBtnTexParallelX;
158 std::unique_ptr<weld::ToggleButton> m_xBtnTexCircleX;
159 std::unique_ptr<weld::ToggleButton> m_xBtnTexObjectY;
160 std::unique_ptr<weld::ToggleButton> m_xBtnTexParallelY;
161 std::unique_ptr<weld::ToggleButton> m_xBtnTexCircleY;
162 std::unique_ptr<weld::ToggleButton> m_xBtnTexFilter;
163
164// material
165// material editor
166 std::unique_ptr<weld::Container> m_xFLMaterial;
167 std::unique_ptr<weld::ComboBox> m_xLbMatFavorites;
168 std::unique_ptr<ColorListBox> m_xLbMatColor;
169 std::unique_ptr<weld::Button> m_xBtnMatColor;
170 std::unique_ptr<ColorListBox> m_xLbMatEmission;
171 std::unique_ptr<weld::Button> m_xBtnEmissionColor;
172
173 std::unique_ptr<weld::Container> m_xFLMatSpecular;
174 std::unique_ptr<ColorListBox> m_xLbMatSpecular;
175 std::unique_ptr<weld::Button> m_xBtnSpecularColor;
176 std::unique_ptr<weld::MetricSpinButton> m_xMtrMatSpecularIntensity;
177
178 std::unique_ptr<Svx3DPreviewControl> m_xCtlPreview;
179 std::unique_ptr<weld::CustomWeld> m_xCtlPreviewWin;
180
181 std::unique_ptr<weld::Widget> m_xLightPreviewGrid;
182 std::unique_ptr<weld::Scale> m_xHoriScale;
183 std::unique_ptr<weld::Scale> m_xVertScale;
184 std::unique_ptr<weld::Button> m_xBtn_Corner;
185 std::unique_ptr<Svx3DLightControl> m_xLightPreview;
186 std::unique_ptr<weld::CustomWeld> m_xCtlLightPreviewWin;
187 std::unique_ptr<SvxLightCtl3D> m_xCtlLightPreview;
188
189// bottom part
190 std::unique_ptr<weld::Button> m_xBtnConvertTo3D;
191 std::unique_ptr<weld::Button> m_xBtnLatheObject;
192 std::unique_ptr<weld::ToggleButton> m_xBtnPerspective;
193
194// the rest ...
197
198 // Model, Page, View etc. for favourites
199 std::unique_ptr<FmFormModel> pModel;
200
202 std::unique_ptr<Svx3DCtrlItem> pControllerItem;
203
204 std::unique_ptr<SvxConvertTo3DItem> pConvertTo3DItem;
205 std::unique_ptr<SvxConvertTo3DItem> pConvertTo3DLatheItem;
206
207 std::unique_ptr<Svx3DWinImpl> mpImpl;
210
211 // ItemSet used to remember set 2d attributes
212 std::unique_ptr<SfxItemSet> mpRemember2DAttributes;
213
214 DECL_DLLPRIVATE_LINK( ClickViewTypeHdl, weld::Button&, void );
215 DECL_DLLPRIVATE_LINK( ClickUpdateHdl, weld::Toggleable&, void );
216 DECL_DLLPRIVATE_LINK( ClickAssignHdl, weld::Button&, void );
218 DECL_DLLPRIVATE_LINK( ClickColorHdl, weld::Button&, void );
220 DECL_DLLPRIVATE_LINK( SelectColorHdl, ColorListBox&, void );
222 DECL_DLLPRIVATE_LINK( ModifySpinHdl, weld::SpinButton&, void );
223 void ClickLight(const LightButton& rBtn);
224
225 DECL_DLLPRIVATE_LINK( ChangeSelectionCallbackHdl, SvxLightCtl3D*, void );
226
227 SVX_DLLPRIVATE void Construct();
228 SVX_DLLPRIVATE void Reset();
229
230 SVX_DLLPRIVATE static void LBSelectColor( ColorListBox* pLb, const Color& rColor );
231 SVX_DLLPRIVATE sal_uInt16 GetLightSource( const LightButton* pBtn ) const;
232 SVX_DLLPRIVATE ColorListBox* GetCLbByButton( const LightButton* pBtn = nullptr );
233 SVX_DLLPRIVATE LightButton* GetLbByButton( const weld::Button* pBtn );
234
235 virtual void Resize() override;
236
237public:
239 vcl::Window* pParent );
240 virtual ~Svx3DWin() override;
241 virtual void dispose() override;
242
243 void InitColorLB();
244 bool IsUpdateMode() const { return bUpdate; }
245
246 void Update( SfxItemSet const & rSet );
247 void GetAttr( SfxItemSet& rSet );
248
249 void UpdatePreview(); // upward (private)
250 void DocumentReload();
251};
252
253/*************************************************************************
254|*
255|* Controller item for 3D Window (Floating/Docking)
256|*
257\************************************************************************/
258
260{
261 virtual void StateChangedAtToolBoxControl( sal_uInt16 nSId, SfxItemState eState,
262 const SfxPoolItem* pState ) override;
263
264 public:
265 Svx3DCtrlItem( sal_uInt16, SfxBindings* );
266};
267
268/*************************************************************************
269|*
270|* ControllerItem for State of a Slot
271|* (SID_CONVERT_TO_3D, SID_CONVERT_TO_3D_LATHE_FAST)
272|*
273\************************************************************************/
274
276{
277 bool bState;
278
279 virtual void StateChangedAtToolBoxControl(sal_uInt16 nSId, SfxItemState eState, const SfxPoolItem* pState) override;
280
281public:
283 bool GetState() const { return bState; }
284};
285
286#endif // INCLUDED_SVX_FLOAT3D_HXX
287
288/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
void connect_clicked(const Link< weld::Button &, void > &rLink)
Definition: float3d.hxx:64
weld::ToggleButton * get_widget() const
Definition: float3d.hxx:62
TriState get_state() const
Definition: float3d.hxx:59
bool isLightOn() const
Definition: float3d.hxx:54
bool get_active() const
Definition: float3d.hxx:56
std::unique_ptr< weld::ToggleButton > m_xButton
Definition: float3d.hxx:73
bool get_prev_active() const
Definition: float3d.hxx:69
void set_prev_active(bool bPrevActive)
Definition: float3d.hxx:70
void set_state(TriState eState)
Definition: float3d.hxx:60
bool m_bLightOn
Definition: float3d.hxx:74
bool m_bButtonPrevActive
Definition: float3d.hxx:75
void set_active(bool bActive)
Definition: float3d.hxx:57
SfxBindings * pBindings
virtual void Resize() override
virtual void dispose() override
Svx3DCtrlItem(sal_uInt16, SfxBindings *)
Definition: float3d.cxx:2890
virtual void StateChangedAtToolBoxControl(sal_uInt16 nSId, SfxItemState eState, const SfxPoolItem *pState) override
Definition: float3d.cxx:2897
std::unique_ptr< weld::Button > m_xBtnLightColor
Definition: float3d.hxx:146
std::unique_ptr< weld::MetricSpinButton > m_xMtrSlant
Definition: float3d.hxx:122
std::unique_ptr< SvxLightCtl3D > m_xCtlLightPreview
Definition: float3d.hxx:187
std::unique_ptr< weld::ToggleButton > m_xBtnTexColor
Definition: float3d.hxx:153
std::unique_ptr< weld::MetricSpinButton > m_xMtrDepth
Definition: float3d.hxx:101
std::unique_ptr< LightButton > m_xBtnLight8
Definition: float3d.hxx:137
std::unique_ptr< ColorListBox > m_xLbMatColor
Definition: float3d.hxx:168
std::unique_ptr< weld::ToggleButton > m_xBtnTexParallelY
Definition: float3d.hxx:160
std::unique_ptr< ColorListBox > m_xLbLight1
Definition: float3d.hxx:138
std::unique_ptr< weld::ToggleButton > m_xBtnMaterial
Definition: float3d.hxx:88
DECL_DLLPRIVATE_LINK(ChangeSelectionCallbackHdl, SvxLightCtl3D *, void)
DECL_DLLPRIVATE_LINK(SelectColorHdl, ColorListBox &, void)
std::unique_ptr< weld::CustomWeld > m_xCtlPreviewWin
Definition: float3d.hxx:179
std::unique_ptr< weld::CustomWeld > m_xCtlLightPreviewWin
Definition: float3d.hxx:186
std::unique_ptr< weld::ToggleButton > m_xBtnNormalsSphere
Definition: float3d.hxx:110
std::unique_ptr< weld::ToggleButton > m_xBtnTexture
Definition: float3d.hxx:87
std::unique_ptr< weld::Container > m_xFLSegments
Definition: float3d.hxx:103
std::unique_ptr< weld::Label > m_xFtSlant
Definition: float3d.hxx:121
std::unique_ptr< weld::Button > m_xBtnConvertTo3D
Definition: float3d.hxx:190
std::unique_ptr< weld::ToggleButton > m_xBtnTexParallelX
Definition: float3d.hxx:157
std::unique_ptr< weld::ToggleButton > m_xBtnPerspective
Definition: float3d.hxx:192
std::unique_ptr< weld::ToggleButton > m_xBtnTexModulate
Definition: float3d.hxx:155
std::unique_ptr< weld::Container > m_xFLGeometrie
Definition: float3d.hxx:93
std::unique_ptr< weld::Button > m_xBtnMatColor
Definition: float3d.hxx:169
DECL_DLLPRIVATE_LINK(ModifyMetricHdl, weld::MetricSpinButton &, void)
DECL_DLLPRIVATE_LINK(ClickViewTypeHdl, weld::Button &, void)
std::unique_ptr< Svx3DCtrlItem > pControllerItem
Definition: float3d.hxx:202
DECL_DLLPRIVATE_LINK(ModifySpinHdl, weld::SpinButton &, void)
std::unique_ptr< weld::Container > m_xFLCamera
Definition: float3d.hxx:124
std::unique_ptr< weld::MetricSpinButton > m_xMtrBackscale
Definition: float3d.hxx:97
std::unique_ptr< weld::ToggleButton > m_xBtnShadow3d
Definition: float3d.hxx:120
ViewType3D eViewType
Definition: float3d.hxx:196
std::unique_ptr< weld::SpinButton > m_xNumVertical
Definition: float3d.hxx:105
DECL_DLLPRIVATE_LINK(ClickAssignHdl, weld::Button &, void)
std::unique_ptr< weld::ToggleButton > m_xBtnNormalsObj
Definition: float3d.hxx:108
std::unique_ptr< weld::ToggleButton > m_xBtnLight
Definition: float3d.hxx:86
std::unique_ptr< ColorListBox > m_xLbLight5
Definition: float3d.hxx:142
bool bUpdate
Definition: float3d.hxx:195
std::unique_ptr< weld::MetricSpinButton > m_xMtrEndAngle
Definition: float3d.hxx:99
std::unique_ptr< weld::ComboBox > m_xLbMatFavorites
Definition: float3d.hxx:167
std::unique_ptr< weld::Container > m_xFLNormals
Definition: float3d.hxx:107
std::unique_ptr< weld::ToggleButton > m_xBtnTexLuminance
Definition: float3d.hxx:152
std::unique_ptr< ColorListBox > m_xLbLight4
Definition: float3d.hxx:141
std::unique_ptr< LightButton > m_xBtnLight5
Definition: float3d.hxx:134
std::unique_ptr< weld::Label > m_xFtPercentDiagonal
Definition: float3d.hxx:94
std::unique_ptr< weld::Button > m_xBtnSpecularColor
Definition: float3d.hxx:175
std::unique_ptr< weld::Scale > m_xHoriScale
Definition: float3d.hxx:182
std::unique_ptr< weld::ToggleButton > m_xBtnTexObjectY
Definition: float3d.hxx:159
std::unique_ptr< weld::MetricSpinButton > m_xMtrPercentDiagonal
Definition: float3d.hxx:95
std::unique_ptr< weld::ToggleButton > m_xBtnDoubleSided
Definition: float3d.hxx:113
std::unique_ptr< Svx3DPreviewControl > m_xCtlPreview
Definition: float3d.hxx:178
bool IsUpdateMode() const
Definition: float3d.hxx:244
std::unique_ptr< SfxItemSet > mpRemember2DAttributes
Definition: float3d.hxx:212
std::unique_ptr< weld::Container > m_xFLMatSpecular
Definition: float3d.hxx:173
std::unique_ptr< weld::ToggleButton > m_xBtnRepresentation
Definition: float3d.hxx:85
std::unique_ptr< weld::MetricSpinButton > m_xMtrMatSpecularIntensity
Definition: float3d.hxx:176
std::unique_ptr< weld::ToggleButton > m_xBtnTexCircleX
Definition: float3d.hxx:158
FieldUnit eFUnit
Definition: float3d.hxx:209
std::unique_ptr< weld::Button > m_xBtnLatheObject
Definition: float3d.hxx:191
std::unique_ptr< weld::Container > m_xFLTexture
Definition: float3d.hxx:151
std::unique_ptr< weld::ToggleButton > m_xBtnTwoSidedLighting
Definition: float3d.hxx:112
std::unique_ptr< ColorListBox > m_xLbMatSpecular
Definition: float3d.hxx:174
std::unique_ptr< ColorListBox > m_xLbLight7
Definition: float3d.hxx:144
std::unique_ptr< weld::Button > m_xBtnEmissionColor
Definition: float3d.hxx:171
DECL_DLLPRIVATE_LINK(ClickUpdateHdl, weld::Toggleable &, void)
std::unique_ptr< weld::MetricSpinButton > m_xMtrDistance
Definition: float3d.hxx:125
std::unique_ptr< weld::Button > m_xBtnAssign
Definition: float3d.hxx:90
std::unique_ptr< weld::Container > m_xFLMaterial
Definition: float3d.hxx:166
std::unique_ptr< weld::ToggleButton > m_xBtnTexReplace
Definition: float3d.hxx:154
std::unique_ptr< LightButton > m_xBtnLight1
Definition: float3d.hxx:130
std::unique_ptr< Svx3DLightControl > m_xLightPreview
Definition: float3d.hxx:185
std::unique_ptr< LightButton > m_xBtnLight7
Definition: float3d.hxx:136
DECL_DLLPRIVATE_LINK(ClickColorHdl, weld::Button &, void)
std::unique_ptr< FmFormModel > pModel
Definition: float3d.hxx:199
std::unique_ptr< weld::ToggleButton > m_xBtnUpdate
Definition: float3d.hxx:89
std::unique_ptr< weld::Button > m_xBtn_Corner
Definition: float3d.hxx:184
std::unique_ptr< weld::ToggleButton > m_xBtnTexCircleY
Definition: float3d.hxx:161
std::unique_ptr< weld::ToggleButton > m_xBtnTexObjectX
Definition: float3d.hxx:156
std::unique_ptr< weld::ToggleButton > m_xBtnNormalsFlat
Definition: float3d.hxx:109
std::unique_ptr< weld::Widget > m_xLightPreviewGrid
Definition: float3d.hxx:181
std::unique_ptr< ColorListBox > m_xLbLight6
Definition: float3d.hxx:143
std::unique_ptr< Svx3DWinImpl > mpImpl
Definition: float3d.hxx:207
MapUnit ePoolUnit
Definition: float3d.hxx:208
std::unique_ptr< weld::Button > m_xBtnAmbientColor
Definition: float3d.hxx:148
std::unique_ptr< LightButton > m_xBtnLight3
Definition: float3d.hxx:132
std::unique_ptr< weld::ToggleButton > m_xBtnTexFilter
Definition: float3d.hxx:162
std::unique_ptr< ColorListBox > m_xLbLight8
Definition: float3d.hxx:145
std::unique_ptr< weld::Container > m_xFLRepresentation
Definition: float3d.hxx:116
std::unique_ptr< LightButton > m_xBtnLight2
Definition: float3d.hxx:131
std::unique_ptr< weld::ComboBox > m_xLbShademode
Definition: float3d.hxx:117
std::unique_ptr< weld::SpinButton > m_xNumHorizontal
Definition: float3d.hxx:104
std::unique_ptr< weld::Container > m_xFLLight
Definition: float3d.hxx:129
std::unique_ptr< LightButton > m_xBtnLight6
Definition: float3d.hxx:135
std::unique_ptr< weld::Label > m_xFtEndAngle
Definition: float3d.hxx:98
std::unique_ptr< weld::Container > m_xFLShadow
Definition: float3d.hxx:119
std::unique_ptr< ColorListBox > m_xLbMatEmission
Definition: float3d.hxx:170
DECL_DLLPRIVATE_LINK(ClickHdl, weld::Button &, void)
std::unique_ptr< weld::MetricSpinButton > m_xMtrFocalLength
Definition: float3d.hxx:126
std::unique_ptr< SvxConvertTo3DItem > pConvertTo3DItem
Definition: float3d.hxx:204
std::unique_ptr< weld::ToggleButton > m_xBtnNormalsInvert
Definition: float3d.hxx:111
std::unique_ptr< ColorListBox > m_xLbAmbientlight
Definition: float3d.hxx:147
DECL_DLLPRIVATE_LINK(SelectHdl, weld::ComboBox &, void)
std::unique_ptr< weld::Scale > m_xVertScale
Definition: float3d.hxx:183
std::unique_ptr< weld::ToggleButton > m_xBtnGeo
Definition: float3d.hxx:84
std::unique_ptr< ColorListBox > m_xLbLight2
Definition: float3d.hxx:139
std::unique_ptr< ColorListBox > m_xLbLight3
Definition: float3d.hxx:140
SfxBindings * pBindings
Definition: float3d.hxx:201
std::unique_ptr< weld::Label > m_xFtDepth
Definition: float3d.hxx:100
std::unique_ptr< SvxConvertTo3DItem > pConvertTo3DLatheItem
Definition: float3d.hxx:205
std::unique_ptr< weld::Label > m_xFtBackscale
Definition: float3d.hxx:96
std::unique_ptr< LightButton > m_xBtnLight4
Definition: float3d.hxx:133
virtual void StateChangedAtToolBoxControl(sal_uInt16 nSId, SfxItemState eState, const SfxPoolItem *pState) override
Definition: float3d.cxx:2910
SvxConvertTo3DItem(sal_uInt16 nId, SfxBindings *pBindings)
Definition: float3d.cxx:2904
bool GetState() const
Definition: float3d.hxx:283
FieldUnit
ViewType3D
Definition: float3d.hxx:33
TriState
MapUnit
SfxItemState
#define SVX_DLLPUBLIC
Definition: svxdllapi.h:28
#define SVX_DLLPRIVATE
Definition: svxdllapi.h:30
#define SAL_WARN_UNUSED