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

helper class which allows fast translation of xml tag names into element types. More...

#include <elementimport.hxx>

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

Static Public Member Functions

static ElementType getElementType (sal_Int32 nToken)
 
- 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 sal_Int32 getElementToken (ElementType _eType)
 retrieves the tag name to be used to describe a control of the given type More...
 

Private Types

typedef std::map< OUString, ElementTypeMapString2Element
 

Private Member Functions

 OElementNameMap ()=delete
 

Static Private Attributes

static std::map< sal_Int32, ElementTypes_sElementTranslations2
 

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
}
 
- Protected Member Functions inherited from xmloff::OControlElement
 OControlElement ()
 ctor. More...
 

Detailed Description

helper class which allows fast translation of xml tag names into element types.

Definition at line 51 of file elementimport.hxx.

Member Typedef Documentation

◆ MapString2Element

Definition at line 53 of file elementimport.hxx.

Constructor & Destructor Documentation

◆ OElementNameMap()

xmloff::OElementNameMap::OElementNameMap ( )
privatedelete

Member Function Documentation

◆ getElementType()

OControlElement::ElementType xmloff::OElementNameMap::getElementType ( sal_Int32  nToken)
static

Member Data Documentation

◆ s_sElementTranslations2

std::map< sal_Int32, OControlElement::ElementType > xmloff::OElementNameMap::s_sElementTranslations2
staticprivate

Definition at line 54 of file elementimport.hxx.

Referenced by getElementType().


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