LibreOffice Module sc (master) 1
|
#include <AccessibleText.hxx>
Public Member Functions | |
ScAccessibleEditLineTextData (EditView *pEditView, OutputDevice *pWin, ScTextWnd *pTextWnd) | |
virtual | ~ScAccessibleEditLineTextData () override |
virtual ScAccessibleTextData * | Clone () const override |
virtual SvxTextForwarder * | GetTextForwarder () override |
virtual SvxEditViewForwarder * | GetEditViewForwarder (bool bCreate) override |
void | Dispose () |
void | TextChanged () |
void | StartEdit () |
void | EndEdit () |
Public Member Functions inherited from ScAccessibleEditObjectTextData | |
ScAccessibleEditObjectTextData (EditView *pEditView, OutputDevice *pWin, bool isClone=false) | |
virtual | ~ScAccessibleEditObjectTextData () override |
virtual ScAccessibleTextData * | Clone () const override |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override |
virtual SvxTextForwarder * | GetTextForwarder () override |
virtual SvxViewForwarder * | GetViewForwarder () override |
virtual SvxEditViewForwarder * | GetEditViewForwarder (bool bCreate) override |
virtual void | UpdateData () override |
DECL_LINK (NotifyHdl, EENotify &, void) | |
Public Member Functions inherited from ScAccessibleTextData | |
ScAccessibleTextData () | |
virtual ScAccessibleTextData * | Clone () const =0 |
virtual void | Notify (SfxBroadcaster &, const SfxHint &) override |
virtual SvxTextForwarder * | GetTextForwarder ()=0 |
virtual SvxViewForwarder * | GetViewForwarder ()=0 |
virtual SvxEditViewForwarder * | GetEditViewForwarder (bool bCreate)=0 |
SfxBroadcaster & | GetBroadcaster () const |
virtual void | UpdateData ()=0 |
DECL_LINK (NotifyHdl, EENotify &, void) | |
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 |
Private Member Functions | |
void | ResetEditMode () |
Private Attributes | |
ScTextWnd * | mpTxtWnd |
bool | mbEditEngineCreated |
Additional Inherited Members | |
Protected Attributes inherited from ScAccessibleEditObjectTextData | |
std::unique_ptr< ScEditObjectViewForwarder > | mpViewForwarder |
std::unique_ptr< ScEditViewForwarder > | mpEditViewForwarder |
EditView * | mpEditView |
EditEngine * | mpEditEngine |
std::unique_ptr< SvxEditEngineForwarder > | mpForwarder |
VclPtr< OutputDevice > | mpWindow |
bool | mbIsCloned |
Definition at line 130 of file AccessibleText.hxx.
ScAccessibleEditLineTextData::ScAccessibleEditLineTextData | ( | EditView * | pEditView, |
OutputDevice * | pWin, | ||
ScTextWnd * | pTextWnd | ||
) |
Definition at line 751 of file AccessibleText.cxx.
References ScTextWnd::InsertAccessibleTextData(), and mpTxtWnd.
Referenced by Clone().
|
overridevirtual |
Definition at line 762 of file AccessibleText.cxx.
References EditView::GetEditEngine(), ScTextWnd::GetEditView(), ScTextWnd::HasEditView(), mbEditEngineCreated, ScAccessibleEditObjectTextData::mpEditEngine, mpTxtWnd, ScTextWnd::RemoveAccessibleTextData(), and EditEngine::SetNotifyHdl().
|
overridevirtual |
Reimplemented from ScAccessibleEditObjectTextData.
Definition at line 791 of file AccessibleText.cxx.
References ScAccessibleEditObjectTextData::mpEditView, mpTxtWnd, ScAccessibleEditObjectTextData::mpWindow, and ScAccessibleEditLineTextData().
void ScAccessibleEditLineTextData::Dispose | ( | ) |
Definition at line 781 of file AccessibleText.cxx.
References mpTxtWnd, ScAccessibleEditObjectTextData::mpWindow, ScTextWnd::RemoveAccessibleTextData(), and ResetEditMode().
void ScAccessibleEditLineTextData::EndEdit | ( | ) |
Definition at line 900 of file AccessibleText.cxx.
References SfxBroadcaster::Broadcast(), ScAccessibleTextData::GetBroadcaster(), ScAccessibleEditObjectTextData::mpEditView, and ResetEditMode().
|
overridevirtual |
Reimplemented from ScAccessibleEditObjectTextData.
Definition at line 848 of file AccessibleText.cxx.
References ScTextWnd::GetEditView(), ScAccessibleEditObjectTextData::GetEditViewForwarder(), ScTextWnd::HasEditView(), ScTextWnd::IsInputActive(), ScAccessibleEditObjectTextData::mpEditView, mpTxtWnd, and ScTextWnd::StartEditEngine().
|
overridevirtual |
Reimplemented from ScAccessibleEditObjectTextData.
Definition at line 796 of file AccessibleText.cxx.
References EditEngine::CreatePool(), EditEngine::EnableUndo(), ScTextWnd::GetEditView(), OutputDevice::GetOutputSizePixel(), EditEngine::GetRefMapMode(), ScAccessibleEditObjectTextData::GetTextForwarder(), ScTextWnd::GetTextString(), ScTextWnd::HasEditView(), LINK, mbEditEngineCreated, ScAccessibleEditObjectTextData::mpEditEngine, ScAccessibleEditObjectTextData::mpEditView, ScAccessibleEditObjectTextData::mpForwarder, mpTxtWnd, OutputDevice::PixelToLogic(), ResetEditMode(), EditEngine::SetNotifyHdl(), EditEngine::SetPaperSize(), EditEngine::SetRefMapMode(), and EditEngine::SetText().
|
private |
Definition at line 867 of file AccessibleText.cxx.
References EditView::GetEditEngine(), ScTextWnd::GetEditView(), ScTextWnd::HasEditView(), mbEditEngineCreated, ScAccessibleEditObjectTextData::mpEditEngine, ScAccessibleEditObjectTextData::mpEditViewForwarder, ScAccessibleEditObjectTextData::mpForwarder, mpTxtWnd, ScAccessibleEditObjectTextData::mpViewForwarder, and EditEngine::SetNotifyHdl().
Referenced by Dispose(), EndEdit(), GetTextForwarder(), and StartEdit().
void ScAccessibleEditLineTextData::StartEdit | ( | ) |
Definition at line 890 of file AccessibleText.cxx.
References SfxBroadcaster::Broadcast(), ScAccessibleTextData::GetBroadcaster(), ScAccessibleEditObjectTextData::mpEditView, and ResetEditMode().
void ScAccessibleEditLineTextData::TextChanged | ( | ) |
Definition at line 881 of file AccessibleText.cxx.
References ScTextWnd::GetTextString(), mbEditEngineCreated, ScAccessibleEditObjectTextData::mpEditEngine, mpTxtWnd, and EditEngine::SetText().
|
private |
Definition at line 151 of file AccessibleText.hxx.
Referenced by GetTextForwarder(), ResetEditMode(), TextChanged(), and ~ScAccessibleEditLineTextData().
|
private |
Definition at line 150 of file AccessibleText.hxx.
Referenced by Clone(), Dispose(), GetEditViewForwarder(), GetTextForwarder(), ResetEditMode(), ScAccessibleEditLineTextData(), TextChanged(), and ~ScAccessibleEditLineTextData().