LibreOffice Module writerfilter (master) 1
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
writerfilter::ooxml::OOXMLPropertySet Class Referencefinal

#include <OOXMLPropertySet.hxx>

Inheritance diagram for writerfilter::ooxml::OOXMLPropertySet:
[legend]
Collaboration diagram for writerfilter::ooxml::OOXMLPropertySet:
[legend]

Public Types

typedef std::vector< OOXMLProperty::Pointer_tOOXMLProperties_t
 
typedef tools::SvRef< OOXMLPropertySetPointer_t
 
- Public Types inherited from writerfilter::Reference< Properties >
typedef tools::SvRef< Reference< Properties > > Pointer_t
 Pointer to reference. More...
 

Public Member Functions

 OOXMLPropertySet ()
 class OOXMLPropertySet More...
 
virtual ~OOXMLPropertySet () override
 
 OOXMLPropertySet (OOXMLPropertySet const &)=default
 
 OOXMLPropertySet (OOXMLPropertySet &&)=default
 
OOXMLPropertySetoperator= (OOXMLPropertySet const &)=default
 
OOXMLPropertySetoperator= (OOXMLPropertySet &&)=default
 
void resolve (Properties &rHandler) override
 Resolves the reference. More...
 
void add (Id id, const OOXMLValue::Pointer_t &pValue, OOXMLProperty::Type_t eType)
 
void add (const OOXMLPropertySet::Pointer_t &pPropertySet)
 
OOXMLPropertySetclone () const
 
OOXMLProperties_t::iterator begin ()
 
OOXMLProperties_t::iterator end ()
 
OOXMLProperties_t::const_iterator begin () const
 
OOXMLProperties_t::const_iterator end () const
 
std::string toString ()
 
- Public Member Functions inherited from writerfilter::Reference< Properties >
virtual void resolve (Properties &rHandler)=0
 Resolves the reference. More...
 
 Reference ()=default
 
 Reference (Reference const &)=default
 
 Reference (Reference &&)=default
 
Referenceoperator= (Reference const &)=default
 
Referenceoperator= (Reference &&)=default
 
- Public Member Functions inherited from SvRefBase
 SvRefBase ()
 
 SvRefBase (const SvRefBase &)
 
SvRefBaseoperator= (const SvRefBase &)
 
void RestoreNoDelete ()
 
void AddNextRef ()
 
void AddFirstRef ()
 
void ReleaseRef ()
 
unsigned int GetRefCount () const
 

Private Member Functions

void add (const OOXMLProperty::Pointer_t &pProperty)
 

Private Attributes

OOXMLProperties_t mProperties
 

Additional Inherited Members

- Protected Member Functions inherited from writerfilter::Reference< Properties >
 ~Reference () override
 
- Protected Member Functions inherited from SvRefBase
virtual ~SvRefBase () COVERITY_NOEXCEPT_FALSE
 

Detailed Description

Definition at line 157 of file OOXMLPropertySet.hxx.

Member Typedef Documentation

◆ OOXMLProperties_t

Definition at line 160 of file OOXMLPropertySet.hxx.

◆ Pointer_t

Definition at line 161 of file OOXMLPropertySet.hxx.

Constructor & Destructor Documentation

◆ OOXMLPropertySet() [1/3]

writerfilter::ooxml::OOXMLPropertySet::OOXMLPropertySet ( )

class OOXMLPropertySet

Definition at line 326 of file OOXMLPropertySet.cxx.

Referenced by clone().

◆ ~OOXMLPropertySet()

writerfilter::ooxml::OOXMLPropertySet::~OOXMLPropertySet ( )
overridevirtual

Definition at line 330 of file OOXMLPropertySet.cxx.

◆ OOXMLPropertySet() [2/3]

writerfilter::ooxml::OOXMLPropertySet::OOXMLPropertySet ( OOXMLPropertySet const &  )
default

◆ OOXMLPropertySet() [3/3]

writerfilter::ooxml::OOXMLPropertySet::OOXMLPropertySet ( OOXMLPropertySet &&  )
default

Member Function Documentation

◆ add() [1/3]

void writerfilter::ooxml::OOXMLPropertySet::add ( const OOXMLProperty::Pointer_t pProperty)
private

Definition at line 371 of file OOXMLPropertySet.cxx.

References mProperties.

Referenced by add(), and writerfilter::ooxml::OOXMLDocumentImpl::getPicturePropSet().

◆ add() [2/3]

void writerfilter::ooxml::OOXMLPropertySet::add ( const OOXMLPropertySet::Pointer_t pPropertySet)

Definition at line 385 of file OOXMLPropertySet.cxx.

References tools::SvRef< typename T >::get(), and mProperties.

◆ add() [3/3]

void writerfilter::ooxml::OOXMLPropertySet::add ( Id  id,
const OOXMLValue::Pointer_t pValue,
OOXMLProperty::Type_t  eType 
)

Definition at line 379 of file OOXMLPropertySet.cxx.

References add(), and eType.

◆ begin() [1/2]

OOXMLPropertySet::OOXMLProperties_t::iterator writerfilter::ooxml::OOXMLPropertySet::begin ( )

Definition at line 349 of file OOXMLPropertySet.cxx.

References mProperties.

Referenced by toString().

◆ begin() [2/2]

OOXMLPropertySet::OOXMLProperties_t::const_iterator writerfilter::ooxml::OOXMLPropertySet::begin ( ) const

Definition at line 360 of file OOXMLPropertySet.cxx.

References mProperties.

◆ clone()

OOXMLPropertySet * writerfilter::ooxml::OOXMLPropertySet::clone ( ) const

Definition at line 395 of file OOXMLPropertySet.cxx.

References OOXMLPropertySet().

◆ end() [1/2]

OOXMLPropertySet::OOXMLProperties_t::iterator writerfilter::ooxml::OOXMLPropertySet::end ( )

Definition at line 354 of file OOXMLPropertySet.cxx.

References mProperties.

Referenced by toString().

◆ end() [2/2]

OOXMLPropertySet::OOXMLProperties_t::const_iterator writerfilter::ooxml::OOXMLPropertySet::end ( ) const

Definition at line 366 of file OOXMLPropertySet.cxx.

References mProperties.

◆ operator=() [1/2]

OOXMLPropertySet & writerfilter::ooxml::OOXMLPropertySet::operator= ( OOXMLPropertySet &&  )
default

◆ operator=() [2/2]

OOXMLPropertySet & writerfilter::ooxml::OOXMLPropertySet::operator= ( OOXMLPropertySet const &  )
default

◆ resolve()

void writerfilter::ooxml::OOXMLPropertySet::resolve ( Properties rHandler)
overridevirtual

Resolves the reference.

The events of the references target resource are generated and send to a handler.

Parameters
rHandlerhandler which receives the events

Implements writerfilter::Reference< Properties >.

Definition at line 334 of file OOXMLPropertySet.cxx.

References mProperties.

◆ toString()

std::string writerfilter::ooxml::OOXMLPropertySet::toString ( )

Definition at line 401 of file OOXMLPropertySet.cxx.

References begin(), and end().

Member Data Documentation

◆ mProperties

OOXMLProperties_t writerfilter::ooxml::OOXMLPropertySet::mProperties
private

Definition at line 164 of file OOXMLPropertySet.hxx.

Referenced by add(), begin(), end(), and resolve().


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