LibreOffice Module editeng (master) 1
|
#include <bulletitem.hxx>
Public Member Functions | |
SvxBulletItem (sal_uInt16 nWhich) | |
SvxBulletItem (const SvxBulletItem &) | |
virtual | ~SvxBulletItem () override |
virtual SvxBulletItem * | Clone (SfxItemPool *pPool=nullptr) const override |
OUString | GetFullText () const |
tools::Long | GetWidth () const |
const vcl::Font & | GetFont () const |
const GraphicObject & | GetGraphicObject () const |
void | SetGraphicObject (const GraphicObject &rGraphicObject) |
void | SetSymbol (sal_Unicode c) |
void | SetStart (sal_uInt16 nNew) |
void | SetWidth (tools::Long nNew) |
void | SetStyle (SvxBulletStyle nNew) |
void | SetFont (const vcl::Font &rNew) |
void | SetScale (sal_uInt16 nNew) |
virtual bool | operator== (const SfxPoolItem &) const override |
virtual bool | GetPresentation (SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString &rText, const IntlWrapper &) const override |
void | CopyValidProperties (const SvxBulletItem &rCopyFrom) |
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 | |
vcl::Font | aFont |
std::unique_ptr< GraphicObject > | pGraphicObject |
OUString | aPrevText |
OUString | aFollowText |
sal_uInt16 | nStart |
SvxBulletStyle | nStyle |
tools::Long | nWidth |
sal_uInt16 | nScale |
sal_Unicode | cSymbol |
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 46 of file bulletitem.hxx.
|
explicit |
Definition at line 24 of file bulitem.cxx.
References aFont, ALIGN_BOTTOM, FIXED, LANGUAGE_SYSTEM, N123, NONE, vcl::Font::SetAlignment(), and vcl::Font::SetTransparent().
Referenced by Clone().
SvxBulletItem::SvxBulletItem | ( | const SvxBulletItem & | rItem | ) |
Definition at line 38 of file bulitem.cxx.
|
overridevirtual |
Definition at line 53 of file bulitem.cxx.
|
overridevirtual |
void SvxBulletItem::CopyValidProperties | ( | const SvxBulletItem & | rCopyFrom | ) |
Definition at line 62 of file bulitem.cxx.
References aFollowText, aPrevText, cSymbol, vcl::Font::GetColor(), vcl::Font::GetFamilyName(), vcl::Font::GetFamilyType(), GetFont(), GetGraphicObject(), vcl::Font::GetStyleName(), nScale, nStart, nStyle, vcl::Font::SetColor(), vcl::Font::SetFamily(), vcl::Font::SetFamilyName(), SetFont(), SetGraphicObject(), SetScale(), SetStart(), SetStyle(), vcl::Font::SetStyleName(), and SetSymbol().
|
inline |
Definition at line 69 of file bulletitem.hxx.
Referenced by CopyValidProperties().
OUString SvxBulletItem::GetFullText | ( | ) | const |
Definition at line 116 of file bulitem.cxx.
References aFollowText, aPrevText, and cSymbol.
Referenced by GetPresentation().
const GraphicObject & SvxBulletItem::GetGraphicObject | ( | ) | const |
Definition at line 135 of file bulitem.cxx.
References pGraphicObject.
Referenced by CopyValidProperties().
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 122 of file bulitem.cxx.
References GetFullText().
|
inline |
Definition at line 68 of file bulletitem.hxx.
|
overridevirtual |
Implements SfxPoolItem.
Definition at line 81 of file bulitem.cxx.
References aFollowText, aFont, aPrevText, BMP, cSymbol, nScale, nStart, nStyle, nWidth, and pGraphicObject.
|
inline |
Definition at line 79 of file bulletitem.hxx.
Referenced by CopyValidProperties().
void SvxBulletItem::SetGraphicObject | ( | const GraphicObject & | rGraphicObject | ) |
Definition at line 147 of file bulitem.cxx.
References GraphicObject::GetType(), and pGraphicObject.
Referenced by CopyValidProperties().
|
inline |
Definition at line 80 of file bulletitem.hxx.
Referenced by CopyValidProperties().
|
inline |
Definition at line 76 of file bulletitem.hxx.
Referenced by CopyValidProperties().
|
inline |
Definition at line 78 of file bulletitem.hxx.
Referenced by CopyValidProperties().
|
inline |
Definition at line 74 of file bulletitem.hxx.
Referenced by CopyValidProperties().
|
inline |
Definition at line 77 of file bulletitem.hxx.
|
private |
Definition at line 52 of file bulletitem.hxx.
Referenced by CopyValidProperties(), GetFullText(), and operator==().
|
private |
Definition at line 48 of file bulletitem.hxx.
Referenced by operator==(), and SvxBulletItem().
|
private |
Definition at line 51 of file bulletitem.hxx.
Referenced by CopyValidProperties(), GetFullText(), and operator==().
|
private |
Definition at line 57 of file bulletitem.hxx.
Referenced by CopyValidProperties(), GetFullText(), and operator==().
|
private |
Definition at line 56 of file bulletitem.hxx.
Referenced by CopyValidProperties(), and operator==().
|
private |
Definition at line 53 of file bulletitem.hxx.
Referenced by CopyValidProperties(), and operator==().
|
private |
Definition at line 54 of file bulletitem.hxx.
Referenced by CopyValidProperties(), and operator==().
|
private |
Definition at line 55 of file bulletitem.hxx.
Referenced by operator==().
|
private |
Definition at line 50 of file bulletitem.hxx.
Referenced by GetGraphicObject(), operator==(), and SetGraphicObject().