LibreOffice Module svx (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
StylesPreviewToolBoxControl Class Referencefinal

#include <StylesPreviewToolBoxControl.hxx>

Inheritance diagram for StylesPreviewToolBoxControl:
[legend]
Collaboration diagram for StylesPreviewToolBoxControl:
[legend]

Public Member Functions

 StylesPreviewToolBoxControl ()
 
virtual ~StylesPreviewToolBoxControl () override
 
virtual void SAL_CALL statusChanged (const css::frame::FeatureStateEvent &rEvent) override
 
virtual css::uno::Reference< css::awt::XWindow > SAL_CALL createItemWindow (const css::uno::Reference< css::awt::XWindow > &rParent) override
 
virtual void SAL_CALL initialize (const css::uno::Sequence< css::uno::Any > &aArguments) override
 
virtual void SAL_CALL dispose () override
 
virtual void SAL_CALL update () override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &rServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 

Private Member Functions

void InitializeStyles (const css::uno::Reference< css::frame::XModel > &xModel)
 

Private Attributes

VclPtr< StylesPreviewWindow_Implm_xVclBox
 
std::unique_ptr< StylesPreviewWindow_Basem_xWeldBox
 
css::uno::Reference< css::frame::XDispatchProvider > m_xDispatchProvider
 
std::vector< std::pair< OUString, OUString > > m_aDefaultStyles
 

Detailed Description

Definition at line 29 of file StylesPreviewToolBoxControl.hxx.

Constructor & Destructor Documentation

StylesPreviewToolBoxControl::StylesPreviewToolBoxControl ( )

Definition at line 28 of file StylesPreviewToolBoxControl.cxx.

StylesPreviewToolBoxControl::~StylesPreviewToolBoxControl ( )
overridevirtual

Definition at line 30 of file StylesPreviewToolBoxControl.cxx.

Member Function Documentation

css::uno::Reference< css::awt::XWindow > StylesPreviewToolBoxControl::createItemWindow ( const css::uno::Reference< css::awt::XWindow > &  rParent)
overridevirtual
void SAL_CALL StylesPreviewToolBoxControl::dispose ( void  )
overridevirtual
OUString StylesPreviewToolBoxControl::getImplementationName ( )
overridevirtual

Definition at line 167 of file StylesPreviewToolBoxControl.cxx.

css::uno::Sequence< OUString > StylesPreviewToolBoxControl::getSupportedServiceNames ( )
overridevirtual

Definition at line 177 of file StylesPreviewToolBoxControl.cxx.

void SAL_CALL StylesPreviewToolBoxControl::initialize ( const css::uno::Sequence< css::uno::Any > &  aArguments)
overridevirtual
void StylesPreviewToolBoxControl::InitializeStyles ( const css::uno::Reference< css::frame::XModel > &  xModel)
private

Definition at line 55 of file StylesPreviewToolBoxControl.cxx.

References m_aDefaultStyles, and sName.

Referenced by initialize().

void StylesPreviewToolBoxControl::statusChanged ( const css::frame::FeatureStateEvent &  rEvent)
overridevirtual

Definition at line 130 of file StylesPreviewToolBoxControl.cxx.

sal_Bool StylesPreviewToolBoxControl::supportsService ( const OUString &  rServiceName)
overridevirtual

Definition at line 172 of file StylesPreviewToolBoxControl.cxx.

References cppu::supportsService().

void SAL_CALL StylesPreviewToolBoxControl::update ( )
overridevirtual

Definition at line 128 of file StylesPreviewToolBoxControl.cxx.

Member Data Documentation

std::vector<std::pair<OUString, OUString> > StylesPreviewToolBoxControl::m_aDefaultStyles
private

Definition at line 37 of file StylesPreviewToolBoxControl.hxx.

Referenced by createItemWindow(), and InitializeStyles().

css::uno::Reference<css::frame::XDispatchProvider> StylesPreviewToolBoxControl::m_xDispatchProvider
private

Definition at line 35 of file StylesPreviewToolBoxControl.hxx.

Referenced by createItemWindow(), and initialize().

VclPtr<StylesPreviewWindow_Impl> StylesPreviewToolBoxControl::m_xVclBox
private

Definition at line 32 of file StylesPreviewToolBoxControl.hxx.

Referenced by createItemWindow(), and dispose().

std::unique_ptr<StylesPreviewWindow_Base> StylesPreviewToolBoxControl::m_xWeldBox
private

Definition at line 33 of file StylesPreviewToolBoxControl.hxx.

Referenced by dispose().


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