132 return pSection->GetPageLayout();
166 pStory->AddXFContent(pIndex);
190 pXFIndex->
AddTemplate(
"separator", styleName, pTemplateSep);
199 pXFIndex->
AddTemplate(OUString::number(1), styleName, pTemplate1);
214 pXFIndex->
AddTemplate(OUString::number(2), styleName, pTemplate2);
215 pXFIndex->
AddTemplate(OUString::number(3), styleName, pTemplate3);
222 pXFIndex->
AddTemplate(OUString::number(2), styleName, pTemplate2);
223 pXFIndex->
AddTemplate(OUString::number(3), styleName, pTemplate3);
228 : m_bNewSection(false)
255 std::unique_ptr<XFParaStyle> xOverStyle(
new XFParaStyle);
257 xOverStyle->SetStyleName(
"");
318 pSectStyle->SetMarginLeft(fLeft);
319 pSectStyle->SetMarginRight(fRight);
325 pSectStyle->SetColumns(pColumns);
336 bool bNewSection =
false;
431 std::unique_ptr<XFParaStyle> pPagebreakStyle(
new XFParaStyle);
433 pPagebreakStyle->SetStyleName(
"");
virtual OUString GetStyleName()=0
@descr: return the style name.
OUString FindActualStyleName(const OUString &name)
@descr: Get style name registered according the original style name
XFParagraph * GetXFPara()
void SetXFPara(XFParagraph *Para)
void ParseSection()
@descr: XFConvert section
void SetDefaultAlphaIndex(XFIndex *pXFIndex)
LwpPageLayout * GetPageLayout()
@descr: Get page layout that current section points
LwpSection * GetSection()
@descr: Get section pointer
LwpFribSection(LwpPara *pPara)
std::unique_ptr< LwpMasterPage > m_pMasterPage
void Read(LwpObjectStream *pObjStrm, sal_uInt16 len) override
@descr: Read section frib information
void RegisterSectionStyle()
@descr: Register section style
virtual ~LwpFribSection() override
void SetSectionName()
@descr: Register section style
bool HasNextFrib()
@descr: Whether there are other fribs following current frib.
XFStyleManager * GetXFStyleManager()
static LwpGlobalMgr * GetInstance(LwpSvStream *pSvStream=nullptr)
bool IsFormatRunin() const
bool IsFormatSeparator() const
UseWhenType GetUseWhenType()
@descr: Get use when type
XFColumns * GetXFColumns()
@descr: Create and return XFColumns object
Process page layout for inserting pagelayout or section.
bool IsNextPageType()
@descr: Whether the layout is next page type
LwpPageLayout * m_pLayout
XFSection * CreateXFSection()
@descr: Create XFSection if necessary
OUString m_FillerPageStyleName
void ParseSection(LwpFrib *pFrib)
@descr: Parse section
void RegisterFillerPageStyle()
@descr: Register filler page text style
LwpMasterPage(LwpPara *pPara, LwpPageLayout *pLayout)
void RegisterMasterPage(LwpFrib *pFrib)
@descr: Register master page style for para style and register section style if necessary
OUString m_SectionStyleName
bool IsNeedSection()
@descr: Whether it needs to create a new section
void ReadIndexed(LwpSvStream *pStrm)
@descr Read object id with indexed format from stream if index>0, lowid is get from time table per th...
rtl::Reference< LwpObject > obj(VO_TYPE tag=VO_INVALID) const
@descr get object from object factory per the object id
stream class for LwpObject body data provide stream like interface to read object data
LwpFoundry * GetFoundry()
bool HasFillerPageText(LwpFoundry const *pFoundry)
@descr: Whether has filler page text in current page layout
void ConvertFillerPageText(XFContentContainer *pCont)
@descr: Parse filler page text
void AddXFContent(XFContent *pCont)
void RegisterTabStyle(XFParaStyle *pXFParaStyle)
void SetXFContainer(XFContentContainer *pCont)
LwpObjectID & GetStoryID()
XFContentContainer * GetXFContainer()
XFParaStyle * GetXFParaStyle()
get paragraph xfstyle
OUString const & GetSectionName() const
void SetTabLayout(LwpLayout *pLayout)
bool IsPMModified() const
void SetSectionName(const OUString &StyleName)
XFContentContainer * GetXFContent()
void SetCurrentLayout(LwpPageLayout *pPageLayout)
void AddXFContent(XFContent *pContent)
LwpPageLayout * GetCurrentLayout()
const OUString & GetStyleName() const
double GetMarginsValue(sal_uInt8 nWhichSide)
rtl::Reference< XFContent > GetLastContent()
virtual void SetStyleName(const OUString &style)
: All content except XFTextContent can have a style.
void AddEntry(enumXFIndexTemplate entry, const OUString &styleName)
@descr Add an entry in the template.
Index, include index template, index body.
void SetSeparator(bool sep)
@descr Set separator.
void AddTemplate(const OUString &level, const OUString &style, XFIndexTemplate *templ)
@descr Add index template entry.
void SetIndexType(enumXFIndex type)
@descr Set index type.
Style object for aragraph.
Paragraph object for SODC.
Style manager for the filter.
IXFStyleRet AddStyle(std::unique_ptr< IXFStyle > pStyle)
const sal_uInt8 MARGIN_RIGHT
const sal_uInt8 MARGIN_LEFT
@ enumXFIndexAlphabetical
@ enumXFIndexTemplateText
@ enumXFIndexTemplatePage