LibreOffice Module reportdesign (master) 1
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
rptui::DataProviderHandler Class Reference

#include <DataProviderHandler.hxx>

Inheritance diagram for rptui::DataProviderHandler:
[legend]
Collaboration diagram for rptui::DataProviderHandler:
[legend]

Public Member Functions

 DataProviderHandler (css::uno::Reference< css::uno::XComponentContext > context)
 

Protected Member Functions

virtual ~DataProviderHandler () override
 

Private Member Functions

virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual void SAL_CALL addEventListener (const css::uno::Reference< css::lang::XEventListener > &xListener) override
 
virtual void SAL_CALL removeEventListener (const css::uno::Reference< css::lang::XEventListener > &aListener) override
 
virtual void SAL_CALL inspect (const css::uno::Reference< css::uno::XInterface > &Component) override
 
virtual css::uno::Any SAL_CALL getPropertyValue (const OUString &PropertyName) override
 
virtual void SAL_CALL setPropertyValue (const OUString &PropertyName, const css::uno::Any &Value) override
 
virtual css::beans::PropertyState SAL_CALL getPropertyState (const OUString &PropertyName) override
 
virtual css::inspection::LineDescriptor SAL_CALL describePropertyLine (const OUString &PropertyName, const css::uno::Reference< css::inspection::XPropertyControlFactory > &ControlFactory) override
 
virtual css::uno::Any SAL_CALL convertToPropertyValue (const OUString &PropertyName, const css::uno::Any &ControlValue) override
 
virtual css::uno::Any SAL_CALL convertToControlValue (const OUString &PropertyName, const css::uno::Any &PropertyValue, const css::uno::Type &ControlValueType) override
 
virtual void SAL_CALL addPropertyChangeListener (const css::uno::Reference< css::beans::XPropertyChangeListener > &Listener) override
 
virtual void SAL_CALL removePropertyChangeListener (const css::uno::Reference< css::beans::XPropertyChangeListener > &_rxListener) override
 
virtual css::uno::Sequence< css::beans::Property > SAL_CALL getSupportedProperties () override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupersededProperties () override
 
virtual css::uno::Sequence< OUString > SAL_CALL getActuatingProperties () override
 
virtual sal_Bool SAL_CALL isComposable (const OUString &PropertyName) override
 
virtual css::inspection::InteractiveSelectionResult SAL_CALL onInteractivePropertySelection (const OUString &PropertyName, sal_Bool Primary, css::uno::Any &out_Data, const css::uno::Reference< css::inspection::XObjectInspectorUI > &InspectorUI) override
 
virtual void SAL_CALL actuatingPropertyChanged (const OUString &ActuatingPropertyName, const css::uno::Any &NewValue, const css::uno::Any &OldValue, const css::uno::Reference< css::inspection::XObjectInspectorUI > &InspectorUI, sal_Bool FirstTimeInit) override
 
virtual sal_Bool SAL_CALL suspend (sal_Bool Suspend) override
 
 DataProviderHandler (DataProviderHandler const &)=delete
 
void operator= (DataProviderHandler const &)=delete
 
bool impl_dialogLinkedFields_nothrow (::osl::ClearableMutexGuard &_rClearBeforeDialog) const
 
bool impl_dialogChartType_nothrow (::osl::ClearableMutexGuard &_rClearBeforeDialog) const
 
void impl_updateChartTitle_throw (const css::uno::Any &_aValue)
 
virtual void SAL_CALL disposing () override
 

Private Attributes

css::uno::Reference< css::uno::XComponentContext > m_xContext
 
css::uno::Reference< css::inspection::XPropertyHandler > m_xFormComponentHandler
 
css::uno::Reference< css::chart2::data::XDatabaseDataProvider > m_xDataProvider
 delegatee More...
 
css::uno::Reference< css::uno::XInterface > m_xFormComponent
 inspectee More...
 
css::uno::Reference< css::report::XReportComponent > m_xReportComponent
 inspectee More...
 
css::uno::Reference< css::chart2::XChartDocument > m_xChartModel
 inspectee More...
 
css::uno::Reference< css::beans::XPropertyChangeListener > m_xMasterDetails
 
css::uno::Reference< css::script::XTypeConverter > m_xTypeConverter
 type converter, needed on various occasions More...
 
- Private Attributes inherited from cppu::BaseMutex
mutable::osl::Mutex m_aMutex
 

Detailed Description

Definition at line 46 of file DataProviderHandler.hxx.

Constructor & Destructor Documentation

