LibreOffice Module xmlscript (master) 1
Public Member Functions | Private Attributes | List of all members
xmlscript::MenuPopupElement Class Reference

#include <imp_share.hxx>

Inheritance diagram for xmlscript::MenuPopupElement:
[legend]
Collaboration diagram for xmlscript::MenuPopupElement:
[legend]

Public Member Functions

css::uno::Sequence< OUString > getItemValues ()
 
css::uno::Sequence< sal_Int16 > getSelectedItems ()
 
virtual css::uno::Reference< css::xml::input::XElement > SAL_CALL startChildElement (sal_Int32 nUid, OUString const &rLocalName, css::uno::Reference< css::xml::input::XAttributes > const &xAttributes) override
 
 MenuPopupElement (OUString const &rLocalName, css::uno::Reference< css::xml::input::XAttributes > const &xAttributes, ElementBase *pParent, DialogImport *pImport, bool aAllowEmptyItems)
 
- Public Member Functions inherited from xmlscript::ElementBase
 ElementBase (sal_Int32 nUid, OUString aLocalName, css::uno::Reference< css::xml::input::XAttributes > const &xAttributes, ElementBase *pParent, DialogImport *pImport)
 
virtual ~ElementBase () override
 
virtual css::uno::Reference< css::xml::input::XElement > SAL_CALL getParent () override
 
virtual OUString SAL_CALL getLocalName () override
 
virtual sal_Int32 SAL_CALL getUid () override
 
virtual css::uno::Reference< css::xml::input::XAttributes > SAL_CALL getAttributes () override
 
virtual void SAL_CALL ignorableWhitespace (OUString const &rWhitespaces) override
 
virtual void SAL_CALL characters (OUString const &rChars) override
 
virtual void SAL_CALL processingInstruction (OUString const &Target, OUString const &Data) override
 
virtual void SAL_CALL endElement () override
 
virtual css::uno::Reference< css::xml::input::XElement > SAL_CALL startChildElement (sal_Int32 nUid, OUString const &rLocalName, css::uno::Reference< css::xml::input::XAttributes > const &xAttributes) override
 

Private Attributes

std::vector< OUString > _itemValues
 
std::vector< sal_Int16 > _itemSelected
 
bool _allowEmptyItems
 

Additional Inherited Members

- Protected Attributes inherited from xmlscript::ElementBase
DialogImportm_pImport
 
ElementBasem_pParent
 
const css::uno::Reference< css::xml::input::XAttributes > _xAttributes
 

Detailed Description

Definition at line 312 of file xmldlg_imexp/imp_share.hxx.

Constructor & Destructor Documentation

◆ MenuPopupElement()

xmlscript::MenuPopupElement::MenuPopupElement ( OUString const &  rLocalName,
css::uno::Reference< css::xml::input::XAttributes > const &  xAttributes,
ElementBase pParent,
DialogImport pImport,
bool  aAllowEmptyItems 
)
inline

Definition at line 327 of file xmldlg_imexp/imp_share.hxx.

Member Function Documentation

◆ getItemValues()

Sequence< OUString > xmlscript::MenuPopupElement::getItemValues ( )

Definition at line 1300 of file xmldlg_impmodels.cxx.

References _itemValues, and nPos.

◆ getSelectedItems()

Sequence< sal_Int16 > xmlscript::MenuPopupElement::getSelectedItems ( )

Definition at line 1310 of file xmldlg_impmodels.cxx.

References _itemSelected, and nPos.

◆ startChildElement()

Reference< xml::input::XElement > xmlscript::MenuPopupElement::startChildElement ( sal_Int32  nUid,
OUString const &  rLocalName,
css::uno::Reference< css::xml::input::XAttributes > const &  xAttributes 
)
overridevirtual

Member Data Documentation

◆ _allowEmptyItems

bool xmlscript::MenuPopupElement::_allowEmptyItems
private

Definition at line 317 of file xmldlg_imexp/imp_share.hxx.

Referenced by startChildElement().

◆ _itemSelected

std::vector< sal_Int16 > xmlscript::MenuPopupElement::_itemSelected
private

Definition at line 316 of file xmldlg_imexp/imp_share.hxx.

Referenced by getSelectedItems(), and startChildElement().

◆ _itemValues

std::vector< OUString > xmlscript::MenuPopupElement::_itemValues
private

Definition at line 315 of file xmldlg_imexp/imp_share.hxx.

Referenced by getItemValues(), and startChildElement().


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