24#include <com/sun/star/form/FormComponentType.hpp>
47 m_nClassId = FormComponentType::FIXEDTEXT;
51OFixedTextModel::OFixedTextModel(
const OFixedTextModel* _pOriginal,
const Reference<XComponentContext>& _rxFactory )
52 :OControlModel( _pOriginal, _rxFactory )
58OFixedTextModel::~OFixedTextModel( )
63css::uno::Reference< css::util::XCloneable > SAL_CALL OFixedTextModel::createClone()
66 pClone->clonedFrom(
this);
71css::uno::Sequence<OUString> SAL_CALL OFixedTextModel::getSupportedServiceNames()
73 css::uno::Sequence<OUString> aSupported = OControlModel::getSupportedServiceNames();
74 aSupported.realloc(aSupported.getLength() + 2);
76 OUString* pArray = aSupported.getArray();
83void OFixedTextModel::describeAggregateProperties( Sequence< Property >& _rAggregateProps )
const
85 OControlModel::describeAggregateProperties( _rAggregateProps );
90OUString SAL_CALL OFixedTextModel::getServiceName()
96void SAL_CALL OFixedTextModel::write(
const Reference<XObjectOutputStream>& _rxOutStream)
98 OControlModel::write(_rxOutStream);
101 _rxOutStream->writeShort(0x0002);
102 writeHelpTextCompatibly(_rxOutStream);
106void SAL_CALL OFixedTextModel::read(
const Reference<XObjectInputStream>& _rxInStream)
108 OControlModel::read(_rxInStream);
111 sal_Int16
nVersion = _rxInStream->readShort();
113 readHelpTextCompatibly(_rxInStream);
118extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface*
120 css::uno::Sequence<css::uno::Any>
const &)
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * com_sun_star_form_OFixedTextModel_get_implementation(css::uno::XComponentContext *component, css::uno::Sequence< css::uno::Any > const &)
OFixedTextModel(const css::uno::Reference< css::uno::XComponentContext > &_rxFactory)
constexpr OUStringLiteral PROPERTY_TABSTOP
void RemoveProperty(Sequence< Property > &_rProps, const OUString &_rPropName)
ListBox is a bit confusing / different from other form components, so here are a few notes:
constexpr OUStringLiteral VCL_CONTROLMODEL_FIXEDTEXT
constexpr OUStringLiteral FRM_COMPONENT_FIXEDTEXT
constexpr OUStringLiteral FRM_SUN_COMPONENT_FIXEDTEXT