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>
30 #include <cui/numberingpreview.hxx>
31 
32 #define MN_GALLERY_ENTRY 100
33 
34 class ColorListBox;
35 class SvxNumValueSet;
36 class SvxNumRule;
37 class SvxBmpNumValueSet;
38 class SvxBrushItem;
39 struct ImplSVEvent;
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<SvxNumValueSet> m_xExamplesVS;
70  std::unique_ptr<weld::CustomWeld> m_xExamplesVSWin;
71 
72  DECL_LINK(NumSelectHdl_Impl, ValueSet*, void);
73  DECL_LINK(DoubleClickHdl_Impl, ValueSet*, 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<SvxNumValueSet> m_xExamplesVS;
100  std::unique_ptr<weld::CustomWeld> m_xExamplesVSWin;
101 
102  DECL_LINK(NumSelectHdl_Impl, ValueSet*, void);
103  DECL_LINK(DoubleClickHdl_Impl, ValueSet*, 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<SvxNumValueSet> m_xExamplesVS;
137  std::unique_ptr<weld::CustomWeld> m_xExamplesVSWin;
138 
139  DECL_LINK(NumSelectHdl_Impl, ValueSet*, void);
140  DECL_LINK(DoubleClickHdl_Impl, ValueSet*, 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, ValueSet*, void);
178  DECL_LINK(DoubleClickHdl_Impl, ValueSet*, 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 
209  bool bModified : 1;
210  bool bPreset : 1;
212  bool bHTMLMode : 1;
213 
214  std::vector<OUString> aGrfNames;
216 
218  sal_uInt16 nActNumLvl;
219  sal_uInt16 nNumItemId;
221 
223  std::unique_ptr<weld::Widget> m_xGrid;
224  std::unique_ptr<weld::TreeView> m_xLevelLB;
225  std::unique_ptr<weld::ComboBox> m_xFmtLB;
226  std::unique_ptr<weld::Label> m_xSeparatorFT;
227  std::unique_ptr<weld::Label> m_xPrefixFT;
228  std::unique_ptr<weld::Entry> m_xPrefixED;
229  std::unique_ptr<weld::Label> m_xSuffixFT;
230  std::unique_ptr<weld::Entry> m_xSuffixED;
231  std::unique_ptr<weld::Label> m_xCharFmtFT;
232  std::unique_ptr<weld::ComboBox> m_xCharFmtLB;
233  std::unique_ptr<weld::Label> m_xBulColorFT;
234  std::unique_ptr<ColorListBox> m_xBulColLB;
235  std::unique_ptr<weld::Label> m_xBulRelSizeFT;
236  std::unique_ptr<weld::MetricSpinButton> m_xBulRelSizeMF;
237  std::unique_ptr<weld::Label> m_xAllLevelFT;
238  std::unique_ptr<weld::SpinButton> m_xAllLevelNF;
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::ToggleButton&, void);
269  DECL_LINK(GraphicHdl_Impl, const OString&, void);
270  DECL_LINK(BulletHdl_Impl, weld::Button&, void);
271  DECL_LINK(SizeHdl_Impl, weld::MetricSpinButton&, void);
272  DECL_LINK(RatioHdl_Impl, weld::ToggleButton&, 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(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 /* 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:332
FieldUnit
sal_uInt16 nActNumLvl
Definition: numpages.hxx:92
virtual void ActivatePage(const SfxItemSet &rSet) override
Definition: numpages.cxx:788
std::unique_ptr< weld::Label > m_xBulColorFT
Definition: numpages.hxx:233
std::unique_ptr< weld::MenuButton > m_xBitmapMB
Definition: numpages.hxx:244
void SetCharFmts(const OUString &rNumName, const OUString &rBulletName)
Definition: numpages.hxx:296
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: numpages.cxx:2789
std::unique_ptr< SvxNumValueSet > m_xExamplesVS
Definition: numpages.hxx:136
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:339
std::unique_ptr< weld::Label > m_xAllLevelFT
Definition: numpages.hxx:237
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:119
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: numpages.cxx:2935
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:127
std::unique_ptr< SvxNumValueSet > m_xExamplesVS
Definition: numpages.hxx:69
std::unique_ptr< weld::Label > m_xDistBorderFT
Definition: numpages.hxx:327
std::unique_ptr< SvxNumRule > pActNum
Definition: numpages.hxx:201
SVX_NUM_CHARS_UPPER_LETTER
std::unique_ptr< weld::Widget > m_xAllLevelsFrame
Definition: numpages.hxx:252
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:329
std::unique_ptr< weld::ComboBox > m_xLabelFollowedByLB
Definition: numpages.hxx:339
std::unique_ptr< weld::MetricSpinButton > m_xHeightMF
Definition: numpages.hxx:248
vcl::Font aActBulletFont
Definition: numpages.hxx:215
std::unique_ptr< weld::Label > m_xBitmapFT
Definition: numpages.hxx:243
virtual ~SvxSingleNumPickTabPage() override
Definition: numpages.cxx:202
OUString sBulletCharFormatName
Definition: numpages.hxx:97
std::unique_ptr< weld::CustomWeld > m_xPreviewWIN
Definition: numpages.hxx:255
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:1129
OUString m_sNumCharFmtName
Definition: numpages.hxx:196
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:239
sal_uInt16 nActNumLvl
Definition: numpages.hxx:218
virtual void Reset(const SfxItemSet *rSet) override
Definition: numpages.cxx:1194
SvxNumType
std::unique_ptr< weld::CustomWeld > m_xExamplesVSWin
Definition: numpages.hxx:100
std::unique_ptr< weld::Button > m_xBulletPB
Definition: numpages.hxx:242
DECL_LINK(NumSelectHdl_Impl, ValueSet *, void)
std::vector< OUString > aGrfNames
Definition: numpages.hxx:214
std::unique_ptr< SvxNumRule > pSaveNum
Definition: numpages.hxx:62
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:174
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: numpages.cxx:1182
SvxNumberingPreview m_aPreviewWIN
Definition: numpages.hxx:323
std::unique_ptr< weld::Label > m_xBulRelSizeFT
Definition: numpages.hxx:235
std::unique_ptr< weld::Label > m_xHeightFT
Definition: numpages.hxx:247
std::unique_ptr< weld::Label > m_xBulletFT
Definition: numpages.hxx:241
std::unique_ptr< weld::TreeView > m_xLevelLB
Definition: numpages.hxx:224
virtual void Reset(const SfxItemSet *rSet) override
Definition: numpages.cxx:845
std::unique_ptr< weld::Label > m_xSuffixFT
Definition: numpages.hxx:229
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:328
virtual void Reset(const SfxItemSet *rSet) override
Definition: numpages.cxx:2814
void CheckForStartValue_Impl(sal_uInt16 nNumberingType)
Definition: numpages.cxx:1707
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< SvxNumValueSet > m_xExamplesVS
Definition: numpages.hxx:99
std::unique_ptr< SvxNumRule > pActNum
Definition: numpages.hxx:164
std::unique_ptr< weld::Button > m_xStandardPB
Definition: numpages.hxx:348
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: numpages.cxx:3327
void SetModified(bool bRepaint=true)
Definition: numpages.cxx:3317
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:208
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: numpages.cxx:593
ImplSVEvent * m_pLevelHdlEvent
Definition: numpages.hxx:206
virtual void ActivatePage(const SfxItemSet &rSet) override
Definition: numpages.cxx:2745
void SetMetric(FieldUnit eSet)
Definition: numpages.cxx:2941
std::unique_ptr< weld::Label > m_xCharFmtFT
Definition: numpages.hxx:231
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:91
std::unique_ptr< weld::ComboBox > m_xOrientLB
Definition: numpages.hxx:251
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: numpages.cxx:214
std::unique_ptr< weld::SpinButton > m_xStartED
Definition: numpages.hxx:240
std::unique_ptr< SvxNumRule > pSaveNum
Definition: numpages.hxx:202
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: numpages.cxx:3348
SvxNumberingPreview m_aPreviewWIN
Definition: numpages.hxx:222
SvxBitmapPickTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: numpages.cxx:728
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:223
std::unique_ptr< SvxNumRule > pActNum
Definition: numpages.hxx:129
std::unique_ptr< weld::Label > m_xIndentFT
Definition: numpages.hxx:330
void SetCharFormatNames(const OUString &rCharName, const OUString &rBulName)
Definition: numpages.hxx:154
std::unique_ptr< weld::Label > m_xPrefixFT
Definition: numpages.hxx:227
std::unique_ptr< weld::MetricSpinButton > m_xIndentMF
Definition: numpages.hxx:331
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:1494
std::unique_ptr< weld::Entry > m_xSuffixED
Definition: numpages.hxx:230
void ShowControlsDependingOnPosAndSpaceMode()
Definition: numpages.cxx:2909
SvxNumSettingsArr_Impl aNumSettingsArr
Definition: numpages.hxx:60
bool bLabelAlignmentPosAndSpaceModeActive
Definition: numpages.hxx:321
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: numpages.cxx:718
sal_uInt16 nNumItemId
Definition: numpages.hxx:95
std::unique_ptr< weld::Label > m_xListtabFT
Definition: numpages.hxx:340
void EditModifyHdl_Impl(const weld::Entry *)
Definition: numpages.cxx:2097
Size aInitSize[SVX_MAX_NUM]
Definition: numpages.hxx:204
virtual ~SvxNumPositionTabPage() override
Definition: numpages.cxx:2539
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:245
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:250
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:228
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:236
virtual void ActivatePage(const SfxItemSet &rSet) override
Definition: numpages.cxx:560
std::vector< std::unique_ptr< SvxNumSettings_Impl > > SvxNumSettingsArr_Impl
Definition: numpages.hxx:55
std::unique_ptr< weld::ComboBox > m_xCharFmtLB
Definition: numpages.hxx:232
virtual ~SvxBitmapPickTabPage() override
Definition: numpages.cxx:776
unsigned char sal_uInt8
sal_uInt16 nNumItemId
Definition: numpages.hxx:315
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: numpages.cxx:2801
SvxNumPositionTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: numpages.cxx:2472
sal_uInt16 nActNumLvl
Definition: numpages.hxx:131
SvxNumType nNumberType
Definition: numpages.hxx:43
std::unique_ptr< weld::CheckButton > m_xSameLevelCB
Definition: numpages.hxx:254
std::vector< OUString > aGrfNames
Definition: numpages.hxx:162
void SetMetric(FieldUnit eSet)
Definition: numpages.cxx:1118
#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:1011
std::unique_ptr< weld::ComboBox > m_xFmtLB
Definition: numpages.hxx:225
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:238
DECL_LINK(NumSelectHdl_Impl, ValueSet *, void)
DeactivateRC
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: numpages.cxx:260
OUString sBulletCharFormatName
Definition: numpages.hxx:125
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: numpages.cxx:829
virtual ~SvxNumOptionsTabPage() override
Definition: numpages.cxx:1105
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:165
OUString sBulletFont
Definition: numpages.hxx:48
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:234
std::unique_ptr< weld::CheckButton > m_xRatioCB
Definition: numpages.hxx:249
virtual void ActivatePage(const SfxItemSet &rSet) override
Definition: numpages.cxx:1135
std::unique_ptr< weld::MetricSpinButton > m_xAlignedAtMF
Definition: numpages.hxx:345
std::unique_ptr< weld::Label > m_xSeparatorFT
Definition: numpages.hxx:226
std::unique_ptr< weld::MetricSpinButton > m_xWidthMF
Definition: numpages.hxx:246
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: numpages.cxx:1175
sal_uInt16 nNumItemId
Definition: numpages.hxx:219
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: numpages.cxx:782
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: numpages.cxx:822
virtual void Reset(const SfxItemSet *rSet) override
Definition: numpages.cxx:267
std::unique_ptr< weld::Menu > m_xGalleryMenu
Definition: numpages.hxx:253