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

#include <lwpfootnote.hxx>

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

Public Member Functions

 LwpFootnote (LwpObjectHeader const &objHdr, LwpSvStream *pStrm)
 
virtual ~LwpFootnote () override
 
void RegisterStyle () override
 @descr Register footnote style More...
 
void XFConvert (XFContentContainer *pCont) override
 @descr Parse footnote More...
 
sal_uInt16 GetType () const
 
- Public Member Functions inherited from LwpOrderedObject
 LwpOrderedObject (LwpObjectHeader const &objHdr, LwpSvStream *pStrm)
 
void Read () override
 @descr: read object information More...
 
LwpObjectIDGetPosition ()
 
LwpObjectIDGetListList ()
 
- 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 ()
 

Protected Member Functions

void Read () override
 @descr Read foonote object 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
 

Private Member Functions

LwpCellLayoutGetCellLayout ()
 @descr Get endnote cell layout which contains current endnote content More...
 
LwpDocumentGetFootnoteTableDivision ()
 @descr Get division which footnote table contains current footnote content, copy from lwp source code More...
 
LwpDocumentGetEndnoteDivision (LwpDocument *pPossible)
 @descr Get division which endnote table contains current endnote content, copy from lwp source code More...
 
LwpEnSuperTableLayoutFindFootnoteTableLayout ()
 @descr Find footnote tablelayout, copy from lwp source code More...
 
LwpContentFindFootnoteContent ()
 @descr Find footnote contents More...
 
OUString GetTableClass () const
 @descr Get footnote table class name More...
 

Private Attributes

sal_uInt16 m_nType
 
sal_uInt16 m_nRow
 
LwpObjectID m_Content
 

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 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 123 of file lwpfootnote.hxx.

Constructor & Destructor Documentation

◆ LwpFootnote()

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

Definition at line 141 of file lwpfootnote.cxx.

◆ ~LwpFootnote()

LwpFootnote::~LwpFootnote ( )
overridevirtual

Definition at line 148 of file lwpfootnote.cxx.

Member Function Documentation

◆ FindFootnoteContent()

LwpContent * LwpFootnote::FindFootnoteContent ( )
private

@descr Find footnote contents

Definition at line 377 of file lwpfootnote.cxx.

References GetCellLayout(), LwpMiddleLayout::GetContent(), LwpContent::GetLayout(), m_Content, and LwpObjectID::obj().

Referenced by RegisterStyle(), and XFConvert().

◆ FindFootnoteTableLayout()

LwpEnSuperTableLayout * LwpFootnote::FindFootnoteTableLayout ( )
private

◆ GetCellLayout()

LwpCellLayout * LwpFootnote::GetCellLayout ( )
private

@descr Get endnote cell layout which contains current endnote content

Definition at line 195 of file lwpfootnote.cxx.

References FindFootnoteTableLayout(), LwpDLNFVList::GetChildHead(), LwpEnSuperTableLayout::GetMainTableLayout(), LwpTableLayout::GetRowLayout(), m_nRow, and LwpObjectID::obj().

Referenced by FindFootnoteContent().

◆ GetEndnoteDivision()

LwpDocument * LwpFootnote::GetEndnoteDivision ( LwpDocument pPossible)
private

@descr Get division which endnote table contains current endnote content, copy from lwp source code

Definition at line 292 of file lwpfootnote.cxx.

References FN_DONTCARE, LwpDocument::GetEndnoteType(), LwpDocument::GetPreviousDivision(), and m_nType.

Referenced by GetFootnoteTableDivision().

◆ GetFootnoteTableDivision()

LwpDocument * LwpFootnote::GetFootnoteTableDivision ( )
private

◆ GetTableClass()

OUString LwpFootnote::GetTableClass ( ) const
private

◆ GetType()

sal_uInt16 LwpFootnote::GetType ( ) const
inline

Definition at line 137 of file lwpfootnote.hxx.

References m_nType.

Referenced by GetTableClass(), and LwpFribFootnote::XFConvert().

◆ Read()

void LwpFootnote::Read ( )
overrideprotectedvirtual

@descr Read foonote object

Reimplemented from LwpDLNFVList.

Definition at line 153 of file lwpfootnote.cxx.

References m_Content, m_nRow, m_nType, LwpObject::m_pObjStrm, LwpOrderedObject::Read(), and LwpObjectID::ReadIndexed().

◆ RegisterStyle()

void LwpFootnote::RegisterStyle ( )
overridevirtual

@descr Register footnote style

Reimplemented from LwpObject.

Definition at line 165 of file lwpfootnote.cxx.

References LwpObject::DoRegisterStyle(), FindFootnoteContent(), FN_FOOTNOTE, m_nType, LwpObject::m_pFoundry, and LwpObject::SetFoundry().

Referenced by LwpFribFootnote::RegisterNewStyle().

◆ XFConvert()

void LwpFootnote::XFConvert ( XFContentContainer pCont)
overridevirtual

@descr Parse footnote

Reimplemented from LwpObject.

Definition at line 183 of file lwpfootnote.cxx.

References LwpObject::DoXFConvert(), and FindFootnoteContent().

Referenced by LwpFribFootnote::XFConvert().

Member Data Documentation

◆ m_Content

LwpObjectID LwpFootnote::m_Content
private

Definition at line 135 of file lwpfootnote.hxx.

Referenced by FindFootnoteContent(), and Read().

◆ m_nRow

sal_uInt16 LwpFootnote::m_nRow
private

Definition at line 134 of file lwpfootnote.hxx.

Referenced by GetCellLayout(), and Read().

◆ m_nType

sal_uInt16 LwpFootnote::m_nType
private

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