LibreOffice Module writerfilter (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
writerfilter::dmapper::MeasureHandler Class Reference

Handler for sprms that contain a measure and a unit. More...

#include <MeasureHandler.hxx>

Inheritance diagram for writerfilter::dmapper::MeasureHandler:
[legend]
Collaboration diagram for writerfilter::dmapper::MeasureHandler:
[legend]

Public Member Functions

 MeasureHandler ()
 
virtual ~MeasureHandler () override
 
sal_Int32 getMeasureValue () const
 
sal_Int32 getValue () const
 
sal_Int32 getUnit () const
 
sal_Int16 GetRowHeightSizeType () const
 
void enableInteropGrabBag (const OUString &aName)
 
css::beans::PropertyValue getInteropGrabBag ()
 
- Public Member Functions inherited from writerfilter::LoggedProperties
 LoggedProperties (const std::string &sPrefix)
 
virtual ~LoggedProperties () override
 
void attribute (Id name, Value &val) override
 Receives an attribute. More...
 
void sprm (Sprm &sprm) override
 Receives a SPRM. More...
 
virtual void attribute (Id name, Value &val)=0
 Receives an attribute. More...
 
virtual void sprm (Sprm &sprm)=0
 Receives a SPRM. 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 Member Functions

virtual void lcl_attribute (Id Name, Value &val) override
 
virtual void lcl_sprm (Sprm &sprm) override
 

Private Attributes

sal_Int32 m_nMeasureValue
 
sal_Int32 m_nUnit
 
sal_Int16 m_nRowHeightSizeType
 
OUString m_aInteropGrabBagName
 
std::vector< css::beans::PropertyValue > m_aInteropGrabBag
 

Additional Inherited Members

virtual void lcl_attribute (Id name, Value &val)=0
 
virtual void lcl_sprm (Sprm &sprm)=0
 
- Protected Member Functions inherited from writerfilter::Properties
 ~Properties () override
 
- Protected Member Functions inherited from SvRefBase
virtual ~SvRefBase () COVERITY_NOEXCEPT_FALSE
 

Detailed Description

Handler for sprms that contain a measure and a unit.

Definition at line 31 of file MeasureHandler.hxx.

Constructor & Destructor Documentation

◆ MeasureHandler()

writerfilter::dmapper::MeasureHandler::MeasureHandler ( )

Definition at line 31 of file MeasureHandler.cxx.

References MIN, and text().

◆ ~MeasureHandler()

writerfilter::dmapper::MeasureHandler::~MeasureHandler ( )
overridevirtual

Definition at line 40 of file MeasureHandler.cxx.

Member Function Documentation

◆ enableInteropGrabBag()

void writerfilter::dmapper::MeasureHandler::enableInteropGrabBag ( const OUString &  aName)

Definition at line 121 of file MeasureHandler.cxx.

References aName, and m_aInteropGrabBagName.

◆ getInteropGrabBag()

beans::PropertyValue writerfilter::dmapper::MeasureHandler::getInteropGrabBag ( )

◆ getMeasureValue()

sal_Int32 writerfilter::dmapper::MeasureHandler::getMeasureValue ( ) const

◆ GetRowHeightSizeType()

sal_Int16 writerfilter::dmapper::MeasureHandler::GetRowHeightSizeType ( ) const
inline

Definition at line 53 of file MeasureHandler.hxx.

References m_nRowHeightSizeType.

◆ getUnit()

sal_Int32 writerfilter::dmapper::MeasureHandler::getUnit ( ) const
inline

Definition at line 51 of file MeasureHandler.hxx.

References m_nUnit.

◆ getValue()

sal_Int32 writerfilter::dmapper::MeasureHandler::getValue ( ) const
inline

Definition at line 50 of file MeasureHandler.hxx.

References m_nMeasureValue.

◆ lcl_attribute()

void writerfilter::dmapper::MeasureHandler::lcl_attribute ( Id  Name,
Value val 
)
overrideprivatevirtual

◆ lcl_sprm()

void writerfilter::dmapper::MeasureHandler::lcl_sprm ( Sprm sprm)
overrideprivatevirtual

Implements writerfilter::LoggedProperties.

Definition at line 101 of file MeasureHandler.cxx.

Member Data Documentation

◆ m_aInteropGrabBag

std::vector<css::beans::PropertyValue> writerfilter::dmapper::MeasureHandler::m_aInteropGrabBag
private

Definition at line 38 of file MeasureHandler.hxx.

Referenced by getInteropGrabBag(), and lcl_attribute().

◆ m_aInteropGrabBagName

OUString writerfilter::dmapper::MeasureHandler::m_aInteropGrabBagName
private

Definition at line 37 of file MeasureHandler.hxx.

Referenced by enableInteropGrabBag(), getInteropGrabBag(), and lcl_attribute().

◆ m_nMeasureValue

sal_Int32 writerfilter::dmapper::MeasureHandler::m_nMeasureValue
private

Definition at line 33 of file MeasureHandler.hxx.

Referenced by getMeasureValue(), getValue(), and lcl_attribute().

◆ m_nRowHeightSizeType

sal_Int16 writerfilter::dmapper::MeasureHandler::m_nRowHeightSizeType
private

Definition at line 35 of file MeasureHandler.hxx.

Referenced by GetRowHeightSizeType(), and lcl_attribute().

◆ m_nUnit

sal_Int32 writerfilter::dmapper::MeasureHandler::m_nUnit
private

Definition at line 34 of file MeasureHandler.hxx.

Referenced by getMeasureValue(), getUnit(), and lcl_attribute().


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