LibreOffice Module editeng (master) 1
Public Member Functions | Private Attributes | List of all members
SvxBulletItem Class Referencefinal

#include <bulletitem.hxx>

Inheritance diagram for SvxBulletItem:
[legend]
Collaboration diagram for SvxBulletItem:
[legend]

Public Member Functions

 SvxBulletItem (sal_uInt16 nWhich)
 
 SvxBulletItem (const SvxBulletItem &)
 
virtual ~SvxBulletItem () override
 
virtual SvxBulletItemClone (SfxItemPool *pPool=nullptr) const override
 
OUString GetFullText () const
 
tools::Long GetWidth () const
 
const vcl::FontGetFont () const
 
const GraphicObjectGetGraphicObject () 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 SfxPoolItemClone (SfxItemPool *pPool=nullptr) const=0
 
std::unique_ptr< SfxPoolItemCloneSetWhich (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< GraphicObjectpGraphicObject
 
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)
 

Detailed Description

Definition at line 46 of file bulletitem.hxx.

Constructor & Destructor Documentation

◆ SvxBulletItem() [1/2]

SvxBulletItem::SvxBulletItem ( sal_uInt16  nWhich)
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() [2/2]

SvxBulletItem::SvxBulletItem ( const SvxBulletItem rItem)

Definition at line 38 of file bulitem.cxx.

◆ ~SvxBulletItem()

SvxBulletItem::~SvxBulletItem ( )
overridevirtual

Definition at line 53 of file bulitem.cxx.

Member Function Documentation

◆ Clone()

SvxBulletItem * SvxBulletItem::Clone ( SfxItemPool pPool = nullptr) const
overridevirtual

Implements SfxPoolItem.

Definition at line 57 of file bulitem.cxx.

References SvxBulletItem().

◆ CopyValidProperties()

void SvxBulletItem::CopyValidProperties ( const SvxBulletItem rCopyFrom)

◆ GetFont()

const vcl::Font & SvxBulletItem::GetFont ( ) const
inline

Definition at line 69 of file bulletitem.hxx.

Referenced by CopyValidProperties().

◆ GetFullText()

OUString SvxBulletItem::GetFullText ( ) const

Definition at line 116 of file bulitem.cxx.

References aFollowText, aPrevText, and cSymbol.

Referenced by GetPresentation().

◆ GetGraphicObject()

const GraphicObject & SvxBulletItem::GetGraphicObject ( ) const

Definition at line 135 of file bulitem.cxx.

References pGraphicObject.

Referenced by CopyValidProperties().

◆ GetPresentation()

bool SvxBulletItem::GetPresentation ( SfxItemPresentation  ePres,
MapUnit  eCoreMetric,
MapUnit  ePresMetric,
OUString &  rText,
const IntlWrapper  
) const
overridevirtual

Reimplemented from SfxPoolItem.

Definition at line 122 of file bulitem.cxx.

References GetFullText().

◆ GetWidth()

tools::Long SvxBulletItem::GetWidth ( ) const
inline

Definition at line 68 of file bulletitem.hxx.

◆ operator==()

bool SvxBulletItem::operator== ( const SfxPoolItem rItem) const
overridevirtual

Implements SfxPoolItem.

Definition at line 81 of file bulitem.cxx.

References aFollowText, aFont, aPrevText, BMP, cSymbol, nScale, nStart, nStyle, nWidth, and pGraphicObject.

◆ SetFont()

void SvxBulletItem::SetFont ( const vcl::Font rNew)
inline

Definition at line 79 of file bulletitem.hxx.

Referenced by CopyValidProperties().

◆ SetGraphicObject()

void SvxBulletItem::SetGraphicObject ( const GraphicObject rGraphicObject)

Definition at line 147 of file bulitem.cxx.

References GraphicObject::GetType(), and pGraphicObject.

Referenced by CopyValidProperties().

◆ SetScale()

void SvxBulletItem::SetScale ( sal_uInt16  nNew)
inline

Definition at line 80 of file bulletitem.hxx.

Referenced by CopyValidProperties().

◆ SetStart()

void SvxBulletItem::SetStart ( sal_uInt16  nNew)
inline

Definition at line 76 of file bulletitem.hxx.

Referenced by CopyValidProperties().

◆ SetStyle()

void SvxBulletItem::SetStyle ( SvxBulletStyle  nNew)
inline

Definition at line 78 of file bulletitem.hxx.

Referenced by CopyValidProperties().

◆ SetSymbol()

void SvxBulletItem::SetSymbol ( sal_Unicode  c)
inline

Definition at line 74 of file bulletitem.hxx.

Referenced by CopyValidProperties().

◆ SetWidth()

void SvxBulletItem::SetWidth ( tools::Long  nNew)
inline

Definition at line 77 of file bulletitem.hxx.

Member Data Documentation

◆ aFollowText

OUString SvxBulletItem::aFollowText
private

Definition at line 52 of file bulletitem.hxx.

Referenced by CopyValidProperties(), GetFullText(), and operator==().

◆ aFont

vcl::Font SvxBulletItem::aFont
private

Definition at line 48 of file bulletitem.hxx.

Referenced by operator==(), and SvxBulletItem().

◆ aPrevText

OUString SvxBulletItem::aPrevText
private

Definition at line 51 of file bulletitem.hxx.

Referenced by CopyValidProperties(), GetFullText(), and operator==().

◆ cSymbol

sal_Unicode SvxBulletItem::cSymbol
private

Definition at line 57 of file bulletitem.hxx.

Referenced by CopyValidProperties(), GetFullText(), and operator==().

◆ nScale

sal_uInt16 SvxBulletItem::nScale
private

Definition at line 56 of file bulletitem.hxx.

Referenced by CopyValidProperties(), and operator==().

◆ nStart

sal_uInt16 SvxBulletItem::nStart
private

Definition at line 53 of file bulletitem.hxx.

Referenced by CopyValidProperties(), and operator==().

◆ nStyle

SvxBulletStyle SvxBulletItem::nStyle
private

Definition at line 54 of file bulletitem.hxx.

Referenced by CopyValidProperties(), and operator==().

◆ nWidth

tools::Long SvxBulletItem::nWidth
private

Definition at line 55 of file bulletitem.hxx.

Referenced by operator==().

◆ pGraphicObject

std::unique_ptr<GraphicObject> SvxBulletItem::pGraphicObject
private

Definition at line 50 of file bulletitem.hxx.

Referenced by GetGraphicObject(), operator==(), and SetGraphicObject().


The documentation for this class was generated from the following files: