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

Style manager for the filter. More...

#include <xfstylemanager.hxx>

Collaboration diagram for XFStyleManager:
[legend]

Public Member Functions

 XFStyleManager ()
 
 ~XFStyleManager ()
 
 XFStyleManager (XFStyleManager &)
 
void Reset ()
 @descr clear all styles, called before load file. More...
 
void AddFontDecl (XFFontDecl const &aFontDecl)
 
IXFStyleRet AddStyle (std::unique_ptr< IXFStyle > pStyle)
 
IXFStyleFindStyle (std::u16string_view name)
 
XFParaStyleFindParaStyle (std::u16string_view name)
 
XFTextStyleFindTextStyle (std::u16string_view name)
 
void SetLineNumberConfig (XFLineNumberConfig *pLNConfig)
 
void SetFootnoteConfig (XFFootnoteConfig *pFNConfig)
 
void SetEndnoteConfig (XFEndnoteConfig *pFNConfig)
 
void ToXml (IXFStream *strm)
 

Private Attributes

std::vector< XFFontDecls_aFontDecls
 
XFStyleContainer s_aStdTextStyles
 
XFStyleContainer s_aStdParaStyles
 
XFStyleContainer s_aStdStrokeDashStyles
 
XFStyleContainer s_aStdAreaStyles
 
XFStyleContainer s_aStdArrowStyles
 
XFConfigManager s_aConfigManager
 
XFStyleContainer s_aTextStyles
 
XFStyleContainer s_aParaStyles
 
XFStyleContainer s_aListStyles
 
XFStyleContainer s_aSectionStyles
 
XFStyleContainer s_aPageMasters
 
XFStyleContainer s_aMasterpages
 
XFStyleContainer s_aDateStyles
 
XFStyleContainer s_aGraphicsStyles
 
XFStyleContainer s_aTableStyles
 
XFStyleContainer s_aTableCellStyles
 
XFStyleContainer s_aTableRowStyles
 
XFStyleContainer s_aTableColStyles
 
std::unique_ptr< IXFStyles_pOutlineStyle
 
XFStyleContainer s_aRubyStyles
 

Detailed Description

Style manager for the filter.

This is a global object, all styles will be placed here before output.

Definition at line 81 of file xfstylemanager.hxx.

Constructor & Destructor Documentation

◆ XFStyleManager() [1/2]

XFStyleManager::XFStyleManager ( )

Definition at line 68 of file xfstylemanager.cxx.

◆ ~XFStyleManager()

XFStyleManager::~XFStyleManager ( )

Definition at line 76 of file xfstylemanager.cxx.

References Reset().

◆ XFStyleManager() [2/2]

XFStyleManager::XFStyleManager ( XFStyleManager )

Member Function Documentation

◆ AddFontDecl()

void XFStyleManager::AddFontDecl ( XFFontDecl const &  aFontDecl)

Definition at line 103 of file xfstylemanager.cxx.

References s_aFontDecls.

Referenced by LwpFontTableEntry::RegisterFontDecl().

◆ AddStyle()

IXFStyleRet XFStyleManager::AddStyle ( std::unique_ptr< IXFStyle pStyle)

Definition at line 108 of file xfstylemanager.cxx.

References XFStyleContainer::AddStyle(), enumXFStyleArea, enumXFStyleArrow, enumXFStyleCurrency, enumXFStyleDate, enumXFStyleDefaultPara, enumXFStyleGraphics, enumXFStyleList, enumXFStyleMasterPage, enumXFStyleNumber, enumXFStyleOutline, enumXFStylePageMaster, enumXFStylePara, enumXFStylePercent, enumXFStyleRuby, enumXFStyleSection, enumXFStyleStrokeDash, enumXFStyleTable, enumXFStyleTableCell, enumXFStyleTableCol, enumXFStyleTableRow, enumXFStyleText, enumXFStyleTime, name, s_aDateStyles, s_aGraphicsStyles, s_aListStyles, s_aMasterpages, s_aPageMasters, s_aParaStyles, s_aRubyStyles, s_aSectionStyles, s_aStdAreaStyles, s_aStdArrowStyles, s_aStdParaStyles, s_aStdStrokeDashStyles, s_aStdTextStyles, s_aTableCellStyles, s_aTableColStyles, s_aTableRowStyles, s_aTableStyles, s_aTextStyles, and s_pOutlineStyle.

Referenced by LwpStyleManager::AddStyle(), LwpCellLayout::ApplyFmtStyle(), LwpDrawTextBox::CreateDrawObj(), LwpDrawTextArt::CreateDrawObj(), LwpGraphicObject::CreateGrafObject(), LwpPara::OverrideParaBreaks(), LwpTableLayout::PostProcessParagraph(), RegisteArrowStyles(), LwpFribPageBreak::RegisterBreakStyle(), LwpFribColumnBreak::RegisterBreakStyle(), LwpBulletStyleMgr::RegisterBulletStyle(), LwpTableLayout::RegisterColumns(), LwpRowLayout::RegisterCurRowStyle(), LwpFribField::RegisterDateTimeStyle(), LwpCellLayout::RegisterDefaultCell(), LwpFribDocVar::RegisterDefaultTimeStyle(), LwpPageLayout::RegisterEndnoteStyle(), LwpMasterPage::RegisterFillerPageStyle(), LwpStory::RegisterFirstFribStyle(), LwpMasterPage::RegisterMasterPage(), LwpPara::RegisterMasterPage(), LwpPara::RegisterNewSectionStyle(), LwpFribTable::RegisterNewStyle(), LwpTableLayout::RegisterRows(), LwpCellLayout::RegisterStyle(), LwpDrawLine::RegisterStyle(), LwpDrawPolyLine::RegisterStyle(), LwpDrawPolygon::RegisterStyle(), LwpDrawRectangle::RegisterStyle(), LwpDrawEllipse::RegisterStyle(), LwpDrawArc::RegisterStyle(), LwpDrawTextBox::RegisterStyle(), LwpDrawTextArt::RegisterStyle(), LwpDrawBitmap::RegisterStyle(), LwpRubyLayout::RegisterStyle(), LwpGraphicObject::RegisterStyle(), LwpPageLayout::RegisterStyle(), LwpPara::RegisterStyle(), LwpRowLayout::RegisterStyle(), LwpSilverBullet::RegisterStyle(), LwpTableLayout::RegisterStyle(), LwpTocSuperLayout::RegisterStyle(), LwpVerDocument::RegisterStyle(), LwpColumnLayout::RegisterStyle(), LwpFrib::RegisterStyle(), LwpFribFrame::RegisterStyle(), LwpFrame::RegisterStyle(), LwpFribField::RegisterTotalTimeStyle(), LwpFribDocVar::RegisterTotalTimeStyle(), XFDrawStyle::SetAreaLineStyle(), XFDrawStyle::SetLineDashStyle(), and LwpTableLayout::SplitRowToCells().

◆ FindParaStyle()

XFParaStyle * XFStyleManager::FindParaStyle ( std::u16string_view  name)

◆ FindStyle()

IXFStyle * XFStyleManager::FindStyle ( std::u16string_view  name)

◆ FindTextStyle()

XFTextStyle * XFStyleManager::FindTextStyle ( std::u16string_view  name)

◆ Reset()

void XFStyleManager::Reset ( void  )

◆ SetEndnoteConfig()

void XFStyleManager::SetEndnoteConfig ( XFEndnoteConfig pFNConfig)

◆ SetFootnoteConfig()

void XFStyleManager::SetFootnoteConfig ( XFFootnoteConfig pFNConfig)

◆ SetLineNumberConfig()

void XFStyleManager::SetLineNumberConfig ( XFLineNumberConfig pLNConfig)

◆ ToXml()

void XFStyleManager::ToXml ( IXFStream strm)

Member Data Documentation

◆ s_aConfigManager

XFConfigManager XFStyleManager::s_aConfigManager
private

◆ s_aDateStyles

XFStyleContainer XFStyleManager::s_aDateStyles
private

Definition at line 128 of file xfstylemanager.hxx.

Referenced by AddStyle(), FindStyle(), Reset(), and ToXml().

◆ s_aFontDecls

std::vector<XFFontDecl> XFStyleManager::s_aFontDecls
private

Definition at line 113 of file xfstylemanager.hxx.

Referenced by AddFontDecl(), Reset(), and ToXml().

◆ s_aGraphicsStyles

