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

#include <lwpfribtext.hxx>

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

Public Types

enum  {
  FILENAME = 0x02 ,
  PATH = 0x03 ,
  SMARTMASTER = 0x04 ,
  DESCRIPTION = 0x05 ,
  DATECREATED = 0x06 ,
  DATELASTREVISION = 0x07 ,
  TOTALEDITTIME = 0x08 ,
  NUMPAGES = 0x09 ,
  NUMWORDS = 0x0a ,
  NUMCHARS = 0x0b ,
  DOCSIZE = 0x0c ,
  DIVISIONNAME = 0x0d ,
  SECTIONNAME = 0x0e ,
  VERSIONCREATEBY = 0x0f ,
  VERSIONCREATEDATE = 0x10 ,
  VERSIONOTHEREDITORS = 0x11 ,
  VERSIONNAME = 0x12 ,
  VERSIONNUMBER = 0x13 ,
  ALLVERSIONNAME = 0x14 ,
  VERSIONREMARK = 0x15 ,
  DOCUMENTCATEGORY = 0x16 ,
  VERSIONLASTDATE = 0x17 ,
  VERSIONLASTEDITOR = 0x18 ,
  KEYWORDS = 0x19 ,
  CREATEDBY = 0x1a ,
  LASTEDIT = 0x1b ,
  OTHEREDITORS = 0x1c ,
  NUMOFREVISION = 0x1d
}
 
- Public Types inherited from LwpFrib
enum  {
  REV_INSERT = 0 ,
  REV_DELETE = 1
}
 

Public Member Functions

 LwpFribDocVar (LwpPara *pPara)
 : default constructor of LwpFribDocVar More...
 
virtual ~LwpFribDocVar () override
 : destructor of LwpFribDocVar More...
 
void Read (LwpObjectStream *pObjStrm, sal_uInt16 len) override
 : Reading mothed of document variable frib. More...
 
void RegisterStyle (LwpFoundry *pFoundry) override
 : register style for doc field (text style,date style) More...
 
void XFConvert (XFContentContainer *pXFPara)
 : convert the doc info field More...
 
- Public Member Functions inherited from LwpFrib
 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 ()
 

Private Member Functions

void RegisterDefaultTimeStyle ()
 : register default time style for doc field More...
 
void RegisterTotalTimeStyle ()
 

Private Attributes

sal_uInt16 m_nType
 
LwpAtomHolder m_aName
 
OUString m_TimeStyle
 

Additional Inherited Members

- Static Public Member Functions inherited from LwpFrib
static LwpFribCreateFrib (LwpPara *pPara, LwpObjectStream *pObjStrm, sal_uInt8 fribtag, sal_uInt8 editID)
 
- Public Attributes inherited from LwpFrib
bool m_ModFlag
 
- Protected Attributes inherited from LwpFrib
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
 

Detailed Description

Definition at line 123 of file lwpfribtext.hxx.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
FILENAME 
PATH 
SMARTMASTER 
DESCRIPTION 
DATECREATED 
DATELASTREVISION 
TOTALEDITTIME 
NUMPAGES 
NUMWORDS 
NUMCHARS 
DOCSIZE 
DIVISIONNAME 
SECTIONNAME 
VERSIONCREATEBY 
VERSIONCREATEDATE 
VERSIONOTHEREDITORS 
VERSIONNAME 
VERSIONNUMBER 
ALLVERSIONNAME 
VERSIONREMARK 
DOCUMENTCATEGORY 
VERSIONLASTDATE 
VERSIONLASTEDITOR 
KEYWORDS 
CREATEDBY 
LASTEDIT 
OTHEREDITORS 
NUMOFREVISION 

Definition at line 136 of file lwpfribtext.hxx.

Constructor & Destructor Documentation

◆ LwpFribDocVar()

LwpFribDocVar::LwpFribDocVar ( LwpPara pPara)
explicit

: default constructor of LwpFribDocVar

Definition at line 126 of file lwpfribtext.cxx.

◆ ~LwpFribDocVar()

LwpFribDocVar::~LwpFribDocVar ( )
overridevirtual

: destructor of LwpFribDocVar

Definition at line 133 of file lwpfribtext.cxx.

Member Function Documentation

◆ Read()

void LwpFribDocVar::Read ( LwpObjectStream pObjStrm,
sal_uInt16  len 
)
overridevirtual

: Reading mothed of document variable frib.

Parameters
pObjStrm wordpro object stream.
len length of the frib

Reimplemented from LwpFrib.

Definition at line 141 of file lwpfribtext.cxx.

References m_aName, m_nType, LwpObjectStream::QuickReaduInt16(), and LwpAtomHolder::Read().

◆ RegisterDefaultTimeStyle()

void LwpFribDocVar::RegisterDefaultTimeStyle ( )
private

: register default time style for doc field

Definition at line 173 of file lwpfribtext.cxx.

References XFStyleManager::AddStyle(), LwpGlobalMgr::GetInstance(), IXFStyle::GetStyleName(), LwpGlobalMgr::GetXFStyleManager(), IXFStyleRet::m_pStyle, and m_TimeStyle.

Referenced by RegisterStyle().

◆ RegisterStyle()

void LwpFribDocVar::RegisterStyle ( LwpFoundry pFoundry)
overridevirtual

: register style for doc field (text style,date style)

Reimplemented from LwpFrib.

Definition at line 150 of file lwpfribtext.cxx.

References DATECREATED, DATELASTREVISION, m_nType, RegisterDefaultTimeStyle(), LwpFrib::RegisterStyle(), RegisterTotalTimeStyle(), and TOTALEDITTIME.

Referenced by LwpFribPtr::RegisterStyle().

◆ RegisterTotalTimeStyle()

void LwpFribDocVar::RegisterTotalTimeStyle ( )
private

◆ XFConvert()

void LwpFribDocVar::XFConvert ( XFContentContainer pXFPara)

Member Data Documentation

◆ m_aName

LwpAtomHolder LwpFribDocVar::m_aName
private

Definition at line 169 of file lwpfribtext.hxx.

Referenced by Read().

◆ m_nType

sal_uInt16 LwpFribDocVar::m_nType
private

Definition at line 168 of file lwpfribtext.hxx.

Referenced by Read(), RegisterStyle(), and XFConvert().

◆ m_TimeStyle

OUString LwpFribDocVar::m_TimeStyle
private

Definition at line 170 of file lwpfribtext.hxx.

Referenced by RegisterDefaultTimeStyle(), RegisterTotalTimeStyle(), and XFConvert().


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