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

Process page layout for inserting pagelayout or section. More...

#include <lwpfribsection.hxx>

Collaboration diagram for LwpMasterPage:
[legend]

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...
 
XFSectionCreateXFSection ()
 @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
 
LwpParam_pPara
 
LwpPageLayoutm_pLayout
 

Detailed Description

Process page layout for inserting pagelayout or section.

Definition at line 71 of file lwpfribsection.hxx.

Constructor & Destructor Documentation

◆ LwpMasterPage()

LwpMasterPage::LwpMasterPage ( LwpPara pPara,
LwpPageLayout pLayout 
)

Definition at line 227 of file lwpfribsection.cxx.

Member Function Documentation

◆ CreateXFSection()

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

◆ IsNeedSection()

bool LwpMasterPage::IsNeedSection ( )
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().

◆ IsNextPageType()

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

◆ ParseSection()

void LwpMasterPage::ParseSection ( LwpFrib pFrib)

◆ RegisterFillerPageStyle()

void LwpMasterPage::RegisterFillerPageStyle ( )

◆ RegisterMasterPage()

void LwpMasterPage::RegisterMasterPage ( LwpFrib pFrib)

Member Data Documentation

◆ m_bNewSection

bool LwpMasterPage::m_bNewSection
private

Definition at line 89 of file lwpfribsection.hxx.

Referenced by CreateXFSection(), and RegisterMasterPage().

◆ m_FillerPageStyleName

OUString LwpMasterPage::m_FillerPageStyleName
private

Definition at line 90 of file lwpfribsection.hxx.

Referenced by ParseSection(), and RegisterFillerPageStyle().

◆ m_pLayout

LwpPageLayout* LwpMasterPage::m_pLayout
private

◆ m_pPara

LwpPara* LwpMasterPage::m_pPara
private

◆ m_SectionStyleName

OUString LwpMasterPage::m_SectionStyleName
private

Definition at line 91 of file lwpfribsection.hxx.

Referenced by CreateXFSection(), and RegisterMasterPage().

◆ m_StyleName

OUString LwpMasterPage::m_StyleName
private

Definition at line 92 of file lwpfribsection.hxx.

Referenced by ParseSection(), and RegisterMasterPage().


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