LibreOffice Module lotuswordpro (master) 1
Public Member Functions | Private Types | Private Attributes | List of all members
LwpBulletStyleMgr Class Referencefinal

#include <lwpbulletstylemgr.hxx>

Collaboration diagram for LwpBulletStyleMgr:
[legend]

Public Member Functions

 LwpBulletStyleMgr ()
 
 ~LwpBulletStyleMgr ()
 
OUString RegisterBulletStyle (LwpPara *pPara, const LwpBulletOverride *pBullOver, LwpIndentOverride const *pIndent)
 Register bullet style to style-list. More...
 
void SetFoundry (LwpFoundry *pFoundry)
 
void SetContinueFlag (bool bFlag)
 
rtl::Reference< XFContentContainerAddBulletList (XFContentContainer *pCont, bool bIsOrdered, const OUString &rStyleName, sal_Int16 nLevel, bool bIsBulletSkiped)
 
void SetCurrentSilverBullet (const LwpObjectID &rNewID)
 

Private Types

typedef std::pair< std::unique_ptr< LwpBulletOverride >, LwpObjectIDOverridePair
 

Private Attributes

std::vector< OUString > m_vStyleNameList
 
std::vector< OverridePairm_vIDsPairList
 
LwpFoundrym_pFoundry
 
bool m_bContinue
 
bool m_bIsBulletSkipped
 
LwpObjectID m_aCurrentNumberingID
 

Detailed Description

Definition at line 77 of file lwpbulletstylemgr.hxx.

Member Typedef Documentation

◆ OverridePair

typedef std::pair<std::unique_ptr<LwpBulletOverride>, LwpObjectID> LwpBulletStyleMgr::OverridePair
private

Definition at line 91 of file lwpbulletstylemgr.hxx.

Constructor & Destructor Documentation

◆ LwpBulletStyleMgr()

LwpBulletStyleMgr::LwpBulletStyleMgr ( )

Definition at line 74 of file lwpbulletstylemgr.cxx.

◆ ~LwpBulletStyleMgr()

LwpBulletStyleMgr::~LwpBulletStyleMgr ( )

Definition at line 81 of file lwpbulletstylemgr.cxx.

References m_vIDsPairList, and m_vStyleNameList.

Member Function Documentation

◆ AddBulletList()

rtl::Reference< XFContentContainer > LwpBulletStyleMgr::AddBulletList ( XFContentContainer pCont,
bool  bIsOrdered,
const OUString &  rStyleName,
sal_Int16  nLevel,
bool  bIsBulletSkiped 
)

◆ RegisterBulletStyle()

OUString LwpBulletStyleMgr::RegisterBulletStyle ( LwpPara pPara,
const LwpBulletOverride pBullOver,
LwpIndentOverride const *  pIndent 
)

Register bullet style to style-list.

The function only register the bullet and single customized numbering not including the numbering sequence.

Parameters
pParapointer to the current paragraph which has a bullet/numbering.
pBullOverpointer to the bulletoverride of current paragraph.
pIndentpointer to the indentoverride of current paragraph.

Definition at line 94 of file lwpbulletstylemgr.cxx.

References XFStyleManager::AddStyle(), LwpBulletOverride::clone(), LwpTools::ConvertFromUnits(), LwpTools::ConvertToMetric(), enumXFAlignEnd, enumXFAlignStart, FRIB_TAG_PARANUMBER, LwpSilverBullet::GetBulletChar(), LwpSilverBullet::GetBulletFontName(), LwpSilverBullet::GetBulletPara(), LwpPara::GetFribs(), LwpParaIndentProperty::GetIndentID(), LwpGlobalMgr::GetInstance(), LwpIndentOverride::GetMFirst(), LwpIndentOverride::GetMRest(), LwpSilverBullet::GetNumCharByStyleID(), LwpPara::GetParaNumber(), LwpSilverBullet::GetPrefix(), LwpPara::GetProperty(), LwpPara::GetSilverBullet(), LwpBulletOverride::GetSilverBullet(), LwpFribParaNumber::GetStart(), LwpFribParaNumber::GetStyleID(), IXFStyle::GetStyleName(), LwpSilverBullet::GetSuffix(), LwpFribText::GetText(), LwpGlobalMgr::GetXFStyleManager(), LwpFribPtr::HasFrib(), LwpBulletOverride::IsRightAligned(), IXFStyleRet::m_pStyle, m_vIDsPairList, m_vStyleNameList, nPos, NUMCHAR_01, NUMCHAR_Chinese4, NUMCHAR_other, PP_LOCAL_INDENT, ParaNumbering::pParaNumber, ParaNumbering::pPrefix, ParaNumbering::pSuffix, SAL_WARN, XFNumFmt::SetFormat(), XFNumFmt::SetPrefix(), and XFNumFmt::SetSuffix().

Referenced by LwpPara::RegisterStyle().

◆ SetContinueFlag()

void LwpBulletStyleMgr::SetContinueFlag ( bool  bFlag)
inline

Definition at line 104 of file lwpbulletstylemgr.hxx.

References m_bContinue.

Referenced by LwpPara::AddBulletList(), and LwpPara::XFConvert().

◆ SetCurrentSilverBullet()

void LwpBulletStyleMgr::SetCurrentSilverBullet ( const LwpObjectID rNewID)
inline

Definition at line 108 of file lwpbulletstylemgr.hxx.

References m_aCurrentNumberingID.

Referenced by LwpPara::XFConvert().

◆ SetFoundry()

void LwpBulletStyleMgr::SetFoundry ( LwpFoundry pFoundry)
inline

Definition at line 100 of file lwpbulletstylemgr.hxx.

References m_pFoundry.

Member Data Documentation

◆ m_aCurrentNumberingID

LwpObjectID LwpBulletStyleMgr::m_aCurrentNumberingID
private

Definition at line 97 of file lwpbulletstylemgr.hxx.

Referenced by SetCurrentSilverBullet().

◆ m_bContinue

bool LwpBulletStyleMgr::m_bContinue
private

Definition at line 95 of file lwpbulletstylemgr.hxx.

Referenced by AddBulletList(), and SetContinueFlag().

◆ m_bIsBulletSkipped

bool LwpBulletStyleMgr::m_bIsBulletSkipped
private

Definition at line 96 of file lwpbulletstylemgr.hxx.

Referenced by AddBulletList().

◆ m_pFoundry

LwpFoundry* LwpBulletStyleMgr::m_pFoundry
private

Definition at line 94 of file lwpbulletstylemgr.hxx.

Referenced by SetFoundry().

◆ m_vIDsPairList

std::vector<OverridePair> LwpBulletStyleMgr::m_vIDsPairList
private

Definition at line 93 of file lwpbulletstylemgr.hxx.

Referenced by RegisterBulletStyle(), and ~LwpBulletStyleMgr().

◆ m_vStyleNameList

std::vector<OUString> LwpBulletStyleMgr::m_vStyleNameList
private

Definition at line 92 of file lwpbulletstylemgr.hxx.

Referenced by RegisterBulletStyle(), and ~LwpBulletStyleMgr().


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