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 {
62 
64  std::unique_ptr<SvxNumRule> pActNum;
65  std::unique_ptr<SvxNumRule> pSaveNum;
66  sal_uInt16 nActNumLvl;
67  bool bModified : 1;
68  bool bPreset : 1;
69 
70  sal_uInt16 nNumItemId;
71 
72  std::unique_ptr<NumValueSet> m_xExamplesVS;
73  std::unique_ptr<weld::CustomWeld> m_xExamplesVSWin;
74 
75  DECL_LINK(NumSelectHdl_Impl, SvtValueSet*, void);
76  DECL_LINK(DoubleClickHdl_Impl, SvtValueSet*, void);
77 
78 public:
79  SvxSingleNumPickTabPage(TabPageParent pParent, const SfxItemSet& rSet);
80  virtual ~SvxSingleNumPickTabPage() override;
81  virtual void dispose() override;
82 
83  static VclPtr<SfxTabPage> Create( TabPageParent pParent,
84  const SfxItemSet* rAttrSet);
85 
86  virtual void ActivatePage(const SfxItemSet& rSet) override;
87  virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override;
88  virtual bool FillItemSet( SfxItemSet* rSet ) override;
89  virtual void Reset( const SfxItemSet* rSet ) override;
90 };
91 
92 class SvxBulletPickTabPage final : public SfxTabPage
93 {
96 
97  std::unique_ptr<SvxNumRule> pActNum;
98  std::unique_ptr<SvxNumRule> pSaveNum;
99  sal_uInt16 nActNumLvl;
100  bool bModified : 1;
101  bool bPreset : 1;
102  sal_uInt16 nNumItemId;
103 
105 
106  std::unique_ptr<NumValueSet> m_xExamplesVS;
107  std::unique_ptr<weld::CustomWeld> m_xExamplesVSWin;
108 
109  DECL_LINK(NumSelectHdl_Impl, SvtValueSet*, void);
110  DECL_LINK(DoubleClickHdl_Impl, SvtValueSet*, void);
111 public:
112  SvxBulletPickTabPage(TabPageParent pParent, const SfxItemSet& rSet);
113  virtual ~SvxBulletPickTabPage() override;
114  virtual void dispose() override;
115 
116  static VclPtr<SfxTabPage> Create( TabPageParent pParent,
117  const SfxItemSet* rAttrSet);
118 
119  virtual void ActivatePage(const SfxItemSet& rSet) override;
120  virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override;
121  virtual bool FillItemSet( SfxItemSet* rSet ) override;
122  virtual void Reset( const SfxItemSet* rSet ) override;
123 
124  virtual void PageCreated(const SfxAllItemSet& aSet) override;
125 };
126 
127 #define NUM_VALUSET_COUNT 16
128 
130 class SvxNumPickTabPage final : public SfxTabPage
131 {
132  using TabPage::ActivatePage;
134 
135  OUString sNumCharFmtName;
137 
138  SvxNumSettingsArr_Impl aNumSettingsArrays[NUM_VALUSET_COUNT]; // is initialized with the five formats
139 
140  std::unique_ptr<SvxNumRule> pActNum;
141  std::unique_ptr<SvxNumRule> pSaveNum;
142  sal_uInt16 nActNumLvl;
143  sal_uInt16 nNumItemId;
144  bool bModified : 1;
145  bool bPreset : 1;
146 
147  std::unique_ptr<NumValueSet> m_xExamplesVS;
148  std::unique_ptr<weld::CustomWeld> m_xExamplesVSWin;
149 
150  DECL_LINK(NumSelectHdl_Impl, SvtValueSet*, void);
151  DECL_LINK(DoubleClickHdl_Impl, SvtValueSet*, void);
152 
153 public:
154  SvxNumPickTabPage(TabPageParent pParent, const SfxItemSet& rSet);
155  virtual ~SvxNumPickTabPage() override;
156  virtual void dispose() override;
157 
158  static VclPtr<SfxTabPage> Create( TabPageParent pParent,
159  const SfxItemSet* rAttrSet);
160 
161  virtual void ActivatePage(const SfxItemSet& rSet) override;
162  virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override;
163  virtual bool FillItemSet( SfxItemSet* rSet ) override;
164  virtual void Reset( const SfxItemSet* rSet ) override;
165 
166  void SetCharFormatNames(const OUString& rCharName, const OUString& rBulName)
167  { sNumCharFmtName = rCharName;
168  sBulletCharFormatName = rBulName;}
169  virtual void PageCreated(const SfxAllItemSet& aSet) override;
170 };
171 
172 class SvxBitmapPickTabPage final : public SfxTabPage
173 {
174  using TabPage::ActivatePage;
176 
177  std::vector<OUString> aGrfNames;
178 
179  std::unique_ptr<SvxNumRule> pActNum;
180  std::unique_ptr<SvxNumRule> pSaveNum;
181  sal_uInt16 nActNumLvl;
182  sal_uInt16 nNumItemId;
184  bool bModified : 1;
185  bool bPreset : 1;
186 
187  std::unique_ptr<weld::Label> m_xErrorText;
188  std::unique_ptr<weld::Button> m_xBtBrowseFile;
189  std::unique_ptr<SvxBmpNumValueSet> m_xExamplesVS;
190  std::unique_ptr<weld::CustomWeld> m_xExamplesVSWin;
191 
192  DECL_LINK(NumSelectHdl_Impl, SvtValueSet*, void);
193  DECL_LINK(DoubleClickHdl_Impl, SvtValueSet*, void);
194  DECL_LINK(ClickAddBrowseHdl_Impl, weld::Button&, void);
195 
196 public:
197  SvxBitmapPickTabPage(TabPageParent pParent, const SfxItemSet& rSet);
198  virtual ~SvxBitmapPickTabPage() override;
199  virtual void dispose() override;
200 
201  static VclPtr<SfxTabPage> Create(TabPageParent pParent,
202  const SfxItemSet* rAttrSet);
203 
204  virtual void ActivatePage(const SfxItemSet& rSet) override;
205  virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override;
206  virtual bool FillItemSet( SfxItemSet* rSet ) override;
207  virtual void Reset( const SfxItemSet* rSet ) override;
208 };
209 
211 {
212  using TabPage::ActivatePage;
214 
217 
219 
220  std::unique_ptr<SvxNumRule> pActNum;
221  std::unique_ptr<SvxNumRule> pSaveNum;
222 
224 
226  bool bModified : 1;
227  bool bPreset : 1;
229  bool bHTMLMode : 1;
230 
231  std::vector<OUString> aGrfNames;
233 
235  sal_uInt16 nActNumLvl;
236  sal_uInt16 nNumItemId;
238 
240  std::unique_ptr<weld::Widget> m_xGrid;
241  std::unique_ptr<weld::TreeView> m_xLevelLB;
242  std::unique_ptr<weld::ComboBox> m_xFmtLB;
243  std::unique_ptr<weld::Label> m_xSeparatorFT;
244  std::unique_ptr<weld::Label> m_xPrefixFT;
245  std::unique_ptr<weld::Entry> m_xPrefixED;
246  std::unique_ptr<weld::Label> m_xSuffixFT;
247  std::unique_ptr<weld::Entry> m_xSuffixED;
248  std::unique_ptr<weld::Label> m_xCharFmtFT;
249  std::unique_ptr<weld::ComboBox> m_xCharFmtLB;
250  std::unique_ptr<weld::Label> m_xBulColorFT;
251  std::unique_ptr<ColorListBox> m_xBulColLB;
252  std::unique_ptr<weld::Label> m_xBulRelSizeFT;
253  std::unique_ptr<weld::MetricSpinButton> m_xBulRelSizeMF;
254  std::unique_ptr<weld::Label> m_xAllLevelFT;
255  std::unique_ptr<weld::SpinButton> m_xAllLevelNF;
256  std::unique_ptr<weld::Label> m_xStartFT;
257  std::unique_ptr<weld::SpinButton> m_xStartED;
258  std::unique_ptr<weld::Label> m_xBulletFT;
259  std::unique_ptr<weld::Button> m_xBulletPB;
260  std::unique_ptr<weld::Label> m_xBitmapFT;
261  std::unique_ptr<weld::MenuButton> m_xBitmapMB;
262  std::unique_ptr<weld::Label> m_xWidthFT;
263  std::unique_ptr<weld::MetricSpinButton> m_xWidthMF;
264  std::unique_ptr<weld::Label> m_xHeightFT;
265  std::unique_ptr<weld::MetricSpinButton> m_xHeightMF;
266  std::unique_ptr<weld::CheckButton> m_xRatioCB;
267  std::unique_ptr<weld::Label> m_xOrientFT;
268  std::unique_ptr<weld::ComboBox> m_xOrientLB;
269  std::unique_ptr<weld::Widget> m_xAllLevelsFrame;
270  std::unique_ptr<weld::Menu> m_xGalleryMenu;
271  std::unique_ptr<weld::CheckButton> m_xSameLevelCB;
272  std::unique_ptr<weld::CustomWeld> m_xPreviewWIN;
273 
274  void InitControls();
279  void SwitchNumberType( sal_uInt8 nType );
280  void CheckForStartValue_Impl(sal_uInt16 nNumberingType);
281 
282  DECL_LINK(NumberTypeSelectHdl_Impl, weld::ComboBox&, void);
283  DECL_LINK(LevelHdl_Impl, weld::TreeView&, void);
284  DECL_LINK(PopupActivateHdl_Impl, weld::ToggleButton&, void);
285  DECL_LINK(GraphicHdl_Impl, const OString&, void);
286  DECL_LINK(BulletHdl_Impl, weld::Button&, void);
287  DECL_LINK(SizeHdl_Impl, weld::MetricSpinButton&, void);
288  DECL_LINK(RatioHdl_Impl, weld::ToggleButton&, void);
289  DECL_LINK(CharFmtHdl_Impl, weld::ComboBox&, void);
291  DECL_LINK(EditListBoxHdl_Impl, weld::ComboBox&, void);
292  DECL_LINK(AllLevelHdl_Impl, weld::SpinButton&, void);
293  DECL_LINK(OrientHdl_Impl, weld::ComboBox&, void);
294  DECL_LINK(SameLevelHdl_Impl, weld::ToggleButton&, void);
295  DECL_LINK(BulColorHdl_Impl, ColorListBox&, void);
296  DECL_LINK(BulRelSizeHdl_Impl, weld::MetricSpinButton&, void);
297  DECL_LINK(PreviewInvalidateHdl_Impl, Timer*, void);
298  void EditModifyHdl_Impl(const weld::Entry*);
299 
300 public:
301  SvxNumOptionsTabPage(TabPageParent pParent, const SfxItemSet& rSet);
302  virtual ~SvxNumOptionsTabPage() override;
303  virtual void dispose() override;
304 
305  static VclPtr<SfxTabPage> Create( TabPageParent pParent,
306  const SfxItemSet* rAttrSet);
307 
308  virtual void ActivatePage(const SfxItemSet& rSet) override;
309  virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override;
310  virtual bool FillItemSet( SfxItemSet* rSet ) override;
311  virtual void Reset( const SfxItemSet* rSet ) override;
312 
313  void SetCharFmts(const OUString& rNumName, const OUString& rBulletName)
314  {
315  m_sNumCharFmtName = rNumName;
316  m_sBulletCharFormatName = rBulletName;
317  }
318  void SetMetric(FieldUnit eSet);
319 
320  void SetModified(bool bRepaint = true);
321  virtual void PageCreated(const SfxAllItemSet& aSet) override;
322 };
323 
324 
326 {
327  using TabPage::ActivatePage;
329 
330  std::unique_ptr<SvxNumRule> pActNum;
331  std::unique_ptr<SvxNumRule> pSaveNum;
332 
333  sal_uInt16 nActNumLvl;
334  sal_uInt16 nNumItemId;
336 
337  bool bModified : 1;
338  bool bPreset : 1;
339  bool bInInintControl : 1; // workaround for Modify-error, is said to be corrected from 391 on
341 
343  std::unique_ptr<weld::TreeView> m_xLevelLB;
344  // former set of controls shown for numbering rules containing list level
345  // attributes in SvxNumberFormat::SvxNumPositionAndSpaceMode == LABEL_WIDTH_AND_POSITION
346  std::unique_ptr<weld::Label> m_xDistBorderFT;
347  std::unique_ptr<weld::MetricSpinButton> m_xDistBorderMF;
348  std::unique_ptr<weld::CheckButton> m_xRelativeCB;
349  std::unique_ptr<weld::Label> m_xIndentFT;
350  std::unique_ptr<weld::MetricSpinButton> m_xIndentMF;
351  std::unique_ptr<weld::Label> m_xDistNumFT;
352  std::unique_ptr<weld::MetricSpinButton> m_xDistNumMF;
353  std::unique_ptr<weld::Label> m_xAlignFT;
354  std::unique_ptr<weld::ComboBox> m_xAlignLB;
355  // new set of controls shown for numbering rules containing list level
356  // attributes in SvxNumberFormat::SvxNumPositionAndSpaceMode == LABEL_ALIGNMENT
357  std::unique_ptr<weld::Label> m_xLabelFollowedByFT;
358  std::unique_ptr<weld::ComboBox> m_xLabelFollowedByLB;
359  std::unique_ptr<weld::Label> m_xListtabFT;
360  std::unique_ptr<weld::MetricSpinButton> m_xListtabMF;
361  std::unique_ptr<weld::Label>m_xAlign2FT;
362  std::unique_ptr<weld::ComboBox> m_xAlign2LB;
363  std::unique_ptr<weld::Label> m_xAlignedAtFT;
364  std::unique_ptr<weld::MetricSpinButton> m_xAlignedAtMF;
365  std::unique_ptr<weld::Label> m_xIndentAtFT;
366  std::unique_ptr<weld::MetricSpinButton> m_xIndentAtMF;
367  std::unique_ptr<weld::Button> m_xStandardPB;
368  std::unique_ptr<weld::CustomWeld> m_xPreviewWIN;
369 
370  void InitControls();
371 
372  DECL_LINK(LevelHdl_Impl, weld::TreeView&, void);
373  DECL_LINK(EditModifyHdl_Impl, weld::ComboBox&, void);
374  DECL_LINK(DistanceHdl_Impl, weld::MetricSpinButton&, void);
375  DECL_LINK(DistanceFocusHdl_Impl, Control&, void);
376  DECL_LINK(RelativeHdl_Impl, weld::ToggleButton&, void);
377  DECL_LINK(StandardHdl_Impl, weld::Button&, void);
378 
379  void InitPosAndSpaceMode();
381 
382  DECL_LINK(LabelFollowedByHdl_Impl, weld::ComboBox&, void);
383  DECL_LINK(ListtabPosHdl_Impl, weld::MetricSpinButton&, void);
384  DECL_LINK(AlignAtHdl_Impl, weld::MetricSpinButton&, void);
385  DECL_LINK(IndentAtHdl_Impl, weld::MetricSpinButton&, void);
386 
387 public:
388  SvxNumPositionTabPage(TabPageParent pParent, const SfxItemSet& rSet);
389  virtual ~SvxNumPositionTabPage() override;
390  virtual void dispose() override;
391 
392  virtual void ActivatePage(const SfxItemSet& rSet) override;
393  virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override;
394  virtual bool FillItemSet( SfxItemSet* rSet ) override;
395  virtual void Reset( const SfxItemSet* rSet ) override;
396 
397  static VclPtr<SfxTabPage> Create( TabPageParent pParent,
398  const SfxItemSet* rAttrSet);
399 
400  void SetMetric(FieldUnit eSet);
401  void SetModified();
402  virtual void PageCreated(const SfxAllItemSet& aSet) override;
403 };
404 
405 #endif
406 
407 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
std::unique_ptr< weld::Label > m_xErrorText
Definition: numpages.hxx:187
std::unique_ptr< weld::Label > m_xDistNumFT
Definition: numpages.hxx:351
SvxSingleNumPickTabPage(TabPageParent pParent, const SfxItemSet &rSet)
Definition: numpages.cxx:174
FieldUnit
virtual void dispose() override
Definition: numpages.cxx:812
sal_uInt16 nActNumLvl
Definition: numpages.hxx:99
virtual void ActivatePage(const SfxItemSet &rSet) override
Definition: numpages.cxx:825
std::unique_ptr< weld::Label > m_xBulColorFT
Definition: numpages.hxx:250
std::unique_ptr< weld::MenuButton > m_xBitmapMB
Definition: numpages.hxx:261
void SetCharFmts(const OUString &rNumName, const OUString &rBulletName)
Definition: numpages.hxx:313
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: numpages.cxx:2815
DECL_LINK(NumSelectHdl_Impl, SvtValueSet *, void)
std::unique_ptr< weld::CustomWeld > m_xExamplesVSWin
Definition: numpages.hxx:190
std::unique_ptr< weld::CustomWeld > m_xExamplesVSWin
Definition: numpages.hxx:73
static VclPtr< SfxTabPage > Create(TabPageParent pParent, const SfxItemSet *rAttrSet)
Definition: numpages.cxx:2961
std::unique_ptr< weld::Label > m_xAllLevelFT
Definition: numpages.hxx:254
static VclPtr< SfxTabPage > Create(TabPageParent pParent, const SfxItemSet *rAttrSet)
Definition: numpages.cxx:228
virtual void ActivatePage(const SfxItemSet &rSet) override
Definition: numpages.cxx:246
const SfxItemSet * pSet
virtual void dispose() override
Definition: numpages.cxx:2569
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: numpages.cxx:436
#define NUM_VALUSET_COUNT
Definition: numpages.hxx:127
std::unique_ptr< weld::Label > m_xAlign2FT
Definition: numpages.hxx:361
SvxNumSettingsArr_Impl aNumSettingsArrays[NUM_VALUSET_COUNT]
Definition: numpages.hxx:138
static VclPtr< SfxTabPage > Create(TabPageParent pParent, const SfxItemSet *rAttrSet)
Definition: numpages.cxx:1168
std::unique_ptr< weld::Label > m_xDistBorderFT
Definition: numpages.hxx:346
std::unique_ptr< SvxNumRule > pActNum
Definition: numpages.hxx:220
SVX_NUM_CHARS_UPPER_LETTER
std::unique_ptr< weld::Widget > m_xAllLevelsFrame
Definition: numpages.hxx:269
SvxBitmapPickTabPage(TabPageParent pParent, const SfxItemSet &rSet)
Definition: numpages.cxx:759
OUString sNumCharFmtName
Definition: numpages.hxx:135
std::unique_ptr< SvxNumRule > pActNum
Definition: numpages.hxx:64
std::unique_ptr< weld::CheckButton > m_xRelativeCB
Definition: numpages.hxx:348
std::unique_ptr< weld::ComboBox > m_xLabelFollowedByLB
Definition: numpages.hxx:358
std::unique_ptr< weld::MetricSpinButton > m_xHeightMF
Definition: numpages.hxx:265
vcl::Font aActBulletFont
Definition: numpages.hxx:232
std::unique_ptr< weld::Label > m_xBitmapFT
Definition: numpages.hxx:260
virtual ~SvxSingleNumPickTabPage() override
Definition: numpages.cxx:216
OUString sBulletCharFormatName
Definition: numpages.hxx:104
std::unique_ptr< weld::CustomWeld > m_xPreviewWIN
Definition: numpages.hxx:272
std::unique_ptr< weld::CustomWeld > m_xPreviewWIN
Definition: numpages.hxx:368
virtual void ActivatePage(const SfxItemSet &rSet) override
Definition: numpages.cxx:403
OUString m_sNumCharFmtName
Definition: numpages.hxx:215
std::unique_ptr< SvxNumRule > pActNum
Definition: numpages.hxx:330
std::unique_ptr< SvxNumRule > pSaveNum
Definition: numpages.hxx:331
virtual ~SvxNumPickTabPage() override
Definition: numpages.cxx:563
SvxNumPositionTabPage(TabPageParent pParent, const SfxItemSet &rSet)
Definition: numpages.cxx:2498
std::unique_ptr< weld::Label > m_xStartFT
Definition: numpages.hxx:256
sal_uInt16 nActNumLvl
Definition: numpages.hxx:235
virtual void dispose() override
Definition: numpages.cxx:221
virtual void Reset(const SfxItemSet *rSet) override
Definition: numpages.cxx:1233
SvxNumType
std::unique_ptr< weld::CustomWeld > m_xExamplesVSWin
Definition: numpages.hxx:107
std::unique_ptr< weld::Button > m_xBulletPB
Definition: numpages.hxx:259
std::vector< OUString > aGrfNames
Definition: numpages.hxx:231
std::unique_ptr< SvxNumRule > pSaveNum
Definition: numpages.hxx:65
std::unique_ptr< weld::ComboBox > m_xAlign2LB
Definition: numpages.hxx:362
std::unique_ptr< weld::ComboBox > m_xAlignLB
Definition: numpages.hxx:354
std::unique_ptr< weld::MetricSpinButton > m_xListtabMF
Definition: numpages.hxx:360
std::unique_ptr< SvxBmpNumValueSet > m_xExamplesVS
Definition: numpages.hxx:189
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: numpages.cxx:1221
SvxNumberingPreview m_aPreviewWIN
Definition: numpages.hxx:342
std::unique_ptr< weld::Label > m_xBulRelSizeFT
Definition: numpages.hxx:252
std::unique_ptr< weld::Label > m_xHeightFT
Definition: numpages.hxx:264
std::unique_ptr< weld::Label > m_xBulletFT
Definition: numpages.hxx:258
std::unique_ptr< weld::TreeView > m_xLevelLB
Definition: numpages.hxx:241
virtual void Reset(const SfxItemSet *rSet) override
Definition: numpages.cxx:882
DECL_LINK(NumSelectHdl_Impl, SvtValueSet *, void)
std::unique_ptr< weld::Label > m_xSuffixFT
Definition: numpages.hxx:246
sal_uInt16 nNumItemId
Definition: numpages.hxx:143
std::unique_ptr< SvxNumRule > pSaveNum
Definition: numpages.hxx:141
virtual void dispose() override
Definition: numpages.cxx:568
static VclPtr< SfxTabPage > Create(TabPageParent pParent, const SfxItemSet *rAttrSet)
Definition: numpages.cxx:386
virtual void dispose() override
Definition: numpages.cxx:1148
std::unique_ptr< weld::Button > m_xBtBrowseFile
Definition: numpages.hxx:188
std::unique_ptr< weld::MetricSpinButton > m_xDistBorderMF
Definition: numpages.hxx:347
virtual void Reset(const SfxItemSet *rSet) override
Definition: numpages.cxx:2840
void CheckForStartValue_Impl(sal_uInt16 nNumberingType)
Definition: numpages.cxx:1734
sal_uInt16 nNumItemId
Definition: numpages.hxx:182
std::unique_ptr< weld::CustomWeld > m_xExamplesVSWin
Definition: numpages.hxx:148
virtual void ActivatePage()
OUString sBulletChar
Definition: numpages.hxx:47
std::unique_ptr< SvxNumRule > pActNum
Definition: numpages.hxx:179
std::unique_ptr< weld::Button > m_xStandardPB
Definition: numpages.hxx:367
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: numpages.cxx:3341
void SetModified(bool bRepaint=true)
Definition: numpages.cxx:3331
OUString m_sBulletCharFormatName
Definition: numpages.hxx:216
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: numpages.cxx:625
virtual void ActivatePage(const SfxItemSet &rSet) override
Definition: numpages.cxx:2771
void SetMetric(FieldUnit eSet)
Definition: numpages.cxx:2967
std::unique_ptr< weld::Label > m_xCharFmtFT
Definition: numpages.hxx:248
std::unique_ptr< SvxNumRule > pSaveNum
Definition: numpages.hxx:98
std::unique_ptr< weld::ComboBox > m_xOrientLB
Definition: numpages.hxx:268
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: numpages.cxx:234
std::unique_ptr< weld::SpinButton > m_xStartED
Definition: numpages.hxx:257
std::unique_ptr< SvxNumRule > pSaveNum
Definition: numpages.hxx:221
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: numpages.cxx:3362
SvxNumberingPreview m_aPreviewWIN
Definition: numpages.hxx:239
virtual void dispose() override
Definition: numpages.cxx:379
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: numpages.cxx:581
virtual void Reset(const SfxItemSet *rSet) override
Definition: numpages.cxx:632
std::unique_ptr< weld::MetricSpinButton > m_xIndentAtMF
Definition: numpages.hxx:366
std::unique_ptr< weld::Widget > m_xGrid
Definition: numpages.hxx:240
std::unique_ptr< SvxNumRule > pActNum
Definition: numpages.hxx:140
std::unique_ptr< weld::Label > m_xIndentFT
Definition: numpages.hxx:349
void SetCharFormatNames(const OUString &rCharName, const OUString &rBulName)
Definition: numpages.hxx:166
std::unique_ptr< weld::Label > m_xPrefixFT
Definition: numpages.hxx:244
std::unique_ptr< weld::MetricSpinButton > m_xIndentMF
Definition: numpages.hxx:350
sal_uInt16 nActNumLvl
Definition: numpages.hxx:181
void SwitchNumberType(sal_uInt8 nType)
To switch between the numbering type 0 - Number; 1 - Bullet; 2 - Bitmap;.
Definition: numpages.cxx:1533
std::unique_ptr< weld::Entry > m_xSuffixED
Definition: numpages.hxx:247
void ShowControlsDependingOnPosAndSpaceMode()
Definition: numpages.cxx:2935
SvxNumSettingsArr_Impl aNumSettingsArr
Definition: numpages.hxx:63
std::unique_ptr< NumValueSet > m_xExamplesVS
Definition: numpages.hxx:106
bool bLabelAlignmentPosAndSpaceModeActive
Definition: numpages.hxx:340
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: numpages.cxx:749
sal_uInt16 nNumItemId
Definition: numpages.hxx:102
std::unique_ptr< weld::Label > m_xListtabFT
Definition: numpages.hxx:359
void EditModifyHdl_Impl(const weld::Entry *)
Definition: numpages.cxx:2124
Size aInitSize[SVX_MAX_NUM]
Definition: numpages.hxx:223
virtual ~SvxNumPositionTabPage() override
Definition: numpages.cxx:2564
SvxNumOptionsTabPage(TabPageParent pParent, const SfxItemSet &rSet)
Definition: numpages.cxx:1050
std::unique_ptr< NumValueSet > m_xExamplesVS
Definition: numpages.hxx:72
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: numpages.cxx:392
DECL_LINK(NumSelectHdl_Impl, SvtValueSet *, void)
std::unique_ptr< weld::Label > m_xLabelFollowedByFT
Definition: numpages.hxx:357
virtual void Reset(const SfxItemSet *rSet) override
Definition: numpages.cxx:443
std::unique_ptr< weld::Label > m_xIndentAtFT
Definition: numpages.hxx:365
std::unique_ptr< weld::Label > m_xWidthFT
Definition: numpages.hxx:262
Provides the preview to show how looks bullet or numbering format before the apply.
std::unique_ptr< SvxNumRule > pActNum
Definition: numpages.hxx:97
SvxNumPickTabPage(TabPageParent pParent, const SfxItemSet &rSet)
Definition: numpages.cxx:514
std::unique_ptr< weld::Label > m_xOrientFT
Definition: numpages.hxx:267
TabPage for complete numeration.
Definition: numpages.hxx:130
DECL_LINK(LevelHdl_Impl, weld::TreeView &, void)
std::unique_ptr< weld::Entry > m_xPrefixED
Definition: numpages.hxx:245
DECL_LINK(NumSelectHdl_Impl, SvtValueSet *, void)
std::unique_ptr< weld::MetricSpinButton > m_xBulRelSizeMF
Definition: numpages.hxx:253
SvxBulletPickTabPage(TabPageParent pParent, const SfxItemSet &rSet)
Definition: numpages.cxx:359
virtual void ActivatePage(const SfxItemSet &rSet) override
Definition: numpages.cxx:592
std::vector< std::unique_ptr< SvxNumSettings_Impl > > SvxNumSettingsArr_Impl
Definition: numpages.hxx:55
std::unique_ptr< weld::ComboBox > m_xCharFmtLB
Definition: numpages.hxx:249
virtual ~SvxBitmapPickTabPage() override
Definition: numpages.cxx:807
unsigned char sal_uInt8
sal_uInt16 nNumItemId
Definition: numpages.hxx:334
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: numpages.cxx:2827
sal_uInt16 nActNumLvl
Definition: numpages.hxx:142
SvxNumType nNumberType
Definition: numpages.hxx:43
std::unique_ptr< weld::CheckButton > m_xSameLevelCB
Definition: numpages.hxx:271
std::vector< OUString > aGrfNames
Definition: numpages.hxx:177
void SetMetric(FieldUnit eSet)
Definition: numpages.cxx:1157
#define SVX_MAX_NUM
std::unique_ptr< weld::MetricSpinButton > m_xDistNumMF
Definition: numpages.hxx:352
static VclPtr< SfxTabPage > Create(TabPageParent pParent, const SfxItemSet *rAttrSet)
Definition: numpages.cxx:819
std::unique_ptr< weld::ComboBox > m_xFmtLB
Definition: numpages.hxx:242
virtual ~SvxBulletPickTabPage() override
Definition: numpages.cxx:374
std::unique_ptr< weld::SpinButton > m_xAllLevelNF
Definition: numpages.hxx:255
DeactivateRC
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: numpages.cxx:280
OUString sBulletCharFormatName
Definition: numpages.hxx:136
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: numpages.cxx:866
virtual ~SvxNumOptionsTabPage() override
Definition: numpages.cxx:1143
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: numpages.cxx:506
static VclPtr< SfxTabPage > Create(TabPageParent pParent, const SfxItemSet *rAttrSet)
Definition: numpages.cxx:575
MapUnit
DECL_LINK(NumberTypeSelectHdl_Impl, weld::ComboBox &, void)
std::unique_ptr< weld::TreeView > m_xLevelLB
Definition: numpages.hxx:343
std::unique_ptr< SvxNumRule > pSaveNum
Definition: numpages.hxx:180
OUString sBulletFont
Definition: numpages.hxx:48
sal_uInt16 nActNumLvl
Definition: numpages.hxx:333
std::unique_ptr< weld::Label > m_xAlignFT
Definition: numpages.hxx:353
virtual void DeactivatePage()
std::unique_ptr< weld::Label > m_xAlignedAtFT
Definition: numpages.hxx:363
std::unique_ptr< ColorListBox > m_xBulColLB
Definition: numpages.hxx:251
std::unique_ptr< weld::CheckButton > m_xRatioCB
Definition: numpages.hxx:266
virtual void ActivatePage(const SfxItemSet &rSet) override
Definition: numpages.cxx:1174
std::unique_ptr< weld::MetricSpinButton > m_xAlignedAtMF
Definition: numpages.hxx:364
std::unique_ptr< weld::Label > m_xSeparatorFT
Definition: numpages.hxx:243
std::unique_ptr< weld::MetricSpinButton > m_xWidthMF
Definition: numpages.hxx:263
std::unique_ptr< NumValueSet > m_xExamplesVS
Definition: numpages.hxx:147
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: numpages.cxx:1214
sal_uInt16 nNumItemId
Definition: numpages.hxx:236
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: numpages.cxx:859
virtual void Reset(const SfxItemSet *rSet) override
Definition: numpages.cxx:287
std::unique_ptr< weld::Menu > m_xGalleryMenu
Definition: numpages.hxx:270