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>

Classes

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 20 of file editattributemap.hxx.

Member Typedef Documentation

◆ IndexToEntriesType

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

Definition at line 39 of file editattributemap.hxx.

◆ StrToEntriesType

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

Definition at line 38 of file editattributemap.hxx.

Constructor & Destructor Documentation

◆ ScXMLEditAttributeMap()

ScXMLEditAttributeMap::ScXMLEditAttributeMap ( )

Definition at line 68 of file editattributemap.cxx.

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

Member Function Documentation

◆ getEntryByAPIName()

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

Definition at line 79 of file editattributemap.cxx.

References maAPIEntries.

Referenced by ScXMLTableRowCellContext::PushFormat().

◆ getEntryByItemID()

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

Definition at line 85 of file editattributemap.cxx.

References maItemIDEntries, and nItemID.

Member Data Documentation

◆ maAPIEntries

StrToEntriesType ScXMLEditAttributeMap::maAPIEntries
private

Definition at line 40 of file editattributemap.hxx.

Referenced by getEntryByAPIName(), and ScXMLEditAttributeMap().

◆ maItemIDEntries

IndexToEntriesType ScXMLEditAttributeMap::maItemIDEntries
private

Definition at line 41 of file editattributemap.hxx.

Referenced by getEntryByItemID(), and ScXMLEditAttributeMap().


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