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 (sal_uInt16 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
 
bool operator!= (const SfxPoolItem &rItem) const
 
virtual bool operator< (const SfxPoolItem &) const
 
virtual bool IsSortable () const
 
virtual bool GetPresentation (SfxItemPresentation ePresentation, MapUnit eCoreMetric, MapUnit ePresentationMetric, OUString &rText, const IntlWrapper &rIntlWrapper) 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
 

Static Public Member Functions

static SfxPoolItemCreateDefault ()
 

Private Member Functions

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

Private Attributes

std::unique_ptr< SvxClipboardFormatItem_ImplpImpl
 

Additional Inherited Members

- 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::SvxClipboardFormatItem ( sal_uInt16  nId)

Definition at line 37 of file clipfmtitem.cxx.

Referenced by Clone(), and CreateDefault().

SvxClipboardFormatItem::SvxClipboardFormatItem ( const SvxClipboardFormatItem rCpy)

Definition at line 42 of file clipfmtitem.cxx.

SvxClipboardFormatItem::~SvxClipboardFormatItem ( )
overridevirtual

Definition at line 48 of file clipfmtitem.cxx.

Member Function Documentation

void SvxClipboardFormatItem::AddClipbrdFormat ( SotClipboardFormatId  nId)

Definition at line 115 of file clipfmtitem.cxx.

References nPos, and pImpl.

Referenced by PutValue().

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

Definition at line 123 of file clipfmtitem.cxx.

References pImpl.

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

Implements SfxPoolItem.

Definition at line 110 of file clipfmtitem.cxx.

References SvxClipboardFormatItem().

sal_uInt16 SvxClipboardFormatItem::Count ( ) const

Definition at line 133 of file clipfmtitem.cxx.

References pImpl.

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

SfxPoolItem * SvxClipboardFormatItem::CreateDefault ( )
static

Definition at line 35 of file clipfmtitem.cxx.

References SvxClipboardFormatItem().

SotClipboardFormatId SvxClipboardFormatItem::GetClipbrdFormatId ( sal_uInt16  nPos) const

Definition at line 138 of file clipfmtitem.cxx.

References pImpl.

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

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

Definition at line 143 of file clipfmtitem.cxx.

References pImpl.

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

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

Implements SfxPoolItem.

Definition at line 88 of file clipfmtitem.cxx.

References pImpl.

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

Reimplemented from SfxPoolItem.

Definition at line 70 of file clipfmtitem.cxx.

References AddClipbrdFormat(), and pImpl.

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(), and GetClipbrdFormatName().

Member Data Documentation

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

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