LibreOffice Module sc (master) 1
|
Contains the "scale to width/height" attribute in page styles. More...
#include <attrib.hxx>
Public Member Functions | |
ScPageScaleToItem () | |
Default c'tor sets the width and height to 0. More... | |
ScPageScaleToItem (sal_uInt16 nWidth, sal_uInt16 nHeight) | |
virtual | ~ScPageScaleToItem () override |
ScPageScaleToItem (ScPageScaleToItem const &)=default | |
ScPageScaleToItem (ScPageScaleToItem &&)=default | |
ScPageScaleToItem & | operator= (ScPageScaleToItem const &)=delete |
ScPageScaleToItem & | operator= (ScPageScaleToItem &&)=delete |
virtual ScPageScaleToItem * | Clone (SfxItemPool *=nullptr) const override |
virtual bool | operator== (const SfxPoolItem &rCmp) const override |
sal_uInt16 | GetWidth () const |
sal_uInt16 | GetHeight () const |
bool | IsValid () const |
void | SetWidth (sal_uInt16 nWidth) |
void | SetHeight (sal_uInt16 nHeight) |
void | Set (sal_uInt16 nWidth, sal_uInt16 nHeight) |
virtual bool | GetPresentation (SfxItemPresentation ePresentation, MapUnit, MapUnit, OUString &rText, const IntlWrapper &) const override |
virtual bool | QueryValue (css::uno::Any &rAny, sal_uInt8 nMemberId=0) const override |
virtual bool | PutValue (const css::uno::Any &rAny, sal_uInt8 nMemberId) override |
virtual 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 |
Private Attributes | |
sal_uInt16 | mnWidth |
sal_uInt16 | mnHeight |
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) | |
Contains the "scale to width/height" attribute in page styles.
Definition at line 229 of file attrib.hxx.
|
explicit |
Default c'tor sets the width and height to 0.
Definition at line 590 of file attrib.cxx.
References mnHeight, and mnWidth.
Referenced by Clone().
|
explicit |
Definition at line 597 of file attrib.cxx.
|
overridevirtual |
Definition at line 604 of file attrib.cxx.
|
default |
|
default |
|
overridevirtual |
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 689 of file attrib.cxx.
References GetHeight(), and GetWidth().
|
inline |
Definition at line 248 of file attrib.hxx.
References mnHeight.
Referenced by dumpAsXml(), ScStyleObj::getPropertyDefault_Impl(), ScStyleObj::getPropertyValue_Impl(), ScPrintFunc::InitParam(), ScTablePage::Reset(), ScTable::UpdatePageBreaks(), and XclExpPageSettings::XclExpPageSettings().
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 634 of file attrib.cxx.
References aName, IsValid(), mnHeight, mnWidth, and ScResId().
|
inline |
Definition at line 247 of file attrib.hxx.
References mnWidth.
Referenced by dumpAsXml(), ScStyleObj::getPropertyDefault_Impl(), ScStyleObj::getPropertyValue_Impl(), ScPrintFunc::InitParam(), ScTablePage::Reset(), ScTable::UpdatePageBreaks(), and XclExpPageSettings::XclExpPageSettings().
|
inline |
Definition at line 249 of file attrib.hxx.
References mnHeight, and mnWidth.
Referenced by GetPresentation(), ScPrintFunc::InitParam(), and XclExpPageSettings::XclExpPageSettings().
|
delete |
|
delete |
|
overridevirtual |
Implements SfxPoolItem.
Definition at line 613 of file attrib.cxx.
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 677 of file attrib.cxx.
References mnHeight, mnWidth, SC_MID_PAGE_SCALETO_HEIGHT, and SC_MID_PAGE_SCALETO_WIDTH.
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 663 of file attrib.cxx.
References mnHeight, mnWidth, SC_MID_PAGE_SCALETO_HEIGHT, and SC_MID_PAGE_SCALETO_WIDTH.
|
inline |
Definition at line 253 of file attrib.hxx.
References mnHeight, and mnWidth.
Referenced by lcl_PutScaleItem2().
|
inline |
Definition at line 252 of file attrib.hxx.
References mnHeight.
Referenced by ScStyleObj::setPropertyValue_Impl().
|
inline |
Definition at line 251 of file attrib.hxx.
References mnWidth.
Referenced by ScStyleObj::setPropertyValue_Impl().
|
private |
Definition at line 267 of file attrib.hxx.
Referenced by GetPresentation(), operator==(), PutValue(), and QueryValue().
|
private |
Definition at line 266 of file attrib.hxx.
Referenced by GetPresentation(), operator==(), PutValue(), and QueryValue().