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

#include <lwpfrib.hxx>

Inheritance diagram for LwpFrib:
[legend]
Collaboration diagram for LwpFrib:
[legend]

Public Types

enum  {
  REV_INSERT = 0 ,
  REV_DELETE = 1
}
 

Public Member Functions

 LwpFrib (LwpPara *pPara)
 
virtual ~LwpFrib ()
 
virtual void Read (LwpObjectStream *pObjStrm, sal_uInt16 len)
 
LwpFribGetNext ()
 
void SetNext (LwpFrib *next)
 
sal_uInt8 GetType () const
 
OUString GetEditor ()
 
XFColor GetHighlightColor ()
 
const OUString & GetStyleName () const
 
void SetModifiers (ModifierInfo *pModifiers)
 
ModifierInfoGetModifiers ()
 
virtual void RegisterStyle (LwpFoundry *pFoundry)
 
bool HasNextFrib ()
 @descr: Whether there are other fribs following current frib. More...
 
void ConvertChars (XFContentContainer *pXFPara, const OUString &text)
 
void ConvertHyperLink (XFContentContainer *pXFPara, const LwpHyperlinkMgr *pHyperlink, const OUString &text)
 
rtl::Reference< XFFontGetFont ()
 @descr: Get the current frib font style More...
 
sal_uInt8 GetRevisionType () const
 
bool GetRevisionFlag () const
 
void Register (std::map< LwpFrib *, OUString > *pFribMap)
 
void Deregister ()
 

Static Public Member Functions

static LwpFribCreateFrib (LwpPara *pPara, LwpObjectStream *pObjStrm, sal_uInt8 fribtag, sal_uInt8 editID)
 

Public Attributes

bool m_ModFlag
 

Protected Attributes

std::map< LwpFrib *, OUString > * m_pFribMap
 
LwpParam_pPara
 
LwpFribm_pNext
 
sal_uInt8 m_nFribType
 
std::unique_ptr< ModifierInfom_pModifiers
 
OUString m_StyleName
 
sal_uInt8 m_nRevisionType
 
bool m_bRevisionFlag
 
sal_uInt8 m_nEditor
 

Static Private Member Functions

static void ReadModifiers (LwpObjectStream *pObjStrm, ModifierInfo *pModInfo)
 

Detailed Description

Definition at line 88 of file lwpfrib.hxx.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
REV_INSERT 
REV_DELETE 

Definition at line 124 of file lwpfrib.hxx.

Constructor & Destructor Documentation

◆ LwpFrib()

LwpFrib::LwpFrib ( LwpPara pPara)
explicit

Definition at line 83 of file lwpfrib.cxx.

Referenced by CreateFrib().

◆ ~LwpFrib()

LwpFrib::~LwpFrib ( )
virtual

Definition at line 95 of file lwpfrib.cxx.

References Deregister().

Member Function Documentation

◆ ConvertChars()

void LwpFrib::ConvertChars ( XFContentContainer pXFPara,
const OUString &  text 
)

◆ ConvertHyperLink()

void LwpFrib::ConvertHyperLink ( XFContentContainer pXFPara,
const LwpHyperlinkMgr pHyperlink,
const OUString &  text 
)

◆ CreateFrib()

LwpFrib * LwpFrib::CreateFrib ( LwpPara pPara,
LwpObjectStream pObjStrm,
sal_uInt8  fribtag,
sal_uInt8  editID 
)
static

◆ Deregister()

void LwpFrib::Deregister ( )

Definition at line 446 of file lwpfrib.cxx.

References m_pFribMap.

Referenced by ~LwpFrib().

◆ GetEditor()

OUString LwpFrib::GetEditor ( )

◆ GetFont()

rtl::Reference< XFFont > LwpFrib::GetFont ( )

@descr: Get the current frib font style

Returns
: XFFont pointer

Definition at line 410 of file lwpfrib.cxx.

References LwpFontManager::CreateFont(), XFParaStyle::GetFont(), LwpFoundry::GetFontManager(), LwpObject::GetFoundry(), LwpPara::GetXFParaStyle(), m_pModifiers, and m_pPara.

Referenced by LwpFribFrame::RegisterStyle().

