LibreOffice Module xmloff (master)  1
Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
xmloff::OControlExport Class Reference

Helper class for handling xml elements representing a form control. More...

#include <elementexport.hxx>

Inheritance diagram for xmloff::OControlExport:
[legend]
Collaboration diagram for xmloff::OControlExport:
[legend]

Public Member Functions

 OControlExport (IFormsExportContext &_rContext, const css::uno::Reference< css::beans::XPropertySet > &_rxControl, const OUString &_rControlId, const OUString &_rReferringControls, const css::uno::Sequence< css::script::ScriptEventDescriptor > &_rxEvents)
 constructs an object capable of exporting controls More...
 
- Public Member Functions inherited from xmloff::OElementExport
 OElementExport (IFormsExportContext &_rContext, const css::uno::Reference< css::beans::XPropertySet > &_rxProps, const css::uno::Sequence< css::script::ScriptEventDescriptor > &_rEvents)
 
virtual ~OElementExport ()
 
void doExport ()
 
- Public Member Functions inherited from xmloff::OPropertyExport
 OPropertyExport (IFormsExportContext &_rContext, const css::uno::Reference< css::beans::XPropertySet > &_rxProps)
 constructs an object capable of handling attributes for export More...
 
template<typename T >
void exportRemainingPropertiesSequence (Any const &value, token::XMLTokenEnum eValueAttName)
 

Protected Types

typedef std::set< sal_Int16 > Int16Set
 

Protected Member Functions

virtual void implStartElement (const char *_pName) override
 start the XML element More...
 
virtual void implEndElement () override
 ends the XML element More...
 
virtual const char * getOuterXMLElementName () const
 get the name of the outer XML element More...
 
virtual const char * getXMLElementName () const override
 get the name of the XML element More...
 
virtual void examine () override
 examine the control. More...
 
void exportOuterAttributes ()
 exports the attributes for the outer element More...
 
void exportInnerAttributes ()
 exports the attributes for the inner element More...
 
virtual void exportAttributes () override
 export the attributes More...
 
void exportSubTags () override
 writes everything which needs to be represented as sub tag More...
 
void exportGenericHandlerAttributes ()
 adds the attributes which are handled via generic IPropertyHandlers More...
 
void exportCommonControlAttributes ()
 adds common control attributes to the XMLExport context given More...
 
void exportDatabaseAttributes ()
 adds database attributes to the XMLExport context given More...
 
void exportBindingAttributes ()
 adds the XML attributes which are related to binding controls to external values and/or list sources More...
 
void exportSpecialAttributes ()
 adds attributes which are special to a control type to the export context's attribute list More...
 
void exportListSourceAsAttribute ()
 exports the ListSource property of a control as attribute More...
 
void exportListSourceAsElements ()
 exports the ListSource property of a control as XML elements More...
 
void getSequenceInt16PropertyAsSet (const OUString &_rPropertyName, Int16Set &_rOut)
 gets a Sequence< sal_Int16 > property value as set of sal_Int16's More...
 
void exportCellBindingAttributes (bool _bIncludeListLinkageType)
 exports the attribute which descrives a cell value binding of a control in a spreadsheet document More...
 
void exportXFormsBindAttributes ()
 exports the attribute(s) which bind this control to XForms More...
 
void exportXFormsListAttributes ()
 exports the attribute(s) which bind the list of a list control to XForms More...
 
void exportXFormsSubmissionAttributes ()
 exports the attribute(s) for an XForms submission More...
 
void exportCellListSourceRange ()
 exports the attribute which descrives a cell range which acts as list source for a list-like control More...
 
void exportImagePositionAttributes ()
 exports the attribute(s) for the ImagePosition property More...
 
bool controlHasActiveDataBinding () const
 determines whether the control we're exporting has an active data binding. More...
 
OUString getScalarListSourceValue () const
 retrieves the string specifying the ListSource of a list or combo box More...
 
bool controlHasUserSuppliedListEntries () const
 determines whether the list entries (of a combo or list box) are supplied by the user More...
 
- Protected Member Functions inherited from xmloff::OControlElement
 OControlElement ()
 ctor. More...
 
- Protected Member Functions inherited from xmloff::OElementExport
void exportEvents ()
 exports the events (as script:events tag) More...
 
virtual void exportServiceNameAttribute ()
 add the service-name attribute to the export context More...
 
- Protected Member Functions inherited from xmloff::OPropertyExport
void examinePersistence ()
 examines a property set given for all properties which's value are to made persistent More...
 
template<typename T >
void exportRemainingPropertiesSequence (css::uno::Any const &value, token::XMLTokenEnum eValueAttName)
 
void exportRemainingProperties ()
 
void exportedProperty (const OUString &_rPropertyName)
 indicates that a property has been handled by a derived class, without using the helper methods of this class. More...
 
void exportStringPropertyAttribute (const sal_uInt16 _nNamespaceKey, const char *_pAttributeName, const OUString &_rPropertyName)
 add an attribute which is represented by a string property to the export context More...
 
void exportBooleanPropertyAttribute (const sal_uInt16 _nNamespaceKey, const char *_pAttributeName, const OUString &_rPropertyName, const BoolAttrFlags _nBooleanAttributeFlags)
 add an attribute which is represented by a boolean property to the export context More...
 
void exportInt16PropertyAttribute (const sal_uInt16 _nNamespaceKey, const char *_pAttributeName, const OUString &_rPropertyName, const sal_Int16 _nDefault, const bool force=false)
 add an attribute which is represented by a sal_Int16 property to the export context More...
 
void exportInt32PropertyAttribute (const sal_uInt16 _nNamespaceKey, const char *_pAttributeName, const OUString &_rPropertyName, const sal_Int32 _nDefault)
 add an attribute which is represented by a sal_Int32 property to the export context More...
 
template<typename EnumT >
void exportEnumPropertyAttribute (const sal_uInt16 _nNamespaceKey, const char *_pAttributeName, const OUString &_rPropertyName, const SvXMLEnumMapEntry< EnumT > *_pValueMap, const EnumT _nDefault, const bool _bVoidDefault=false)
 add an attribute which is represented by an enum property to the export context More...
 
void exportEnumPropertyAttributeImpl (const sal_uInt16 _nNamespaceKey, const char *_pAttributeName, const OUString &_rPropertyName, const SvXMLEnumMapEntry< sal_uInt16 > *_pValueMap, const sal_uInt16 _nDefault, const bool _bVoidDefault)
 
void exportTargetFrameAttribute ()
 add the hlink:target-frame attribute to the export context. More...
 
void exportTargetLocationAttribute (bool _bAddType)
 add the form:href attribute to the export context. More...
 
void exportImageDataAttribute ()
 add the form:image attribute to the export context. More...
 
void flagStyleProperties ()
 flag the style properties as 'already exported' More...
 
void exportGenericPropertyAttribute (const sal_uInt16 _nAttributeNamespaceKey, const char *_pAttributeName, const char *_pPropertyName)
 add an arbitrary attribute extracted from an arbitrary property to the export context More...
 
void exportStringSequenceAttribute (const sal_uInt16 _nAttributeNamespaceKey, const char *_pAttributeName, const OUString &_rPropertyName)
 exports a property value, which is a string sequence, as attribute More...
 
bool shouldExportProperty (const OUString &i_propertyName) const
 determines whether the given property is to be exported More...
 
OUString implConvertAny (const css::uno::Any &_rValue)
 tries to convert an arbitrary <type scope="com.sun:star.uno">Any</type> into an string More...
 
void AddAttribute (sal_uInt16 _nPrefix, const char *_pName, const OUString &_rValue)
 
void AddAttribute (sal_uInt16 _nPrefix, const OUString &_rName, const OUString &_rValue)
 
