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

#include <FormattedFieldBeautifier.hxx>

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

Public Member Functions

 FormattedFieldBeautifier (const OReportController &_aObserver)
 
virtual ~FormattedFieldBeautifier () override
 
void notifyPropertyChange (const css::beans::PropertyChangeEvent &_rEvent) override
 
void notifyElementInserted (const css::uno::Reference< css::uno::XInterface > &_rxElement) override
 
void handle (const css::uno::Reference< css::uno::XInterface > &_rxElement) override
 
virtual void notifyPropertyChange (const css::beans::PropertyChangeEvent &_rEvent)=0
 
virtual void notifyElementInserted (const css::uno::Reference< css::uno::XInterface > &_rxElement)=0
 
virtual void handle (const css::uno::Reference< css::uno::XInterface > &_rxElement)=0
 

Private Member Functions

css::uno::Reference< css::awt::XVclWindowPeer > getVclWindowPeer (const css::uno::Reference< css::report::XReportComponent > &_xComponent)
 
void setPlaceholderText (const css::uno::Reference< css::uno::XInterface > &_rxComponent)
 
void setPlaceholderText (const css::uno::Reference< css::awt::XVclWindowPeer > &_xVclWindowPeer, const OUString &_rText)
 
Color getTextColor ()
 

Private Attributes

const OReportControllerm_rReportController
 
Color m_nTextColor
 

Additional Inherited Members

- Protected Member Functions inherited from rptui::IReportControllerObserver
virtual ~IReportControllerObserver ()
 

Detailed Description

Definition at line 34 of file FormattedFieldBeautifier.hxx.

Constructor & Destructor Documentation

◆ FormattedFieldBeautifier()

rptui::FormattedFieldBeautifier::FormattedFieldBeautifier ( const OReportController _aObserver)

Definition at line 44 of file FormattedFieldBeautifier.cxx.

References COL_AUTO().

◆ ~FormattedFieldBeautifier()

rptui::FormattedFieldBeautifier::~FormattedFieldBeautifier ( )
overridevirtual

Definition at line 62 of file FormattedFieldBeautifier.cxx.

Member Function Documentation

◆ getTextColor()

Color rptui::FormattedFieldBeautifier::getTextColor ( )
private

◆ getVclWindowPeer()

uno::Reference< awt::XVclWindowPeer > rptui::FormattedFieldBeautifier::getVclWindowPeer ( const css::uno::Reference< css::report::XReportComponent > &  _xComponent)
private

◆ handle()

void rptui::FormattedFieldBeautifier::handle ( const css::uno::Reference< css::uno::XInterface > &  _rxElement)
overridevirtual

Implements rptui::IReportControllerObserver.

Definition at line 133 of file FormattedFieldBeautifier.cxx.

References setPlaceholderText().

Referenced by notifyElementInserted().

◆ notifyElementInserted()

void rptui::FormattedFieldBeautifier::notifyElementInserted ( const css::uno::Reference< css::uno::XInterface > &  _rxElement)
overridevirtual

◆ notifyPropertyChange()

void rptui::FormattedFieldBeautifier::notifyPropertyChange ( const css::beans::PropertyChangeEvent &  _rEvent)
overridevirtual

◆ setPlaceholderText() [1/2]

void rptui::FormattedFieldBeautifier::setPlaceholderText ( const css::uno::Reference< css::awt::XVclWindowPeer > &  _xVclWindowPeer,
const OUString &  _rText 
)
private

◆ setPlaceholderText() [2/2]

void rptui::FormattedFieldBeautifier::setPlaceholderText ( const css::uno::Reference< css::uno::XInterface > &  _rxComponent)
private

Referenced by handle(), and notifyPropertyChange().

Member Data Documentation

◆ m_nTextColor

Color rptui::FormattedFieldBeautifier::m_nTextColor
private

Definition at line 37 of file FormattedFieldBeautifier.hxx.

Referenced by getTextColor().

◆ m_rReportController

const OReportController& rptui::FormattedFieldBeautifier::m_rReportController
private

Definition at line 36 of file FormattedFieldBeautifier.hxx.

Referenced by getVclWindowPeer().


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