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(weld::Container* pPage, weld::DialogController* pController, 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 
55  virtual void ActivatePage( const SfxItemSet& rSet ) override;
56 };
57 
58 // class SvxCharNamePage -------------------------------------------------
59 
61 
63 {
64 private:
65  static const sal_uInt16 pNameRanges[];
66 
67  std::unique_ptr<SvxCharNamePage_Impl> m_pImpl;
68 
69  std::unique_ptr<weld::Widget> m_xWestFrame;
70  std::unique_ptr<weld::Label> m_xWestFontNameFT;
71  std::unique_ptr<weld::ComboBox> m_xWestFontNameLB;
72  std::unique_ptr<weld::Label> m_xWestFontStyleFT;
73  std::unique_ptr<SvtFontStyleBox> m_xWestFontStyleLB;
74  std::unique_ptr<weld::Label> m_xWestFontSizeFT;
75  std::unique_ptr<SvtFontSizeBox> m_xWestFontSizeLB;
76  std::unique_ptr<weld::Label> m_xWestFontLanguageFT;
77  std::unique_ptr<SvxLanguageBox> m_xWestFontLanguageLB;
78  std::unique_ptr<weld::Label> m_xWestFontTypeFT;
79  std::unique_ptr<weld::Button> m_xWestFontFeaturesButton;
80 
81  std::unique_ptr<weld::Widget> m_xEastFrame;
82  std::unique_ptr<weld::Label> m_xEastFontNameFT;
83  std::unique_ptr<weld::ComboBox> m_xEastFontNameLB;
84  std::unique_ptr<weld::Label> m_xEastFontStyleFT;
85  std::unique_ptr<SvtFontStyleBox> m_xEastFontStyleLB;
86  std::unique_ptr<weld::Label> m_xEastFontSizeFT;
87  std::unique_ptr<SvtFontSizeBox> m_xEastFontSizeLB;
88  std::unique_ptr<weld::Label> m_xEastFontLanguageFT;
89  std::unique_ptr<SvxLanguageBox> m_xEastFontLanguageLB;
90  std::unique_ptr<weld::Label> m_xEastFontTypeFT;
91  std::unique_ptr<weld::Button> m_xEastFontFeaturesButton;
92 
93  std::unique_ptr<weld::Widget> m_xCTLFrame;
94  std::unique_ptr<weld::Label> m_xCTLFontNameFT;
95  std::unique_ptr<weld::ComboBox> m_xCTLFontNameLB;
96  std::unique_ptr<weld::Label> m_xCTLFontStyleFT;
97  std::unique_ptr<SvtFontStyleBox> m_xCTLFontStyleLB;
98  std::unique_ptr<weld::Label> m_xCTLFontSizeFT;
99  std::unique_ptr<SvtFontSizeBox> m_xCTLFontSizeLB;
100  std::unique_ptr<weld::Label> m_xCTLFontLanguageFT;
101  std::unique_ptr<SvxLanguageBox> m_xCTLFontLanguageLB;
102  std::unique_ptr<weld::Label> m_xCTLFontTypeFT;
103  std::unique_ptr<weld::Button> m_xCTLFontFeaturesButton;
104 
105  void Initialize();
106  const FontList* GetFontList() const;
107  void UpdatePreview_Impl();
108  void FillStyleBox_Impl(const weld::Widget& rBox);
109  void FillSizeBox_Impl(const weld::Widget& rBox);
110 
112  {
115  Western = 0,
116 
120 
124  };
125 
126  void Reset_Impl( const SfxItemSet& rSet, LanguageGroup eLangGrp );
127  bool FillItemSet_Impl( SfxItemSet& rSet, LanguageGroup eLangGrp );
128 
129  DECL_LINK(UpdateHdl_Impl, Timer *, void );
130  DECL_LINK(FontModifyEditHdl_Impl, weld::Entry&, void);
131  DECL_LINK(FontModifyComboBoxHdl_Impl, weld::ComboBox&, void);
132  DECL_LINK(FontFeatureButtonClicked, weld::Button&, void);
133 
134  void FontModifyHdl_Impl(const weld::Widget&);
135 
136 public:
137  virtual void ActivatePage( const SfxItemSet& rSet ) override;
138  virtual DeactivateRC DeactivatePage( SfxItemSet* pSet ) override;
139 
140 public:
141  SvxCharNamePage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet);
142  static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rSet );
143  virtual ~SvxCharNamePage() override;
144 
145  static const sal_uInt16* GetRanges() { return pNameRanges; }
146 
147  virtual void Reset( const SfxItemSet* rSet ) override;
148  virtual bool FillItemSet( SfxItemSet* rSet ) override;
149  virtual void ChangesApplied() override;
150 
151  void SetFontList( const SvxFontListItem& rItem );
152  void EnableRelativeMode();
153  void EnableSearchMode();
154 
155  void DisableControls( sal_uInt16 nDisable );
156  virtual void PageCreated(const SfxAllItemSet& aSet) override;
157 };
158 
159 // class SvxCharEffectsPage ----------------------------------------------
160 
162 {
163 private:
164  static const sal_uInt16 pEffectsRanges[];
169  sal_uInt16 m_nHtmlMode;
171 
172  std::unique_ptr<weld::Label> m_xFontColorFT;
173  std::unique_ptr<ColorListBox> m_xFontColorLB;
174  std::unique_ptr<weld::Label> m_xEffectsFT;
175  std::unique_ptr<weld::ComboBox> m_xEffectsLB;
176  std::unique_ptr<weld::Label> m_xReliefFT;
177  std::unique_ptr<weld::ComboBox> m_xReliefLB;
178  std::unique_ptr<weld::CheckButton> m_xOutlineBtn;
179  std::unique_ptr<weld::CheckButton> m_xShadowBtn;
180  std::unique_ptr<weld::CheckButton> m_xBlinkingBtn;
181  std::unique_ptr<weld::CheckButton> m_xHiddenBtn;
182  std::unique_ptr<weld::ComboBox> m_xOverlineLB;
183  std::unique_ptr<weld::Label> m_xOverlineColorFT;
184  std::unique_ptr<ColorListBox> m_xOverlineColorLB;
185  std::unique_ptr<weld::ComboBox> m_xStrikeoutLB;
186  std::unique_ptr<weld::ComboBox> m_xUnderlineLB;
187  std::unique_ptr<weld::Label> m_xUnderlineColorFT;
188  std::unique_ptr<ColorListBox> m_xUnderlineColorLB;
189  std::unique_ptr<weld::CheckButton> m_xIndividualWordsBtn;
190  std::unique_ptr<weld::Label> m_xEmphasisFT;
191  std::unique_ptr<weld::ComboBox> m_xEmphasisLB;
192  std::unique_ptr<weld::Label> m_xPositionFT;
193  std::unique_ptr<weld::ComboBox> m_xPositionLB;
194  std::unique_ptr<weld::Label> m_xA11yWarningFT;
195 
196  void Initialize();
197  void UpdatePreview_Impl();
198  void SetCaseMap_Impl( SvxCaseMap eCaseMap );
199  void ResetColor_Impl( const SfxItemSet& rSet );
200  bool FillItemSetColor_Impl( SfxItemSet& rSet );
201  Color GetPreviewFontColor(const Color& rColor) const;
202  void EnableNoneFontColor();
203 
204  void SelectHdl_Impl(const weld::ComboBox*);
205  DECL_LINK(SelectListBoxHdl_Impl, weld::ComboBox&, void);
206  DECL_LINK(CbClickHdl_Impl, weld::ToggleButton&, void);
207  DECL_LINK(TristClickHdl_Impl, weld::ToggleButton&, void);
209  DECL_LINK(ColorBoxSelectHdl_Impl, ColorListBox&, void);
210 
211 public:
212  SvxCharEffectsPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet);
213  static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rSet );
214  virtual ~SvxCharEffectsPage() override;
215 
216  virtual DeactivateRC DeactivatePage( SfxItemSet* pSet ) override;
217 
218 public:
219  static const sal_uInt16* GetRanges() { return pEffectsRanges; }
220 
221  virtual void Reset( const SfxItemSet* rSet ) override;
222  virtual bool FillItemSet( SfxItemSet* rSet ) override;
223  virtual void ChangesApplied() override;
224 
225  void DisableControls( sal_uInt16 nDisable );
226  virtual void PageCreated(const SfxAllItemSet& aSet) override;
227 };
228 
229 // class SvxCharPositionPage ---------------------------------------------
231 {
232  static const sal_uInt16 pPositionRanges[];
233 
234 private:
235  short m_nSuperEsc;
236  short m_nSubEsc;
237 
240 
243 
244  std::unique_ptr<weld::RadioButton> m_xHighPosBtn;
245  std::unique_ptr<weld::RadioButton> m_xNormalPosBtn;
246  std::unique_ptr<weld::RadioButton> m_xLowPosBtn;
247  std::unique_ptr<weld::Label> m_xHighLowFT;
248  std::unique_ptr<weld::MetricSpinButton> m_xHighLowMF;
249  std::unique_ptr<weld::CheckButton> m_xHighLowRB;
250  std::unique_ptr<weld::Label> m_xFontSizeFT;
251  std::unique_ptr<weld::MetricSpinButton> m_xFontSizeMF;
252 
253  std::unique_ptr<weld::Widget> m_xRotationContainer;
254 
255  std::unique_ptr<weld::Label> m_xScalingFT;
256  std::unique_ptr<weld::Label> m_xScalingAndRotationFT;
257  std::unique_ptr<weld::RadioButton> m_x0degRB;
258  std::unique_ptr<weld::RadioButton> m_x90degRB;
259  std::unique_ptr<weld::RadioButton> m_x270degRB;
260  std::unique_ptr<weld::CheckButton> m_xFitToLineCB;
261 
262  std::unique_ptr<weld::MetricSpinButton> m_xScaleWidthMF;
263 
264  std::unique_ptr<weld::MetricSpinButton> m_xKerningMF;
265  std::unique_ptr<weld::CheckButton> m_xPairKerningBtn;
266 
267  void Initialize();
268  void UpdatePreview_Impl( sal_uInt8 nProp, sal_uInt8 nEscProp, short nEsc );
269  void SetEscapement_Impl( SvxEscapement nEsc );
270 
271  DECL_LINK(PositionHdl_Impl, weld::ToggleButton&, void);
272  DECL_LINK(RotationHdl_Impl, weld::ToggleButton&, void);
273  DECL_LINK(AutoPositionHdl_Impl, weld::ToggleButton&, void);
274  DECL_LINK(FitToLineHdl_Impl, weld::ToggleButton&, void);
275  DECL_LINK(KerningSelectHdl_Impl, weld::ComboBox&, void);
276  DECL_LINK(KerningModifyHdl_Impl, weld::MetricSpinButton&, void);
277  DECL_LINK(ValueChangedHdl_Impl, weld::MetricSpinButton&, void);
278  DECL_LINK(ScaleWidthModifyHdl_Impl, weld::MetricSpinButton&, void);
279  void FontModifyHdl_Impl();
280 
281 public:
282  SvxCharPositionPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet);
283  static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rSet );
284  virtual ~SvxCharPositionPage() override;
285 
286  virtual DeactivateRC DeactivatePage( SfxItemSet* pSet ) override;
287 
288 public:
289  static const sal_uInt16* GetRanges() { return pPositionRanges; }
290 
291  virtual void Reset( const SfxItemSet* rSet ) override;
292  virtual bool FillItemSet( SfxItemSet* rSet ) override;
293  virtual void ChangesApplied() override;
294  virtual void FillUserData() override;
295  virtual void PageCreated(const SfxAllItemSet& aSet) override;
296 };
297 
298 // class SvxCharTwoLinesPage ---------------------------------------------
299 
301 {
302 private:
303  static const sal_uInt16 pTwoLinesRanges[];
306 
307  std::unique_ptr<weld::CheckButton> m_xTwoLinesBtn;
308  std::unique_ptr<weld::Widget> m_xEnclosingFrame;
309  std::unique_ptr<weld::TreeView> m_xStartBracketLB;
310  std::unique_ptr<weld::TreeView> m_xEndBracketLB;
311 
312  void UpdatePreview_Impl();
313  void Initialize();
314  void SelectCharacter(weld::TreeView* pBox);
315  void SetBracket(sal_Unicode cBracket, bool bStart);
316 
317  DECL_LINK(TwoLinesHdl_Impl, weld::ToggleButton&, void);
318  DECL_LINK(CharacterMapHdl_Impl, weld::TreeView&, void);
319 
320 public:
321  SvxCharTwoLinesPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet);
322  static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rSet );
323  virtual ~SvxCharTwoLinesPage() override;
324 
325  virtual void ActivatePage( const SfxItemSet& rSet ) override;
326  virtual DeactivateRC DeactivatePage( SfxItemSet* pSet ) override;
327 
328  static const sal_uInt16* GetRanges() { return pTwoLinesRanges; }
329 
330  virtual void Reset( const SfxItemSet* rSet ) override;
331  virtual bool FillItemSet( SfxItemSet* rSet ) override;
332  virtual void PageCreated(const SfxAllItemSet& aSet) override;
333 };
334 
335 #endif // INCLUDED_CUI_SOURCE_INC_CHARDLG_HXX
336 
337 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
sal_uInt16 m_nScaleWidthInitialVal
Definition: chardlg.hxx:239
virtual ~SvxCharEffectsPage() override
Definition: chardlg.cxx:1369
std::unique_ptr< weld::CheckButton > m_xFitToLineCB
Definition: chardlg.hxx:260
std::unique_ptr< weld::Label > m_xWestFontLanguageFT
Definition: chardlg.hxx:76
std::unique_ptr< weld::RadioButton > m_xHighPosBtn
Definition: chardlg.hxx:244
std::unique_ptr< SvxCharNamePage_Impl > m_pImpl
Definition: chardlg.hxx:67
void SetBracket(sal_Unicode cBracket, bool bStart)
Definition: chardlg.cxx:3110
std::unique_ptr< weld::RadioButton > m_xNormalPosBtn
Definition: chardlg.hxx:245
std::unique_ptr< SvtFontStyleBox > m_xEastFontStyleLB
Definition: chardlg.hxx:85
std::unique_ptr< weld::ComboBox > m_xStrikeoutLB
Definition: chardlg.hxx:185
std::unique_ptr< weld::CheckButton > m_xHiddenBtn
Definition: chardlg.hxx:181
static const sal_uInt16 * GetRanges()
Definition: chardlg.hxx:289
void FillSizeBox_Impl(const weld::Widget &rBox)
Definition: chardlg.cxx:550
DECL_LINK(UpdateHdl_Impl, Timer *, void)
std::unique_ptr< SvtFontStyleBox > m_xWestFontStyleLB
Definition: chardlg.hxx:73
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: chardlg.cxx:1186
std::unique_ptr< weld::Button > m_xWestFontFeaturesButton
Definition: chardlg.hxx:79
virtual void FillUserData() override
Definition: chardlg.cxx:3023
std::unique_ptr< weld::ComboBox > m_xWestFontNameLB
Definition: chardlg.hxx:71
const SfxItemSet * pSet
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: chardlg.cxx:1665
std::unique_ptr< weld::MetricSpinButton > m_xFontSizeMF
Definition: chardlg.hxx:251
SvxCaseMap
bool FillItemSetColor_Impl(SfxItemSet &rSet)
Definition: chardlg.cxx:1571
SvxCharPositionPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: chardlg.cxx:2435
const FontList * GetFontList() const
Definition: chardlg.cxx:374
static const sal_uInt16 * GetRanges()
Definition: chardlg.hxx:145
std::unique_ptr< weld::Widget > m_xEnclosingFrame
Definition: chardlg.hxx:308
std::unique_ptr< weld::Label > m_xWestFontStyleFT
Definition: chardlg.hxx:72
SvxFont & GetPreviewFont()
Definition: chardlg.cxx:145
std::unique_ptr< weld::Widget > m_xRotationContainer
Definition: chardlg.hxx:253
SvxFontPrevWindow m_aPreviewWin
Definition: chardlg.hxx:38
std::unique_ptr< weld::Label > m_xEmphasisFT
Definition: chardlg.hxx:190
Language for asian text.
Definition: chardlg.hxx:119
virtual void Reset(const SfxItemSet *rSet) override
Definition: chardlg.cxx:3187
std::unique_ptr< weld::Label > m_xFontColorFT
Definition: chardlg.hxx:172
std::unique_ptr< weld::ComboBox > m_xEffectsLB
Definition: chardlg.hxx:175
std::unique_ptr< weld::Label > m_xCTLFontStyleFT
Definition: chardlg.hxx:96
std::unique_ptr< weld::Label > m_xEastFontNameFT
Definition: chardlg.hxx:82
sal_uInt16 m_nHtmlMode
Definition: chardlg.hxx:169
virtual void ChangesApplied() override
Definition: chardlg.cxx:1208
std::unique_ptr< weld::Label > m_xWestFontNameFT
Definition: chardlg.hxx:70
std::unique_ptr< weld::Label > m_xWestFontSizeFT
Definition: chardlg.hxx:74
Language for western text.
Definition: chardlg.hxx:115
std::unique_ptr< weld::ComboBox > m_xReliefLB
Definition: chardlg.hxx:177
virtual void Reset(const SfxItemSet *rSet) override
Definition: chardlg.cxx:1198
DECL_LINK(PositionHdl_Impl, weld::ToggleButton &, void)
void Initialize()
Definition: chardlg.cxx:346
virtual void ActivatePage(const SfxItemSet &rSet) override
Definition: chardlg.cxx:170
void SetCaseMap_Impl(SvxCaseMap eCaseMap)
Definition: chardlg.cxx:1506
virtual void ChangesApplied() override
Definition: chardlg.cxx:2889
bool m_bPreviewBackgroundToCharacter
Definition: chardlg.hxx:41
std::unique_ptr< weld::CheckButton > m_xShadowBtn
Definition: chardlg.hxx:179
std::unique_ptr< weld::Label > m_xCTLFontTypeFT
Definition: chardlg.hxx:102
void FontModifyHdl_Impl(const weld::Widget &)
Definition: chardlg.cxx:1168
void FillStyleBox_Impl(const weld::Widget &rBox)
Definition: chardlg.cxx:504
void SelectHdl_Impl(const weld::ComboBox *)
Definition: chardlg.cxx:1601
std::unique_ptr< weld::CheckButton > m_xIndividualWordsBtn
Definition: chardlg.hxx:189
SvxFont & GetPreviewCTLFont()
Definition: chardlg.cxx:155
sal_uInt16 sal_Unicode
virtual ~SvxCharPositionPage() override
Definition: chardlg.cxx:2469
std::unique_ptr< weld::CheckButton > m_xOutlineBtn
Definition: chardlg.hxx:178
std::unique_ptr< weld::Label > m_xOverlineColorFT
Definition: chardlg.hxx:183
std::unique_ptr< weld::RadioButton > m_x0degRB
Definition: chardlg.hxx:257
std::unique_ptr< SvxLanguageBox > m_xEastFontLanguageLB
Definition: chardlg.hxx:89
std::unique_ptr< SvxLanguageBox > m_xWestFontLanguageLB
Definition: chardlg.hxx:77
std::unique_ptr< weld::ComboBox > m_xPositionLB
Definition: chardlg.hxx:193
std::unique_ptr< weld::Label > m_xWestFontTypeFT
Definition: chardlg.hxx:78
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: chardlg.cxx:3251
virtual ~SvxCharNamePage() override
Definition: chardlg.cxx:331
Color m_aOrigFontColor
Definition: chardlg.hxx:168
std::unique_ptr< weld::CheckButton > m_xHighLowRB
Definition: chardlg.hxx:249
bool FillItemSet_Impl(SfxItemSet &rSet, LanguageGroup eLangGrp)
Definition: chardlg.cxx:833
std::unique_ptr< weld::Label > m_xEastFontLanguageFT
Definition: chardlg.hxx:88
void SetEscapement_Impl(SvxEscapement nEsc)
Definition: chardlg.cxx:2512
sal_uInt8 m_nSuperProp
Definition: chardlg.hxx:241
void DisableControls(sal_uInt16 nDisable)
Definition: chardlg.cxx:1269
std::unique_ptr< weld::CustomWeld > m_xPreviewWin
Definition: chardlg.hxx:39
virtual ~SvxCharBasePage() override
Definition: chardlg.cxx:166
void FontModifyHdl_Impl()
Definition: chardlg.cxx:2581
std::unique_ptr< weld::CheckButton > m_xTwoLinesBtn
Definition: chardlg.hxx:307
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: chardlg.cxx:2069
SvxFont & GetPreviewCJKFont()
Definition: chardlg.cxx:150
DECL_LINK(SelectListBoxHdl_Impl, weld::ComboBox &, void)
virtual void Reset(const SfxItemSet *rSet) override
Definition: chardlg.cxx:1677
std::unique_ptr< SvtFontSizeBox > m_xCTLFontSizeLB
Definition: chardlg.hxx:99
std::unique_ptr< weld::Label > m_xHighLowFT
Definition: chardlg.hxx:247
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
Definition: chardlg.cxx:1193
std::unique_ptr< weld::Label > m_xUnderlineColorFT
Definition: chardlg.hxx:187
std::unique_ptr< weld::CheckButton > m_xBlinkingBtn
Definition: chardlg.hxx:180
std::unique_ptr< SvtFontSizeBox > m_xEastFontSizeLB
Definition: chardlg.hxx:87
std::unique_ptr< weld::Label > m_xCTLFontLanguageFT
Definition: chardlg.hxx:100
std::unique_ptr< weld::Label > m_xEastFontStyleFT
Definition: chardlg.hxx:84
Color GetPreviewFontColor(const Color &rColor) const
Definition: chardlg.cxx:1360
void EnableSearchMode()
Definition: chardlg.cxx:1264
std::unique_ptr< weld::Label > m_xEffectsFT
Definition: chardlg.hxx:174
static const sal_uInt16 * GetRanges()
Definition: chardlg.hxx:219
static const sal_uInt16 pEffectsRanges[]
Definition: chardlg.hxx:164
virtual void ActivatePage(const SfxItemSet &rSet) override
Definition: chardlg.cxx:3170
sal_uInt16 m_nEndBracketPosition
Definition: chardlg.hxx:305
SvxCharTwoLinesPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: chardlg.cxx:3048
void SetPrevFontEscapement(sal_uInt8 nProp, sal_uInt8 nEscProp, short nEsc)
Definition: chardlg.cxx:185
std::unique_ptr< weld::CheckButton > m_xPairKerningBtn
Definition: chardlg.hxx:265
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: chardlg.cxx:1224
std::unique_ptr< SvxLanguageBox > m_xCTLFontLanguageLB
Definition: chardlg.hxx:101
sal_uInt16 m_nStartBracketPosition
Definition: chardlg.hxx:304
std::unique_ptr< weld::Label > m_xEastFontSizeFT
Definition: chardlg.hxx:86
std::unique_ptr< ColorListBox > m_xFontColorLB
Definition: chardlg.hxx:173
static const sal_uInt16 pNameRanges[]
Definition: chardlg.hxx:65
std::unique_ptr< weld::Widget > m_xEastFrame
Definition: chardlg.hxx:81
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: chardlg.cxx:2415
void EnableNoneFontColor()
Definition: chardlg.cxx:1354
SvxCharBasePage(weld::Container *pPage, weld::DialogController *pController, const OUString &rUIXMLDescription, const OString &rID, const SfxItemSet &rAttrSet)
Definition: chardlg.cxx:160
std::unique_ptr< weld::ComboBox > m_xEastFontNameLB
Definition: chardlg.hxx:83
virtual void ActivatePage(const SfxItemSet &rSet) override
Definition: chardlg.cxx:1179
std::unique_ptr< weld::ComboBox > m_xUnderlineLB
Definition: chardlg.hxx:186
virtual void Reset(const SfxItemSet *rSet) override
Definition: chardlg.cxx:2668
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: chardlg.cxx:3035
std::unique_ptr< SvtFontSizeBox > m_xWestFontSizeLB
Definition: chardlg.hxx:75
void EnableRelativeMode()
Definition: chardlg.cxx:1256
static const sal_uInt16 pPositionRanges[]
Definition: chardlg.hxx:232
std::unique_ptr< weld::Widget > m_xWestFrame
Definition: chardlg.hxx:69
sal_uInt8 m_nSubProp
Definition: chardlg.hxx:242
std::unique_ptr< weld::RadioButton > m_x90degRB
Definition: chardlg.hxx:258
std::unique_ptr< weld::Label > m_xReliefFT
Definition: chardlg.hxx:176
void ResetColor_Impl(const SfxItemSet &rSet)
Definition: chardlg.cxx:1520
bool m_bEnableNoneFontColor
Definition: chardlg.hxx:167
bool m_bUnderlineColorDisabled
Definition: chardlg.hxx:170
std::unique_ptr< weld::Label > m_xEastFontTypeFT
Definition: chardlg.hxx:90
DECL_LINK(TwoLinesHdl_Impl, weld::ToggleButton &, void)
std::unique_ptr< weld::Widget > m_xCTLFrame
Definition: chardlg.hxx:93
virtual void ChangesApplied() override
Definition: chardlg.cxx:2053
std::unique_ptr< weld::RadioButton > m_x270degRB
Definition: chardlg.hxx:259
unsigned char sal_uInt8
void UpdatePreview_Impl(sal_uInt8 nProp, sal_uInt8 nEscProp, short nEsc)
Definition: chardlg.cxx:2506
std::unique_ptr< weld::TreeView > m_xEndBracketLB
Definition: chardlg.hxx:310
void SetPrevFontWidthScale(const SfxItemSet &rSet)
Definition: chardlg.cxx:175
void UpdatePreview_Impl()
Definition: chardlg.cxx:472
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: chardlg.cxx:3175
std::unique_ptr< SvtFontStyleBox > m_xCTLFontStyleLB
Definition: chardlg.hxx:97
std::unique_ptr< weld::MetricSpinButton > m_xHighLowMF
Definition: chardlg.hxx:248
virtual ~SvxCharTwoLinesPage() override
Definition: chardlg.cxx:3069
void DisableControls(sal_uInt16 nDisable)
Definition: chardlg.cxx:2392
static const sal_uInt16 * GetRanges()
Definition: chardlg.hxx:328
void UpdatePreview_Impl()
Definition: chardlg.cxx:3240
Language for ctl text.
Definition: chardlg.hxx:123
std::unique_ptr< weld::Label > m_xCTLFontNameFT
Definition: chardlg.hxx:94
std::unique_ptr< weld::MetricSpinButton > m_xKerningMF
Definition: chardlg.hxx:264
std::unique_ptr< weld::Label > m_xCTLFontSizeFT
Definition: chardlg.hxx:98
DeactivateRC
void SelectCharacter(weld::TreeView *pBox)
Definition: chardlg.cxx:3092
SvxEscapement
std::unique_ptr< weld::TreeView > m_xStartBracketLB
Definition: chardlg.hxx:309
void Reset_Impl(const SfxItemSet &rSet, LanguageGroup eLangGrp)
Definition: chardlg.cxx:604
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: chardlg.cxx:2904
std::unique_ptr< weld::Button > m_xEastFontFeaturesButton
Definition: chardlg.hxx:91
std::unique_ptr< ColorListBox > m_xUnderlineColorLB
Definition: chardlg.hxx:188
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
Definition: chardlg.cxx:1672
void SetFontList(const SvxFontListItem &rItem)
Definition: chardlg.cxx:1232
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: chardlg.cxx:2656
sal_uInt16 m_nScaleWidthItemSetVal
Definition: chardlg.hxx:238
static const sal_uInt16 pTwoLinesRanges[]
Definition: chardlg.hxx:303
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: chardlg.cxx:3209
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
Definition: chardlg.cxx:2663
std::unique_ptr< weld::Label > m_xScalingFT
Definition: chardlg.hxx:255
std::unique_ptr< weld::ComboBox > m_xOverlineLB
Definition: chardlg.hxx:182
std::unique_ptr< weld::Label > m_xScalingAndRotationFT
Definition: chardlg.hxx:256
std::unique_ptr< weld::MetricSpinButton > m_xScaleWidthMF
Definition: chardlg.hxx:262
std::unique_ptr< weld::Label > m_xFontSizeFT
Definition: chardlg.hxx:250
std::unique_ptr< weld::RadioButton > m_xLowPosBtn
Definition: chardlg.hxx:246
std::unique_ptr< ColorListBox > m_xOverlineColorLB
Definition: chardlg.hxx:184
std::unique_ptr< weld::Button > m_xCTLFontFeaturesButton
Definition: chardlg.hxx:103
std::unique_ptr< weld::ComboBox > m_xEmphasisLB
Definition: chardlg.hxx:191
SvxCharEffectsPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: chardlg.cxx:1314
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: chardlg.cxx:1292
std::unique_ptr< weld::Label > m_xA11yWarningFT
Definition: chardlg.hxx:194
void UpdatePreview_Impl()
Definition: chardlg.cxx:1435
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
Definition: chardlg.cxx:3182
std::unique_ptr< weld::Label > m_xPositionFT
Definition: chardlg.hxx:192
std::unique_ptr< weld::ComboBox > m_xCTLFontNameLB
Definition: chardlg.hxx:95
SvxCharNamePage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: chardlg.cxx:215