LibreOffice Module xmloff (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SchXMLAutoStylePoolP Class Referencefinal

#include <SchXMLAutoStylePoolP.hxx>

Inheritance diagram for SchXMLAutoStylePoolP:
[legend]
Collaboration diagram for SchXMLAutoStylePoolP:
[legend]

Public Member Functions

 SchXMLAutoStylePoolP (SchXMLExport &rSchXMLExport)
 
virtual ~SchXMLAutoStylePoolP () override
 
- Public Member Functions inherited from SvXMLAutoStylePoolP
 SvXMLAutoStylePoolP (SvXMLExport &rExport)
 
virtual ~SvXMLAutoStylePoolP () override
 
SvXMLExportGetExport () const
 
void AddFamily (XmlStyleFamily nFamily, const OUString &rStrName, SvXMLExportPropertyMapper *pMapper, const OUString &aStrPrefix)
 register a new family with its appropriate instance of a derivation of XMLPropertySetMapper for family numbers see families.hxx More...
 
void AddFamily (XmlStyleFamily nFamily, const OUString &rStrName, const rtl::Reference< SvXMLExportPropertyMapper > &rMapper, const OUString &rStrPrefix, bool bAsFamily=true)
 
void SetFamilyPropSetMapper (XmlStyleFamily nFamily, const rtl::Reference< SvXMLExportPropertyMapper > &rMapper)
 
void RegisterName (XmlStyleFamily nFamily, const OUString &rName)
 Register a name that must not be used as a generated name. More...
 
void RegisterDefinedName (XmlStyleFamily nFamily, const OUString &rName)
 Register a name that may only be used through AddNamed. More...
 
void GetRegisteredNames (css::uno::Sequence< sal_Int32 > &aFamilies, css::uno::Sequence< OUString > &aNames)
 retrieve the registered names (names + families) More...
 
void RegisterNames (css::uno::Sequence< sal_Int32 > const &aFamilies, css::uno::Sequence< OUString > const &aNames)
 register (families + names) More...
 
OUString Add (XmlStyleFamily nFamily, ::std::vector< XMLPropertyState > &&rProperties)
 Add an item set to the pool and return its generated name. More...
 
OUString Add (XmlStyleFamily nFamily, const OUString &rParent, ::std::vector< XMLPropertyState > &&rProperties, bool bDontSeek=false)
 
bool Add (OUString &rName, XmlStyleFamily nFamily, const OUString &rParent, ::std::vector< XMLPropertyState > &&rProperties)
 
bool AddNamed (const OUString &rName, XmlStyleFamily nFamily, const OUString &rParent, std::vector< XMLPropertyState > aProperties)
 Add an item set with a pre-defined name (needed for saving sheets separately in Calc). More...
 
OUString Find (XmlStyleFamily nFamily, const OUString &rParent, const ::std::vector< XMLPropertyState > &rProperties) const
 Find an item set's name. More...
 
void exportXML (XmlStyleFamily nFamily) const
 Export all item sets ofs a certain class in the order in that they have been added. More...
 
void ClearEntries ()
 
std::vector< xmloff::AutoStyleEntryGetAutoStyleEntries () const
 
- Public Member Functions inherited from salhelper::SimpleReferenceObject
 SimpleReferenceObject ()
 
void acquire ()
 
void release ()
 

Private Member Functions

virtual void exportStyleAttributes (comphelper::AttributeList &rAttrList, XmlStyleFamily nFamily, const ::std::vector< XMLPropertyState > &rProperties, const SvXMLExportPropertyMapper &rPropExp, const SvXMLUnitConverter &rUnitConverter, const SvXMLNamespaceMap &rNamespaceMap) const override
 

Private Attributes

SchXMLExportmrSchXMLExport
 

Additional Inherited Members

- Static Public Member Functions inherited from salhelper::SimpleReferenceObject
static void * operator new (std::size_t nSize)
 
static void * operator new (std::size_t nSize, std::nothrow_t const &rNothrow)
 
static void operator delete (void *pPtr)
 
static void operator delete (void *pPtr, std::nothrow_t const &rNothrow)
 
- Protected Member Functions inherited from SvXMLAutoStylePoolP
virtual void exportStyleAttributes (comphelper::AttributeList &rAttrList, XmlStyleFamily nFamily, const ::std::vector< XMLPropertyState > &rProperties, const SvXMLExportPropertyMapper &rPropExp, const SvXMLUnitConverter &rUnitConverter, const SvXMLNamespaceMap &rNamespaceMap) const
 
virtual void exportStyleContent (const css::uno::Reference< css::xml::sax::XDocumentHandler > &rHandler, XmlStyleFamily nFamily, const ::std::vector< XMLPropertyState > &rProperties, const SvXMLExportPropertyMapper &rPropExp, const SvXMLUnitConverter &rUnitConverter, const SvXMLNamespaceMap &rNamespaceMap) const
 
- Protected Member Functions inherited from salhelper::SimpleReferenceObject
virtual ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE
 
- Protected Attributes inherited from salhelper::SimpleReferenceObject
oslInterlockedCount m_nCount
 

Detailed Description

Definition at line 25 of file SchXMLAutoStylePoolP.hxx.

Constructor & Destructor Documentation

◆ SchXMLAutoStylePoolP()

SchXMLAutoStylePoolP::SchXMLAutoStylePoolP ( SchXMLExport rSchXMLExport)
explicit

Definition at line 27 of file SchXMLAutoStylePoolP.cxx.

◆ ~SchXMLAutoStylePoolP()

SchXMLAutoStylePoolP::~SchXMLAutoStylePoolP ( )
overridevirtual

Definition at line 32 of file SchXMLAutoStylePoolP.cxx.

Member Function Documentation

◆ exportStyleAttributes()

void SchXMLAutoStylePoolP::exportStyleAttributes ( comphelper::AttributeList rAttrList,
XmlStyleFamily  nFamily,
const ::std::vector< XMLPropertyState > &  rProperties,
const SvXMLExportPropertyMapper rPropExp,
const SvXMLUnitConverter rUnitConverter,
const SvXMLNamespaceMap rNamespaceMap 
) const
overrideprivatevirtual

Member Data Documentation

◆ mrSchXMLExport

SchXMLExport& SchXMLAutoStylePoolP::mrSchXMLExport
private

Definition at line 27 of file SchXMLAutoStylePoolP.hxx.

Referenced by exportStyleAttributes().


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