LibreOffice Module lotuswordpro (master) 1
|
#include <lwpfribtext.hxx>
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) |
LwpFrib * | GetNext () |
void | SetNext (LwpFrib *next) |
sal_uInt8 | GetType () const |
OUString | GetEditor () |
XFColor | GetHighlightColor () |
const OUString & | GetStyleName () const |
void | SetModifiers (ModifierInfo *pModifiers) |
ModifierInfo * | GetModifiers () |
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< XFFont > | GetFont () |
@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 LwpFrib * | CreateFrib (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 |
LwpPara * | m_pPara |
LwpFrib * | m_pNext |
sal_uInt8 | m_nFribType |
std::unique_ptr< ModifierInfo > | m_pModifiers |
OUString | m_StyleName |
sal_uInt8 | m_nRevisionType |
bool | m_bRevisionFlag |
sal_uInt8 | m_nEditor |
Definition at line 123 of file lwpfribtext.hxx.
anonymous enum |
Definition at line 136 of file lwpfribtext.hxx.
|
explicit |
: default constructor of LwpFribDocVar
Definition at line 126 of file lwpfribtext.cxx.
|
overridevirtual |
: destructor of LwpFribDocVar
Definition at line 133 of file lwpfribtext.cxx.
|
overridevirtual |
: Reading mothed of document variable frib.
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().
|
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().
|
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().
|
private |
Definition at line 192 of file lwpfribtext.cxx.
References XFStyleManager::AddStyle(), LwpGlobalMgr::GetInstance(), IXFStyle::GetStyleName(), LwpGlobalMgr::GetXFStyleManager(), IXFStyleRet::m_pStyle, and m_TimeStyle.
Referenced by RegisterStyle().
void LwpFribDocVar::XFConvert | ( | XFContentContainer * | pXFPara | ) |
: convert the doc info field
Definition at line 204 of file lwpfribtext.cxx.
References XFContentContainer::Add(), XFTextSpan::Add(), ALLVERSIONNAME, LwpFrib::ConvertChars(), CREATEDBY, DATECREATED, DATELASTREVISION, DESCRIPTION, DIVISIONNAME, DOCSIZE, DOCUMENTCATEGORY, FILENAME, LwpFrib::GetStyleName(), KEYWORDS, LASTEDIT, LwpFrib::m_ModFlag, m_nType, m_TimeStyle, NUMCHARS, NUMOFREVISION, NUMPAGES, NUMWORDS, OTHEREDITORS, PATH, SECTIONNAME, XFContent::SetStyleName(), SMARTMASTER, TOTALEDITTIME, VERSIONCREATEBY, VERSIONCREATEDATE, VERSIONLASTDATE, VERSIONLASTEDITOR, VERSIONNAME, VERSIONNUMBER, VERSIONOTHEREDITORS, and VERSIONREMARK.
Referenced by LwpFribPtr::XFConvert().
|
private |
Definition at line 169 of file lwpfribtext.hxx.
Referenced by Read().
|
private |
Definition at line 168 of file lwpfribtext.hxx.
Referenced by Read(), RegisterStyle(), and XFConvert().
|
private |
Definition at line 170 of file lwpfribtext.hxx.
Referenced by RegisterDefaultTimeStyle(), RegisterTotalTimeStyle(), and XFConvert().