/** \class OFormatCondition Defines the implementation of a \interface com:::sun::star::report::XFormatCondition *\ingroupreportdesign_api *
*/ class OFormatCondition final : public cppu::BaseMutex, public FormatConditionBase, public FormatConditionPropertySet
{
OFormatProperties m_aFormatProperties;
OUString m_sFormula; bool m_bEnabled; private:
OFormatCondition(const OFormatCondition&) = delete;
OFormatCondition& operator=(const OFormatCondition&) = delete;
// internally, we store PROPERTY_PARAADJUST as css::style::ParagraphAdjust, but externally the property is visible as a sal_Int16 void set( const OUString& _sProperty
,sal_Int16 Value
,css::style::ParagraphAdjust& _member)
{
BoundListeners l;
{
::osl::MutexGuard aGuard(m_aMutex); if ( static_cast<sal_Int16>(_member) != Value )
{
prepareSet(_sProperty, css::uno::Any(static_cast<sal_Int16>(_member)), css::uno::Any(Value), &l);
_member = static_cast<css::style::ParagraphAdjust>(Value);
}
}
l.notify();
} template <typename T> void set( const OUString& _sProperty
,const T& Value
,T& _member)
{
BoundListeners l;
{
::osl::MutexGuard aGuard(m_aMutex); if ( _member != Value )
{
prepareSet(_sProperty, css::uno::Any(_member), css::uno::Any(Value), &l);
_member = Value;
}
}
l.notify();
} void set( const OUString& _sProperty
,bool Value
,bool& _member)
{
BoundListeners l;
{
::osl::MutexGuard aGuard(m_aMutex); if ( _member != Value )
{
prepareSet(_sProperty, css::uno::Any(_member), css::uno::Any(Value), &l);
_member = Value;
}
}
l.notify();
} virtual ~OFormatCondition() override; public: explicit OFormatCondition(css::uno::Reference< css::uno::XComponentContext > const & _xContext
);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.