LibreOffice Module lotuswordpro (master) 1
|
#include <lwpbulletstylemgr.hxx>
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< XFContentContainer > | AddBulletList (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 >, LwpObjectID > | OverridePair |
Private Attributes | |
std::vector< OUString > | m_vStyleNameList |
std::vector< OverridePair > | m_vIDsPairList |
LwpFoundry * | m_pFoundry |
bool | m_bContinue |
bool | m_bIsBulletSkipped |
LwpObjectID | m_aCurrentNumberingID |
Definition at line 77 of file lwpbulletstylemgr.hxx.
|
private |
Definition at line 91 of file lwpbulletstylemgr.hxx.
LwpBulletStyleMgr::LwpBulletStyleMgr | ( | ) |
Definition at line 74 of file lwpbulletstylemgr.cxx.
LwpBulletStyleMgr::~LwpBulletStyleMgr | ( | ) |
Definition at line 81 of file lwpbulletstylemgr.cxx.
References m_vIDsPairList, and m_vStyleNameList.
rtl::Reference< XFContentContainer > LwpBulletStyleMgr::AddBulletList | ( | XFContentContainer * | pCont, |
bool | bIsOrdered, | ||
const OUString & | rStyleName, | ||
sal_Int16 | nLevel, | ||
bool | bIsBulletSkiped | ||
) |
Definition at line 242 of file lwpbulletstylemgr.cxx.
References XFContentContainer::Add(), m_bContinue, m_bIsBulletSkipped, and XFListItem::SetIsHeader().
Referenced by LwpPara::AddBulletList().
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.
pPara | pointer to the current paragraph which has a bullet/numbering. |
pBullOver | pointer to the bulletoverride of current paragraph. |
pIndent | pointer 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().
|
inline |
Definition at line 104 of file lwpbulletstylemgr.hxx.
References m_bContinue.
Referenced by LwpPara::AddBulletList(), and LwpPara::XFConvert().
|
inline |
Definition at line 108 of file lwpbulletstylemgr.hxx.
References m_aCurrentNumberingID.
Referenced by LwpPara::XFConvert().
|
inline |
Definition at line 100 of file lwpbulletstylemgr.hxx.
References m_pFoundry.
|
private |
Definition at line 97 of file lwpbulletstylemgr.hxx.
Referenced by SetCurrentSilverBullet().
|
private |
Definition at line 95 of file lwpbulletstylemgr.hxx.
Referenced by AddBulletList(), and SetContinueFlag().
|
private |
Definition at line 96 of file lwpbulletstylemgr.hxx.
Referenced by AddBulletList().
|
private |
Definition at line 94 of file lwpbulletstylemgr.hxx.
Referenced by SetFoundry().
|
private |
Definition at line 93 of file lwpbulletstylemgr.hxx.
Referenced by RegisterBulletStyle(), and ~LwpBulletStyleMgr().
|
private |
Definition at line 92 of file lwpbulletstylemgr.hxx.
Referenced by RegisterBulletStyle(), and ~LwpBulletStyleMgr().