◆ GetHighlightColor()

XFColor LwpFrib::GetHighlightColor ( )

Definition at line 433 of file lwpfrib.cxx.

References LwpGlobalMgr::GetHighlightColor(), LwpGlobalMgr::GetInstance(), and m_nEditor.

Referenced by RegisterStyle().

◆ GetModifiers()

ModifierInfo * LwpFrib::GetModifiers ( )
inline

◆ GetNext()

LwpFrib * LwpFrib::GetNext ( )
inline

◆ GetRevisionFlag()

bool LwpFrib::GetRevisionFlag ( ) const
inline

Definition at line 123 of file lwpfrib.hxx.

References m_bRevisionFlag.

Referenced by LwpFribPtr::RegisterStyle(), and LwpFribPtr::XFConvert().

◆ GetRevisionType()

sal_uInt8 LwpFrib::GetRevisionType ( ) const
inline

Definition at line 122 of file lwpfrib.hxx.

References m_nRevisionType.

◆ GetStyleName()

const OUString & LwpFrib::GetStyleName ( ) const
inline

◆ GetType()

sal_uInt8 LwpFrib::GetType ( ) const
inline

◆ HasNextFrib()

bool LwpFrib::HasNextFrib ( )

@descr: Whether there are other fribs following current frib.

Returns
: True if having following fribs, or false.

Definition at line 378 of file lwpfrib.cxx.

References FRIB_TAG_EOP, GetNext(), and GetType().

Referenced by LwpMasterPage::ParseSection(), LwpMasterPage::RegisterMasterPage(), LwpFribTable::RegisterNewStyle(), LwpFribFrame::RegisterStyle(), LwpFribFrame::XFConvert(), and LwpFribTable::XFConvert().

◆ Read()

void LwpFrib::Read ( LwpObjectStream pObjStrm,
sal_uInt16  len 
)
virtual

◆ ReadModifiers()

void LwpFrib::ReadModifiers ( LwpObjectStream pObjStrm,
ModifierInfo pModInfo 
)
staticprivate

◆ Register()

void LwpFrib::Register ( std::map< LwpFrib *, OUString > *  pFribMap)

Definition at line 439 of file lwpfrib.cxx.

References m_pFribMap.

Referenced by LwpChangeMgr::AddChangeFrib().

◆ RegisterStyle()

void LwpFrib::RegisterStyle ( LwpFoundry pFoundry)
virtual

◆ SetModifiers()

void LwpFrib::SetModifiers ( ModifierInfo pModifiers)

◆ SetNext()

void LwpFrib::SetNext ( LwpFrib next)
inline

Definition at line 97 of file lwpfrib.hxx.

References m_pNext.

Referenced by LwpFribPtr::ReadPara().

Member Data Documentation

◆ m_bRevisionFlag

bool LwpFrib::m_bRevisionFlag
protected

◆ m_ModFlag

bool LwpFrib::m_ModFlag

◆ m_nEditor

sal_uInt8 LwpFrib::m_nEditor
protected

Definition at line 139 of file lwpfrib.hxx.

Referenced by GetEditor(), and GetHighlightColor().

◆ m_nFribType

sal_uInt8 LwpFrib::m_nFribType
protected

Definition at line 106 of file lwpfrib.hxx.

Referenced by GetType().

◆ m_nRevisionType

sal_uInt8 LwpFrib::m_nRevisionType
protected

Definition at line 137 of file lwpfrib.hxx.

Referenced by GetRevisionType(), and SetModifiers().

◆ m_pFribMap

std::map<LwpFrib*, OUString>* LwpFrib::m_pFribMap
protected

Definition at line 103 of file lwpfrib.hxx.

Referenced by Deregister(), and Register().

◆ m_pModifiers

std::unique_ptr<ModifierInfo> LwpFrib::m_pModifiers
protected

◆ m_pNext

LwpFrib* LwpFrib::m_pNext
protected

Definition at line 105 of file lwpfrib.hxx.

Referenced by GetNext(), and SetNext().

◆ m_pPara

LwpPara* LwpFrib::m_pPara
protected

◆ m_StyleName

OUString LwpFrib::m_StyleName
protected

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