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< XMLAutoStyleFamily > | FamilySetType |
Private Attributes | |
SvXMLExport & | rExport |
FamilySetType | m_FamilySet |
Definition at line 128 of file impastpl.hxx.
|
private |
Definition at line 131 of file impastpl.hxx.
|
explicit |
Definition at line 329 of file impastpl.cxx.
SvXMLAutoStylePoolP_Impl::~SvXMLAutoStylePoolP_Impl | ( | ) |
Definition at line 334 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 439 of file impastpl.cxx.
References XMLAutoStylePoolParent::Add(), m_FamilySet, XMLAutoStyleFamily::m_ParentSet, and XMLAutoStyleFamily::mnCount.
void SvXMLAutoStylePoolP_Impl::AddFamily | ( | XmlStyleFamily | nFamily, |
const OUString & | rStrName, | ||
const rtl::Reference< SvXMLExportPropertyMapper > & | rMapper, | ||
const OUString & | rStrPrefix, | ||
bool | bAsFamily | ||
) |
Definition at line 340 of file impastpl.cxx.
References CONTENT, GetExport(), SvXMLExport::getExportFlags(), m_FamilySet, SAL_WARN_IF, and STYLES.
bool SvXMLAutoStylePoolP_Impl::AddNamed | ( | const OUString & | rName, |
XmlStyleFamily | nFamily, | ||
const OUString & | rParentName, | ||
std::vector< XMLPropertyState > && | rProperties | ||
) |
Definition at line 462 of file impastpl.cxx.
References XMLAutoStylePoolParent::AddNamed(), m_FamilySet, XMLAutoStyleFamily::m_ParentSet, and XMLAutoStyleFamily::mnCount.
void SvXMLAutoStylePoolP_Impl::ClearEntries | ( | ) |
Definition at line 693 of file impastpl.cxx.
References ClearEntries(), and m_FamilySet.
Referenced by ClearEntries().
void SvXMLAutoStylePoolP_Impl::exportXML | ( | XmlStyleFamily | nFamily, |
const SvXMLAutoStylePoolP * | pAntiImpl | ||
) | const |
Definition at line 560 of file impastpl.cxx.
References SvXMLExport::AddAttribute(), CTF_PM_FLAGMASK, SvXMLAutoStylePoolP::exportStyleAttributes(), SvXMLAutoStylePoolP::exportStyleContent(), GetExport(), XMLAutoStylePoolParent::GetParent(), XMLAutoStylePoolProperties::GetPos(), XMLAutoStylePoolParent::GetPropertiesList(), xmloff::token::GetXMLToken(), i, IGN_WS, m_FamilySet, XMLAutoStyleFamily::m_ParentSet, XMLAutoStyleFamily::maStrFamilyName, XMLAutoStyleFamily::mbAsFamily, XMLAutoStyleFamily::mnCount, mpParent, XMLAutoStyleFamily::mxMapper, 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 491 of file impastpl.cxx.
References m_FamilySet, XMLAutoStyleFamily::m_ParentSet, and sName.
std::vector< xmloff::AutoStyleEntry > SvXMLAutoStylePoolP_Impl::GetAutoStyleEntries | ( | ) | const |
Definition at line 512 of file impastpl.cxx.
References XMLAutoStylePoolParent::GetPropertiesList(), xmloff::AutoStyleEntry::m_aXmlProperties, and m_FamilySet.
|
inline |
Definition at line 141 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 407 of file impastpl.cxx.
References m_FamilySet.
void SvXMLAutoStylePoolP_Impl::RegisterDefinedName | ( | XmlStyleFamily | nFamily, |
const OUString & | rName | ||
) |
Definition at line 395 of file impastpl.cxx.
References m_FamilySet, and XMLAutoStyleFamily::maReservedNameSet.
void SvXMLAutoStylePoolP_Impl::RegisterName | ( | XmlStyleFamily | nFamily, |
const OUString & | rName | ||
) |
Definition at line 386 of file impastpl.cxx.
References m_FamilySet, and XMLAutoStyleFamily::maNameSet.
void SvXMLAutoStylePoolP_Impl::SetFamilyPropSetMapper | ( | XmlStyleFamily | nFamily, |
const rtl::Reference< SvXMLExportPropertyMapper > & | rMapper | ||
) |
Definition at line 375 of file impastpl.cxx.
References m_FamilySet, and XMLAutoStyleFamily::mxMapper.
|
private |
Definition at line 134 of file impastpl.hxx.
Referenced by Add(), AddFamily(), AddNamed(), ClearEntries(), exportXML(), Find(), GetAutoStyleEntries(), GetRegisteredNames(), RegisterDefinedName(), RegisterName(), and SetFamilyPropSetMapper().
|
private |
Definition at line 133 of file impastpl.hxx.
Referenced by GetExport().