LibreOffice Module lotuswordpro (master) 1
|
#include <lwpstory.hxx>
Private Types | |
typedef std::pair< OUString, sal_uInt8 > | NamePosPair |
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< NamePosPair > | m_vBulletStyleNameList |
bool | m_bPMModified |
LwpPageLayout * | m_pCurrentLayout |
std::vector< LwpPageLayout * > | m_LayoutList |
LwpLayout * | m_pTabLayout |
bool | m_bDropcap |
std::unique_ptr< LwpHyperlinkMgr > | m_pHyperlinkMgr |
OUString | m_CurrSectionName |
rtl::Reference< XFContentContainer > | m_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< 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 71 of file lwpstory.hxx.
|
private |
Definition at line 83 of file lwpstory.hxx.
LwpStory::LwpStory | ( | LwpObjectHeader const & | objHdr, |
LwpSvStream * | pStrm | ||
) |
Definition at line 76 of file lwpstory.cxx.
|
overridevirtual |
Definition at line 86 of file lwpstory.cxx.
|
inline |
Definition at line 151 of file lwpstory.hxx.
References m_vBulletStyleNameList, and nPos.
Referenced by LwpPara::RegisterStyle().
void LwpStory::AddXFContent | ( | XFContent * | pContent | ) |
Definition at line 395 of file lwpstory.cxx.
References m_xXFContainer.
Referenced by LwpMasterPage::ParseSection(), and LwpPara::XFConvert().
OUString LwpStory::GetContentText | ( | bool | bAllText = false | ) |
Definition at line 419 of file lwpstory.cxx.
References LwpPara::GetContentText(), GetFirstPara(), LwpDLVList::GetNext(), LwpObject::m_pFoundry, LwpObjectID::obj(), and LwpObject::SetFoundry().
Referenced by LwpRubyLayout::ConvertContentText(), and LwpCHBlkMarker::GetPromptText().
|
inline |
Definition at line 114 of file lwpstory.hxx.
References m_pCurrentLayout.
Referenced by LwpFribColumnBreak::RegisterBreakStyle(), LwpMasterPage::RegisterMasterPage(), and LwpPara::RegisterMasterPage().
|
inline |
Definition at line 113 of file lwpstory.hxx.
References m_bDropcap.
Referenced by LwpFribPtr::ProcessDropcap(), and LwpPara::XFConvert().
|
inline |
Definition at line 139 of file lwpstory.hxx.
References LwpDLVListHeadTail::GetHead(), and m_ParaList.
Referenced by LwpNoteLayout::GetAuthor(), LwpSilverBullet::GetBulletPara(), GetContentText(), LwpDocument::IsSkippedDivision(), LwpDropcapLayout::Parse(), RegisterFirstFribStyle(), RegisterStyle(), LwpDropcapLayout::RegisterStyle(), and XFConvert().
|
inline |
Definition at line 117 of file lwpstory.hxx.
References m_pHyperlinkMgr.
Referenced by LwpFribPtr::XFConvert(), LwpFribCHBlock::XFConvert(), LwpFribText::XFConvert(), and LwpFribUnicode::XFConvert().
|
inline |
Definition at line 140 of file lwpstory.hxx.
References LwpDLVListHeadTail::GetTail(), and m_ParaList.
Referenced by LwpCellLayout::GetLastParaOfPreviousStory(), and LwpDocument::IsSkippedDivision().
LwpPara * LwpStory::GetLastParaOfPreviousStory | ( | ) |
Definition at line 406 of file lwpstory.cxx.
References LwpContent::GetLayout().
Referenced by LwpPara::RegisterStyle().
LwpPageLayout * LwpStory::GetNextPageLayout | ( | ) |
Definition at line 187 of file lwpstory.cxx.
References m_LayoutList, and m_pCurrentLayout.
Referenced by IsNeedSection().
|
inline |
Definition at line 116 of file lwpstory.hxx.
References m_CurrSectionName.
Referenced by LwpSilverBullet::GetSectionName().
|
inline |
Definition at line 141 of file lwpstory.hxx.
References LwpContent::GetLayout(), and m_pTabLayout.
Referenced by LwpLayout::GetContainerLayout(), and LwpPara::RegisterTabStyle().
XFContentContainer * LwpStory::GetXFContent | ( | ) |
Definition at line 401 of file lwpstory.cxx.
References m_xXFContainer.
Referenced by LwpMasterPage::ParseSection().
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().
bool LwpStory::IsNeedSection | ( | ) |
Definition at line 246 of file lwpstory.cxx.
References GetNextPageLayout(), LwpLayout::GetUseWhenType(), LwpPageLayout::HasColumns(), m_pCurrentLayout, LwpPageLayout::ResetXFColumns(), SetPMModified(), LwpLayout::StartOnEvenPage, LwpLayout::StartOnNextPage, LwpLayout::StartOnOddPage, LwpLayout::StartWithinColume, and LwpLayout::StartWithinPage.
Referenced by LwpMasterPage::IsNeedSection(), and LwpPara::RegisterMasterPage().
|
inline |
Definition at line 119 of file lwpstory.hxx.
References m_bPMModified.
Referenced by LwpMasterPage::IsNeedSection(), and LwpPara::RegisterMasterPage().
|
overridevirtual |
@descr default parse function
Reimplemented from LwpObject.
Definition at line 156 of file lwpstory.cxx.
References m_xXFContainer, and XFConvert().
|
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().
OUString LwpStory::RegisterFirstFribStyle | ( | ) |
Definition at line 449 of file lwpstory.cxx.
References XFStyleManager::AddStyle(), XFStyleManager::FindTextStyle(), GetFirstPara(), LwpFribPtr::GetFribs(), LwpPara::GetFribs(), LwpGlobalMgr::GetInstance(), LwpFrib::GetStyleName(), LwpGlobalMgr::GetXFStyleManager(), LwpObject::m_pFoundry, LwpObjectID::obj(), LwpFrib::RegisterStyle(), LwpObject::SetFoundry(), and sName.
Referenced by LwpRubyLayout::RegisterStyle().
|
overridevirtual |
@descr default register style function
Reimplemented from LwpObject.
Definition at line 141 of file lwpstory.cxx.
References get(), GetFirstPara(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::insert(), and LwpObject::m_pFoundry.
void LwpStory::SetCurrentLayout | ( | LwpPageLayout * | pPageLayout | ) |
Definition at line 168 of file lwpstory.cxx.
References LwpPageLayout::GetOddChildLayout(), m_bPMModified, m_pCurrentLayout, and m_pTabLayout.
Referenced by LwpDocument::RegisterLayoutStyles(), and LwpMasterPage::RegisterMasterPage().
|
inline |
Definition at line 148 of file lwpstory.hxx.
References m_bDropcap.
Referenced by LwpDropcapLayout::RegisterStyle().
|
inline |
Definition at line 147 of file lwpstory.hxx.
References m_bPMModified.
Referenced by IsNeedSection().
|
inline |
Definition at line 150 of file lwpstory.hxx.
References m_CurrSectionName.
Referenced by LwpFribSection::SetSectionName().
|
inline |
Definition at line 149 of file lwpstory.hxx.
References m_pTabLayout.
Referenced by LwpMasterPage::RegisterMasterPage().
void LwpStory::SortPageLayout | ( | ) |
Definition at line 197 of file lwpstory.cxx.
References LwpContent::GetLayout(), LwpLayout::GetUseWhenType(), m_LayoutList, and LwpLayout::StartWithinColume.
Referenced by LwpDocument::RegisterLayoutStyles().
|
overridevirtual |
@descr default XFConvert function pCont is the XFContentContainer for the object conversion
Reimplemented from LwpObject.
Definition at line 101 of file lwpstory.cxx.
References get(), GetFirstPara(), LwpGlobalMgr::GetInstance(), LwpGlobalMgr::GetLwpObjFactory(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::insert(), LwpObject::m_pFoundry, LwpObjectFactory::ReleaseObject(), XFConvertFrameInCell(), XFConvertFrameInFrame(), and XFConvertFrameInHeaderFooter().
Referenced by LwpCellLayout::ConvertCell(), LwpPageLayout::ConvertFillerPageText(), Parse(), and LwpDropcapLayout::XFConvert().
|
private |
Definition at line 295 of file lwpstory.cxx.
References enumXFContentPara, XFContentContainer::FindFirstContent(), first, and LwpContent::GetLayout().
Referenced by XFConvert().
|
private |
Definition at line 348 of file lwpstory.cxx.
References LwpContent::GetLayout(), and o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::insert().
Referenced by XFConvert().
|
private |
Definition at line 372 of file lwpstory.cxx.
References enumXFContentPara, XFContentContainer::FindFirstContent(), first, and LwpContent::GetLayout().
Referenced by XFConvert().
void LwpStory::XFConvertFrameInPage | ( | XFContentContainer * | pCont | ) |
Definition at line 321 of file lwpstory.cxx.
References LwpContent::GetLayout(), and o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::insert().
Referenced by LwpDocument::XFConvertFrameInPage().
|
private |
Definition at line 92 of file lwpstory.hxx.
Referenced by GetDropcapFlag(), and SetDropcapFlag().
|
private |
Definition at line 87 of file lwpstory.hxx.
Referenced by IsPMModified(), SetCurrentLayout(), and SetPMModified().
|
private |
Definition at line 94 of file lwpstory.hxx.
Referenced by GetSectionName(), and SetSectionName().
|
private |
Definition at line 80 of file lwpstory.hxx.
Referenced by Read().
|
private |
Definition at line 89 of file lwpstory.hxx.
Referenced by GetNextPageLayout(), and SortPageLayout().
|
private |
Definition at line 79 of file lwpstory.hxx.
Referenced by GetFirstPara(), GetLastPara(), and Read().
|
private |
Definition at line 88 of file lwpstory.hxx.
Referenced by GetCurrentLayout(), GetNextPageLayout(), IsNeedSection(), and SetCurrentLayout().
|
private |
Definition at line 93 of file lwpstory.hxx.
Referenced by GetHyperlinkMgr().
|
private |
Definition at line 90 of file lwpstory.hxx.
Referenced by GetTabLayout(), SetCurrentLayout(), and SetTabLayout().
|
private |
Definition at line 84 of file lwpstory.hxx.
Referenced by AddBullStyleName2List(), and IsBullStyleUsedBefore().
|
private |
Definition at line 96 of file lwpstory.hxx.
Referenced by AddXFContent(), GetXFContent(), and Parse().