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

#include <clipfmtitem.hxx>

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

Public Member Functions

 SvxClipboardFormatItem (TypedWhichId< SvxClipboardFormatItem > nId)
 
 SvxClipboardFormatItem (const SvxClipboardFormatItem &)
 
virtual ~SvxClipboardFormatItem () 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
 
void AddClipbrdFormat (SotClipboardFormatId nId)
 
void AddClipbrdFormat (SotClipboardFormatId nId, const OUString &rName, sal_uInt16 nPos=USHRT_MAX)
 
sal_uInt16 Count () const
 
SotClipboardFormatId GetClipbrdFormatId (sal_uInt16 nPos) const
 
OUString const & GetClipbrdFormatName (sal_uInt16 nPos) 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
 
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 Member Functions

virtual bool operator== (const SfxPoolItem &) const override
 
virtual SvxClipboardFormatItemClone (SfxItemPool *pPool=nullptr) const override
 

Private Attributes

std::unique_ptr< SvxClipboardFormatItem_ImplpImpl
 

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 34 of file clipfmtitem.hxx.

Constructor & Destructor Documentation

◆ SvxClipboardFormatItem() [1/2]

SvxClipboardFormatItem::SvxClipboardFormatItem ( TypedWhichId< SvxClipboardFormatItem nId)

Definition at line 37 of file clipfmtitem.cxx.

References nId.

Referenced by Clone(), and CreateDefault().

◆ SvxClipboardFormatItem() [2/2]

SvxClipboardFormatItem::SvxClipboardFormatItem ( const SvxClipboardFormatItem rCpy)

Definition at line 42 of file clipfmtitem.cxx.

◆ ~SvxClipboardFormatItem()

SvxClipboardFormatItem::~SvxClipboardFormatItem ( )
overridevirtual

Definition at line 48 of file clipfmtitem.cxx.

Member Function Documentation

◆ AddClipbrdFormat() [1/2]

void SvxClipboardFormatItem::AddClipbrdFormat ( SotClipboardFormatId  nId)

Definition at line 117 of file clipfmtitem.cxx.

References nId, nPos, and pImpl.

Referenced by PutValue().

◆ AddClipbrdFormat() [2/2]

void SvxClipboardFormatItem::AddClipbrdFormat ( SotClipboardFormatId  nId,
const OUString &  rName,
sal_uInt16  nPos = USHRT_MAX 
)

Definition at line 125 of file clipfmtitem.cxx.

References nId, nPos, and pImpl.

◆ Clone()

SvxClipboardFormatItem * SvxClipboardFormatItem::Clone ( SfxItemPool pPool = nullptr) const
overrideprivatevirtual

Implements SfxPoolItem.

Definition at line 112 of file clipfmtitem.cxx.

References SvxClipboardFormatItem().

◆ Count()

sal_uInt16 SvxClipboardFormatItem::Count ( ) const

Definition at line 135 of file clipfmtitem.cxx.

References pImpl.

Referenced by SvxClipBoardControl::CreatePopupWindow(), and QueryValue().

◆ CreateDefault()

SfxPoolItem * SvxClipboardFormatItem::CreateDefault ( )
static

Definition at line 35 of file clipfmtitem.cxx.

References SvxClipboardFormatItem().

◆ GetClipbrdFormatId()

SotClipboardFormatId SvxClipboardFormatItem::GetClipbrdFormatId ( sal_uInt16  nPos) const

Definition at line 140 of file clipfmtitem.cxx.

References nPos, and pImpl.

Referenced by SvxClipBoardControl::CreatePopupWindow(), and QueryValue().

◆ GetClipbrdFormatName()

OUString const & SvxClipboardFormatItem::GetClipbrdFormatName ( sal_uInt16  nPos) const

Definition at line 145 of file clipfmtitem.cxx.

References nPos, and pImpl.

Referenced by SvxClipBoardControl::CreatePopupWindow(), and QueryValue().

◆ operator==()

bool SvxClipboardFormatItem::operator== ( const SfxPoolItem rComp) const
overrideprivatevirtual

Implements SfxPoolItem.

Definition at line 90 of file clipfmtitem.cxx.

References n, and pImpl.

◆ PutValue()

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

Reimplemented from SfxPoolItem.

Definition at line 72 of file clipfmtitem.cxx.

References AddClipbrdFormat(), n, nCount, and pImpl.

◆ QueryValue()

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

Reimplemented from SfxPoolItem.

Definition at line 52 of file clipfmtitem.cxx.

References Count(), GetClipbrdFormatId(), GetClipbrdFormatName(), n, and nCount.

Member Data Documentation

◆ pImpl

std::unique_ptr<SvxClipboardFormatItem_Impl> SvxClipboardFormatItem::pImpl
private

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