LibreOffice Module xmloff (master) 1
|
#include <XMLTextListAutoStylePool.hxx>
Public Member Functions | |
XMLTextListAutoStylePool (SvXMLExport &rExport) | |
~XMLTextListAutoStylePool () | |
void | RegisterName (const OUString &rName) |
OUString | Add (const css::uno::Reference< css::container::XIndexReplace > &rNumRules) |
OUString | Find (const css::uno::Reference< css::container::XIndexReplace > &rNumRules) const |
OUString | Find (const OUString &rInternalName) const |
void | exportXML () const |
Private Member Functions | |
SAL_DLLPRIVATE sal_uInt32 | Find (const XMLTextListAutoStylePoolEntry_Impl *pEntry) const |
Private Attributes | |
SvXMLExport & | m_rExport |
OUString | m_sPrefix |
std::unique_ptr< XMLTextListAutoStylePool_Impl > | m_pPool |
XMLTextListAutoStylePoolNames_Impl | m_aNames |
sal_uInt32 | m_nName |
css::uno::Reference< css::ucb::XAnyCompare > | mxNumRuleCompare |
this is an optional NumRule compare component for applications where the NumRules don't have names More... | |
Definition at line 40 of file XMLTextListAutoStylePool.hxx.
XMLTextListAutoStylePool::XMLTextListAutoStylePool | ( | SvXMLExport & | rExport | ) |
Definition at line 148 of file XMLTextListAutoStylePool.cxx.
References CONTENT, SvXMLExport::getExportFlags(), SvXMLExport::GetModel(), i, m_rExport, m_sPrefix, mxNumRuleCompare, RegisterName(), SAL_WARN_IF, STYLES, and u.
XMLTextListAutoStylePool::~XMLTextListAutoStylePool | ( | ) |
Definition at line 182 of file XMLTextListAutoStylePool.cxx.
OUString XMLTextListAutoStylePool::Add | ( | const css::uno::Reference< css::container::XIndexReplace > & | rNumRules | ) |
Definition at line 218 of file XMLTextListAutoStylePool.cxx.
References Find(), m_aNames, m_nName, m_pPool, m_sPrefix, nPos, and sName.
Referenced by XMLTextParagraphExport::collectTextAutoStylesOptimized().
void XMLTextListAutoStylePool::exportXML | ( | ) | const |
Definition at line 267 of file XMLTextListAutoStylePool.cxx.
References SvxXMLNumRuleExport::exportNumberingRule(), XMLTextListAutoStylePoolEntry_Impl::GetName(), XMLTextListAutoStylePoolEntry_Impl::GetNumRules(), XMLTextListAutoStylePoolEntry_Impl::GetPos(), i, m_pPool, m_rExport, nCount, and SAL_WARN_IF.
Referenced by XMLTextParagraphExport::exportTextAutoStyles().
OUString XMLTextListAutoStylePool::Find | ( | const css::uno::Reference< css::container::XIndexReplace > & | rNumRules | ) | const |
OUString XMLTextListAutoStylePool::Find | ( | const OUString & | rInternalName | ) | const |
Definition at line 255 of file XMLTextListAutoStylePool.cxx.
|
private |
Definition at line 191 of file XMLTextListAutoStylePool.cxx.
References XMLTextListAutoStylePoolEntry_Impl::GetNumRules(), XMLTextListAutoStylePoolEntry_Impl::IsNamed(), m_pPool, mxNumRuleCompare, nCount, and nPos.
Referenced by Add(), Find(), and XMLTextNumRuleInfo::Set().
void XMLTextListAutoStylePool::RegisterName | ( | const OUString & | rName | ) |
Definition at line 186 of file XMLTextListAutoStylePool.cxx.
References m_aNames.
Referenced by XMLTextListAutoStylePool().
|
private |
Definition at line 47 of file XMLTextListAutoStylePool.hxx.
Referenced by Add(), and RegisterName().
|
private |
Definition at line 48 of file XMLTextListAutoStylePool.hxx.
Referenced by Add().
|
private |
Definition at line 46 of file XMLTextListAutoStylePool.hxx.
Referenced by Add(), exportXML(), and Find().
|
private |
Definition at line 42 of file XMLTextListAutoStylePool.hxx.
Referenced by exportXML(), and XMLTextListAutoStylePool().
|
private |
Definition at line 44 of file XMLTextListAutoStylePool.hxx.
Referenced by Add(), and XMLTextListAutoStylePool().
|
private |
this is an optional NumRule compare component for applications where the NumRules don't have names
Definition at line 52 of file XMLTextListAutoStylePool.hxx.
Referenced by Find(), and XMLTextListAutoStylePool().