void AddAttribute (sal_uInt16 _nPrefix,::xmloff::token::XMLTokenEnum _eName, const OUString &_rValue)
 
void AddAttribute (sal_uInt16 _nPrefix,::xmloff::token::XMLTokenEnum _eName,::xmloff::token::XMLTokenEnum _eValue)
 
void dbg_implCheckProperty (const OUString &_rPropertyName, const css::uno::Type *_pType)
 check a given property set for the existence and type correctness of a given property More...
 

Protected Attributes

OUString m_sControlId
 
OUString m_sReferringControls
 
sal_Int16 m_nClassId
 
ElementType m_eType
 
CCAFlags m_nIncludeCommon
 
DAFlags m_nIncludeDatabase
 
SCAFlags m_nIncludeSpecial
 
EAFlags m_nIncludeEvents
 
BAFlags m_nIncludeBindings
 
std::unique_ptr< SvXMLElementExportm_pOuterElement
 
- Protected Attributes inherited from xmloff::OElementExport
css::uno::Sequence< css::script::ScriptEventDescriptor > m_aEvents
 
std::unique_ptr< SvXMLElementExportm_pXMLElement
 
- Protected Attributes inherited from xmloff::OPropertyExport
IFormsExportContextm_rContext
 
const css::uno::Reference< css::beans::XPropertySetm_xProps
 
const css::uno::Reference< css::beans::XPropertySetInfo > m_xPropertyInfo
 
const css::uno::Reference< css::beans::XPropertyState > m_xPropertyState
 
OUString m_sValueTrue
 
OUString m_sValueFalse
 

Additional Inherited Members

- Public Types inherited from xmloff::OControlElement
enum  ElementType {
  TEXT = 0,
  TEXT_AREA,
  PASSWORD,
  FILE,
  FORMATTED_TEXT,
  FIXED_TEXT,
  COMBOBOX,
  LISTBOX,
  BUTTON,
  IMAGE,
  CHECKBOX,
  RADIO,
  FRAME,
  IMAGE_FRAME,
  HIDDEN,
  GRID,
  VALUERANGE,
  GENERIC_CONTROL,
  TIME,
  DATE,
  UNKNOWN
}
 
- Static Public Member Functions inherited from xmloff::OControlElement
static const char * getElementName (ElementType _eType)
 retrieves the tag name to be used to describe a control of the given type More...
 
- Static Protected Member Functions inherited from xmloff::OPropertyExport
::xmloff::token::XMLTokenEnum implGetPropertyXMLType (const css::uno::Type &_rType)
 

Detailed Description

Helper class for handling xml elements representing a form control.

Definition at line 85 of file elementexport.hxx.

Member Typedef Documentation

typedef std::set<sal_Int16> xmloff::OControlExport::Int16Set
protected

Definition at line 91 of file elementexport.hxx.

Constructor & Destructor Documentation

xmloff::OControlExport::OControlExport ( IFormsExportContext _rContext,
const css::uno::Reference< css::beans::XPropertySet > &  _rxControl,
const OUString &  _rControlId,
const OUString &  _rReferringControls,
const css::uno::Sequence< css::script::ScriptEventDescriptor > &  _rxEvents 
)

constructs an object capable of exporting controls

You need at least two pre-requisites from outside: The control to be exported needs to have a class id assigned, and you need the list control-ids of all the controls referring to this one as LabelControl.
This information can't be collected when known only the control itself and not it's complete context.

Parameters
_rControlIdthe control id to use when exporting the control
_rReferringControlsthe comma-separated list of control-ids of all the controls referring to this one as LabelControl

Definition at line 228 of file elementexport.cxx.

References CONTROL, m_eType, xmloff::OPropertyExport::m_xProps, NONE, and UNKNOWN.

Member Function Documentation

bool xmloff::OControlExport::controlHasActiveDataBinding ( ) const
protected

determines whether the control we're exporting has an active data binding.

