LibreOffice Module sc (master)  1
Classes | Public Member Functions | Private Types | Private Attributes | List of all members
ScXMLEditAttributeMap Class Reference

Provide mapping from ODF text formatting styles to EditEngine's, for rich-text cell content import. More...

#include <editattributemap.hxx>


struct  Entry

Public Member Functions

 ScXMLEditAttributeMap ()
const EntrygetEntryByAPIName (const OUString &rAPIName) const
const EntrygetEntryByItemID (sal_uInt16 nItemID) const

Private Types

typedef std::unordered_map< OUString, const Entry * > StrToEntriesType
typedef std::unordered_map< sal_uInt16, const Entry * > IndexToEntriesType

Private Attributes

StrToEntriesType maAPIEntries
IndexToEntriesType maItemIDEntries

Detailed Description

Provide mapping from ODF text formatting styles to EditEngine's, for rich-text cell content import.

Definition at line 21 of file editattributemap.hxx.

Member Typedef Documentation

typedef std::unordered_map<sal_uInt16, const Entry*> ScXMLEditAttributeMap::IndexToEntriesType

Definition at line 40 of file editattributemap.hxx.

typedef std::unordered_map<OUString, const Entry*> ScXMLEditAttributeMap::StrToEntriesType

Definition at line 39 of file editattributemap.hxx.

Constructor & Destructor Documentation

ScXMLEditAttributeMap::ScXMLEditAttributeMap ( )

Definition at line 68 of file editattributemap.cxx.

References i, maAPIEntries, maItemIDEntries, mpAPIName, and SAL_N_ELEMENTS.

Member Function Documentation

const ScXMLEditAttributeMap::Entry * ScXMLEditAttributeMap::getEntryByAPIName ( const OUString &  rAPIName) const

Definition at line 79 of file editattributemap.cxx.

References maAPIEntries.

Referenced by ScXMLTableRowCellContext::PushFormat().

const ScXMLEditAttributeMap::Entry * ScXMLEditAttributeMap::getEntryByItemID ( sal_uInt16  nItemID) const

Definition at line 85 of file editattributemap.cxx.

References maItemIDEntries.

Member Data Documentation

StrToEntriesType ScXMLEditAttributeMap::maAPIEntries

Definition at line 41 of file editattributemap.hxx.

Referenced by getEntryByAPIName(), and ScXMLEditAttributeMap().

IndexToEntriesType ScXMLEditAttributeMap::maItemIDEntries

Definition at line 42 of file editattributemap.hxx.

Referenced by getEntryByItemID(), and ScXMLEditAttributeMap().

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