LibreOffice Module xmloff (master)  1
Public Member Functions | Private Types | Private Attributes | List of all members
SvXMLAutoStylePoolP_Impl Class Reference

#include <impastpl.hxx>

Collaboration diagram for SvXMLAutoStylePoolP_Impl:
[legend]

Public Member Functions

 SvXMLAutoStylePoolP_Impl (SvXMLExport &rExport)
 
 ~SvXMLAutoStylePoolP_Impl ()
 
SvXMLExportGetExport () 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, const ::std::vector< XMLPropertyState > &rProperties, bool bDontSeek=false)
 
bool AddNamed (const OUString &rName, XmlStyleFamily nFamily, const OUString &rParentName, const ::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::AutoStyleEntryGetAutoStyleEntries () const
 

Private Types

typedef std::set< std::unique_ptr< XMLAutoStyleFamily >, comphelper::UniquePtrValueLess< XMLAutoStyleFamily > > FamilySetType
 

Private Attributes

SvXMLExportrExport
 
FamilySetType m_FamilySet
 

Detailed Description

Definition at line 132 of file impastpl.hxx.

Member Typedef Documentation

Definition at line 136 of file impastpl.hxx.

Constructor & Destructor Documentation

SvXMLAutoStylePoolP_Impl::SvXMLAutoStylePoolP_Impl ( SvXMLExport rExport)
explicit

Definition at line 341 of file impastpl.cxx.

SvXMLAutoStylePoolP_Impl::~SvXMLAutoStylePoolP_Impl ( )

Definition at line 346 of file impastpl.cxx.

Member Function Documentation

bool SvXMLAutoStylePoolP_Impl::Add ( OUString &  rName,
XmlStyleFamily  nFamily,
const OUString &  rParentName,
const ::std::vector< XMLPropertyState > &  rProperties,
bool  bDontSeek = false 
)
void SvXMLAutoStylePoolP_Impl::AddFamily ( XmlStyleFamily  nFamily,
const OUString &  rStrName,
const rtl::Reference< SvXMLExportPropertyMapper > &  rMapper,
const OUString &  rStrPrefix,
bool  bAsFamily 
)
bool SvXMLAutoStylePoolP_Impl::AddNamed ( const OUString &  rName,
XmlStyleFamily  nFamily,
const OUString &  rParentName,
const ::std::vector< XMLPropertyState > &  rProperties 
)
void SvXMLAutoStylePoolP_Impl::ClearEntries ( )

Definition at line 712 of file impastpl.cxx.

References m_FamilySet.

void SvXMLAutoStylePoolP_Impl::exportXML ( XmlStyleFamily  nFamily,
const SvXMLAutoStylePoolP pAntiImpl 
) const
OUString SvXMLAutoStylePoolP_Impl::Find ( XmlStyleFamily  nFamily,
const OUString &  rParent,
const ::std::vector< XMLPropertyState > &  rProperties 
) const

Definition at line 508 of file impastpl.cxx.

References assert(), m_FamilySet, and sName.

std::vector< xmloff::AutoStyleEntry > SvXMLAutoStylePoolP_Impl::GetAutoStyleEntries ( ) const

Definition at line 529 of file impastpl.cxx.

References xmloff::AutoStyleEntry::m_aXmlProperties, and m_FamilySet.

SvXMLExport& SvXMLAutoStylePoolP_Impl::GetExport ( ) const
inline

Definition at line 146 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 
)
void SvXMLAutoStylePoolP_Impl::RegisterDefinedName ( XmlStyleFamily  nFamily,
const OUString &  rName 
)

Definition at line 408 of file impastpl.cxx.

References assert(), and m_FamilySet.

void SvXMLAutoStylePoolP_Impl::RegisterName ( XmlStyleFamily  nFamily,
const OUString &  rName 
)

Definition at line 398 of file impastpl.cxx.

References assert(), and m_FamilySet.

void SvXMLAutoStylePoolP_Impl::SetFamilyPropSetMapper ( XmlStyleFamily  nFamily,
const rtl::Reference< SvXMLExportPropertyMapper > &  rMapper 
)

Definition at line 387 of file impastpl.cxx.

References m_FamilySet.

Member Data Documentation

FamilySetType SvXMLAutoStylePoolP_Impl::m_FamilySet
private
SvXMLExport& SvXMLAutoStylePoolP_Impl::rExport
private

Definition at line 138 of file impastpl.hxx.

Referenced by GetExport().


The documentation for this class was generated from the following files: