LibreOffice Module svx (master) 1
|
#include <clipfmtitem.hxx>
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 SfxPoolItem * | Clone (SfxItemPool *pPool=nullptr) const=0 |
std::unique_ptr< SfxPoolItem > | CloneSetWhich (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 SfxPoolItem * | CreateDefault () |
Private Member Functions | |
virtual bool | operator== (const SfxPoolItem &) const override |
virtual SvxClipboardFormatItem * | Clone (SfxItemPool *pPool=nullptr) const override |
Private Attributes | |
std::unique_ptr< SvxClipboardFormatItem_Impl > | pImpl |
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) | |
Definition at line 34 of file clipfmtitem.hxx.
SvxClipboardFormatItem::SvxClipboardFormatItem | ( | TypedWhichId< SvxClipboardFormatItem > | nId | ) |
Definition at line 37 of file clipfmtitem.cxx.
References nId.
Referenced by Clone(), and CreateDefault().
SvxClipboardFormatItem::SvxClipboardFormatItem | ( | const SvxClipboardFormatItem & | rCpy | ) |
Definition at line 42 of file clipfmtitem.cxx.
|
overridevirtual |
Definition at line 48 of file clipfmtitem.cxx.
void SvxClipboardFormatItem::AddClipbrdFormat | ( | SotClipboardFormatId | nId | ) |
Definition at line 117 of file clipfmtitem.cxx.
References nId, nPos, and pImpl.
Referenced by PutValue().
void SvxClipboardFormatItem::AddClipbrdFormat | ( | SotClipboardFormatId | nId, |
const OUString & | rName, | ||
sal_uInt16 | nPos = USHRT_MAX |
||
) |
Definition at line 125 of file clipfmtitem.cxx.
|
overrideprivatevirtual |
Implements SfxPoolItem.
Definition at line 112 of file clipfmtitem.cxx.
References SvxClipboardFormatItem().
sal_uInt16 SvxClipboardFormatItem::Count | ( | ) | const |
Definition at line 135 of file clipfmtitem.cxx.
References pImpl.
Referenced by SvxClipBoardControl::CreatePopupWindow(), and QueryValue().
|
static |
Definition at line 35 of file clipfmtitem.cxx.
References SvxClipboardFormatItem().
SotClipboardFormatId SvxClipboardFormatItem::GetClipbrdFormatId | ( | sal_uInt16 | nPos | ) | const |
Definition at line 140 of file clipfmtitem.cxx.
Referenced by SvxClipBoardControl::CreatePopupWindow(), and QueryValue().
OUString const & SvxClipboardFormatItem::GetClipbrdFormatName | ( | sal_uInt16 | nPos | ) | const |
Definition at line 145 of file clipfmtitem.cxx.
Referenced by SvxClipBoardControl::CreatePopupWindow(), and QueryValue().
|
overrideprivatevirtual |
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 72 of file clipfmtitem.cxx.
References AddClipbrdFormat(), n, nCount, and pImpl.
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 52 of file clipfmtitem.cxx.
References Count(), GetClipbrdFormatId(), GetClipbrdFormatName(), n, and nCount.
|
private |
Definition at line 57 of file clipfmtitem.hxx.
Referenced by AddClipbrdFormat(), Count(), GetClipbrdFormatId(), GetClipbrdFormatName(), operator==(), and PutValue().