XFStyleContainer XFStyleManager::s_aGraphicsStyles
private

Definition at line 129 of file xfstylemanager.hxx.

Referenced by AddStyle(), FindStyle(), Reset(), and ToXml().

◆ s_aListStyles

XFStyleContainer XFStyleManager::s_aListStyles
private

Definition at line 124 of file xfstylemanager.hxx.

Referenced by AddStyle(), FindStyle(), Reset(), and ToXml().

◆ s_aMasterpages

XFStyleContainer XFStyleManager::s_aMasterpages
private

Definition at line 127 of file xfstylemanager.hxx.

Referenced by AddStyle(), FindStyle(), Reset(), and ToXml().

◆ s_aPageMasters

XFStyleContainer XFStyleManager::s_aPageMasters
private

Definition at line 126 of file xfstylemanager.hxx.

Referenced by AddStyle(), FindStyle(), Reset(), and ToXml().

◆ s_aParaStyles

XFStyleContainer XFStyleManager::s_aParaStyles
private

Definition at line 123 of file xfstylemanager.hxx.

Referenced by AddStyle(), FindParaStyle(), Reset(), and ToXml().

◆ s_aRubyStyles

XFStyleContainer XFStyleManager::s_aRubyStyles
private

Definition at line 135 of file xfstylemanager.hxx.

Referenced by AddStyle(), and ToXml().

◆ s_aSectionStyles

XFStyleContainer XFStyleManager::s_aSectionStyles
private

Definition at line 125 of file xfstylemanager.hxx.

Referenced by AddStyle(), FindStyle(), Reset(), and ToXml().

◆ s_aStdAreaStyles

XFStyleContainer XFStyleManager::s_aStdAreaStyles
private

Definition at line 118 of file xfstylemanager.hxx.

Referenced by AddStyle(), FindStyle(), Reset(), and ToXml().

◆ s_aStdArrowStyles

XFStyleContainer XFStyleManager::s_aStdArrowStyles
private

Definition at line 119 of file xfstylemanager.hxx.

Referenced by AddStyle(), FindStyle(), Reset(), and ToXml().

◆ s_aStdParaStyles

XFStyleContainer XFStyleManager::s_aStdParaStyles
private

Definition at line 116 of file xfstylemanager.hxx.

Referenced by AddStyle(), FindParaStyle(), Reset(), and ToXml().

◆ s_aStdStrokeDashStyles

XFStyleContainer XFStyleManager::s_aStdStrokeDashStyles
private

Definition at line 117 of file xfstylemanager.hxx.

Referenced by AddStyle(), FindStyle(), Reset(), and ToXml().

◆ s_aStdTextStyles

XFStyleContainer XFStyleManager::s_aStdTextStyles
private

Definition at line 115 of file xfstylemanager.hxx.

Referenced by AddStyle(), FindTextStyle(), Reset(), and ToXml().

◆ s_aTableCellStyles

XFStyleContainer XFStyleManager::s_aTableCellStyles
private

Definition at line 131 of file xfstylemanager.hxx.

Referenced by AddStyle(), FindStyle(), and ToXml().

◆ s_aTableColStyles

XFStyleContainer XFStyleManager::s_aTableColStyles
private

Definition at line 133 of file xfstylemanager.hxx.

Referenced by AddStyle(), FindStyle(), and ToXml().

◆ s_aTableRowStyles

XFStyleContainer XFStyleManager::s_aTableRowStyles
private

Definition at line 132 of file xfstylemanager.hxx.

Referenced by AddStyle(), FindStyle(), and ToXml().

◆ s_aTableStyles

XFStyleContainer XFStyleManager::s_aTableStyles
private

Definition at line 130 of file xfstylemanager.hxx.

Referenced by AddStyle(), FindStyle(), and ToXml().

◆ s_aTextStyles

XFStyleContainer XFStyleManager::s_aTextStyles
private

Definition at line 122 of file xfstylemanager.hxx.

Referenced by AddStyle(), FindTextStyle(), Reset(), and ToXml().

◆ s_pOutlineStyle

std::unique_ptr<IXFStyle> XFStyleManager::s_pOutlineStyle
private

Definition at line 134 of file xfstylemanager.hxx.

Referenced by AddStyle(), FindStyle(), Reset(), and ToXml().


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