20#ifndef INCLUDED_XMLOFF_XMLAUSTP_HXX
21#define INCLUDED_XMLOFF_XMLAUSTP_HXX
25#include <rtl/ustring.hxx>
46namespace xmloff {
struct AutoStyleEntry; }
47namespace rtl {
template <
class reference_type>
class Reference; }
54 std::unique_ptr<SvXMLAutoStylePoolP_Impl>
m_pImpl;
58 virtual void exportStyleAttributes(
61 const ::std::vector< XMLPropertyState >& rProperties,
68 virtual void exportStyleContent(
69 const css::uno::Reference< css::xml::sax::XDocumentHandler > & rHandler,
71 const ::std::vector< XMLPropertyState >& rProperties,
93 const OUString& rStrPrefix,
bool bAsFamily =
true );
105 css::uno::Sequence<sal_Int32>& aFamilies,
106 css::uno::Sequence<OUString>& aNames );
110 css::uno::Sequence<sal_Int32>
const & aFamilies,
111 css::uno::Sequence<OUString>
const & aNames );
115 OUString
Add(
XmlStyleFamily nFamily,
const OUString& rParent, ::std::vector< XMLPropertyState >&& rProperties,
bool bDontSeek =
false );
116 bool Add( OUString& rName,
XmlStyleFamily nFamily,
const OUString& rParent, ::std::vector< XMLPropertyState >&& rProperties );
120 std::vector< XMLPropertyState > aProperties );
123 OUString
Find(
XmlStyleFamily nFamily,
const OUString& rParent, const ::std::vector< XMLPropertyState >& rProperties )
const;
void RegisterDefinedName(XmlStyleFamily nFamily, const OUString &rName)
OUString Find(XmlStyleFamily nFamily, const OUString &rParent, const ::std::vector< XMLPropertyState > &rProperties) 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)
bool AddNamed(const OUString &rName, XmlStyleFamily nFamily, const OUString &rParentName, std::vector< XMLPropertyState > &&rProperties)
SvXMLExport & GetExport() const
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)
std::vector< xmloff::AutoStyleEntry > GetAutoStyleEntries() const
void RegisterName(XmlStyleFamily nFamily, const OUString &rName)
std::unique_ptr< SvXMLAutoStylePoolP_Impl > m_pImpl
OUString Add(XmlStyleFamily nFamily, ::std::vector< XMLPropertyState > &&rProperties)
Add an item set to the pool and return its generated name.
OUString Add(XmlStyleFamily nFamily, const OUString &rParent, ::std::vector< XMLPropertyState > &&rProperties, bool bDontSeek=false)
the SvXMLTypeConverter converts values of various types from their internal representation to the tex...
XMLOFF_DLLPUBLIC void exportXML(OUString const &rStrName, css::uno::Any const &rValue, SvXMLExport &rExport)
Smart struct to transport an Any with an index to the appropriate property-name.