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

#include <formatnormalizer.hxx>

Collaboration diagram for rptui::FormatNormalizer:
[legend]

Classes

struct  Field
 

Public Types

typedef ::std::vector< FieldFieldList
 

Public Member Functions

 FormatNormalizer (const OReportModel &_rModel)
 
 ~FormatNormalizer ()
 
 FormatNormalizer (const FormatNormalizer &)=delete
 
FormatNormalizeroperator= (const FormatNormalizer &)=delete
 
void notifyPropertyChange (const css::beans::PropertyChangeEvent &_rEvent)
 
void notifyElementInserted (const css::uno::Reference< css::uno::XInterface > &_rxElement)
 

Private Member Functions

bool impl_lateInit ()
 
void impl_onDefinitionPropertyChange (std::u16string_view _rChangedPropName)
 
void impl_onFormattedProperttyChange (const css::uno::Reference< css::report::XFormattedField > &_rxFormatted, std::u16string_view _rChangedPropName)
 
bool impl_ensureUpToDateFieldList_nothrow ()
 
void impl_adjustFormatToDataFieldType_nothrow (const css::uno::Reference< css::report::XFormattedField > &_rxFormatted)
 

Private Attributes

const OReportModelm_rModel
 
css::uno::Reference< css::report::XReportDefinition > m_xReportDefinition
 
FieldList m_aFields
 is our field list dirty? More...
 
bool m_bFieldListDirty
 

Detailed Description

Definition at line 38 of file formatnormalizer.hxx.

Member Typedef Documentation

◆ FieldList

typedef ::std::vector< Field > rptui::FormatNormalizer::FieldList

Definition at line 50 of file formatnormalizer.hxx.

Constructor & Destructor Documentation

◆ FormatNormalizer() [1/2]

rptui::FormatNormalizer::FormatNormalizer ( const OReportModel _rModel)
explicit

Definition at line 59 of file formatnormalizer.cxx.

References m_rModel.

◆ ~FormatNormalizer()

rptui::FormatNormalizer::~FormatNormalizer ( )

Definition at line 66 of file formatnormalizer.cxx.

◆ FormatNormalizer() [2/2]

rptui::FormatNormalizer::FormatNormalizer ( const FormatNormalizer )
delete

Member Function Documentation

◆ impl_adjustFormatToDataFieldType_nothrow()

void rptui::FormatNormalizer::impl_adjustFormatToDataFieldType_nothrow ( const css::uno::Reference< css::report::XFormattedField > &  _rxFormatted)
private

◆ impl_ensureUpToDateFieldList_nothrow()

bool rptui::FormatNormalizer::impl_ensureUpToDateFieldList_nothrow ( )
private

◆ impl_lateInit()

bool rptui::FormatNormalizer::impl_lateInit ( )
private

◆ impl_onDefinitionPropertyChange()

void rptui::FormatNormalizer::impl_onDefinitionPropertyChange ( std::u16string_view  _rChangedPropName)
private

Definition at line 111 of file formatnormalizer.cxx.

References m_bFieldListDirty, and u.

Referenced by notifyPropertyChange().

◆ impl_onFormattedProperttyChange()

void rptui::FormatNormalizer::impl_onFormattedProperttyChange ( const css::uno::Reference< css::report::XFormattedField > &  _rxFormatted,
std::u16string_view  _rChangedPropName 
)
private

Definition at line 120 of file formatnormalizer.cxx.

References impl_adjustFormatToDataFieldType_nothrow(), and u.

Referenced by notifyPropertyChange().

◆ notifyElementInserted()

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

◆ notifyPropertyChange()

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

◆ operator=()

FormatNormalizer & rptui::FormatNormalizer::operator= ( const FormatNormalizer )
delete

Member Data Documentation

◆ m_aFields

FieldList rptui::FormatNormalizer::m_aFields
private

is our field list dirty?

Definition at line 57 of file formatnormalizer.hxx.

Referenced by impl_adjustFormatToDataFieldType_nothrow(), and impl_ensureUpToDateFieldList_nothrow().

◆ m_bFieldListDirty

bool rptui::FormatNormalizer::m_bFieldListDirty
private

◆ m_rModel

const OReportModel& rptui::FormatNormalizer::m_rModel
private

Definition at line 53 of file formatnormalizer.hxx.

Referenced by impl_ensureUpToDateFieldList_nothrow(), and impl_lateInit().

◆ m_xReportDefinition

css::uno::Reference< css::report::XReportDefinition > rptui::FormatNormalizer::m_xReportDefinition
private

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