LibreOffice Module sd (master) 1
|
#include <optsitem.hxx>
Public Member Functions | |
SdOptionsSnapItem () | |
SdOptionsSnapItem (SdOptions const *pOpts, ::sd::FrameView const *pView) | |
virtual SdOptionsSnapItem * | Clone (SfxItemPool *pPool=nullptr) const override |
virtual bool | operator== (const SfxPoolItem &) const override |
void | SetOptions (SdOptions *pOpts) const |
SdOptionsSnap & | GetOptionsSnap () |
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 | |
SdOptionsSnap | maOptionsSnap |
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 390 of file optsitem.hxx.
|
explicit |
Definition at line 852 of file optsitem.cxx.
Referenced by Clone().
SdOptionsSnapItem::SdOptionsSnapItem | ( | SdOptions const * | pOpts, |
::sd::FrameView const * | pView | ||
) |
Definition at line 858 of file optsitem.cxx.
References SdOptionsSnap::GetAngle(), SdrSnapView::GetEliminatePolyPointLimitAngle(), SdOptionsSnap::GetEliminatePolyPointLimitAngle(), SdrSnapView::GetSnapAngle(), SdOptionsSnap::GetSnapArea(), SdrSnapView::GetSnapMagneticPixel(), SdrSnapView::IsAngleSnapEnabled(), SdrSnapView::IsBigOrtho(), SdOptionsSnap::IsBigOrtho(), SdrSnapView::IsBordSnap(), SdrSnapView::IsHlplSnap(), SdrSnapView::IsOFrmSnap(), SdrSnapView::IsOPntSnap(), SdrSnapView::IsOrtho(), SdOptionsSnap::IsOrtho(), SdOptionsSnap::IsRotate(), SdOptionsSnap::IsSnapBorder(), SdOptionsSnap::IsSnapFrame(), SdOptionsSnap::IsSnapHelplines(), SdOptionsSnap::IsSnapPoints(), maOptionsSnap, SdOptionsSnap::SetAngle(), SdOptionsSnap::SetBigOrtho(), SdOptionsSnap::SetEliminatePolyPointLimitAngle(), SdOptionsSnap::SetOrtho(), SdOptionsSnap::SetRotate(), SdOptionsSnap::SetSnapArea(), SdOptionsSnap::SetSnapBorder(), SdOptionsSnap::SetSnapFrame(), SdOptionsSnap::SetSnapHelplines(), and SdOptionsSnap::SetSnapPoints().
|
overridevirtual |
Implements SfxPoolItem.
Definition at line 890 of file optsitem.cxx.
References SdOptionsSnapItem().
|
inline |
Definition at line 402 of file optsitem.hxx.
Referenced by SdTpOptionsSnap::FillItemSet(), and SdTpOptionsSnap::Reset().
|
overridevirtual |
void SdOptionsSnapItem::SetOptions | ( | SdOptions * | pOpts | ) | const |
Definition at line 901 of file optsitem.cxx.
References SdOptionsSnap::GetAngle(), SdOptionsSnap::GetEliminatePolyPointLimitAngle(), SdOptionsSnap::GetSnapArea(), SdOptionsSnap::IsBigOrtho(), SdOptionsSnap::IsOrtho(), SdOptionsSnap::IsRotate(), SdOptionsSnap::IsSnapBorder(), SdOptionsSnap::IsSnapFrame(), SdOptionsSnap::IsSnapHelplines(), SdOptionsSnap::IsSnapPoints(), maOptionsSnap, SdOptionsSnap::SetAngle(), SdOptionsSnap::SetBigOrtho(), SdOptionsSnap::SetEliminatePolyPointLimitAngle(), SdOptionsSnap::SetOrtho(), SdOptionsSnap::SetRotate(), SdOptionsSnap::SetSnapArea(), SdOptionsSnap::SetSnapBorder(), SdOptionsSnap::SetSnapFrame(), SdOptionsSnap::SetSnapHelplines(), and SdOptionsSnap::SetSnapPoints().
Referenced by SdModule::ApplyItemSet().
|
private |
Definition at line 404 of file optsitem.hxx.
Referenced by operator==(), SdOptionsSnapItem(), and SetOptions().