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, const OUString &rString, 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
 
bool operator!= (const SfxPoolItem &rItem) const
 
virtual bool operator< (const SfxPoolItem &) const
 
virtual bool IsSortable () 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)
 
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

- Protected Member Functions inherited from SfxPoolItem
 SfxPoolItem (sal_uInt16 nWhich=0)
 
 SfxPoolItem (const SfxPoolItem &rCopy)
 

Detailed Description

Definition at line 44 of file uiitems.hxx.

Constructor & Destructor Documentation

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

Status update for entry field.

Definition at line 32 of file uiitems.cxx.

References Clone().

Referenced by Clone().

ScInputStatusItem::ScInputStatusItem ( const ScInputStatusItem rItem)

Definition at line 45 of file uiitems.cxx.

References Clone().

ScInputStatusItem::~ScInputStatusItem ( )
overridevirtual

Definition at line 56 of file uiitems.cxx.

Member Function Documentation

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

Implements SfxPoolItem.

Definition at line 71 of file uiitems.cxx.

References ScInputStatusItem().

const EditTextObject* ScInputStatusItem::GetEditData ( ) const
inline

Definition at line 70 of file uiitems.hxx.

Referenced by ScCellShell::Execute().

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

Definition at line 73 of file uiitems.hxx.

References mpMisspellRanges.

Referenced by ScCellShell::Execute().

const ScAddress& ScInputStatusItem::GetPos ( ) const
inline

Definition at line 67 of file uiitems.hxx.

References aCursorPos.

Referenced by ScCellShell::Execute().

const OUString& ScInputStatusItem::GetString ( ) const
inline

Definition at line 69 of file uiitems.hxx.

References aString.

Referenced by ScCellShell::Execute().

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

Implements SfxPoolItem.

Definition at line 60 of file uiitems.cxx.

References aCursorPos, aEndPos, assert(), aStartPos, and aString.

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

Definition at line 76 of file uiitems.cxx.

References mpMisspellRanges.

Referenced by ScInputHandler::EnterHandler().

Member Data Documentation

ScAddress ScInputStatusItem::aCursorPos
private

Definition at line 46 of file uiitems.hxx.

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

ScAddress ScInputStatusItem::aEndPos
private

Definition at line 48 of file uiitems.hxx.

Referenced by operator==().

ScAddress ScInputStatusItem::aStartPos
private

Definition at line 47 of file uiitems.hxx.

Referenced by operator==().

OUString ScInputStatusItem::aString
private

Definition at line 49 of file uiitems.hxx.

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

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

Definition at line 51 of file uiitems.hxx.

Referenced by GetMisspellRanges(), and SetMisspellRanges().

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

Definition at line 50 of file uiitems.hxx.


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