Bindings which count here are:

  • an established connection to a database field
  • a binding to an external value supplier (<type scope="css::form::binding">XValueBinding</type>)

Definition at line 1860 of file elementexport.cxx.

References Exception, xmloff::OPropertyExport::m_xPropertyInfo, xmloff::OPropertyExport::m_xProps, and TOOLS_WARN_EXCEPTION.

Referenced by exportCommonControlAttributes().

bool xmloff::OControlExport::controlHasUserSuppliedListEntries ( ) const
protected

determines whether the list entries (of a combo or list box) are supplied by the user

List entries may be

  • specified by the user
  • specified by an external list source (<type scope="css::form::binding">XListEntrySource</type>)
  • obtained from a database query (in various ways)

In the latter two cases, this method will return <FALSE>

Definition at line 1887 of file elementexport.cxx.

References DBG_UNHANDLED_EXCEPTION, Exception, getScalarListSourceValue(), xmloff::OPropertyExport::m_xPropertyInfo, xmloff::OPropertyExport::m_xProps, and PROPERTY_LISTSOURCETYPE.

Referenced by exportSubTags().

void xmloff::OControlExport::examine ( )
overrideprotectedvirtual

examine the control.

Some kind of CtorImpl.

Reimplemented from xmloff::OElementExport.

Reimplemented in xmloff::OColumnExport.

Definition at line 1402 of file elementexport.cxx.

References aHelper, cppu::any2bool(), AutoCompletion, BoundColumn, xmloff::OControlElement::BUTTON, ButtonType, xmloff::OControlElement::CHECKBOX, xmloff::OControlElement::COMBOBOX, ControlEvents, ControlId, ConvertEmpty, CurrentSelected, CurrentState, CurrentValue, DataField, xmloff::OControlElement::DATE, DBG_CHECK_PROPERTY, DefaultButton, Disabled, Dropdown, EchoChar, xmloff::OControlElement::FILE, xmloff::OControlElement::FIXED_TEXT, FocusOnClick, For, xmloff::OControlElement::FORMATTED_TEXT, xmloff::OControlElement::FRAME, xmloff::OControlElement::GENERIC_CONTROL, xmloff::FormCellBindingHelper::getCurrentBinding(), xmloff::FormCellBindingHelper::getCurrentListSource(), getXFormsBindName(), getXFormsListBindName(), getXFormsSubmissionName(), xmloff::OControlElement::GRID, GroupName, xmloff::OControlElement::HIDDEN, xmloff::OControlElement::IMAGE, xmloff::OControlElement::IMAGE_FRAME, ImageData, ImagePosition, InputRequired, xmloff::FormCellBindingHelper::isCellBinding(), xmloff::FormCellBindingHelper::isCellRangeListSource(), IsTristate, Label, LinkedCell, xmloff::OControlElement::LISTBOX, ListCellRange, ListLinkingType, ListSource, ListSource_TYPE, xmloff::FormCellBindingHelper::livesInSpreadsheetDocument(), m_eType, m_nClassId, m_nIncludeBindings, m_nIncludeCommon, m_nIncludeDatabase, m_nIncludeEvents, m_nIncludeSpecial, xmloff::OPropertyExport::m_xPropertyInfo, xmloff::OPropertyExport::m_xProps, MaxLength, MaxValue, MinValue, MultiLine, Multiple, Name, NONE, OnChange, OnClick, OnDoubleClick, OnSelect, Orientation, PageStepSize, xmloff::OControlElement::PASSWORD, Printable, PROPERTY_CLASSID, PROPERTY_ECHOCHAR, PROPERTY_FORMATKEY, PROPERTY_GROUP_NAME, PROPERTY_IMAGE_POSITION, PROPERTY_LISTSOURCETYPE, PROPERTY_MULTILINE, xmloff::OControlElement::RADIO, ReadOnly, RepeatDelay, Selected, ServiceName, Size, State, StepSize, TabIndex, TabStop, TargetFrame, TargetLocation, xmloff::OControlElement::TEXT, xmloff::OControlElement::TEXT_AREA, xmloff::OControlElement::TIME, Title, Toggle, Validation, Value, xmloff::OControlElement::VALUERANGE, VisualEffect, XFormsBind, XFormsListBind, and XFormsSubmission.

