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

#include <lwpfoundry.hxx>

Collaboration diagram for LwpStyleManager:
[legend]

Classes

struct  eqFunc
 
struct  hashFunc
 

Public Member Functions

 LwpStyleManager ()
 
 ~LwpStyleManager ()
 
void SetFoundry (LwpFoundry *pFoundry)
 
void AddStyle (LwpObjectID styleObjID, std::unique_ptr< IXFStyle > pStyle)
 
IXFStyleGetStyle (const LwpObjectID &styleObjID)
 

Private Types

typedef std::unordered_map< LwpObjectID, IXFStyle *, hashFunc, eqFuncLwpStyleMap
 

Private Attributes

LwpFoundrym_pFoundry
 
LwpStyleMap m_StyleList
 

Detailed Description

Definition at line 273 of file lwpfoundry.hxx.

Member Typedef Documentation

◆ LwpStyleMap

typedef std::unordered_map<LwpObjectID, IXFStyle*, hashFunc, eqFunc> LwpStyleManager::LwpStyleMap
private

Definition at line 295 of file lwpfoundry.hxx.

Constructor & Destructor Documentation

◆ LwpStyleManager()

LwpStyleManager::LwpStyleManager ( )

Definition at line 490 of file lwpfoundry.cxx.

◆ ~LwpStyleManager()

LwpStyleManager::~LwpStyleManager ( )

Definition at line 495 of file lwpfoundry.cxx.

References m_StyleList.

Member Function Documentation

◆ AddStyle()

void LwpStyleManager::AddStyle ( LwpObjectID  styleObjID,
std::unique_ptr< IXFStyle pStyle 
)

◆ GetStyle()

IXFStyle * LwpStyleManager::GetStyle ( const LwpObjectID styleObjID)

◆ SetFoundry()

void LwpStyleManager::SetFoundry ( LwpFoundry pFoundry)
inline

Definition at line 298 of file lwpfoundry.hxx.

References m_pFoundry.

Member Data Documentation

◆ m_pFoundry

LwpFoundry* LwpStyleManager::m_pFoundry
private

Definition at line 279 of file lwpfoundry.hxx.

Referenced by SetFoundry().

◆ m_StyleList

LwpStyleMap LwpStyleManager::m_StyleList
private

Definition at line 296 of file lwpfoundry.hxx.

Referenced by AddStyle(), GetStyle(), and ~LwpStyleManager().


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