LibreOffice Module sfx2 (master) 1
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
SfxWatermarkItem Class Referencefinal

#include <watermarkitem.hxx>

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

Public Member Functions

 SfxWatermarkItem ()
 
virtual SfxWatermarkItemClone (SfxItemPool *pPool=nullptr) const override
 
virtual bool operator== (const SfxPoolItem &) 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
 
OUString const & GetText () const
 
void SetText (const OUString &aText)
 
OUString const & GetFont () const
 
void SetFont (const OUString &aFont)
 
sal_Int16 GetAngle () const
 
void SetAngle (const sal_Int16 nAngle)
 
sal_Int16 GetTransparency () const
 
void SetTransparency (const sal_Int16 nTransparency)
 
Color GetColor () const
 
void SetColor (Color nColor)
 
- Public Member Functions inherited from SfxPoolItem
void AddRef (sal_uInt32 n=1) const
 
virtual ~SfxPoolItem ()
 
void SetWhich (sal_uInt16 nId)
 
sal_uInt16 Which () const
 
T & StaticWhichCast (TypedWhichId< T > nId)
 
const T & StaticWhichCast (TypedWhichId< T > nId) const
 
T * DynamicWhichCast (TypedWhichId< T > nId)
 
const T * DynamicWhichCast (TypedWhichId< T > nId) const
 
virtual bool operator== (const SfxPoolItem &) const=0
 
bool operator!= (const SfxPoolItem &rItem) const
 
virtual bool operator< (const SfxPoolItem &) const
 
virtual bool IsSortable () const
 
virtual bool HasLookup () const
 
virtual lookup_iterator Lookup (lookup_iterator, lookup_iterator end) const
 
virtual bool GetPresentation (SfxItemPresentation ePresentation, MapUnit eCoreMetric, MapUnit ePresentationMetric, OUString &rText, const IntlWrapper &rIntlWrapper) const
 
virtual void ScaleMetrics (tools::Long lMult, tools::Long lDiv)
 
virtual bool HasMetrics () const
 
virtual bool QueryValue (css::uno::Any &rVal, sal_uInt8 nMemberId=0) const
 
virtual bool PutValue (const css::uno::Any &rVal, sal_uInt8 nMemberId)
 
virtual SfxPoolItemClone (SfxItemPool *pPool=nullptr) const=0
 
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 boost::property_tree::ptree dumpAsJSON () const
 
virtual bool IsVoidItem () const
 

Static Public Member Functions

static SfxPoolItemCreateDefault ()
 

Private Attributes

OUString m_aText
 
OUString m_aFont
 
sal_Int16 m_nAngle
 
sal_Int16 m_nTransparency
 
Color m_nColor
 

Additional Inherited Members

- Public Types inherited from SfxPoolItem
typedef std::vector< SfxPoolItem * >::const_iterator lookup_iterator
 
- Protected Member Functions inherited from SfxPoolItem
 SfxPoolItem (sal_uInt16 nWhich=0)
 
 SfxPoolItem (const SfxPoolItem &rCopy)
 

Detailed Description

Definition at line 16 of file watermarkitem.hxx.

Constructor & Destructor Documentation

◆ SfxWatermarkItem()

SfxWatermarkItem::SfxWatermarkItem ( )

Definition at line 14 of file watermarkitem.cxx.

References m_aFont.

Referenced by Clone(), and CreateDefault().

Member Function Documentation

◆ Clone()

SfxWatermarkItem * SfxWatermarkItem::Clone ( SfxItemPool pPool = nullptr) const
overridevirtual

Implements SfxPoolItem.

Definition at line 39 of file watermarkitem.cxx.

References SfxWatermarkItem().

◆ CreateDefault()

SfxPoolItem * SfxWatermarkItem::CreateDefault ( )
static

Definition at line 24 of file watermarkitem.cxx.

References SfxWatermarkItem().

◆ GetAngle()

sal_Int16 SfxWatermarkItem::GetAngle ( ) const
inline

Definition at line 30 of file watermarkitem.hxx.

◆ GetColor()

Color SfxWatermarkItem::GetColor ( ) const
inline

Definition at line 34 of file watermarkitem.hxx.

◆ GetFont()

OUString const & SfxWatermarkItem::GetFont ( ) const
inline

Definition at line 28 of file watermarkitem.hxx.

References m_aFont.

◆ GetText()

OUString const & SfxWatermarkItem::GetText ( ) const
inline

Definition at line 26 of file watermarkitem.hxx.

◆ GetTransparency()

sal_Int16 SfxWatermarkItem::GetTransparency ( ) const
inline

Definition at line 32 of file watermarkitem.hxx.

◆ operator==()

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

Implements SfxPoolItem.

Definition at line 29 of file watermarkitem.cxx.

References m_aFont, m_aText, m_nAngle, m_nColor, and m_nTransparency.

◆ PutValue()

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

Reimplemented from SfxPoolItem.

Definition at line 57 of file watermarkitem.cxx.

References m_aFont, m_aText, m_nAngle, m_nColor, and m_nTransparency.

◆ QueryValue()

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

Reimplemented from SfxPoolItem.

Definition at line 44 of file watermarkitem.cxx.

References comphelper::InitPropertySequence(), m_aFont, m_aText, m_nAngle, m_nColor, and m_nTransparency.

◆ SetAngle()

void SfxWatermarkItem::SetAngle ( const sal_Int16  nAngle)
inline

Definition at line 31 of file watermarkitem.hxx.

◆ SetColor()

void SfxWatermarkItem::SetColor ( Color  nColor)
inline

Definition at line 35 of file watermarkitem.hxx.

◆ SetFont()

void SfxWatermarkItem::SetFont ( const OUString &  aFont)
inline

Definition at line 29 of file watermarkitem.hxx.

References m_aFont.

◆ SetText()

void SfxWatermarkItem::SetText ( const OUString &  aText)
inline

Definition at line 27 of file watermarkitem.hxx.

◆ SetTransparency()

void SfxWatermarkItem::SetTransparency ( const sal_Int16  nTransparency)
inline

Definition at line 33 of file watermarkitem.hxx.

Member Data Documentation

◆ m_aFont

OUString SfxWatermarkItem::m_aFont
private

Definition at line 39 of file watermarkitem.hxx.

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

◆ m_aText

OUString SfxWatermarkItem::m_aText
private

Definition at line 38 of file watermarkitem.hxx.

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

◆ m_nAngle

sal_Int16 SfxWatermarkItem::m_nAngle
private

Definition at line 40 of file watermarkitem.hxx.

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

◆ m_nColor

Color SfxWatermarkItem::m_nColor
private

Definition at line 42 of file watermarkitem.hxx.

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

◆ m_nTransparency

sal_Int16 SfxWatermarkItem::m_nTransparency
private

Definition at line 41 of file watermarkitem.hxx.

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


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