LibreOffice Module lotuswordpro (master) 1
|
#include <lwpmarker.hxx>
Public Types | |
enum | { FLD_FIELD = 0x0003 , FLD_INDEX = 0x0008 , FLD_TOC = 0x000B } |
enum | { FF_FORMULAINSERTED = 0X0008 } |
enum | { CROSSREF_INVALID = 0 , CROSSREF_TEXT = 1 , CROSSREF_PAGE = 2 , CROSSREF_PARANUMBER = 3 } |
enum | { DATETIME_SKIP = 0 , DATETIME_NOW = 1 , DATETIME_CREATE = 2 , DATETIME_LASTEDIT = 3 , DATETIME_TOTALTIME = 4 } |
enum | { DOC_DESCRIPTION = 1 , DOC_NUMPAGES = 2 , DOC_NUMWORDS = 3 , DOC_NUMCHARS = 4 } |
Public Member Functions | |
LwpFieldMark (LwpObjectHeader const &objHdr, LwpSvStream *pStrm) | |
void | Read () override |
@descr Read name of LwpDLNFVList from object stream More... | |
void | ParseIndex (OUString &sKey1, OUString &sKey2) |
void | ParseTOC (OUString &sLevel, OUString &sText) |
sal_uInt16 | GetFieldType () const |
bool | IsFormulaInsert () const |
bool | IsDateTimeField (sal_uInt8 &type, OUString &formula) |
bool | IsCrossRefField (sal_uInt8 &nType, OUString &sMarkName) |
bool | IsDocPowerField (sal_uInt8 &nType, OUString &sFormula) |
OUString const & | GetFormula () const |
void | SetStyleFlag (bool bFalg) |
bool | GetStyleFlag () const |
bool | GetStart () const |
void | SetStart (bool bFlag) |
LwpFrib * | GetStartFrib () |
void | SetStartFrib (LwpFrib *pFrib) |
bool | GetRevisionFlag () const |
void | SetRevisionFlag (bool bFlag) |
Public Member Functions inherited from LwpStoryMarker | |
LwpStoryMarker (LwpObjectHeader const &objHdr, LwpSvStream *pStrm) | |
void | Read () override |
@descr Read name of LwpDLNFVList from object stream More... | |
Public Member Functions inherited from LwpMarker | |
LwpMarker (LwpObjectHeader const &objHdr, LwpSvStream *pStrm) | |
void | Read () override |
@descr Read name of LwpDLNFVList from object stream More... | |
OUString | GetNamedProperty (std::u16string_view name) |
Public Member Functions inherited from LwpDLNFPVList | |
LwpDLNFPVList (LwpObjectHeader const &objHdr, LwpSvStream *pStrm) | |
@descr ctor of LwpDLNFPVList from object stream Note that m_bHasProperties is initialized to true More... | |
virtual | ~LwpDLNFPVList () override |
@descr release property list More... | |
LwpPropList * | GetPropList () |
Public Member Functions inherited from LwpDLNFVList | |
LwpDLNFVList (LwpObjectHeader const &objHdr, LwpSvStream *pStrm) | |
LwpAtomHolder & | GetName () |
LwpObjectID & | GetChildHead () |
LwpObjectID & | GetChildTail () |
LwpObjectID & | GetParent () |
Public Member Functions inherited from LwpDLVList | |
LwpDLVList (LwpObjectHeader const &objHdr, LwpSvStream *pStrm) | |
LwpObjectID & | GetNext () |
LwpObjectID & | GetPrevious () |
Public Member Functions inherited from LwpObject | |
LwpObject (LwpObjectHeader objHdr, LwpSvStream *pStrm) | |
@descr construct lwpobject from stream More... | |
void | QuickRead () |
@descr QuickRead template More... | |
void | DoRegisterStyle () |
void | DoParse (IXFStream *pOutputStream) |
void | DoXFConvert (XFContentContainer *pCont) |
LwpFoundry * | GetFoundry () |
void | SetFoundry (LwpFoundry *pFoundry) |
LwpObjectID & | GetObjectID () |
sal_uInt32 | GetTag () const |
Public Member Functions inherited from salhelper::SimpleReferenceObject | |
SimpleReferenceObject () | |
void | acquire () |
void | release () |
Private Attributes | |
LwpObjectID | m_objFormulaStory |
LwpObjectID | m_objResultContent |
sal_uInt16 | m_nFlag |
sal_uInt16 | m_nFieldType |
LwpAtomHolder | m_Formula |
bool | m_bHasStyle |
bool | m_bHasStart |
LwpFrib * | m_pFrib |
bool | m_bRevisionFlag |
Additional Inherited Members | |
Static Public Member Functions inherited from salhelper::SimpleReferenceObject | |
static void * | operator new (std::size_t nSize) |
static void * | operator new (std::size_t nSize, std::nothrow_t const &rNothrow) |
static void | operator delete (void *pPtr) |
static void | operator delete (void *pPtr, std::nothrow_t const &rNothrow) |
Protected Types inherited from LwpMarker | |
enum | { MARKER_START =1 , MARKER_END =2 } |
Protected Member Functions inherited from LwpDLNFPVList | |
void | Read () override |
@descr Read name of LwpDLNFVList from object stream More... | |
void | ReadPropertyList (LwpObjectStream *pObjStrm) |
@descr Read property list More... | |
Protected Member Functions inherited from LwpDLNFVList | |
virtual | ~LwpDLNFVList () override |
void | Read () override |
@descr Read LwpDLNFVList data from object stream More... | |
void | ReadName (LwpObjectStream *pObjStrm) |
@descr Read name of LwpDLNFVList from object stream More... | |
Protected Member Functions inherited from LwpDLVList | |
virtual | ~LwpDLVList () override |
void | Read () override |
@descr Read LwpDLVList data from object stream More... | |
Protected Member Functions inherited from LwpObject | |
virtual | ~LwpObject () override |
@descr dtor() More... | |
virtual void | Read () |
@descr default read function More... | |
virtual void | RegisterStyle () |
@descr default register style function More... | |
virtual void | Parse (IXFStream *pOutputStream) |
@descr default parse function More... | |
virtual void | XFConvert (XFContentContainer *pCont) |
@descr default XFConvert function pCont is the XFContentContainer for the object conversion More... | |
Protected Member Functions inherited from salhelper::SimpleReferenceObject | |
virtual | ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE |
Protected Attributes inherited from LwpDLNFVList | |
LwpObjectID | m_ChildHead |
LwpObjectID | m_ChildTail |
LwpObjectID | m_Parent |
LwpAtomHolder | m_Name |
Protected Attributes inherited from LwpObject | |
LwpObjectHeader | m_ObjHdr |
std::unique_ptr< LwpObjectStream > | m_pObjStrm |
LwpFoundry * | m_pFoundry |
LwpSvStream * | m_pStrm |
bool | m_bRegisteringStyle |
bool | m_bParsingStyle |
bool | m_bConvertingContent |
Protected Attributes inherited from salhelper::SimpleReferenceObject | |
oslInterlockedCount | m_nCount |
Definition at line 183 of file lwpmarker.hxx.
anonymous enum |
Enumerator | |
---|---|
FLD_FIELD | |
FLD_INDEX | |
FLD_TOC |
Definition at line 205 of file lwpmarker.hxx.
anonymous enum |
Enumerator | |
---|---|
FF_FORMULAINSERTED |
Definition at line 210 of file lwpmarker.hxx.
anonymous enum |
Enumerator | |
---|---|
CROSSREF_INVALID | |
CROSSREF_TEXT | |
CROSSREF_PAGE | |
CROSSREF_PARANUMBER |
Definition at line 213 of file lwpmarker.hxx.
anonymous enum |
Enumerator | |
---|---|
DATETIME_SKIP | |
DATETIME_NOW | |
DATETIME_CREATE | |
DATETIME_LASTEDIT | |
DATETIME_TOTALTIME |
Definition at line 219 of file lwpmarker.hxx.
anonymous enum |
Enumerator | |
---|---|
DOC_DESCRIPTION | |
DOC_NUMPAGES | |
DOC_NUMWORDS | |
DOC_NUMCHARS |
Definition at line 226 of file lwpmarker.hxx.
LwpFieldMark::LwpFieldMark | ( | LwpObjectHeader const & | objHdr, |
LwpSvStream * | pStrm | ||
) |
Definition at line 347 of file lwpmarker.cxx.
|
inline |
Definition at line 190 of file lwpmarker.hxx.
References m_nFieldType.
Referenced by LwpFribField::RegisterStyle(), and LwpFribField::XFConvert().
|
inline |
Definition at line 195 of file lwpmarker.hxx.
References m_Formula, and LwpAtomHolder::str().
Referenced by LwpFribField::RegisterTimeField().
|
inline |
Definition at line 202 of file lwpmarker.hxx.
References m_bRevisionFlag.
Referenced by LwpFribField::XFConvert().
|
inline |
Definition at line 198 of file lwpmarker.hxx.
References m_bHasStart.
Referenced by LwpFribField::XFConvert().
|
inline |
Definition at line 200 of file lwpmarker.hxx.
References m_pFrib.
Referenced by LwpFribField::XFConvert().
|
inline |
Definition at line 197 of file lwpmarker.hxx.
References m_bHasStyle.
Referenced by LwpFribField::ConvertCrossRefEnd(), LwpFribField::ConvertDateTimeEnd(), and LwpFribField::ConvertDocFieldEnd().
bool LwpFieldMark::IsCrossRefField | ( | sal_uInt8 & | nType, |
OUString & | sMarkName | ||
) |
Definition at line 461 of file lwpmarker.cxx.
References CROSSREF_PAGE, CROSSREF_PARANUMBER, CROSSREF_TEXT, LwpBookmarkMgr::FindBookmark(), LwpGlobalMgr::GetInstance(), LwpGlobalMgr::GetLwpBookmarkMgr(), index, m_Formula, nType, sFormula, LwpAtomHolder::str(), and u.
Referenced by LwpFribField::CheckFieldType().
bool LwpFieldMark::IsDateTimeField | ( | sal_uInt8 & | type, |
OUString & | formula | ||
) |
Definition at line 418 of file lwpmarker.cxx.
References DATETIME_CREATE, DATETIME_LASTEDIT, DATETIME_NOW, DATETIME_SKIP, DATETIME_TOTALTIME, index, m_Formula, sFormula, LwpAtomHolder::str(), type, and u.
Referenced by LwpFribField::CheckFieldType(), and LwpFribField::XFConvert().
bool LwpFieldMark::IsDocPowerField | ( | sal_uInt8 & | nType, |
OUString & | sFormula | ||
) |
Definition at line 496 of file lwpmarker.cxx.
References DOC_DESCRIPTION, DOC_NUMCHARS, DOC_NUMPAGES, DOC_NUMWORDS, m_Formula, nType, sFormula, and LwpAtomHolder::str().
Referenced by LwpFribField::CheckFieldType().
bool LwpFieldMark::IsFormulaInsert | ( | ) | const |
Definition at line 413 of file lwpmarker.cxx.
References FF_FORMULAINSERTED, and m_nFlag.
Referenced by LwpFribField::XFConvert().
void LwpFieldMark::ParseIndex | ( | OUString & | sKey1, |
OUString & | sKey2 | ||
) |
Definition at line 371 of file lwpmarker.cxx.
References ch, index, m_Formula, sFormula, and LwpAtomHolder::str().
Referenced by LwpFribField::XFConvert().
void LwpFieldMark::ParseTOC | ( | OUString & | sLevel, |
OUString & | sText | ||
) |
Definition at line 391 of file lwpmarker.cxx.
References index, m_Formula, sFormula, and LwpAtomHolder::str().
Referenced by LwpFribField::XFConvert().
|
overridevirtual |
@descr Read name of LwpDLNFVList from object stream
Reimplemented from LwpStoryMarker.
Definition at line 358 of file lwpmarker.cxx.
References m_Formula, m_nFieldType, LwpFileHeader::m_nFileRevision, m_nFlag, m_objFormulaStory, m_objResultContent, LwpObject::m_pObjStrm, LwpStoryMarker::Read(), LwpAtomHolder::Read(), and LwpObjectID::ReadIndexed().
|
inline |
Definition at line 203 of file lwpmarker.hxx.
References m_bRevisionFlag.
Referenced by LwpFribField::RegisterStyle().
|
inline |
Definition at line 199 of file lwpmarker.hxx.
References m_bHasStart.
Referenced by LwpFribField::XFConvert().
|
inline |
Definition at line 201 of file lwpmarker.hxx.
References m_pFrib.
Referenced by LwpFribField::RegisterStyle().
|
inline |
Definition at line 196 of file lwpmarker.hxx.
References m_bHasStyle.
Referenced by LwpFribField::ConvertCrossRefStart(), LwpFribField::ConvertDateTimeStart(), and LwpFribField::ConvertDocFieldStart().
|
private |
Definition at line 240 of file lwpmarker.hxx.
Referenced by GetStart(), and SetStart().
|
private |
Definition at line 239 of file lwpmarker.hxx.
Referenced by GetStyleFlag(), and SetStyleFlag().
|
private |
Definition at line 243 of file lwpmarker.hxx.
Referenced by GetRevisionFlag(), and SetRevisionFlag().
|
private |
Definition at line 237 of file lwpmarker.hxx.
Referenced by GetFormula(), IsCrossRefField(), IsDateTimeField(), IsDocPowerField(), ParseIndex(), ParseTOC(), and Read().
|
private |
Definition at line 236 of file lwpmarker.hxx.
Referenced by GetFieldType(), and Read().
|
private |
Definition at line 235 of file lwpmarker.hxx.
Referenced by IsFormulaInsert(), and Read().
|
private |
Definition at line 233 of file lwpmarker.hxx.
Referenced by Read().
|
private |
Definition at line 234 of file lwpmarker.hxx.
Referenced by Read().
|
private |
Definition at line 242 of file lwpmarker.hxx.
Referenced by GetStartFrib(), and SetStartFrib().