20 #ifndef INCLUDED_XMLOFF_SOURCE_STYLE_IMPASTPL_HXX
21 #define INCLUDED_XMLOFF_SOURCE_STYLE_IMPASTPL_HXX
24 #include <rtl/ustring.hxx>
25 #include <rtl/ref.hxx>
59 void SetName(
const OUString& rNew ) { msName = rNew; }
81 bool Add(
XMLAutoStyleFamily& rFamilyData, const ::std::vector< XMLPropertyState >& rProperties, OUString& rName,
bool bDontSeek );
85 OUString
Find(
const XMLAutoStyleFamily& rFamilyData, const ::std::vector< XMLPropertyState >& rProperties )
const;
101 typedef std::set<std::unique_ptr<XMLAutoStylePoolParent>,
118 const OUString& rStrPrefix,
bool bAsFamily );
135 typedef std::set<std::unique_ptr<XMLAutoStyleFamily>,
150 const OUString& rStrPrefix,
bool bAsFamily );
156 css::uno::Sequence<sal_Int32>& aFamilies,
157 css::uno::Sequence<OUString>& aNames );
161 const OUString& rParentName,
162 const ::std::vector< XMLPropertyState >& rProperties,
163 bool bDontSeek =
false );
167 const OUString& rParentName,
168 const ::std::vector< XMLPropertyState >& rProperties );
171 const ::std::vector< XMLPropertyState >& rProperties )
const;
void SetName(const OUString &rNew)
SvXMLExport & GetExport() const
~XMLAutoStylePoolParent()
std::vector< xmloff::AutoStyleEntry > GetAutoStyleEntries() const
~SvXMLAutoStylePoolP_Impl()
sal_uInt32 GetPos() const
const OUString & GetParent() const
ParentSetType m_ParentSet
FamilySetType m_FamilySet
OUString Find(XmlStyleFamily nFamily, const OUString &rParent, const ::std::vector< XMLPropertyState > &rProperties) const
void exportXML(XmlStyleFamily nFamily, const SvXMLAutoStylePoolP *pAntiImpl) const
XMLAutoStylePoolParent(const OUString &rParent)
bool AddNamed(XMLAutoStyleFamily &rFamilyData, const ::std::vector< XMLPropertyState > &rProperties, const OUString &rName)
std::set< OUString > maNameSet
void GetRegisteredNames(css::uno::Sequence< sal_Int32 > &aFamilies, css::uno::Sequence< OUString > &aNames)
bool AddNamed(const OUString &rName, XmlStyleFamily nFamily, const OUString &rParentName, const ::std::vector< XMLPropertyState > &rProperties)
bool Add(XMLAutoStyleFamily &rFamilyData, const ::std::vector< XMLPropertyState > &rProperties, OUString &rName, bool bDontSeek)
::std::vector< XMLPropertyState > maProperties
std::vector< std::unique_ptr< XMLAutoStylePoolProperties > > PropertiesListType
SvXMLAutoStylePoolP_Impl(SvXMLExport &rExport)
bool Add(OUString &rName, XmlStyleFamily nFamily, const OUString &rParentName, const ::std::vector< XMLPropertyState > &rProperties, bool bDontSeek=false)
std::set< std::unique_ptr< XMLAutoStyleFamily >, comphelper::UniquePtrValueLess< XMLAutoStyleFamily > > FamilySetType
void AddFamily(XmlStyleFamily nFamily, const OUString &rStrName, const rtl::Reference< SvXMLExportPropertyMapper > &rMapper, const OUString &rStrPrefix, bool bAsFamily)
friend bool operator<(const XMLAutoStyleFamily &r1, const XMLAutoStyleFamily &r2)
PropertiesListType & GetPropertiesList()
void RegisterDefinedName(XmlStyleFamily nFamily, const OUString &rName)
XMLAutoStylePoolProperties(XMLAutoStyleFamily &rFamilyData, const ::std::vector< XMLPropertyState > &rProperties, OUString const &rParentname)
void RegisterName(XmlStyleFamily nFamily, const OUString &rName)
const ::std::vector< XMLPropertyState > & GetProperties() const
PropertiesListType m_PropertiesList
rtl::Reference< SvXMLExportPropertyMapper > mxMapper
const OUString & GetName() const
XMLAutoStyleFamily & operator=(const XMLAutoStyleFamily &)=delete
std::set< OUString > maReservedNameSet
std::set< std::unique_ptr< XMLAutoStylePoolParent >, comphelper::UniquePtrValueLess< XMLAutoStylePoolParent > > ParentSetType
void SetFamilyPropSetMapper(XmlStyleFamily nFamily, const rtl::Reference< SvXMLExportPropertyMapper > &rMapper)
bool operator<(const XMLAutoStylePoolParent &rOther) const
XMLAutoStyleFamily(XmlStyleFamily nFamily, const OUString &rStrName, const rtl::Reference< SvXMLExportPropertyMapper > &rMapper, const OUString &rStrPrefix, bool bAsFamily)
OUString Find(const XMLAutoStyleFamily &rFamilyData, const ::std::vector< XMLPropertyState > &rProperties) const