LibreOffice Module svx (master) 1
|
#include <linectrl.hxx>
Public Member Functions | |
SvxLineStyleToolBoxControl (const css::uno::Reference< css::uno::XComponentContext > &rContext) | |
virtual void SAL_CALL | initialize (const css::uno::Sequence< css::uno::Any > &rArguments) override |
virtual OUString SAL_CALL | getImplementationName () override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
virtual void SAL_CALL | execute (sal_Int16 nKeyModifier) override |
virtual void SAL_CALL | statusChanged (const css::frame::FeatureStateEvent &rEvent) override |
virtual | ~SvxLineStyleToolBoxControl () override |
void | setLineStyleSelectFunction (const LineStyleSelectFunction &aLineStyleSelectFunction) |
void | setLineStyleIsNoneFunction (const LineStyleIsNoneFunction &aLineStyleIsNoneFunction) |
void | dispatchLineStyleCommand (const OUString &rCommand, const css::uno::Sequence< css::beans::PropertyValue > &rArgs) |
Public Member Functions inherited from svt::PopupWindowController | |
PopupWindowController (const css::uno::Reference< css::uno::XComponentContext > &rxContext, const css::uno::Reference< css::frame::XFrame > &xFrame, const OUString &aCommandURL) | |
virtual | ~PopupWindowController () override |
void | EndPopupMode () |
virtual VclPtr< vcl::Window > | createVclPopupWindow (vcl::Window *pParent) |
virtual std::unique_ptr< WeldToolbarPopup > | weldPopupWindow ()=0 |
virtual OUString SAL_CALL | getImplementationName () override=0 |
virtual sal_Bool SAL_CALL | supportsService (const OUString &ServiceName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override=0 |
virtual void SAL_CALL | dispose () override |
virtual void SAL_CALL | statusChanged (const css::frame::FeatureStateEvent &Event) override |
virtual css::uno::Reference< css::awt::XWindow > SAL_CALL | createPopupWindow () override |
virtual void SAL_CALL | click () override |
Private Member Functions | |
virtual std::unique_ptr< WeldToolbarPopup > | weldPopupWindow () override |
virtual VclPtr< vcl::Window > | createVclPopupWindow (vcl::Window *pParent) override |
Private Attributes | |
std::unique_ptr< svx::ToolboxButtonLineStyleUpdater > | m_xBtnUpdater |
LineStyleSelectFunction | m_aLineStyleSelectFunction |
LineStyleIsNoneFunction | m_aLineStyleIsNoneFunction |
Additional Inherited Members | |
Protected Attributes inherited from svt::PopupWindowController | |
std::unique_ptr< ToolbarPopupContainer > | mxPopoverContainer |
VclPtr< InterimToolbarPopup > | mxInterimPopover |
Definition at line 38 of file linectrl.hxx.
SvxLineStyleToolBoxControl::SvxLineStyleToolBoxControl | ( | const css::uno::Reference< css::uno::XComponentContext > & | rContext | ) |
Definition at line 62 of file linectrl.cxx.
|
overridevirtual |
Definition at line 68 of file linectrl.cxx.
|
overrideprivatevirtual |
Reimplemented from svt::PopupWindowController.
Definition at line 197 of file linectrl.cxx.
References VclPtr< class reference_type >::Create(), vcl::Window::GetFrameWeld(), m_xBtnUpdater, and svt::PopupWindowController::mxInterimPopover.
void SvxLineStyleToolBoxControl::dispatchLineStyleCommand | ( | const OUString & | rCommand, |
const css::uno::Sequence< css::beans::PropertyValue > & | rArgs | ||
) |
Definition at line 184 of file linectrl.cxx.
References dispatchCommand(), m_aLineStyleSelectFunction, and Value.
|
overridevirtual |
Definition at line 140 of file linectrl.cxx.
References svt::PopupWindowController::createPopupWindow().
|
overridevirtual |
Implements svt::PopupWindowController.
Definition at line 207 of file linectrl.cxx.
|
overridevirtual |
Implements svt::PopupWindowController.
Definition at line 212 of file linectrl.cxx.
|
overridevirtual |
Definition at line 154 of file linectrl.cxx.
References ToolBox::GetItemBits(), m_xBtnUpdater, svt::PopupWindowController::mxPopoverContainer, nId, and ToolBox::SetItemBits().
void SvxLineStyleToolBoxControl::setLineStyleIsNoneFunction | ( | const LineStyleIsNoneFunction & | aLineStyleIsNoneFunction | ) |
Definition at line 179 of file linectrl.cxx.
References m_aLineStyleIsNoneFunction.
Referenced by svx::sidebar::LinePropertyPanelBase::Initialize().
void SvxLineStyleToolBoxControl::setLineStyleSelectFunction | ( | const LineStyleSelectFunction & | aLineStyleSelectFunction | ) |
Definition at line 174 of file linectrl.cxx.
References m_aLineStyleSelectFunction.
|
overridevirtual |
Reimplemented from svt::PopupWindowController.
Definition at line 72 of file linectrl.cxx.
References SfxObjectShell::Current(), ToolBox::EnableItem(), BitmapEx::Erase(), SvxDashListItem::GetDashList(), SfxShell::GetItem(), Application::GetSettings(), Graphic::GetXGraphic(), m_aLineStyleIsNoneFunction, m_xBtnUpdater, nId, nIndex, and ToolBox::SetItemImage().
|
overrideprivatevirtual |
Implements svt::PopupWindowController.
Definition at line 192 of file linectrl.cxx.
References m_xBtnUpdater.
|
private |
Definition at line 44 of file linectrl.hxx.
Referenced by setLineStyleIsNoneFunction(), and statusChanged().
|
private |
Definition at line 43 of file linectrl.hxx.
Referenced by dispatchLineStyleCommand(), and setLineStyleSelectFunction().
|
private |
Definition at line 41 of file linectrl.hxx.
Referenced by createVclPopupWindow(), initialize(), statusChanged(), and weldPopupWindow().