|
LibreOffice Module cui (master) 1
|
#include <memory>#include <svl/eitem.hxx>#include <svl/stritem.hxx>#include <dialmgr.hxx>#include <svx/dlgutil.hxx>#include <editeng/sizeitem.hxx>#include <editeng/brushitem.hxx>#include <grfpage.hxx>#include <svx/grfcrop.hxx>#include <rtl/ustring.hxx>#include <tools/debug.hxx>#include <tools/fract.hxx>#include <svx/svxids.hrc>#include <strings.hrc>#include <vcl/fieldvalues.hxx>#include <vcl/outdev.hxx>#include <vcl/settings.hxx>#include <vcl/svapp.hxx>#include <svtools/unitconv.hxx>#include <svtools/optionsdrawinglayer.hxx>#include <basegfx/matrix/b2dhommatrix.hxx>#include <basegfx/polygon/b2dpolygontools.hxx>#include <o3tl/unit_conversion.hxx>Go to the source code of this file.
Functions | |
| static int | lcl_GetValue (const weld::MetricSpinButton &rMetric, FieldUnit eUnit) |
| IMPL_LINK (SvxGrfCropPage, ZoomHdl, weld::MetricSpinButton &, rField, void) | |
| IMPL_LINK (SvxGrfCropPage, SizeHdl, weld::MetricSpinButton &, rField, void) | |
| IMPL_LINK (SvxGrfCropPage, CropModifyHdl, weld::MetricSpinButton &, rField, void) | |
| IMPL_LINK_NOARG (SvxGrfCropPage, OrigSizeHdl, weld::Button &, void) | |
Variables | |
| constexpr auto | CM_1_TO_TWIP = o3tl::convert(1, o3tl::Length::cm, o3tl::Length::twip) |
| IMPL_LINK | ( | SvxGrfCropPage | , |
| CropModifyHdl | , | ||
| weld::MetricSpinButton & | , | ||
| rField | , | ||
| void | |||
| ) |
Definition at line 423 of file grfpage.cxx.
References DBG_ASSERT, GetItemSet(), AllSettings::GetLayoutRTL(), SfxItemPool::GetMetric(), SfxItemSet::GetPool(), SfxItemPool::GetWhich(), lcl_GetValue(), and MapToFieldUnit().
| IMPL_LINK | ( | SvxGrfCropPage | , |
| SizeHdl | , | ||
| weld::MetricSpinButton & | , | ||
| rField | , | ||
| void | |||
| ) |
Definition at line 387 of file grfpage.cxx.
References DBG_ASSERT, GetItemSet(), SfxItemPool::GetMetric(), SfxItemSet::GetPool(), SfxItemPool::GetWhich(), Size::Height(), lcl_GetValue(), MapToFieldUnit(), and Size::Width().
| IMPL_LINK | ( | SvxGrfCropPage | , |
| ZoomHdl | , | ||
| weld::MetricSpinButton & | , | ||
| rField | , | ||
| void | |||
| ) |
Definition at line 358 of file grfpage.cxx.
References DBG_ASSERT, GetItemSet(), SfxItemPool::GetMetric(), SfxItemSet::GetPool(), SfxItemPool::GetWhich(), lcl_GetValue(), and MapToFieldUnit().
| IMPL_LINK_NOARG | ( | SvxGrfCropPage | , |
| OrigSizeHdl | , | ||
| weld::Button & | , | ||
| void | |||
| ) |
Definition at line 508 of file grfpage.cxx.
References DBG_ASSERT, GetItemSet(), SfxItemPool::GetMetric(), SfxItemSet::GetPool(), SfxItemPool::GetWhich(), lcl_GetValue(), and MapToFieldUnit().
|
static |
Definition at line 47 of file grfpage.cxx.
References weld::MetricSpinButton::denormalize(), and weld::MetricSpinButton::get_value().
Referenced by SvxGrfCropPage::CalcMinMaxBorder(), SvxGrfCropPage::CalcZoom(), SvxGrfCropPage::FillItemSet(), SvxGrfCropPage::GraphicHasChanged(), IMPL_LINK(), and IMPL_LINK_NOARG().
|
constexpr |
Definition at line 44 of file grfpage.cxx.
Referenced by SvxGrfCropPage::Reset(), and SvxCropExample::SetDrawingArea().