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 (const OUString &_rName)
 
- 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...
 

Private Types

typedef std::map< OUString, ElementTypeMapString2Element
 

Private Member Functions

 OElementNameMap ()=delete
 

Static Private Attributes

static MapString2Element s_sElementTranslations
 

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 52 of file elementimport.hxx.

Member Typedef Documentation

Definition at line 54 of file elementimport.hxx.

Constructor & Destructor Documentation

xmloff::OElementNameMap::OElementNameMap ( )
privatedelete

Member Function Documentation

OControlElement::ElementType xmloff::OElementNameMap::getElementType ( const OUString &  _rName)
static

Member Data Documentation

OElementNameMap::MapString2Element xmloff::OElementNameMap::s_sElementTranslations
staticprivate

Definition at line 55 of file elementimport.hxx.

Referenced by getElementType().


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