Referenced by xmloff::OColumnExport::examine().

void xmloff::OControlExport::exportAttributes ( )
overrideprotectedvirtual

export the attributes

Reimplemented from xmloff::OElementExport.

Reimplemented in xmloff::OColumnExport.

Definition at line 305 of file elementexport.cxx.

References exportOuterAttributes().

Referenced by xmloff::OColumnExport::exportAttributes().

void xmloff::OControlExport::exportBindingAttributes ( )
protected
void xmloff::OControlExport::exportCellBindingAttributes ( bool  _bIncludeListLinkageType)
protected
void xmloff::OControlExport::exportCellListSourceRange ( )
protected
void xmloff::OControlExport::exportCommonControlAttributes ( )
protected

adds common control attributes to the XMLExport context given

The attribute list of the context is not cleared initially, this is the responsibility of the caller.

Definition at line 487 of file elementexport.cxx.

References xmloff::OPropertyExport::AddAttribute(), xmloff::aFormButtonTypeMap, xmloff::aOrientationMap, xmloff::aVisualEffectMap, ButtonType, controlHasActiveDataBinding(), CurrentSelected, CurrentValue, DefaultFalse, DefaultTrue, DefaultVoid, Disabled, Dropdown, EnableVisible, xmloff::OPropertyExport::exportBooleanPropertyAttribute(), xmloff::OPropertyExport::exportedProperty(), xmloff::OPropertyExport::exportEnumPropertyAttribute(), xmloff::OPropertyExport::exportGenericPropertyAttribute(), xmloff::OPropertyExport::exportImageDataAttribute(), xmloff::OPropertyExport::exportInt16PropertyAttribute(), xmloff::OPropertyExport::exportStringPropertyAttribute(), xmloff::OPropertyExport::exportTargetFrameAttribute(), xmloff::OPropertyExport::exportTargetLocationAttribute(), For, xmloff::OAttributeMetaData::getCommonControlAttributeName(), xmloff::OAttributeMetaData::getCommonControlAttributeNamespace(), xmloff::OValuePropertiesMetaData::getValuePropertyNames(), i, ImageData, InverseSemantics, Label, m_eType, m_nClassId, m_nIncludeCommon, m_sReferringControls, xmloff::OPropertyExport::m_xPropertyInfo, MaxLength, NONE, Orientation, Printable, PROPERTY_BUTTONTYPE, PROPERTY_DEFAULT_STATE, PROPERTY_DROPDOWN, PROPERTY_ENABLED, PROPERTY_ENABLEVISIBLE, PROPERTY_LABEL, PROPERTY_LINECOUNT, PROPERTY_MAXTEXTLENGTH, PROPERTY_ORIENTATION, PROPERTY_PERSISTENCE_MAXTEXTLENGTH, PROPERTY_PRINTABLE, PROPERTY_READONLY, PROPERTY_STATE, PROPERTY_TABINDEX, PROPERTY_TABSTOP, PROPERTY_TITLE, PROPERTY_VISUAL_EFFECT, ReadOnly, SAL_N_ELEMENTS, Selected, Size, TabIndex, TabStop, TargetFrame, TargetLocation, Title, Value, and VisualEffect.

Referenced by exportInnerAttributes().

void xmloff::OControlExport::exportDatabaseAttributes ( )
protected
void xmloff::OControlExport::exportGenericHandlerAttributes ( )
protected
void xmloff::OControlExport::exportImagePositionAttributes ( )
protected
void xmloff::OControlExport::exportInnerAttributes ( )
protected
void xmloff::OControlExport::exportListSourceAsAttribute ( )
protected

exports the ListSource property of a control as attribute

