LibreOffice Module lotuswordpro (master) 1
|
#include <lwpfoundry.hxx>
Classes | |
struct | eqFunc |
struct | hashFunc |
Public Member Functions | |
LwpStyleManager () | |
~LwpStyleManager () | |
void | SetFoundry (LwpFoundry *pFoundry) |
void | AddStyle (LwpObjectID styleObjID, std::unique_ptr< IXFStyle > pStyle) |
IXFStyle * | GetStyle (const LwpObjectID &styleObjID) |
Private Types | |
typedef std::unordered_map< LwpObjectID, IXFStyle *, hashFunc, eqFunc > | LwpStyleMap |
Private Attributes | |
LwpFoundry * | m_pFoundry |
LwpStyleMap | m_StyleList |
Definition at line 273 of file lwpfoundry.hxx.
|
private |
Definition at line 295 of file lwpfoundry.hxx.
LwpStyleManager::LwpStyleManager | ( | ) |
Definition at line 490 of file lwpfoundry.cxx.
LwpStyleManager::~LwpStyleManager | ( | ) |
Definition at line 495 of file lwpfoundry.cxx.
References m_StyleList.
void LwpStyleManager::AddStyle | ( | LwpObjectID | styleObjID, |
std::unique_ptr< IXFStyle > | pStyle | ||
) |
Definition at line 507 of file lwpfoundry.cxx.
References XFStyleManager::AddStyle(), LwpGlobalMgr::GetInstance(), LwpGlobalMgr::GetXFStyleManager(), IXFStyleRet::m_pStyle, and m_StyleList.
Referenced by LwpTextStyle::RegisterStyle(), and LwpParaStyle::RegisterStyle().
IXFStyle * LwpStyleManager::GetStyle | ( | const LwpObjectID & | styleObjID | ) |
Definition at line 522 of file lwpfoundry.cxx.
References m_StyleList.
Referenced by LwpFoundry::FindActualStyleName(), LwpPara::RegisterStyle(), LwpTocSuperLayout::RegisterStyle(), and LwpFrib::RegisterStyle().
|
inline |
Definition at line 298 of file lwpfoundry.hxx.
References m_pFoundry.
|
private |
Definition at line 279 of file lwpfoundry.hxx.
Referenced by SetFoundry().
|
private |
Definition at line 296 of file lwpfoundry.hxx.
Referenced by AddStyle(), GetStyle(), and ~LwpStyleManager().