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

#include <editobj2.hxx>

Collaboration diagram for XEditAttribute:
[legend]

Public Member Functions

 XEditAttribute (const SfxPoolItem &rAttr, sal_Int32 nStart, sal_Int32 nEnd)
 
const SfxPoolItemGetItem () const
 
sal_Int32 & GetStart ()
 
sal_Int32 & GetEnd ()
 
sal_Int32 GetStart () const
 
sal_Int32 GetEnd () const
 
sal_Int32 GetLen () const
 
bool IsFeature () const
 
void SetItem (const SfxPoolItem &rNew)
 
bool operator== (const XEditAttribute &rCompare) const
 

Private Attributes

const SfxPoolItempItem
 
sal_Int32 nStart
 
sal_Int32 nEnd
 

Detailed Description

Definition at line 47 of file editobj2.hxx.

Constructor & Destructor Documentation

◆ XEditAttribute()

XEditAttribute::XEditAttribute ( const SfxPoolItem rAttr,
sal_Int32  nStart,
sal_Int32  nEnd 
)

Definition at line 55 of file editobj.cxx.

Member Function Documentation

◆ GetEnd() [1/2]

sal_Int32 & XEditAttribute::GetEnd ( )
inline

◆ GetEnd() [2/2]

sal_Int32 XEditAttribute::GetEnd ( ) const
inline

Definition at line 63 of file editobj2.hxx.

References nEnd.

◆ GetItem()

const SfxPoolItem * XEditAttribute::GetItem ( ) const
inline

◆ GetLen()

sal_Int32 XEditAttribute::GetLen ( ) const
inline

Definition at line 65 of file editobj2.hxx.

References nEnd, and nStart.

Referenced by ImpEditEngine::CreateTextObject().

◆ GetStart() [1/2]

sal_Int32 & XEditAttribute::GetStart ( )
inline

◆ GetStart() [2/2]

sal_Int32 XEditAttribute::GetStart ( ) const
inline

Definition at line 62 of file editobj2.hxx.

References nStart.

◆ IsFeature()

bool XEditAttribute::IsFeature ( ) const

Definition at line 62 of file editobj.cxx.

References EE_FEATURE_END(), EE_FEATURE_START(), pItem, and SfxPoolItem::Which().

Referenced by ImpEditEngine::InsertTextObject().

◆ operator==()

bool XEditAttribute::operator== ( const XEditAttribute rCompare) const
inline

Definition at line 73 of file editobj2.hxx.

References nEnd, nStart, pItem, and SfxPoolItem::Which().

◆ SetItem()

void XEditAttribute::SetItem ( const SfxPoolItem rNew)

Definition at line 68 of file editobj.cxx.

References pItem.

Member Data Documentation

◆ nEnd

sal_Int32 XEditAttribute::nEnd
private

Definition at line 52 of file editobj2.hxx.

Referenced by GetEnd(), GetLen(), and operator==().

◆ nStart

sal_Int32 XEditAttribute::nStart
private

Definition at line 51 of file editobj2.hxx.

Referenced by GetLen(), GetStart(), and operator==().

◆ pItem

const SfxPoolItem* XEditAttribute::pItem
private

Definition at line 50 of file editobj2.hxx.

Referenced by GetItem(), IsFeature(), operator==(), and SetItem().


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