|
LibreOffice Module writerfilter (master) 1
|
#include <OOXMLPropertySet.hxx>
Public Types | |
| enum | Type_t { SPRM , ATTRIBUTE } |
| typedef tools::SvRef< OOXMLProperty > | Pointer_t |
Public Types inherited from writerfilter::Sprm | |
| typedef tools::SvRef< Sprm > | Pointer_t |
Public Member Functions | |
| OOXMLProperty (Id id, OOXMLValue::Pointer_t pValue, Type_t eType) | |
| OOXMLProperty (const OOXMLProperty &rSprm)=delete | |
| virtual | ~OOXMLProperty () override |
| sal_uInt32 | getId () const override |
| Returns id of the SPRM. More... | |
| Value::Pointer_t | getValue () override |
| Returns value of the SPRM. More... | |
| writerfilter::Reference< Properties >::Pointer_t | getProps () override |
| Returns reference to properties contained in the SPRM. More... | |
| std::string | getName () const override |
| Returns name of sprm. More... | |
| std::string | toString () const override |
| Returns string representation of sprm. More... | |
| void | resolve (Properties &rProperties) |
| virtual sal_uInt32 | getId () const =0 |
| Returns id of the SPRM. More... | |
| virtual Value::Pointer_t | getValue ()=0 |
| Returns value of the SPRM. More... | |
| virtual writerfilter::Reference< Properties >::Pointer_t | getProps ()=0 |
| Returns reference to properties contained in the SPRM. More... | |
| virtual std::string | getName () const =0 |
| Returns name of sprm. More... | |
| virtual std::string | toString () const =0 |
| Returns string representation of sprm. More... | |
Public Member Functions inherited from SvRefBase | |
| SvRefBase () | |
| SvRefBase (const SvRefBase &) | |
| SvRefBase & | operator= (const SvRefBase &) |
| void | RestoreNoDelete () |
| void | AddNextRef () |
| void | AddFirstRef () |
| void | ReleaseRef () |
| unsigned int | GetRefCount () const |
Private Attributes | |
| Id | mId |
| OOXMLValue::Pointer_t | mpValue |
| Type_t | meType |
Additional Inherited Members | |
Protected Member Functions inherited from writerfilter::Sprm | |
| ~Sprm () override | |
Protected Member Functions inherited from SvRefBase | |
| virtual | ~SvRefBase () COVERITY_NOEXCEPT_FALSE |
Definition at line 52 of file OOXMLPropertySet.hxx.
Definition at line 55 of file OOXMLPropertySet.hxx.
| Enumerator | |
|---|---|
| SPRM | |
| ATTRIBUTE | |
Definition at line 56 of file OOXMLPropertySet.hxx.
| writerfilter::ooxml::OOXMLProperty::OOXMLProperty | ( | Id | id, |
| OOXMLValue::Pointer_t | pValue, | ||
| OOXMLProperty::Type_t | eType | ||
| ) |
Definition at line 34 of file OOXMLPropertySet.cxx.
|
delete |
|
overridevirtual |
Definition at line 40 of file OOXMLPropertySet.cxx.
|
overridevirtual |
Returns id of the SPRM.
Implements writerfilter::Sprm.
Definition at line 44 of file OOXMLPropertySet.cxx.
References mId.
|
overridevirtual |
Returns name of sprm.
Implements writerfilter::Sprm.
Definition at line 72 of file OOXMLPropertySet.cxx.
References writerfilter::ooxml::fastTokenToId(), mId, and writerfilter::QNameToString().
Referenced by toString().
|
overridevirtual |
Returns reference to properties contained in the SPRM.
Implements writerfilter::Sprm.
Definition at line 61 of file OOXMLPropertySet.cxx.
References mpValue.
|
overridevirtual |
Returns value of the SPRM.
Implements writerfilter::Sprm.
Definition at line 49 of file OOXMLPropertySet.cxx.
References mpValue.
Referenced by resolve().
| void writerfilter::ooxml::OOXMLProperty::resolve | ( | writerfilter::Properties & | rProperties | ) |
Definition at line 108 of file OOXMLPropertySet.cxx.
References writerfilter::Properties::attribute(), ATTRIBUTE, getValue(), meType, mId, writerfilter::Properties::sprm(), and SPRM.
|
overridevirtual |
Returns string representation of sprm.
Implements writerfilter::Sprm.
Definition at line 92 of file OOXMLPropertySet.cxx.
|
private |
Definition at line 65 of file OOXMLPropertySet.hxx.
Referenced by resolve().
|
private |
Definition at line 63 of file OOXMLPropertySet.hxx.
|
mutableprivate |
Definition at line 64 of file OOXMLPropertySet.hxx.
Referenced by getProps(), getValue(), and toString().