LibreOffice Module sd (master) 1
|
#include <tools/mapunit.hxx>
#include <tools/urlobj.hxx>
#include <editeng/numitem.hxx>
#include <svl/eitem.hxx>
#include <svl/itempool.hxx>
#include <svx/colorbox.hxx>
#include <svx/strarray.hxx>
#include <svx/gallery.hxx>
#include <editeng/brushitem.hxx>
#include <svl/intitem.hxx>
#include <vcl/graph.hxx>
#include <svtools/unitconv.hxx>
#include <svx/svxids.hrc>
#include <algorithm>
#include <memory>
#include <vector>
#include <sfx2/opengrf.hxx>
#include <strings.hrc>
#include <svl/stritem.hxx>
#include <sal/log.hxx>
#include <vcl/virdev.hxx>
#include <svx/SvxNumOptionsTabPageHelper.hxx>
#include <View.hxx>
#include <drawdoc.hxx>
#include <cui/cuicharmap.hxx>
#include <BulletAndPositionDlg.hxx>
#include <sdresid.hxx>
#include <DrawViewShell.hxx>
Go to the source code of this file.
Macros | |
#define | SHOW_NUMBERING 0 |
#define | SHOW_BULLET 1 |
#define | SHOW_BITMAP 2 |
#define | MAX_BMP_WIDTH 16 |
#define | MAX_BMP_HEIGHT 16 |
Variables | |
static bool | bLastRelative = false |
#define MAX_BMP_HEIGHT 16 |
Definition at line 56 of file BulletAndPositionDlg.cxx.
#define MAX_BMP_WIDTH 16 |
Definition at line 55 of file BulletAndPositionDlg.cxx.
#define SHOW_BITMAP 2 |
Definition at line 53 of file BulletAndPositionDlg.cxx.
#define SHOW_BULLET 1 |
Definition at line 52 of file BulletAndPositionDlg.cxx.
#define SHOW_NUMBERING 0 |
Definition at line 51 of file BulletAndPositionDlg.cxx.
IMPL_LINK | ( | SvxBulletAndPositionDlg | , |
ApplyToMasterHdl_Impl | , | ||
weld::Toggleable & | , | ||
rButton | , | ||
void | |||
) |
Definition at line 1112 of file BulletAndPositionDlg.cxx.
IMPL_LINK | ( | SvxBulletAndPositionDlg | , |
BulColorHdl_Impl | , | ||
ColorListBox & | , | ||
rColorBox | , | ||
void | |||
) |
Definition at line 750 of file BulletAndPositionDlg.cxx.
References i, and SvxNumberFormat::SetBulletColor().
IMPL_LINK | ( | SvxBulletAndPositionDlg | , |
BulRelSizeHdl_Impl | , | ||
weld::MetricSpinButton & | , | ||
rField | , | ||
void | |||
) |
Definition at line 768 of file BulletAndPositionDlg.cxx.
References i, and SvxNumberFormat::SetBulletRelSize().
IMPL_LINK | ( | SvxBulletAndPositionDlg | , |
DistanceHdl_Impl | , | ||
weld::MetricSpinButton & | , | ||
rFld | , | ||
void | |||
) |
Definition at line 1132 of file BulletAndPositionDlg.cxx.
References SvxNumberFormat::GetAbsLSpace(), GetCoreValue(), SvxNumberFormat::GetFirstLineOffset(), i, nValue, SvxNumberFormat::SetAbsLSpace(), and SvxNumberFormat::SetFirstLineOffset().
IMPL_LINK | ( | SvxBulletAndPositionDlg | , |
EditModifyHdl_Impl | , | ||
weld::Entry & | , | ||
rEdit | , | ||
void | |||
) |
Definition at line 1122 of file BulletAndPositionDlg.cxx.
IMPL_LINK | ( | SvxBulletAndPositionDlg | , |
GraphicHdl_Impl | , | ||
const OUString & | , | ||
rIdent | , | ||
void | |||
) |
Definition at line 786 of file BulletAndPositionDlg.cxx.
References SvxOpenGraphicDialog::AsLink(), SvxOpenGraphicDialog::EnableLink(), SvxOpenGraphicDialog::Execute(), GALLERY_THEME_BULLETS, SvxNumberFormat::GetBrush(), SvxOpenGraphicDialog::GetGraphic(), GalleryExplorer::GetGraphicObj(), SvxNumberFormat::GetGraphicSize(), SvxNumberFormat::GetGraphicSizeMM100(), SvxOpenGraphicDialog::GetPath(), SvxNumberFormat::GetVertOrient(), Size::Height(), i, idx, OutputDevice::LogicToLogic(), SdResId(), SvxNumberFormat::SetCharFormatName(), SvxNumberFormat::SetGraphic(), SvxNumberFormat::SetGraphicBrush(), SetMetricValue(), and Size::Width().
IMPL_LINK | ( | SvxBulletAndPositionDlg | , |
LevelHdl_Impl | , | ||
weld::TreeView & | , | ||
rBox | , | ||
void | |||
) |
Definition at line 664 of file BulletAndPositionDlg.cxx.
References i.
IMPL_LINK | ( | SvxBulletAndPositionDlg | , |
NumberTypeSelectHdl_Impl | , | ||
weld::ComboBox & | , | ||
rBox | , | ||
void | |||
) |
Definition at line 699 of file BulletAndPositionDlg.cxx.
References SvxNumberFormat::GetBrush(), SvxNumberFormat::GetBulletChar(), SvxNumberFormat::GetBulletFont(), SvxNumberType::GetNumberingType(), i, LINK_TOKEN, nNumType, SvxNumberFormat::SetBulletChar(), SvxNumberFormat::SetBulletFont(), SvxNumberFormat::SetGraphic(), SvxNumberFormat::SetIncludeUpperLevels(), SvxNumberFormat::SetListFormat(), SvxNumberType::SetNumberingType(), SHOW_BITMAP, SHOW_BULLET, SHOW_NUMBERING, SVX_DEF_BULLET, SVX_NUM_BITMAP, and SVX_NUM_CHAR_SPECIAL.
IMPL_LINK | ( | SvxBulletAndPositionDlg | , |
RatioHdl_Impl | , | ||
weld::Toggleable & | , | ||
rBox | , | ||
void | |||
) |
Definition at line 1047 of file BulletAndPositionDlg.cxx.
IMPL_LINK | ( | SvxBulletAndPositionDlg | , |
RelativeHdl_Impl | , | ||
weld::Toggleable & | , | ||
rBox | , | ||
void | |||
) |
Definition at line 1191 of file BulletAndPositionDlg.cxx.
References bLastRelative, SvxNumberFormat::GetAbsLSpace(), SvxNumberFormat::GetFirstLineOffset(), i, nValue, SAL_MAX_UINT16, and SetMetricValue().
IMPL_LINK | ( | SvxBulletAndPositionDlg | , |
SelectCenterAlignmentHdl_Impl | , | ||
weld::Toggleable & | , | ||
rButton | , | ||
void | |||
) |
Definition at line 1071 of file BulletAndPositionDlg.cxx.
IMPL_LINK | ( | SvxBulletAndPositionDlg | , |
SelectLeftAlignmentHdl_Impl | , | ||
weld::Toggleable & | , | ||
rButton | , | ||
void | |||
) |
Definition at line 1058 of file BulletAndPositionDlg.cxx.
IMPL_LINK | ( | SvxBulletAndPositionDlg | , |
SelectRightAlignmentHdl_Impl | , | ||
weld::Toggleable & | , | ||
rButton | , | ||
void | |||
) |
Definition at line 1084 of file BulletAndPositionDlg.cxx.
IMPL_LINK | ( | SvxBulletAndPositionDlg | , |
SizeHdl_Impl | , | ||
weld::MetricSpinButton & | , | ||
rField | , | ||
void | |||
) |
Definition at line 975 of file BulletAndPositionDlg.cxx.
References SvxNumberFormat::GetBrush(), SvxNumberFormat::GetGraphicSize(), SvxNumberType::GetNumberingType(), SvxNumberFormat::GetVertOrient(), Height, Size::Height(), i, LINK_TOKEN, OutputDevice::LogicToLogic(), SvxNumberFormat::SetGraphicBrush(), Size::setHeight(), Size::setWidth(), SVX_NUM_BITMAP, Width, and Size::Width().
IMPL_LINK | ( | SvxBulletAndPositionDlg | , |
SpinModifyHdl_Impl | , | ||
weld::SpinButton & | , | ||
rSpinButton | , | ||
void | |||
) |
Definition at line 1127 of file BulletAndPositionDlg.cxx.
IMPL_LINK_NOARG | ( | SvxBulletAndPositionDlg | , |
BulletHdl_Impl | , | ||
weld::Button & | , | ||
void | |||
) |
Definition at line 917 of file BulletAndPositionDlg.cxx.
References aMap, SvxNumberFormat::GetBulletChar(), SvxNumberFormat::GetBulletFont(), i, RET_OK, SvxNumberFormat::SetBulletChar(), and SvxNumberFormat::SetBulletFont().
IMPL_LINK_NOARG | ( | SvxBulletAndPositionDlg | , |
PopupActivateHdl_Impl | , | ||
weld::Toggleable & | , | ||
void | |||
) |
Definition at line 863 of file BulletAndPositionDlg.cxx.
References GalleryExplorer::BeginLocking(), GalleryExplorer::EndLocking(), GalleryExplorer::FillObjList(), GALLERY_THEME_BULLETS, Graphic::GetBitmapEx(), GalleryExplorer::GetGraphicObj(), INetURLObject::GetLastName(), INetURLObject::GetProtocol(), BitmapEx::GetSizePixel(), Size::Height(), i, MAX_BMP_HEIGHT, MAX_BMP_WIDTH, INetURLObject::PathToFileName(), INetURLObject::removeExtension(), BitmapEx::Scale(), Size::Width(), and INetURLObject::WithCharset.
IMPL_LINK_NOARG | ( | SvxBulletAndPositionDlg | , |
PreviewInvalidateHdl_Impl | , | ||
Timer * | , | ||
void | |||
) |
Definition at line 694 of file BulletAndPositionDlg.cxx.
IMPL_LINK_NOARG | ( | SvxBulletAndPositionDlg | , |
ResetHdl_Impl | , | ||
weld::Button & | , | ||
void | |||
) |
Definition at line 1117 of file BulletAndPositionDlg.cxx.
References Reset.
|
static |
Definition at line 60 of file BulletAndPositionDlg.cxx.
References FAMILY_DONTKNOW, PITCH_DONTKNOW, vcl::Font::SetCharSet(), vcl::Font::SetFamily(), vcl::Font::SetPitch(), vcl::Font::SetTransparent(), vcl::Font::SetWeight(), and WEIGHT_DONTKNOW.
|
static |
Definition at line 58 of file BulletAndPositionDlg.cxx.
Referenced by IMPL_LINK().