|
LibreOffice Module svx (master) 1
|
#include <dlgctl3d.hxx>
Public Member Functions | |
| Svx3DPreviewControl () | |
| virtual void | SetDrawingArea (weld::DrawingArea *pDrawingArea) override |
| virtual | ~Svx3DPreviewControl () override |
| virtual void | Paint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) override |
| virtual bool | MouseButtonDown (const MouseEvent &rMEvt) override |
| virtual void | Resize () override |
| virtual void | SetObjectType (SvxPreviewObjectType nType) |
| SvxPreviewObjectType | GetObjectType () const |
| SfxItemSet const & | Get3DAttributes () const |
| virtual void | Set3DAttributes (const SfxItemSet &rAttr) |
Public Member Functions inherited from weld::CustomWidgetController | |
| virtual css::uno::Reference< css::accessibility::XAccessible > | CreateAccessible () |
| virtual void | Paint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect)=0 |
| virtual void | Resize () |
| virtual bool | MouseButtonDown (const MouseEvent &) |
| virtual bool | MouseMove (const MouseEvent &) |
| virtual bool | MouseButtonUp (const MouseEvent &) |
| virtual void | GetFocus () |
| virtual void | LoseFocus () |
| virtual void | StyleUpdated () |
| virtual bool | Command (const CommandEvent &) |
| virtual bool | KeyInput (const KeyEvent &) |
| virtual tools::Rectangle | GetFocusRect () |
| virtual FactoryFunction | GetUITestFactory () const |
| virtual OUString | RequestHelp (tools::Rectangle &) |
| virtual OUString | GetHelpText () const |
| Size const & | GetOutputSizePixel () const |
| void | SetOutputSizePixel (const Size &rSize) |
| virtual void | SetDrawingArea (weld::DrawingArea *pDrawingArea) |
| weld::DrawingArea * | GetDrawingArea () const |
| void | Invalidate () |
| void | Invalidate (const tools::Rectangle &rRect) |
| virtual void | Show () |
| virtual void | Hide () |
| void | SetCursor (void *pData) |
| void | GrabFocus () |
| bool | HasFocus () const |
| bool | HasChildFocus () const |
| bool | IsVisible () const |
| bool | IsReallyVisible () const |
| bool | IsEnabled () const |
| void | Enable () const |
| void | Disable () const |
| bool | IsActive () const |
| int | GetTextHeight () const |
| int | GetTextWidth (const OUString &rText) const |
| OUString | GetAccessibleName () const |
| OUString | GetAccessibleDescription () const |
| void | CaptureMouse () |
| bool | IsMouseCaptured () const |
| Point | GetPointerPosPixel () const |
| void | EnableRTL (bool bEnable) |
| bool | IsRTLEnabled () const |
| void | ReleaseMouse () |
| void | SetPointer (PointerStyle ePointerStyle) |
| void | SetHelpId (const OUString &rHelpId) |
| void | SetAccessibleName (const OUString &rName) |
| void | SetInputContext (const InputContext &rInputContext) |
| void | SetCursorRect (const tools::Rectangle &rCursorRect, int nExtTextInputWidth) |
| virtual int | GetSurroundingText (OUString &) |
| virtual bool | DeleteSurroundingText (const Selection &) |
| css::uno::Reference< css::datatransfer::dnd::XDropTarget > | GetDropTarget () |
| css::uno::Reference< css::datatransfer::clipboard::XClipboard > | GetClipboard () const |
| void | SetDragDataTransferable (rtl::Reference< TransferDataContainer > &rTransferable, sal_uInt8 eDNDConstants) |
| virtual bool | StartDrag () |
| void | set_size_request (int nWidth, int nHeight) |
| void | queue_resize () |
| CustomWidgetController () | |
| virtual | ~CustomWidgetController () |
| CustomWidgetController (CustomWidgetController const &)=default | |
| CustomWidgetController (CustomWidgetController &&)=default | |
| CustomWidgetController & | operator= (CustomWidgetController const &)=default |
| CustomWidgetController & | operator= (CustomWidgetController &&)=default |
Protected Member Functions | |
| void | Construct () |
Protected Attributes | |
| std::unique_ptr< FmFormModel > | mpModel |
| rtl::Reference< FmFormPage > | mxFmPage |
| std::unique_ptr< E3dView > | mp3DView |
| rtl::Reference< E3dScene > | mpScene |
| rtl::Reference< E3dObject > | mp3DObj |
| SvxPreviewObjectType | mnObjectType |
Additional Inherited Members | |
Static Public Member Functions inherited from weld::CustomWidgetController | |
| static bool | IsUpdateMode () |
Definition at line 38 of file dlgctl3d.hxx.
| Svx3DPreviewControl::Svx3DPreviewControl | ( | ) |
Definition at line 46 of file dlgctl3d.cxx.
References SPHERE.
|
overridevirtual |
|
protected |
Definition at line 70 of file dlgctl3d.cxx.
References COL_WHITE(), basegfx::deg2rad(), weld::CustomWidgetController::EnableRTL(), weld::DrawingArea::get_ref_device(), weld::CustomWidgetController::GetDrawingArea(), basegfx::B3DRange::getHeight(), basegfx::B3DRange::getMaxZ(), basegfx::B3DRange::getWidth(), mp3DView, mpModel, mpScene, mxFmPage, basegfx::B3DHomMatrix::rotate(), Camera3D::SetAutoAdjustProjection(), Camera3D::SetFocalLength(), OutputDevice::SetMapMode(), SetObjectType(), Camera3D::SetPosAndLookAt(), Camera3D::SetViewWindow(), SPHERE, XATTR_FILL_FIRST(), XATTR_FILLBITMAP(), and XATTR_LINESTYLE().
Referenced by SetDrawingArea().
| SfxItemSet const & Svx3DPreviewControl::Get3DAttributes | ( | ) | const |
Definition at line 223 of file dlgctl3d.cxx.
References mp3DObj.
Referenced by Svx3DLightControl::GetLightColor(), Svx3DLightControl::GetLightDirection(), and Svx3DLightControl::GetLightOnOff().
|
inline |
Definition at line 60 of file dlgctl3d.hxx.
Referenced by MouseButtonDown().
|
overridevirtual |
Reimplemented from weld::CustomWidgetController.
Reimplemented in Svx3DLightControl.
Definition at line 160 of file dlgctl3d.cxx.
References CUBE, GetObjectType(), MouseEvent::IsMod1(), MouseEvent::IsShift(), SetObjectType(), and SPHERE.
Referenced by Svx3DLightControl::MouseButtonDown().
|
overridevirtual |
Implements weld::CustomWidgetController.
Reimplemented in Svx3DLightControl.
Definition at line 155 of file dlgctl3d.cxx.
References mp3DView.
Referenced by Svx3DLightControl::Paint().
|
overridevirtual |
Reimplemented from weld::CustomWidgetController.
Reimplemented in Svx3DLightControl.
Definition at line 140 of file dlgctl3d.cxx.
References weld::DrawingArea::get_ref_device(), weld::CustomWidgetController::GetDrawingArea(), weld::CustomWidgetController::GetOutputSizePixel(), Size::Height(), mpScene, mxFmPage, OutputDevice::PixelToLogic(), and Size::Width().
Referenced by Set3DAttributes().
|
virtual |
Reimplemented in Svx3DLightControl.
Definition at line 228 of file dlgctl3d.cxx.
References weld::CustomWidgetController::Invalidate(), mp3DObj, and Resize().
Referenced by Svx3DLightControl::Set3DAttributes().
|
overridevirtual |
Reimplemented from weld::CustomWidgetController.
Reimplemented in Svx3DLightControl.
Definition at line 51 of file dlgctl3d.cxx.
References Construct(), weld::DrawingArea::get_ref_device(), Size::Height(), OutputDevice::LogicToPixel(), weld::Widget::set_size_request(), weld::CustomWidgetController::SetOutputSizePixel(), and Size::Width().
Referenced by Svx3DLightControl::SetDrawingArea().
|
virtual |
Reimplemented in Svx3DLightControl.
Definition at line 176 of file dlgctl3d.cxx.
References CUBE, weld::CustomWidgetController::Invalidate(), mnObjectType, mp3DObj, mp3DView, mpModel, mpScene, nType, SfxItemSet::Put(), and SPHERE.
Referenced by Construct(), MouseButtonDown(), and Svx3DLightControl::SetObjectType().
|
protected |
Definition at line 46 of file dlgctl3d.hxx.
Referenced by SetObjectType().
|
protected |
Definition at line 45 of file dlgctl3d.hxx.
Referenced by Get3DAttributes(), Set3DAttributes(), SetObjectType(), Svx3DLightControl::SetObjectType(), Svx3DLightControl::SetPosition(), Svx3DLightControl::SetRotation(), Svx3DLightControl::TrySelection(), and ~Svx3DPreviewControl().
|
protected |
Definition at line 43 of file dlgctl3d.hxx.
Referenced by Construct(), Svx3DLightControl::Construct2(), Svx3DLightControl::ConstructLightObjects(), Paint(), SetObjectType(), and ~Svx3DPreviewControl().
|
protected |
Definition at line 41 of file dlgctl3d.hxx.
Referenced by Svx3DLightControl::AdaptToSelectedLight(), Construct(), Svx3DLightControl::Construct2(), Svx3DLightControl::ConstructLightObjects(), SetObjectType(), Svx3DLightControl::SetPosition(), and ~Svx3DPreviewControl().
|
protected |
Definition at line 44 of file dlgctl3d.hxx.
Referenced by Construct(), Svx3DLightControl::Construct2(), Svx3DLightControl::ConstructLightObjects(), Resize(), Svx3DLightControl::Resize(), SetObjectType(), Svx3DLightControl::SetPosition(), Svx3DLightControl::TrySelection(), and ~Svx3DPreviewControl().
|
protected |
Definition at line 42 of file dlgctl3d.hxx.
Referenced by Construct(), Resize(), Svx3DLightControl::Resize(), and ~Svx3DPreviewControl().