LibreOffice Module svx (master) 1
|
#include <grfcrop.hxx>
Public Member Functions | |
SvxGrfCrop (TypedWhichId< SvxGrfCrop >) | |
SvxGrfCrop (sal_Int32 nLeft, sal_Int32 nRight, sal_Int32 nTop, sal_Int32 nBottom, TypedWhichId< SvxGrfCrop >) | |
virtual | ~SvxGrfCrop () override |
SvxGrfCrop (SvxGrfCrop const &)=default | |
SvxGrfCrop (SvxGrfCrop &&)=default | |
SvxGrfCrop & | operator= (SvxGrfCrop const &)=delete |
SvxGrfCrop & | operator= (SvxGrfCrop &&)=delete |
virtual bool | operator== (const SfxPoolItem &) const override |
virtual bool | GetPresentation (SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString &rText, const IntlWrapper &rIntl) const 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 | SetLeft (sal_Int32 nVal) |
void | SetRight (sal_Int32 nVal) |
void | SetTop (sal_Int32 nVal) |
void | SetBottom (sal_Int32 nVal) |
sal_Int32 | GetLeft () const |
sal_Int32 | GetRight () const |
sal_Int32 | GetTop () const |
sal_Int32 | GetBottom () 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 | |
sal_Int32 | nLeft |
sal_Int32 | nRight |
sal_Int32 | nTop |
sal_Int32 | nBottom |
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 29 of file grfcrop.hxx.
SvxGrfCrop::SvxGrfCrop | ( | TypedWhichId< SvxGrfCrop > | nItemId | ) |
Definition at line 28 of file grfitem.cxx.
SvxGrfCrop::SvxGrfCrop | ( | sal_Int32 | nLeft, |
sal_Int32 | nRight, | ||
sal_Int32 | nTop, | ||
sal_Int32 | nBottom, | ||
TypedWhichId< SvxGrfCrop > | nItemId | ||
) |
Definition at line 33 of file grfitem.cxx.
|
overridevirtual |
Definition at line 39 of file grfitem.cxx.
|
default |
|
default |
|
inline |
Definition at line 64 of file grfcrop.hxx.
Referenced by GetPresentation(), and operator==().
|
inline |
Definition at line 61 of file grfcrop.hxx.
Referenced by GetPresentation(), and operator==().
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 99 of file grfitem.cxx.
References GetBottom(), GetLeft(), GetRight(), and GetTop().
|
inline |
Definition at line 62 of file grfcrop.hxx.
Referenced by GetPresentation(), and operator==().
|
inline |
Definition at line 63 of file grfcrop.hxx.
Referenced by GetPresentation(), and operator==().
|
delete |
|
delete |
|
overridevirtual |
Implements SfxPoolItem.
Definition at line 43 of file grfitem.cxx.
References GetBottom(), GetLeft(), GetRight(), GetTop(), nBottom, nLeft, nRight, and nTop.
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 77 of file grfitem.cxx.
References CONVERT_TWIPS, o3tl::mm100, nBottom, nLeft, nRight, nTop, and o3tl::toTwips().
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 55 of file grfitem.cxx.
References CONVERT_TWIPS, convertTwipToMm100(), nBottom, nLeft, nRight, and nTop.
|
inline |
Definition at line 59 of file grfcrop.hxx.
|
inline |
Definition at line 56 of file grfcrop.hxx.
|
inline |
Definition at line 57 of file grfcrop.hxx.
|
inline |
Definition at line 58 of file grfcrop.hxx.
|
private |
Definition at line 31 of file grfcrop.hxx.
Referenced by operator==(), PutValue(), and QueryValue().
|
private |
Definition at line 31 of file grfcrop.hxx.
Referenced by operator==(), PutValue(), and QueryValue().
|
private |
Definition at line 31 of file grfcrop.hxx.
Referenced by operator==(), PutValue(), and QueryValue().
|
private |
Definition at line 31 of file grfcrop.hxx.
Referenced by operator==(), PutValue(), and QueryValue().