LibreOffice Module lotuswordpro (master) 1
|
Config information for OOo document, ie, line count config, endnote and footnote config. More...
#include <xfconfigmanager.hxx>
Public Member Functions | |
XFConfigManager () | |
virtual | ~XFConfigManager () override |
void | SetLineNumberConfig (XFLineNumberConfig *pLNConfig) |
@descr Set line number config. More... | |
void | SetFootnoteConfig (XFFootnoteConfig *pFNConfig) |
@descr Set footnote config. More... | |
void | SetEndnoteConfig (XFEndnoteConfig *pFNConfig) |
@descr Set endnote config. More... | |
virtual void | ToXml (IXFStream *pStrm) override |
@descr Output config information. More... | |
Public Member Functions inherited from XFStyleContainer | |
XFStyleContainer () | |
XFStyleContainer (OUString strStyleNamePrefix) | |
XFStyleContainer (const XFStyleContainer &other)=delete | |
XFStyleContainer & | operator= (const XFStyleContainer &other)=delete |
virtual | ~XFStyleContainer () |
IXFStyleRet | AddStyle (std::unique_ptr< IXFStyle > pStyle) |
@descr Add style to container. More... | |
IXFStyle * | FindSameStyle (IXFStyle *pStyle) |
@descr Find the same style. More... | |
IXFStyle * | FindStyle (std::u16string_view name) |
@descr get style by name. More... | |
void | Reset () |
@descr clear container. More... | |
size_t | GetCount () const |
@descr get count of styles in the container. More... | |
const IXFStyle * | Item (size_t index) const |
@descr get style by index. More... | |
virtual void | ToXml (IXFStream *pStrm) |
@descr Output all style. More... | |
Private Attributes | |
std::unique_ptr< XFLineNumberConfig > | m_pLineNumberConfig |
std::unique_ptr< XFFootnoteConfig > | m_pFootnoteConfig |
std::unique_ptr< XFEndnoteConfig > | m_pEndnoteConfig |
Config information for OOo document, ie, line count config, endnote and footnote config.
This object should only exist one instance. Don't make this object a singleton because it's managed by XFStyleManager.
Definition at line 75 of file xfconfigmanager.hxx.
XFConfigManager::XFConfigManager | ( | ) |
Definition at line 62 of file xfconfigmanager.cxx.
|
overridevirtual |
Definition at line 64 of file xfconfigmanager.cxx.
void XFConfigManager::SetEndnoteConfig | ( | XFEndnoteConfig * | pFNConfig | ) |
@descr Set endnote config.
Definition at line 76 of file xfconfigmanager.cxx.
References m_pEndnoteConfig.
Referenced by XFStyleManager::SetEndnoteConfig().
void XFConfigManager::SetFootnoteConfig | ( | XFFootnoteConfig * | pFNConfig | ) |
@descr Set footnote config.
Definition at line 71 of file xfconfigmanager.cxx.
References m_pFootnoteConfig.
Referenced by XFStyleManager::SetFootnoteConfig().
void XFConfigManager::SetLineNumberConfig | ( | XFLineNumberConfig * | pLNConfig | ) |
@descr Set line number config.
Definition at line 66 of file xfconfigmanager.cxx.
References m_pLineNumberConfig.
Referenced by XFStyleManager::SetLineNumberConfig().
|
overridevirtual |
@descr Output config information.
Reimplemented from XFStyleContainer.
Definition at line 81 of file xfconfigmanager.cxx.
References XFStyleContainer::AddStyle(), m_pEndnoteConfig, m_pFootnoteConfig, m_pLineNumberConfig, XFStyleContainer::Reset(), and XFStyleContainer::ToXml().
Referenced by XFStyleManager::ToXml().
|
private |
Definition at line 105 of file xfconfigmanager.hxx.
Referenced by SetEndnoteConfig(), and ToXml().
|
private |
Definition at line 104 of file xfconfigmanager.hxx.
Referenced by SetFootnoteConfig(), and ToXml().
|
private |
Definition at line 103 of file xfconfigmanager.hxx.
Referenced by SetLineNumberConfig(), and ToXml().