protected: /// get the name of the XML element virtual OUString getXMLElementName() const = 0; /// examine the element we're exporting virtualvoid examine(); /// export the attributes virtualvoid exportAttributes(); /// export any sub tags virtualvoid exportSubTags();
/** exports the events (as script:events tag)
*/ void exportEvents();
/** add the service-name attribute to the export context
*/ virtualvoid exportServiceNameAttribute();
/// start the XML element virtualvoid implStartElement(const OUString& _pName);
/// ends the XML element virtualvoid implEndElement();
};
//= OControlExport /** Helper class for handling xml elements representing a form control
*/ class OControlExport
:public OControlElement
,public OValuePropertiesMetaData
,public OElementExport
{ protected: typedef o3tl::sorted_vector<sal_Int16> Int16Set; // used below
OUString m_sControlId; // the control id to use when exporting
OUString m_sReferringControls; // list of referring controls (i.e. their id's)
sal_Int16 m_nClassId; // class id of the control we're representing
ElementType m_eType; // (XML) type of the control we're representing
CCAFlags m_nIncludeCommon; // common control attributes to include
DAFlags m_nIncludeDatabase; // common database attributes to include
SCAFlags m_nIncludeSpecial; // special attributes to include
EAFlags m_nIncludeEvents; // events to include
BAFlags m_nIncludeBindings; // binding attributes to include
std::unique_ptr<SvXMLElementExport> m_pOuterElement; // XML element doing the concrete startElement etc. for the outer element
public: /** constructs an object capable of exporting controls
/** gets a Sequence< sal_Int16 > property value as set of sal_Int16's @param_rPropertyName thepropertynametouse @param_rOut outparameter.Thesetofintegers.
*/ void getSequenceInt16PropertyAsSet(const OUString& _rPropertyName, Int16Set& _rOut);
/** exports the attribute which descrives a cell value binding of a control inaspreadsheetdocument
*/ void exportCellBindingAttributes( bool _bIncludeListLinkageType );
/** exports the attribute(s) which bind this control to XForms */ void exportXFormsBindAttributes();
/** exports the attribute(s) which bind the list of a list
control to XForms */ void exportXFormsListAttributes();
/** exports the attribute(s) for an XForms submission */ void exportXFormsSubmissionAttributes();
/** exports the attribute which descrives a cell range which acts as list source for alist-likecontrol
*/ void exportCellListSourceRange( );
/** exports the attribute(s) for the ImagePosition property
*/ void exportImagePositionAttributes();
/** determines whether the control we're exporting has an active data binding.
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.