27#include <com/sun/star/beans/XPropertySet.hpp>
28#include <com/sun/star/script/ScriptEventDescriptor.hpp>
42 css::uno::Sequence< css::script::ScriptEventDescriptor >
49 const css::uno::Reference< css::beans::XPropertySet >& _rxProps,
50 const css::uno::Sequence< css::script::ScriptEventDescriptor >& _rEvents);
117 const css::uno::Reference< css::beans::XPropertySet >& _rxControl,
118 OUString _sControlId,
119 OUString _sReferringControls,
120 const css::uno::Sequence< css::script::ScriptEventDescriptor >& _rxEvents);
137 virtual void examine()
override;
268 const css::uno::Reference< css::beans::XPropertySet >& _rxControl,
269 const OUString& _rControlId,
270 const css::uno::Sequence< css::script::ScriptEventDescriptor >& _rxEvents);
281 virtual void examine()
override;
299 const css::uno::Reference< css::beans::XPropertySet >& _rxForm,
300 const css::uno::Sequence< css::script::ScriptEventDescriptor >& _rxEvents
Helper class for exporting a grid column.
virtual void examine() override
examine the control.
OColumnExport(IFormsExportContext &_rContext, const css::uno::Reference< css::beans::XPropertySet > &_rxControl, const OUString &_rControlId, const css::uno::Sequence< css::script::ScriptEventDescriptor > &_rxEvents)
ctor
virtual void exportServiceNameAttribute() override
add the service-name attribute to the export context
virtual ~OColumnExport() override
virtual const char * getOuterXMLElementName() const override
get the name of the outer XML element
virtual void exportAttributes() override
export the attributes
helper for translating between control types and XML tags
Helper class for handling xml elements representing a form control.
DAFlags m_nIncludeDatabase
void exportCellBindingAttributes(bool _bIncludeListLinkageType)
exports the attribute which descrives a cell value binding of a control in a spreadsheet document
o3tl::sorted_vector< sal_Int16 > Int16Set
bool controlHasActiveDataBinding() const
determines whether the control we're exporting has an active data binding.
OUString m_sReferringControls
virtual void implEndElement() override
ends the XML element
void exportOuterAttributes()
exports the attributes for the outer element
std::unique_ptr< SvXMLElementExport > m_pOuterElement
void exportXFormsBindAttributes()
exports the attribute(s) which bind this control to XForms
virtual void implStartElement(const char *_pName) override
start the XML element
BAFlags m_nIncludeBindings
SCAFlags m_nIncludeSpecial
void exportXFormsListAttributes()
exports the attribute(s) which bind the list of a list control to XForms
void exportXFormsSubmissionAttributes()
exports the attribute(s) for an XForms submission
CCAFlags m_nIncludeCommon
void getSequenceInt16PropertyAsSet(const OUString &_rPropertyName, Int16Set &_rOut)
gets a Sequence< sal_Int16 > property value as set of sal_Int16's
virtual void exportAttributes() override
export the attributes
void exportListSourceAsAttribute()
exports the ListSource property of a control as attribute
virtual const char * getXMLElementName() const override
get the name of the XML element
void exportSubTags() override
writes everything which needs to be represented as sub tag
void exportDatabaseAttributes()
adds database attributes to the XMLExport context given
void exportCommonControlAttributes()
adds common control attributes to the XMLExport context given
OControlExport(IFormsExportContext &_rContext, const css::uno::Reference< css::beans::XPropertySet > &_rxControl, OUString _sControlId, OUString _sReferringControls, const css::uno::Sequence< css::script::ScriptEventDescriptor > &_rxEvents)
constructs an object capable of exporting controls
bool controlHasUserSuppliedListEntries() const
determines whether the list entries (of a combo or list box) are supplied by the user
void exportBindingAttributes()
adds the XML attributes which are related to binding controls to external values and/or list sources
void exportListSourceAsElements()
exports the ListSource property of a control as XML elements
virtual void examine() override
examine the control.
void exportCellListSourceRange()
exports the attribute which descrives a cell range which acts as list source for a list-like control
void exportInnerAttributes()
exports the attributes for the inner element
virtual const char * getOuterXMLElementName() const
get the name of the outer XML element
void exportImagePositionAttributes()
exports the attribute(s) for the ImagePosition property
void exportGenericHandlerAttributes()
adds the attributes which are handled via generic IPropertyHandlers
void exportSpecialAttributes()
adds attributes which are special to a control type to the export context's attribute list
OUString getScalarListSourceValue() const
retrieves the string specifying the ListSource of a list or combo box
virtual ~OElementExport()
virtual void implEndElement()
ends the XML element
virtual void exportSubTags()
export any sub tags
void exportEvents()
exports the events (as script:events tag)
OElementExport(IFormsExportContext &_rContext, const css::uno::Reference< css::beans::XPropertySet > &_rxProps, const css::uno::Sequence< css::script::ScriptEventDescriptor > &_rEvents)
virtual void implStartElement(const char *_pName)
start the XML element
virtual void exportAttributes()
export the attributes
virtual const char * getXMLElementName() const =0
get the name of the XML element
std::unique_ptr< SvXMLElementExport > m_pXMLElement
virtual void examine()
examine the element we're exporting
css::uno::Sequence< css::script::ScriptEventDescriptor > m_aEvents
virtual void exportServiceNameAttribute()
add the service-name attribute to the export context
provides export related tools for attribute handling