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 & | rExport |
OUString | sPrefix |
std::unique_ptr< XMLTextListAutoStylePool_Impl > | pPool |
XMLTextListAutoStylePoolNames_Impl | m_aNames |
sal_uInt32 | 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 151 of file XMLTextListAutoStylePool.cxx.
References CONTENT, SvXMLExport::getExportFlags(), SvXMLExport::GetModel(), i, mxNumRuleCompare, RegisterName(), rExport, SAL_WARN_IF, sPrefix, STYLES, and u.
XMLTextListAutoStylePool::~XMLTextListAutoStylePool | ( | ) |
Definition at line 185 of file XMLTextListAutoStylePool.cxx.
OUString XMLTextListAutoStylePool::Add | ( | const css::uno::Reference< css::container::XIndexReplace > & | rNumRules | ) |
Definition at line 221 of file XMLTextListAutoStylePool.cxx.
References Find(), m_aNames, nName, nPos, pPool, sName, and sPrefix.
Referenced by XMLTextParagraphExport::collectTextAutoStylesOptimized().
void XMLTextListAutoStylePool::exportXML | ( | ) | const |
Definition at line 270 of file XMLTextListAutoStylePool.cxx.
References SvxXMLNumRuleExport::exportNumberingRule(), XMLTextListAutoStylePoolEntry_Impl::GetName(), XMLTextListAutoStylePoolEntry_Impl::GetNumRules(), XMLTextListAutoStylePoolEntry_Impl::GetPos(), i, nCount, pPool, rExport, 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 258 of file XMLTextListAutoStylePool.cxx.
|
private |
Definition at line 194 of file XMLTextListAutoStylePool.cxx.
References XMLTextListAutoStylePoolEntry_Impl::GetNumRules(), XMLTextListAutoStylePoolEntry_Impl::IsNamed(), mxNumRuleCompare, nCount, nPos, and pPool.
Referenced by Add(), Find(), and XMLTextNumRuleInfo::Set().
void XMLTextListAutoStylePool::RegisterName | ( | const OUString & | rName | ) |
Definition at line 189 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 |
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().
|
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().