LibreOffice Module editeng (master) 1
|
#include <protitem.hxx>
Public Member Functions | |
SvxProtectItem (const sal_uInt16 nId) | |
SvxProtectItem (SvxProtectItem const &)=default | |
virtual bool | operator== (const SfxPoolItem &) const override |
virtual bool | GetPresentation (SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString &rText, const IntlWrapper &) const override |
virtual SvxProtectItem * | Clone (SfxItemPool *pPool=nullptr) const override |
bool | IsContentProtected () const |
bool | IsSizeProtected () const |
bool | IsPosProtected () const |
void | SetContentProtect (bool bNew) |
void | SetSizeProtect (bool bNew) |
void | SetPosProtect (bool bNew) |
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 | dumpAsXml (xmlTextWriterPtr pWriter) const override |
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 Attributes | |
bool | bCntnt:1 |
bool | bSize:1 |
bool | bPos:1 |
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 33 of file protitem.hxx.
|
inlineexplicit |
Definition at line 68 of file protitem.hxx.
References bCntnt, bPos, bSize, and nId.
Referenced by Clone(), and CreateDefault().
|
default |
|
overridevirtual |
|
static |
Definition at line 93 of file frmitems.cxx.
References SvxProtectItem().
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 2024 of file frmitems.cxx.
References bCntnt, bPos, bSize, and SfxPoolItem::Which().
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 1997 of file frmitems.cxx.
References bCntnt, bPos, bSize, cpDelim, and EditResId().
|
inline |
Definition at line 56 of file protitem.hxx.
|
inline |
Definition at line 58 of file protitem.hxx.
|
inline |
Definition at line 57 of file protitem.hxx.
|
overridevirtual |
Implements SfxPoolItem.
Definition at line 1946 of file frmitems.cxx.
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 1976 of file frmitems.cxx.
References Any2Bool(), bCntnt, bPos, bSize, MID_PROTECT_CONTENT, MID_PROTECT_POSITION, and MID_PROTECT_SIZE.
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 1957 of file frmitems.cxx.
References bCntnt, bPos, bSize, MID_PROTECT_CONTENT, MID_PROTECT_POSITION, and MID_PROTECT_SIZE.
|
inline |
Definition at line 59 of file protitem.hxx.
|
inline |
Definition at line 61 of file protitem.hxx.
|
inline |
Definition at line 60 of file protitem.hxx.
|
private |
Definition at line 35 of file protitem.hxx.
Referenced by dumpAsXml(), GetPresentation(), operator==(), PutValue(), QueryValue(), and SvxProtectItem().
|
private |
Definition at line 37 of file protitem.hxx.
Referenced by dumpAsXml(), GetPresentation(), operator==(), PutValue(), QueryValue(), and SvxProtectItem().
|
private |
Definition at line 36 of file protitem.hxx.
Referenced by dumpAsXml(), GetPresentation(), operator==(), PutValue(), QueryValue(), and SvxProtectItem().