The ListSource property may be exported in different ways: For a ComboBox, it is an attribute of the form:combobox element.

For a ListBox, it's an attribute if the ListSourceType states that the ListBox does not display a value list. In case of a value list, the ListSource is not exported, and the pairs of StringItem/ValueItem are exported as sub-elements.

This method does the attribute part: It exports the ListSource property as attribute, not caring about whether the object is a ComboBox or a ListBox.

Definition at line 1215 of file elementexport.cxx.

References xmloff::OPropertyExport::AddAttribute(), DBG_CHECK_PROPERTY_NO_TYPE, xmloff::OPropertyExport::exportedProperty(), xmloff::OAttributeMetaData::getDatabaseAttributeName(), xmloff::OAttributeMetaData::getDatabaseAttributeNamespace(), getScalarListSourceValue(), ListSource, and PROPERTY_LISTSOURCE.

Referenced by exportDatabaseAttributes().

void xmloff::OControlExport::exportListSourceAsElements ( )
protected
void xmloff::OControlExport::exportOuterAttributes ( )
protected
void xmloff::OControlExport::exportSpecialAttributes ( )
protected

adds attributes which are special to a control type to the export context's attribute list

Definition at line 925 of file elementexport.cxx.

References xmloff::aCheckStateMap, xmloff::OPropertyExport::AddAttribute(), AutoCompletion, sax::Converter::convertDuration(), CurrentState, DBG_CHECK_PROPERTY, DefaultButton, DefaultFalse, DefaultTrue, EchoChar, xmloff::OPropertyExport::exportBooleanPropertyAttribute(), xmloff::OPropertyExport::exportedProperty(), xmloff::OPropertyExport::exportEnumPropertyAttribute(), xmloff::OPropertyExport::exportGenericPropertyAttribute(), exportImagePositionAttributes(), xmloff::OPropertyExport::exportInt32PropertyAttribute(), xmloff::OPropertyExport::exportStringPropertyAttribute(), FocusOnClick, tools::Time::GetHour(), tools::Time::GetMin(), tools::Time::GetSec(), xmloff::OAttributeMetaData::getSpecialAttributeName(), xmloff::OAttributeMetaData::getSpecialAttributeNamespace(), xmloff::OValuePropertiesMetaData::getValueLimitPropertyNames(), GroupName, i, ImagePosition, IsTristate, m_nClassId, m_nIncludeSpecial, xmloff::OPropertyExport::m_xPropertyInfo, xmloff::OPropertyExport::m_xProps, tools::Time::MakeTimeFromMS(), MaxValue, MinValue, MultiLine, Multiple, NONE, nValue, PageStepSize, PROPERTY_AUTOCOMPLETE, PROPERTY_BLOCK_INCREMENT, PROPERTY_DEFAULT_STATE, PROPERTY_DEFAULTBUTTON, PROPERTY_ECHO_CHAR, PROPERTY_FOCUS_ON_CLICK, PROPERTY_GROUP_NAME, PROPERTY_LINE_INCREMENT, PROPERTY_MULTILINE, PROPERTY_MULTISELECTION, PROPERTY_REPEAT_DELAY, PROPERTY_SPIN_INCREMENT, PROPERTY_STATE, PROPERTY_STRICTFORMAT, PROPERTY_TOGGLE, PROPERTY_TRISTATE, RepeatDelay, RESET_BIT, SAL_N_ELEMENTS, State, StepSize, tools::Time::SYSTEM, Toggle, TRISTATE_FALSE, u, and Validation.

Referenced by exportInnerAttributes().

void xmloff::OControlExport::exportSubTags ( )
overrideprotectedvirtual
void xmloff::OControlExport::exportXFormsBindAttributes ( )
protected

exports the attribute(s) which bind this control to XForms

Definition at line 1772 of file elementexport.cxx.

References xmloff::OPropertyExport::AddAttribute(), getXFormsBindName(), xmloff::OPropertyExport::m_xProps, xmloff::token::XML_BIND, and XML_NAMESPACE_XFORMS.

