LibreOffice Module svx (master) 1
|
#include <lboxctrl.hxx>
Public Member Functions | |
SvxUndoRedoControl (const css::uno::Reference< css::uno::XComponentContext > &rContext) | |
virtual | ~SvxUndoRedoControl () override |
virtual std::unique_ptr< WeldToolbarPopup > | weldPopupWindow () override |
virtual VclPtr< vcl::Window > | createVclPopupWindow (vcl::Window *pParent) override |
virtual OUString SAL_CALL | getImplementationName () override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
virtual void SAL_CALL | initialize (const css::uno::Sequence< css::uno::Any > &rArguments) override |
virtual void SAL_CALL | statusChanged (const css::frame::FeatureStateEvent &rEvent) override |
void | Do (sal_Int16 nCount) |
void | SetText (const OUString &rText) |
void | SetInfo (sal_Int32 nCount) |
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 Attributes | |
std::vector< OUString > | aUndoRedoList |
OUString | aDefaultTooltip |
Additional Inherited Members | |
Protected Attributes inherited from svt::PopupWindowController | |
std::unique_ptr< ToolbarPopupContainer > | mxPopoverContainer |
VclPtr< InterimToolbarPopup > | mxInterimPopover |
Definition at line 29 of file lboxctrl.hxx.
SvxUndoRedoControl::SvxUndoRedoControl | ( | const css::uno::Reference< css::uno::XComponentContext > & | rContext | ) |
Definition at line 229 of file lboxctrl.cxx.
|
overridevirtual |
Definition at line 254 of file lboxctrl.cxx.
|
overridevirtual |
Reimplemented from svt::PopupWindowController.
Definition at line 310 of file lboxctrl.cxx.
References aUndoRedoList, VclPtr< class reference_type >::Create(), vcl::Window::GetFrameWeld(), svt::PopupWindowController::mxInterimPopover, and SetInfo().
void SvxUndoRedoControl::Do | ( | sal_Int16 | nCount | ) |
Definition at line 209 of file lboxctrl.cxx.
References aTargetURL, INetURLObject::GetURLPath(), m_xFrame, comphelper::makePropertyValue(), nCount, and xDispatch.
|
overridevirtual |
Implements svt::PopupWindowController.
Definition at line 329 of file lboxctrl.cxx.
|
overridevirtual |
Implements svt::PopupWindowController.
Definition at line 334 of file lboxctrl.cxx.
|
overridevirtual |
Definition at line 234 of file lboxctrl.cxx.
References aDefaultTooltip, ToolBox::GetItemBits(), ToolBox::GetQuickHelpText(), nId, and ToolBox::SetItemBits().
void SvxUndoRedoControl::SetInfo | ( | sal_Int32 | nCount | ) |
Definition at line 102 of file lboxctrl.cxx.
References nCount, SetText(), and SvxResId().
Referenced by createVclPopupWindow().
void SvxUndoRedoControl::SetText | ( | const OUString & | rText | ) |
Definition at line 258 of file lboxctrl.cxx.
References svt::PopupWindowController::mxInterimPopover.
Referenced by SetInfo().
|
overridevirtual |
Reimplemented from svt::PopupWindowController.
Definition at line 264 of file lboxctrl.cxx.
References aDefaultTooltip, aUndoRedoList, nId, and ToolBox::SetQuickHelpText().
|
overridevirtual |
Implements svt::PopupWindowController.
Definition at line 300 of file lboxctrl.cxx.
References aUndoRedoList.
|
private |
Definition at line 32 of file lboxctrl.hxx.
Referenced by initialize(), and statusChanged().
|
private |
Definition at line 31 of file lboxctrl.hxx.
Referenced by createVclPopupWindow(), statusChanged(), and weldPopupWindow().