LibreOffice Module editeng (master) 1
|
This item stores a field (SvxFieldData). More...
#include <flditem.hxx>
Public Member Functions | |
SvxFieldItem (std::unique_ptr< SvxFieldData > pField, const sal_uInt16 nId) | |
SvxFieldItem (const SvxFieldData &rField, const sal_uInt16 nId) | |
SvxFieldItem (const SvxFieldItem &rItem) | |
virtual | ~SvxFieldItem () override |
virtual bool | operator== (const SfxPoolItem &) const override |
virtual SvxFieldItem * | Clone (SfxItemPool *pPool=nullptr) const override |
const SvxFieldData * | GetField () 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 |
Private Attributes | |
std::unique_ptr< SvxFieldData > | mpField |
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) | |
This item stores a field (SvxFieldData).
The field is controlled by or belongs to the item. The field itself is determined by a derivation from SvxFieldData (RTTI)
Definition at line 69 of file flditem.hxx.
SvxFieldItem::SvxFieldItem | ( | std::unique_ptr< SvxFieldData > | pField, |
const sal_uInt16 | nId | ||
) |
SvxFieldItem::SvxFieldItem | ( | const SvxFieldData & | rField, |
const sal_uInt16 | nId | ||
) |
Definition at line 284 of file flditem.cxx.
SvxFieldItem::SvxFieldItem | ( | const SvxFieldItem & | rItem | ) |
Definition at line 291 of file flditem.cxx.
References Clone().
|
overridevirtual |
Definition at line 297 of file flditem.cxx.
|
overridevirtual |
|
inline |
Definition at line 81 of file flditem.hxx.
Referenced by ImpEditEngine::CreateTransferable(), EditView::GetFieldAtCursor(), EditTextObjectImpl::GetFieldData(), OutlinerView::ImpCheckMousePos(), ImpEditEngine::MouseButtonUp(), operator==(), ImpEditEngine::Paint(), ImpEditView::ShowCursor(), and editeng::FieldUpdaterImpl::updateTableFields().
|
overridevirtual |
Implements SfxPoolItem.
Definition at line 306 of file flditem.cxx.
References GetField(), and mpField.
|
private |
Definition at line 71 of file flditem.hxx.
Referenced by operator==().