LibreOffice Module xmloff (master)
1
|
#include <impastpl.hxx>
Public Member Functions | |
SvXMLAutoStylePoolP_Impl (SvXMLExport &rExport) | |
~SvXMLAutoStylePoolP_Impl () | |
SvXMLExport & | GetExport () const |
void | AddFamily (XmlStyleFamily nFamily, const OUString &rStrName, const rtl::Reference< SvXMLExportPropertyMapper > &rMapper, const OUString &rStrPrefix, bool bAsFamily) |
void | SetFamilyPropSetMapper (XmlStyleFamily nFamily, const rtl::Reference< SvXMLExportPropertyMapper > &rMapper) |
void | RegisterName (XmlStyleFamily nFamily, const OUString &rName) |
void | RegisterDefinedName (XmlStyleFamily nFamily, const OUString &rName) |
void | GetRegisteredNames (css::uno::Sequence< sal_Int32 > &aFamilies, css::uno::Sequence< OUString > &aNames) |
bool | Add (OUString &rName, XmlStyleFamily nFamily, const OUString &rParentName, std::vector< XMLPropertyState > &&rProperties, bool bDontSeek=false) |
bool | AddNamed (const OUString &rName, XmlStyleFamily nFamily, const OUString &rParentName, std::vector< XMLPropertyState > &&rProperties) |
OUString | Find (XmlStyleFamily nFamily, const OUString &rParent, const ::std::vector< XMLPropertyState > &rProperties) const |
void | exportXML (XmlStyleFamily nFamily, const SvXMLAutoStylePoolP *pAntiImpl) const |
void | ClearEntries () |
std::vector< xmloff::AutoStyleEntry > | GetAutoStyleEntries () const |
Private Types | |
typedef std::set< std::unique_ptr< XMLAutoStyleFamily >, comphelper::UniquePtrValueLess< XMLAutoStyleFamily > > | FamilySetType |
Private Attributes | |
SvXMLExport & | rExport |
FamilySetType | m_FamilySet |
Definition at line 131 of file impastpl.hxx.
|
private |
Definition at line 135 of file impastpl.hxx.
|
explicit |
Definition at line 341 of file impastpl.cxx.
SvXMLAutoStylePoolP_Impl::~SvXMLAutoStylePoolP_Impl | ( | ) |
Definition at line 346 of file impastpl.cxx.
bool SvXMLAutoStylePoolP_Impl::Add | ( | OUString & | rName, |
XmlStyleFamily | nFamily, | ||
const OUString & | rParentName, | ||
std::vector< XMLPropertyState > && | rProperties, | ||
bool | bDontSeek = false |
||
) |
Definition at line 453 of file impastpl.cxx.
References XMLAutoStylePoolParent::Add(), m_FamilySet, and XMLAutoStyleFamily::m_ParentSet.
void SvXMLAutoStylePoolP_Impl::AddFamily | ( | XmlStyleFamily | nFamily, |
const OUString & | rStrName, | ||
const rtl::Reference< SvXMLExportPropertyMapper > & | rMapper, | ||
const OUString & | rStrPrefix, | ||
bool | bAsFamily | ||
) |
Definition at line 352 of file impastpl.cxx.
References CONTENT, GetExport(), SvXMLExport::getExportFlags(), m_FamilySet, name, SAL_WARN_IF, and STYLES.
bool SvXMLAutoStylePoolP_Impl::AddNamed | ( | const OUString & | rName, |
XmlStyleFamily | nFamily, | ||
const OUString & | rParentName, | ||
std::vector< XMLPropertyState > && | rProperties | ||
) |
Definition at line 477 of file impastpl.cxx.
References XMLAutoStylePoolParent::AddNamed(), m_FamilySet, and XMLAutoStyleFamily::m_ParentSet.
void SvXMLAutoStylePoolP_Impl::ClearEntries | ( | ) |
Definition at line 710 of file impastpl.cxx.
References m_FamilySet.
void SvXMLAutoStylePoolP_Impl::exportXML | ( | XmlStyleFamily | nFamily, |
const SvXMLAutoStylePoolP * | pAntiImpl | ||
) | const |
Definition at line 576 of file impastpl.cxx.
References SvXMLExport::AddAttribute(), CTF_PM_FLAGMASK, SvXMLAutoStylePoolP::exportStyleAttributes(), SvXMLAutoStylePoolP::exportStyleContent(), GetExport(), SvXMLExport::GetMM100UnitConverter(), SvXMLExport::GetNamespaceMap(), XMLAutoStylePoolParent::GetParent(), XMLAutoStylePoolProperties::GetPos(), XMLAutoStylePoolParent::GetPropertiesList(), xmloff::token::GetXMLToken(), i, IGN_WS, m_FamilySet, mpParent, nCount, newName(), nIndex, nPos, nProperties, PAGE_MASTER, sName, xmloff::token::XML_FAMILY, xmloff::token::XML_NAME, XML_NAMESPACE_STYLE, xmloff::token::XML_PARENT_STYLE_NAME, XML_PM_CTF_START, and xmloff::token::XML_STYLE.
OUString SvXMLAutoStylePoolP_Impl::Find | ( | XmlStyleFamily | nFamily, |
const OUString & | rParent, | ||
const ::std::vector< XMLPropertyState > & | rProperties | ||
) | const |
Definition at line 507 of file impastpl.cxx.
References m_FamilySet, and sName.
std::vector< xmloff::AutoStyleEntry > SvXMLAutoStylePoolP_Impl::GetAutoStyleEntries | ( | ) | const |
Definition at line 528 of file impastpl.cxx.
References xmloff::AutoStyleEntry::m_aXmlProperties, and m_FamilySet.
|
inline |
Definition at line 145 of file impastpl.hxx.
References rExport.
Referenced by AddFamily(), and exportXML().
void SvXMLAutoStylePoolP_Impl::GetRegisteredNames | ( | css::uno::Sequence< sal_Int32 > & | aFamilies, |
css::uno::Sequence< OUString > & | aNames | ||
) |
Definition at line 419 of file impastpl.cxx.
References m_FamilySet, XMLAutoStyleFamily::maNameSet, and XMLAutoStyleFamily::mnFamily.
void SvXMLAutoStylePoolP_Impl::RegisterDefinedName | ( | XmlStyleFamily | nFamily, |
const OUString & | rName | ||
) |
Definition at line 407 of file impastpl.cxx.
References m_FamilySet.
void SvXMLAutoStylePoolP_Impl::RegisterName | ( | XmlStyleFamily | nFamily, |
const OUString & | rName | ||
) |
Definition at line 398 of file impastpl.cxx.
References m_FamilySet.
void SvXMLAutoStylePoolP_Impl::SetFamilyPropSetMapper | ( | XmlStyleFamily | nFamily, |
const rtl::Reference< SvXMLExportPropertyMapper > & | rMapper | ||
) |
Definition at line 387 of file impastpl.cxx.
References m_FamilySet.
|
private |
Definition at line 138 of file impastpl.hxx.
Referenced by Add(), AddFamily(), AddNamed(), ClearEntries(), exportXML(), Find(), GetAutoStyleEntries(), GetRegisteredNames(), RegisterDefinedName(), RegisterName(), and SetFamilyPropSetMapper().
|
private |
Definition at line 137 of file impastpl.hxx.
Referenced by GetExport().