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

#include <hints.hxx>

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

Public Member Functions

 SwUpdateAttr (sal_Int32 nS, sal_Int32 nE, sal_uInt16 nW)
 
 SwUpdateAttr (sal_Int32 nS, sal_Int32 nE, sal_uInt16 nW, std::vector< sal_uInt16 > aW)
 
sal_Int32 getStart () const
 
sal_Int32 getEnd () const
 
sal_uInt16 getWhichAttr () const
 
const std::vector< sal_uInt16 > & getFmtAttrs () const
 
- Public Member Functions inherited from SwMsgPoolItem
 SwMsgPoolItem (sal_uInt16 nWhich)
 
virtual bool operator== (const SfxPoolItem &) const override
 
virtual SwMsgPoolItemClone (SfxItemPool *pPool=nullptr) 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 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

sal_Int32 m_nStart
 
sal_Int32 m_nEnd
 
sal_uInt16 m_nWhichAttr
 
std::vector< sal_uInt16 > m_aWhichFmtAttrs
 

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 266 of file hints.hxx.

Constructor & Destructor Documentation

◆ SwUpdateAttr() [1/2]

SwUpdateAttr::SwUpdateAttr ( sal_Int32  nS,
sal_Int32  nE,
sal_uInt16  nW 
)

Definition at line 74 of file hints.cxx.

◆ SwUpdateAttr() [2/2]

SwUpdateAttr::SwUpdateAttr ( sal_Int32  nS,
sal_Int32  nE,
sal_uInt16  nW,
std::vector< sal_uInt16 >  aW 
)

Definition at line 79 of file hints.cxx.

Member Function Documentation

◆ getEnd()

sal_Int32 SwUpdateAttr::getEnd ( ) const
inline

Definition at line 283 of file hints.hxx.

References m_nEnd.

Referenced by SwTextFrame::SwClientNotify().

◆ getFmtAttrs()

const std::vector< sal_uInt16 > & SwUpdateAttr::getFmtAttrs ( ) const
inline

Definition at line 293 of file hints.hxx.

References m_aWhichFmtAttrs.

Referenced by SwTextFrame::SwClientNotify().

◆ getStart()

sal_Int32 SwUpdateAttr::getStart ( ) const
inline

Definition at line 278 of file hints.hxx.

References m_nStart.

Referenced by SwTextFrame::SwClientNotify().

◆ getWhichAttr()

sal_uInt16 SwUpdateAttr::getWhichAttr ( ) const
inline

Definition at line 288 of file hints.hxx.

References m_nWhichAttr.

Referenced by SwTextFrame::SwClientNotify(), and SwContentNode::UpdateAttr().

Member Data Documentation

◆ m_aWhichFmtAttrs

std::vector<sal_uInt16> SwUpdateAttr::m_aWhichFmtAttrs
private

Definition at line 272 of file hints.hxx.

Referenced by getFmtAttrs().

◆ m_nEnd

sal_Int32 SwUpdateAttr::m_nEnd
private

Definition at line 270 of file hints.hxx.

Referenced by getEnd().

◆ m_nStart

sal_Int32 SwUpdateAttr::m_nStart
private

Definition at line 269 of file hints.hxx.

Referenced by getStart().

◆ m_nWhichAttr

sal_uInt16 SwUpdateAttr::m_nWhichAttr
private

Definition at line 271 of file hints.hxx.

Referenced by getWhichAttr().


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