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 #ifndef INCLUDED_CUI_SOURCE_INC_NUMPAGES_HXX
20 #define INCLUDED_CUI_SOURCE_INC_NUMPAGES_HXX
21 
22 #include <vector>
23 #include <memory>
24 
25 #include <sfx2/tabdlg.hxx>
26 #include <editeng/numdef.hxx>
27 #include <editeng/svxenum.hxx>
28 #include <svtools/ctrlbox.hxx>
29 #include <vcl/customweld.hxx>
30 #include <vcl/timer.hxx>
31 #include <cui/numberingpreview.hxx>
32 
33 #define MN_GALLERY_ENTRY 100
34 
35 class ColorListBox;
36 class SvxNumValueSet;
37 class SvxNumRule;
38 class SvxBmpNumValueSet;
39 class SvxBrushItem;
40 struct ImplSVEvent;
41 
43 {
46  OUString sPrefix;
47  OUString sSuffix;
48  OUString sBulletChar;
49  OUString sBulletFont;
51  nNumberType(SVX_NUM_CHARS_UPPER_LETTER),
52  nParentNumbering(0)
53  {}
54 };
55 
56 typedef std::vector<std::unique_ptr<SvxNumSettings_Impl> > SvxNumSettingsArr_Impl;
57 
58 
59 class SvxSingleNumPickTabPage final : public SfxTabPage
60 {
62  std::unique_ptr<SvxNumRule> pActNum;
63  std::unique_ptr<SvxNumRule> pSaveNum;
64  sal_uInt16 nActNumLvl;
65  bool bModified : 1;
66  bool bPreset : 1;
67 
68  sal_uInt16 nNumItemId;
69 
70  std::unique_ptr<SvxNumValueSet> m_xExamplesVS;
71  std::unique_ptr<weld::CustomWeld> m_xExamplesVSWin;
72 
73  DECL_LINK(NumSelectHdl_Impl, ValueSet*, void);
74  DECL_LINK(DoubleClickHdl_Impl, ValueSet*, void);
75 
76 public:
78  virtual ~SvxSingleNumPickTabPage() override;
79 
80  static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController,
81  const SfxItemSet* rAttrSet);
82 
83  virtual void ActivatePage(const SfxItemSet& rSet) override;
84  virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override;
85  virtual bool FillItemSet( SfxItemSet* rSet ) override;
86  virtual void Reset( const SfxItemSet* rSet ) override;
87 };
88 
89 class SvxBulletPickTabPage final : public SfxTabPage
90 {
91  std::unique_ptr<SvxNumRule> pActNum;
92  std::unique_ptr<SvxNumRule> pSaveNum;
93  sal_uInt16 nActNumLvl;
94  bool bModified : 1;
95  bool bPreset : 1;
96  sal_uInt16 nNumItemId;
97 
99 
100  std::unique_ptr<SvxNumValueSet> m_xExamplesVS;
101  std::unique_ptr<weld::CustomWeld> m_xExamplesVSWin;
102 
103  DECL_LINK(NumSelectHdl_Impl, ValueSet*, void);
104  DECL_LINK(DoubleClickHdl_Impl, ValueSet*, void);
105 public:
106  SvxBulletPickTabPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet);
107  virtual ~SvxBulletPickTabPage() override;
108 
109  static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController,
110  const SfxItemSet* rAttrSet);
111 
112  virtual void ActivatePage(const SfxItemSet& rSet) override;
113  virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override;
114  virtual bool FillItemSet( SfxItemSet* rSet ) override;
115  virtual void Reset( const SfxItemSet* rSet ) override;
116 
117  virtual void PageCreated(const SfxAllItemSet& aSet) override;
118 };
119 
120 #define NUM_VALUSET_COUNT 16
121 
123 class SvxNumPickTabPage final : public SfxTabPage
124 {
125  OUString sNumCharFmtName;
127 
128  SvxNumSettingsArr_Impl aNumSettingsArrays[NUM_VALUSET_COUNT]; // is initialized with the five formats
129 
130  std::unique_ptr<SvxNumRule> pActNum;
131  std::unique_ptr<SvxNumRule> pSaveNum;
132  sal_uInt16 nActNumLvl;
133  sal_uInt16 nNumItemId;
134  bool bModified : 1;
135  bool bPreset : 1;
136 
137  std::unique_ptr<SvxNumValueSet> m_xExamplesVS;
138  std::unique_ptr<weld::CustomWeld> m_xExamplesVSWin;
139 
140  DECL_LINK(NumSelectHdl_Impl, ValueSet*, void);
141  DECL_LINK(DoubleClickHdl_Impl, ValueSet*, void);
142 
143 public:
144  SvxNumPickTabPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet);
145  virtual ~SvxNumPickTabPage() override;
146 
147  static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController,
148  const SfxItemSet* rAttrSet);
149 
150  virtual void ActivatePage(const SfxItemSet& rSet) override;
151  virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override;
152  virtual bool FillItemSet( SfxItemSet* rSet ) override;
153  virtual void Reset( const SfxItemSet* rSet ) override;
154 
155  void SetCharFormatNames(const OUString& rCharName, const OUString& rBulName)
156  { sNumCharFmtName = rCharName;
157  sBulletCharFormatName = rBulName;}
158  virtual void PageCreated(const SfxAllItemSet& aSet) override;
159 };
160 
161 class SvxBitmapPickTabPage final : public SfxTabPage
162 {
163  std::vector<OUString> aGrfNames;
164 
165  std::unique_ptr<SvxNumRule> pActNum;
166  std::unique_ptr<SvxNumRule> pSaveNum;
167  sal_uInt16 nActNumLvl;
168  sal_uInt16 nNumItemId;
170  bool bModified : 1;
171  bool bPreset : 1;
172 
173  std::unique_ptr<weld::Label> m_xErrorText;
174  std::unique_ptr<weld::Button> m_xBtBrowseFile;
175  std::unique_ptr<SvxBmpNumValueSet> m_xExamplesVS;
176  std::unique_ptr<weld::CustomWeld> m_xExamplesVSWin;
177 
178  DECL_LINK(NumSelectHdl_Impl, ValueSet*, void);
179  DECL_LINK(DoubleClickHdl_Impl, ValueSet*, void);
180  DECL_LINK(ClickAddBrowseHdl_Impl, weld::Button&, void);
181 
182 public:
183  SvxBitmapPickTabPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet);
184  virtual ~SvxBitmapPickTabPage() override;
185 
186  static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController,
187  const SfxItemSet* rAttrSet);
188 
189  virtual void ActivatePage(const SfxItemSet& rSet) override;
190  virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override;
191  virtual bool FillItemSet( SfxItemSet* rSet ) override;
192  virtual void Reset( const SfxItemSet* rSet ) override;
193 };
194 
196 {
199 
201 
202  std::unique_ptr<SvxNumRule> pActNum;
203  std::unique_ptr<SvxNumRule> pSaveNum;
204 
206 
208 
210  bool bModified : 1;
211  bool bPreset : 1;
213  bool bHTMLMode : 1;
214 
215  std::vector<OUString> aGrfNames;
217 
219  sal_uInt16 nActNumLvl;
220  sal_uInt16 nNumItemId;
222 
224  std::unique_ptr<weld::Widget> m_xGrid;
225  std::unique_ptr<weld::TreeView> m_xLevelLB;
226  std::unique_ptr<weld::ComboBox> m_xFmtLB;
227  std::unique_ptr<weld::Label> m_xSeparatorFT;
228  std::unique_ptr<weld::Label> m_xPrefixFT;
229  std::unique_ptr<weld::Entry> m_xPrefixED;
230  std::unique_ptr<weld::Label> m_xSuffixFT;
231  std::unique_ptr<weld::Entry> m_xSuffixED;
232  std::unique_ptr<weld::Label> m_xCharFmtFT;
233  std::unique_ptr<weld::ComboBox> m_xCharFmtLB;
234  std::unique_ptr<weld::Label> m_xBulColorFT;
235  std::unique_ptr<ColorListBox> m_xBulColLB;
236  std::unique_ptr<weld::Label> m_xBulRelSizeFT;
237  std::unique_ptr<weld::MetricSpinButton> m_xBulRelSizeMF;
238  std::unique_ptr<weld::Label> m_xAllLevelFT;
239  std::unique_ptr<weld::SpinButton> m_xAllLevelNF;
240  std::unique_ptr<weld::Label> m_xStartFT;
241  std::unique_ptr<weld::SpinButton> m_xStartED;
242  std::unique_ptr<weld::Label> m_xBulletFT;
243  std::unique_ptr<weld::Button> m_xBulletPB;
244  std::unique_ptr<weld::Label> m_xBitmapFT;
245  std::unique_ptr<weld::MenuButton> m_xBitmapMB;
246  std::unique_ptr<weld::Label> m_xWidthFT;
247  std::unique_ptr<weld::MetricSpinButton> m_xWidthMF;
248  std::unique_ptr<weld::Label> m_xHeightFT;
249  std::unique_ptr<weld::MetricSpinButton> m_xHeightMF;
250  std::unique_ptr<weld::CheckButton> m_xRatioCB;
251  std::unique_ptr<weld::Label> m_xOrientFT;
252  std::unique_ptr<weld::ComboBox> m_xOrientLB;
253  std::unique_ptr<weld::Widget> m_xAllLevelsFrame;
254  std::unique_ptr<weld::Menu> m_xGalleryMenu;
255  std::unique_ptr<weld::CheckButton> m_xSameLevelCB;
256  std::unique_ptr<weld::CustomWeld> m_xPreviewWIN;
257 
258  void InitControls();
263  void SwitchNumberType( sal_uInt8 nType );
264  void CheckForStartValue_Impl(sal_uInt16 nNumberingType);
265 
266  DECL_LINK(NumberTypeSelectHdl_Impl, weld::ComboBox&, void);
267  DECL_LINK(LevelHdl_Impl, weld::TreeView&, void);
268  DECL_LINK(LevelHdl, void *, void);
269  DECL_LINK(PopupActivateHdl_Impl, weld::ToggleButton&, void);
270  DECL_LINK(GraphicHdl_Impl, const OString&, void);
271  DECL_LINK(BulletHdl_Impl, weld::Button&, void);
272  DECL_LINK(SizeHdl_Impl, weld::MetricSpinButton&, void);
273  DECL_LINK(RatioHdl_Impl, weld::ToggleButton&, void);
274  DECL_LINK(CharFmtHdl_Impl, weld::ComboBox&, void);
276  DECL_LINK(AllLevelHdl_Impl, weld::SpinButton&, void);
277  DECL_LINK(OrientHdl_Impl, weld::ComboBox&, void);
278  DECL_LINK(SameLevelHdl_Impl, weld::ToggleButton&, void);
279  DECL_LINK(BulColorHdl_Impl, ColorListBox&, void);
280  DECL_LINK(BulRelSizeHdl_Impl, weld::MetricSpinButton&, void);
281  DECL_LINK(PreviewInvalidateHdl_Impl, Timer*, void);
282  void EditModifyHdl_Impl(const weld::Entry*);
283 
284 public:
285  SvxNumOptionsTabPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet);
286  virtual ~SvxNumOptionsTabPage() override;
287 
288  static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController,
289  const SfxItemSet* rAttrSet);
290 
291  virtual void ActivatePage(const SfxItemSet& rSet) override;
292  virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override;
293  virtual bool FillItemSet( SfxItemSet* rSet ) override;
294  virtual void Reset( const SfxItemSet* rSet ) override;
295 
296  void SetCharFmts(const OUString& rNumName, const OUString& rBulletName)
297  {
298  m_sNumCharFmtName = rNumName;
299  m_sBulletCharFormatName = rBulletName;
300  }
301  void SetMetric(FieldUnit eSet);
302 
303  void SetModified(bool bRepaint = true);
304  virtual void PageCreated(const SfxAllItemSet& aSet) override;
305 };
306 
307 
309 {
310  std::unique_ptr<SvxNumRule> pActNum;
311  std::unique_ptr<SvxNumRule> pSaveNum;
312 
314  sal_uInt16 nActNumLvl;
315  sal_uInt16 nNumItemId;
317 
318  bool bModified : 1;
319  bool bPreset : 1;
320  bool bInInintControl : 1; // workaround for Modify-error, is said to be corrected from 391 on
322 
324  std::unique_ptr<weld::TreeView> m_xLevelLB;
325  // former set of controls shown for numbering rules containing list level
326  // attributes in SvxNumberFormat::SvxNumPositionAndSpaceMode == LABEL_WIDTH_AND_POSITION
327  std::unique_ptr<weld::Label> m_xDistBorderFT;
328  std::unique_ptr<weld::MetricSpinButton> m_xDistBorderMF;
329  std::unique_ptr<weld::CheckButton> m_xRelativeCB;
330  std::unique_ptr<weld::Label> m_xIndentFT;
331  std::unique_ptr<weld::MetricSpinButton> m_xIndentMF;
332  std::unique_ptr<weld::Label> m_xDistNumFT;
333  std::unique_ptr<weld::MetricSpinButton> m_xDistNumMF;
334  std::unique_ptr<weld::Label> m_xAlignFT;
335  std::unique_ptr<weld::ComboBox> m_xAlignLB;
336  // new set of controls shown for numbering rules containing list level
337  // attributes in SvxNumberFormat::SvxNumPositionAndSpaceMode == LABEL_ALIGNMENT
338  std::unique_ptr<weld::Label> m_xLabelFollowedByFT;
339  std::unique_ptr<weld::ComboBox> m_xLabelFollowedByLB;
340  std::unique_ptr<weld::Label> m_xListtabFT;
341  std::unique_ptr<weld::MetricSpinButton> m_xListtabMF;
342  std::unique_ptr<weld::Label>m_xAlign2FT;
343  std::unique_ptr<weld::ComboBox> m_xAlign2LB;
344  std::unique_ptr<weld::Label> m_xAlignedAtFT;
345  std::unique_ptr<weld::MetricSpinButton> m_xAlignedAtMF;
346  std::unique_ptr<weld::Label> m_xIndentAtFT;
347  std::unique_ptr<weld::MetricSpinButton> m_xIndentAtMF;
348  std::unique_ptr<weld::Button> m_xStandardPB;
349  std::unique_ptr<weld::CustomWeld> m_xPreviewWIN;
350 
351  void InitControls();
352 
353  DECL_LINK(LevelHdl_Impl, weld::TreeView&, void);
354  DECL_LINK(LevelHdl, void *, void);
355  DECL_LINK(EditModifyHdl_Impl, weld::ComboBox&, void);
356  DECL_LINK(DistanceHdl_Impl, weld::MetricSpinButton&, void);
357  DECL_LINK(RelativeHdl_Impl, weld::ToggleButton&, void);
358  DECL_LINK(StandardHdl_Impl, weld::Button&, void);
359 
360  void InitPosAndSpaceMode();
362 
363  DECL_LINK(LabelFollowedByHdl_Impl, weld::ComboBox&, void);
364  DECL_LINK(ListtabPosHdl_Impl, weld::MetricSpinButton&, void);
365  DECL_LINK(AlignAtHdl_Impl, weld::MetricSpinButton&, void);
366  DECL_LINK(IndentAtHdl_Impl, weld::MetricSpinButton&, void);
367 
368 public:
369  SvxNumPositionTabPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet);
370  virtual ~SvxNumPositionTabPage() override;
371 
372  virtual void ActivatePage(const SfxItemSet& rSet) override;
373  virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override;
374  virtual bool FillItemSet( SfxItemSet* rSet ) override;
375  virtual void Reset( const SfxItemSet* rSet ) override;
376 
377  static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController,
378  const SfxItemSet* rAttrSet);
379 
380  void SetMetric(FieldUnit eSet);
381  void SetModified();
382  virtual void PageCreated(const SfxAllItemSet& aSet) override;
383 };
384 
385 #endif
386 
387 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
std::unique_ptr< weld::Label > m_xErrorText
Definition: numpages.hxx:173
std::unique_ptr< weld::Label > m_xDistNumFT
Definition: numpages.hxx:332
FieldUnit
sal_uInt16 nActNumLvl
Definition: numpages.hxx:93
virtual void ActivatePage(const SfxItemSet &rSet) override
Definition: numpages.cxx:787
std::unique_ptr< weld::Label > m_xBulColorFT
Definition: numpages.hxx:234
std::unique_ptr< weld::MenuButton > m_xBitmapMB
Definition: numpages.hxx:245
void SetCharFmts(const OUString &rNumName, const OUString &rBulletName)
Definition: numpages.hxx:296
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: numpages.cxx:2782
std::unique_ptr< SvxNumValueSet > m_xExamplesVS
Definition: numpages.hxx:137
std::unique_ptr< weld::CustomWeld > m_xExamplesVSWin
Definition: numpages.hxx:176
std::unique_ptr< weld::CustomWeld > m_xExamplesVSWin
Definition: numpages.hxx:71
SvxBulletPickTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: numpages.cxx:339
std::unique_ptr< weld::Label > m_xAllLevelFT
Definition: numpages.hxx:238
virtual void ActivatePage(const SfxItemSet &rSet) override
Definition: numpages.cxx:226
const SfxItemSet * pSet
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: numpages.cxx:410
#define NUM_VALUSET_COUNT
Definition: numpages.hxx:120
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: numpages.cxx:2928
ImplSVEvent * m_pLevelHdlEvent
Definition: numpages.hxx:313
std::unique_ptr< weld::Label > m_xAlign2FT
Definition: numpages.hxx:342
SvxNumSettingsArr_Impl aNumSettingsArrays[NUM_VALUSET_COUNT]
Definition: numpages.hxx:128
std::unique_ptr< SvxNumValueSet > m_xExamplesVS
Definition: numpages.hxx:70
std::unique_ptr< weld::Label > m_xDistBorderFT
Definition: numpages.hxx:327
std::unique_ptr< SvxNumRule > pActNum
Definition: numpages.hxx:202
SVX_NUM_CHARS_UPPER_LETTER
std::unique_ptr< weld::Widget > m_xAllLevelsFrame
Definition: numpages.hxx:253
OUString sNumCharFmtName
Definition: numpages.hxx:125
std::unique_ptr< SvxNumRule > pActNum
Definition: numpages.hxx:62
std::unique_ptr< weld::CheckButton > m_xRelativeCB
Definition: numpages.hxx:329
std::unique_ptr< weld::ComboBox > m_xLabelFollowedByLB
Definition: numpages.hxx:339
std::unique_ptr< weld::MetricSpinButton > m_xHeightMF
Definition: numpages.hxx:249
vcl::Font aActBulletFont
Definition: numpages.hxx:216
std::unique_ptr< weld::Label > m_xBitmapFT
Definition: numpages.hxx:244
virtual ~SvxSingleNumPickTabPage() override
Definition: numpages.cxx:202
OUString sBulletCharFormatName
Definition: numpages.hxx:98
std::unique_ptr< weld::CustomWeld > m_xPreviewWIN
Definition: numpages.hxx:256
std::unique_ptr< weld::CustomWeld > m_xPreviewWIN
Definition: numpages.hxx:349
virtual void ActivatePage(const SfxItemSet &rSet) override
Definition: numpages.cxx:377
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: numpages.cxx:1128
OUString m_sNumCharFmtName
Definition: numpages.hxx:197
std::unique_ptr< SvxNumRule > pActNum
Definition: numpages.hxx:310
std::unique_ptr< SvxNumRule > pSaveNum
Definition: numpages.hxx:311
virtual ~SvxNumPickTabPage() override
Definition: numpages.cxx:537
DECL_LINK(NumSelectHdl_Impl, ValueSet *, void)
std::unique_ptr< weld::Label > m_xStartFT
Definition: numpages.hxx:240
sal_uInt16 nActNumLvl
Definition: numpages.hxx:219
virtual void Reset(const SfxItemSet *rSet) override
Definition: numpages.cxx:1193
SvxNumType
std::unique_ptr< weld::CustomWeld > m_xExamplesVSWin
Definition: numpages.hxx:101
std::unique_ptr< weld::Button > m_xBulletPB
Definition: numpages.hxx:243
DECL_LINK(NumSelectHdl_Impl, ValueSet *, void)
std::vector< OUString > aGrfNames
Definition: numpages.hxx:215
std::unique_ptr< SvxNumRule > pSaveNum
Definition: numpages.hxx:63
std::unique_ptr< weld::ComboBox > m_xAlign2LB
Definition: numpages.hxx:343
std::unique_ptr< weld::ComboBox > m_xAlignLB
Definition: numpages.hxx:335
std::unique_ptr< weld::MetricSpinButton > m_xListtabMF
Definition: numpages.hxx:341
std::unique_ptr< SvxBmpNumValueSet > m_xExamplesVS
Definition: numpages.hxx:175
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: numpages.cxx:1181
SvxNumberingPreview m_aPreviewWIN
Definition: numpages.hxx:323
std::unique_ptr< weld::Label > m_xBulRelSizeFT
Definition: numpages.hxx:236
std::unique_ptr< weld::Label > m_xHeightFT
Definition: numpages.hxx:248
std::unique_ptr< weld::Label > m_xBulletFT
Definition: numpages.hxx:242
std::unique_ptr< weld::TreeView > m_xLevelLB
Definition: numpages.hxx:225
virtual void Reset(const SfxItemSet *rSet) override
Definition: numpages.cxx:844
std::unique_ptr< weld::Label > m_xSuffixFT
Definition: numpages.hxx:230
sal_uInt16 nNumItemId
Definition: numpages.hxx:133
std::unique_ptr< SvxNumRule > pSaveNum
Definition: numpages.hxx:131
std::unique_ptr< weld::Button > m_xBtBrowseFile
Definition: numpages.hxx:174
std::unique_ptr< weld::MetricSpinButton > m_xDistBorderMF
Definition: numpages.hxx:328
virtual void Reset(const SfxItemSet *rSet) override
Definition: numpages.cxx:2807
void CheckForStartValue_Impl(sal_uInt16 nNumberingType)
Definition: numpages.cxx:1706
sal_uInt16 nNumItemId
Definition: numpages.hxx:168
std::unique_ptr< weld::CustomWeld > m_xExamplesVSWin
Definition: numpages.hxx:138
OUString sBulletChar
Definition: numpages.hxx:48
std::unique_ptr< SvxNumValueSet > m_xExamplesVS
Definition: numpages.hxx:100
std::unique_ptr< SvxNumRule > pActNum
Definition: numpages.hxx:165
std::unique_ptr< weld::Button > m_xStandardPB
Definition: numpages.hxx:348
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: numpages.cxx:3320
void SetModified(bool bRepaint=true)
Definition: numpages.cxx:3310
OUString m_sBulletCharFormatName
Definition: numpages.hxx:198
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: numpages.cxx:208
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: numpages.cxx:593
ImplSVEvent * m_pLevelHdlEvent
Definition: numpages.hxx:207
virtual void ActivatePage(const SfxItemSet &rSet) override
Definition: numpages.cxx:2738
void SetMetric(FieldUnit eSet)
Definition: numpages.cxx:2934
std::unique_ptr< weld::Label > m_xCharFmtFT
Definition: numpages.hxx:232
SvxSingleNumPickTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: numpages.cxx:160
DECL_LINK(NumSelectHdl_Impl, ValueSet *, void)
std::unique_ptr< SvxNumRule > pSaveNum
Definition: numpages.hxx:92
std::unique_ptr< weld::ComboBox > m_xOrientLB
Definition: numpages.hxx:252
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: numpages.cxx:214
std::unique_ptr< weld::SpinButton > m_xStartED
Definition: numpages.hxx:241
std::unique_ptr< SvxNumRule > pSaveNum
Definition: numpages.hxx:203
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: numpages.cxx:3341
SvxNumberingPreview m_aPreviewWIN
Definition: numpages.hxx:223
SvxBitmapPickTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: numpages.cxx:727
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: numpages.cxx:549
virtual void Reset(const SfxItemSet *rSet) override
Definition: numpages.cxx:600
std::unique_ptr< weld::MetricSpinButton > m_xIndentAtMF
Definition: numpages.hxx:347
std::unique_ptr< weld::Widget > m_xGrid
Definition: numpages.hxx:224
std::unique_ptr< SvxNumRule > pActNum
Definition: numpages.hxx:130
std::unique_ptr< weld::Label > m_xIndentFT
Definition: numpages.hxx:330
void SetCharFormatNames(const OUString &rCharName, const OUString &rBulName)
Definition: numpages.hxx:155
std::unique_ptr< weld::Label > m_xPrefixFT
Definition: numpages.hxx:228
std::unique_ptr< weld::MetricSpinButton > m_xIndentMF
Definition: numpages.hxx:331
sal_uInt16 nActNumLvl
Definition: numpages.hxx:167
void SwitchNumberType(sal_uInt8 nType)
To switch between the numbering type 0 - Number; 1 - Bullet; 2 - Bitmap;.
Definition: numpages.cxx:1493
std::unique_ptr< weld::Entry > m_xSuffixED
Definition: numpages.hxx:231
void ShowControlsDependingOnPosAndSpaceMode()
Definition: numpages.cxx:2902
SvxNumSettingsArr_Impl aNumSettingsArr
Definition: numpages.hxx:61
bool bLabelAlignmentPosAndSpaceModeActive
Definition: numpages.hxx:321
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: numpages.cxx:717
sal_uInt16 nNumItemId
Definition: numpages.hxx:96
std::unique_ptr< weld::Label > m_xListtabFT
Definition: numpages.hxx:340
void EditModifyHdl_Impl(const weld::Entry *)
Definition: numpages.cxx:2091
Size aInitSize[SVX_MAX_NUM]
Definition: numpages.hxx:205
virtual ~SvxNumPositionTabPage() override
Definition: numpages.cxx:2532
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: numpages.cxx:366
SvxNumPickTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: numpages.cxx:488
std::unique_ptr< weld::Label > m_xLabelFollowedByFT
Definition: numpages.hxx:338
virtual void Reset(const SfxItemSet *rSet) override
Definition: numpages.cxx:417
std::unique_ptr< weld::Label > m_xIndentAtFT
Definition: numpages.hxx:346
std::unique_ptr< weld::Label > m_xWidthFT
Definition: numpages.hxx:246
Provides the preview to show how looks bullet or numbering format before the apply.
std::unique_ptr< SvxNumRule > pActNum
Definition: numpages.hxx:91
std::unique_ptr< weld::Label > m_xOrientFT
Definition: numpages.hxx:251
TabPage for complete numeration.
Definition: numpages.hxx:123
DECL_LINK(LevelHdl_Impl, weld::TreeView &, void)
std::unique_ptr< weld::Entry > m_xPrefixED
Definition: numpages.hxx:229
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: numpages.cxx:543
std::unique_ptr< weld::MetricSpinButton > m_xBulRelSizeMF
Definition: numpages.hxx:237
virtual void ActivatePage(const SfxItemSet &rSet) override
Definition: numpages.cxx:560
std::vector< std::unique_ptr< SvxNumSettings_Impl > > SvxNumSettingsArr_Impl
Definition: numpages.hxx:56
std::unique_ptr< weld::ComboBox > m_xCharFmtLB
Definition: numpages.hxx:233
virtual ~SvxBitmapPickTabPage() override
Definition: numpages.cxx:775
unsigned char sal_uInt8
sal_uInt16 nNumItemId
Definition: numpages.hxx:315
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: numpages.cxx:2794
SvxNumPositionTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: numpages.cxx:2465
sal_uInt16 nActNumLvl
Definition: numpages.hxx:132
SvxNumType nNumberType
Definition: numpages.hxx:44
std::unique_ptr< weld::CheckButton > m_xSameLevelCB
Definition: numpages.hxx:255
std::vector< OUString > aGrfNames
Definition: numpages.hxx:163
void SetMetric(FieldUnit eSet)
Definition: numpages.cxx:1117
#define SVX_MAX_NUM
std::unique_ptr< weld::MetricSpinButton > m_xDistNumMF
Definition: numpages.hxx:333
SvxNumOptionsTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: numpages.cxx:1010
std::unique_ptr< weld::ComboBox > m_xFmtLB
Definition: numpages.hxx:226
virtual ~SvxBulletPickTabPage() override
Definition: numpages.cxx:354
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: numpages.cxx:360
std::unique_ptr< weld::SpinButton > m_xAllLevelNF
Definition: numpages.hxx:239
DECL_LINK(NumSelectHdl_Impl, ValueSet *, void)
DeactivateRC
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: numpages.cxx:260
OUString sBulletCharFormatName
Definition: numpages.hxx:126
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: numpages.cxx:828
virtual ~SvxNumOptionsTabPage() override
Definition: numpages.cxx:1104
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: numpages.cxx:480
MapUnit
DECL_LINK(NumberTypeSelectHdl_Impl, weld::ComboBox &, void)
std::unique_ptr< weld::TreeView > m_xLevelLB
Definition: numpages.hxx:324
std::unique_ptr< SvxNumRule > pSaveNum
Definition: numpages.hxx:166
OUString sBulletFont
Definition: numpages.hxx:49
sal_uInt16 nActNumLvl
Definition: numpages.hxx:314
std::unique_ptr< weld::Label > m_xAlignFT
Definition: numpages.hxx:334
std::unique_ptr< weld::Label > m_xAlignedAtFT
Definition: numpages.hxx:344
std::unique_ptr< ColorListBox > m_xBulColLB
Definition: numpages.hxx:235
std::unique_ptr< weld::CheckButton > m_xRatioCB
Definition: numpages.hxx:250
virtual void ActivatePage(const SfxItemSet &rSet) override
Definition: numpages.cxx:1134
std::unique_ptr< weld::MetricSpinButton > m_xAlignedAtMF
Definition: numpages.hxx:345
std::unique_ptr< weld::Label > m_xSeparatorFT
Definition: numpages.hxx:227
std::unique_ptr< weld::MetricSpinButton > m_xWidthMF
Definition: numpages.hxx:247
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: numpages.cxx:1174
sal_uInt16 nNumItemId
Definition: numpages.hxx:220
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:821
virtual void Reset(const SfxItemSet *rSet) override
Definition: numpages.cxx:267
std::unique_ptr< weld::Menu > m_xGalleryMenu
Definition: numpages.hxx:254