Referenced by exportBindingAttributes().

void xmloff::OControlExport::exportXFormsListAttributes ( )
protected

exports the attribute(s) which bind the list of a list control to XForms

Definition at line 1777 of file elementexport.cxx.

References xmloff::OPropertyExport::AddAttribute(), getXFormsListBindName(), xmloff::OPropertyExport::m_xProps, XML_NAMESPACE_FORM, and xmloff::token::XML_XFORMS_LIST_SOURCE.

Referenced by exportBindingAttributes().

void xmloff::OControlExport::exportXFormsSubmissionAttributes ( )
protected
const char * xmloff::OControlExport::getOuterXMLElementName ( ) const
protectedvirtual

get the name of the outer XML element

Reimplemented in xmloff::OColumnExport.

Definition at line 1392 of file elementexport.cxx.

Referenced by implStartElement().

OUString xmloff::OControlExport::getScalarListSourceValue ( ) const
protected

retrieves the string specifying the ListSource of a list or combo box

Definition at line 1201 of file elementexport.cxx.

References Any, xmloff::OPropertyExport::m_xProps, and PROPERTY_LISTSOURCE.

Referenced by controlHasUserSuppliedListEntries(), and exportListSourceAsAttribute().

void xmloff::OControlExport::getSequenceInt16PropertyAsSet ( const OUString &  _rPropertyName,
Int16Set _rOut 
)
protected

gets a Sequence< sal_Int16 > property value as set of sal_Int16's

Parameters
_rPropertyNamethe property name to use
_rOutout parameter. The set of integers.

Definition at line 1232 of file elementexport.cxx.

References DBG_CHECK_PROPERTY, xmloff::OPropertyExport::m_xProps, and XMLImageStyle::rValue.

Referenced by exportListSourceAsElements().

const char * xmloff::OControlExport::getXMLElementName ( ) const
overrideprotectedvirtual

get the name of the XML element

Implements xmloff::OElementExport.

Definition at line 1397 of file elementexport.cxx.

References xmloff::OControlElement::getElementName(), and m_eType.

void xmloff::OControlExport::implEndElement ( )
overrideprotectedvirtual

ends the XML element

Reimplemented from xmloff::OElementExport.

Definition at line 1383 of file elementexport.cxx.

References xmloff::OElementExport::implEndElement(), and m_pOuterElement.

void xmloff::OControlExport::implStartElement ( const char *  _pName)
overrideprotectedvirtual

Member Data Documentation

ElementType xmloff::OControlExport::m_eType
protected
sal_Int16 xmloff::OControlExport::m_nClassId
protected
BAFlags xmloff::OControlExport::m_nIncludeBindings
protected

Definition at line 102 of file elementexport.hxx.

Referenced by examine(), and exportBindingAttributes().

CCAFlags xmloff::OControlExport::m_nIncludeCommon
protected
DAFlags xmloff::OControlExport::m_nIncludeDatabase
protected

Definition at line 99 of file elementexport.hxx.

Referenced by examine(), exportDatabaseAttributes(), and exportListSourceAsElements().

EAFlags xmloff::OControlExport::m_nIncludeEvents
protected

Definition at line 101 of file elementexport.hxx.

Referenced by examine().

SCAFlags xmloff::OControlExport::m_nIncludeSpecial
protected
std::unique_ptr<SvXMLElementExport> xmloff::OControlExport::m_pOuterElement
protected

Definition at line 104 of file elementexport.hxx.

Referenced by implEndElement(), and implStartElement().

OUString xmloff::OControlExport::m_sControlId
protected

Definition at line 94 of file elementexport.hxx.

Referenced by exportInnerAttributes().

OUString xmloff::OControlExport::m_sReferringControls
protected

Definition at line 95 of file elementexport.hxx.

Referenced by exportCommonControlAttributes().


The documentation for this class was generated from the following files: