LibreOffice Module lotuswordpro (master) 1
|
Process page layout for inserting pagelayout or section. More...
#include <lwpfribsection.hxx>
Public Member Functions | |
LwpMasterPage (LwpPara *pPara, LwpPageLayout *pLayout) | |
void | RegisterMasterPage (LwpFrib *pFrib) |
@descr: Register master page style for para style and register section style if necessary More... | |
void | RegisterFillerPageStyle () |
@descr: Register filler page text style More... | |
void | ParseSection (LwpFrib *pFrib) |
@descr: Parse section More... | |
XFSection * | CreateXFSection () |
@descr: Create XFSection if necessary More... | |
bool | IsNextPageType () |
@descr: Whether the layout is next page type More... | |
Private Member Functions | |
bool | IsNeedSection () |
@descr: Whether it needs to create a new section More... | |
Private Attributes | |
bool | m_bNewSection |
OUString | m_FillerPageStyleName |
OUString | m_SectionStyleName |
OUString | m_StyleName |
LwpPara * | m_pPara |
LwpPageLayout * | m_pLayout |
Process page layout for inserting pagelayout or section.
Definition at line 71 of file lwpfribsection.hxx.
LwpMasterPage::LwpMasterPage | ( | LwpPara * | pPara, |
LwpPageLayout * | pLayout | ||
) |
Definition at line 227 of file lwpfribsection.cxx.
XFSection * LwpMasterPage::CreateXFSection | ( | ) |
@descr: Create XFSection if necessary
Definition at line 351 of file lwpfribsection.cxx.
References m_bNewSection, m_SectionStyleName, and XFContent::SetStyleName().
Referenced by ParseSection().
|
private |
@descr: Whether it needs to create a new section
Definition at line 334 of file lwpfribsection.cxx.
References LwpPara::GetStoryID(), LwpStory::IsNeedSection(), LwpStory::IsPMModified(), m_pPara, and LwpObjectID::obj().
Referenced by RegisterMasterPage().
bool LwpMasterPage::IsNextPageType | ( | ) |
@descr: Whether the layout is next page type
Definition at line 445 of file lwpfribsection.cxx.
References LwpLayout::GetUseWhenType(), m_pLayout, LwpLayout::StartOnEvenPage, LwpLayout::StartOnNextPage, and LwpLayout::StartOnOddPage.
Referenced by RegisterMasterPage().
void LwpMasterPage::ParseSection | ( | LwpFrib * | pFrib | ) |
@descr: Parse section
Definition at line 367 of file lwpfribsection.cxx.
References LwpPara::AddXFContent(), LwpStory::AddXFContent(), LwpPageLayout::ConvertFillerPageText(), CreateXFSection(), LwpObject::GetFoundry(), LwpPara::GetFribs(), XFContentContainer::GetLastContent(), LwpPara::GetStoryID(), LwpPara::GetXFContainer(), LwpStory::GetXFContent(), LwpFribPtr::GetXFPara(), XFParagraph::HasContents(), LwpPageLayout::HasFillerPageText(), LwpFrib::HasNextFrib(), m_FillerPageStyleName, m_pLayout, m_pPara, m_StyleName, LwpObjectID::obj(), XFContentContainer::RemoveLastContent(), XFContent::SetStyleName(), LwpPara::SetXFContainer(), and LwpFribPtr::SetXFPara().
void LwpMasterPage::RegisterFillerPageStyle | ( | ) |
@descr: Register filler page text style
Definition at line 423 of file lwpfribsection.cxx.
References XFStyleManager::AddStyle(), enumXFBreakAftPage, LwpObject::GetFoundry(), LwpGlobalMgr::GetInstance(), IXFStyle::GetStyleName(), LwpLayout::GetUseWhenType(), LwpPara::GetXFParaStyle(), LwpGlobalMgr::GetXFStyleManager(), LwpPageLayout::HasFillerPageText(), m_FillerPageStyleName, m_pLayout, m_pPara, IXFStyleRet::m_pStyle, LwpLayout::StartOnEvenPage, and LwpLayout::StartOnOddPage.
Referenced by RegisterMasterPage().
void LwpMasterPage::RegisterMasterPage | ( | LwpFrib * | pFrib | ) |
@descr: Register master page style for para style and register section style if necessary
Definition at line 238 of file lwpfribsection.cxx.
References XFStyleManager::AddStyle(), LwpStory::GetCurrentLayout(), LwpGlobalMgr::GetInstance(), LwpVirtualLayout::GetMarginsValue(), LwpPara::GetStoryID(), LwpVirtualLayout::GetStyleName(), IXFStyle::GetStyleName(), LwpLayout::GetUseWhenType(), LwpLayout::GetXFColumns(), LwpPara::GetXFParaStyle(), LwpGlobalMgr::GetXFStyleManager(), LwpFrib::HasNextFrib(), IsNeedSection(), IsNextPageType(), m_bNewSection, m_pLayout, m_pPara, IXFStyleRet::m_pStyle, m_SectionStyleName, m_StyleName, MARGIN_LEFT, MARGIN_RIGHT, LwpObjectID::obj(), RegisterFillerPageStyle(), LwpPara::RegisterTabStyle(), LwpStory::SetCurrentLayout(), LwpStory::SetTabLayout(), LwpLayout::StartOnEvenPage, LwpLayout::StartOnNextPage, LwpLayout::StartOnOddPage, LwpLayout::StartWithinColume, and LwpLayout::StartWithinPage.
|
private |
Definition at line 89 of file lwpfribsection.hxx.
Referenced by CreateXFSection(), and RegisterMasterPage().
|
private |
Definition at line 90 of file lwpfribsection.hxx.
Referenced by ParseSection(), and RegisterFillerPageStyle().
|
private |
Definition at line 95 of file lwpfribsection.hxx.
Referenced by IsNextPageType(), ParseSection(), RegisterFillerPageStyle(), and RegisterMasterPage().
|
private |
Definition at line 94 of file lwpfribsection.hxx.
Referenced by IsNeedSection(), ParseSection(), RegisterFillerPageStyle(), and RegisterMasterPage().
|
private |
Definition at line 91 of file lwpfribsection.hxx.
Referenced by CreateXFSection(), and RegisterMasterPage().
|
private |
Definition at line 92 of file lwpfribsection.hxx.
Referenced by ParseSection(), and RegisterMasterPage().