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