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

#include <uiitems.hxx>

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

Public Member Functions

 ScInputStatusItem (sal_uInt16 nWhich, const ScAddress &rCurPos, const ScAddress &rStartPos, const ScAddress &rEndPos, OUString aString, const EditTextObject *pData)
 Status update for entry field. More...
 
 ScInputStatusItem (const ScInputStatusItem &rItem)
 
virtual ~ScInputStatusItem () override
 
virtual bool operator== (const SfxPoolItem &) const override
 
virtual ScInputStatusItemClone (SfxItemPool *pPool=nullptr) const override
 
const ScAddressGetPos () const
 
const OUString & GetString () const
 
const EditTextObjectGetEditData () const
 
void SetMisspellRanges (const std::vector< editeng::MisspellRanges > *pRanges)
 
const std::vector< editeng::MisspellRanges > * GetMisspellRanges () const
 
- 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

ScAddress aCursorPos
 
ScAddress aStartPos
 
ScAddress aEndPos
 
OUString aString
 
std::unique_ptr< EditTextObjectpEditData
 
const std::vector< editeng::MisspellRanges > * mpMisspellRanges
 

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 43 of file uiitems.hxx.

Constructor & Destructor Documentation

◆ ScInputStatusItem() [1/2]

ScInputStatusItem::ScInputStatusItem ( sal_uInt16  nWhich,
const ScAddress rCurPos,
const ScAddress rStartPos,
const ScAddress rEndPos,
OUString  aString,
const EditTextObject pData 
)

Status update for entry field.

Definition at line 33 of file uiitems.cxx.

References Clone(), and pData.

Referenced by Clone().

◆ ScInputStatusItem() [2/2]

ScInputStatusItem::ScInputStatusItem ( const ScInputStatusItem rItem)

Definition at line 46 of file uiitems.cxx.

References Clone().

◆ ~ScInputStatusItem()

ScInputStatusItem::~ScInputStatusItem ( )
overridevirtual

Definition at line 57 of file uiitems.cxx.

Member Function Documentation

◆ Clone()

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

Implements SfxPoolItem.

Definition at line 72 of file uiitems.cxx.

References ScInputStatusItem().

◆ GetEditData()

const EditTextObject * ScInputStatusItem::GetEditData ( ) const
inline

Definition at line 69 of file uiitems.hxx.

References pEditData.

Referenced by ScCellShell::Execute().

◆ GetMisspellRanges()

const std::vector< editeng::MisspellRanges > * ScInputStatusItem::GetMisspellRanges ( ) const
inline

Definition at line 72 of file uiitems.hxx.

References mpMisspellRanges.

Referenced by ScCellShell::Execute().

◆ GetPos()

const ScAddress & ScInputStatusItem::GetPos ( ) const
inline

Definition at line 66 of file uiitems.hxx.

References aCursorPos.

Referenced by ScCellShell::Execute().

◆ GetString()

const OUString & ScInputStatusItem::GetString ( ) const
inline

Definition at line 68 of file uiitems.hxx.

References aString.

Referenced by ScCellShell::Execute().

◆ operator==()

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

Implements SfxPoolItem.

Definition at line 61 of file uiitems.cxx.

References aCursorPos, aEndPos, aStartPos, and aString.

◆ SetMisspellRanges()

void ScInputStatusItem::SetMisspellRanges ( const std::vector< editeng::MisspellRanges > *  pRanges)

Definition at line 77 of file uiitems.cxx.

References mpMisspellRanges.

Referenced by ScInputHandler::EnterHandler().

Member Data Documentation

◆ aCursorPos

ScAddress ScInputStatusItem::aCursorPos
private

Definition at line 45 of file uiitems.hxx.

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

◆ aEndPos

ScAddress ScInputStatusItem::aEndPos
private

Definition at line 47 of file uiitems.hxx.

Referenced by operator==().

◆ aStartPos

ScAddress ScInputStatusItem::aStartPos
private

Definition at line 46 of file uiitems.hxx.

Referenced by operator==().

◆ aString

OUString ScInputStatusItem::aString
private

Definition at line 48 of file uiitems.hxx.

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

◆ mpMisspellRanges

const std::vector<editeng::MisspellRanges>* ScInputStatusItem::mpMisspellRanges
private

Definition at line 50 of file uiitems.hxx.

Referenced by GetMisspellRanges(), and SetMisspellRanges().

◆ pEditData

std::unique_ptr<EditTextObject> ScInputStatusItem::pEditData
private

Definition at line 49 of file uiitems.hxx.

Referenced by GetEditData().


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