◆ DataProviderHandler() [1/2]

rptui::DataProviderHandler::DataProviderHandler ( css::uno::Reference< css::uno::XComponentContext >  context)
explicit

◆ ~DataProviderHandler()

virtual rptui::DataProviderHandler::~DataProviderHandler ( )
inlineoverrideprotectedvirtual

Definition at line 82 of file DataProviderHandler.hxx.

◆ DataProviderHandler() [2/2]

rptui::DataProviderHandler::DataProviderHandler ( DataProviderHandler const &  )
privatedelete

Member Function Documentation

◆ actuatingPropertyChanged()

void SAL_CALL rptui::DataProviderHandler::actuatingPropertyChanged ( const OUString &  ActuatingPropertyName,
const css::uno::Any &  NewValue,
const css::uno::Any &  OldValue,
const css::uno::Reference< css::inspection::XObjectInspectorUI > &  InspectorUI,
sal_Bool  FirstTimeInit 
)
overrideprivatevirtual

◆ addEventListener()

void SAL_CALL rptui::DataProviderHandler::addEventListener ( const css::uno::Reference< css::lang::XEventListener > &  xListener)
overrideprivatevirtual

Definition at line 97 of file DataProviderHandler.cxx.

◆ addPropertyChangeListener()

void SAL_CALL rptui::DataProviderHandler::addPropertyChangeListener ( const css::uno::Reference< css::beans::XPropertyChangeListener > &  Listener)
overrideprivatevirtual

Definition at line 334 of file DataProviderHandler.cxx.

◆ convertToControlValue()

uno::Any SAL_CALL rptui::DataProviderHandler::convertToControlValue ( const OUString &  PropertyName,
const css::uno::Any &  PropertyValue,
const css::uno::Type &  ControlValueType 
)
overrideprivatevirtual

◆ convertToPropertyValue()

uno::Any SAL_CALL rptui::DataProviderHandler::convertToPropertyValue ( const OUString &  PropertyName,
const css::uno::Any &  ControlValue 
)
overrideprivatevirtual

◆ describePropertyLine()

inspection::LineDescriptor SAL_CALL rptui::DataProviderHandler::describePropertyLine ( const OUString &  PropertyName,
const css::uno::Reference< css::inspection::XPropertyControlFactory > &  ControlFactory 
)
overrideprivatevirtual

◆ disposing()

void SAL_CALL rptui::DataProviderHandler::disposing ( )
overrideprivatevirtual

Definition at line 91 of file DataProviderHandler.cxx.

◆ getActuatingProperties()

uno::Sequence< OUString > SAL_CALL rptui::DataProviderHandler::getActuatingProperties ( )
overrideprivatevirtual

Definition at line 374 of file DataProviderHandler.cxx.

References aSeq, m_aMutex, and PROPERTY_TITLE.

◆ getImplementationName()

OUString SAL_CALL rptui::DataProviderHandler::getImplementationName ( )
overrideprivatevirtual

Definition at line 72 of file DataProviderHandler.cxx.

◆ getPropertyState()

beans::PropertyState SAL_CALL rptui::DataProviderHandler::getPropertyState ( const OUString &  PropertyName)
overrideprivatevirtual

Definition at line 235 of file DataProviderHandler.cxx.

◆ getPropertyValue()

uno::Any SAL_CALL rptui::DataProviderHandler::getPropertyValue ( const OUString &  PropertyName)
overrideprivatevirtual

◆ getSupersededProperties()

uno::Sequence< OUString > SAL_CALL rptui::DataProviderHandler::getSupersededProperties ( )
overrideprivatevirtual

Definition at line 368 of file DataProviderHandler.cxx.

References PROPERTY_TITLE.

◆ getSupportedProperties()

uno::Sequence< beans::Property > SAL_CALL rptui::DataProviderHandler::getSupportedProperties ( )
overrideprivatevirtual

◆ getSupportedServiceNames()

uno::Sequence< OUString > SAL_CALL rptui::DataProviderHandler::getSupportedServiceNames ( )
overrideprivatevirtual

Definition at line 82 of file DataProviderHandler.cxx.

◆ impl_dialogChartType_nothrow()

bool rptui::DataProviderHandler::impl_dialogChartType_nothrow ( ::osl::ClearableMutexGuard &  _rClearBeforeDialog) const
private

Definition at line 487 of file DataProviderHandler.cxx.

References aSeq, comphelper::InitAnyPropertySequence(), and m_xContext.

◆ impl_dialogLinkedFields_nothrow()

