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

#include <OOXMLPropertySet.hxx>

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

Public Member Functions

 OOXMLMeasurementOrPercentValue (std::string_view pValue)
 
virtual int getInt () const override
 Returns integer representation of the value. More...
 
virtual OOXMLValueclone () const override
 
virtual std::string toString () const override
 Returns string representation of this value. More...
 
- 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

int mnValue
 

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 323 of file OOXMLPropertySet.hxx.

Constructor & Destructor Documentation

◆ OOXMLMeasurementOrPercentValue()

writerfilter::ooxml::OOXMLMeasurementOrPercentValue::OOXMLMeasurementOrPercentValue ( std::string_view  pValue)
explicit

Definition at line 659 of file OOXMLPropertySet.cxx.

References mnValue, and o3tl::toDouble().

Referenced by clone().

Member Function Documentation

◆ clone()

virtual OOXMLValue * writerfilter::ooxml::OOXMLMeasurementOrPercentValue::clone ( ) const
inlineoverridevirtual

Reimplemented from writerfilter::ooxml::OOXMLValue.

Definition at line 331 of file OOXMLPropertySet.hxx.

References OOXMLMeasurementOrPercentValue().

◆ getInt()

int writerfilter::ooxml::OOXMLMeasurementOrPercentValue::getInt ( ) const
overridevirtual

Returns integer representation of the value.

Reimplemented from writerfilter::ooxml::OOXMLValue.

Definition at line 675 of file OOXMLPropertySet.cxx.

References mnValue.

◆ toString()

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

Returns string representation of this value.

Reimplemented from writerfilter::ooxml::OOXMLValue.

Definition at line 681 of file OOXMLPropertySet.cxx.

References mnValue.

Member Data Documentation

◆ mnValue

int writerfilter::ooxml::OOXMLMeasurementOrPercentValue::mnValue
private

Definition at line 325 of file OOXMLPropertySet.hxx.

Referenced by getInt(), OOXMLMeasurementOrPercentValue(), and toString().


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