LibreOffice Module svx (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
svx::ExtrusionDirectionWindow Class Reference

#include <extrusioncontrols.hxx>

Inheritance diagram for svx::ExtrusionDirectionWindow:
[legend]
Collaboration diagram for svx::ExtrusionDirectionWindow:
[legend]

Public Member Functions

 ExtrusionDirectionWindow (svt::ToolboxController &rController, vcl::Window *pParentWindow)
 
virtual ~ExtrusionDirectionWindow () override
 
virtual void dispose () override
 
virtual void statusChanged (const css::frame::FeatureStateEvent &Event) override
 
virtual void DataChanged (const DataChangedEvent &rDCEvt) override
 
- Public Member Functions inherited from svtools::ToolbarMenu
 ToolbarMenu (const css::uno::Reference< css::frame::XFrame > &rFrame, vcl::Window *pParentWindow, WinBits nBits)
 
virtual ~ToolbarMenu () override
 
virtual void MouseMove (const MouseEvent &rMEvt) override
 
virtual void MouseButtonDown (const MouseEvent &rMEvt) override
 
virtual void MouseButtonUp (const MouseEvent &rMEvt) override
 
virtual void KeyInput (const KeyEvent &rKEvent) override
 
virtual void Command (const CommandEvent &rCEvt) override
 
virtual void Paint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) override
 
virtual void GetFocus () override
 
virtual void LoseFocus () override
 
void appendEntry (int nEntryId, const OUString &rStr, MenuItemBits nItemBits=MenuItemBits::NONE)
 
void appendEntry (int nEntryId, const OUString &rStr, const Image &rImage)
 
void appendEntry (int nEntryId, Control *pControl)
 
void appendSeparator ()
 
VclPtr< ValueSetcreateEmptyValueSetControl ()
 
void checkEntry (int nEntryId, bool bCheck)
 
void enableEntry (int nEntryId, bool bEnable)
 
void setEntryText (int nEntryId, const OUString &rStr)
 
void setEntryImage (int nEntryId, const Image &rImage)
 
const SizegetMenuSize () const
 
void SetSelectHdl (const Link< ToolbarMenu *, void > &rLink)
 
int getSelectedEntryId () const
 
int getHighlightedEntryId () const
 
- Public Member Functions inherited from svtools::ToolbarPopup
 ToolbarPopup (const css::uno::Reference< css::frame::XFrame > &rFrame, vcl::Window *pParentWindow, WinBits nBits)
 
 ToolbarPopup (const css::uno::Reference< css::frame::XFrame > &rFrame, vcl::Window *pParentWindow, const OString &rID, const OUString &rUIXMLDescription)
 
virtual ~ToolbarPopup () override
 
- Public Member Functions inherited from svtools::ToolbarPopupBase
 ToolbarPopupBase (const css::uno::Reference< css::frame::XFrame > &rFrame)
 
virtual ~ToolbarPopupBase ()
 

Private Member Functions

 DECL_LINK (SelectToolbarMenuHdl, ToolbarMenu *, void)
 
 DECL_LINK (SelectValueSetHdl, ValueSet *, void)
 
void SelectHdl (void const *)
 
void implSetDirection (sal_Int32 nSkew, bool bEnabled)
 
void implSetProjection (sal_Int32 nProjection, bool bEnabled)
 

Private Attributes

svt::ToolboxControllermrController
 
VclPtr< ValueSetmpDirectionSet
 
Image maImgDirection [9]
 
Image const maImgPerspective
 
Image const maImgParallel
 

Additional Inherited Members

- Protected Member Functions inherited from svtools::ToolbarMenu
virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessible () override
 
void StateChanged (StateChangedType nType) override
 
void DataChanged (const DataChangedEvent &rDCEvt) override
 
- Protected Member Functions inherited from svtools::ToolbarPopup
bool IsInPopupMode () const
 
void EndPopupMode ()
 
- Protected Member Functions inherited from svtools::ToolbarPopupBase
void AddStatusListener (const OUString &rCommandURL)
 
- Protected Attributes inherited from svtools::ToolbarPopupBase
css::uno::Reference< css::frame::XFrame > mxFrame
 
rtl::Reference< svt::FrameStatusListenermxStatusListener
 

Detailed Description

Definition at line 54 of file extrusioncontrols.hxx.

Constructor & Destructor Documentation

svx::ExtrusionDirectionWindow::ExtrusionDirectionWindow ( svt::ToolboxController rController,
vcl::Window pParentWindow 
)
svx::ExtrusionDirectionWindow::~ExtrusionDirectionWindow ( )
overridevirtual

Definition at line 163 of file extrusioncontrols.cxx.

Member Function Documentation

void svx::ExtrusionDirectionWindow::DataChanged ( const DataChangedEvent rDCEvt)
overridevirtual
svx::ExtrusionDirectionWindow::DECL_LINK ( SelectToolbarMenuHdl  ,
ToolbarMenu ,
void   
)
private
svx::ExtrusionDirectionWindow::DECL_LINK ( SelectValueSetHdl  ,
ValueSet ,
void   
)
private
void svx::ExtrusionDirectionWindow::dispose ( void  )
overridevirtual

Reimplemented from svtools::ToolbarMenu.

Definition at line 168 of file extrusioncontrols.cxx.

References VclPtr< reference_type >::clear(), and mpDirectionSet.

void svx::ExtrusionDirectionWindow::implSetDirection ( sal_Int32  nSkew,
bool  bEnabled 
)
private
void svx::ExtrusionDirectionWindow::implSetProjection ( sal_Int32  nProjection,
bool  bEnabled 
)
private
void svx::ExtrusionDirectionWindow::SelectHdl ( void const *  pControl)
private
void svx::ExtrusionDirectionWindow::statusChanged ( const css::frame::FeatureStateEvent &  Event)
overridevirtual

Reimplemented from svtools::ToolbarPopupBase.

Definition at line 224 of file extrusioncontrols.cxx.

References implSetDirection(), and implSetProjection().

Member Data Documentation

Image svx::ExtrusionDirectionWindow::maImgDirection[9]
private

Definition at line 68 of file extrusioncontrols.hxx.

Referenced by DataChanged(), and ExtrusionDirectionWindow().

Image const svx::ExtrusionDirectionWindow::maImgParallel
private

Definition at line 70 of file extrusioncontrols.hxx.

Referenced by DataChanged(), and ExtrusionDirectionWindow().

Image const svx::ExtrusionDirectionWindow::maImgPerspective
private

Definition at line 69 of file extrusioncontrols.hxx.

Referenced by DataChanged(), and ExtrusionDirectionWindow().

VclPtr<ValueSet> svx::ExtrusionDirectionWindow::mpDirectionSet
private
svt::ToolboxController& svx::ExtrusionDirectionWindow::mrController
private

Definition at line 65 of file extrusioncontrols.hxx.

Referenced by SelectHdl().


The documentation for this class was generated from the following files: