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

#include <lwpmarker.hxx>

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

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)
 
LwpFribGetStartFrib ()
 
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...
 
LwpPropListGetPropList ()
 
- Public Member Functions inherited from LwpDLNFVList
 LwpDLNFVList (LwpObjectHeader const &objHdr, LwpSvStream *pStrm)
 
LwpAtomHolderGetName ()
 
LwpObjectIDGetChildHead ()
 
LwpObjectIDGetChildTail ()
 
LwpObjectIDGetParent ()
 
- Public Member Functions inherited from LwpDLVList
 LwpDLVList (LwpObjectHeader const &objHdr, LwpSvStream *pStrm)
 
LwpObjectIDGetNext ()
 
LwpObjectIDGetPrevious ()
 
- 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)
 
LwpFoundryGetFoundry ()
 
void SetFoundry (LwpFoundry *pFoundry)
 
LwpObjectIDGetObjectID ()
 
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
 
LwpFribm_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< LwpObjectStreamm_pObjStrm
 
LwpFoundrym_pFoundry
 
LwpSvStreamm_pStrm
 
bool m_bRegisteringStyle
 
bool m_bParsingStyle
 
bool m_bConvertingContent
 
- Protected Attributes inherited from salhelper::SimpleReferenceObject
oslInterlockedCount m_nCount
 

Detailed Description

Definition at line 183 of file lwpmarker.hxx.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
FLD_FIELD 
FLD_INDEX 
FLD_TOC 

Definition at line 205 of file lwpmarker.hxx.

◆ anonymous enum

anonymous enum
Enumerator
FF_FORMULAINSERTED 

Definition at line 210 of file lwpmarker.hxx.

◆ anonymous enum

anonymous enum
Enumerator
CROSSREF_INVALID 
CROSSREF_TEXT 
CROSSREF_PAGE 
CROSSREF_PARANUMBER 

Definition at line 213 of file lwpmarker.hxx.

◆ anonymous enum

anonymous enum
Enumerator
DATETIME_SKIP 
DATETIME_NOW 
DATETIME_CREATE 
DATETIME_LASTEDIT 
DATETIME_TOTALTIME 

Definition at line 219 of file lwpmarker.hxx.

◆ anonymous enum

anonymous enum
Enumerator
DOC_DESCRIPTION 
DOC_NUMPAGES 
DOC_NUMWORDS 
DOC_NUMCHARS 

Definition at line 226 of file lwpmarker.hxx.

Constructor & Destructor Documentation

◆ LwpFieldMark()

LwpFieldMark::LwpFieldMark ( LwpObjectHeader const &  objHdr,
LwpSvStream pStrm 
)

Definition at line 347 of file lwpmarker.cxx.

Member Function Documentation

◆ GetFieldType()

sal_uInt16 LwpFieldMark::GetFieldType ( ) const
inline

Definition at line 190 of file lwpmarker.hxx.

References m_nFieldType.

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

◆ GetFormula()

OUString const & LwpFieldMark::GetFormula ( ) const
inline

Definition at line 195 of file lwpmarker.hxx.

References m_Formula, and LwpAtomHolder::str().

Referenced by LwpFribField::RegisterTimeField().

◆ GetRevisionFlag()

bool LwpFieldMark::GetRevisionFlag ( ) const
inline

Definition at line 202 of file lwpmarker.hxx.

References m_bRevisionFlag.

Referenced by LwpFribField::XFConvert().

◆ GetStart()

bool LwpFieldMark::GetStart ( ) const
inline

Definition at line 198 of file lwpmarker.hxx.

References m_bHasStart.

Referenced by LwpFribField::XFConvert().

◆ GetStartFrib()

LwpFrib * LwpFieldMark::GetStartFrib ( )
inline

Definition at line 200 of file lwpmarker.hxx.

References m_pFrib.

Referenced by LwpFribField::XFConvert().

◆ GetStyleFlag()

bool LwpFieldMark::GetStyleFlag ( ) const
inline

◆ IsCrossRefField()

bool LwpFieldMark::IsCrossRefField ( sal_uInt8 nType,
OUString &  sMarkName 
)

◆ IsDateTimeField()

bool LwpFieldMark::IsDateTimeField ( sal_uInt8 type,
OUString &  formula 
)

◆ IsDocPowerField()

bool LwpFieldMark::IsDocPowerField ( sal_uInt8 nType,
OUString &  sFormula 
)

◆ IsFormulaInsert()

bool LwpFieldMark::IsFormulaInsert ( ) const

Definition at line 413 of file lwpmarker.cxx.

References FF_FORMULAINSERTED, and m_nFlag.

Referenced by LwpFribField::XFConvert().

◆ ParseIndex()

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().

◆ ParseTOC()

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().

◆ Read()

void LwpFieldMark::Read ( )
overridevirtual

◆ SetRevisionFlag()

void LwpFieldMark::SetRevisionFlag ( bool  bFlag)
inline

Definition at line 203 of file lwpmarker.hxx.

References m_bRevisionFlag.

Referenced by LwpFribField::RegisterStyle().

◆ SetStart()

void LwpFieldMark::SetStart ( bool  bFlag)
inline

Definition at line 199 of file lwpmarker.hxx.

References m_bHasStart.

Referenced by LwpFribField::XFConvert().

◆ SetStartFrib()

void LwpFieldMark::SetStartFrib ( LwpFrib pFrib)
inline

Definition at line 201 of file lwpmarker.hxx.

References m_pFrib.

Referenced by LwpFribField::RegisterStyle().

◆ SetStyleFlag()

void LwpFieldMark::SetStyleFlag ( bool  bFalg)
inline

Member Data Documentation

◆ m_bHasStart

bool LwpFieldMark::m_bHasStart
private

Definition at line 240 of file lwpmarker.hxx.

Referenced by GetStart(), and SetStart().

◆ m_bHasStyle

bool LwpFieldMark::m_bHasStyle
private

Definition at line 239 of file lwpmarker.hxx.

Referenced by GetStyleFlag(), and SetStyleFlag().

◆ m_bRevisionFlag

bool LwpFieldMark::m_bRevisionFlag
private

Definition at line 243 of file lwpmarker.hxx.

Referenced by GetRevisionFlag(), and SetRevisionFlag().

◆ m_Formula

LwpAtomHolder LwpFieldMark::m_Formula
private

◆ m_nFieldType

sal_uInt16 LwpFieldMark::m_nFieldType
private

Definition at line 236 of file lwpmarker.hxx.

Referenced by GetFieldType(), and Read().

◆ m_nFlag

sal_uInt16 LwpFieldMark::m_nFlag
private

Definition at line 235 of file lwpmarker.hxx.

Referenced by IsFormulaInsert(), and Read().

◆ m_objFormulaStory

LwpObjectID LwpFieldMark::m_objFormulaStory
private

Definition at line 233 of file lwpmarker.hxx.

Referenced by Read().

◆ m_objResultContent

LwpObjectID LwpFieldMark::m_objResultContent
private

Definition at line 234 of file lwpmarker.hxx.

Referenced by Read().

◆ m_pFrib

LwpFrib* LwpFieldMark::m_pFrib
private

Definition at line 242 of file lwpmarker.hxx.

Referenced by GetStartFrib(), and SetStartFrib().


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