LibreOffice Module cui (master)  1
chardlg.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_CHARDLG_HXX
20 #define INCLUDED_CUI_SOURCE_INC_CHARDLG_HXX
21 
22 #include <svtools/ctrlbox.hxx>
23 #include <sfx2/tabdlg.hxx>
24 #include <svx/fntctrl.hxx>
25 #include <svx/colorbox.hxx>
26 #include <svx/langbox.hxx>
27 #include <vcl/weld.hxx>
28 #include <memory>
29 
30 // forward ---------------------------------------------------------------
31 
32 class SvxFontListItem;
33 class FontList;
34 
36 {
37 protected:
39  std::unique_ptr<weld::CustomWeld> m_xPreviewWin;
40 
42 
43  SvxCharBasePage(TabPageParent pParent, const OUString& rUIXMLDescription, const OString& rID, const SfxItemSet& rAttrSet);
44 
45  void SetPrevFontWidthScale( const SfxItemSet& rSet );
46  void SetPrevFontEscapement( sal_uInt8 nProp, sal_uInt8 nEscProp, short nEsc );
47 
48  inline SvxFont& GetPreviewFont();
49  inline SvxFont& GetPreviewCJKFont();
50  inline SvxFont& GetPreviewCTLFont();
51 
52 public:
53  virtual ~SvxCharBasePage() override;
54 
57 
58  virtual void ActivatePage( const SfxItemSet& rSet ) override;
59 
60 };
61 
62 // class SvxCharNamePage -------------------------------------------------
63 
65 
67 {
68  friend class VclPtr<SvxCharNamePage>;
69 
70 private:
71  static const sal_uInt16 pNameRanges[];
72 
73  std::unique_ptr<SvxCharNamePage_Impl> m_pImpl;
74 
75  std::unique_ptr<weld::Widget> m_xWestFrame;
76  std::unique_ptr<weld::Label> m_xWestFontNameFT;
77  std::unique_ptr<weld::ComboBox> m_xWestFontNameLB;
78  std::unique_ptr<weld::Label> m_xWestFontStyleFT;
79  std::unique_ptr<SvtFontStyleBox> m_xWestFontStyleLB;
80  std::unique_ptr<weld::Label> m_xWestFontSizeFT;
81  std::unique_ptr<SvtFontSizeBox> m_xWestFontSizeLB;
82  std::unique_ptr<weld::Label> m_xWestFontLanguageFT;
83  std::unique_ptr<LanguageBox> m_xWestFontLanguageLB;
84  std::unique_ptr<weld::Label> m_xWestFontTypeFT;
85  std::unique_ptr<weld::Button> m_xWestFontFeaturesButton;
86 
87  std::unique_ptr<weld::Widget> m_xEastFrame;
88  std::unique_ptr<weld::Label> m_xEastFontNameFT;
89  std::unique_ptr<weld::ComboBox> m_xEastFontNameLB;
90  std::unique_ptr<weld::Label> m_xEastFontStyleFT;
91  std::unique_ptr<SvtFontStyleBox> m_xEastFontStyleLB;
92  std::unique_ptr<weld::Label> m_xEastFontSizeFT;
93  std::unique_ptr<SvtFontSizeBox> m_xEastFontSizeLB;
94  std::unique_ptr<weld::Label> m_xEastFontLanguageFT;
95  std::unique_ptr<LanguageBox> m_xEastFontLanguageLB;
96  std::unique_ptr<weld::Label> m_xEastFontTypeFT;
97  std::unique_ptr<weld::Button> m_xEastFontFeaturesButton;
98 
99  std::unique_ptr<weld::Widget> m_xCTLFrame;
100  std::unique_ptr<weld::Label> m_xCTLFontNameFT;
101  std::unique_ptr<weld::ComboBox> m_xCTLFontNameLB;
102  std::unique_ptr<weld::Label> m_xCTLFontStyleFT;
103  std::unique_ptr<SvtFontStyleBox> m_xCTLFontStyleLB;
104  std::unique_ptr<weld::Label> m_xCTLFontSizeFT;
105  std::unique_ptr<SvtFontSizeBox> m_xCTLFontSizeLB;
106  std::unique_ptr<weld::Label> m_xCTLFontLanguageFT;
107  std::unique_ptr<LanguageBox> m_xCTLFontLanguageLB;
108  std::unique_ptr<weld::Label> m_xCTLFontTypeFT;
109  std::unique_ptr<weld::Button> m_xCTLFontFeaturesButton;
110 
111  SvxCharNamePage(TabPageParent pParent, const SfxItemSet& rSet);
112 
113  void Initialize();
114  const FontList* GetFontList() const;
115  void UpdatePreview_Impl();
116  void FillStyleBox_Impl(const weld::Widget& rBox);
117  void FillSizeBox_Impl(const weld::Widget& rBox);
118 
120  {
123  Western = 0,
124 
128 
132  };
133 
134  void Reset_Impl( const SfxItemSet& rSet, LanguageGroup eLangGrp );
135  bool FillItemSet_Impl( SfxItemSet& rSet, LanguageGroup eLangGrp );
136 
137  DECL_LINK(UpdateHdl_Impl, Timer *, void );
138  DECL_LINK(FontModifyEditHdl_Impl, weld::Entry&, void);
139  DECL_LINK(FontModifyComboBoxHdl_Impl, weld::ComboBox&, void);
140  DECL_LINK(FontFeatureButtonClicked, weld::Button&, void);
141 
142  void FontModifyHdl_Impl(const weld::Widget&);
143 
144 public:
147 
148  virtual void ActivatePage( const SfxItemSet& rSet ) override;
149  virtual DeactivateRC DeactivatePage( SfxItemSet* pSet ) override;
150 
151 public:
152  virtual ~SvxCharNamePage() override;
153  virtual void dispose() override;
154 
155  static VclPtr<SfxTabPage> Create( TabPageParent pParent, const SfxItemSet* rSet );
156  static const sal_uInt16* GetRanges() { return pNameRanges; }
157 
158  virtual void Reset( const SfxItemSet* rSet ) override;
159  virtual bool FillItemSet( SfxItemSet* rSet ) override;
160  virtual void ChangesApplied() override;
161 
162  void SetFontList( const SvxFontListItem& rItem );
163  void EnableRelativeMode();
164  void EnableSearchMode();
165 
166  void DisableControls( sal_uInt16 nDisable );
167  virtual void PageCreated(const SfxAllItemSet& aSet) override;
168 };
169 
170 // class SvxCharEffectsPage ----------------------------------------------
171 
173 {
174  friend class VclPtr<SvxCharEffectsPage>;
175 
176 private:
177  static const sal_uInt16 pEffectsRanges[];
182  sal_uInt16 m_nHtmlMode;
184 
185  std::unique_ptr<weld::Label> m_xFontColorFT;
186  std::unique_ptr<ColorListBox> m_xFontColorLB;
187  std::unique_ptr<weld::Label> m_xEffectsFT;
188  std::unique_ptr<weld::ComboBox> m_xEffectsLB;
189  std::unique_ptr<weld::Label> m_xReliefFT;
190  std::unique_ptr<weld::ComboBox> m_xReliefLB;
191  std::unique_ptr<weld::CheckButton> m_xOutlineBtn;
192  std::unique_ptr<weld::CheckButton> m_xShadowBtn;
193  std::unique_ptr<weld::CheckButton> m_xBlinkingBtn;
194  std::unique_ptr<weld::CheckButton> m_xHiddenBtn;
195  std::unique_ptr<weld::ComboBox> m_xOverlineLB;
196  std::unique_ptr<weld::Label> m_xOverlineColorFT;
197  std::unique_ptr<ColorListBox> m_xOverlineColorLB;
198  std::unique_ptr<weld::ComboBox> m_xStrikeoutLB;
199  std::unique_ptr<weld::ComboBox> m_xUnderlineLB;
200  std::unique_ptr<weld::Label> m_xUnderlineColorFT;
201  std::unique_ptr<ColorListBox> m_xUnderlineColorLB;
202  std::unique_ptr<weld::CheckButton> m_xIndividualWordsBtn;
203  std::unique_ptr<weld::Label> m_xEmphasisFT;
204  std::unique_ptr<weld::ComboBox> m_xEmphasisLB;
205  std::unique_ptr<weld::Label> m_xPositionFT;
206  std::unique_ptr<weld::ComboBox> m_xPositionLB;
207  std::unique_ptr<weld::Label> m_xA11yWarningFT;
208 
209  SvxCharEffectsPage(TabPageParent pParent, const SfxItemSet& rSet);
210 
211  void Initialize();
212  void UpdatePreview_Impl();
213  void SetCaseMap_Impl( SvxCaseMap eCaseMap );
214  void ResetColor_Impl( const SfxItemSet& rSet );
215  bool FillItemSetColor_Impl( SfxItemSet& rSet );
216  Color GetPreviewFontColor(const Color& rColor) const;
217  void EnableNoneFontColor();
218 
219  void SelectHdl_Impl(const weld::ComboBox*);
220  DECL_LINK(SelectListBoxHdl_Impl, weld::ComboBox&, void);
221  DECL_LINK(CbClickHdl_Impl, weld::ToggleButton&, void);
222  DECL_LINK(TristClickHdl_Impl, weld::ToggleButton&, void);
224  DECL_LINK(ColorBoxSelectHdl_Impl, ColorListBox&, void);
225 
226 public:
227  virtual ~SvxCharEffectsPage() override;
228  virtual void dispose() override;
229 
231  virtual DeactivateRC DeactivatePage( SfxItemSet* pSet ) override;
232 
233 public:
234  static VclPtr<SfxTabPage> Create( TabPageParent pParent, const SfxItemSet* rSet );
235  static const sal_uInt16* GetRanges() { return pEffectsRanges; }
236 
237  virtual void Reset( const SfxItemSet* rSet ) override;
238  virtual bool FillItemSet( SfxItemSet* rSet ) override;
239  virtual void ChangesApplied() override;
240 
241  void DisableControls( sal_uInt16 nDisable );
242  virtual void PageCreated(const SfxAllItemSet& aSet) override;
243 };
244 
245 // class SvxCharPositionPage ---------------------------------------------
246 
247 
249 {
251  static const sal_uInt16 pPositionRanges[];
252 
253 private:
254  short m_nSuperEsc;
255  short m_nSubEsc;
256 
259 
262 
263  std::unique_ptr<weld::RadioButton> m_xHighPosBtn;
264  std::unique_ptr<weld::RadioButton> m_xNormalPosBtn;
265  std::unique_ptr<weld::RadioButton> m_xLowPosBtn;
266  std::unique_ptr<weld::Label> m_xHighLowFT;
267  std::unique_ptr<weld::MetricSpinButton> m_xHighLowMF;
268  std::unique_ptr<weld::CheckButton> m_xHighLowRB;
269  std::unique_ptr<weld::Label> m_xFontSizeFT;
270  std::unique_ptr<weld::MetricSpinButton> m_xFontSizeMF;
271 
272  std::unique_ptr<weld::Widget> m_xRotationContainer;
273 
274  std::unique_ptr<weld::Label> m_xScalingFT;
275  std::unique_ptr<weld::Label> m_xScalingAndRotationFT;
276  std::unique_ptr<weld::RadioButton> m_x0degRB;
277  std::unique_ptr<weld::RadioButton> m_x90degRB;
278  std::unique_ptr<weld::RadioButton> m_x270degRB;
279  std::unique_ptr<weld::CheckButton> m_xFitToLineCB;
280 
281  std::unique_ptr<weld::MetricSpinButton> m_xScaleWidthMF;
282 
283  std::unique_ptr<weld::MetricSpinButton> m_xKerningMF;
284  std::unique_ptr<weld::CheckButton> m_xPairKerningBtn;
285 
286  SvxCharPositionPage(TabPageParent pParent, const SfxItemSet& rSet);
287 
288  void Initialize();
289  void UpdatePreview_Impl( sal_uInt8 nProp, sal_uInt8 nEscProp, short nEsc );
290  void SetEscapement_Impl( SvxEscapement nEsc );
291 
292  DECL_LINK(PositionHdl_Impl, weld::ToggleButton&, void);
293  DECL_LINK(RotationHdl_Impl, weld::ToggleButton&, void);
294  DECL_LINK(AutoPositionHdl_Impl, weld::ToggleButton&, void);
295  DECL_LINK(FitToLineHdl_Impl, weld::ToggleButton&, void);
296  DECL_LINK(KerningSelectHdl_Impl, weld::ComboBox&, void);
297  DECL_LINK(KerningModifyHdl_Impl, weld::MetricSpinButton&, void);
298  DECL_LINK(ValueChangedHdl_Impl, weld::MetricSpinButton&, void);
299  DECL_LINK(ScaleWidthModifyHdl_Impl, weld::MetricSpinButton&, void);
300  void FontModifyHdl_Impl();
301 
302 public:
303  virtual ~SvxCharPositionPage() override;
304 
306 
307  virtual DeactivateRC DeactivatePage( SfxItemSet* pSet ) override;
308 
309 public:
310  static VclPtr<SfxTabPage> Create( TabPageParent pParent, const SfxItemSet* rSet );
311  static const sal_uInt16* GetRanges() { return pPositionRanges; }
312 
313  virtual void Reset( const SfxItemSet* rSet ) override;
314  virtual bool FillItemSet( SfxItemSet* rSet ) override;
315  virtual void ChangesApplied() override;
316  virtual void FillUserData() override;
317  virtual void PageCreated(const SfxAllItemSet& aSet) override;
318 };
319 
320 // class SvxCharTwoLinesPage ---------------------------------------------
321 
323 {
325 private:
326  static const sal_uInt16 pTwoLinesRanges[];
329 
330  std::unique_ptr<weld::CheckButton> m_xTwoLinesBtn;
331  std::unique_ptr<weld::Widget> m_xEnclosingFrame;
332  std::unique_ptr<weld::TreeView> m_xStartBracketLB;
333  std::unique_ptr<weld::TreeView> m_xEndBracketLB;
334 
335  SvxCharTwoLinesPage(TabPageParent pParent, const SfxItemSet& rSet);
336 
337  void UpdatePreview_Impl();
338  void Initialize();
339  void SelectCharacter(weld::TreeView* pBox);
340  void SetBracket(sal_Unicode cBracket, bool bStart);
341 
342  DECL_LINK(TwoLinesHdl_Impl, weld::ToggleButton&, void);
343  DECL_LINK(CharacterMapHdl_Impl, weld::TreeView&, void);
344 
345 public:
346  virtual ~SvxCharTwoLinesPage() override;
347 
350 
351  virtual void ActivatePage( const SfxItemSet& rSet ) override;
352  virtual DeactivateRC DeactivatePage( SfxItemSet* pSet ) override;
353 
354  static VclPtr<SfxTabPage> Create( TabPageParent pParent, const SfxItemSet* rSet );
355  static const sal_uInt16* GetRanges() { return pTwoLinesRanges; }
356 
357  virtual void Reset( const SfxItemSet* rSet ) override;
358  virtual bool FillItemSet( SfxItemSet* rSet ) override;
359  virtual void PageCreated(const SfxAllItemSet& aSet) override;
360 };
361 
362 #endif // INCLUDED_CUI_SOURCE_INC_CHARDLG_HXX
363 
364 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
sal_uInt16 m_nScaleWidthInitialVal
Definition: chardlg.hxx:258
virtual ~SvxCharEffectsPage() override
Definition: chardlg.cxx:1390
std::unique_ptr< weld::CheckButton > m_xFitToLineCB
Definition: chardlg.hxx:279
std::unique_ptr< weld::Label > m_xWestFontLanguageFT
Definition: chardlg.hxx:82
std::unique_ptr< weld::RadioButton > m_xHighPosBtn
Definition: chardlg.hxx:263
std::unique_ptr< SvxCharNamePage_Impl > m_pImpl
Definition: chardlg.hxx:73
void SetBracket(sal_Unicode cBracket, bool bStart)
Definition: chardlg.cxx:3137
std::unique_ptr< weld::RadioButton > m_xNormalPosBtn
Definition: chardlg.hxx:264
std::unique_ptr< SvtFontStyleBox > m_xEastFontStyleLB
Definition: chardlg.hxx:91
std::unique_ptr< weld::ComboBox > m_xStrikeoutLB
Definition: chardlg.hxx:198
virtual void dispose() override
Definition: chardlg.cxx:1395
std::unique_ptr< weld::CheckButton > m_xHiddenBtn
Definition: chardlg.hxx:194
static const sal_uInt16 * GetRanges()
Definition: chardlg.hxx:311
void FillSizeBox_Impl(const weld::Widget &rBox)
Definition: chardlg.cxx:571
virtual void dispose() override
Definition: chardlg.cxx:351
DECL_LINK(UpdateHdl_Impl, Timer *, void)
std::unique_ptr< SvtFontStyleBox > m_xWestFontStyleLB
Definition: chardlg.hxx:79
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: chardlg.cxx:1207
std::unique_ptr< weld::Button > m_xWestFontFeaturesButton
Definition: chardlg.hxx:85
virtual void FillUserData() override
Definition: chardlg.cxx:3050
std::unique_ptr< weld::ComboBox > m_xWestFontNameLB
Definition: chardlg.hxx:77
const SfxItemSet * pSet
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: chardlg.cxx:1692
std::unique_ptr< weld::MetricSpinButton > m_xFontSizeMF
Definition: chardlg.hxx:270
SvxCaseMap
bool FillItemSetColor_Impl(SfxItemSet &rSet)
Definition: chardlg.cxx:1598
const FontList * GetFontList() const
Definition: chardlg.cxx:395
std::unique_ptr< LanguageBox > m_xWestFontLanguageLB
Definition: chardlg.hxx:83
FontPrevWindow m_aPreviewWin
Definition: chardlg.hxx:38
static const sal_uInt16 * GetRanges()
Definition: chardlg.hxx:156
std::unique_ptr< weld::Widget > m_xEnclosingFrame
Definition: chardlg.hxx:331
std::unique_ptr< weld::Label > m_xWestFontStyleFT
Definition: chardlg.hxx:78
SvxFont & GetPreviewFont()
Definition: chardlg.cxx:160
std::unique_ptr< weld::Widget > m_xRotationContainer
Definition: chardlg.hxx:272
std::unique_ptr< weld::Label > m_xEmphasisFT
Definition: chardlg.hxx:203
Language for asian text.
Definition: chardlg.hxx:127
virtual void ActivatePage(const SfxItemSet &)
virtual void Reset(const SfxItemSet *rSet) override
Definition: chardlg.cxx:3214
std::unique_ptr< weld::Label > m_xFontColorFT
Definition: chardlg.hxx:185
std::unique_ptr< weld::ComboBox > m_xEffectsLB
Definition: chardlg.hxx:188
std::unique_ptr< weld::Label > m_xCTLFontStyleFT
Definition: chardlg.hxx:102
std::unique_ptr< weld::Label > m_xEastFontNameFT
Definition: chardlg.hxx:88
sal_uInt16 m_nHtmlMode
Definition: chardlg.hxx:182
virtual void ChangesApplied() override
Definition: chardlg.cxx:1229
static VclPtr< SfxTabPage > Create(TabPageParent pParent, const SfxItemSet *rSet)
Definition: chardlg.cxx:1699
static VclPtr< SfxTabPage > Create(TabPageParent pParent, const SfxItemSet *rSet)
Definition: chardlg.cxx:2690
std::unique_ptr< weld::Label > m_xWestFontNameFT
Definition: chardlg.hxx:76
std::unique_ptr< weld::Label > m_xWestFontSizeFT
Definition: chardlg.hxx:80
Language for western text.
Definition: chardlg.hxx:123
std::unique_ptr< weld::ComboBox > m_xReliefLB
Definition: chardlg.hxx:190
virtual void Reset(const SfxItemSet *rSet) override
Definition: chardlg.cxx:1219
DECL_LINK(PositionHdl_Impl, weld::ToggleButton &, void)
void Initialize()
Definition: chardlg.cxx:367
virtual void ActivatePage(const SfxItemSet &rSet) override
Definition: chardlg.cxx:185
void SetCaseMap_Impl(SvxCaseMap eCaseMap)
Definition: chardlg.cxx:1533
virtual void ChangesApplied() override
Definition: chardlg.cxx:2916
bool m_bPreviewBackgroundToCharacter
Definition: chardlg.hxx:41
SvxCharNamePage(TabPageParent pParent, const SfxItemSet &rSet)
Definition: chardlg.cxx:230
std::unique_ptr< weld::CheckButton > m_xShadowBtn
Definition: chardlg.hxx:192
std::unique_ptr< weld::Label > m_xCTLFontTypeFT
Definition: chardlg.hxx:108
void FontModifyHdl_Impl(const weld::Widget &)
Definition: chardlg.cxx:1189
void FillStyleBox_Impl(const weld::Widget &rBox)
Definition: chardlg.cxx:525
void SelectHdl_Impl(const weld::ComboBox *)
Definition: chardlg.cxx:1628
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet)
std::unique_ptr< weld::CheckButton > m_xIndividualWordsBtn
Definition: chardlg.hxx:202
SvxFont & GetPreviewCTLFont()
Definition: chardlg.cxx:170
sal_uInt16 sal_Unicode
virtual ~SvxCharPositionPage() override
Definition: chardlg.cxx:2496
std::unique_ptr< weld::CheckButton > m_xOutlineBtn
Definition: chardlg.hxx:191
std::unique_ptr< weld::Label > m_xOverlineColorFT
Definition: chardlg.hxx:196
std::unique_ptr< weld::RadioButton > m_x0degRB
Definition: chardlg.hxx:276
std::unique_ptr< weld::ComboBox > m_xPositionLB
Definition: chardlg.hxx:206
std::unique_ptr< weld::Label > m_xWestFontTypeFT
Definition: chardlg.hxx:84
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: chardlg.cxx:3278
virtual ~SvxCharNamePage() override
Definition: chardlg.cxx:346
Color m_aOrigFontColor
Definition: chardlg.hxx:181
std::unique_ptr< weld::CheckButton > m_xHighLowRB
Definition: chardlg.hxx:268
bool FillItemSet_Impl(SfxItemSet &rSet, LanguageGroup eLangGrp)
Definition: chardlg.cxx:854
std::unique_ptr< weld::Label > m_xEastFontLanguageFT
Definition: chardlg.hxx:94
void SetEscapement_Impl(SvxEscapement nEsc)
Definition: chardlg.cxx:2539
sal_uInt8 m_nSuperProp
Definition: chardlg.hxx:260
void DisableControls(sal_uInt16 nDisable)
Definition: chardlg.cxx:1290
std::unique_ptr< weld::CustomWeld > m_xPreviewWin
Definition: chardlg.hxx:39
SvxCharBasePage(TabPageParent pParent, const OUString &rUIXMLDescription, const OString &rID, const SfxItemSet &rAttrSet)
Definition: chardlg.cxx:175
virtual ~SvxCharBasePage() override
Definition: chardlg.cxx:181
void FontModifyHdl_Impl()
Definition: chardlg.cxx:2608
std::unique_ptr< weld::CheckButton > m_xTwoLinesBtn
Definition: chardlg.hxx:330
std::unique_ptr< LanguageBox > m_xCTLFontLanguageLB
Definition: chardlg.hxx:107
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: chardlg.cxx:2096
SvxFont & GetPreviewCJKFont()
Definition: chardlg.cxx:165
DECL_LINK(SelectListBoxHdl_Impl, weld::ComboBox &, void)
virtual void Reset(const SfxItemSet *rSet) override
Definition: chardlg.cxx:1704
std::unique_ptr< SvtFontSizeBox > m_xCTLFontSizeLB
Definition: chardlg.hxx:105
std::unique_ptr< weld::Label > m_xHighLowFT
Definition: chardlg.hxx:266
std::unique_ptr< weld::Label > m_xUnderlineColorFT
Definition: chardlg.hxx:200
std::unique_ptr< weld::CheckButton > m_xBlinkingBtn
Definition: chardlg.hxx:193
std::unique_ptr< SvtFontSizeBox > m_xEastFontSizeLB
Definition: chardlg.hxx:93
std::unique_ptr< weld::Label > m_xCTLFontLanguageFT
Definition: chardlg.hxx:106
std::unique_ptr< weld::Label > m_xEastFontStyleFT
Definition: chardlg.hxx:90
Color GetPreviewFontColor(const Color &rColor) const
Definition: chardlg.cxx:1381
void EnableSearchMode()
Definition: chardlg.cxx:1285
std::unique_ptr< weld::Label > m_xEffectsFT
Definition: chardlg.hxx:187
static const sal_uInt16 * GetRanges()
Definition: chardlg.hxx:235
static const sal_uInt16 pEffectsRanges[]
Definition: chardlg.hxx:177
virtual void ActivatePage(const SfxItemSet &rSet) override
Definition: chardlg.cxx:3197
sal_uInt16 m_nEndBracketPosition
Definition: chardlg.hxx:328
void SetPrevFontEscapement(sal_uInt8 nProp, sal_uInt8 nEscProp, short nEsc)
Definition: chardlg.cxx:200
std::unique_ptr< weld::CheckButton > m_xPairKerningBtn
Definition: chardlg.hxx:284
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: chardlg.cxx:1245
sal_uInt16 m_nStartBracketPosition
Definition: chardlg.hxx:327
std::unique_ptr< weld::Label > m_xEastFontSizeFT
Definition: chardlg.hxx:92
std::unique_ptr< ColorListBox > m_xFontColorLB
Definition: chardlg.hxx:186
static const sal_uInt16 pNameRanges[]
Definition: chardlg.hxx:71
std::unique_ptr< weld::Widget > m_xEastFrame
Definition: chardlg.hxx:87
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: chardlg.cxx:2442
void EnableNoneFontColor()
Definition: chardlg.cxx:1375
std::unique_ptr< weld::ComboBox > m_xEastFontNameLB
Definition: chardlg.hxx:89
virtual void ActivatePage(const SfxItemSet &rSet) override
Definition: chardlg.cxx:1200
std::unique_ptr< weld::ComboBox > m_xUnderlineLB
Definition: chardlg.hxx:199
virtual void Reset(const SfxItemSet *rSet) override
Definition: chardlg.cxx:2695
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: chardlg.cxx:3062
std::unique_ptr< SvtFontSizeBox > m_xWestFontSizeLB
Definition: chardlg.hxx:81
void EnableRelativeMode()
Definition: chardlg.cxx:1277
static const sal_uInt16 pPositionRanges[]
Definition: chardlg.hxx:251
std::unique_ptr< weld::Widget > m_xWestFrame
Definition: chardlg.hxx:75
sal_uInt8 m_nSubProp
Definition: chardlg.hxx:261
std::unique_ptr< weld::RadioButton > m_x90degRB
Definition: chardlg.hxx:277
std::unique_ptr< weld::Label > m_xReliefFT
Definition: chardlg.hxx:189
void ResetColor_Impl(const SfxItemSet &rSet)
Definition: chardlg.cxx:1547
SvxCharTwoLinesPage(TabPageParent pParent, const SfxItemSet &rSet)
Definition: chardlg.cxx:3075
bool m_bEnableNoneFontColor
Definition: chardlg.hxx:180
bool m_bUnderlineColorDisabled
Definition: chardlg.hxx:183
std::unique_ptr< weld::Label > m_xEastFontTypeFT
Definition: chardlg.hxx:96
DECL_LINK(TwoLinesHdl_Impl, weld::ToggleButton &, void)
std::unique_ptr< LanguageBox > m_xEastFontLanguageLB
Definition: chardlg.hxx:95
std::unique_ptr< weld::Widget > m_xCTLFrame
Definition: chardlg.hxx:99
virtual void ChangesApplied() override
Definition: chardlg.cxx:2080
std::unique_ptr< weld::RadioButton > m_x270degRB
Definition: chardlg.hxx:278
unsigned char sal_uInt8
void UpdatePreview_Impl(sal_uInt8 nProp, sal_uInt8 nEscProp, short nEsc)
Definition: chardlg.cxx:2533
static VclPtr< SfxTabPage > Create(TabPageParent pParent, const SfxItemSet *rSet)
Definition: chardlg.cxx:1214
std::unique_ptr< weld::TreeView > m_xEndBracketLB
Definition: chardlg.hxx:333
void SetPrevFontWidthScale(const SfxItemSet &rSet)
Definition: chardlg.cxx:190
void UpdatePreview_Impl()
Definition: chardlg.cxx:493
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: chardlg.cxx:3202
std::unique_ptr< SvtFontStyleBox > m_xCTLFontStyleLB
Definition: chardlg.hxx:103
std::unique_ptr< weld::MetricSpinButton > m_xHighLowMF
Definition: chardlg.hxx:267
virtual ~SvxCharTwoLinesPage() override
Definition: chardlg.cxx:3096
static VclPtr< SfxTabPage > Create(TabPageParent pParent, const SfxItemSet *rSet)
Definition: chardlg.cxx:3209
void DisableControls(sal_uInt16 nDisable)
Definition: chardlg.cxx:2419
static const sal_uInt16 * GetRanges()
Definition: chardlg.hxx:355
void UpdatePreview_Impl()
Definition: chardlg.cxx:3267
Language for ctl text.
Definition: chardlg.hxx:131
std::unique_ptr< weld::Label > m_xCTLFontNameFT
Definition: chardlg.hxx:100
std::unique_ptr< weld::MetricSpinButton > m_xKerningMF
Definition: chardlg.hxx:283
std::unique_ptr< weld::Label > m_xCTLFontSizeFT
Definition: chardlg.hxx:104
DeactivateRC
void SelectCharacter(weld::TreeView *pBox)
Definition: chardlg.cxx:3119
SvxEscapement
std::unique_ptr< weld::TreeView > m_xStartBracketLB
Definition: chardlg.hxx:332
void Reset_Impl(const SfxItemSet &rSet, LanguageGroup eLangGrp)
Definition: chardlg.cxx:625
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: chardlg.cxx:2931
std::unique_ptr< weld::Button > m_xEastFontFeaturesButton
Definition: chardlg.hxx:97
std::unique_ptr< ColorListBox > m_xUnderlineColorLB
Definition: chardlg.hxx:201
void SetFontList(const SvxFontListItem &rItem)
Definition: chardlg.cxx:1253
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: chardlg.cxx:2683
sal_uInt16 m_nScaleWidthItemSetVal
Definition: chardlg.hxx:257
static const sal_uInt16 pTwoLinesRanges[]
Definition: chardlg.hxx:326
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: chardlg.cxx:3236
std::unique_ptr< weld::Label > m_xScalingFT
Definition: chardlg.hxx:274
SvxCharPositionPage(TabPageParent pParent, const SfxItemSet &rSet)
Definition: chardlg.cxx:2462
std::unique_ptr< weld::ComboBox > m_xOverlineLB
Definition: chardlg.hxx:195
std::unique_ptr< weld::Label > m_xScalingAndRotationFT
Definition: chardlg.hxx:275
std::unique_ptr< weld::MetricSpinButton > m_xScaleWidthMF
Definition: chardlg.hxx:281
std::unique_ptr< weld::Label > m_xFontSizeFT
Definition: chardlg.hxx:269
std::unique_ptr< weld::RadioButton > m_xLowPosBtn
Definition: chardlg.hxx:265
std::unique_ptr< ColorListBox > m_xOverlineColorLB
Definition: chardlg.hxx:197
std::unique_ptr< weld::Button > m_xCTLFontFeaturesButton
Definition: chardlg.hxx:109
std::unique_ptr< weld::ComboBox > m_xEmphasisLB
Definition: chardlg.hxx:204
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: chardlg.cxx:1313
std::unique_ptr< weld::Label > m_xA11yWarningFT
Definition: chardlg.hxx:207
SvxCharEffectsPage(TabPageParent pParent, const SfxItemSet &rSet)
Definition: chardlg.cxx:1335
void UpdatePreview_Impl()
Definition: chardlg.cxx:1462
std::unique_ptr< weld::Label > m_xPositionFT
Definition: chardlg.hxx:205
std::unique_ptr< weld::ComboBox > m_xCTLFontNameLB
Definition: chardlg.hxx:101