bool rptui::DataProviderHandler::impl_dialogLinkedFields_nothrow ( ::osl::ClearableMutexGuard &  _rClearBeforeDialog) const
private

◆ impl_updateChartTitle_throw()

void rptui::DataProviderHandler::impl_updateChartTitle_throw ( const css::uno::Any &  _aValue)
private

Definition at line 213 of file DataProviderHandler.cxx.

References m_xContext.

◆ inspect()

void SAL_CALL rptui::DataProviderHandler::inspect ( const css::uno::Reference< css::uno::XInterface > &  Component)
overrideprivatevirtual

Definition at line 110 of file DataProviderHandler.cxx.

References PROPERTY_DETAILFIELDS, PROPERTY_MASTERFIELDS, sModel, and u.

◆ isComposable()

sal_Bool SAL_CALL rptui::DataProviderHandler::isComposable ( const OUString &  PropertyName)
overrideprivatevirtual

Definition at line 382 of file DataProviderHandler.cxx.

◆ onInteractivePropertySelection()

inspection::InteractiveSelectionResult SAL_CALL rptui::DataProviderHandler::onInteractivePropertySelection ( const OUString &  PropertyName,
sal_Bool  Primary,
css::uno::Any &  out_Data,
const css::uno::Reference< css::inspection::XObjectInspectorUI > &  InspectorUI 
)
overrideprivatevirtual

◆ operator=()

void rptui::DataProviderHandler::operator= ( DataProviderHandler const &  )
privatedelete

◆ removeEventListener()

void SAL_CALL rptui::DataProviderHandler::removeEventListener ( const css::uno::Reference< css::lang::XEventListener > &  aListener)
overrideprivatevirtual

Definition at line 102 of file DataProviderHandler.cxx.

◆ removePropertyChangeListener()

void SAL_CALL rptui::DataProviderHandler::removePropertyChangeListener ( const css::uno::Reference< css::beans::XPropertyChangeListener > &  _rxListener)
overrideprivatevirtual

Definition at line 339 of file DataProviderHandler.cxx.

◆ setPropertyValue()

void SAL_CALL rptui::DataProviderHandler::setPropertyValue ( const OUString &  PropertyName,
const css::uno::Any &  Value 
)
overrideprivatevirtual

◆ supportsService()

sal_Bool SAL_CALL rptui::DataProviderHandler::supportsService ( const OUString &  ServiceName)
overrideprivatevirtual

Definition at line 77 of file DataProviderHandler.cxx.

References ServiceName, and cppu::supportsService().

◆ suspend()

sal_Bool SAL_CALL rptui::DataProviderHandler::suspend ( sal_Bool  Suspend)
overrideprivatevirtual

Definition at line 462 of file DataProviderHandler.cxx.

Member Data Documentation

◆ m_xChartModel

css::uno::Reference< css::chart2::XChartDocument> rptui::DataProviderHandler::m_xChartModel
private

inspectee

Definition at line 103 of file DataProviderHandler.hxx.

◆ m_xContext

css::uno::Reference< css::uno::XComponentContext > rptui::DataProviderHandler::m_xContext
private

Definition at line 98 of file DataProviderHandler.hxx.

◆ m_xDataProvider

css::uno::Reference< css::chart2::data::XDatabaseDataProvider> rptui::DataProviderHandler::m_xDataProvider
private

delegatee

Definition at line 100 of file DataProviderHandler.hxx.

◆ m_xFormComponent

css::uno::Reference< css::uno::XInterface > rptui::DataProviderHandler::m_xFormComponent
private

inspectee

Definition at line 101 of file DataProviderHandler.hxx.

◆ m_xFormComponentHandler

css::uno::Reference< css::inspection::XPropertyHandler > rptui::DataProviderHandler::m_xFormComponentHandler
private

Definition at line 99 of file DataProviderHandler.hxx.

◆ m_xMasterDetails

css::uno::Reference< css::beans::XPropertyChangeListener > rptui::DataProviderHandler::m_xMasterDetails
private

Definition at line 104 of file DataProviderHandler.hxx.

◆ m_xReportComponent

css::uno::Reference< css::report::XReportComponent > rptui::DataProviderHandler::m_xReportComponent
private

inspectee

Definition at line 102 of file DataProviderHandler.hxx.

◆ m_xTypeConverter

css::uno::Reference< css::script::XTypeConverter > rptui::DataProviderHandler::m_xTypeConverter
private

type converter, needed on various occasions

Definition at line 106 of file DataProviderHandler.hxx.


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