#include <view.hxx>
Collaboration diagram for SmGraphicWindow:

Public Member Functions | |
| SmGraphicWindow (SmViewShell *pShell) | |
| ~SmGraphicWindow () | |
| virtual void | MouseButtonDown (const MouseEvent &rMEvt) |
| virtual void | GetFocus () |
| virtual void | LoseFocus () |
| SmViewShell * | GetView () |
| void | SetZoom (USHORT Factor) |
| USHORT | GetZoom () const |
| const Point & | GetFormulaDrawPos () const |
| void | ZoomToFitInWindow () |
| void | SetTotalSize () |
| BOOL | IsCursorVisible () const |
| void | ShowCursor (BOOL bShow) |
| const SmNode * | SetCursorPos (USHORT nRow, USHORT nCol) |
| void | ApplyColorConfigValues (const svtools::ColorConfig &rColorCfg) |
| virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > | CreateAccessible () |
| SmGraphicAccessible * | GetAccessible_Impl () |
Protected Member Functions | |
| void | SetFormulaDrawPos (const Point &rPos) |
| void | SetIsCursorVisible (BOOL bVis) |
| void | SetCursor (const SmNode *pNode) |
| void | SetCursor (const Rectangle &rRect) |
| virtual void | DataChanged (const DataChangedEvent &) |
| virtual void | Paint (const Rectangle &) |
| virtual void | KeyInput (const KeyEvent &rKEvt) |
| virtual void | Command (const CommandEvent &rCEvt) |
| virtual void | StateChanged (StateChangedType eChanged) |
| DECL_LINK (MenuSelectHdl, Menu *) | |
Private Attributes | |
| Point | aFormulaDrawPos |
| Rectangle | aCursorRect |
| ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > | xAccessible |
| SmGraphicAccessible * | pAccessible |
| SmViewShell * | pViewShell |
| USHORT | nZoom |
| short | nModifyCount |
| BOOL | bIsCursorVisible |
Definition at line 81 of file view.hxx.
| SmGraphicWindow::SmGraphicWindow | ( | SmViewShell * | pShell | ) |
Definition at line 186 of file view.cxx.
References ApplyColorConfigValues(), SetTotalSize(), and SM_MOD1.
| SmGraphicWindow::~SmGraphicWindow | ( | ) |
Definition at line 208 of file view.cxx.
References SmGraphicAccessible::ClearWin(), and pAccessible.
| void SmGraphicWindow::SetFormulaDrawPos | ( | const Point & | rPos | ) | [inline, protected] |
| void SmGraphicWindow::SetIsCursorVisible | ( | BOOL | bVis | ) | [inline, protected] |
Definition at line 97 of file view.hxx.
References bIsCursorVisible.
Referenced by Paint(), and ShowCursor().
| void SmGraphicWindow::SetCursor | ( | const SmNode * | pNode | ) | [protected] |
Definition at line 347 of file view.cxx.
References SmViewShell::GetDoc(), GetFormulaDrawPos(), SmDocShell::GetFormulaTree(), SmRect::GetItalicLeftSpace(), SmRect::GetItalicSize(), SmRect::GetTopLeft(), and pViewShell.
Referenced by MouseButtonDown(), and SetCursorPos().
| void SmGraphicWindow::SetCursor | ( | const Rectangle & | rRect | ) | [protected] |
Definition at line 361 of file view.cxx.
References aCursorRect, SmModule::GetConfig(), IsCursorVisible(), SmMathConfig::IsShowFormulaCursor(), ShowCursor(), and SM_MOD1.
| void SmGraphicWindow::DataChanged | ( | const DataChangedEvent & | ) | [protected, virtual] |
| void SmGraphicWindow::Paint | ( | const Rectangle & | ) | [protected, virtual] |
Definition at line 398 of file view.cxx.
References SmDocShell::Draw(), SmModule::GetConfig(), SmViewShell::GetDoc(), SmViewShell::GetEditWindow(), SmEditWindow::GetSelection(), SmMathConfig::IsShowFormulaCursor(), pViewShell, SetCursorPos(), SetFormulaDrawPos(), SetIsCursorVisible(), ShowCursor(), SM_MOD1, and SmGetLeftSelectionPart().
| void SmGraphicWindow::KeyInput | ( | const KeyEvent & | rKEvt | ) | [protected, virtual] |
| void SmGraphicWindow::Command | ( | const CommandEvent & | rCEvt | ) | [protected, virtual] |
| void SmGraphicWindow::StateChanged | ( | StateChangedType | eChanged | ) | [protected, virtual] |
| SmGraphicWindow::DECL_LINK | ( | MenuSelectHdl | , | |
| Menu * | ||||
| ) | [protected] |
| void SmGraphicWindow::MouseButtonDown | ( | const MouseEvent & | rMEvt | ) | [virtual] |
Definition at line 244 of file view.cxx.
References SmNode::FindRectClosestTo(), SmViewShell::GetDoc(), SmViewShell::GetEditWindow(), GetFormulaDrawPos(), SmDocShell::GetFormulaTree(), pViewShell, SetCursor(), SmEditWindow::SetSelection(), TPLACE, TSPECIAL, and TTEXT.
| void SmGraphicWindow::GetFocus | ( | ) | [virtual] |
| void SmGraphicWindow::LoseFocus | ( | ) | [virtual] |
Definition at line 322 of file view.cxx.
References SmGraphicAccessible::LaunchEvent(), pAccessible, and xAccessible.
| SmViewShell* SmGraphicWindow::GetView | ( | ) | [inline] |
Definition at line 118 of file view.hxx.
References pViewShell.
Referenced by SmGraphicAccessible::GetDoc_Impl(), and KeyInput().
| void SmGraphicWindow::SetZoom | ( | USHORT | Factor | ) |
Definition at line 503 of file view.cxx.
References MAXZOOM, and MINZOOM.
Referenced by Command(), SmViewShell::Execute(), SmViewShell::SetZoomFactor(), and ZoomToFitInWindow().
| USHORT SmGraphicWindow::GetZoom | ( | ) | const [inline] |
Definition at line 123 of file view.hxx.
References nZoom.
Referenced by Command(), SmViewShell::Execute(), and SmViewShell::GetState().
| const Point& SmGraphicWindow::GetFormulaDrawPos | ( | ) | const [inline] |
Definition at line 125 of file view.hxx.
References aFormulaDrawPos.
Referenced by MouseButtonDown(), and SetCursor().
| void SmGraphicWindow::ZoomToFitInWindow | ( | ) |
Definition at line 516 of file view.cxx.
References SmViewShell::GetDoc(), SmDocShell::GetSize(), pViewShell, and SetZoom().
Referenced by SmViewShell::Execute(), and SmViewShell::OuterResizePixel().
| void SmGraphicWindow::SetTotalSize | ( | ) |
Definition at line 427 of file view.cxx.
References SmViewShell::GetDoc(), SmDocShell::GetSize(), and pViewShell.
Referenced by SmViewShell::InnerResizePixel(), SmGraphicWindow(), and SmGraphicController::StateChanged().
| BOOL SmGraphicWindow::IsCursorVisible | ( | ) | const [inline] |
Definition at line 131 of file view.hxx.
References bIsCursorVisible.
Referenced by SetCursor(), and ShowCursor().
| void SmGraphicWindow::ShowCursor | ( | BOOL | bShow | ) |
Definition at line 335 of file view.cxx.
References aCursorRect, IsCursorVisible(), and SetIsCursorVisible().
Referenced by SmViewShell::Execute(), Paint(), SetCursor(), and SetCursorPos().
| const SmNode * SmGraphicWindow::SetCursorPos | ( | USHORT | nRow, | |
| USHORT | nCol | |||
| ) |
Definition at line 375 of file view.cxx.
References SmNode::FindTokenAt(), SmViewShell::GetDoc(), SmDocShell::GetFormulaTree(), pViewShell, SetCursor(), and ShowCursor().
Referenced by Paint().
| void SmGraphicWindow::ApplyColorConfigValues | ( | const svtools::ColorConfig & | rColorCfg | ) |
Definition at line 224 of file view.cxx.
Referenced by SmModule::ApplyColorConfigValues(), DataChanged(), and SmGraphicWindow().
| uno::Reference< XAccessible > SmGraphicWindow::CreateAccessible | ( | ) |
| SmGraphicAccessible* SmGraphicWindow::GetAccessible_Impl | ( | ) | [inline] |
Definition at line 141 of file view.hxx.
References pAccessible.
Referenced by SmDocShell::SetText().
Point SmGraphicWindow::aFormulaDrawPos [private] |
Rectangle SmGraphicWindow::aCursorRect [private] |
::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > SmGraphicWindow::xAccessible [private] |
SmGraphicAccessible* SmGraphicWindow::pAccessible [private] |
Definition at line 88 of file view.hxx.
Referenced by CreateAccessible(), GetAccessible_Impl(), LoseFocus(), and ~SmGraphicWindow().
SmViewShell* SmGraphicWindow::pViewShell [private] |
Definition at line 90 of file view.hxx.
Referenced by Command(), GetFocus(), GetView(), MouseButtonDown(), Paint(), SetCursor(), SetCursorPos(), SetTotalSize(), and ZoomToFitInWindow().
USHORT SmGraphicWindow::nZoom [private] |
short SmGraphicWindow::nModifyCount [private] |
BOOL SmGraphicWindow::bIsCursorVisible [private] |
1.5.1