32#include <svx/svxids.hrc>
51#define SHOW_NUMBERING 0
55#define MAX_BMP_WIDTH 16
56#define MAX_BMP_HEIGHT 16
71 return aDefBulletFont;
77 const ::sd::View* pView)
78 : GenericDialogController(pWindow,
"cui/ui/bulletandposition.ui",
"BulletAndPosition")
79 , aInvalidateTimer(
"sd SvxBulletAndPositionDlg aInvalidateTimer")
80 , rFirstStateSet(
rSet)
81 , bLastWidthModified(false)
83 , bInInitControl(false)
84 , bLabelAlignmentPosAndSpaceModeActive(false)
85 , bApplyToMaster(false)
89 , nNumItemId(SID_ATTR_NUMBERING_RULE)
90 , m_xGrid(m_xBuilder->weld_widget(
"grid2"))
91 , m_xLevelLB(m_xBuilder->weld_tree_view(
"levellb"))
92 , m_xFmtLB(m_xBuilder->weld_combo_box(
"numfmtlb"))
93 , m_xPrefixFT(m_xBuilder->weld_label(
"prefixft"))
94 , m_xPrefixED(m_xBuilder->weld_entry(
"prefix"))
95 , m_xSuffixFT(m_xBuilder->weld_label(
"suffixft"))
96 , m_xSuffixED(m_xBuilder->weld_entry(
"suffix"))
97 , m_xBeforeAfter(m_xBuilder->weld_frame(
"beforeafter"))
98 , m_xBulColorFT(m_xBuilder->weld_label(
"colorft"))
99 , m_xBulColLB(new
ColorListBox(m_xBuilder->weld_menu_button(
"color"),
101 , m_xBulRelSizeFT(m_xBuilder->weld_label(
"relsizeft"))
102 , m_xBulRelSizeMF(m_xBuilder->weld_metric_spin_button(
"relsize", FieldUnit::PERCENT))
103 , m_xStartFT(m_xBuilder->weld_label(
"startatft"))
104 , m_xStartED(m_xBuilder->weld_spin_button(
"startat"))
105 , m_xBulletFT(m_xBuilder->weld_label(
"bulletft"))
106 , m_xBulletPB(m_xBuilder->weld_button(
"bullet"))
107 , m_xBitmapMB(m_xBuilder->weld_menu_button(
"bitmap"))
108 , m_xWidthFT(m_xBuilder->weld_label(
"widthft"))
109 , m_xWidthMF(m_xBuilder->weld_metric_spin_button(
"widthmf", FieldUnit::CM))
110 , m_xHeightFT(m_xBuilder->weld_label(
"heightft"))
111 , m_xHeightMF(m_xBuilder->weld_metric_spin_button(
"heightmf", FieldUnit::CM))
112 , m_xRatioCB(m_xBuilder->weld_check_button(
"keepratio"))
113 , m_xPreviewWIN(
new weld::CustomWeld(*m_xBuilder,
"preview", m_aPreviewWIN))
114 , m_xDistBorderFT(m_xBuilder->weld_label(
"indent"))
115 , m_xDistBorderMF(m_xBuilder->weld_metric_spin_button(
"indentmf", FieldUnit::CM))
116 , m_xRelativeCB(m_xBuilder->weld_check_button(
"relative"))
117 , m_xIndentMF(m_xBuilder->weld_metric_spin_button(
"numberingwidthmf", FieldUnit::CM))
118 , m_xLeftTB(m_xBuilder->weld_toggle_button(
"left"))
119 , m_xCenterTB(m_xBuilder->weld_toggle_button(
"center"))
120 , m_xRightTB(m_xBuilder->weld_toggle_button(
"right"))
121 , m_xSlideRB(m_xBuilder->weld_radio_button(
"sliderb"))
122 , m_xSelectionRB(m_xBuilder->weld_radio_button(
"selectionrb"))
123 , m_xApplyToMaster(m_xBuilder->weld_toggle_button(
"applytomaster"))
124 , m_xReset(m_xBuilder->weld_button(
"reset"))
126 m_xBulColLB->SetSlotId(SID_ATTR_CHAR_COLOR);
127 m_xBulRelSizeMF->set_min(SVX_NUM_REL_SIZE_MIN, FieldUnit::PERCENT);
128 m_xBulRelSizeMF->set_increments(5, 50, FieldUnit::PERCENT);
135 m_xLevelLB->set_selection_mode(SelectionMode::Multiple);
146 m_xCenterTB->connect_toggled(
152 aInvalidateTimer.SetInvokeHandler(
154 aInvalidateTimer.SetTimeout(50);
160 for (sal_uInt32 i = 0;
i <
nCount; ++
i)
172 m_xFmtLB->set_active(0);
173 m_xRelativeCB->set_active(
true);
177 m_xDistBorderMF->connect_value_changed(aLk3);
178 m_xIndentMF->connect_value_changed(aLk3);
183 Size aSize(m_xGrid->get_preferred_size());
184 m_xGrid->set_size_request(aSize.Width(), -1);
187 FieldUnit eMetric = pView->GetDoc().GetUIUnit();
189 aSet.Put(
SfxUInt16Item(SID_METRIC_ITEM,
static_cast<sal_uInt16
>(eMetric)));
195 SetCharFmt(pNumCharFmt->
GetValue());
198 SetMetric(
static_cast<FieldUnit>(pMetricItem->GetValue()));
201 DocumentType aDocumentType = pView->GetDoc().GetDocumentType();
204 m_xApplyToMaster->hide();
205 m_xSlideRB->set_label(
SdResId(STR_PAGE_NAME));
210 m_xApplyToMaster->hide();
219 sal_uInt16 nTmpNumLvl = 1;
220 bool bPreset =
false;
224 bPreset = pItem->GetValue();
226 nTmpNumLvl = pItem->GetValue();
230 pSaveNum.reset(
new SvxNumRule(pItem->GetNumRule()));
233 bModified = (!pActNum->Get(0) || bPreset);
234 if (*pActNum != *pSaveNum || nActNumLvl != nTmpNumLvl)
236 nActNumLvl = nTmpNumLvl;
237 sal_uInt16 nMask = 1;
238 if (nActNumLvl == SAL_MAX_UINT16)
239 m_xLevelLB->select(pActNum->GetLevelCount());
240 if (nActNumLvl != SAL_MAX_UINT16)
242 for (sal_uInt16 i = 0;
i < pActNum->GetLevelCount();
i++)
244 if (nActNumLvl & nMask)
245 m_xLevelLB->select(i);
249 *pActNum = *pSaveNum;
251 m_xRelativeCB->set_sensitive(nActNumLvl != 1);
253 InitPosAndSpaceMode();
257 m_aPreviewWIN.SetLevel(nActNumLvl);
258 m_aPreviewWIN.Invalidate();
267 if (eMetric == FieldUnit::MM)
315 for (sal_uInt16
i = 1;
i <=
pSaveNum->GetLevelCount();
i++)
319 OUString sEntry =
"1 - " + OUString::number(
pSaveNum->GetLevelCount());
329 sal_uInt16 nMask = 1;
337 for (sal_uInt16
i = 0;
i <
pSaveNum->GetLevelCount();
i++)
351 bool bContinuous =
pActNum->IsFeatureSupported(SvxNumRuleFlags::CONTINUOUS);
358 sal_Int32 nFmtCount =
m_xFmtLB->get_count();
359 for (sal_Int32
i = nFmtCount;
i;
i--)
361 sal_uInt16 nEntryData =
m_xFmtLB->get_id(
i - 1).toUInt32();
368 if (!
pActNum->IsFeatureSupported(SvxNumRuleFlags::ENABLE_LINKED_BMP))
374 else if (!
pActNum->IsFeatureSupported(SvxNumRuleFlags::ENABLE_EMBEDDED_BMP))
383 if (
pActNum->IsFeatureSupported(SvxNumRuleFlags::NO_NUMBERS))
385 sal_Int32 nFmtCount =
m_xFmtLB->get_count();
386 for (sal_Int32
i = nFmtCount;
i;
i--)
388 sal_uInt16 nEntryData =
m_xFmtLB->get_id(
i - 1).toUInt32();
406 const bool bSingleSelection
410 && (bSingleSelection || bRelative));
412 && (bSingleSelection || bRelative));
414 bool bShowBullet =
true;
415 bool bShowBitmap =
true;
416 bool bSameType =
true;
417 bool bSameStart =
true;
418 bool bSamePrefix =
true;
419 bool bSameSuffix =
true;
420 bool bSameSize =
true;
421 bool bSameBulColor =
true;
422 bool bSameBulRelSize =
true;
424 bool bSetDistEmpty =
false;
428 SvxAdjust eFirstAdjust = SvxAdjust::Left;
429 Size aFirstSize(0, 0);
430 sal_uInt16 nMask = 1;
433 bool bBullColor =
pActNum->IsFeatureSupported(SvxNumRuleFlags::BULLET_COLOR);
434 bool bBullRelSize =
pActNum->IsFeatureSupported(SvxNumRuleFlags::BULLET_REL_SIZE);
435 for (sal_uInt16
i = 0;
i <
pActNum->GetLevelCount();
i++)
459 if (bShowBitmap && bSameSize)
475 sal_uInt16 nNumberingType;
481 bSameDistBorderNum =
false;
483 bSameBulRelSize =
false;
484 bSameBulColor =
false;
508 sal_uInt16 nLBData = nNumberingType;
509 m_xFmtLB->set_active_id(OUString::number(nLBData));
517 m_xBulRelSizeMF->set_value(aNumFmtArr[nLvl]->GetBulletRelSize(), FieldUnit::PERCENT);
524 m_xBulColLB->SelectEntry(aNumFmtArr[nLvl]->GetBulletColor());
533 m_xStartED->set_value(aNumFmtArr[nLvl]->GetStart());
544 switch (eFirstAdjust)
546 case SvxAdjust::Left:
551 case SvxAdjust::Center:
556 case SvxAdjust::Right:
566 m_xPrefixED->set_text(aNumFmtArr[nLvl]->GetPrefix());
570 m_xSuffixED->set_text(aNumFmtArr[nLvl]->GetSuffix());
574 if (bSameDistBorderNum)
580 + aNumFmtArr[nLvl]->GetFirstLineOffset();
583 + aNumFmtArr[nLvl - 1]->GetFirstLineOffset();
588 + aNumFmtArr[nLvl]->GetFirstLineOffset();
593 bSetDistEmpty =
true;
619 bool bNumeric = !(bBitmap || bBullet);
626 m_xStartFT->set_visible(!(bBullet || bBitmap));
627 m_xStartED->set_visible(!(bBullet || bBitmap));
631 bool bBullColor =
pActNum->IsFeatureSupported(SvxNumRuleFlags::BULLET_COLOR);
634 bool bBullResSize =
pActNum->IsFeatureSupported(SvxNumRuleFlags::BULLET_REL_SIZE);
660 if (bIsNull && bNoZeroAllowed)
666 sal_uInt16 nSaveNumLvl = nActNumLvl;
668 auto aSelectedRows = rBox.get_selected_rows();
669 if (std::find(aSelectedRows.begin(), aSelectedRows.end(), pActNum->GetLevelCount())
670 != aSelectedRows.end()
671 && (aSelectedRows.size() == 1 || nSaveNumLvl != 0xffff))
674 for (sal_uInt16
i = 0;
i < pActNum->GetLevelCount();
i++)
677 else if (!aSelectedRows.empty())
679 sal_uInt16 nMask = 1;
680 for (sal_uInt16
i = 0;
i < pActNum->GetLevelCount();
i++)
682 if (std::find(aSelectedRows.begin(), aSelectedRows.end(),
i) != aSelectedRows.end())
686 rBox.unselect(pActNum->GetLevelCount());
689 nActNumLvl = nSaveNumLvl;
696 m_aPreviewWIN.Invalidate();
702 sal_uInt16 nMask = 1;
703 for (sal_uInt16
i = 0;
i < pActNum->GetLevelCount();
i++)
705 if (nActNumLvl & nMask)
714 bBmp |=
nullptr != aNumFmt.
GetBrush();
719 pActNum->SetLevel(
i, aNumFmt);
730 pActNum->SetLevel(
i, aNumFmt);
736 aNumFmt.
SetListFormat(m_xPrefixED->get_text(), m_xSuffixED->get_text(),
i);
738 pActNum->SetLevel(
i, aNumFmt);
739 CheckForStartValue_Impl(nNumberingType);
752 Color nSetColor = rColorBox.GetSelectEntryColor();
754 sal_uInt16 nMask = 1;
755 for (sal_uInt16
i = 0;
i < pActNum->GetLevelCount();
i++)
757 if (nActNumLvl & nMask)
761 pActNum->SetLevel(
i, aNumFmt);
770 sal_uInt16 nRelSize = rField.get_value(FieldUnit::PERCENT);
772 sal_uInt16 nMask = 1;
773 for (sal_uInt16
i = 0;
i < pActNum->GetLevelCount();
i++)
775 if (nActNumLvl & nMask)
779 pActNum->SetLevel(
i, aNumFmt);
794 if (rIdent.startsWith(
"gallery", &sNumber))
796 auto idx = sNumber.toUInt32();
797 if (
idx < aGrfNames.size())
799 aGrfName = aGrfNames[
idx];
808 else if (rIdent ==
"fromfile")
830 sal_uInt16 nMask = 1;
831 for (sal_uInt16
i = 0;
i < pActNum->GetLevelCount();
i++)
833 if (nActNumLvl & nMask)
846 pActNum->SetLevel(
i, aNumFmt);
850 m_xRatioCB->set_sensitive(
true);
851 m_xWidthFT->set_sensitive(
true);
852 m_xHeightFT->set_sensitive(
true);
853 m_xWidthMF->set_sensitive(
true);
854 m_xHeightMF->set_sensitive(
true);
860 aInvalidateTimer.Start();
868 m_xGalleryMenu = m_xBuilder->weld_menu(
"gallerysubmenu");
880 for (
const auto& grfName : aGrfNames)
883 OUString sItemId =
"gallery" + OUString::number(
i);
894 double nScale = bWidth
897 aBitmap.
Scale(nScale, nScale);
900 pVD->DrawBitmapEx(
Point(), aBitmap);
906 m_xGalleryMenu->append(sItemId, sIconName, *pVD);
910 m_xGalleryMenu->append(sItemId, sGrfName);
921 sal_uInt16 nMask = 1;
922 std::optional<vcl::Font> pFmtFont;
923 bool bSameBullet =
true;
926 for (sal_uInt16
i = 0;
i < pActNum->GetLevelCount();
i++)
928 if (nActNumLvl & nMask)
948 aMap.SetCharFont(*pFmtFont);
950 aMap.SetCharFont(aActBulletFont);
952 aMap.SetChar(cBullet);
957 aActBulletFont =
aMap.GetCharFont();
959 sal_uInt16 _nMask = 1;
960 for (sal_uInt16
i = 0;
i < pActNum->GetLevelCount();
i++)
962 if (nActNumLvl & _nMask)
967 pActNum->SetLevel(
i, aNumFmt);
977 bool bWidth = &rField == m_xWidthMF.get();
978 bLastWidthModified = bWidth;
979 bool bRatio = m_xRatioCB->get_active();
981 m_xWidthMF->denormalize(m_xWidthMF->get_value(FieldUnit::MM_100TH)));
983 m_xHeightMF->denormalize(m_xHeightMF->get_value(FieldUnit::MM_100TH)));
988 bool bRepaint =
false;
989 sal_uInt16 nMask = 1;
990 for (sal_uInt16
i = 0;
i < pActNum->GetLevelCount();
i++)
992 if (nActNumLvl & nMask)
998 Size aSaveSize(aSize);
1001 fSizeRatio =
static_cast<double>(aInitSize[
i].Width())
1002 /
static_cast<double>(aInitSize[
i].
Height());
1004 fSizeRatio = double(1);
1014 +
static_cast<tools::Long>(
static_cast<double>(nDelta) / fSizeRatio));
1016 aSize.
Height(), eCoreUnit, MapUnit::Map100thMM)),
1017 FieldUnit::MM_100TH);
1022 tools::Long nDelta = nHeightVal - aInitSize[
i].Height();
1028 +
static_cast<tools::Long>(
static_cast<double>(nDelta) * fSizeRatio));
1030 aSize.
Width(), eCoreUnit, MapUnit::Map100thMM)),
1031 FieldUnit::MM_100TH);
1036 if (aSize != aSaveSize)
1039 pActNum->SetLevel(
i, aNumFmt);
1044 SetModified(bRepaint);
1049 if (rBox.get_active())
1051 if (bLastWidthModified)
1052 SizeHdl_Impl(*m_xWidthMF);
1054 SizeHdl_Impl(*m_xHeightMF);
1060 if (rButton.get_active())
1062 SetAlignmentHdl_Impl(SvxAdjust::Left);
1064 m_xCenterTB->set_active(
false);
1065 m_xRightTB->set_active(
false);
1073 if (rButton.get_active())
1075 SetAlignmentHdl_Impl(SvxAdjust::Center);
1077 m_xLeftTB->set_active(
false);
1078 m_xRightTB->set_active(
false);
1086 if (rButton.get_active())
1088 SetAlignmentHdl_Impl(SvxAdjust::Right);
1090 m_xLeftTB->set_active(
false);
1091 m_xCenterTB->set_active(
false);
1099 sal_uInt16 nMask = 1;
1100 for (sal_uInt16
i = 0;
i <
pActNum->GetLevelCount();
i++)
1114 bApplyToMaster = rButton.get_active();
1119 Reset(&rFirstStateSet);
1124 EditModifyHdl_Impl(&rEdit);
1129 EditModifyHdl_Impl(&rSpinButton);
1137 sal_uInt16 nMask = 1;
1138 for (sal_uInt16
i = 0;
i < pActNum->GetLevelCount();
i++)
1140 if (nActNumLvl & nMask)
1143 if (&rFld == m_xDistBorderMF.get())
1145 if (m_xRelativeCB->get_active())
1154 tools::Long nTmp = pActNum->GetLevel(
i - 1).GetAbsLSpace()
1155 + pActNum->GetLevel(
i - 1).GetFirstLineOffset()
1156 - pActNum->GetLevel(
i).GetFirstLineOffset();
1166 else if (&rFld == m_xIndentMF.get())
1175 pActNum->SetLevel(
i, aNumFmt);
1181 if (!m_xDistBorderMF->get_sensitive())
1183 m_xDistBorderMF->set_text(
"");
1186 sal_Int32 aLastLevelLSpace
1187 = pActNum->GetLevel(pActNum->GetLevelCount() - 1).GetAbsLSpace() / 40;
1188 m_aPreviewWIN.set_size_request(aLastLevelLSpace, 300);
1193 bool bOn = rBox.get_active();
1194 bool bSingleSelection = m_xLevelLB->count_selected_rows() == 1 &&
SAL_MAX_UINT16 != nActNumLvl;
1195 bool bSetValue =
false;
1197 if (bOn || bSingleSelection)
1199 sal_uInt16 nMask = 1;
1202 for (sal_uInt16
i = 0;
i < pActNum->GetLevelCount();
i++)
1204 if (nActNumLvl & nMask)
1211 nValue -= (pActNum->GetLevel(
i - 1).GetAbsLSpace()
1212 + pActNum->GetLevel(
i - 1).GetFirstLineOffset());
1217 - (pActNum->GetLevel(
i - 1).GetAbsLSpace()
1218 + pActNum->GetLevel(
i - 1).GetFirstLineOffset());
1227 m_xDistBorderMF->set_text(
"");
1228 m_xDistBorderMF->set_sensitive(bOn || bSingleSelection);
1229 m_xDistBorderFT->set_sensitive(bOn || bSingleSelection);
1237 sal_uInt16 nMask = 1;
1238 for (sal_uInt16
i = 0;
i <
pActNum->GetLevelCount();
i++)
1243 if (bPrefixOrSuffix)
1268 SAL_WARN(
"cui.tabpages",
"<SvxNumPositionTabPage::InitPosAndSpaceMode()> - misusage of "
1269 "method -> <pAktNum> has to be already set!");
1274 sal_uInt16 nMask = 1;
1275 for (sal_uInt16
i = 0;
i <
pActNum->GetLevelCount(); ++
i)
IMPL_LINK(SvxBulletAndPositionDlg, LevelHdl_Impl, weld::TreeView &, rBox, void)
IMPL_LINK_NOARG(SvxBulletAndPositionDlg, PreviewInvalidateHdl_Impl, Timer *, void)
static bool bLastRelative
static const vcl::Font & lcl_GetDefaultBulletFont()
bool Scale(const Size &rNewSize, BmpScaleFlag nScaleFlag=BmpScaleFlag::Default)
const Size & GetSizePixel() const
const OUString & GetValue() const
static bool EndLocking(std::u16string_view rThemeName)
static bool GetGraphicObj(std::u16string_view rThemeName, sal_uInt32 nPos, Graphic *pGraphic)
static bool FillObjList(std::u16string_view rThemeName, std::vector< OUString > &rObjList)
static bool BeginLocking(std::u16string_view rThemeName)
BitmapEx GetBitmapEx(const GraphicConversionParameters &rParameters=GraphicConversionParameters()) const
bool removeExtension(sal_Int32 nIndex=LAST_SEGMENT, bool bIgnoreFinalSlash=true)
OUString GetLastName(DecodeMechanism eMechanism=DecodeMechanism::ToIUri, rtl_TextEncoding eCharset=RTL_TEXTENCODING_UTF8) const
OUString PathToFileName() const
INetProtocol GetProtocol() const
SAL_WARN_UNUSED_RESULT Point LogicToLogic(const Point &rPtSource, const MapMode *pMapModeSource, const MapMode *pMapModeDest) const
sal_uInt16 GetWhich(sal_uInt16 nSlot, bool bDeep=true) const
virtual MapUnit GetMetric(sal_uInt16 nWhich) const
SfxItemPool * GetPool() const
const T * GetItemIfSet(TypedWhichId< T > nWhich, bool bSrchInParent=true) const
const SfxPoolItem * Put(const SfxPoolItem &rItem, sal_uInt16 nWhich)
const SfxPoolItem & Get(sal_uInt16 nWhich, bool bSrchInParent=true) const
constexpr tools::Long Height() const
void setWidth(tools::Long nWidth)
void setHeight(tools::Long nHeight)
constexpr tools::Long Width() const
Main class for handling the bullets, numbering format and their position.
std::unique_ptr< weld::RadioButton > m_xSlideRB
std::unique_ptr< weld::SpinButton > m_xStartED
std::unique_ptr< weld::Label > m_xBulColorFT
std::unique_ptr< weld::Label > m_xPrefixFT
std::unique_ptr< weld::MetricSpinButton > m_xDistBorderMF
std::unique_ptr< weld::MetricSpinButton > m_xWidthMF
virtual ~SvxBulletAndPositionDlg() override
std::unique_ptr< weld::Label > m_xDistBorderFT
std::unique_ptr< weld::MetricSpinButton > m_xHeightMF
std::unique_ptr< weld::TreeView > m_xLevelLB
std::unique_ptr< weld::MetricSpinButton > m_xBulRelSizeMF
std::unique_ptr< SvxNumRule > pSaveNum
std::unique_ptr< weld::Label > m_xSuffixFT
std::unique_ptr< weld::Entry > m_xPrefixED
std::unique_ptr< weld::Button > m_xBulletPB
bool IsApplyToMaster() const
bool bLabelAlignmentPosAndSpaceModeActive
void Reset(const SfxItemSet *rSet)
SvxNumberingPreview m_aPreviewWIN
bool IsSlideScope() const
std::unique_ptr< weld::Toggleable > m_xRightTB
std::unique_ptr< weld::Label > m_xHeightFT
std::unique_ptr< SvxNumRule > pActNum
void InitPosAndSpaceMode()
std::unique_ptr< weld::Toggleable > m_xLeftTB
std::unique_ptr< weld::RadioButton > m_xSelectionRB
std::unique_ptr< weld::Frame > m_xBeforeAfter
std::unique_ptr< weld::Entry > m_xSuffixED
void SwitchNumberType(sal_uInt8 nType)
To switch between the numbering type 0 - Number; 1 - Bullet; 2 - Bitmap;.
void EditModifyHdl_Impl(const weld::Entry *)
std::unique_ptr< weld::Label > m_xStartFT
void SetModified(bool bRepaint=true)
std::unique_ptr< weld::MenuButton > m_xBitmapMB
std::unique_ptr< weld::CheckButton > m_xRelativeCB
std::unique_ptr< weld::CheckButton > m_xRatioCB
std::unique_ptr< weld::Label > m_xBulletFT
std::unique_ptr< weld::ComboBox > m_xFmtLB
void SetMetric(FieldUnit eSet)
std::unique_ptr< weld::Toggleable > m_xCenterTB
std::unique_ptr< weld::Label > m_xBulRelSizeFT
TypedWhichId< SvxNumBulletItem > nNumItemId
std::unique_ptr< ColorListBox > m_xBulColLB
void SetAlignmentHdl_Impl(SvxAdjust)
SvxBulletAndPositionDlg(weld::Window *pWindow, const SfxItemSet &rSet, const ::sd::View *pView)
SfxItemSet * GetOutputItemSet(SfxItemSet *rSet)
std::unique_ptr< weld::MetricSpinButton > m_xIndentMF
std::unique_ptr< weld::Label > m_xWidthFT
void CheckForStartValue_Impl(sal_uInt16 nNumberingType)
const SvxNumRule & GetNumRule() const
static void GetI18nNumbering(weld::ComboBox &rFmtLB, sal_uInt16 nDoNotRemove)
void SetNumberingType(SvxNumType nSet)
SvxNumType GetNumberingType() const
void SetNumRule(const SvxNumRule *pNum)
void SetLevel(sal_uInt16 nSet)
static int GetValue(sal_uInt32 i)
static sal_uInt32 Count()
static OUString GetString(sal_uInt32 i)
ErrCode GetGraphic(Graphic &) const
Base class of the stacked shells that provide graphical views to Draw and Impress documents and editi...
void SetPitch(FontPitch ePitch)
void SetTransparent(bool bTransparent)
void SetWeight(FontWeight)
void SetFamily(FontFamily)
void SetCharSet(rtl_TextEncoding)
std::shared_ptr< weld::Dialog > m_xDialog
#define DBG_ASSERT(sCon, aError)
#define GALLERY_THEME_BULLETS
#define LINK(Instance, Class, Member)
#define SAL_WARN(area, stream)
HashMap_OWString_Interface aMap
OUString SdResId(TranslateId aId)
SVX_NUM_CHARS_LOWER_LETTER_N
SVX_NUM_CHARS_UPPER_LETTER_N
SVT_DLLPUBLIC sal_Int64 GetCoreValue(const weld::MetricSpinButton &rField, MapUnit eUnit)
SVT_DLLPUBLIC void SetMetricValue(weld::MetricSpinButton &rField, sal_Int64 nCoreValue, MapUnit eUnit)