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

#include <lwpstory.hxx>

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

Public Member Functions

 LwpStory (LwpObjectHeader const &objHdr, LwpSvStream *pStrm)
 
virtual ~LwpStory () override
 
void RegisterStyle () override
 @descr default register style function More...
 
void Parse (IXFStream *pOutputStream) override
 @descr default parse function More...
 
virtual void XFConvert (XFContentContainer *pCont) override
 @descr default XFConvert function pCont is the XFContentContainer for the object conversion More...
 
void XFConvertFrameInPage (XFContentContainer *pCont)
 
LwpObjectIDGetFirstPara ()
 
LwpObjectIDGetLastPara ()
 
XFContentContainerGetXFContent ()
 
void AddXFContent (XFContent *pContent)
 
bool GetDropcapFlag () const
 
LwpPageLayoutGetCurrentLayout ()
 
LwpMiddleLayoutGetTabLayout ()
 
const OUString & GetSectionName () const
 
LwpHyperlinkMgrGetHyperlinkMgr ()
 
bool IsPMModified () const
 
void SetPMModified (bool bPMModified)
 
void SetDropcapFlag (bool bFlag)
 
void SetTabLayout (LwpLayout *pLayout)
 
void SetSectionName (const OUString &StyleName)
 
void SetCurrentLayout (LwpPageLayout *pPageLayout)
 
LwpPageLayoutGetNextPageLayout ()
 
bool IsNeedSection ()
 
void SortPageLayout ()
 
LwpParaGetLastParaOfPreviousStory ()
 
OUString GetContentText (bool bAllText=false)
 
void AddBullStyleName2List (const OUString &rStyleName, sal_uInt8 nPos)
 
bool IsBullStyleUsedBefore (const OUString &rStyleName, sal_uInt8 nPos)
 
OUString RegisterFirstFribStyle ()
 
- Public Member Functions inherited from LwpContent
 LwpContent (LwpObjectHeader const &objHdr, LwpSvStream *pStrm)
 
LwpAssociatedLayoutsGetLayoutsWithMe ()
 
rtl::Reference< LwpVirtualLayoutGetLayout (LwpVirtualLayout const *pStartLayout)
 
bool IsActive () const
 
virtual bool IsTable ()
 
OUString const & GetClassName () const
 
LwpContentGetNextEnumerated ()
 
bool HasNonEmbeddedLayouts ()
 
bool IsStyleContent ()
 
- 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 Types

typedef std::pair< OUString, sal_uInt8NamePosPair
 

Private Member Functions

void Read () override
 @descr default read function More...
 
void XFConvertFrameInCell (XFContentContainer *pCont)
 
void XFConvertFrameInFrame (XFContentContainer *pCont)
 
void XFConvertFrameInHeaderFooter (XFContentContainer *pCont)
 

Private Attributes

LwpDLVListHeadTail m_ParaList
 
LwpObjectID m_FirstParaStyle
 
std::vector< NamePosPairm_vBulletStyleNameList
 
bool m_bPMModified
 
LwpPageLayoutm_pCurrentLayout
 
std::vector< LwpPageLayout * > m_LayoutList
 
LwpLayoutm_pTabLayout
 
bool m_bDropcap
 
std::unique_ptr< LwpHyperlinkMgrm_pHyperlinkMgr
 
OUString m_CurrSectionName
 
rtl::Reference< XFContentContainerm_xXFContainer
 

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)
 
void Read () override
 @descr default read function 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 71 of file lwpstory.hxx.

Member Typedef Documentation

◆ NamePosPair

typedef std::pair<OUString, sal_uInt8> LwpStory::NamePosPair
private

Definition at line 83 of file lwpstory.hxx.

Constructor & Destructor Documentation

◆ LwpStory()

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

Definition at line 76 of file lwpstory.cxx.

◆ ~LwpStory()

LwpStory::~LwpStory ( )
overridevirtual

Definition at line 86 of file lwpstory.cxx.

Member Function Documentation

◆ AddBullStyleName2List()

void LwpStory::AddBullStyleName2List ( const OUString &  rStyleName,
sal_uInt8  nPos 
)
inline

Definition at line 151 of file lwpstory.hxx.

References m_vBulletStyleNameList, and nPos.

Referenced by LwpPara::RegisterStyle().

◆ AddXFContent()

void LwpStory::AddXFContent ( XFContent pContent)

Definition at line 395 of file lwpstory.cxx.

References m_xXFContainer.

Referenced by LwpMasterPage::ParseSection(), and LwpPara::XFConvert().

◆ GetContentText()

OUString LwpStory::GetContentText ( bool  bAllText = false)

◆ GetCurrentLayout()

LwpPageLayout * LwpStory::GetCurrentLayout ( )
inline

◆ GetDropcapFlag()

bool LwpStory::GetDropcapFlag ( ) const
inline

Definition at line 113 of file lwpstory.hxx.

References m_bDropcap.

Referenced by LwpFribPtr::ProcessDropcap(), and LwpPara::XFConvert().

◆ GetFirstPara()

LwpObjectID & LwpStory::GetFirstPara ( void  )
inline

◆ GetHyperlinkMgr()

LwpHyperlinkMgr * LwpStory::GetHyperlinkMgr ( )
inline

◆ GetLastPara()

LwpObjectID & LwpStory::GetLastPara ( )
inline

◆ GetLastParaOfPreviousStory()

LwpPara * LwpStory::GetLastParaOfPreviousStory ( )

Definition at line 406 of file lwpstory.cxx.

References LwpContent::GetLayout().

Referenced by LwpPara::RegisterStyle().

◆ GetNextPageLayout()

LwpPageLayout * LwpStory::GetNextPageLayout ( )

Definition at line 187 of file lwpstory.cxx.

References m_LayoutList, and m_pCurrentLayout.

Referenced by IsNeedSection().

◆ GetSectionName()

const OUString & LwpStory::GetSectionName ( ) const
inline

Definition at line 116 of file lwpstory.hxx.

References m_CurrSectionName.

Referenced by LwpSilverBullet::GetSectionName().

◆ GetTabLayout()

LwpMiddleLayout * LwpStory::GetTabLayout ( )
inline

Definition at line 141 of file lwpstory.hxx.

References LwpContent::GetLayout(), and m_pTabLayout.

Referenced by LwpLayout::GetContainerLayout(), and LwpPara::RegisterTabStyle().

◆ GetXFContent()

XFContentContainer * LwpStory::GetXFContent ( )

Definition at line 401 of file lwpstory.cxx.

References m_xXFContainer.

Referenced by LwpMasterPage::ParseSection().

◆ IsBullStyleUsedBefore()

bool LwpStory::IsBullStyleUsedBefore ( const OUString &  rStyleName,
sal_uInt8  nPos 
)

Definition at line 470 of file lwpstory.cxx.

References m_vBulletStyleNameList, and nPos.

Referenced by LwpPara::RegisterStyle().

◆ IsNeedSection()

bool LwpStory::IsNeedSection ( )

◆ IsPMModified()

bool LwpStory::IsPMModified ( ) const
inline

Definition at line 119 of file lwpstory.hxx.

References m_bPMModified.

Referenced by LwpMasterPage::IsNeedSection(), and LwpPara::RegisterMasterPage().

◆ Parse()

void LwpStory::Parse ( IXFStream pOutputStream)
overridevirtual

@descr default parse function

Reimplemented from LwpObject.

Definition at line 156 of file lwpstory.cxx.

References m_xXFContainer, and XFConvert().

◆ Read()

void LwpStory::Read ( )
overrideprivatevirtual

@descr default read function

Reimplemented from LwpContent.

Definition at line 90 of file lwpstory.cxx.

References m_FirstParaStyle, m_ParaList, LwpObject::m_pObjStrm, LwpContent::Read(), LwpDLVListHeadTail::Read(), and LwpObjectID::ReadIndexed().

◆ RegisterFirstFribStyle()

OUString LwpStory::RegisterFirstFribStyle ( )

◆ RegisterStyle()

void LwpStory::RegisterStyle ( )
overridevirtual

◆ SetCurrentLayout()

void LwpStory::SetCurrentLayout ( LwpPageLayout pPageLayout)

◆ SetDropcapFlag()

void LwpStory::SetDropcapFlag ( bool  bFlag)
inline

Definition at line 148 of file lwpstory.hxx.

References m_bDropcap.

Referenced by LwpDropcapLayout::RegisterStyle().

◆ SetPMModified()

void LwpStory::SetPMModified ( bool  bPMModified)
inline

Definition at line 147 of file lwpstory.hxx.

References m_bPMModified.

Referenced by IsNeedSection().

◆ SetSectionName()

void LwpStory::SetSectionName ( const OUString &  StyleName)
inline

Definition at line 150 of file lwpstory.hxx.

References m_CurrSectionName.

Referenced by LwpFribSection::SetSectionName().

◆ SetTabLayout()

void LwpStory::SetTabLayout ( LwpLayout pLayout)
inline

Definition at line 149 of file lwpstory.hxx.

References m_pTabLayout.

Referenced by LwpMasterPage::RegisterMasterPage().

◆ SortPageLayout()

void LwpStory::SortPageLayout ( )

◆ XFConvert()

void LwpStory::XFConvert ( XFContentContainer pCont)
overridevirtual

◆ XFConvertFrameInCell()

void LwpStory::XFConvertFrameInCell ( XFContentContainer pCont)
private

◆ XFConvertFrameInFrame()

void LwpStory::XFConvertFrameInFrame ( XFContentContainer pCont)
private

◆ XFConvertFrameInHeaderFooter()

void LwpStory::XFConvertFrameInHeaderFooter ( XFContentContainer pCont)
private

◆ XFConvertFrameInPage()

void LwpStory::XFConvertFrameInPage ( XFContentContainer pCont)

Member Data Documentation

◆ m_bDropcap

bool LwpStory::m_bDropcap
private

Definition at line 92 of file lwpstory.hxx.

Referenced by GetDropcapFlag(), and SetDropcapFlag().

◆ m_bPMModified

bool LwpStory::m_bPMModified
private

Definition at line 87 of file lwpstory.hxx.

Referenced by IsPMModified(), SetCurrentLayout(), and SetPMModified().

◆ m_CurrSectionName

OUString LwpStory::m_CurrSectionName
private

Definition at line 94 of file lwpstory.hxx.

Referenced by GetSectionName(), and SetSectionName().

◆ m_FirstParaStyle

LwpObjectID LwpStory::m_FirstParaStyle
private

Definition at line 80 of file lwpstory.hxx.

Referenced by Read().

◆ m_LayoutList

std::vector<LwpPageLayout*> LwpStory::m_LayoutList
private

Definition at line 89 of file lwpstory.hxx.

Referenced by GetNextPageLayout(), and SortPageLayout().

◆ m_ParaList

LwpDLVListHeadTail LwpStory::m_ParaList
private

Definition at line 79 of file lwpstory.hxx.

Referenced by GetFirstPara(), GetLastPara(), and Read().

◆ m_pCurrentLayout

LwpPageLayout* LwpStory::m_pCurrentLayout
private

Definition at line 88 of file lwpstory.hxx.

Referenced by GetCurrentLayout(), GetNextPageLayout(), IsNeedSection(), and SetCurrentLayout().

◆ m_pHyperlinkMgr

std::unique_ptr<LwpHyperlinkMgr> LwpStory::m_pHyperlinkMgr
private

Definition at line 93 of file lwpstory.hxx.

Referenced by GetHyperlinkMgr().

◆ m_pTabLayout

LwpLayout* LwpStory::m_pTabLayout
private

Definition at line 90 of file lwpstory.hxx.

Referenced by GetTabLayout(), SetCurrentLayout(), and SetTabLayout().

◆ m_vBulletStyleNameList

std::vector<NamePosPair> LwpStory::m_vBulletStyleNameList
private

Definition at line 84 of file lwpstory.hxx.

Referenced by AddBullStyleName2List(), and IsBullStyleUsedBefore().

◆ m_xXFContainer

rtl::Reference<XFContentContainer> LwpStory::m_xXFContainer
private

Definition at line 96 of file lwpstory.hxx.

Referenced by AddXFContent(), GetXFContent(), and Parse().


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