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(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;
170 
171  std::unique_ptr<weld::Label> m_xFontColorFT;
172  std::unique_ptr<ColorListBox> m_xFontColorLB;
173  std::unique_ptr<weld::Label> m_xFontTransparencyFT;
174  std::unique_ptr<weld::MetricSpinButton> m_xFontTransparencyMtr;
175  std::unique_ptr<weld::Label> m_xEffectsFT;
176  std::unique_ptr<weld::ComboBox> m_xEffectsLB;
177  std::unique_ptr<weld::Label> m_xReliefFT;
178  std::unique_ptr<weld::ComboBox> m_xReliefLB;
179  std::unique_ptr<weld::CheckButton> m_xOutlineBtn;
180  std::unique_ptr<weld::CheckButton> m_xShadowBtn;
181  std::unique_ptr<weld::CheckButton> m_xBlinkingBtn;
182  std::unique_ptr<weld::CheckButton> m_xHiddenBtn;
183  std::unique_ptr<weld::ComboBox> m_xOverlineLB;
184  std::unique_ptr<weld::Label> m_xOverlineColorFT;
185  std::unique_ptr<ColorListBox> m_xOverlineColorLB;
186  std::unique_ptr<weld::ComboBox> m_xStrikeoutLB;
187  std::unique_ptr<weld::ComboBox> m_xUnderlineLB;
188  std::unique_ptr<weld::Label> m_xUnderlineColorFT;
189  std::unique_ptr<ColorListBox> m_xUnderlineColorLB;
190  std::unique_ptr<weld::CheckButton> m_xIndividualWordsBtn;
191  std::unique_ptr<weld::Label> m_xEmphasisFT;
192  std::unique_ptr<weld::ComboBox> m_xEmphasisLB;
193  std::unique_ptr<weld::Label> m_xPositionFT;
194  std::unique_ptr<weld::ComboBox> m_xPositionLB;
195  std::unique_ptr<weld::Label> m_xA11yWarningFT;
196 
197  void Initialize();
198  void UpdatePreview_Impl();
199  void SetCaseMap_Impl( SvxCaseMap eCaseMap );
200  void ResetColor_Impl( const SfxItemSet& rSet );
201  bool FillItemSetColor_Impl( SfxItemSet& rSet );
202  Color GetPreviewFontColor(const Color& rColor) const;
203  void EnableNoneFontColor();
204 
205  void SelectHdl_Impl(const weld::ComboBox*);
206  DECL_LINK(SelectListBoxHdl_Impl, weld::ComboBox&, void);
207  DECL_LINK(CbClickHdl_Impl, weld::ToggleButton&, void);
208  DECL_LINK(TristClickHdl_Impl, weld::ToggleButton&, void);
209  DECL_LINK(ColorBoxSelectHdl_Impl, ColorListBox&, void);
210  DECL_LINK(ModifyFontTransparencyHdl_Impl, weld::MetricSpinButton&, void);
211 
212 public:
213  SvxCharEffectsPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet);
214  static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rSet );
215  virtual ~SvxCharEffectsPage() override;
216 
217  virtual DeactivateRC DeactivatePage( SfxItemSet* pSet ) override;
218 
219 public:
220  static const sal_uInt16* GetRanges() { return pEffectsRanges; }
221 
222  virtual void Reset( const SfxItemSet* rSet ) override;
223  virtual bool FillItemSet( SfxItemSet* rSet ) override;
224  virtual void ChangesApplied() override;
225 
226  void DisableControls( sal_uInt16 nDisable );
227  virtual void PageCreated(const SfxAllItemSet& aSet) override;
228 };
229 
230 // class SvxCharPositionPage ---------------------------------------------
232 {
233  static const sal_uInt16 pPositionRanges[];
234 
235 private:
236  short m_nSuperEsc;
237  short m_nSubEsc;
238 
241 
244 
245  std::unique_ptr<weld::RadioButton> m_xHighPosBtn;
246  std::unique_ptr<weld::RadioButton> m_xNormalPosBtn;
247  std::unique_ptr<weld::RadioButton> m_xLowPosBtn;
248  std::unique_ptr<weld::Label> m_xHighLowFT;
249  std::unique_ptr<weld::MetricSpinButton> m_xHighLowMF;
250  std::unique_ptr<weld::CheckButton> m_xHighLowRB;
251  std::unique_ptr<weld::Label> m_xFontSizeFT;
252  std::unique_ptr<weld::MetricSpinButton> m_xFontSizeMF;
253 
254  std::unique_ptr<weld::Widget> m_xRotationContainer;
255 
256  std::unique_ptr<weld::Label> m_xScalingFT;
257  std::unique_ptr<weld::Label> m_xScalingAndRotationFT;
258  std::unique_ptr<weld::RadioButton> m_x0degRB;
259  std::unique_ptr<weld::RadioButton> m_x90degRB;
260  std::unique_ptr<weld::RadioButton> m_x270degRB;
261  std::unique_ptr<weld::CheckButton> m_xFitToLineCB;
262 
263  std::unique_ptr<weld::MetricSpinButton> m_xScaleWidthMF;
264 
265  std::unique_ptr<weld::MetricSpinButton> m_xKerningMF;
266  std::unique_ptr<weld::CheckButton> m_xPairKerningBtn;
267 
268  void Initialize();
269  void UpdatePreview_Impl( sal_uInt8 nProp, sal_uInt8 nEscProp, short nEsc );
270  void SetEscapement_Impl( SvxEscapement nEsc );
271 
272  DECL_LINK(PositionHdl_Impl, weld::ToggleButton&, void);
273  DECL_LINK(RotationHdl_Impl, weld::ToggleButton&, void);
274  DECL_LINK(AutoPositionHdl_Impl, weld::ToggleButton&, void);
275  DECL_LINK(FitToLineHdl_Impl, weld::ToggleButton&, 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:240
virtual ~SvxCharEffectsPage() override
Definition: chardlg.cxx:1367
std::unique_ptr< weld::CheckButton > m_xFitToLineCB
Definition: chardlg.hxx:261
std::unique_ptr< weld::Label > m_xWestFontLanguageFT
Definition: chardlg.hxx:76
std::unique_ptr< weld::RadioButton > m_xHighPosBtn
Definition: chardlg.hxx:245
std::unique_ptr< SvxCharNamePage_Impl > m_pImpl
Definition: chardlg.hxx:67
void SetBracket(sal_Unicode cBracket, bool bStart)
Definition: chardlg.cxx:3132
std::unique_ptr< weld::RadioButton > m_xNormalPosBtn
Definition: chardlg.hxx:246
std::unique_ptr< SvtFontStyleBox > m_xEastFontStyleLB
Definition: chardlg.hxx:85
std::unique_ptr< weld::ComboBox > m_xStrikeoutLB
Definition: chardlg.hxx:186
std::unique_ptr< weld::CheckButton > m_xHiddenBtn
Definition: chardlg.hxx:182
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:1181
std::unique_ptr< weld::Button > m_xWestFontFeaturesButton
Definition: chardlg.hxx:79
virtual void FillUserData() override
Definition: chardlg.cxx:3045
std::unique_ptr< weld::ComboBox > m_xWestFontNameLB
Definition: chardlg.hxx:71
const SfxItemSet * pSet
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: chardlg.cxx:1681
std::unique_ptr< weld::MetricSpinButton > m_xFontSizeMF
Definition: chardlg.hxx:252
SvxCaseMap
bool FillItemSetColor_Impl(SfxItemSet &rSet)
Definition: chardlg.cxx:1584
SvxCharPositionPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: chardlg.cxx:2458
const FontList * GetFontList() const
Definition: chardlg.cxx:374
static const sal_uInt16 * GetRanges()
Definition: chardlg.hxx:144
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:254
SvxFontPrevWindow m_aPreviewWin
Definition: chardlg.hxx:38
std::unique_ptr< weld::Label > m_xEmphasisFT
Definition: chardlg.hxx:191
Language for asian text.
Definition: chardlg.hxx:119
virtual void Reset(const SfxItemSet *rSet) override
Definition: chardlg.cxx:3209
std::unique_ptr< weld::Label > m_xFontColorFT
Definition: chardlg.hxx:171
std::unique_ptr< weld::ComboBox > m_xEffectsLB
Definition: chardlg.hxx:176
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:1203
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:178
virtual void Reset(const SfxItemSet *rSet) override
Definition: chardlg.cxx:1193
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:1507
virtual void ChangesApplied() override
Definition: chardlg.cxx:2911
bool m_bPreviewBackgroundToCharacter
Definition: chardlg.hxx:41
std::unique_ptr< weld::CheckButton > m_xShadowBtn
Definition: chardlg.hxx:180
std::unique_ptr< weld::Label > m_xCTLFontTypeFT
Definition: chardlg.hxx:102
void FontModifyHdl_Impl(const weld::Widget &)
Definition: chardlg.cxx:1163
void FillStyleBox_Impl(const weld::Widget &rBox)
Definition: chardlg.cxx:504
void SelectHdl_Impl(const weld::ComboBox *)
Definition: chardlg.cxx:1622
std::unique_ptr< weld::CheckButton > m_xIndividualWordsBtn
Definition: chardlg.hxx:190
SvxFont & GetPreviewCTLFont()
Definition: chardlg.cxx:155
sal_uInt16 sal_Unicode
virtual ~SvxCharPositionPage() override
Definition: chardlg.cxx:2492
std::unique_ptr< weld::CheckButton > m_xOutlineBtn
Definition: chardlg.hxx:179
std::unique_ptr< weld::Label > m_xOverlineColorFT
Definition: chardlg.hxx:184
std::unique_ptr< weld::RadioButton > m_x0degRB
Definition: chardlg.hxx:258
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:194
std::unique_ptr< weld::Label > m_xWestFontTypeFT
Definition: chardlg.hxx:78
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: chardlg.cxx:3273
virtual ~SvxCharNamePage() override
Definition: chardlg.cxx:331
Color m_aOrigFontColor
Definition: chardlg.hxx:167
std::unique_ptr< weld::CheckButton > m_xHighLowRB
Definition: chardlg.hxx:250
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:2535
sal_uInt8 m_nSuperProp
Definition: chardlg.hxx:242
void DisableControls(sal_uInt16 nDisable)
Definition: chardlg.cxx:1264
std::unique_ptr< weld::CustomWeld > m_xPreviewWin
Definition: chardlg.hxx:39
virtual ~SvxCharBasePage() override
Definition: chardlg.cxx:166
void FontModifyHdl_Impl()
Definition: chardlg.cxx:2604
std::unique_ptr< weld::CheckButton > m_xTwoLinesBtn
Definition: chardlg.hxx:307
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: chardlg.cxx:2086
SvxFont & GetPreviewCJKFont()
Definition: chardlg.cxx:150
DECL_LINK(SelectListBoxHdl_Impl, weld::ComboBox &, void)
virtual void Reset(const SfxItemSet *rSet) override
Definition: chardlg.cxx:1693
std::unique_ptr< SvtFontSizeBox > m_xCTLFontSizeLB
Definition: chardlg.hxx:99
std::unique_ptr< weld::Label > m_xHighLowFT
Definition: chardlg.hxx:248
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
Definition: chardlg.cxx:1188
std::unique_ptr< weld::Label > m_xUnderlineColorFT
Definition: chardlg.hxx:188
std::unique_ptr< weld::CheckButton > m_xBlinkingBtn
Definition: chardlg.hxx:181
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:1358
void EnableSearchMode()
Definition: chardlg.cxx:1259
std::unique_ptr< weld::Label > m_xEffectsFT
Definition: chardlg.hxx:175
static const sal_uInt16 * GetRanges()
Definition: chardlg.hxx:220
static const sal_uInt16 pEffectsRanges[]
Definition: chardlg.hxx:163
virtual void ActivatePage(const SfxItemSet &rSet) override
Definition: chardlg.cxx:3192
sal_uInt16 m_nEndBracketPosition
Definition: chardlg.hxx:305
SvxCharTwoLinesPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: chardlg.cxx:3070
void SetPrevFontEscapement(sal_uInt8 nProp, sal_uInt8 nEscProp, short nEsc)
Definition: chardlg.cxx:185
std::unique_ptr< weld::CheckButton > m_xPairKerningBtn
Definition: chardlg.hxx:266
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: chardlg.cxx:1219
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:172
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:2432
void EnableNoneFontColor()
Definition: chardlg.cxx:1352
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:1174
std::unique_ptr< weld::ComboBox > m_xUnderlineLB
Definition: chardlg.hxx:187
virtual void Reset(const SfxItemSet *rSet) override
Definition: chardlg.cxx:2691
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: chardlg.cxx:3057
std::unique_ptr< SvtFontSizeBox > m_xWestFontSizeLB
Definition: chardlg.hxx:75
void EnableRelativeMode()
Definition: chardlg.cxx:1251
static const sal_uInt16 pPositionRanges[]
Definition: chardlg.hxx:233
std::unique_ptr< weld::Widget > m_xWestFrame
Definition: chardlg.hxx:69
sal_uInt8 m_nSubProp
Definition: chardlg.hxx:243
std::unique_ptr< weld::RadioButton > m_x90degRB
Definition: chardlg.hxx:259
std::unique_ptr< weld::Label > m_xReliefFT
Definition: chardlg.hxx:177
void ResetColor_Impl(const SfxItemSet &rSet)
Definition: chardlg.cxx:1521
bool m_bEnableNoneFontColor
Definition: chardlg.hxx:166
bool m_bUnderlineColorDisabled
Definition: chardlg.hxx:169
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:2069
std::unique_ptr< weld::RadioButton > m_x270degRB
Definition: chardlg.hxx:260
unsigned char sal_uInt8
void UpdatePreview_Impl(sal_uInt8 nProp, sal_uInt8 nEscProp, short nEsc)
Definition: chardlg.cxx:2529
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:3197
std::unique_ptr< SvtFontStyleBox > m_xCTLFontStyleLB
Definition: chardlg.hxx:97
std::unique_ptr< weld::MetricSpinButton > m_xHighLowMF
Definition: chardlg.hxx:249
virtual ~SvxCharTwoLinesPage() override
Definition: chardlg.cxx:3091
void DisableControls(sal_uInt16 nDisable)
Definition: chardlg.cxx:2409
static const sal_uInt16 * GetRanges()
Definition: chardlg.hxx:328
void UpdatePreview_Impl()
Definition: chardlg.cxx:3262
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:265
std::unique_ptr< weld::Label > m_xCTLFontSizeFT
Definition: chardlg.hxx:98
DeactivateRC
void SelectCharacter(weld::TreeView *pBox)
Definition: chardlg.cxx:3114
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:2926
std::unique_ptr< weld::Button > m_xEastFontFeaturesButton
Definition: chardlg.hxx:91
std::unique_ptr< ColorListBox > m_xUnderlineColorLB
Definition: chardlg.hxx:189
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
Definition: chardlg.cxx:1688
void SetFontList(const SvxFontListItem &rItem)
Definition: chardlg.cxx:1227
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: chardlg.cxx:2679
sal_uInt16 m_nScaleWidthItemSetVal
Definition: chardlg.hxx:239
static const sal_uInt16 pTwoLinesRanges[]
Definition: chardlg.hxx:303
std::unique_ptr< weld::MetricSpinButton > m_xFontTransparencyMtr
Definition: chardlg.hxx:174
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: chardlg.cxx:3231
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
Definition: chardlg.cxx:2686
std::unique_ptr< weld::Label > m_xScalingFT
Definition: chardlg.hxx:256
std::unique_ptr< weld::ComboBox > m_xOverlineLB
Definition: chardlg.hxx:183
std::unique_ptr< weld::Label > m_xScalingAndRotationFT
Definition: chardlg.hxx:257
std::unique_ptr< weld::MetricSpinButton > m_xScaleWidthMF
Definition: chardlg.hxx:263
std::unique_ptr< weld::Label > m_xFontSizeFT
Definition: chardlg.hxx:251
std::unique_ptr< weld::RadioButton > m_xLowPosBtn
Definition: chardlg.hxx:247
std::unique_ptr< ColorListBox > m_xOverlineColorLB
Definition: chardlg.hxx:185
std::unique_ptr< weld::Button > m_xCTLFontFeaturesButton
Definition: chardlg.hxx:103
std::unique_ptr< weld::ComboBox > m_xEmphasisLB
Definition: chardlg.hxx:192
SvxCharEffectsPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: chardlg.cxx:1309
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: chardlg.cxx:1287
std::unique_ptr< weld::Label > m_xA11yWarningFT
Definition: chardlg.hxx:195
void UpdatePreview_Impl()
Definition: chardlg.cxx:1436
std::unique_ptr< weld::Label > m_xFontTransparencyFT
Definition: chardlg.hxx:173
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
Definition: chardlg.cxx:3204
std::unique_ptr< weld::Label > m_xPositionFT
Definition: chardlg.hxx:193
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