LibreOffice Module sd (master) 1
|
Main class for handling the bullets, numbering format and their position. More...
#include <BulletAndPositionDlg.hxx>
Public Member Functions | |
SvxBulletAndPositionDlg (weld::Window *pWindow, const SfxItemSet &rSet, const ::sd::View *pView) | |
virtual | ~SvxBulletAndPositionDlg () override |
SfxItemSet * | GetOutputItemSet (SfxItemSet *rSet) |
bool | IsApplyToMaster () const |
bool | IsSlideScope () const |
void | Reset (const SfxItemSet *rSet) |
void | SetCharFmt (const OUString &rNumName) |
void | SetMetric (FieldUnit eSet) |
void | SetModified (bool bRepaint=true) |
![]() | |
GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId, bool bMobile=false) | |
virtual Dialog * | getDialog () override |
virtual | ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override |
![]() | |
virtual Dialog * | getDialog ()=0 |
const Dialog * | getConstDialog () const |
virtual short | run () |
void | set_title (const OUString &rTitle) |
OUString | get_title () const |
void | set_help_id (const OUString &rHelpId) |
OUString | get_help_id () const |
void | response (int nResponse) |
virtual | ~DialogController () COVERITY_NOEXCEPT_FALSE |
Private Member Functions | |
void | InitControls () |
void | SwitchNumberType (sal_uInt8 nType) |
To switch between the numbering type 0 - Number; 1 - Bullet; 2 - Bitmap;. More... | |
void | CheckForStartValue_Impl (sal_uInt16 nNumberingType) |
DECL_LINK (NumberTypeSelectHdl_Impl, weld::ComboBox &, void) | |
DECL_LINK (LevelHdl_Impl, weld::TreeView &, void) | |
DECL_LINK (PopupActivateHdl_Impl, weld::Toggleable &, void) | |
DECL_LINK (GraphicHdl_Impl, const OUString &, void) | |
DECL_LINK (BulletHdl_Impl, weld::Button &, void) | |
DECL_LINK (SizeHdl_Impl, weld::MetricSpinButton &, void) | |
DECL_LINK (RatioHdl_Impl, weld::Toggleable &, void) | |
DECL_LINK (EditModifyHdl_Impl, weld::Entry &, void) | |
DECL_LINK (SpinModifyHdl_Impl, weld::SpinButton &, void) | |
DECL_LINK (BulColorHdl_Impl, ColorListBox &, void) | |
DECL_LINK (BulRelSizeHdl_Impl, weld::MetricSpinButton &, void) | |
DECL_LINK (PreviewInvalidateHdl_Impl, Timer *, void) | |
DECL_LINK (DistanceHdl_Impl, weld::MetricSpinButton &, void) | |
DECL_LINK (RelativeHdl_Impl, weld::Toggleable &, void) | |
DECL_LINK (SelectLeftAlignmentHdl_Impl, weld::Toggleable &, void) | |
DECL_LINK (SelectCenterAlignmentHdl_Impl, weld::Toggleable &, void) | |
DECL_LINK (SelectRightAlignmentHdl_Impl, weld::Toggleable &, void) | |
DECL_LINK (ApplyToMasterHdl_Impl, weld::Toggleable &, void) | |
DECL_LINK (ResetHdl_Impl, weld::Button &, void) | |
void | EditModifyHdl_Impl (const weld::Entry *) |
void | InitPosAndSpaceMode () |
void | SetAlignmentHdl_Impl (SvxAdjust) |
Additional Inherited Members | |
![]() | |
static bool | runAsync (const std::shared_ptr< DialogController > &rController, const std::function< void(sal_Int32)> &) |
![]() | |
std::unique_ptr< weld::Builder > | m_xBuilder |
std::shared_ptr< weld::Dialog > | m_xDialog |
Main class for handling the bullets, numbering format and their position.
Definition at line 46 of file BulletAndPositionDlg.hxx.
SvxBulletAndPositionDlg::SvxBulletAndPositionDlg | ( | weld::Window * | pWindow, |
const SfxItemSet & | rSet, | ||
const ::sd::View * | pView | ||
) |
Definition at line 76 of file BulletAndPositionDlg.cxx.
References weld::GenericDialogController::m_xDialog, and rSet.
|
overridevirtual |
Definition at line 263 of file BulletAndPositionDlg.cxx.
|
private |
Definition at line 653 of file BulletAndPositionDlg.cxx.
References m_xStartED, SVX_NUM_ARABIC, SVX_NUM_CHARS_LOWER_LETTER_N, and SVX_NUM_CHARS_UPPER_LETTER_N.
Referenced by InitControls().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 1233 of file BulletAndPositionDlg.cxx.
References i, m_xPrefixED, m_xStartED, m_xSuffixED, nActNumLvl, pActNum, SvxNumberFormat::SetListFormat(), SetModified(), and SvxNumberFormat::SetStart().
SfxItemSet * SvxBulletAndPositionDlg::GetOutputItemSet | ( | SfxItemSet * | rSet | ) |
Definition at line 280 of file BulletAndPositionDlg.cxx.
References bModified, nActNumLvl, nNumItemId, pActNum, pSaveNum, and SfxItemSet::Put().
|
private |
Definition at line 400 of file BulletAndPositionDlg.cxx.
References bInInitControl, bLabelAlignmentPosAndSpaceModeActive, CheckForStartValue_Impl(), eCoreUnit, SvxNumberFormat::GetAbsLSpace(), SvxNumberFormat::GetBulletColor(), SvxNumberFormat::GetBulletRelSize(), SvxNumberFormat::GetFirstLineOffset(), SvxNumberFormat::GetGraphicSize(), SvxNumberFormat::GetNumAdjust(), SvxNumberType::GetNumberingType(), SvxNumberFormat::GetPrefix(), SvxNumberFormat::GetStart(), SvxNumberFormat::GetSuffix(), Size::Height(), i, m_aPreviewWIN, m_xBulColLB, m_xBulRelSizeMF, m_xCenterTB, m_xDistBorderFT, m_xDistBorderMF, m_xFmtLB, m_xHeightMF, m_xIndentMF, m_xLeftTB, m_xLevelLB, m_xPrefixED, m_xRelativeCB, m_xRightTB, m_xSelectionRB, m_xStartED, m_xSuffixED, m_xWidthMF, nActNumLvl, nBullet, pActNum, SAL_MAX_UINT16, SvxNumberingPreview::SetLevel(), SetMetricValue(), SHOW_BITMAP, SHOW_BULLET, SHOW_NUMBERING, SVX_MAX_NUM, SVX_NUM_BITMAP, SVX_NUM_CHAR_SPECIAL, SVX_NUM_NUMBER_NONE, SwitchNumberType(), and Size::Width().
Referenced by Reset().
|
private |
Definition at line 1264 of file BulletAndPositionDlg.cxx.
References bLabelAlignmentPosAndSpaceModeActive, SvxNumberFormat::GetPositionAndSpaceMode(), i, SvxNumberFormat::LABEL_ALIGNMENT, nActNumLvl, pActNum, and SAL_WARN.
Referenced by Reset().
bool SvxBulletAndPositionDlg::IsApplyToMaster | ( | ) | const |
Definition at line 292 of file BulletAndPositionDlg.cxx.
References bApplyToMaster.
bool SvxBulletAndPositionDlg::IsSlideScope | ( | ) | const |
Definition at line 293 of file BulletAndPositionDlg.cxx.
References m_xSlideRB.
void SvxBulletAndPositionDlg::Reset | ( | const SfxItemSet * | rSet | ) |
Definition at line 295 of file BulletAndPositionDlg.cxx.
References bModified, DBG_ASSERT, SfxItemSet::Get(), SfxItemSet::GetItemIfSet(), SvxNumBulletItem::GetNumRule(), SfxItemSet::GetPool(), SfxItemPool::GetWhich(), i, InitControls(), InitPosAndSpaceMode(), LINK_TOKEN, m_aPreviewWIN, m_xFmtLB, m_xLevelLB, nActNumLvl, nNumItemId, nPos, pActNum, pSaveNum, rSet, SAL_MAX_UINT16, SvxNumberingPreview::SetNumRule(), SVX_NUM_BITMAP, and SVX_NUM_NUMBER_NONE.
|
private |
Definition at line 1097 of file BulletAndPositionDlg.cxx.
References i, nActNumLvl, pActNum, and SvxNumberFormat::SetNumAdjust().
|
inline |
Definition at line 150 of file BulletAndPositionDlg.hxx.
References m_sNumCharFmtName.
void SvxBulletAndPositionDlg::SetMetric | ( | FieldUnit | eSet | ) |
Definition at line 265 of file BulletAndPositionDlg.cxx.
References m_xDistBorderMF, m_xHeightMF, m_xIndentMF, and m_xWidthMF.
void SvxBulletAndPositionDlg::SetModified | ( | bool | bRepaint = true | ) |
Definition at line 1254 of file BulletAndPositionDlg.cxx.
References bModified, m_aPreviewWIN, nActNumLvl, and SvxNumberingPreview::SetLevel().
Referenced by EditModifyHdl_Impl().
|
private |
To switch between the numbering type 0 - Number; 1 - Bullet; 2 - Bitmap;.
Definition at line 611 of file BulletAndPositionDlg.cxx.
References m_xBeforeAfter, m_xBitmapMB, m_xBulColLB, m_xBulColorFT, m_xBulletFT, m_xBulletPB, m_xBulRelSizeFT, m_xBulRelSizeMF, m_xHeightFT, m_xHeightMF, m_xPrefixED, m_xPrefixFT, m_xRatioCB, m_xStartED, m_xStartFT, m_xSuffixED, m_xSuffixFT, m_xWidthFT, m_xWidthMF, nBullet, nType, pActNum, SHOW_BITMAP, and SHOW_BULLET.
Referenced by InitControls().
|
private |
Definition at line 65 of file BulletAndPositionDlg.hxx.
|
private |
Definition at line 64 of file BulletAndPositionDlg.hxx.
|
private |
Definition at line 56 of file BulletAndPositionDlg.hxx.
|
private |
Definition at line 50 of file BulletAndPositionDlg.hxx.
|
private |
Definition at line 62 of file BulletAndPositionDlg.hxx.
Referenced by IsApplyToMaster().
|
private |
Definition at line 60 of file BulletAndPositionDlg.hxx.
Referenced by InitControls().
|
private |
Definition at line 61 of file BulletAndPositionDlg.hxx.
Referenced by InitControls(), and InitPosAndSpaceMode().
|
private |
Definition at line 58 of file BulletAndPositionDlg.hxx.
|
private |
Definition at line 59 of file BulletAndPositionDlg.hxx.
Referenced by GetOutputItemSet(), Reset(), and SetModified().
|
private |
Definition at line 71 of file BulletAndPositionDlg.hxx.
Referenced by InitControls().
|
private |
Definition at line 73 of file BulletAndPositionDlg.hxx.
Referenced by InitControls(), Reset(), and SetModified().
|
private |
Definition at line 48 of file BulletAndPositionDlg.hxx.
Referenced by SetCharFmt().
|
private |
Definition at line 107 of file BulletAndPositionDlg.hxx.
|
private |
Definition at line 81 of file BulletAndPositionDlg.hxx.
Referenced by SwitchNumberType().
|
private |
Definition at line 90 of file BulletAndPositionDlg.hxx.
Referenced by SwitchNumberType().
|
private |
Definition at line 83 of file BulletAndPositionDlg.hxx.
Referenced by InitControls(), and SwitchNumberType().
|
private |
Definition at line 82 of file BulletAndPositionDlg.hxx.
Referenced by SwitchNumberType().
|
private |
Definition at line 88 of file BulletAndPositionDlg.hxx.
Referenced by SwitchNumberType().
|
private |
Definition at line 89 of file BulletAndPositionDlg.hxx.
Referenced by SwitchNumberType().
|
private |
Definition at line 84 of file BulletAndPositionDlg.hxx.
Referenced by SwitchNumberType().
|
private |
Definition at line 85 of file BulletAndPositionDlg.hxx.
Referenced by InitControls(), and SwitchNumberType().
|
private |
Definition at line 103 of file BulletAndPositionDlg.hxx.
Referenced by InitControls().
|
private |
Definition at line 98 of file BulletAndPositionDlg.hxx.
Referenced by InitControls().
|
private |
Definition at line 99 of file BulletAndPositionDlg.hxx.
Referenced by InitControls(), and SetMetric().
|
private |
Definition at line 76 of file BulletAndPositionDlg.hxx.
Referenced by InitControls(), and Reset().
|
private |
Definition at line 96 of file BulletAndPositionDlg.hxx.
|
private |
Definition at line 74 of file BulletAndPositionDlg.hxx.
|
private |
Definition at line 93 of file BulletAndPositionDlg.hxx.
Referenced by SwitchNumberType().
|
private |
Definition at line 94 of file BulletAndPositionDlg.hxx.
Referenced by InitControls(), SetMetric(), and SwitchNumberType().
|
private |
Definition at line 101 of file BulletAndPositionDlg.hxx.
Referenced by InitControls(), and SetMetric().
|
private |
Definition at line 102 of file BulletAndPositionDlg.hxx.
Referenced by InitControls().
|
private |
Definition at line 75 of file BulletAndPositionDlg.hxx.
Referenced by InitControls(), and Reset().
|
private |
Definition at line 78 of file BulletAndPositionDlg.hxx.
Referenced by EditModifyHdl_Impl(), InitControls(), and SwitchNumberType().
|
private |
Definition at line 77 of file BulletAndPositionDlg.hxx.
Referenced by SwitchNumberType().
|
private |
Definition at line 97 of file BulletAndPositionDlg.hxx.
|
private |
Definition at line 95 of file BulletAndPositionDlg.hxx.
Referenced by SwitchNumberType().
|
private |
Definition at line 100 of file BulletAndPositionDlg.hxx.
Referenced by InitControls().
|
private |
Definition at line 108 of file BulletAndPositionDlg.hxx.
|
private |
Definition at line 104 of file BulletAndPositionDlg.hxx.
Referenced by InitControls().
|
private |
Definition at line 106 of file BulletAndPositionDlg.hxx.
Referenced by InitControls().
|
private |
Definition at line 105 of file BulletAndPositionDlg.hxx.
Referenced by IsSlideScope().
|
private |
Definition at line 87 of file BulletAndPositionDlg.hxx.
Referenced by CheckForStartValue_Impl(), EditModifyHdl_Impl(), InitControls(), and SwitchNumberType().
|
private |
Definition at line 86 of file BulletAndPositionDlg.hxx.
Referenced by SwitchNumberType().
|
private |
Definition at line 80 of file BulletAndPositionDlg.hxx.
Referenced by EditModifyHdl_Impl(), InitControls(), and SwitchNumberType().
|
private |
Definition at line 79 of file BulletAndPositionDlg.hxx.
Referenced by SwitchNumberType().
|
private |
Definition at line 91 of file BulletAndPositionDlg.hxx.
Referenced by SwitchNumberType().
|
private |
Definition at line 92 of file BulletAndPositionDlg.hxx.
Referenced by InitControls(), SetMetric(), and SwitchNumberType().
|
private |
Definition at line 68 of file BulletAndPositionDlg.hxx.
Referenced by EditModifyHdl_Impl(), GetOutputItemSet(), InitControls(), InitPosAndSpaceMode(), Reset(), SetAlignmentHdl_Impl(), and SetModified().
|
private |
Definition at line 67 of file BulletAndPositionDlg.hxx.
Referenced by InitControls(), and SwitchNumberType().
|
private |
Definition at line 70 of file BulletAndPositionDlg.hxx.
Referenced by GetOutputItemSet(), and Reset().
|
private |
Definition at line 69 of file BulletAndPositionDlg.hxx.
|
private |
Definition at line 52 of file BulletAndPositionDlg.hxx.
Referenced by EditModifyHdl_Impl(), GetOutputItemSet(), InitControls(), InitPosAndSpaceMode(), Reset(), SetAlignmentHdl_Impl(), and SwitchNumberType().
|
private |
Definition at line 53 of file BulletAndPositionDlg.hxx.
Referenced by GetOutputItemSet(), and Reset().
|
private |
Definition at line 54 of file BulletAndPositionDlg.hxx.