|
LibreOffice Module editeng (master) 1
|
#include <boxitem.hxx>
Public Member Functions | |
| SvxBoxInfoItem (const sal_uInt16 nId) | |
| SvxBoxInfoItem (const SvxBoxInfoItem &rCpy) | |
| virtual | ~SvxBoxInfoItem () override |
| virtual bool | operator== (const SfxPoolItem &) const override |
| virtual bool | GetPresentation (SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString &rText, const IntlWrapper &) 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 |
| virtual SvxBoxInfoItem * | Clone (SfxItemPool *pPool=nullptr) const override |
| virtual void | ScaleMetrics (tools::Long nMult, tools::Long nDiv) override |
| virtual bool | HasMetrics () const override |
| const editeng::SvxBorderLine * | GetHori () const |
| const editeng::SvxBorderLine * | GetVert () const |
| void | SetLine (const editeng::SvxBorderLine *pNew, SvxBoxInfoItemLine nLine) |
| bool | IsTable () const |
| void | SetTable (bool bNew) |
| bool | IsHorEnabled () const |
| void | EnableHor (bool bEnable) |
| bool | IsVerEnabled () const |
| void | EnableVer (bool bEnable) |
| bool | IsDist () const |
| void | SetDist (bool bNew) |
| bool | IsMinDist () const |
| void | SetMinDist (bool bNew) |
| sal_uInt16 | GetDefDist () const |
| void | SetDefDist (sal_uInt16 nNew) |
| bool | IsValid (SvxBoxInfoItemValidFlags nValid) const |
| void | SetValid (SvxBoxInfoItemValidFlags nValid, bool bValid=true) |
| void | ResetFlags () |
| virtual boost::property_tree::ptree | dumpAsJSON () 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 | |
| std::unique_ptr< editeng::SvxBorderLine > | mpHorizontalLine |
| std::unique_ptr< editeng::SvxBorderLine > | mpVerticalLine |
| bool | mbEnableHorizontalLine = false |
| bool | mbEnableVerticalLine = false |
| true = Enable inner horizontal line. More... | |
| bool | mbDistance:1 |
| true = Enable inner vertical line. More... | |
| bool | mbMinimumDistance:1 |
| SvxBoxInfoItemValidFlags | mnValidFlags |
| sal_uInt16 | mnDefaultMinimumDistance = 0 |
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 196 of file boxitem.hxx.
|
explicit |
Definition at line 3258 of file frmitems.cxx.
References nId, and ResetFlags().
Referenced by Clone(), and CreateDefault().
| SvxBoxInfoItem::SvxBoxInfoItem | ( | const SvxBoxInfoItem & | rCpy | ) |
Definition at line 3267 of file frmitems.cxx.
|
overridevirtual |
Definition at line 3280 of file frmitems.cxx.
|
overridevirtual |
|
static |
Definition at line 97 of file frmitems.cxx.
References SvxBoxInfoItem().
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 3285 of file frmitems.cxx.
|
inline |
Definition at line 250 of file boxitem.hxx.
|
inline |
Definition at line 252 of file boxitem.hxx.
|
inline |
Definition at line 261 of file boxitem.hxx.
Referenced by QueryValue().
|
inline |
Definition at line 240 of file boxitem.hxx.
Referenced by dumpAsJSON(), and operator==().
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 3340 of file frmitems.cxx.
|
inline |
Definition at line 241 of file boxitem.hxx.
Referenced by dumpAsJSON(), and operator==().
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 3363 of file frmitems.cxx.
|
inline |
Definition at line 254 of file boxitem.hxx.
Referenced by QueryValue().
|
inline |
Definition at line 249 of file boxitem.hxx.
|
inline |
Definition at line 259 of file boxitem.hxx.
Referenced by QueryValue().
|
inline |
Definition at line 246 of file boxitem.hxx.
Referenced by QueryValue().
|
inline |
Definition at line 264 of file boxitem.hxx.
|
inline |
Definition at line 251 of file boxitem.hxx.
|
overridevirtual |
Implements SfxPoolItem.
Definition at line 3300 of file frmitems.cxx.
References CompareBorderLine(), GetHori(), GetVert(), mbDistance, mbEnableHorizontalLine, mbEnableVerticalLine, mbMinimumDistance, mnDefaultMinimumDistance, mnValidFlags, mpHorizontalLine, and mpVerticalLine.
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 3437 of file frmitems.cxx.
References aSeq, CONVERT_TWIPS, uno::Any::hasValue(), HORI, SvxBoxItem::LineToSvxLine(), MID_DISTANCE, MID_FLAGS, MID_HORIZONTAL, MID_VALIDFLAGS, MID_VERTICAL, o3tl::mm100, mnValidFlags, SetDefDist(), SetDist(), SetLine(), SetMinDist(), SetTable(), o3tl::toTwips(), VERT, and xConverter.
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 3374 of file frmitems.cxx.
References aSeq, CONVERT_TWIPS, convertTwipToMm100(), GetDefDist(), IsDist(), IsMinDist(), IsTable(), MID_DISTANCE, MID_FLAGS, MID_HORIZONTAL, MID_VALIDFLAGS, MID_VERTICAL, mnValidFlags, mpHorizontalLine, mpVerticalLine, and SvxBoxItem::SvxLineToLine().
| void SvxBoxInfoItem::ResetFlags | ( | ) |
Definition at line 3369 of file frmitems.cxx.
References mnValidFlags.
Referenced by SvxBoxInfoItem().
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 3353 of file frmitems.cxx.
References mnDefaultMinimumDistance, mpHorizontalLine, mpVerticalLine, and BigInt::Scale().
|
inline |
Definition at line 262 of file boxitem.hxx.
Referenced by PutValue().
|
inline |
Definition at line 255 of file boxitem.hxx.
Referenced by PutValue().
| void SvxBoxInfoItem::SetLine | ( | const editeng::SvxBorderLine * | pNew, |
| SvxBoxInfoItemLine | nLine | ||
| ) |
Definition at line 3317 of file frmitems.cxx.
References HORI, mpHorizontalLine, mpVerticalLine, and VERT.
Referenced by PutValue().
|
inline |
Definition at line 260 of file boxitem.hxx.
Referenced by PutValue().
|
inline |
Definition at line 247 of file boxitem.hxx.
Referenced by PutValue().
|
inline |
Definition at line 268 of file boxitem.hxx.
|
private |
true = Enable inner vertical line.
Definition at line 214 of file boxitem.hxx.
Referenced by operator==().
|
private |
Definition at line 201 of file boxitem.hxx.
Referenced by operator==().
|
private |
true = Enable inner horizontal line.
Definition at line 202 of file boxitem.hxx.
Referenced by operator==().
|
private |
Definition at line 215 of file boxitem.hxx.
Referenced by operator==().
|
private |
Definition at line 218 of file boxitem.hxx.
Referenced by operator==(), and ScaleMetrics().
|
private |
Definition at line 217 of file boxitem.hxx.
Referenced by operator==(), PutValue(), QueryValue(), and ResetFlags().
|
private |
Definition at line 198 of file boxitem.hxx.
Referenced by operator==(), QueryValue(), ScaleMetrics(), and SetLine().
|
private |
Definition at line 199 of file boxitem.hxx.
Referenced by operator==(), QueryValue(), ScaleMetrics(), and SetLine().