/** \class OFixedText Defines the implementation of a \interface com:::sun::star::report::XFixedText *\ingroupreportdesign_api *
*/ class OFixedText final : public cppu::BaseMutex, public FixedTextBase, public FixedTextPropertySet
{ friendclass OShapeHelper;
OReportControlModel m_aProps;
OUString m_sLabel; private:
OFixedText(const OFixedText&) = delete;
OFixedText& operator=(const OFixedText&) = 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 ~OFixedText() override; public: explicit OFixedText(css::uno::Reference< css::uno::XComponentContext > const & _xContext); explicit OFixedText(css::uno::Reference< css::uno::XComponentContext > const & _xContext
,const css::uno::Reference< css::lang::XMultiServiceFactory > & _xFactory
,css::uno::Reference< css::drawing::XShape >& _xShape);
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.