LibreOffice Module lotuswordpro (master) 1
|
Style manager for the filter. More...
#include <xfstylemanager.hxx>
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) |
IXFStyle * | FindStyle (std::u16string_view name) |
XFParaStyle * | FindParaStyle (std::u16string_view name) |
XFTextStyle * | FindTextStyle (std::u16string_view name) |
void | SetLineNumberConfig (XFLineNumberConfig *pLNConfig) |
void | SetFootnoteConfig (XFFootnoteConfig *pFNConfig) |
void | SetEndnoteConfig (XFEndnoteConfig *pFNConfig) |
void | ToXml (IXFStream *strm) |
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.
XFStyleManager::XFStyleManager | ( | ) |
Definition at line 68 of file xfstylemanager.cxx.
XFStyleManager::~XFStyleManager | ( | ) |
Definition at line 76 of file xfstylemanager.cxx.
References Reset().
XFStyleManager::XFStyleManager | ( | XFStyleManager & | ) |
void XFStyleManager::AddFontDecl | ( | XFFontDecl const & | aFontDecl | ) |
Definition at line 103 of file xfstylemanager.cxx.
References s_aFontDecls.
Referenced by LwpFontTableEntry::RegisterFontDecl().
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().
XFParaStyle * XFStyleManager::FindParaStyle | ( | std::u16string_view | name | ) |
Definition at line 275 of file xfstylemanager.cxx.
References XFStyleContainer::FindStyle(), name, s_aParaStyles, and s_aStdParaStyles.
Referenced by FindStyle(), LwpPara::GetXFParaStyle(), LwpTableLayout::PostProcessParagraph(), and LwpPara::RegisterStyle().
IXFStyle * XFStyleManager::FindStyle | ( | std::u16string_view | name | ) |
Definition at line 222 of file xfstylemanager.cxx.
References FindParaStyle(), XFStyleContainer::FindStyle(), FindTextStyle(), name, s_aDateStyles, s_aGraphicsStyles, s_aListStyles, s_aMasterpages, s_aPageMasters, s_aSectionStyles, s_aStdAreaStyles, s_aStdArrowStyles, s_aStdStrokeDashStyles, s_aTableCellStyles, s_aTableColStyles, s_aTableRowStyles, s_aTableStyles, and s_pOutlineStyle.
Referenced by LwpDocument::ChangeStyleName(), LwpCellLayout::GetActualWidth(), LwpTableLayout::PostProcessParagraph(), LwpRowLayout::RegisterCurRowStyle(), LwpPara::RegisterStyle(), and LwpTableLayout::SplitRowToCells().
XFTextStyle * XFStyleManager::FindTextStyle | ( | std::u16string_view | name | ) |
Definition at line 284 of file xfstylemanager.cxx.
References XFStyleContainer::FindStyle(), name, s_aStdTextStyles, and s_aTextStyles.
Referenced by FindStyle(), LwpFribPtr::ProcessDropcap(), LwpStory::RegisterFirstFribStyle(), and LwpFrib::RegisterStyle().
void XFStyleManager::Reset | ( | void | ) |
@descr clear all styles, called before load file.
Definition at line 81 of file xfstylemanager.cxx.
References XFStyleContainer::Reset(), s_aConfigManager, s_aDateStyles, s_aFontDecls, s_aGraphicsStyles, s_aListStyles, s_aMasterpages, s_aPageMasters, s_aParaStyles, s_aSectionStyles, s_aStdAreaStyles, s_aStdArrowStyles, s_aStdParaStyles, s_aStdStrokeDashStyles, s_aStdTextStyles, s_aTextStyles, and s_pOutlineStyle.
Referenced by ~XFStyleManager().
void XFStyleManager::SetEndnoteConfig | ( | XFEndnoteConfig * | pFNConfig | ) |
Definition at line 303 of file xfstylemanager.cxx.
References s_aConfigManager, and XFConfigManager::SetEndnoteConfig().
Referenced by LwpFootnoteOptions::RegisterEndnoteStyle().
void XFStyleManager::SetFootnoteConfig | ( | XFFootnoteConfig * | pFNConfig | ) |
Definition at line 298 of file xfstylemanager.cxx.
References s_aConfigManager, and XFConfigManager::SetFootnoteConfig().
Referenced by LwpFootnoteOptions::RegisterFootnoteStyle().
void XFStyleManager::SetLineNumberConfig | ( | XFLineNumberConfig * | pLNConfig | ) |
Definition at line 293 of file xfstylemanager.cxx.
References s_aConfigManager, and XFConfigManager::SetLineNumberConfig().
Referenced by LwpLineNumberOptions::RegisterStyle().
void XFStyleManager::ToXml | ( | IXFStream * | strm | ) |
Definition at line 308 of file xfstylemanager.cxx.
References IXFAttrList::AddAttribute(), IXFAttrList::Clear(), IXFStream::EndElement(), IXFStream::GetAttrList(), s_aConfigManager, s_aDateStyles, s_aFontDecls, 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, s_pOutlineStyle, IXFStream::StartElement(), XFStyleContainer::ToXml(), and XFConfigManager::ToXml().
Referenced by Lwp9Reader::ParseDocument().
|
private |
Definition at line 120 of file xfstylemanager.hxx.
Referenced by Reset(), SetEndnoteConfig(), SetFootnoteConfig(), SetLineNumberConfig(), and ToXml().
|
private |
Definition at line 128 of file xfstylemanager.hxx.
Referenced by AddStyle(), FindStyle(), Reset(), and ToXml().
|
private |
Definition at line 113 of file xfstylemanager.hxx.
Referenced by AddFontDecl(), Reset(), and ToXml().
|
private |
Definition at line 129 of file xfstylemanager.hxx.
Referenced by AddStyle(), FindStyle(), Reset(), and ToXml().
|
private |
Definition at line 124 of file xfstylemanager.hxx.
Referenced by AddStyle(), FindStyle(), Reset(), and ToXml().
|
private |
Definition at line 127 of file xfstylemanager.hxx.
Referenced by AddStyle(), FindStyle(), Reset(), and ToXml().
|
private |
Definition at line 126 of file xfstylemanager.hxx.
Referenced by AddStyle(), FindStyle(), Reset(), and ToXml().
|
private |
Definition at line 123 of file xfstylemanager.hxx.
Referenced by AddStyle(), FindParaStyle(), Reset(), and ToXml().
|
private |
Definition at line 135 of file xfstylemanager.hxx.
Referenced by AddStyle(), and ToXml().
|
private |
Definition at line 125 of file xfstylemanager.hxx.
Referenced by AddStyle(), FindStyle(), Reset(), and ToXml().
|
private |
Definition at line 118 of file xfstylemanager.hxx.
Referenced by AddStyle(), FindStyle(), Reset(), and ToXml().
|
private |
Definition at line 119 of file xfstylemanager.hxx.
Referenced by AddStyle(), FindStyle(), Reset(), and ToXml().
|
private |
Definition at line 116 of file xfstylemanager.hxx.
Referenced by AddStyle(), FindParaStyle(), Reset(), and ToXml().
|
private |
Definition at line 117 of file xfstylemanager.hxx.
Referenced by AddStyle(), FindStyle(), Reset(), and ToXml().
|
private |
Definition at line 115 of file xfstylemanager.hxx.
Referenced by AddStyle(), FindTextStyle(), Reset(), and ToXml().
|
private |
Definition at line 131 of file xfstylemanager.hxx.
Referenced by AddStyle(), FindStyle(), and ToXml().
|
private |
Definition at line 133 of file xfstylemanager.hxx.
Referenced by AddStyle(), FindStyle(), and ToXml().
|
private |
Definition at line 132 of file xfstylemanager.hxx.
Referenced by AddStyle(), FindStyle(), and ToXml().
|
private |
Definition at line 130 of file xfstylemanager.hxx.
Referenced by AddStyle(), FindStyle(), and ToXml().
|
private |
Definition at line 122 of file xfstylemanager.hxx.
Referenced by AddStyle(), FindTextStyle(), Reset(), and ToXml().
|
private |
Definition at line 134 of file xfstylemanager.hxx.
Referenced by AddStyle(), FindStyle(), Reset(), and ToXml().