LibreOffice Module cui (master) 1
numpages.hxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19#pragma once
20
21#include <vector>
22#include <memory>
23
24#include <sfx2/tabdlg.hxx>
25#include <editeng/numdef.hxx>
26#include <editeng/svxenum.hxx>
27#include <svtools/ctrlbox.hxx>
28#include <vcl/customweld.hxx>
29#include <vcl/timer.hxx>
31
32#define MN_GALLERY_ENTRY 100
33
34class ColorListBox;
35class SvxNumValueSet;
36class SvxNumRule;
38class SvxBrushItem;
39struct ImplSVEvent;
40
42{
45 OUString sPrefix;
46 OUString sSuffix;
47 OUString sBulletChar;
48 OUString sBulletFont;
52 {}
53};
54
55typedef std::vector<std::unique_ptr<SvxNumSettings_Impl> > SvxNumSettingsArr_Impl;
56
57
59{
61 std::unique_ptr<SvxNumRule> pActNum;
62 std::unique_ptr<SvxNumRule> pSaveNum;
63 sal_uInt16 nActNumLvl;
64 bool bModified : 1;
65 bool bPreset : 1;
67
68 std::unique_ptr<SvxNumValueSet> m_xExamplesVS;
69 std::unique_ptr<weld::CustomWeld> m_xExamplesVSWin;
70
71 DECL_LINK(NumSelectHdl_Impl, ValueSet*, void);
72 DECL_LINK(DoubleClickHdl_Impl, ValueSet*, void);
73
74public:
76 virtual ~SvxSingleNumPickTabPage() override;
77
78 static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController,
79 const SfxItemSet* rAttrSet);
80
81 virtual void ActivatePage(const SfxItemSet& rSet) override;
82 virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override;
83 virtual bool FillItemSet( SfxItemSet* rSet ) override;
84 virtual void Reset( const SfxItemSet* rSet ) override;
85};
86
87class SvxBulletPickTabPage final : public SfxTabPage
88{
89 std::unique_ptr<SvxNumRule> pActNum;
90 std::unique_ptr<SvxNumRule> pSaveNum;
91 sal_uInt16 nActNumLvl;
92 bool bModified : 1;
93 bool bPreset : 1;
95
97
98 std::unique_ptr<SvxNumValueSet> m_xExamplesVS;
99 std::unique_ptr<weld::CustomWeld> m_xExamplesVSWin;
100
101 DECL_LINK(NumSelectHdl_Impl, ValueSet*, void);
102 DECL_LINK(DoubleClickHdl_Impl, ValueSet*, void);
103public:
105 virtual ~SvxBulletPickTabPage() override;
106
107 static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController,
108 const SfxItemSet* rAttrSet);
109
110 virtual void ActivatePage(const SfxItemSet& rSet) override;
111 virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override;
112 virtual bool FillItemSet( SfxItemSet* rSet ) override;
113 virtual void Reset( const SfxItemSet* rSet ) override;
114
115 virtual void PageCreated(const SfxAllItemSet& aSet) override;
116};
117
118#define NUM_VALUSET_COUNT 16
119
121class SvxNumPickTabPage final : public SfxTabPage
122{
125
126 SvxNumSettingsArr_Impl aNumSettingsArrays[NUM_VALUSET_COUNT]; // is initialized with the five formats
127
128 std::unique_ptr<SvxNumRule> pActNum;
129 std::unique_ptr<SvxNumRule> pSaveNum;
130 sal_uInt16 nActNumLvl;
132 bool bModified : 1;
133 bool bPreset : 1;
134
135 std::unique_ptr<SvxNumValueSet> m_xExamplesVS;
136 std::unique_ptr<weld::CustomWeld> m_xExamplesVSWin;
137
138 DECL_LINK(NumSelectHdl_Impl, ValueSet*, void);
139 DECL_LINK(DoubleClickHdl_Impl, ValueSet*, void);
140
141public:
142 SvxNumPickTabPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet);
143 virtual ~SvxNumPickTabPage() override;
144
145 static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController,
146 const SfxItemSet* rAttrSet);
147
148 virtual void ActivatePage(const SfxItemSet& rSet) override;
149 virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override;
150 virtual bool FillItemSet( SfxItemSet* rSet ) override;
151 virtual void Reset( const SfxItemSet* rSet ) override;
152
153 void SetCharFormatNames(const OUString& rCharName, const OUString& rBulName)
154 { sNumCharFmtName = rCharName;
155 sBulletCharFormatName = rBulName;}
156 virtual void PageCreated(const SfxAllItemSet& aSet) override;
157};
158
160{
161 std::vector<OUString> aGrfNames;
162
163 std::unique_ptr<SvxNumRule> pActNum;
164 std::unique_ptr<SvxNumRule> pSaveNum;
165 sal_uInt16 nActNumLvl;
168 bool bModified : 1;
169 bool bPreset : 1;
170
171 std::unique_ptr<weld::Label> m_xErrorText;
172 std::unique_ptr<weld::Button> m_xBtBrowseFile;
173 std::unique_ptr<SvxBmpNumValueSet> m_xExamplesVS;
174 std::unique_ptr<weld::CustomWeld> m_xExamplesVSWin;
175
176 DECL_LINK(NumSelectHdl_Impl, ValueSet*, void);
177 DECL_LINK(DoubleClickHdl_Impl, ValueSet*, void);
178 DECL_LINK(ClickAddBrowseHdl_Impl, weld::Button&, void);
179
180public:
182 virtual ~SvxBitmapPickTabPage() override;
183
184 static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController,
185 const SfxItemSet* rAttrSet);
186
187 virtual void ActivatePage(const SfxItemSet& rSet) override;
188 virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override;
189 virtual bool FillItemSet( SfxItemSet* rSet ) override;
190 virtual void Reset( const SfxItemSet* rSet ) override;
191};
192
194{
197
199
200 std::unique_ptr<SvxNumRule> pActNum;
201 std::unique_ptr<SvxNumRule> pSaveNum;
202
204
206
208 bool bModified : 1;
209 bool bPreset : 1;
211 bool bHTMLMode : 1;
212
213 std::vector<OUString> aGrfNames;
215
217 sal_uInt16 nActNumLvl;
220
222 std::unique_ptr<weld::Widget> m_xGrid;
223 std::unique_ptr<weld::TreeView> m_xLevelLB;
224 std::unique_ptr<weld::ComboBox> m_xFmtLB;
225 std::unique_ptr<weld::Label> m_xSeparatorFT;
226 std::unique_ptr<weld::Label> m_xPrefixFT;
227 std::unique_ptr<weld::Entry> m_xPrefixED;
228 std::unique_ptr<weld::Label> m_xSuffixFT;
229 std::unique_ptr<weld::Entry> m_xSuffixED;
230 std::unique_ptr<weld::Label> m_xCharFmtFT;
231 std::unique_ptr<weld::ComboBox> m_xCharFmtLB;
232 std::unique_ptr<weld::Label> m_xBulColorFT;
233 std::unique_ptr<ColorListBox> m_xBulColLB;
234 std::unique_ptr<weld::Label> m_xBulRelSizeFT;
235 std::unique_ptr<weld::MetricSpinButton> m_xBulRelSizeMF;
236 std::unique_ptr<weld::Label> m_xAllLevelFT;
237 std::unique_ptr<weld::SpinButton> m_xAllLevelNF;
238 std::unique_ptr<weld::Label> m_xStartFT;
239 std::unique_ptr<weld::SpinButton> m_xStartED;
240 std::unique_ptr<weld::Label> m_xBulletFT;
241 std::unique_ptr<weld::Button> m_xBulletPB;
242 std::unique_ptr<weld::Label> m_xBitmapFT;
243 std::unique_ptr<weld::MenuButton> m_xBitmapMB;
244 std::unique_ptr<weld::Label> m_xWidthFT;
245 std::unique_ptr<weld::MetricSpinButton> m_xWidthMF;
246 std::unique_ptr<weld::Label> m_xHeightFT;
247 std::unique_ptr<weld::MetricSpinButton> m_xHeightMF;
248 std::unique_ptr<weld::CheckButton> m_xRatioCB;
249 std::unique_ptr<weld::Label> m_xOrientFT;
250 std::unique_ptr<weld::ComboBox> m_xOrientLB;
251 std::unique_ptr<weld::Widget> m_xAllLevelsFrame;
252 std::unique_ptr<weld::Menu> m_xGalleryMenu;
253 std::unique_ptr<weld::CheckButton> m_xSameLevelCB;
254 std::unique_ptr<weld::CustomWeld> m_xPreviewWIN;
255
256 void InitControls();
261 void SwitchNumberType( sal_uInt8 nType );
262 void CheckForStartValue_Impl(sal_uInt16 nNumberingType);
263
264 DECL_LINK(NumberTypeSelectHdl_Impl, weld::ComboBox&, void);
265 DECL_LINK(LevelHdl_Impl, weld::TreeView&, void);
266 DECL_LINK(LevelHdl, void *, void);
267 DECL_LINK(PopupActivateHdl_Impl, weld::Toggleable&, void);
268 DECL_LINK(GraphicHdl_Impl, const OString&, void);
269 DECL_LINK(BulletHdl_Impl, weld::Button&, void);
270 DECL_LINK(SizeHdl_Impl, weld::MetricSpinButton&, void);
271 DECL_LINK(RatioHdl_Impl, weld::Toggleable&, void);
272 DECL_LINK(CharFmtHdl_Impl, weld::ComboBox&, void);
274 DECL_LINK(SpinModifyHdl_Impl, weld::SpinButton&, void);
275 DECL_LINK(AllLevelHdl_Impl, weld::SpinButton&, void);
276 DECL_LINK(OrientHdl_Impl, weld::ComboBox&, void);
277 DECL_LINK(SameLevelHdl_Impl, weld::Toggleable&, void);
278 DECL_LINK(BulColorHdl_Impl, ColorListBox&, void);
279 DECL_LINK(BulRelSizeHdl_Impl, weld::MetricSpinButton&, void);
280 DECL_LINK(PreviewInvalidateHdl_Impl, Timer*, void);
281 void EditModifyHdl_Impl(const weld::Entry*);
282
283public:
285 virtual ~SvxNumOptionsTabPage() override;
286
287 static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController,
288 const SfxItemSet* rAttrSet);
289
290 virtual void ActivatePage(const SfxItemSet& rSet) override;
291 virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override;
292 virtual bool FillItemSet( SfxItemSet* rSet ) override;
293 virtual void Reset( const SfxItemSet* rSet ) override;
294
295 void SetCharFmts(const OUString& rNumName, const OUString& rBulletName)
296 {
297 m_sNumCharFmtName = rNumName;
298 m_sBulletCharFormatName = rBulletName;
299 }
300 void SetMetric(FieldUnit eSet);
301
302 void SetModified(bool bRepaint = true);
303 virtual void PageCreated(const SfxAllItemSet& aSet) override;
304};
305
306
308{
309 std::unique_ptr<SvxNumRule> pActNum;
310 std::unique_ptr<SvxNumRule> pSaveNum;
311
313 sal_uInt16 nActNumLvl;
316
317 bool bModified : 1;
318 bool bPreset : 1;
319 bool bInInintControl : 1; // workaround for Modify-error, is said to be corrected from 391 on
321
323 std::unique_ptr<weld::TreeView> m_xLevelLB;
324 // former set of controls shown for numbering rules containing list level
325 // attributes in SvxNumberFormat::SvxNumPositionAndSpaceMode == LABEL_WIDTH_AND_POSITION
326 std::unique_ptr<weld::Label> m_xDistBorderFT;
327 std::unique_ptr<weld::MetricSpinButton> m_xDistBorderMF;
328 std::unique_ptr<weld::CheckButton> m_xRelativeCB;
329 std::unique_ptr<weld::Label> m_xIndentFT;
330 std::unique_ptr<weld::MetricSpinButton> m_xIndentMF;
331 std::unique_ptr<weld::Label> m_xDistNumFT;
332 std::unique_ptr<weld::MetricSpinButton> m_xDistNumMF;
333 std::unique_ptr<weld::Label> m_xAlignFT;
334 std::unique_ptr<weld::ComboBox> m_xAlignLB;
335 // new set of controls shown for numbering rules containing list level
336 // attributes in SvxNumberFormat::SvxNumPositionAndSpaceMode == LABEL_ALIGNMENT
337 std::unique_ptr<weld::Label> m_xLabelFollowedByFT;
338 std::unique_ptr<weld::ComboBox> m_xLabelFollowedByLB;
339 std::unique_ptr<weld::Label> m_xListtabFT;
340 std::unique_ptr<weld::MetricSpinButton> m_xListtabMF;
341 std::unique_ptr<weld::Label>m_xAlign2FT;
342 std::unique_ptr<weld::ComboBox> m_xAlign2LB;
343 std::unique_ptr<weld::Label> m_xAlignedAtFT;
344 std::unique_ptr<weld::MetricSpinButton> m_xAlignedAtMF;
345 std::unique_ptr<weld::Label> m_xIndentAtFT;
346 std::unique_ptr<weld::MetricSpinButton> m_xIndentAtMF;
347 std::unique_ptr<weld::Button> m_xStandardPB;
348 std::unique_ptr<weld::CustomWeld> m_xPreviewWIN;
349
350 void InitControls();
351
352 DECL_LINK(LevelHdl_Impl, weld::TreeView&, void);
353 DECL_LINK(LevelHdl, void *, void);
354 DECL_LINK(EditModifyHdl_Impl, weld::ComboBox&, void);
355 DECL_LINK(DistanceHdl_Impl, weld::MetricSpinButton&, void);
356 DECL_LINK(RelativeHdl_Impl, weld::Toggleable&, void);
357 DECL_LINK(StandardHdl_Impl, weld::Button&, void);
358
359 void InitPosAndSpaceMode();
361
362 DECL_LINK(LabelFollowedByHdl_Impl, weld::ComboBox&, void);
363 DECL_LINK(ListtabPosHdl_Impl, weld::MetricSpinButton&, void);
364 DECL_LINK(AlignAtHdl_Impl, weld::MetricSpinButton&, void);
365 DECL_LINK(IndentAtHdl_Impl, weld::MetricSpinButton&, void);
366
367public:
369 virtual ~SvxNumPositionTabPage() override;
370
371 virtual void ActivatePage(const SfxItemSet& rSet) override;
372 virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override;
373 virtual bool FillItemSet( SfxItemSet* rSet ) override;
374 virtual void Reset( const SfxItemSet* rSet ) override;
375
376 static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController,
377 const SfxItemSet* rAttrSet);
378
379 void SetMetric(FieldUnit eSet);
380 void SetModified();
381 virtual void PageCreated(const SfxAllItemSet& aSet) override;
382};
383
384/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
const SfxItemSet * pSet
virtual ~SvxBitmapPickTabPage() override
Definition: numpages.cxx:759
DECL_LINK(NumSelectHdl_Impl, ValueSet *, void)
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: numpages.cxx:765
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: numpages.cxx:804
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: numpages.cxx:811
std::unique_ptr< weld::CustomWeld > m_xExamplesVSWin
Definition: numpages.hxx:174
std::unique_ptr< weld::Label > m_xErrorText
Definition: numpages.hxx:171
std::unique_ptr< weld::Button > m_xBtBrowseFile
Definition: numpages.hxx:172
std::vector< OUString > aGrfNames
Definition: numpages.hxx:161
sal_uInt16 nActNumLvl
Definition: numpages.hxx:165
std::unique_ptr< SvxNumRule > pActNum
Definition: numpages.hxx:163
TypedWhichId< SvxNumBulletItem > nNumItemId
Definition: numpages.hxx:166
DECL_LINK(ClickAddBrowseHdl_Impl, weld::Button &, void)
virtual void ActivatePage(const SfxItemSet &rSet) override
Definition: numpages.cxx:771
SvxBitmapPickTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: numpages.cxx:707
std::unique_ptr< SvxNumRule > pSaveNum
Definition: numpages.hxx:164
virtual void Reset(const SfxItemSet *rSet) override
Definition: numpages.cxx:827
DECL_LINK(DoubleClickHdl_Impl, ValueSet *, void)
std::unique_ptr< SvxBmpNumValueSet > m_xExamplesVS
Definition: numpages.hxx:173
virtual ~SvxBulletPickTabPage() override
Definition: numpages.cxx:351
std::unique_ptr< SvxNumValueSet > m_xExamplesVS
Definition: numpages.hxx:98
SvxBulletPickTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: numpages.cxx:336
OUString sBulletCharFormatName
Definition: numpages.hxx:96
virtual void ActivatePage(const SfxItemSet &rSet) override
Definition: numpages.cxx:374
DECL_LINK(DoubleClickHdl_Impl, ValueSet *, void)
std::unique_ptr< SvxNumRule > pActNum
Definition: numpages.hxx:89
std::unique_ptr< SvxNumRule > pSaveNum
Definition: numpages.hxx:90
sal_uInt16 nActNumLvl
Definition: numpages.hxx:91
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: numpages.cxx:357
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: numpages.cxx:363
TypedWhichId< SvxNumBulletItem > nNumItemId
Definition: numpages.hxx:94
std::unique_ptr< weld::CustomWeld > m_xExamplesVSWin
Definition: numpages.hxx:99
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: numpages.cxx:406
DECL_LINK(NumSelectHdl_Impl, ValueSet *, void)
virtual void Reset(const SfxItemSet *rSet) override
Definition: numpages.cxx:413
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: numpages.cxx:466
DECL_LINK(BulRelSizeHdl_Impl, weld::MetricSpinButton &, void)
SvxNumOptionsTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: numpages.cxx:994
DECL_LINK(PopupActivateHdl_Impl, weld::Toggleable &, void)
std::unique_ptr< SvxNumRule > pSaveNum
Definition: numpages.hxx:201
virtual void ActivatePage(const SfxItemSet &rSet) override
Definition: numpages.cxx:1120
std::unique_ptr< weld::Label > m_xOrientFT
Definition: numpages.hxx:249
std::unique_ptr< weld::CheckButton > m_xSameLevelCB
Definition: numpages.hxx:253
std::unique_ptr< weld::ComboBox > m_xCharFmtLB
Definition: numpages.hxx:231
TypedWhichId< SvxNumBulletItem > nNumItemId
Definition: numpages.hxx:218
std::vector< OUString > aGrfNames
Definition: numpages.hxx:213
std::unique_ptr< weld::Label > m_xBulColorFT
Definition: numpages.hxx:232
std::unique_ptr< weld::MetricSpinButton > m_xWidthMF
Definition: numpages.hxx:245
DECL_LINK(LevelHdl_Impl, weld::TreeView &, void)
void SetModified(bool bRepaint=true)
Definition: numpages.cxx:3309
ImplSVEvent * m_pLevelHdlEvent
Definition: numpages.hxx:205
std::unique_ptr< weld::SpinButton > m_xStartED
Definition: numpages.hxx:239
std::unique_ptr< weld::TreeView > m_xLevelLB
Definition: numpages.hxx:223
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: numpages.cxx:1166
void CheckForStartValue_Impl(sal_uInt16 nNumberingType)
Definition: numpages.cxx:1694
DECL_LINK(EditModifyHdl_Impl, weld::Entry &, void)
std::unique_ptr< weld::Label > m_xBulletFT
Definition: numpages.hxx:240
std::unique_ptr< weld::Label > m_xStartFT
Definition: numpages.hxx:238
DECL_LINK(CharFmtHdl_Impl, weld::ComboBox &, void)
std::unique_ptr< weld::Label > m_xPrefixFT
Definition: numpages.hxx:226
DECL_LINK(NumberTypeSelectHdl_Impl, weld::ComboBox &, void)
std::unique_ptr< weld::Widget > m_xGrid
Definition: numpages.hxx:222
std::unique_ptr< weld::ComboBox > m_xFmtLB
Definition: numpages.hxx:224
SvxNumberingPreview m_aPreviewWIN
Definition: numpages.hxx:221
DECL_LINK(LevelHdl, void *, void)
DECL_LINK(GraphicHdl_Impl, const OString &, void)
std::unique_ptr< weld::Label > m_xBulRelSizeFT
Definition: numpages.hxx:234
virtual ~SvxNumOptionsTabPage() override
Definition: numpages.cxx:1090
std::unique_ptr< weld::Entry > m_xPrefixED
Definition: numpages.hxx:227
std::unique_ptr< weld::Label > m_xSeparatorFT
Definition: numpages.hxx:225
void EditModifyHdl_Impl(const weld::Entry *)
Definition: numpages.cxx:2088
DECL_LINK(PreviewInvalidateHdl_Impl, Timer *, void)
std::unique_ptr< weld::Widget > m_xAllLevelsFrame
Definition: numpages.hxx:251
std::unique_ptr< weld::Label > m_xCharFmtFT
Definition: numpages.hxx:230
void SwitchNumberType(sal_uInt8 nType)
To switch between the numbering type 0 - Number; 1 - Bullet; 2 - Bitmap;.
Definition: numpages.cxx:1481
virtual void Reset(const SfxItemSet *rSet) override
Definition: numpages.cxx:1178
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: numpages.cxx:3319
OUString m_sNumCharFmtName
Definition: numpages.hxx:195
std::unique_ptr< weld::Label > m_xWidthFT
Definition: numpages.hxx:244
std::unique_ptr< ColorListBox > m_xBulColLB
Definition: numpages.hxx:233
DECL_LINK(OrientHdl_Impl, weld::ComboBox &, void)
DECL_LINK(SpinModifyHdl_Impl, weld::SpinButton &, void)
std::unique_ptr< weld::Label > m_xSuffixFT
Definition: numpages.hxx:228
vcl::Font aActBulletFont
Definition: numpages.hxx:214
std::unique_ptr< weld::ComboBox > m_xOrientLB
Definition: numpages.hxx:250
DECL_LINK(AllLevelHdl_Impl, weld::SpinButton &, void)
DECL_LINK(SameLevelHdl_Impl, weld::Toggleable &, void)
DECL_LINK(BulColorHdl_Impl, ColorListBox &, void)
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: numpages.cxx:1114
std::unique_ptr< weld::SpinButton > m_xAllLevelNF
Definition: numpages.hxx:237
std::unique_ptr< weld::MenuButton > m_xBitmapMB
Definition: numpages.hxx:243
OUString m_sBulletCharFormatName
Definition: numpages.hxx:196
DECL_LINK(RatioHdl_Impl, weld::Toggleable &, void)
DECL_LINK(BulletHdl_Impl, weld::Button &, void)
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: numpages.cxx:1159
std::unique_ptr< weld::CheckButton > m_xRatioCB
Definition: numpages.hxx:248
std::unique_ptr< SvxNumRule > pActNum
Definition: numpages.hxx:200
std::unique_ptr< weld::Label > m_xAllLevelFT
Definition: numpages.hxx:236
std::unique_ptr< weld::MetricSpinButton > m_xHeightMF
Definition: numpages.hxx:247
std::unique_ptr< weld::Label > m_xHeightFT
Definition: numpages.hxx:246
std::unique_ptr< weld::Button > m_xBulletPB
Definition: numpages.hxx:241
void SetCharFmts(const OUString &rNumName, const OUString &rBulletName)
Definition: numpages.hxx:295
std::unique_ptr< weld::CustomWeld > m_xPreviewWIN
Definition: numpages.hxx:254
void SetMetric(FieldUnit eSet)
Definition: numpages.cxx:1103
std::unique_ptr< weld::Label > m_xBitmapFT
Definition: numpages.hxx:242
Size aInitSize[SVX_MAX_NUM]
Definition: numpages.hxx:203
std::unique_ptr< weld::Menu > m_xGalleryMenu
Definition: numpages.hxx:252
DECL_LINK(SizeHdl_Impl, weld::MetricSpinButton &, void)
std::unique_ptr< weld::MetricSpinButton > m_xBulRelSizeMF
Definition: numpages.hxx:235
std::unique_ptr< weld::Entry > m_xSuffixED
Definition: numpages.hxx:229
sal_uInt16 nActNumLvl
Definition: numpages.hxx:217
TabPage for complete numeration.
Definition: numpages.hxx:122
std::unique_ptr< SvxNumValueSet > m_xExamplesVS
Definition: numpages.hxx:135
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: numpages.cxx:578
std::unique_ptr< weld::CustomWeld > m_xExamplesVSWin
Definition: numpages.hxx:136
OUString sNumCharFmtName
Definition: numpages.hxx:123
sal_uInt16 nActNumLvl
Definition: numpages.hxx:130
TypedWhichId< SvxNumBulletItem > nNumItemId
Definition: numpages.hxx:131
virtual ~SvxNumPickTabPage() override
Definition: numpages.cxx:523
std::unique_ptr< SvxNumRule > pActNum
Definition: numpages.hxx:128
DECL_LINK(NumSelectHdl_Impl, ValueSet *, void)
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: numpages.cxx:535
virtual void Reset(const SfxItemSet *rSet) override
Definition: numpages.cxx:585
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: numpages.cxx:697
SvxNumSettingsArr_Impl aNumSettingsArrays[NUM_VALUSET_COUNT]
Definition: numpages.hxx:126
DECL_LINK(DoubleClickHdl_Impl, ValueSet *, void)
SvxNumPickTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: numpages.cxx:474
OUString sBulletCharFormatName
Definition: numpages.hxx:124
std::unique_ptr< SvxNumRule > pSaveNum
Definition: numpages.hxx:129
virtual void ActivatePage(const SfxItemSet &rSet) override
Definition: numpages.cxx:546
void SetCharFormatNames(const OUString &rCharName, const OUString &rBulName)
Definition: numpages.hxx:153
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: numpages.cxx:529
std::unique_ptr< weld::Label > m_xAlign2FT
Definition: numpages.hxx:341
std::unique_ptr< weld::MetricSpinButton > m_xAlignedAtMF
Definition: numpages.hxx:344
std::unique_ptr< weld::Label > m_xIndentFT
Definition: numpages.hxx:329
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: numpages.cxx:2795
SvxNumberingPreview m_aPreviewWIN
Definition: numpages.hxx:322
DECL_LINK(RelativeHdl_Impl, weld::Toggleable &, void)
std::unique_ptr< weld::ComboBox > m_xAlignLB
Definition: numpages.hxx:334
virtual ~SvxNumPositionTabPage() override
Definition: numpages.cxx:2534
TypedWhichId< SvxNumBulletItem > nNumItemId
Definition: numpages.hxx:314
ImplSVEvent * m_pLevelHdlEvent
Definition: numpages.hxx:312
DECL_LINK(AlignAtHdl_Impl, weld::MetricSpinButton &, void)
DECL_LINK(IndentAtHdl_Impl, weld::MetricSpinButton &, void)
std::unique_ptr< weld::Label > m_xListtabFT
Definition: numpages.hxx:339
std::unique_ptr< weld::Label > m_xDistNumFT
Definition: numpages.hxx:331
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: numpages.cxx:3340
std::unique_ptr< weld::MetricSpinButton > m_xDistBorderMF
Definition: numpages.hxx:327
std::unique_ptr< weld::ComboBox > m_xLabelFollowedByLB
Definition: numpages.hxx:338
std::unique_ptr< SvxNumRule > pSaveNum
Definition: numpages.hxx:310
std::unique_ptr< weld::Button > m_xStandardPB
Definition: numpages.hxx:347
std::unique_ptr< weld::MetricSpinButton > m_xIndentAtMF
Definition: numpages.hxx:346
std::unique_ptr< SvxNumRule > pActNum
Definition: numpages.hxx:309
std::unique_ptr< weld::ComboBox > m_xAlign2LB
Definition: numpages.hxx:342
SvxNumPositionTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: numpages.cxx:2460
DECL_LINK(ListtabPosHdl_Impl, weld::MetricSpinButton &, void)
DECL_LINK(DistanceHdl_Impl, weld::MetricSpinButton &, void)
void SetMetric(FieldUnit eSet)
Definition: numpages.cxx:2933
void ShowControlsDependingOnPosAndSpaceMode()
Definition: numpages.cxx:2901
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: numpages.cxx:2927
DECL_LINK(LevelHdl, void *, void)
std::unique_ptr< weld::MetricSpinButton > m_xListtabMF
Definition: numpages.hxx:340
DECL_LINK(LabelFollowedByHdl_Impl, weld::ComboBox &, void)
virtual void Reset(const SfxItemSet *rSet) override
Definition: numpages.cxx:2808
std::unique_ptr< weld::Label > m_xAlignedAtFT
Definition: numpages.hxx:343
std::unique_ptr< weld::MetricSpinButton > m_xIndentMF
Definition: numpages.hxx:330
std::unique_ptr< weld::Label > m_xLabelFollowedByFT
Definition: numpages.hxx:337
std::unique_ptr< weld::CustomWeld > m_xPreviewWIN
Definition: numpages.hxx:348
std::unique_ptr< weld::Label > m_xAlignFT
Definition: numpages.hxx:333
std::unique_ptr< weld::TreeView > m_xLevelLB
Definition: numpages.hxx:323
bool bLabelAlignmentPosAndSpaceModeActive
Definition: numpages.hxx:320
DECL_LINK(StandardHdl_Impl, weld::Button &, void)
DECL_LINK(LevelHdl_Impl, weld::TreeView &, void)
DECL_LINK(EditModifyHdl_Impl, weld::ComboBox &, void)
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: numpages.cxx:2783
std::unique_ptr< weld::Label > m_xIndentAtFT
Definition: numpages.hxx:345
sal_uInt16 nActNumLvl
Definition: numpages.hxx:313
std::unique_ptr< weld::CheckButton > m_xRelativeCB
Definition: numpages.hxx:328
std::unique_ptr< weld::MetricSpinButton > m_xDistNumMF
Definition: numpages.hxx:332
std::unique_ptr< weld::Label > m_xDistBorderFT
Definition: numpages.hxx:326
virtual void ActivatePage(const SfxItemSet &rSet) override
Definition: numpages.cxx:2740
Provides the preview to show how looks bullet or numbering format before the apply.
std::unique_ptr< SvxNumRule > pActNum
Definition: numpages.hxx:61
SvxNumSettingsArr_Impl aNumSettingsArr
Definition: numpages.hxx:60
virtual void Reset(const SfxItemSet *rSet) override
Definition: numpages.cxx:270
DECL_LINK(NumSelectHdl_Impl, ValueSet *, void)
std::unique_ptr< weld::CustomWeld > m_xExamplesVSWin
Definition: numpages.hxx:69
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: numpages.cxx:263
std::unique_ptr< SvxNumValueSet > m_xExamplesVS
Definition: numpages.hxx:68
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: numpages.cxx:218
std::unique_ptr< SvxNumRule > pSaveNum
Definition: numpages.hxx:62
virtual ~SvxSingleNumPickTabPage() override
Definition: numpages.cxx:206
TypedWhichId< SvxNumBulletItem > nNumItemId
Definition: numpages.hxx:66
SvxSingleNumPickTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: numpages.cxx:164
virtual void ActivatePage(const SfxItemSet &rSet) override
Definition: numpages.cxx:230
DECL_LINK(DoubleClickHdl_Impl, ValueSet *, void)
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: numpages.cxx:212
FieldUnit
MapUnit
#define SVX_MAX_NUM
std::vector< std::unique_ptr< SvxNumSettings_Impl > > SvxNumSettingsArr_Impl
Definition: numpages.hxx:55
#define NUM_VALUSET_COUNT
Definition: numpages.hxx:118
OUString sBulletChar
Definition: numpages.hxx:47
OUString sBulletFont
Definition: numpages.hxx:48
SvxNumType nNumberType
Definition: numpages.hxx:43
SvxNumType
SVX_NUM_CHARS_UPPER_LETTER
DeactivateRC
unsigned char sal_uInt8