#include <edit.hxx>
Collaboration diagram for SmEditWindow:

Public Member Functions | |
| SmEditWindow (SmCmdBoxWindow &rMyCmdBoxWin) | |
| ~SmEditWindow () | |
| SmDocShell * | GetDoc () |
| SmViewShell * | GetView () |
| EditView * | GetEditView () |
| EditEngine * | GetEditEngine () |
| SfxItemPool * | GetEditEngineItemPool () |
| virtual void | SetText (const XubString &rText) |
| virtual String | GetText () const |
| virtual void | GetFocus () |
| virtual void | LoseFocus () |
| ESelection | GetSelection () const |
| void | SetSelection (const ESelection &rSel) |
| BOOL | IsEmpty () const |
| BOOL | IsSelected () const |
| BOOL | IsAllSelected () const |
| void | Cut () |
| void | Copy () |
| void | Paste () |
| void | Delete () |
| void | SelectAll () |
| void | InsertText (const String &rText) |
| void | InsertCommand (USHORT nCommand) |
| void | MarkError (const Point &rPos) |
| void | SelNextMark () |
| void | SelPrevMark () |
| BOOL | HasMark (const String &rText) const |
| void | Flush () |
| void | DeleteEditView (SmViewShell &rView) |
| void | ApplyColorConfigValues (const svtools::ColorConfig &rColorCfg) |
| BOOL | HandleWheelCommands (const CommandEvent &rCEvt) |
| virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > | CreateAccessible () |
| SmEditAccessible * | GetAccessible () |
Private Member Functions | |
| virtual void | KeyInput (const KeyEvent &rKEvt) |
| virtual void | Command (const CommandEvent &rCEvt) |
| DECL_LINK (MenuSelectHdl, Menu *) | |
| DECL_LINK (ModifyTimerHdl, Timer *) | |
| DECL_LINK (CursorMoveTimerHdl, Timer *) | |
| virtual void | DataChanged (const DataChangedEvent &) |
| virtual void | Resize () |
| virtual void | MouseMove (const MouseEvent &rEvt) |
| virtual void | MouseButtonUp (const MouseEvent &rEvt) |
| virtual void | MouseButtonDown (const MouseEvent &rEvt) |
| virtual sal_Int8 | AcceptDrop (const AcceptDropEvent &rEvt) |
| virtual sal_Int8 | ExecuteDrop (const ExecuteDropEvent &rEvt) |
| virtual void | Paint (const Rectangle &rRect) |
| DECL_LINK (EditStatusHdl, EditStatus *) | |
| DECL_LINK (ScrollHdl, ScrollBar *) | |
| void | CreateEditView () |
| Rectangle | AdjustScrollBars () |
| void | SetScrollBarRanges () |
| void | InitScrollBars () |
Private Attributes | |
| ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > | xAccessible |
| SmEditAccessible * | pAccessible |
| SmCmdBoxWindow & | rCmdBox |
| EditView * | pEditView |
| ScrollBar * | pHScrollBar |
| ScrollBar * | pVScrollBar |
| ScrollBarBox * | pScrollBox |
| Timer | aModifyTimer |
| Timer | aCursorMoveTimer |
| ESelection | aOldSelection |
Definition at line 78 of file edit.hxx.
| SmEditWindow::SmEditWindow | ( | SmCmdBoxWindow & | rMyCmdBoxWin | ) |
Definition at line 147 of file edit.cxx.
References aCursorMoveTimer, aModifyTimer, ApplyColorConfigValues(), SmCmdBoxWindow::GetEditWindow(), rCmdBox, and SM_MOD1.
| SmEditWindow::~SmEditWindow | ( | ) |
Definition at line 181 of file edit.cxx.
References aCursorMoveTimer, aModifyTimer, SmEditAccessible::ClearWin(), pAccessible, pEditView, pHScrollBar, pScrollBox, and pVScrollBar.
| virtual void SmEditWindow::KeyInput | ( | const KeyEvent & | rKEvt | ) | [private, virtual] |
| virtual void SmEditWindow::Command | ( | const CommandEvent & | rCEvt | ) | [private, virtual] |
| SmEditWindow::DECL_LINK | ( | MenuSelectHdl | , | |
| Menu * | ||||
| ) | [private] |
| SmEditWindow::DECL_LINK | ( | ModifyTimerHdl | , | |
| Timer * | ||||
| ) | [private] |
| SmEditWindow::DECL_LINK | ( | CursorMoveTimerHdl | , | |
| Timer * | ||||
| ) | [private] |
| void SmEditWindow::DataChanged | ( | const DataChangedEvent & | ) | [private, virtual] |
Definition at line 255 of file edit.cxx.
References AdjustScrollBars(), ApplyColorConfigValues(), C2S, GetEditEngine(), GetEditEngineItemPool(), Resize(), SetEditEngineDefaultFonts(), and SM_MOD1.
| virtual void SmEditWindow::Resize | ( | ) | [private, virtual] |
Referenced by DataChanged().
| virtual void SmEditWindow::MouseMove | ( | const MouseEvent & | rEvt | ) | [private, virtual] |
| virtual void SmEditWindow::MouseButtonUp | ( | const MouseEvent & | rEvt | ) | [private, virtual] |
| virtual void SmEditWindow::MouseButtonDown | ( | const MouseEvent & | rEvt | ) | [private, virtual] |
| virtual sal_Int8 SmEditWindow::AcceptDrop | ( | const AcceptDropEvent & | rEvt | ) | [private, virtual] |
| virtual sal_Int8 SmEditWindow::ExecuteDrop | ( | const ExecuteDropEvent & | rEvt | ) | [private, virtual] |
| virtual void SmEditWindow::Paint | ( | const Rectangle & | rRect | ) | [private, virtual] |
| SmEditWindow::DECL_LINK | ( | EditStatusHdl | , | |
| EditStatus * | ||||
| ) | [private] |
| SmEditWindow::DECL_LINK | ( | ScrollHdl | , | |
| ScrollBar * | ||||
| ) | [private] |
| void SmEditWindow::CreateEditView | ( | ) | [private] |
| Rectangle SmEditWindow::AdjustScrollBars | ( | ) | [private] |
Referenced by DataChanged().
| void SmEditWindow::SetScrollBarRanges | ( | ) | [private] |
| void SmEditWindow::InitScrollBars | ( | ) | [private] |
| SmDocShell * SmEditWindow::GetDoc | ( | ) |
Definition at line 217 of file edit.cxx.
References SmViewShell::GetDoc(), SmCmdBoxWindow::GetView(), and rCmdBox.
Referenced by GetEditEngine(), and GetEditEngineItemPool().
| SmViewShell * SmEditWindow::GetView | ( | ) |
Definition at line 211 of file edit.cxx.
References SmCmdBoxWindow::GetView(), and rCmdBox.
Referenced by SmEditAccessible::GetDoc_Impl().
| EditView* SmEditWindow::GetEditView | ( | ) | [inline] |
Definition at line 124 of file edit.hxx.
References pEditView.
Referenced by SmEditAccessible::Init().
| EditEngine * SmEditWindow::GetEditEngine | ( | ) |
Definition at line 224 of file edit.cxx.
References GetDoc(), SmDocShell::GetEditEngine(), and pEditView.
Referenced by DataChanged(), and SmEditAccessible::Init().
| SfxItemPool * SmEditWindow::GetEditEngineItemPool | ( | ) |
Definition at line 239 of file edit.cxx.
References GetDoc(), and SmDocShell::GetEditEngineItemPool().
Referenced by DataChanged().
| virtual void SmEditWindow::SetText | ( | const XubString & | rText | ) | [virtual] |
Referenced by SmEditController::StateChanged().
| virtual String SmEditWindow::GetText | ( | ) | const [virtual] |
Referenced by SmViewShell::Execute(), and SmEditController::StateChanged().
| virtual void SmEditWindow::GetFocus | ( | ) | [virtual] |
| virtual void SmEditWindow::LoseFocus | ( | ) | [virtual] |
| ESelection SmEditWindow::GetSelection | ( | ) | const |
Referenced by SmGraphicWindow::Paint().
| void SmEditWindow::SetSelection | ( | const ESelection & | rSel | ) |
Referenced by SmGraphicWindow::MouseButtonDown().
| BOOL SmEditWindow::IsEmpty | ( | ) | const |
Referenced by SmViewShell::GetState().
| BOOL SmEditWindow::IsSelected | ( | ) | const |
Referenced by SmViewShell::GetState().
| BOOL SmEditWindow::IsAllSelected | ( | ) | const |
Referenced by SmViewShell::Execute().
| void SmEditWindow::Cut | ( | ) |
Referenced by SmViewShell::Execute().
| void SmEditWindow::Copy | ( | ) |
Referenced by SmViewShell::Execute().
| void SmEditWindow::Paste | ( | ) |
Referenced by SmViewShell::Execute().
| void SmEditWindow::Delete | ( | ) |
Referenced by SmViewShell::Execute().
| void SmEditWindow::SelectAll | ( | ) |
Referenced by SmViewShell::Execute().
| void SmEditWindow::InsertText | ( | const String & | rText | ) |
Referenced by SmViewShell::Execute(), SmViewShell::Insert(), and SmViewShell::InsertFrom().
| void SmEditWindow::InsertCommand | ( | USHORT | nCommand | ) |
Referenced by SmViewShell::Execute().
| void SmEditWindow::MarkError | ( | const Point & | rPos | ) |
Referenced by SmViewShell::ShowError().
| void SmEditWindow::SelNextMark | ( | ) |
Referenced by SmViewShell::Execute().
| void SmEditWindow::SelPrevMark | ( | ) |
Referenced by SmViewShell::Execute().
| BOOL SmEditWindow::HasMark | ( | const String & | rText | ) | const |
| void SmEditWindow::Flush | ( | ) |
Referenced by SmViewShell::Deactivate().
| void SmEditWindow::DeleteEditView | ( | SmViewShell & | rView | ) |
Referenced by SmViewShell::~SmViewShell().
| void SmEditWindow::ApplyColorConfigValues | ( | const svtools::ColorConfig & | rColorCfg | ) |
Definition at line 245 of file edit.cxx.
Referenced by SmModule::ApplyColorConfigValues(), DataChanged(), and SmEditWindow().
| BOOL SmEditWindow::HandleWheelCommands | ( | const CommandEvent & | rCEvt | ) |
| virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > SmEditWindow::CreateAccessible | ( | ) |
| SmEditAccessible* SmEditWindow::GetAccessible | ( | ) | [inline] |
Definition at line 163 of file edit.hxx.
References pAccessible.
Referenced by SmEditAccessible::getBounds(), SmEditAccessible::getLocation(), SmEditAccessible::getLocationOnScreen(), and SmEditAccessible::getSize().
::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > SmEditWindow::xAccessible [private] |
SmEditAccessible* SmEditWindow::pAccessible [private] |
SmCmdBoxWindow& SmEditWindow::rCmdBox [private] |
EditView* SmEditWindow::pEditView [private] |
Definition at line 85 of file edit.hxx.
Referenced by GetEditEngine(), GetEditView(), and ~SmEditWindow().
ScrollBar* SmEditWindow::pHScrollBar [private] |
ScrollBar * SmEditWindow::pVScrollBar [private] |
ScrollBarBox* SmEditWindow::pScrollBox [private] |
Timer SmEditWindow::aModifyTimer [private] |
Timer SmEditWindow::aCursorMoveTimer [private] |
ESelection SmEditWindow::aOldSelection [private] |
1.5.1