|
LibreOffice Module reportdesign (master) 1
|
#include <formatnormalizer.hxx>
Classes | |
| struct | Field |
Public Types | |
| typedef ::std::vector< Field > | FieldList |
Public Member Functions | |
| FormatNormalizer (const OReportModel &_rModel) | |
| ~FormatNormalizer () | |
| FormatNormalizer (const FormatNormalizer &)=delete | |
| FormatNormalizer & | operator= (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 OReportModel & | m_rModel |
| css::uno::Reference< css::report::XReportDefinition > | m_xReportDefinition |
| FieldList | m_aFields |
| is our field list dirty? More... | |
| bool | m_bFieldListDirty |
Definition at line 38 of file formatnormalizer.hxx.
| typedef ::std::vector< Field > rptui::FormatNormalizer::FieldList |
Definition at line 50 of file formatnormalizer.hxx.
|
explicit |
Definition at line 59 of file formatnormalizer.cxx.
References m_rModel.
| rptui::FormatNormalizer::~FormatNormalizer | ( | ) |
Definition at line 66 of file formatnormalizer.cxx.
|
delete |
|
private |
Definition at line 208 of file formatnormalizer.cxx.
References DBG_UNHANDLED_EXCEPTION, Exception, getLocale(), impl_ensureUpToDateFieldList_nothrow(), m_aFields, and u.
Referenced by impl_onFormattedProperttyChange(), and notifyElementInserted().
|
private |
Definition at line 160 of file formatnormalizer.cxx.
References DBG_UNHANDLED_EXCEPTION, Exception, dbtools::StatementComposer::getComposer(), dbaui::DBSubComponentController::getConnection(), rptui::OReportModel::getController(), m_aFields, m_bFieldListDirty, m_rModel, and m_xReportDefinition.
Referenced by impl_adjustFormatToDataFieldType_nothrow().
|
private |
Definition at line 101 of file formatnormalizer.cxx.
References rptui::OReportModel::getReportDefinition(), m_rModel, and m_xReportDefinition.
Referenced by notifyElementInserted(), and notifyPropertyChange().
|
private |
Definition at line 111 of file formatnormalizer.cxx.
References m_bFieldListDirty, and u.
Referenced by notifyPropertyChange().
|
private |
Definition at line 120 of file formatnormalizer.cxx.
References impl_adjustFormatToDataFieldType_nothrow(), and u.
Referenced by notifyPropertyChange().
| void rptui::FormatNormalizer::notifyElementInserted | ( | const css::uno::Reference< css::uno::XInterface > & | _rxElement | ) |
Definition at line 88 of file formatnormalizer.cxx.
References impl_adjustFormatToDataFieldType_nothrow(), and impl_lateInit().
| void rptui::FormatNormalizer::notifyPropertyChange | ( | const css::beans::PropertyChangeEvent & | _rEvent | ) |
Definition at line 71 of file formatnormalizer.cxx.
References impl_lateInit(), impl_onDefinitionPropertyChange(), impl_onFormattedProperttyChange(), and m_xReportDefinition.
|
delete |
|
private |
is our field list dirty?
Definition at line 57 of file formatnormalizer.hxx.
Referenced by impl_adjustFormatToDataFieldType_nothrow(), and impl_ensureUpToDateFieldList_nothrow().
|
private |
Definition at line 58 of file formatnormalizer.hxx.
Referenced by impl_ensureUpToDateFieldList_nothrow(), and impl_onDefinitionPropertyChange().
|
private |
Definition at line 53 of file formatnormalizer.hxx.
Referenced by impl_ensureUpToDateFieldList_nothrow(), and impl_lateInit().
|
private |
Definition at line 54 of file formatnormalizer.hxx.
Referenced by impl_ensureUpToDateFieldList_nothrow(), impl_lateInit(), and notifyPropertyChange().