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<FontStyleBox> m_xWestFontStyleLB;
74  std::unique_ptr<weld::Label> m_xWestFontSizeFT;
75  std::unique_ptr<FontSizeBox> 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<FontStyleBox> m_xEastFontStyleLB;
86  std::unique_ptr<weld::Label> m_xEastFontSizeFT;
87  std::unique_ptr<FontSizeBox> 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<FontStyleBox> m_xCTLFontStyleLB;
98  std::unique_ptr<weld::Label> m_xCTLFontSizeFT;
99  std::unique_ptr<FontSizeBox> 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(FontModifyComboBoxHdl_Impl, weld::ComboBox&, void);
131  DECL_LINK(FontFeatureButtonClicked, weld::Button&, void);
132 
133  void FontModifyHdl_Impl(const weld::Widget&);
134 
135 public:
136  virtual void ActivatePage( const SfxItemSet& rSet ) override;
137  virtual DeactivateRC DeactivatePage( SfxItemSet* pSet ) override;
138 
139 public:
140  SvxCharNamePage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet);
141  static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rSet );
142  virtual ~SvxCharNamePage() override;
143 
144  static const sal_uInt16* GetRanges() { return pNameRanges; }
145 
146  virtual void Reset( const SfxItemSet* rSet ) override;
147  virtual bool FillItemSet( SfxItemSet* rSet ) override;
148  virtual void ChangesApplied() override;
149 
150  void SetFontList( const SvxFontListItem& rItem );
151  void EnableRelativeMode();
152  void EnableSearchMode();
153 
154  void DisableControls( sal_uInt16 nDisable );
155  virtual void PageCreated(const SfxAllItemSet& aSet) override;
156 };
157 
158 // class SvxCharEffectsPage ----------------------------------------------
159 
161 {
162 private:
163  static const sal_uInt16 pEffectsRanges[];
168  sal_uInt16 m_nHtmlMode;
169 
170  std::unique_ptr<weld::Label> m_xFontColorFT;
171  std::unique_ptr<ColorListBox> m_xFontColorLB;
172  std::unique_ptr<weld::Label> m_xFontTransparencyFT;
173  std::unique_ptr<weld::MetricSpinButton> m_xFontTransparencyMtr;
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_xHiddenBtn;
181  std::unique_ptr<weld::ComboBox> m_xOverlineLB;
182  std::unique_ptr<weld::Label> m_xOverlineColorFT;
183  std::unique_ptr<ColorListBox> m_xOverlineColorLB;
184  std::unique_ptr<weld::ComboBox> m_xStrikeoutLB;
185  std::unique_ptr<weld::ComboBox> m_xUnderlineLB;
186  std::unique_ptr<weld::Label> m_xUnderlineColorFT;
187  std::unique_ptr<ColorListBox> m_xUnderlineColorLB;
188  std::unique_ptr<weld::CheckButton> m_xIndividualWordsBtn;
189  std::unique_ptr<weld::Label> m_xEmphasisFT;
190  std::unique_ptr<weld::ComboBox> m_xEmphasisLB;
191  std::unique_ptr<weld::Label> m_xPositionFT;
192  std::unique_ptr<weld::ComboBox> m_xPositionLB;
193  std::unique_ptr<weld::Label> m_xA11yWarningFT;
194 
195  void Initialize();
196  void UpdatePreview_Impl();
197  void SetCaseMap_Impl( SvxCaseMap eCaseMap );
198  void ResetColor_Impl( const SfxItemSet& rSet );
199  bool FillItemSetColor_Impl( SfxItemSet& rSet );
200  Color GetPreviewFontColor(const Color& rColor) const;
201  void EnableNoneFontColor();
202 
203  void SelectHdl_Impl(const weld::ComboBox*);
204  DECL_LINK(SelectListBoxHdl_Impl, weld::ComboBox&, void);
205  DECL_LINK(CbClickHdl_Impl, weld::ToggleButton&, void);
206  DECL_LINK(TristClickHdl_Impl, weld::ToggleButton&, void);
207  DECL_LINK(ColorBoxSelectHdl_Impl, ColorListBox&, void);
208  DECL_LINK(ModifyFontTransparencyHdl_Impl, weld::MetricSpinButton&, void);
209 
210 public:
211  SvxCharEffectsPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet);
212  static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rSet );
213  virtual ~SvxCharEffectsPage() override;
214 
215  virtual DeactivateRC DeactivatePage( SfxItemSet* pSet ) override;
216 
217 public:
218  static const sal_uInt16* GetRanges() { return pEffectsRanges; }
219 
220  virtual void Reset( const SfxItemSet* rSet ) override;
221  virtual bool FillItemSet( SfxItemSet* rSet ) override;
222  virtual void ChangesApplied() override;
223 
224  void DisableControls( sal_uInt16 nDisable );
225  virtual void PageCreated(const SfxAllItemSet& aSet) override;
226 };
227 
228 // class SvxCharPositionPage ---------------------------------------------
230 {
231  static const sal_uInt16 pPositionRanges[];
232 
233 private:
234  short m_nSuperEsc;
235  short m_nSubEsc;
236 
239 
242 
243  std::unique_ptr<weld::RadioButton> m_xHighPosBtn;
244  std::unique_ptr<weld::RadioButton> m_xNormalPosBtn;
245  std::unique_ptr<weld::RadioButton> m_xLowPosBtn;
246  std::unique_ptr<weld::Label> m_xHighLowFT;
247  std::unique_ptr<weld::MetricSpinButton> m_xHighLowMF;
248  std::unique_ptr<weld::CheckButton> m_xHighLowRB;
249  std::unique_ptr<weld::Label> m_xFontSizeFT;
250  std::unique_ptr<weld::MetricSpinButton> m_xFontSizeMF;
251 
252  std::unique_ptr<weld::Widget> m_xRotationContainer;
253 
254  std::unique_ptr<weld::Label> m_xScalingFT;
255  std::unique_ptr<weld::Label> m_xScalingAndRotationFT;
256  std::unique_ptr<weld::RadioButton> m_x0degRB;
257  std::unique_ptr<weld::RadioButton> m_x90degRB;
258  std::unique_ptr<weld::RadioButton> m_x270degRB;
259  std::unique_ptr<weld::CheckButton> m_xFitToLineCB;
260 
261  std::unique_ptr<weld::MetricSpinButton> m_xScaleWidthMF;
262 
263  std::unique_ptr<weld::MetricSpinButton> m_xKerningMF;
264  std::unique_ptr<weld::CheckButton> m_xPairKerningBtn;
265 
266  void Initialize();
267  void UpdatePreview_Impl( sal_uInt8 nProp, sal_uInt8 nEscProp, short nEsc );
268  void SetEscapement_Impl( SvxEscapement nEsc );
269 
270  DECL_LINK(PositionHdl_Impl, weld::ToggleButton&, void);
271  DECL_LINK(RotationHdl_Impl, weld::ToggleButton&, void);
272  DECL_LINK(AutoPositionHdl_Impl, weld::ToggleButton&, void);
273  DECL_LINK(FitToLineHdl_Impl, weld::ToggleButton&, void);
274  DECL_LINK(KerningModifyHdl_Impl, weld::MetricSpinButton&, void);
275  DECL_LINK(ValueChangedHdl_Impl, weld::MetricSpinButton&, void);
276  DECL_LINK(ScaleWidthModifyHdl_Impl, weld::MetricSpinButton&, void);
277  void FontModifyHdl_Impl();
278 
279 public:
280  SvxCharPositionPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet);
281  static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rSet );
282  virtual ~SvxCharPositionPage() override;
283 
284  virtual DeactivateRC DeactivatePage( SfxItemSet* pSet ) override;
285 
286 public:
287  static const sal_uInt16* GetRanges() { return pPositionRanges; }
288 
289  virtual void Reset( const SfxItemSet* rSet ) override;
290  virtual bool FillItemSet( SfxItemSet* rSet ) override;
291  virtual void ChangesApplied() override;
292  virtual void FillUserData() override;
293  virtual void PageCreated(const SfxAllItemSet& aSet) override;
294 };
295 
296 // class SvxCharTwoLinesPage ---------------------------------------------
297 
299 {
300 private:
301  static const sal_uInt16 pTwoLinesRanges[];
304 
305  std::unique_ptr<weld::CheckButton> m_xTwoLinesBtn;
306  std::unique_ptr<weld::Widget> m_xEnclosingFrame;
307  std::unique_ptr<weld::TreeView> m_xStartBracketLB;
308  std::unique_ptr<weld::TreeView> m_xEndBracketLB;
309 
310  void UpdatePreview_Impl();
311  void Initialize();
312  void SelectCharacter(weld::TreeView* pBox);
313  void SetBracket(sal_Unicode cBracket, bool bStart);
314 
315  DECL_LINK(TwoLinesHdl_Impl, weld::ToggleButton&, void);
316  DECL_LINK(CharacterMapHdl_Impl, weld::TreeView&, void);
317 
318 public:
319  SvxCharTwoLinesPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet);
320  static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rSet );
321  virtual ~SvxCharTwoLinesPage() override;
322 
323  virtual void ActivatePage( const SfxItemSet& rSet ) override;
324  virtual DeactivateRC DeactivatePage( SfxItemSet* pSet ) override;
325 
326  static const sal_uInt16* GetRanges() { return pTwoLinesRanges; }
327 
328  virtual void Reset( const SfxItemSet* rSet ) override;
329  virtual bool FillItemSet( SfxItemSet* rSet ) override;
330  virtual void PageCreated(const SfxAllItemSet& aSet) override;
331 };
332 
333 #endif // INCLUDED_CUI_SOURCE_INC_CHARDLG_HXX
334 
335 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
sal_uInt16 m_nScaleWidthInitialVal
Definition: chardlg.hxx:238
virtual ~SvxCharEffectsPage() override
Definition: chardlg.cxx:1358
std::unique_ptr< weld::CheckButton > m_xFitToLineCB
Definition: chardlg.hxx:259
std::unique_ptr< weld::Label > m_xWestFontLanguageFT
Definition: chardlg.hxx:76
std::unique_ptr< FontSizeBox > m_xEastFontSizeLB
Definition: chardlg.hxx:87
std::unique_ptr< FontStyleBox > m_xCTLFontStyleLB
Definition: chardlg.hxx:97
std::unique_ptr< weld::RadioButton > m_xHighPosBtn
Definition: chardlg.hxx:243
std::unique_ptr< SvxCharNamePage_Impl > m_pImpl
Definition: chardlg.hxx:67
void SetBracket(sal_Unicode cBracket, bool bStart)
Definition: chardlg.cxx:3051
std::unique_ptr< weld::RadioButton > m_xNormalPosBtn
Definition: chardlg.hxx:244
std::unique_ptr< weld::ComboBox > m_xStrikeoutLB
Definition: chardlg.hxx:184
std::unique_ptr< weld::CheckButton > m_xHiddenBtn
Definition: chardlg.hxx:180
static const sal_uInt16 * GetRanges()
Definition: chardlg.hxx:287
void FillSizeBox_Impl(const weld::Widget &rBox)
Definition: chardlg.cxx:553
DECL_LINK(UpdateHdl_Impl, Timer *, void)
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: chardlg.cxx:1184
std::unique_ptr< weld::Button > m_xWestFontFeaturesButton
Definition: chardlg.hxx:79
virtual void FillUserData() override
Definition: chardlg.cxx:2964
std::unique_ptr< weld::ComboBox > m_xWestFontNameLB
Definition: chardlg.hxx:71
const SfxItemSet * pSet
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: chardlg.cxx:1668
std::unique_ptr< weld::MetricSpinButton > m_xFontSizeMF
Definition: chardlg.hxx:250
SvxCaseMap
bool FillItemSetColor_Impl(SfxItemSet &rSet)
Definition: chardlg.cxx:1575
SvxCharPositionPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: chardlg.cxx:2377
const FontList * GetFontList() const
Definition: chardlg.cxx:377
static const sal_uInt16 * GetRanges()
Definition: chardlg.hxx:144
std::unique_ptr< weld::Widget > m_xEnclosingFrame
Definition: chardlg.hxx:306
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:252
SvxFontPrevWindow m_aPreviewWin
Definition: chardlg.hxx:38
std::unique_ptr< weld::Label > m_xEmphasisFT
Definition: chardlg.hxx:189
Language for asian text.
Definition: chardlg.hxx:119
virtual void Reset(const SfxItemSet *rSet) override
Definition: chardlg.cxx:3128
std::unique_ptr< weld::Label > m_xFontColorFT
Definition: chardlg.hxx:170
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:168
virtual void ChangesApplied() override
Definition: chardlg.cxx:1206
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:1196
DECL_LINK(PositionHdl_Impl, weld::ToggleButton &, void)
void Initialize()
Definition: chardlg.cxx:349
virtual void ActivatePage(const SfxItemSet &rSet) override
Definition: chardlg.cxx:170
void SetCaseMap_Impl(SvxCaseMap eCaseMap)
Definition: chardlg.cxx:1498
virtual void ChangesApplied() override
Definition: chardlg.cxx:2830
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:1166
void FillStyleBox_Impl(const weld::Widget &rBox)
Definition: chardlg.cxx:507
std::unique_ptr< FontStyleBox > m_xEastFontStyleLB
Definition: chardlg.hxx:85
void SelectHdl_Impl(const weld::ComboBox *)
Definition: chardlg.cxx:1613
std::unique_ptr< weld::CheckButton > m_xIndividualWordsBtn
Definition: chardlg.hxx:188
SvxFont & GetPreviewCTLFont()
Definition: chardlg.cxx:155
sal_uInt16 sal_Unicode
virtual ~SvxCharPositionPage() override
Definition: chardlg.cxx:2411
std::unique_ptr< weld::CheckButton > m_xOutlineBtn
Definition: chardlg.hxx:178
std::unique_ptr< weld::Label > m_xOverlineColorFT
Definition: chardlg.hxx:182
std::unique_ptr< weld::RadioButton > m_x0degRB
Definition: chardlg.hxx:256
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:192
std::unique_ptr< weld::Label > m_xWestFontTypeFT
Definition: chardlg.hxx:78
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: chardlg.cxx:3192
virtual ~SvxCharNamePage() override
Definition: chardlg.cxx:334
Color m_aOrigFontColor
Definition: chardlg.hxx:167
std::unique_ptr< weld::CheckButton > m_xHighLowRB
Definition: chardlg.hxx:248
bool FillItemSet_Impl(SfxItemSet &rSet, LanguageGroup eLangGrp)
Definition: chardlg.cxx:836
std::unique_ptr< weld::Label > m_xEastFontLanguageFT
Definition: chardlg.hxx:88
void SetEscapement_Impl(SvxEscapement nEsc)
Definition: chardlg.cxx:2454
sal_uInt8 m_nSuperProp
Definition: chardlg.hxx:240
void DisableControls(sal_uInt16 nDisable)
Definition: chardlg.cxx:1267
std::unique_ptr< weld::CustomWeld > m_xPreviewWin
Definition: chardlg.hxx:39
virtual ~SvxCharBasePage() override
Definition: chardlg.cxx:166
void FontModifyHdl_Impl()
Definition: chardlg.cxx:2523
std::unique_ptr< weld::CheckButton > m_xTwoLinesBtn
Definition: chardlg.hxx:305
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: chardlg.cxx:2045
SvxFont & GetPreviewCJKFont()
Definition: chardlg.cxx:150
DECL_LINK(SelectListBoxHdl_Impl, weld::ComboBox &, void)
virtual void Reset(const SfxItemSet *rSet) override
Definition: chardlg.cxx:1680
std::unique_ptr< weld::Label > m_xHighLowFT
Definition: chardlg.hxx:246
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
Definition: chardlg.cxx:1191
std::unique_ptr< weld::Label > m_xUnderlineColorFT
Definition: chardlg.hxx:186
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:1349
void EnableSearchMode()
Definition: chardlg.cxx:1262
std::unique_ptr< weld::Label > m_xEffectsFT
Definition: chardlg.hxx:174
std::unique_ptr< FontStyleBox > m_xWestFontStyleLB
Definition: chardlg.hxx:73
static const sal_uInt16 * GetRanges()
Definition: chardlg.hxx:218
static const sal_uInt16 pEffectsRanges[]
Definition: chardlg.hxx:163
virtual void ActivatePage(const SfxItemSet &rSet) override
Definition: chardlg.cxx:3111
sal_uInt16 m_nEndBracketPosition
Definition: chardlg.hxx:303
SvxCharTwoLinesPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: chardlg.cxx:2989
void SetPrevFontEscapement(sal_uInt8 nProp, sal_uInt8 nEscProp, short nEsc)
Definition: chardlg.cxx:185
std::unique_ptr< weld::CheckButton > m_xPairKerningBtn
Definition: chardlg.hxx:264
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: chardlg.cxx:1222
std::unique_ptr< SvxLanguageBox > m_xCTLFontLanguageLB
Definition: chardlg.hxx:101
sal_uInt16 m_nStartBracketPosition
Definition: chardlg.hxx:302
std::unique_ptr< weld::Label > m_xEastFontSizeFT
Definition: chardlg.hxx:86
std::unique_ptr< ColorListBox > m_xFontColorLB
Definition: chardlg.hxx:171
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:2353
void EnableNoneFontColor()
Definition: chardlg.cxx:1343
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:1177
std::unique_ptr< weld::ComboBox > m_xUnderlineLB
Definition: chardlg.hxx:185
virtual void Reset(const SfxItemSet *rSet) override
Definition: chardlg.cxx:2610
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: chardlg.cxx:2976
void EnableRelativeMode()
Definition: chardlg.cxx:1254
static const sal_uInt16 pPositionRanges[]
Definition: chardlg.hxx:231
std::unique_ptr< weld::Widget > m_xWestFrame
Definition: chardlg.hxx:69
sal_uInt8 m_nSubProp
Definition: chardlg.hxx:241
std::unique_ptr< weld::RadioButton > m_x90degRB
Definition: chardlg.hxx:257
std::unique_ptr< weld::Label > m_xReliefFT
Definition: chardlg.hxx:176
void ResetColor_Impl(const SfxItemSet &rSet)
Definition: chardlg.cxx:1512
bool m_bEnableNoneFontColor
Definition: chardlg.hxx:166
std::unique_ptr< weld::Label > m_xEastFontTypeFT
Definition: chardlg.hxx:90
DECL_LINK(TwoLinesHdl_Impl, weld::ToggleButton &, void)
std::unique_ptr< FontSizeBox > m_xWestFontSizeLB
Definition: chardlg.hxx:75
std::unique_ptr< weld::Widget > m_xCTLFrame
Definition: chardlg.hxx:93
virtual void ChangesApplied() override
Definition: chardlg.cxx:2029
std::unique_ptr< weld::RadioButton > m_x270degRB
Definition: chardlg.hxx:258
unsigned char sal_uInt8
void UpdatePreview_Impl(sal_uInt8 nProp, sal_uInt8 nEscProp, short nEsc)
Definition: chardlg.cxx:2448
std::unique_ptr< weld::TreeView > m_xEndBracketLB
Definition: chardlg.hxx:308
void SetPrevFontWidthScale(const SfxItemSet &rSet)
Definition: chardlg.cxx:175
void UpdatePreview_Impl()
Definition: chardlg.cxx:475
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: chardlg.cxx:3116
std::unique_ptr< weld::MetricSpinButton > m_xHighLowMF
Definition: chardlg.hxx:247
virtual ~SvxCharTwoLinesPage() override
Definition: chardlg.cxx:3010
void DisableControls(sal_uInt16 nDisable)
Definition: chardlg.cxx:2344
static const sal_uInt16 * GetRanges()
Definition: chardlg.hxx:326
void UpdatePreview_Impl()
Definition: chardlg.cxx:3181
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:263
std::unique_ptr< weld::Label > m_xCTLFontSizeFT
Definition: chardlg.hxx:98
DeactivateRC
void SelectCharacter(weld::TreeView *pBox)
Definition: chardlg.cxx:3033
SvxEscapement
std::unique_ptr< weld::TreeView > m_xStartBracketLB
Definition: chardlg.hxx:307
void Reset_Impl(const SfxItemSet &rSet, LanguageGroup eLangGrp)
Definition: chardlg.cxx:607
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: chardlg.cxx:2845
std::unique_ptr< FontSizeBox > m_xCTLFontSizeLB
Definition: chardlg.hxx:99
std::unique_ptr< weld::Button > m_xEastFontFeaturesButton
Definition: chardlg.hxx:91
std::unique_ptr< ColorListBox > m_xUnderlineColorLB
Definition: chardlg.hxx:187
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
Definition: chardlg.cxx:1675
void SetFontList(const SvxFontListItem &rItem)
Definition: chardlg.cxx:1230
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: chardlg.cxx:2598
sal_uInt16 m_nScaleWidthItemSetVal
Definition: chardlg.hxx:237
static const sal_uInt16 pTwoLinesRanges[]
Definition: chardlg.hxx:301
std::unique_ptr< weld::MetricSpinButton > m_xFontTransparencyMtr
Definition: chardlg.hxx:173
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: chardlg.cxx:3150
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
Definition: chardlg.cxx:2605
std::unique_ptr< weld::Label > m_xScalingFT
Definition: chardlg.hxx:254
std::unique_ptr< weld::ComboBox > m_xOverlineLB
Definition: chardlg.hxx:181
std::unique_ptr< weld::Label > m_xScalingAndRotationFT
Definition: chardlg.hxx:255
std::unique_ptr< weld::MetricSpinButton > m_xScaleWidthMF
Definition: chardlg.hxx:261
std::unique_ptr< weld::Label > m_xFontSizeFT
Definition: chardlg.hxx:249
std::unique_ptr< weld::RadioButton > m_xLowPosBtn
Definition: chardlg.hxx:245
std::unique_ptr< ColorListBox > m_xOverlineColorLB
Definition: chardlg.hxx:183
std::unique_ptr< weld::Button > m_xCTLFontFeaturesButton
Definition: chardlg.hxx:103
std::unique_ptr< weld::ComboBox > m_xEmphasisLB
Definition: chardlg.hxx:190
SvxCharEffectsPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: chardlg.cxx:1302
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: chardlg.cxx:1280
std::unique_ptr< weld::Label > m_xA11yWarningFT
Definition: chardlg.hxx:193
void UpdatePreview_Impl()
Definition: chardlg.cxx:1427
std::unique_ptr< weld::Label > m_xFontTransparencyFT
Definition: chardlg.hxx:172
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
Definition: chardlg.cxx:3123
std::unique_ptr< weld::Label > m_xPositionFT
Definition: chardlg.hxx:191
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