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::CheckButton> m_xIsLegalCB;
239 std::unique_ptr<weld::Label> m_xStartFT;
240 std::unique_ptr<weld::SpinButton> m_xStartED;
241 std::unique_ptr<weld::Label> m_xBulletFT;
242 std::unique_ptr<weld::Button> m_xBulletPB;
243 std::unique_ptr<weld::Label> m_xBitmapFT;
244 std::unique_ptr<weld::MenuButton> m_xBitmapMB;
245 std::unique_ptr<weld::Label> m_xWidthFT;
246 std::unique_ptr<weld::MetricSpinButton> m_xWidthMF;
247 std::unique_ptr<weld::Label> m_xHeightFT;
248 std::unique_ptr<weld::MetricSpinButton> m_xHeightMF;
249 std::unique_ptr<weld::CheckButton> m_xRatioCB;
250 std::unique_ptr<weld::Label> m_xOrientFT;
251 std::unique_ptr<weld::ComboBox> m_xOrientLB;
252 std::unique_ptr<weld::Widget> m_xAllLevelsFrame;
253 std::unique_ptr<weld::Menu> m_xGalleryMenu;
254 std::unique_ptr<weld::CheckButton> m_xSameLevelCB;
255 std::unique_ptr<weld::CustomWeld> m_xPreviewWIN;
256
257 void InitControls();
262 void SwitchNumberType( sal_uInt8 nType );
263 void CheckForStartValue_Impl(sal_uInt16 nNumberingType);
264
265 DECL_LINK(NumberTypeSelectHdl_Impl, weld::ComboBox&, void);
266 DECL_LINK(LevelHdl_Impl, weld::TreeView&, void);
267 DECL_LINK(LevelHdl, void *, void);
268 DECL_LINK(PopupActivateHdl_Impl, weld::Toggleable&, void);
269 DECL_LINK(GraphicHdl_Impl, const OUString&, void);
270 DECL_LINK(BulletHdl_Impl, weld::Button&, void);
271 DECL_LINK(SizeHdl_Impl, weld::MetricSpinButton&, void);
272 DECL_LINK(RatioHdl_Impl, weld::Toggleable&, void);
273 DECL_LINK(CharFmtHdl_Impl, weld::ComboBox&, void);
275 DECL_LINK(SpinModifyHdl_Impl, weld::SpinButton&, void);
276 DECL_LINK(AllLevelHdl_Impl, weld::SpinButton&, void);
277 DECL_LINK(IsLegalHdl_Impl, weld::Toggleable&, void);
278 DECL_LINK(OrientHdl_Impl, weld::ComboBox&, void);
279 DECL_LINK(SameLevelHdl_Impl, weld::Toggleable&, void);
280 DECL_LINK(BulColorHdl_Impl, ColorListBox&, void);
281 DECL_LINK(BulRelSizeHdl_Impl, weld::MetricSpinButton&, void);
282 DECL_LINK(PreviewInvalidateHdl_Impl, Timer*, void);
283 void EditModifyHdl_Impl(const weld::Entry*);
284
285public:
287 virtual ~SvxNumOptionsTabPage() override;
288
289 static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController,
290 const SfxItemSet* rAttrSet);
291
292 virtual void ActivatePage(const SfxItemSet& rSet) override;
293 virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override;
294 virtual bool FillItemSet( SfxItemSet* rSet ) override;
295 virtual void Reset( const SfxItemSet* rSet ) override;
296
297 void SetCharFmts(const OUString& rNumName, const OUString& rBulletName)
298 {
299 m_sNumCharFmtName = rNumName;
300 m_sBulletCharFormatName = rBulletName;
301 }
302 void SetMetric(FieldUnit eSet);
303
304 void SetModified(bool bRepaint = true);
305 virtual void PageCreated(const SfxAllItemSet& aSet) override;
306};
307
308
310{
311 std::unique_ptr<SvxNumRule> pActNum;
312 std::unique_ptr<SvxNumRule> pSaveNum;
313
315 sal_uInt16 nActNumLvl;
318
319 bool bModified : 1;
320 bool bPreset : 1;
321 bool bInInintControl : 1; // workaround for Modify-error, is said to be corrected from 391 on
323
325 std::unique_ptr<weld::TreeView> m_xLevelLB;
326 // former set of controls shown for numbering rules containing list level
327 // attributes in SvxNumberFormat::SvxNumPositionAndSpaceMode == LABEL_WIDTH_AND_POSITION
328 std::unique_ptr<weld::Label> m_xDistBorderFT;
329 std::unique_ptr<weld::MetricSpinButton> m_xDistBorderMF;
330 std::unique_ptr<weld::CheckButton> m_xRelativeCB;
331 std::unique_ptr<weld::Label> m_xIndentFT;
332 std::unique_ptr<weld::MetricSpinButton> m_xIndentMF;
333 std::unique_ptr<weld::Label> m_xDistNumFT;
334 std::unique_ptr<weld::MetricSpinButton> m_xDistNumMF;
335 std::unique_ptr<weld::Label> m_xAlignFT;
336 std::unique_ptr<weld::ComboBox> m_xAlignLB;
337 // new set of controls shown for numbering rules containing list level
338 // attributes in SvxNumberFormat::SvxNumPositionAndSpaceMode == LABEL_ALIGNMENT
339 std::unique_ptr<weld::Label> m_xLabelFollowedByFT;
340 std::unique_ptr<weld::ComboBox> m_xLabelFollowedByLB;
341 std::unique_ptr<weld::Label> m_xListtabFT;
342 std::unique_ptr<weld::MetricSpinButton> m_xListtabMF;
343 std::unique_ptr<weld::Label>m_xAlign2FT;
344 std::unique_ptr<weld::ComboBox> m_xAlign2LB;
345 std::unique_ptr<weld::Label> m_xAlignedAtFT;
346 std::unique_ptr<weld::MetricSpinButton> m_xAlignedAtMF;
347 std::unique_ptr<weld::Label> m_xIndentAtFT;
348 std::unique_ptr<weld::MetricSpinButton> m_xIndentAtMF;
349 std::unique_ptr<weld::Button> m_xStandardPB;
350 std::unique_ptr<weld::CustomWeld> m_xPreviewWIN;
351
352 void InitControls();
353
354 DECL_LINK(LevelHdl_Impl, weld::TreeView&, void);
355 DECL_LINK(LevelHdl, void *, void);
356 DECL_LINK(EditModifyHdl_Impl, weld::ComboBox&, void);
357 DECL_LINK(DistanceHdl_Impl, weld::MetricSpinButton&, void);
358 DECL_LINK(RelativeHdl_Impl, weld::Toggleable&, void);
359 DECL_LINK(StandardHdl_Impl, weld::Button&, void);
360
361 void InitPosAndSpaceMode();
363
364 DECL_LINK(LabelFollowedByHdl_Impl, weld::ComboBox&, void);
365 DECL_LINK(ListtabPosHdl_Impl, weld::MetricSpinButton&, void);
366 DECL_LINK(AlignAtHdl_Impl, weld::MetricSpinButton&, void);
367 DECL_LINK(IndentAtHdl_Impl, weld::MetricSpinButton&, void);
368
369public:
371 virtual ~SvxNumPositionTabPage() override;
372
373 virtual void ActivatePage(const SfxItemSet& rSet) override;
374 virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override;
375 virtual bool FillItemSet( SfxItemSet* rSet ) override;
376 virtual void Reset( const SfxItemSet* rSet ) override;
377
378 static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController,
379 const SfxItemSet* rAttrSet);
380
381 void SetMetric(FieldUnit eSet);
382 void SetModified();
383 virtual void PageCreated(const SfxAllItemSet& aSet) override;
384};
385
386/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
virtual ~SvxBitmapPickTabPage() override
Definition: numpages.cxx:775
DECL_LINK(NumSelectHdl_Impl, ValueSet *, void)
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: numpages.cxx:781
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: numpages.cxx:820
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: numpages.cxx:827
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:787
SvxBitmapPickTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: numpages.cxx:723
std::unique_ptr< SvxNumRule > pSaveNum
Definition: numpages.hxx:164
virtual void Reset(const SfxItemSet *rSet) override
Definition: numpages.cxx:843
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:472
DECL_LINK(BulRelSizeHdl_Impl, weld::MetricSpinButton &, void)
SvxNumOptionsTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: numpages.cxx:1010
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:1138
std::unique_ptr< weld::Label > m_xOrientFT
Definition: numpages.hxx:250
DECL_LINK(IsLegalHdl_Impl, weld::Toggleable &, void)
std::unique_ptr< weld::CheckButton > m_xSameLevelCB
Definition: numpages.hxx:254
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
DECL_LINK(GraphicHdl_Impl, const OUString &, void)
std::unique_ptr< weld::Label > m_xBulColorFT
Definition: numpages.hxx:232
std::unique_ptr< weld::MetricSpinButton > m_xWidthMF
Definition: numpages.hxx:246
DECL_LINK(LevelHdl_Impl, weld::TreeView &, void)
void SetModified(bool bRepaint=true)
Definition: numpages.cxx:3357
ImplSVEvent * m_pLevelHdlEvent
Definition: numpages.hxx:205
std::unique_ptr< weld::SpinButton > m_xStartED
Definition: numpages.hxx:240
std::unique_ptr< weld::TreeView > m_xLevelLB
Definition: numpages.hxx:223
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: numpages.cxx:1184
void CheckForStartValue_Impl(sal_uInt16 nNumberingType)
Definition: numpages.cxx:1736
DECL_LINK(EditModifyHdl_Impl, weld::Entry &, void)
std::unique_ptr< weld::Label > m_xBulletFT
Definition: numpages.hxx:241
std::unique_ptr< weld::Label > m_xStartFT
Definition: numpages.hxx:239
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::CheckButton > m_xIsLegalCB
Definition: numpages.hxx:238
std::unique_ptr< weld::ComboBox > m_xFmtLB
Definition: numpages.hxx:224
SvxNumberingPreview m_aPreviewWIN
Definition: numpages.hxx:221
DECL_LINK(LevelHdl, void *, void)
std::unique_ptr< weld::Label > m_xBulRelSizeFT
Definition: numpages.hxx:234
virtual ~SvxNumOptionsTabPage() override
Definition: numpages.cxx:1108
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:2130
DECL_LINK(PreviewInvalidateHdl_Impl, Timer *, void)
std::unique_ptr< weld::Widget > m_xAllLevelsFrame
Definition: numpages.hxx:252
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:1507
virtual void Reset(const SfxItemSet *rSet) override
Definition: numpages.cxx:1196
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: numpages.cxx:3367
OUString m_sNumCharFmtName
Definition: numpages.hxx:195
std::unique_ptr< weld::Label > m_xWidthFT
Definition: numpages.hxx:245
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:251
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:1132
std::unique_ptr< weld::SpinButton > m_xAllLevelNF
Definition: numpages.hxx:237
std::unique_ptr< weld::MenuButton > m_xBitmapMB
Definition: numpages.hxx:244
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:1177
std::unique_ptr< weld::CheckButton > m_xRatioCB
Definition: numpages.hxx:249
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:248
std::unique_ptr< weld::Label > m_xHeightFT
Definition: numpages.hxx:247
std::unique_ptr< weld::Button > m_xBulletPB
Definition: numpages.hxx:242
void SetCharFmts(const OUString &rNumName, const OUString &rBulletName)
Definition: numpages.hxx:297
std::unique_ptr< weld::CustomWeld > m_xPreviewWIN
Definition: numpages.hxx:255
void SetMetric(FieldUnit eSet)
Definition: numpages.cxx:1121
std::unique_ptr< weld::Label > m_xBitmapFT
Definition: numpages.hxx:243
Size aInitSize[SVX_MAX_NUM]
Definition: numpages.hxx:203
std::unique_ptr< weld::Menu > m_xGalleryMenu
Definition: numpages.hxx:253
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:587
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:532
std::unique_ptr< SvxNumRule > pActNum
Definition: numpages.hxx:128
DECL_LINK(NumSelectHdl_Impl, ValueSet *, void)
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: numpages.cxx:544
virtual void Reset(const SfxItemSet *rSet) override
Definition: numpages.cxx:594
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: numpages.cxx:713
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:480
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:555
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:538
std::unique_ptr< weld::Label > m_xAlign2FT
Definition: numpages.hxx:343
std::unique_ptr< weld::MetricSpinButton > m_xAlignedAtMF
Definition: numpages.hxx:346
std::unique_ptr< weld::Label > m_xIndentFT
Definition: numpages.hxx:331
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: numpages.cxx:2843
SvxNumberingPreview m_aPreviewWIN
Definition: numpages.hxx:324
DECL_LINK(RelativeHdl_Impl, weld::Toggleable &, void)
std::unique_ptr< weld::ComboBox > m_xAlignLB
Definition: numpages.hxx:336
virtual ~SvxNumPositionTabPage() override
Definition: numpages.cxx:2582
TypedWhichId< SvxNumBulletItem > nNumItemId
Definition: numpages.hxx:316
ImplSVEvent * m_pLevelHdlEvent
Definition: numpages.hxx:314
DECL_LINK(AlignAtHdl_Impl, weld::MetricSpinButton &, void)
DECL_LINK(IndentAtHdl_Impl, weld::MetricSpinButton &, void)
std::unique_ptr< weld::Label > m_xListtabFT
Definition: numpages.hxx:341
std::unique_ptr< weld::Label > m_xDistNumFT
Definition: numpages.hxx:333
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: numpages.cxx:3388
std::unique_ptr< weld::MetricSpinButton > m_xDistBorderMF
Definition: numpages.hxx:329
std::unique_ptr< weld::ComboBox > m_xLabelFollowedByLB
Definition: numpages.hxx:340
std::unique_ptr< SvxNumRule > pSaveNum
Definition: numpages.hxx:312
std::unique_ptr< weld::Button > m_xStandardPB
Definition: numpages.hxx:349
std::unique_ptr< weld::MetricSpinButton > m_xIndentAtMF
Definition: numpages.hxx:348
std::unique_ptr< SvxNumRule > pActNum
Definition: numpages.hxx:311
std::unique_ptr< weld::ComboBox > m_xAlign2LB
Definition: numpages.hxx:344
SvxNumPositionTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: numpages.cxx:2508
DECL_LINK(ListtabPosHdl_Impl, weld::MetricSpinButton &, void)
DECL_LINK(DistanceHdl_Impl, weld::MetricSpinButton &, void)
void SetMetric(FieldUnit eSet)
Definition: numpages.cxx:2981
void ShowControlsDependingOnPosAndSpaceMode()
Definition: numpages.cxx:2949
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: numpages.cxx:2975
DECL_LINK(LevelHdl, void *, void)
std::unique_ptr< weld::MetricSpinButton > m_xListtabMF
Definition: numpages.hxx:342
DECL_LINK(LabelFollowedByHdl_Impl, weld::ComboBox &, void)
virtual void Reset(const SfxItemSet *rSet) override
Definition: numpages.cxx:2856
std::unique_ptr< weld::Label > m_xAlignedAtFT
Definition: numpages.hxx:345
std::unique_ptr< weld::MetricSpinButton > m_xIndentMF
Definition: numpages.hxx:332
std::unique_ptr< weld::Label > m_xLabelFollowedByFT
Definition: numpages.hxx:339
std::unique_ptr< weld::CustomWeld > m_xPreviewWIN
Definition: numpages.hxx:350
std::unique_ptr< weld::Label > m_xAlignFT
Definition: numpages.hxx:335
std::unique_ptr< weld::TreeView > m_xLevelLB
Definition: numpages.hxx:325
bool bLabelAlignmentPosAndSpaceModeActive
Definition: numpages.hxx:322
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:2831
std::unique_ptr< weld::Label > m_xIndentAtFT
Definition: numpages.hxx:347
sal_uInt16 nActNumLvl
Definition: numpages.hxx:315
std::unique_ptr< weld::CheckButton > m_xRelativeCB
Definition: numpages.hxx:330
std::unique_ptr< weld::MetricSpinButton > m_xDistNumMF
Definition: numpages.hxx:334
std::unique_ptr< weld::Label > m_xDistBorderFT
Definition: numpages.hxx:328
virtual void ActivatePage(const SfxItemSet &rSet) override
Definition: numpages.cxx:2788
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