LibreOffice Module sw (master)  1
Public Member Functions | Private Attributes | List of all members
SwGammaGrf Class Reference

#include <grfatr.hxx>

Inheritance diagram for SwGammaGrf:
[legend]
Collaboration diagram for SwGammaGrf:
[legend]

Public Member Functions

 SwGammaGrf ()
 
 SwGammaGrf (const double &rVal)
 
virtual SfxPoolItemClone (SfxItemPool *pPool=nullptr) const override
 
virtual bool operator== (const SfxPoolItem &) const override
 
virtual bool GetPresentation (SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString &rText, const IntlWrapper &rIntl) const override
 
virtual bool QueryValue (css::uno::Any &rVal, sal_uInt8 nMemberId=0) const override
 
virtual bool PutValue (const css::uno::Any &rVal, sal_uInt8 nMemberId) override
 
const double & GetValue () const
 
- Public Member Functions inherited from SfxPoolItem
void AddRef (sal_uInt32 n=1) const
 
virtual ~SfxPoolItem ()
 
void SetWhich (sal_uInt16 nId)
 
sal_uInt16 Which () const
 
bool operator!= (const SfxPoolItem &rItem) const
 
virtual bool operator< (const SfxPoolItem &) const
 
virtual bool IsSortable () const
 
virtual void ScaleMetrics (long lMult, long lDiv)
 
virtual bool HasMetrics () const
 
std::unique_ptr< SfxPoolItemCloneSetWhich (sal_uInt16 nNewWhich) const
 
std::unique_ptr< T > CloneSetWhich (TypedWhichId< T > nId) const
 
sal_uInt32 GetRefCount () const
 
SfxItemKind GetKind () const
 
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const
 
virtual bool IsVoidItem () const
 

Private Attributes

double nValue
 

Additional Inherited Members

- Protected Member Functions inherited from SfxPoolItem
 SfxPoolItem (sal_uInt16 nWhich=0)
 
 SfxPoolItem (const SfxPoolItem &rCopy)
 

Detailed Description

Definition at line 184 of file grfatr.hxx.

Constructor & Destructor Documentation

SwGammaGrf::SwGammaGrf ( )
inline

Definition at line 188 of file grfatr.hxx.

Referenced by Clone().

SwGammaGrf::SwGammaGrf ( const double &  rVal)
inline

Definition at line 191 of file grfatr.hxx.

Member Function Documentation

SfxPoolItem * SwGammaGrf::Clone ( SfxItemPool pPool = nullptr) const
overridevirtual

Implements SfxPoolItem.

Definition at line 239 of file grfatr.cxx.

References SwGammaGrf().

bool SwGammaGrf::GetPresentation ( SfxItemPresentation  ePres,
MapUnit  eCoreMetric,
MapUnit  ePresMetric,
OUString &  rText,
const IntlWrapper rIntl 
) const
overridevirtual

Reimplemented from SfxPoolItem.

Definition at line 768 of file attrdesc.cxx.

References unicode::formatPercent(), Application::GetSettings(), GetValue, and SwResId().

const double& SwGammaGrf::GetValue ( ) const
inline

Definition at line 209 of file grfatr.hxx.

Referenced by SwGrfNode::GetGraphicAttr(), and operator==().

bool SwGammaGrf::operator== ( const SfxPoolItem rCmp) const
overridevirtual

Implements SfxPoolItem.

Definition at line 246 of file grfatr.cxx.

References GetValue(), nValue, and SfxPoolItem::operator==().

bool SwGammaGrf::PutValue ( const css::uno::Any &  rVal,
sal_uInt8  nMemberId 
)
overridevirtual

Reimplemented from SfxPoolItem.

Definition at line 258 of file grfatr.cxx.

References nValue.

bool SwGammaGrf::QueryValue ( css::uno::Any &  rVal,
sal_uInt8  nMemberId = 0 
) const
overridevirtual

Reimplemented from SfxPoolItem.

Definition at line 252 of file grfatr.cxx.

References nValue.

Member Data Documentation

double SwGammaGrf::nValue
private

Definition at line 186 of file grfatr.hxx.

Referenced by operator==(), PutValue(), and QueryValue().


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