LibreOffice Module svx (master) 1
|
#include <com/sun/star/drawing/EnhancedCustomShapeMetalType.hpp>
#include <com/sun/star/drawing/EnhancedCustomShapeParameterPair.hpp>
#include <com/sun/star/drawing/EnhancedCustomShapeParameterType.hpp>
#include <com/sun/star/drawing/ShadeMode.hpp>
#include <com/sun/star/drawing/Position3D.hpp>
#include <com/sun/star/drawing/Direction3D.hpp>
#include <com/sun/star/drawing/ProjectionMode.hpp>
#include <svx/svxids.hrc>
#include <svx/svdundo.hxx>
#include <sfx2/request.hxx>
#include <sfx2/objface.hxx>
#include <sfx2/viewsh.hxx>
#include <sfx2/bindings.hxx>
#include <svx/xsflclit.hxx>
#include <svx/dialmgr.hxx>
#include <svx/svdoashp.hxx>
#include <svx/strings.hrc>
#include <svx/svdview.hxx>
#include <editeng/colritem.hxx>
#include <svx/chrtitem.hxx>
#include <svx/sdasitm.hxx>
#include <svl/intitem.hxx>
#include <rtl/math.hxx>
#include <basegfx/numeric/ftools.hxx>
#include <svx/extrusionbar.hxx>
#include <extrusiondepthdialog.hxx>
Go to the source code of this file.
Namespaces | |
namespace | svx |
Functions | |
static void | getLightingDirectionDefaults (const Direction3D **pLighting1Defaults, const Direction3D **pLighting2Defaults) |
static void | impl_execute (SfxRequest const &rReq, SdrCustomShapeGeometryItem &rGeometryItem, SdrObject *pObj) |
static void | getExtrusionDirectionState (SdrView const *pSdrView, SfxItemSet &rSet) |
static void | getExtrusionProjectionState (SdrView const *pSdrView, SfxItemSet &rSet) |
static void | getExtrusionSurfaceState (SdrView const *pSdrView, SfxItemSet &rSet) |
static void | getExtrusionDepthState (SdrView const *pSdrView, SfxItemSet &rSet) |
static bool | compare_direction (const Direction3D &d1, const Direction3D &d2) |
static void | getExtrusionLightingDirectionState (SdrView const *pSdrView, SfxItemSet &rSet) |
static void | getExtrusionLightingIntensityState (SdrView const *pSdrView, SfxItemSet &rSet) |
static void | getExtrusionColorState (SdrView const *pSdrView, SfxItemSet &rSet) |
bool | svx::checkForSelectedCustomShapes (SdrView const *pSdrView, bool bOnlyExtruded) |
Variables | |
static SfxSlot | aExtrusionBarSlots_Impl [] |
|
static |
Definition at line 1040 of file extrusionbar.cxx.
Referenced by getExtrusionLightingDirectionState().
|
static |
Definition at line 1202 of file extrusionbar.cxx.
References Any, bInit, COL_AUTO(), SfxItemSet::DisableItem(), XColorItem::GetColorValue(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SdrObject::GetMergedItem(), SdrCustomShapeGeometryItem::GetPropertyValueByName(), i, nCount, SfxItemSet::Put(), rSet, SDRATTR_CUSTOMSHAPE_GEOMETRY(), u, and XATTR_SECONDARYFILLCOLOR().
Referenced by svx::ExtrusionBar::getState().
|
static |
Definition at line 979 of file extrusionbar.cxx.
References Any, SfxItemSet::DisableItem(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SdrObject::GetMergedItem(), SdrPaintView::GetModel(), SdrCustomShapeGeometryItem::GetPropertyValueByName(), SdrModel::GetUIUnit(), i, nCount, SfxItemSet::Put(), rSet, SDRATTR_CUSTOMSHAPE_GEOMETRY(), and u.
Referenced by svx::ExtrusionBar::getState().
|
static |
Definition at line 684 of file extrusionbar.cxx.
References Any, SfxItemSet::DisableItem(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SdrObject::GetMergedItem(), SdrCustomShapeGeometryItem::GetPropertyValueByName(), i, nCount, SfxItemSet::Put(), rSet, SDRATTR_CUSTOMSHAPE_GEOMETRY(), and u.
Referenced by svx::ExtrusionBar::getState().
|
static |
Definition at line 1056 of file extrusionbar.cxx.
References Any, compare_direction(), SfxItemSet::DisableItem(), getLightingDirectionDefaults(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SdrObject::GetMergedItem(), SdrCustomShapeGeometryItem::GetPropertyValueByName(), i, nCount, SfxItemSet::Put(), rSet, SDRATTR_CUSTOMSHAPE_GEOMETRY(), and u.
Referenced by svx::ExtrusionBar::getState().
|
static |
Definition at line 1135 of file extrusionbar.cxx.
References Any, SfxItemSet::DisableItem(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SdrObject::GetMergedItem(), SdrCustomShapeGeometryItem::GetPropertyValueByName(), i, nCount, SfxItemSet::Put(), rSet, SDRATTR_CUSTOMSHAPE_GEOMETRY(), and u.
Referenced by svx::ExtrusionBar::getState().
|
static |
Definition at line 831 of file extrusionbar.cxx.
References Any, SfxItemSet::DisableItem(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SdrObject::GetMergedItem(), SdrCustomShapeGeometryItem::GetPropertyValueByName(), i, nCount, SfxItemSet::Put(), rSet, SDRATTR_CUSTOMSHAPE_GEOMETRY(), and u.
Referenced by svx::ExtrusionBar::getState().
|
static |
Definition at line 886 of file extrusionbar.cxx.
References Any, SfxItemSet::DisableItem(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SdrObject::GetMergedItem(), SdrCustomShapeGeometryItem::GetPropertyValueByName(), i, nCount, SfxItemSet::Put(), rSet, SDRATTR_CUSTOMSHAPE_GEOMETRY(), and u.
Referenced by svx::ExtrusionBar::getState().
|
static |
Definition at line 85 of file extrusionbar.cxx.
Referenced by getExtrusionLightingDirectionState(), and impl_execute().
|
static |
Definition at line 118 of file extrusionbar.cxx.
References SdrObject::BroadcastObjectChange(), SdrObject::ClearMergedItem(), COL_AUTO(), basegfx::fTools::equalZero(), SfxItemSet::Get(), SfxRequest::GetArgs(), SfxItemSet::GetItem(), SfxItemSet::GetItemState(), getLightingDirectionDefaults(), SdrCustomShapeGeometryItem::GetPropertyValueByName(), SfxRequest::GetSlot(), SvxColorItem::GetValue(), GetValue, SdrObject::SetMergedItem(), SdrCustomShapeGeometryItem::SetPropertyValue(), u, and XATTR_SECONDARYFILLCOLOR().
|
static |
Definition at line 57 of file extrusionbar.cxx.