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

#include <OOXMLPropertySet.hxx>

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

Public Member Functions

 OOXMLStringValue (OUString sStr)
 
virtual ~OOXMLStringValue () override
 
 OOXMLStringValue (OOXMLStringValue const &)=default
 
 OOXMLStringValue (OOXMLStringValue &&)=default
 
OOXMLStringValueoperator= (OOXMLStringValue const &)=delete
 
OOXMLStringValueoperator= (OOXMLStringValue &&)=delete
 
virtual css::uno::Any getAny () const override
 Returns representation of the value as uno::Any. More...
 
virtual OUString getString () const override
 Returns string representation of the value. More...
 
virtual std::string toString () const override
 Returns string representation of this value. More...
 
virtual OOXMLValueclone () const override
 
- Public Member Functions inherited from writerfilter::ooxml::OOXMLValue
 OOXMLValue ()
 
virtual ~OOXMLValue () override
 
 OOXMLValue (OOXMLValue const &)=default
 
 OOXMLValue (OOXMLValue &&)=default
 
OOXMLValueoperator= (OOXMLValue const &)=default
 
OOXMLValueoperator= (OOXMLValue &&)=default
 
virtual int getInt () const override
 Returns integer representation of the value. More...
 
virtual OUString getString () const override
 Returns string representation of the value. More...
 
virtual css::uno::Any getAny () const override
 Returns representation of the value as uno::Any. More...
 
virtual writerfilter::Reference< Properties >::Pointer_t getProperties () override
 Returns properties of this value. More...
 
virtual writerfilter::Reference< BinaryObj >::Pointer_t getBinary () override
 Returns binary object of this value. More...
 
virtual std::string toString () const override
 Returns string representation of this value. More...
 
virtual OOXMLValueclone () const
 
virtual int getInt () const =0
 Returns integer representation of the value. More...
 
virtual OUString getString () const =0
 Returns string representation of the value. More...
 
virtual css::uno::Any getAny () const =0
 Returns representation of the value as uno::Any. More...
 
virtual writerfilter::Reference< Properties >::Pointer_t getProperties ()=0
 Returns properties of this value. More...
 
virtual writerfilter::Reference< BinaryObj >::Pointer_t getBinary ()=0
 Returns binary object of this value. More...
 
virtual std::string toString () const =0
 Returns string representation of this value. More...
 
- 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 Attributes

OUString mStr
 

Additional Inherited Members

- Public Types inherited from writerfilter::ooxml::OOXMLValue
typedef tools::SvRef< OOXMLValuePointer_t
 
- Public Types inherited from writerfilter::Value
typedef tools::SvRef< ValuePointer_t
 Pointer to a value. More...
 
- Protected Member Functions inherited from SvRefBase
virtual ~SvRefBase () COVERITY_NOEXCEPT_FALSE
 

Detailed Description

Definition at line 121 of file OOXMLPropertySet.hxx.

Constructor & Destructor Documentation

◆ OOXMLStringValue() [1/3]

writerfilter::ooxml::OOXMLStringValue::OOXMLStringValue ( OUString  sStr)
explicit

Definition at line 262 of file OOXMLPropertySet.cxx.

Referenced by clone().

◆ ~OOXMLStringValue()

writerfilter::ooxml::OOXMLStringValue::~OOXMLStringValue ( )
overridevirtual

Definition at line 267 of file OOXMLPropertySet.cxx.

◆ OOXMLStringValue() [2/3]

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

◆ OOXMLStringValue() [3/3]

writerfilter::ooxml::OOXMLStringValue::OOXMLStringValue ( OOXMLStringValue &&  )
default

Member Function Documentation

◆ clone()

OOXMLValue * writerfilter::ooxml::OOXMLStringValue::clone ( ) const
overridevirtual

Reimplemented from writerfilter::ooxml::OOXMLValue.

Definition at line 288 of file OOXMLPropertySet.cxx.

References OOXMLStringValue().

◆ getAny()

uno::Any writerfilter::ooxml::OOXMLStringValue::getAny ( ) const
overridevirtual

Returns representation of the value as uno::Any.

Reimplemented from writerfilter::ooxml::OOXMLValue.

Definition at line 271 of file OOXMLPropertySet.cxx.

References mStr.

◆ getString()

OUString writerfilter::ooxml::OOXMLStringValue::getString ( ) const
overridevirtual

Returns string representation of the value.

Reimplemented from writerfilter::ooxml::OOXMLValue.

Definition at line 276 of file OOXMLPropertySet.cxx.

References mStr.

◆ operator=() [1/2]

OOXMLStringValue & writerfilter::ooxml::OOXMLStringValue::operator= ( OOXMLStringValue &&  )
delete

◆ operator=() [2/2]

OOXMLStringValue & writerfilter::ooxml::OOXMLStringValue::operator= ( OOXMLStringValue const &  )
delete

◆ toString()

std::string writerfilter::ooxml::OOXMLStringValue::toString ( ) const
overridevirtual

Returns string representation of this value.

Reimplemented from writerfilter::ooxml::OOXMLValue.

Definition at line 282 of file OOXMLPropertySet.cxx.

References mStr, and OUStringToOString().

Member Data Documentation

◆ mStr

OUString writerfilter::ooxml::OOXMLStringValue::mStr
private

Definition at line 123 of file OOXMLPropertySet.hxx.

Referenced by getAny(), getString(), and toString().


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