LibreOffice Module sc (master) 1
|
#include <textuno.hxx>
Public Member Functions | |
ScCellTextData (ScDocShell *pDocSh, const ScAddress &rP) | |
virtual | ~ScCellTextData () override |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override |
virtual SvxTextForwarder * | GetTextForwarder () |
void | UpdateData () |
ScFieldEditEngine * | GetEditEngine () |
ScCellEditSource * | GetOriginalSource () |
ScDocShell * | GetDocShell () const |
const ScAddress & | GetCellPos () const |
bool | IsDirty () const |
void | SetDoUpdate (bool bValue) |
Public Member Functions inherited from SfxListener | |
SfxListener () | |
SfxListener (const SfxListener &rCopy) | |
virtual | ~SfxListener () COVERITY_NOEXCEPT_FALSE |
void | StartListening (SfxBroadcaster &rBroadcaster, DuplicateHandling eDuplicateHanding=DuplicateHandling::Unexpected) |
void | EndListening (SfxBroadcaster &rBroadcaster, bool bRemoveAllDuplicates=false) |
void | EndListeningAll () |
bool | IsListening (SfxBroadcaster &rBroadcaster) const |
sal_uInt16 | GetBroadcasterCount () const |
SfxBroadcaster * | GetBroadcasterJOE (sal_uInt16 nNo) const |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) |
void | RemoveBroadcaster_Impl (SfxBroadcaster &rBC) |
virtual bool | IsSdrView () const |
Protected Attributes | |
ScDocShell * | pDocShell |
ScAddress | aCellPos |
std::unique_ptr< ScFieldEditEngine > | pEditEngine |
std::unique_ptr< SvxEditEngineForwarder > | pForwarder |
std::unique_ptr< ScCellEditSource > | pOriginalSource |
bool | bDataValid |
bool | bInUpdate |
bool | bDirty |
bool | bDoUpdate |
Definition at line 319 of file textuno.hxx.
ScCellTextData::ScCellTextData | ( | ScDocShell * | pDocSh, |
const ScAddress & | rP | ||
) |
Definition at line 723 of file textuno.cxx.
References ScDocument::AddUnoObject(), ScDocShell::GetDocument(), and pDocShell.
|
overridevirtual |
Definition at line 735 of file textuno.cxx.
References ScDocument::DisposeFieldEditEngine(), ScDocShell::GetDocument(), pDocShell, pEditEngine, pForwarder, pOriginalSource, and ScDocument::RemoveUnoObject().
|
inline |
Definition at line 347 of file textuno.hxx.
|
inline |
Definition at line 346 of file textuno.hxx.
|
inline |
Definition at line 341 of file textuno.hxx.
ScCellEditSource * ScCellTextData::GetOriginalSource | ( | ) |
Definition at line 752 of file textuno.cxx.
References aCellPos, pDocShell, and pOriginalSource.
|
virtual |
Reimplemented in ScAccessibleCellTextData, ScAccessiblePreviewCellTextData, and ScAccessiblePreviewHeaderCellTextData.
Definition at line 759 of file textuno.cxx.
References aCellPos, bDataValid, CELLTYPE_EDIT, ScAddress::Col(), ScDocument::CreateFieldEditEngine(), EditEngine::CreatePool(), ScDocShell::GetDocument(), ScRefCellValue::getEditText(), ScDocument::GetFormatTable(), ScCellFormat::GetInputString(), ScDocument::GetNumberFormat(), ScDocument::GetPattern(), ScDocShell::GetRefDevice(), ScRefCellValue::getType(), pDocShell, pEditEngine, pForwarder, ScAddress::Row(), and ScAddress::Tab().
Referenced by ScAccessibleCellTextData::GetTextForwarder(), and ScAccessiblePreviewCellTextData::GetTextForwarder().
|
inline |
Definition at line 349 of file textuno.hxx.
|
overridevirtual |
Reimplemented from SfxListener.
Reimplemented in ScAccessibleCellBaseTextData, ScAccessibleCellTextData, ScAccessiblePreviewCellTextData, and ScAccessiblePreviewHeaderCellTextData.
Definition at line 842 of file textuno.cxx.
References bDataValid, bInUpdate, SfxHint::GetId(), nId, pDocShell, pEditEngine, and pForwarder.
Referenced by ScAccessibleCellBaseTextData::Notify().
|
inline |
Definition at line 350 of file textuno.hxx.
void ScCellTextData::UpdateData | ( | ) |
Definition at line 821 of file textuno.cxx.
References aCellPos, bDirty, bDoUpdate, bInUpdate, ScDocShell::GetDocFunc(), pDocShell, pEditEngine, and ScDocFunc::PutData().
Referenced by ScAccessibleCellBaseTextData::UpdateData().
|
protected |
Definition at line 323 of file textuno.hxx.
Referenced by ScAccessibleCellTextData::Clone(), ScAccessiblePreviewCellTextData::Clone(), ScAccessiblePreviewHeaderCellTextData::Clone(), GetOriginalSource(), GetTextForwarder(), ScAccessibleCellTextData::GetTextForwarder(), ScAccessiblePreviewCellTextData::GetTextForwarder(), ScAccessiblePreviewHeaderCellTextData::GetTextForwarder(), and UpdateData().
|
protected |
Definition at line 327 of file textuno.hxx.
Referenced by GetTextForwarder(), ScAccessiblePreviewHeaderCellTextData::GetTextForwarder(), and Notify().
|
protected |
Definition at line 329 of file textuno.hxx.
Referenced by UpdateData().
|
protected |
Definition at line 330 of file textuno.hxx.
Referenced by UpdateData().
|
protected |
Definition at line 328 of file textuno.hxx.
Referenced by Notify(), and UpdateData().
|
protected |
Definition at line 322 of file textuno.hxx.
Referenced by GetOriginalSource(), GetTextForwarder(), ScAccessibleCellTextData::GetTextForwarder(), ScAccessiblePreviewHeaderCellTextData::GetTextForwarder(), Notify(), ScCellTextData(), UpdateData(), and ~ScCellTextData().
|
protected |
Definition at line 324 of file textuno.hxx.
Referenced by GetTextForwarder(), ScAccessibleCellTextData::GetTextForwarder(), ScAccessiblePreviewCellTextData::GetTextForwarder(), ScAccessiblePreviewHeaderCellTextData::GetTextForwarder(), Notify(), UpdateData(), ScAccessibleCellTextData::~ScAccessibleCellTextData(), ScAccessiblePreviewCellTextData::~ScAccessiblePreviewCellTextData(), ScAccessiblePreviewHeaderCellTextData::~ScAccessiblePreviewHeaderCellTextData(), and ~ScCellTextData().
|
protected |
Definition at line 325 of file textuno.hxx.
Referenced by GetTextForwarder(), ScAccessibleCellTextData::GetTextForwarder(), ScAccessiblePreviewCellTextData::GetTextForwarder(), ScAccessiblePreviewHeaderCellTextData::GetTextForwarder(), Notify(), and ~ScCellTextData().
|
protected |
Definition at line 326 of file textuno.hxx.
Referenced by GetOriginalSource(), and ~ScCellTextData().