LibreOffice Module lotuswordpro (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
LwpGlobalMgr Class Reference

#include <lwpglobalmgr.hxx>

Public Member Functions

 ~LwpGlobalMgr ()
 
LwpObjectFactoryGetLwpObjFactory ()
 
LwpBookmarkMgrGetLwpBookmarkMgr ()
 
LwpChangeMgrGetLwpChangeMgr ()
 
XFFontFactoryGetXFFontFactory ()
 
XFStyleManagerGetXFStyleManager ()
 
void SetEditorAttrMap (sal_uInt16 nID, LwpEditorAttr *pAttr)
 
OUString GetEditorName (sal_uInt8 nID)
 
XFColor GetHighlightColor (sal_uInt8 nID)
 

Static Public Member Functions

static LwpGlobalMgrGetInstance (LwpSvStream *pSvStream=nullptr)
 
static void DeleteInstance ()
 

Private Member Functions

 LwpGlobalMgr (LwpSvStream *pSvStream)
 

Private Attributes

std::unique_ptr< LwpObjectFactorym_pObjFactory
 
std::unique_ptr< LwpBookmarkMgrm_pBookmarkMgr
 
std::unique_ptr< LwpChangeMgrm_pChangeMgr
 
std::unique_ptr< XFFontFactorym_pXFFontFactory
 
std::unique_ptr< XFStyleManagerm_pXFStyleManager
 
std::map< sal_uInt16, std::unique_ptr< LwpEditorAttr > > m_EditorAttrMap
 

Static Private Attributes

static std::map< sal_uInt32, LwpGlobalMgr * > m_ThreadMap
 

Detailed Description

Definition at line 76 of file lwpglobalmgr.hxx.

Constructor & Destructor Documentation

◆ ~LwpGlobalMgr()

LwpGlobalMgr::~LwpGlobalMgr ( )

◆ LwpGlobalMgr()

LwpGlobalMgr::LwpGlobalMgr ( LwpSvStream pSvStream)
explicitprivate

Definition at line 59 of file lwpglobalmgr.cxx.

References m_pBookmarkMgr, m_pChangeMgr, m_pObjFactory, m_pXFFontFactory, and m_pXFStyleManager.

Referenced by GetInstance().

Member Function Documentation

◆ DeleteInstance()

void LwpGlobalMgr::DeleteInstance ( )
static

Definition at line 93 of file lwpglobalmgr.cxx.

References m_ThreadMap.

Referenced by Lwp9Reader::Read().

◆ GetEditorName()

OUString LwpGlobalMgr::GetEditorName ( sal_uInt8  nID)

Definition at line 110 of file lwpglobalmgr.cxx.

References m_EditorAttrMap.

Referenced by LwpFrib::GetEditor().

◆ GetHighlightColor()

XFColor LwpGlobalMgr::GetHighlightColor ( sal_uInt8  nID)

◆ GetInstance()

LwpGlobalMgr * LwpGlobalMgr::GetInstance ( LwpSvStream pSvStream = nullptr)
static

Definition at line 79 of file lwpglobalmgr.cxx.

References LwpGlobalMgr(), and m_ThreadMap.

Referenced by LwpStyleManager::AddStyle(), LwpCellLayout::ApplyFmtStyle(), LwpDocument::ChangeStyleName(), LwpDrawTextBox::CreateDrawObj(), LwpDrawTextArt::CreateDrawObj(), LwpGraphicObject::CreateGrafObject(), LwpCellLayout::GetActualWidth(), LwpFrib::GetEditor(), LwpFrib::GetHighlightColor(), LwpPara::GetXFParaStyle(), LwpFieldMark::IsCrossRefField(), XFStyleContainer::ManageStyleFont(), LwpObjectID::obj(), LwpPara::OverrideParaBreaks(), Lwp9Reader::ParseDocument(), LwpTableLayout::PostProcessParagraph(), LwpFribPtr::ProcessDropcap(), Lwp9Reader::Read(), LwpDocData::Read(), LwpObjectID::ReadIndexed(), RegisteArrowStyles(), LwpFribPageBreak::RegisterBreakStyle(), LwpFribColumnBreak::RegisterBreakStyle(), LwpBulletStyleMgr::RegisterBulletStyle(), LwpTableLayout::RegisterColumns(), LwpRowLayout::RegisterCurRowStyle(), LwpFribField::RegisterDateTimeStyle(), LwpCellLayout::RegisterDefaultCell(), LwpFribDocVar::RegisterDefaultTimeStyle(), LwpFootnoteOptions::RegisterEndnoteStyle(), LwpPageLayout::RegisterEndnoteStyle(), LwpMasterPage::RegisterFillerPageStyle(), LwpStory::RegisterFirstFribStyle(), LwpFontTableEntry::RegisterFontDecl(), LwpFootnoteOptions::RegisterFootnoteStyle(), LwpMasterPage::RegisterMasterPage(), LwpPara::RegisterMasterPage(), LwpPara::RegisterNewSectionStyle(), LwpFribTable::RegisterNewStyle(), LwpTableLayout::RegisterRows(), LwpFribPtr::RegisterStyle(), LwpLineNumberOptions::RegisterStyle(), LwpCellLayout::RegisterStyle(), LwpDrawLine::RegisterStyle(), LwpDrawPolyLine::RegisterStyle(), LwpDrawPolygon::RegisterStyle(), LwpDrawRectangle::RegisterStyle(), LwpDrawEllipse::RegisterStyle(), LwpDrawArc::RegisterStyle(), LwpDrawTextBox::RegisterStyle(), LwpDrawTextArt::RegisterStyle(), LwpDrawBitmap::RegisterStyle(), LwpRubyLayout::RegisterStyle(), LwpGraphicObject::RegisterStyle(), LwpPageLayout::RegisterStyle(), LwpPara::RegisterStyle(), LwpRowLayout::RegisterStyle(), LwpSilverBullet::RegisterStyle(), LwpTableLayout::RegisterStyle(), LwpTocSuperLayout::RegisterStyle(), LwpVerDocument::RegisterStyle(), LwpColumnLayout::RegisterStyle(), LwpFrib::RegisterStyle(), LwpFribFrame::RegisterStyle(), LwpFribBookMark::RegisterStyle(), LwpFribField::RegisterStyle(), LwpFrame::RegisterStyle(), LwpHeaderLayout::RegisterStyle(), LwpFooterLayout::RegisterStyle(), LwpFribField::RegisterTotalTimeStyle(), LwpFribDocVar::RegisterTotalTimeStyle(), XFDrawStyle::SetAreaLineStyle(), XFDrawStyle::SetLineDashStyle(), LwpTableLayout::SplitRowToCells(), LwpFribPtr::XFConvert(), LwpFribFrame::XFConvert(), LwpFribTable::XFConvert(), LwpStory::XFConvert(), and LwpFribField::XFConvert().

◆ GetLwpBookmarkMgr()

LwpBookmarkMgr * LwpGlobalMgr::GetLwpBookmarkMgr ( )
inline

Definition at line 83 of file lwpglobalmgr.hxx.

References m_pBookmarkMgr.

Referenced by LwpFieldMark::IsCrossRefField(), and LwpFribBookMark::RegisterStyle().

◆ GetLwpChangeMgr()

LwpChangeMgr * LwpGlobalMgr::GetLwpChangeMgr ( )
inline

◆ GetLwpObjFactory()

LwpObjectFactory * LwpGlobalMgr::GetLwpObjFactory ( )
inline

◆ GetXFFontFactory()

XFFontFactory * LwpGlobalMgr::GetXFFontFactory ( )
inline

Definition at line 85 of file lwpglobalmgr.hxx.

References m_pXFFontFactory.

Referenced by XFStyleContainer::ManageStyleFont().

◆ GetXFStyleManager()

XFStyleManager * LwpGlobalMgr::GetXFStyleManager ( )
inline

Definition at line 86 of file lwpglobalmgr.hxx.

References m_pXFStyleManager.

Referenced by LwpStyleManager::AddStyle(), LwpCellLayout::ApplyFmtStyle(), LwpDocument::ChangeStyleName(), LwpDrawTextBox::CreateDrawObj(), LwpDrawTextArt::CreateDrawObj(), LwpGraphicObject::CreateGrafObject(), LwpCellLayout::GetActualWidth(), LwpPara::GetXFParaStyle(), LwpPara::OverrideParaBreaks(), Lwp9Reader::ParseDocument(), LwpTableLayout::PostProcessParagraph(), LwpFribPtr::ProcessDropcap(), RegisteArrowStyles(), LwpFribPageBreak::RegisterBreakStyle(), LwpFribColumnBreak::RegisterBreakStyle(), LwpBulletStyleMgr::RegisterBulletStyle(), LwpTableLayout::RegisterColumns(), LwpRowLayout::RegisterCurRowStyle(), LwpFribField::RegisterDateTimeStyle(), LwpCellLayout::RegisterDefaultCell(), LwpFribDocVar::RegisterDefaultTimeStyle(), LwpFootnoteOptions::RegisterEndnoteStyle(), LwpPageLayout::RegisterEndnoteStyle(), LwpMasterPage::RegisterFillerPageStyle(), LwpStory::RegisterFirstFribStyle(), LwpFontTableEntry::RegisterFontDecl(), LwpFootnoteOptions::RegisterFootnoteStyle(), LwpMasterPage::RegisterMasterPage(), LwpPara::RegisterMasterPage(), LwpPara::RegisterNewSectionStyle(), LwpFribTable::RegisterNewStyle(), LwpTableLayout::RegisterRows(), LwpLineNumberOptions::RegisterStyle(), LwpCellLayout::RegisterStyle(), LwpDrawLine::RegisterStyle(), LwpDrawPolyLine::RegisterStyle(), LwpDrawPolygon::RegisterStyle(), LwpDrawRectangle::RegisterStyle(), LwpDrawEllipse::RegisterStyle(), LwpDrawArc::RegisterStyle(), LwpDrawTextBox::RegisterStyle(), LwpDrawTextArt::RegisterStyle(), LwpDrawBitmap::RegisterStyle(), LwpRubyLayout::RegisterStyle(), LwpGraphicObject::RegisterStyle(), LwpPageLayout::RegisterStyle(), LwpPara::RegisterStyle(), LwpRowLayout::RegisterStyle(), LwpSilverBullet::RegisterStyle(), LwpTableLayout::RegisterStyle(), LwpTocSuperLayout::RegisterStyle(), LwpVerDocument::RegisterStyle(), LwpColumnLayout::RegisterStyle(), LwpFrib::RegisterStyle(), LwpFribFrame::RegisterStyle(), LwpFrame::RegisterStyle(), LwpFribField::RegisterTotalTimeStyle(), LwpFribDocVar::RegisterTotalTimeStyle(), XFDrawStyle::SetAreaLineStyle(), XFDrawStyle::SetLineDashStyle(), and LwpTableLayout::SplitRowToCells().

◆ SetEditorAttrMap()

void LwpGlobalMgr::SetEditorAttrMap ( sal_uInt16  nID,
LwpEditorAttr pAttr 
)

Definition at line 105 of file lwpglobalmgr.cxx.

References m_EditorAttrMap.

Referenced by LwpDocData::Read().

Member Data Documentation

◆ m_EditorAttrMap

std::map<sal_uInt16, std::unique_ptr<LwpEditorAttr> > LwpGlobalMgr::m_EditorAttrMap
private

◆ m_pBookmarkMgr

std::unique_ptr<LwpBookmarkMgr> LwpGlobalMgr::m_pBookmarkMgr
private

Definition at line 97 of file lwpglobalmgr.hxx.

Referenced by GetLwpBookmarkMgr(), LwpGlobalMgr(), and ~LwpGlobalMgr().

◆ m_pChangeMgr

std::unique_ptr<LwpChangeMgr> LwpGlobalMgr::m_pChangeMgr
private

Definition at line 98 of file lwpglobalmgr.hxx.

Referenced by GetLwpChangeMgr(), LwpGlobalMgr(), and ~LwpGlobalMgr().

◆ m_pObjFactory

std::unique_ptr<LwpObjectFactory> LwpGlobalMgr::m_pObjFactory
private

Definition at line 96 of file lwpglobalmgr.hxx.

Referenced by GetLwpObjFactory(), LwpGlobalMgr(), and ~LwpGlobalMgr().

◆ m_pXFFontFactory

std::unique_ptr<XFFontFactory> LwpGlobalMgr::m_pXFFontFactory
private

Definition at line 99 of file lwpglobalmgr.hxx.

Referenced by GetXFFontFactory(), LwpGlobalMgr(), and ~LwpGlobalMgr().

◆ m_pXFStyleManager

std::unique_ptr<XFStyleManager> LwpGlobalMgr::m_pXFStyleManager
private

Definition at line 100 of file lwpglobalmgr.hxx.

Referenced by GetXFStyleManager(), LwpGlobalMgr(), and ~LwpGlobalMgr().

◆ m_ThreadMap

std::map< sal_uInt32, LwpGlobalMgr * > LwpGlobalMgr::m_ThreadMap
staticprivate

Definition at line 95 of file lwpglobalmgr.hxx.

Referenced by DeleteInstance(), and GetInstance().


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