|
LibreOffice Module svx (master) 1
|
#include <vcl/status.hxx>#include <vcl/image.hxx>#include <vcl/timer.hxx>#include <vcl/idle.hxx>#include <vcl/event.hxx>#include <svl/eitem.hxx>#include <tools/debug.hxx>#include <svx/strings.hrc>#include <svx/modctrl.hxx>#include <svx/dialmgr.hxx>#include <com/sun/star/beans/PropertyValue.hpp>#include "modctrl_internal.hxx"#include <bitmaps.hlst>Go to the source code of this file.
Classes | |
| struct | SvxModifyControl::ImplData |
Functions | |
| SFX_IMPL_STATUSBAR_CONTROL (SvxModifyControl, SfxBoolItem) | |
| IMPL_LINK (SvxModifyControl, OnTimer, Timer *, pTimer, void) | |
| Point | centerImage (const tools::Rectangle &rBoundingRect, const Image &rImg) |
| Given a bounding rectangle and an image, determine the top-left position of the image so that the image would look centered both horizontally and vertically. More... | |
| Point centerImage | ( | const tools::Rectangle & | rBoundingRect, |
| const Image & | rImg | ||
| ) |
Given a bounding rectangle and an image, determine the top-left position of the image so that the image would look centered both horizontally and vertically.
| rBoundingRect | bounding rectangle |
| rImg | image |
Definition at line 127 of file modctrl.cxx.
References Size::getHeight(), tools::Rectangle::GetSize(), Image::GetSizePixel(), Size::getWidth(), and tools::Rectangle::TopLeft().
Referenced by SvxZoomPageStatusBarControl::Paint(), and SvxModifyControl::Paint().
| IMPL_LINK | ( | SvxModifyControl | , |
| OnTimer | , | ||
| Timer * | , | ||
| pTimer | , | ||
| void | |||
| ) |
Definition at line 100 of file modctrl.cxx.
| SFX_IMPL_STATUSBAR_CONTROL | ( | SvxModifyControl | , |
| SfxBoolItem | |||
| ) |