LibreOffice Module svx (master)  1
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
XFillFloatTransparenceItem Class Reference

#include <xflftrit.hxx>

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

Public Member Functions

 XFillFloatTransparenceItem ()
 
 XFillFloatTransparenceItem (const OUString &rName, const XGradient &rGradient, bool bEnable=true)
 
 XFillFloatTransparenceItem (const XGradient &rTheGradient, bool bEnable=true)
 
 XFillFloatTransparenceItem (const XFillFloatTransparenceItem &rItem)
 
virtual bool operator== (const SfxPoolItem &rItem) const override
 
virtual SfxPoolItemClone (SfxItemPool *pPool=nullptr) 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
 
virtual bool GetPresentation (SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString &rText, const IntlWrapper &rIntlWrapper) const override
 
bool IsEnabled () const
 
void SetEnabled (bool bEnable)
 
std::unique_ptr< XFillFloatTransparenceItemcheckForUniqueItem (SdrModel *pModel) const
 
- Public Member Functions inherited from XFillGradientItem
 XFillGradientItem ()
 
 XFillGradientItem (sal_Int32 nIndex, const XGradient &rTheGradient)
 
 XFillGradientItem (const OUString &rName, const XGradient &rTheGradient, sal_uInt16 nWhich=XATTR_FILLGRADIENT)
 
 XFillGradientItem (const XGradient &rTheGradient)
 
 XFillGradientItem (const XFillGradientItem &rItem)
 
const XGradientGetGradientValue () const
 
void SetGradientValue (const XGradient &rNew)
 
std::unique_ptr< XFillGradientItemcheckForUniqueItem (SdrModel *pModel) const
 
- Public Member Functions inherited from NameOrIndex
 NameOrIndex ()
 
 NameOrIndex (sal_uInt16 nWhich, sal_Int32 nIndex)
 
 NameOrIndex (sal_uInt16 nWhich, const OUString &rName)
 
 NameOrIndex (const NameOrIndex &rNameOrIndex)
 
OUString const & GetName () const
 
void SetName (const OUString &rName)
 
bool IsIndex () const
 
void dumpAsXml (xmlTextWriterPtr pWriter) const override
 
- Public Member Functions inherited from SfxStringItem
 SfxStringItem (sal_uInt16 which=0)
 
 SfxStringItem (sal_uInt16 which, const OUString &rValue)
 
- Public Member Functions inherited from CntUnencodedStringItem
 CntUnencodedStringItem (sal_uInt16 which)
 
 CntUnencodedStringItem (sal_uInt16 which, const OUString &rTheValue)
 
virtual bool operator< (const SfxPoolItem &rItem) const override
 
virtual bool IsSortable () const override
 
const OUString & GetValue () const
 
void SetValue (const OUString &rTheValue)
 
- 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 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 bool IsVoidItem () const
 

Static Public Member Functions

static SfxPoolItemCreateDefault ()
 
static bool CompareValueFunc (const NameOrIndex *p1, const NameOrIndex *p2)
 
- Static Public Member Functions inherited from XFillGradientItem
static SfxPoolItemCreateDefault ()
 
static bool CompareValueFunc (const NameOrIndex *p1, const NameOrIndex *p2)
 
- Static Public Member Functions inherited from NameOrIndex
static OUString CheckNamedItem (const NameOrIndex *pCheckItem, const sal_uInt16 nWhich, const SfxItemPool *pPool1, SvxCompareValueFunc pCompareValueFunc, const char *pPrefixResId, const XPropertyListRef &pDefaults)
 this static checks if the given NameOrIndex item has a unique name for its value. More...
 
- Static Public Member Functions inherited from SfxStringItem
static SfxPoolItemCreateDefault ()
 

Private Attributes

bool bEnabled
 

Additional Inherited Members

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

Detailed Description

Definition at line 30 of file xflftrit.hxx.

Constructor & Destructor Documentation

XFillFloatTransparenceItem::XFillFloatTransparenceItem ( )

Definition at line 2261 of file xattr.cxx.

References SfxPoolItem::SetWhich(), and XATTR_FILLFLOATTRANSPARENCE.

Referenced by Clone(), and CreateDefault().

XFillFloatTransparenceItem::XFillFloatTransparenceItem ( const OUString &  rName,
const XGradient rGradient,
bool  bEnable = true 
)

Definition at line 2267 of file xattr.cxx.

References SfxPoolItem::SetWhich(), and XATTR_FILLFLOATTRANSPARENCE.

XFillFloatTransparenceItem::XFillFloatTransparenceItem ( const XGradient rTheGradient,
bool  bEnable = true 
)

Definition at line 2281 of file xattr.cxx.

References SfxPoolItem::SetWhich(), and XATTR_FILLFLOATTRANSPARENCE.

XFillFloatTransparenceItem::XFillFloatTransparenceItem ( const XFillFloatTransparenceItem rItem)

Definition at line 2274 of file xattr.cxx.

References SfxPoolItem::SetWhich(), and XATTR_FILLFLOATTRANSPARENCE.

Member Function Documentation

std::unique_ptr< XFillFloatTransparenceItem > XFillFloatTransparenceItem::checkForUniqueItem ( SdrModel pModel) const
SfxPoolItem * XFillFloatTransparenceItem::Clone ( SfxItemPool pPool = nullptr) const
overridevirtual
bool XFillFloatTransparenceItem::CompareValueFunc ( const NameOrIndex p1,
const NameOrIndex p2 
)
static

Definition at line 2318 of file xattr.cxx.

References XFillGradientItem::GetGradientValue(), and IsEnabled().

Referenced by checkForUniqueItem().

SfxPoolItem * XFillFloatTransparenceItem::CreateDefault ( )
static

Definition at line 2259 of file xattr.cxx.

References XFillFloatTransparenceItem().

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

Reimplemented from XFillGradientItem.

Definition at line 2310 of file xattr.cxx.

References XFillGradientItem::GetPresentation().

bool XFillFloatTransparenceItem::IsEnabled ( ) const
inline

Definition at line 52 of file xflftrit.hxx.

Referenced by checkForUniqueItem(), and CompareValueFunc().

bool XFillFloatTransparenceItem::operator== ( const SfxPoolItem rItem) const
overridevirtual

Reimplemented from XFillGradientItem.

Definition at line 2288 of file xattr.cxx.

References bEnabled, and XFillGradientItem::GetGradientValue().

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

Reimplemented from XFillGradientItem.

Definition at line 2305 of file xattr.cxx.

References XFillGradientItem::PutValue().

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

Reimplemented from XFillGradientItem.

Definition at line 2300 of file xattr.cxx.

References XFillGradientItem::QueryValue().

void XFillFloatTransparenceItem::SetEnabled ( bool  bEnable)
inline

Definition at line 53 of file xflftrit.hxx.

Referenced by SvxUnoTransGradientTable::createItem().

Member Data Documentation

bool XFillFloatTransparenceItem::bEnabled
private

Definition at line 34 of file xflftrit.hxx.

Referenced by operator==().


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