LibreOffice Module svtools (master) 1
Public Member Functions | Protected Attributes | Private Attributes | List of all members
svt::PopupWindowController Class Referenceabstract

#include <popupwindowcontroller.hxx>

Inheritance diagram for svt::PopupWindowController:
[legend]
Collaboration diagram for svt::PopupWindowController:
[legend]

Public Member Functions

 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::WindowcreateVclPopupWindow (vcl::Window *pParent)
 
virtual std::unique_ptr< WeldToolbarPopupweldPopupWindow ()=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
 

Protected Attributes

std::unique_ptr< ToolbarPopupContainermxPopoverContainer
 
VclPtr< InterimToolbarPopupmxInterimPopover
 

Private Attributes

std::unique_ptr< PopupWindowControllerImpl, o3tl::default_delete< PopupWindowControllerImpl > > mxImpl
 

Detailed Description

Definition at line 52 of file popupwindowcontroller.hxx.

Constructor & Destructor Documentation

◆ PopupWindowController()

svt::PopupWindowController::PopupWindowController ( const css::uno::Reference< css::uno::XComponentContext > &  rxContext,
const css::uno::Reference< css::frame::XFrame > &  xFrame,
const OUString &  aCommandURL 
)

Definition at line 153 of file popupwindowcontroller.cxx.

References xFrame.

◆ ~PopupWindowController()

svt::PopupWindowController::~PopupWindowController ( )
overridevirtual

Definition at line 161 of file popupwindowcontroller.cxx.

Member Function Documentation

◆ click()

void SAL_CALL svt::PopupWindowController::click ( )
overridevirtual

◆ createPopupWindow()

Reference< awt::XWindow > SAL_CALL svt::PopupWindowController::createPopupWindow ( )
overridevirtual

◆ createVclPopupWindow()

VclPtr< vcl::Window > svt::PopupWindowController::createVclPopupWindow ( vcl::Window pParent)
virtual

Definition at line 204 of file popupwindowcontroller.cxx.

Referenced by createPopupWindow().

◆ dispose()

void SAL_CALL svt::PopupWindowController::dispose ( void  )
overridevirtual

◆ EndPopupMode()

void svt::PopupWindowController::EndPopupMode ( )

Definition at line 259 of file popupwindowcontroller.cxx.

References mxInterimPopover.

◆ getImplementationName()

virtual OUString SAL_CALL svt::PopupWindowController::getImplementationName ( )
overridepure virtual

References supportsService().

◆ getSupportedServiceNames()

virtual css::uno::Sequence< OUString > SAL_CALL svt::PopupWindowController::getSupportedServiceNames ( )
overridepure virtual

References dispose().

◆ statusChanged()

void SAL_CALL svt::PopupWindowController::statusChanged ( const css::frame::FeatureStateEvent &  Event)
overridevirtual

Definition at line 181 of file popupwindowcontroller.cxx.

References ToolBox::CheckItem(), and ToolBox::EnableItem().

◆ supportsService()

sal_Bool SAL_CALL svt::PopupWindowController::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 166 of file popupwindowcontroller.cxx.

References ServiceName, and cppu::supportsService().

◆ weldPopupWindow()

virtual std::unique_ptr< WeldToolbarPopup > svt::PopupWindowController::weldPopupWindow ( )
pure virtual

Referenced by createPopupWindow().

Member Data Documentation

◆ mxImpl

std::unique_ptr<PopupWindowControllerImpl, o3tl::default_delete<PopupWindowControllerImpl> > svt::PopupWindowController::mxImpl
private

Definition at line 87 of file popupwindowcontroller.hxx.

Referenced by createPopupWindow(), and dispose().

◆ mxInterimPopover

VclPtr<InterimToolbarPopup> svt::PopupWindowController::mxInterimPopover
protected

Definition at line 83 of file popupwindowcontroller.hxx.

Referenced by dispose(), and EndPopupMode().

◆ mxPopoverContainer

std::unique_ptr<ToolbarPopupContainer> svt::PopupWindowController::mxPopoverContainer
protected

Definition at line 82 of file popupwindowcontroller.hxx.

Referenced by click(), createPopupWindow(), and dispose().


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