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 #pragma once
20 
21 #include <svtools/ctrlbox.hxx>
22 #include <sfx2/tabdlg.hxx>
23 #include <svx/fntctrl.hxx>
24 #include <svx/colorbox.hxx>
25 #include <svx/langbox.hxx>
26 #include <vcl/weld.hxx>
27 #include <memory>
28 
29 // forward ---------------------------------------------------------------
30 
31 class SvxFontListItem;
32 class FontList;
33 
35 {
36 protected:
38  std::unique_ptr<weld::CustomWeld> m_xPreviewWin;
39 
41 
42  SvxCharBasePage(weld::Container* pPage, weld::DialogController* pController, const OUString& rUIXMLDescription, const OString& rID, const SfxItemSet& rAttrSet);
43 
44  void SetPrevFontWidthScale( const SfxItemSet& rSet );
45  void SetPrevFontEscapement( sal_uInt8 nProp, sal_uInt8 nEscProp, short nEsc );
46 
47  inline SvxFont& GetPreviewFont();
48  inline SvxFont& GetPreviewCJKFont();
49  inline SvxFont& GetPreviewCTLFont();
50 
51 public:
52  virtual ~SvxCharBasePage() override;
53 
54  virtual void ActivatePage( const SfxItemSet& rSet ) override;
55 };
56 
57 // class SvxCharNamePage -------------------------------------------------
58 
60 
62 {
63 private:
64  static const sal_uInt16 pNameRanges[];
65 
66  std::unique_ptr<SvxCharNamePage_Impl> m_pImpl;
67 
68  std::unique_ptr<weld::Widget> m_xWestFrame;
69  std::unique_ptr<weld::Label> m_xWestFontNameFT;
70  std::unique_ptr<weld::ComboBox> m_xWestFontNameLB;
71  std::unique_ptr<weld::Label> m_xWestFontStyleFT;
72  std::unique_ptr<FontStyleBox> m_xWestFontStyleLB;
73  std::unique_ptr<weld::Label> m_xWestFontSizeFT;
74  std::unique_ptr<FontSizeBox> m_xWestFontSizeLB;
75  std::unique_ptr<weld::Label> m_xWestFontLanguageFT;
76  std::unique_ptr<SvxLanguageBox> m_xWestFontLanguageLB;
77  std::unique_ptr<weld::Label> m_xWestFontTypeFT;
78  std::unique_ptr<weld::Button> m_xWestFontFeaturesButton;
79 
80  std::unique_ptr<weld::Widget> m_xEastFrame;
81  std::unique_ptr<weld::Label> m_xEastFontNameFT;
82  std::unique_ptr<weld::ComboBox> m_xEastFontNameLB;
83  std::unique_ptr<weld::Label> m_xEastFontStyleFT;
84  std::unique_ptr<FontStyleBox> m_xEastFontStyleLB;
85  std::unique_ptr<weld::Label> m_xEastFontSizeFT;
86  std::unique_ptr<FontSizeBox> m_xEastFontSizeLB;
87  std::unique_ptr<weld::Label> m_xEastFontLanguageFT;
88  std::unique_ptr<SvxLanguageBox> m_xEastFontLanguageLB;
89  std::unique_ptr<weld::Label> m_xEastFontTypeFT;
90  std::unique_ptr<weld::Button> m_xEastFontFeaturesButton;
91 
92  std::unique_ptr<weld::Widget> m_xCTLFrame;
93  std::unique_ptr<weld::Label> m_xCTLFontNameFT;
94  std::unique_ptr<weld::ComboBox> m_xCTLFontNameLB;
95  std::unique_ptr<weld::Label> m_xCTLFontStyleFT;
96  std::unique_ptr<FontStyleBox> m_xCTLFontStyleLB;
97  std::unique_ptr<weld::Label> m_xCTLFontSizeFT;
98  std::unique_ptr<FontSizeBox> m_xCTLFontSizeLB;
99  std::unique_ptr<weld::Label> m_xCTLFontLanguageFT;
100  std::unique_ptr<SvxLanguageBox> m_xCTLFontLanguageLB;
101  std::unique_ptr<weld::Label> m_xCTLFontTypeFT;
102  std::unique_ptr<weld::Button> m_xCTLFontFeaturesButton;
103 
104  void Initialize();
105  const FontList* GetFontList() const;
106  void UpdatePreview_Impl();
107  void FillStyleBox_Impl(const weld::Widget& rBox);
108  void FillSizeBox_Impl(const weld::Widget& rBox);
109 
111  {
114  Western = 0,
115 
119 
123  };
124 
125  void Reset_Impl( const SfxItemSet& rSet, LanguageGroup eLangGrp );
126  bool FillItemSet_Impl( SfxItemSet& rSet, LanguageGroup eLangGrp );
127 
128  DECL_LINK(UpdateHdl_Impl, Timer *, void );
129  DECL_LINK(FontModifyComboBoxHdl_Impl, weld::ComboBox&, void);
130  DECL_LINK(FontFeatureButtonClicked, weld::Button&, void);
131 
132  void FontModifyHdl_Impl(const weld::Widget&);
133 
134 public:
135  virtual void ActivatePage( const SfxItemSet& rSet ) override;
136  virtual DeactivateRC DeactivatePage( SfxItemSet* pSet ) override;
137 
138 public:
139  SvxCharNamePage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet);
140  static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rSet );
141  virtual ~SvxCharNamePage() override;
142 
143  static const sal_uInt16* GetRanges() { return pNameRanges; }
144 
145  virtual void Reset( const SfxItemSet* rSet ) override;
146  virtual bool FillItemSet( SfxItemSet* rSet ) override;
147  virtual void ChangesApplied() override;
148 
149  void SetFontList( const SvxFontListItem& rItem );
150  void EnableRelativeMode();
151  void EnableSearchMode();
152 
153  void DisableControls( sal_uInt16 nDisable );
154  virtual void PageCreated(const SfxAllItemSet& aSet) override;
155 };
156 
157 // class SvxCharEffectsPage ----------------------------------------------
158 
160 {
161 private:
162  static const sal_uInt16 pEffectsRanges[];
167  sal_uInt16 m_nHtmlMode;
168 
173 
174  std::unique_ptr<weld::Label> m_xFontColorFT;
175  std::unique_ptr<ColorListBox> m_xFontColorLB;
176  std::unique_ptr<weld::Label> m_xFontTransparencyFT;
177  std::unique_ptr<weld::MetricSpinButton> m_xFontTransparencyMtr;
178  std::unique_ptr<weld::Label> m_xEffectsFT;
179  std::unique_ptr<weld::ComboBox> m_xEffectsLB;
180  std::unique_ptr<weld::Label> m_xReliefFT;
181  std::unique_ptr<weld::ComboBox> m_xReliefLB;
182  std::unique_ptr<weld::CheckButton> m_xOutlineBtn;
183  std::unique_ptr<weld::CheckButton> m_xShadowBtn;
184  std::unique_ptr<weld::CheckButton> m_xHiddenBtn;
185  std::unique_ptr<weld::ComboBox> m_xOverlineLB;
186  std::unique_ptr<weld::Label> m_xOverlineColorFT;
187  std::unique_ptr<ColorListBox> m_xOverlineColorLB;
188  std::unique_ptr<weld::ComboBox> m_xStrikeoutLB;
189  std::unique_ptr<weld::ComboBox> m_xUnderlineLB;
190  std::unique_ptr<weld::Label> m_xUnderlineColorFT;
191  std::unique_ptr<ColorListBox> m_xUnderlineColorLB;
192  std::unique_ptr<weld::CheckButton> m_xIndividualWordsBtn;
193  std::unique_ptr<weld::Label> m_xEmphasisFT;
194  std::unique_ptr<weld::ComboBox> m_xEmphasisLB;
195  std::unique_ptr<weld::Label> m_xPositionFT;
196  std::unique_ptr<weld::ComboBox> m_xPositionLB;
197  std::unique_ptr<weld::Label> m_xA11yWarningFT;
198 
199  void Initialize();
200  void UpdatePreview_Impl();
201  void SetCaseMap_Impl( SvxCaseMap eCaseMap );
202  void ResetColor_Impl( const SfxItemSet& rSet );
203  bool FillItemSetColor_Impl( SfxItemSet& rSet );
204  void EnableNoneFontColor();
205 
206  void SelectHdl_Impl(const weld::ComboBox*);
207  DECL_LINK(SelectListBoxHdl_Impl, weld::ComboBox&, void);
208  DECL_LINK(OutlineBtnClickHdl, weld::ToggleButton&, void);
209  DECL_LINK(ShadowBtnClickHdl, weld::ToggleButton&, void);
210  DECL_LINK(HiddenBtnClickHdl, weld::ToggleButton&, void);
211  DECL_LINK(CbClickHdl_Impl, weld::ToggleButton&, void);
212  DECL_LINK(ColorBoxSelectHdl_Impl, ColorListBox&, void);
213  DECL_LINK(ModifyFontTransparencyHdl_Impl, weld::MetricSpinButton&, void);
214 
215 public:
216  SvxCharEffectsPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet);
217  static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rSet );
218  virtual ~SvxCharEffectsPage() override;
219 
220  virtual DeactivateRC DeactivatePage( SfxItemSet* pSet ) override;
221 
222 public:
223  static const sal_uInt16* GetRanges() { return pEffectsRanges; }
224 
225  virtual void Reset( const SfxItemSet* rSet ) override;
226  virtual bool FillItemSet( SfxItemSet* rSet ) override;
227  virtual void ChangesApplied() override;
228 
229  void DisableControls( sal_uInt16 nDisable );
230  virtual void PageCreated(const SfxAllItemSet& aSet) override;
231 };
232 
233 // class SvxCharPositionPage ---------------------------------------------
235 {
236  static const sal_uInt16 pPositionRanges[];
237 
238 private:
239  short m_nSuperEsc;
240  short m_nSubEsc;
241 
244 
247 
248  std::unique_ptr<weld::RadioButton> m_xHighPosBtn;
249  std::unique_ptr<weld::RadioButton> m_xNormalPosBtn;
250  std::unique_ptr<weld::RadioButton> m_xLowPosBtn;
251  std::unique_ptr<weld::Label> m_xHighLowFT;
252  std::unique_ptr<weld::MetricSpinButton> m_xHighLowMF;
253  std::unique_ptr<weld::CheckButton> m_xHighLowRB;
254  std::unique_ptr<weld::Label> m_xFontSizeFT;
255  std::unique_ptr<weld::MetricSpinButton> m_xFontSizeMF;
256 
257  std::unique_ptr<weld::Widget> m_xRotationContainer;
258 
259  std::unique_ptr<weld::Label> m_xScalingFT;
260  std::unique_ptr<weld::Label> m_xScalingAndRotationFT;
261  std::unique_ptr<weld::RadioButton> m_x0degRB;
262  std::unique_ptr<weld::RadioButton> m_x90degRB;
263  std::unique_ptr<weld::RadioButton> m_x270degRB;
264  std::unique_ptr<weld::CheckButton> m_xFitToLineCB;
265 
266  std::unique_ptr<weld::MetricSpinButton> m_xScaleWidthMF;
267 
268  std::unique_ptr<weld::MetricSpinButton> m_xKerningMF;
269  std::unique_ptr<weld::CheckButton> m_xPairKerningBtn;
270 
271  void Initialize();
272  void UpdatePreview_Impl( sal_uInt8 nProp, sal_uInt8 nEscProp, short nEsc );
273  void SetEscapement_Impl( SvxEscapement nEsc );
274 
275  DECL_LINK(PositionHdl_Impl, weld::ToggleButton&, void);
276  DECL_LINK(RotationHdl_Impl, weld::ToggleButton&, void);
277  DECL_LINK(AutoPositionHdl_Impl, weld::ToggleButton&, void);
278  DECL_LINK(FitToLineHdl_Impl, weld::ToggleButton&, void);
279  DECL_LINK(KerningModifyHdl_Impl, weld::MetricSpinButton&, void);
280  DECL_LINK(ValueChangedHdl_Impl, weld::MetricSpinButton&, void);
281  DECL_LINK(ScaleWidthModifyHdl_Impl, weld::MetricSpinButton&, void);
282  void FontModifyHdl_Impl();
283 
284 public:
285  SvxCharPositionPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet);
286  static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rSet );
287  virtual ~SvxCharPositionPage() override;
288 
289  virtual DeactivateRC DeactivatePage( SfxItemSet* pSet ) override;
290 
291 public:
292  static const sal_uInt16* GetRanges() { return pPositionRanges; }
293 
294  virtual void Reset( const SfxItemSet* rSet ) override;
295  virtual bool FillItemSet( SfxItemSet* rSet ) override;
296  virtual void ChangesApplied() override;
297  virtual void FillUserData() override;
298  virtual void PageCreated(const SfxAllItemSet& aSet) override;
299 };
300 
301 // class SvxCharTwoLinesPage ---------------------------------------------
302 
304 {
305 private:
306  static const sal_uInt16 pTwoLinesRanges[];
309 
310  std::unique_ptr<weld::CheckButton> m_xTwoLinesBtn;
311  std::unique_ptr<weld::Widget> m_xEnclosingFrame;
312  std::unique_ptr<weld::TreeView> m_xStartBracketLB;
313  std::unique_ptr<weld::TreeView> m_xEndBracketLB;
314 
315  void UpdatePreview_Impl();
316  void Initialize();
317  void SelectCharacter(weld::TreeView* pBox);
318  void SetBracket(sal_Unicode cBracket, bool bStart);
319 
320  DECL_LINK(TwoLinesHdl_Impl, weld::ToggleButton&, void);
321  DECL_LINK(CharacterMapHdl_Impl, weld::TreeView&, void);
322 
323 public:
324  SvxCharTwoLinesPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet);
325  static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rSet );
326  virtual ~SvxCharTwoLinesPage() override;
327 
328  virtual void ActivatePage( const SfxItemSet& rSet ) override;
329  virtual DeactivateRC DeactivatePage( SfxItemSet* pSet ) override;
330 
331  static const sal_uInt16* GetRanges() { return pTwoLinesRanges; }
332 
333  virtual void Reset( const SfxItemSet* rSet ) override;
334  virtual bool FillItemSet( SfxItemSet* rSet ) override;
335  virtual void PageCreated(const SfxAllItemSet& aSet) override;
336 };
337 
338 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
sal_uInt16 m_nScaleWidthInitialVal
Definition: chardlg.hxx:243
virtual ~SvxCharEffectsPage() override
Definition: chardlg.cxx:1348
std::unique_ptr< weld::CheckButton > m_xFitToLineCB
Definition: chardlg.hxx:264
std::unique_ptr< weld::Label > m_xWestFontLanguageFT
Definition: chardlg.hxx:75
std::unique_ptr< FontSizeBox > m_xEastFontSizeLB
Definition: chardlg.hxx:86
std::unique_ptr< FontStyleBox > m_xCTLFontStyleLB
Definition: chardlg.hxx:96
std::unique_ptr< weld::RadioButton > m_xHighPosBtn
Definition: chardlg.hxx:248
std::unique_ptr< SvxCharNamePage_Impl > m_pImpl
Definition: chardlg.hxx:66
void SetBracket(sal_Unicode cBracket, bool bStart)
Definition: chardlg.cxx:3074
std::unique_ptr< weld::RadioButton > m_xNormalPosBtn
Definition: chardlg.hxx:249
std::unique_ptr< weld::ComboBox > m_xStrikeoutLB
Definition: chardlg.hxx:188
std::unique_ptr< weld::CheckButton > m_xHiddenBtn
Definition: chardlg.hxx:184
static const sal_uInt16 * GetRanges()
Definition: chardlg.hxx:292
void FillSizeBox_Impl(const weld::Widget &rBox)
Definition: chardlg.cxx:552
DECL_LINK(UpdateHdl_Impl, Timer *, void)
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: chardlg.cxx:1183
std::unique_ptr< weld::Button > m_xWestFontFeaturesButton
Definition: chardlg.hxx:78
virtual void FillUserData() override
Definition: chardlg.cxx:2987
std::unique_ptr< weld::ComboBox > m_xWestFontNameLB
Definition: chardlg.hxx:70
const SfxItemSet * pSet
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: chardlg.cxx:1657
std::unique_ptr< weld::MetricSpinButton > m_xFontSizeMF
Definition: chardlg.hxx:255
SvxCaseMap
bool FillItemSetColor_Impl(SfxItemSet &rSet)
Definition: chardlg.cxx:1567
SvxCharPositionPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: chardlg.cxx:2400
const FontList * GetFontList() const
Definition: chardlg.cxx:376
static const sal_uInt16 * GetRanges()
Definition: chardlg.hxx:143
std::unique_ptr< weld::Widget > m_xEnclosingFrame
Definition: chardlg.hxx:311
std::unique_ptr< weld::Label > m_xWestFontStyleFT
Definition: chardlg.hxx:71
SvxFont & GetPreviewFont()
Definition: chardlg.cxx:144
std::unique_ptr< weld::Widget > m_xRotationContainer
Definition: chardlg.hxx:257
SvxFontPrevWindow m_aPreviewWin
Definition: chardlg.hxx:37
std::unique_ptr< weld::Label > m_xEmphasisFT
Definition: chardlg.hxx:193
Language for asian text.
Definition: chardlg.hxx:118
virtual void Reset(const SfxItemSet *rSet) override
Definition: chardlg.cxx:3151
std::unique_ptr< weld::Label > m_xFontColorFT
Definition: chardlg.hxx:174
std::unique_ptr< weld::ComboBox > m_xEffectsLB
Definition: chardlg.hxx:179
std::unique_ptr< weld::Label > m_xCTLFontStyleFT
Definition: chardlg.hxx:95
std::unique_ptr< weld::Label > m_xEastFontNameFT
Definition: chardlg.hxx:81
sal_uInt16 m_nHtmlMode
Definition: chardlg.hxx:167
virtual void ChangesApplied() override
Definition: chardlg.cxx:1205
std::unique_ptr< weld::Label > m_xWestFontNameFT
Definition: chardlg.hxx:69
std::unique_ptr< weld::Label > m_xWestFontSizeFT
Definition: chardlg.hxx:73
Language for western text.
Definition: chardlg.hxx:114
std::unique_ptr< weld::ComboBox > m_xReliefLB
Definition: chardlg.hxx:181
virtual void Reset(const SfxItemSet *rSet) override
Definition: chardlg.cxx:1195
DECL_LINK(PositionHdl_Impl, weld::ToggleButton &, void)
void Initialize()
Definition: chardlg.cxx:348
virtual void ActivatePage(const SfxItemSet &rSet) override
Definition: chardlg.cxx:169
void SetCaseMap_Impl(SvxCaseMap eCaseMap)
Definition: chardlg.cxx:1489
virtual void ChangesApplied() override
Definition: chardlg.cxx:2853
bool m_bPreviewBackgroundToCharacter
Definition: chardlg.hxx:40
weld::TriStateEnabled m_aShadowState
Definition: chardlg.hxx:170
std::unique_ptr< weld::CheckButton > m_xShadowBtn
Definition: chardlg.hxx:183
std::unique_ptr< weld::Label > m_xCTLFontTypeFT
Definition: chardlg.hxx:101
void FontModifyHdl_Impl(const weld::Widget &)
Definition: chardlg.cxx:1165
void FillStyleBox_Impl(const weld::Widget &rBox)
Definition: chardlg.cxx:506
std::unique_ptr< FontStyleBox > m_xEastFontStyleLB
Definition: chardlg.hxx:84
void SelectHdl_Impl(const weld::ComboBox *)
Definition: chardlg.cxx:1605
std::unique_ptr< weld::CheckButton > m_xIndividualWordsBtn
Definition: chardlg.hxx:192
SvxFont & GetPreviewCTLFont()
Definition: chardlg.cxx:154
sal_uInt16 sal_Unicode
virtual ~SvxCharPositionPage() override
Definition: chardlg.cxx:2434
std::unique_ptr< weld::CheckButton > m_xOutlineBtn
Definition: chardlg.hxx:182
std::unique_ptr< weld::Label > m_xOverlineColorFT
Definition: chardlg.hxx:186
std::unique_ptr< weld::RadioButton > m_x0degRB
Definition: chardlg.hxx:261
std::unique_ptr< SvxLanguageBox > m_xEastFontLanguageLB
Definition: chardlg.hxx:88
std::unique_ptr< SvxLanguageBox > m_xWestFontLanguageLB
Definition: chardlg.hxx:76
std::unique_ptr< weld::ComboBox > m_xPositionLB
Definition: chardlg.hxx:196
std::unique_ptr< weld::Label > m_xWestFontTypeFT
Definition: chardlg.hxx:77
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: chardlg.cxx:3215
virtual ~SvxCharNamePage() override
Definition: chardlg.cxx:333
Color m_aOrigFontColor
Definition: chardlg.hxx:166
std::unique_ptr< weld::CheckButton > m_xHighLowRB
Definition: chardlg.hxx:253
bool FillItemSet_Impl(SfxItemSet &rSet, LanguageGroup eLangGrp)
Definition: chardlg.cxx:835
std::unique_ptr< weld::Label > m_xEastFontLanguageFT
Definition: chardlg.hxx:87
void SetEscapement_Impl(SvxEscapement nEsc)
Definition: chardlg.cxx:2477
sal_uInt8 m_nSuperProp
Definition: chardlg.hxx:245
void DisableControls(sal_uInt16 nDisable)
Definition: chardlg.cxx:1266
std::unique_ptr< weld::CustomWeld > m_xPreviewWin
Definition: chardlg.hxx:38
virtual ~SvxCharBasePage() override
Definition: chardlg.cxx:165
void FontModifyHdl_Impl()
Definition: chardlg.cxx:2546
std::unique_ptr< weld::CheckButton > m_xTwoLinesBtn
Definition: chardlg.hxx:310
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: chardlg.cxx:2067
SvxFont & GetPreviewCJKFont()
Definition: chardlg.cxx:149
DECL_LINK(SelectListBoxHdl_Impl, weld::ComboBox &, void)
virtual void Reset(const SfxItemSet *rSet) override
Definition: chardlg.cxx:1669
std::unique_ptr< weld::Label > m_xHighLowFT
Definition: chardlg.hxx:251
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
Definition: chardlg.cxx:1190
std::unique_ptr< weld::Label > m_xUnderlineColorFT
Definition: chardlg.hxx:190
weld::TriStateEnabled m_aIndividualWordsState
Definition: chardlg.hxx:172
std::unique_ptr< weld::Label > m_xCTLFontLanguageFT
Definition: chardlg.hxx:99
std::unique_ptr< weld::Label > m_xEastFontStyleFT
Definition: chardlg.hxx:83
void EnableSearchMode()
Definition: chardlg.cxx:1261
std::unique_ptr< weld::Label > m_xEffectsFT
Definition: chardlg.hxx:178
std::unique_ptr< FontStyleBox > m_xWestFontStyleLB
Definition: chardlg.hxx:72
static const sal_uInt16 * GetRanges()
Definition: chardlg.hxx:223
static const sal_uInt16 pEffectsRanges[]
Definition: chardlg.hxx:162
virtual void ActivatePage(const SfxItemSet &rSet) override
Definition: chardlg.cxx:3134
sal_uInt16 m_nEndBracketPosition
Definition: chardlg.hxx:308
SvxCharTwoLinesPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: chardlg.cxx:3012
void SetPrevFontEscapement(sal_uInt8 nProp, sal_uInt8 nEscProp, short nEsc)
Definition: chardlg.cxx:184
std::unique_ptr< weld::CheckButton > m_xPairKerningBtn
Definition: chardlg.hxx:269
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: chardlg.cxx:1221
std::unique_ptr< SvxLanguageBox > m_xCTLFontLanguageLB
Definition: chardlg.hxx:100
sal_uInt16 m_nStartBracketPosition
Definition: chardlg.hxx:307
std::unique_ptr< weld::Label > m_xEastFontSizeFT
Definition: chardlg.hxx:85
std::unique_ptr< ColorListBox > m_xFontColorLB
Definition: chardlg.hxx:175
static const sal_uInt16 pNameRanges[]
Definition: chardlg.hxx:64
std::unique_ptr< weld::Widget > m_xEastFrame
Definition: chardlg.hxx:80
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: chardlg.cxx:2376
void EnableNoneFontColor()
Definition: chardlg.cxx:1342
SvxCharBasePage(weld::Container *pPage, weld::DialogController *pController, const OUString &rUIXMLDescription, const OString &rID, const SfxItemSet &rAttrSet)
Definition: chardlg.cxx:159
std::unique_ptr< weld::ComboBox > m_xEastFontNameLB
Definition: chardlg.hxx:82
virtual void ActivatePage(const SfxItemSet &rSet) override
Definition: chardlg.cxx:1176
std::unique_ptr< weld::ComboBox > m_xUnderlineLB
Definition: chardlg.hxx:189
virtual void Reset(const SfxItemSet *rSet) override
Definition: chardlg.cxx:2633
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: chardlg.cxx:2999
void EnableRelativeMode()
Definition: chardlg.cxx:1253
static const sal_uInt16 pPositionRanges[]
Definition: chardlg.hxx:236
std::unique_ptr< weld::Widget > m_xWestFrame
Definition: chardlg.hxx:68
sal_uInt8 m_nSubProp
Definition: chardlg.hxx:246
std::unique_ptr< weld::RadioButton > m_x90degRB
Definition: chardlg.hxx:262
std::unique_ptr< weld::Label > m_xReliefFT
Definition: chardlg.hxx:180
void ResetColor_Impl(const SfxItemSet &rSet)
Definition: chardlg.cxx:1503
bool m_bEnableNoneFontColor
Definition: chardlg.hxx:165
std::unique_ptr< weld::Label > m_xEastFontTypeFT
Definition: chardlg.hxx:89
DECL_LINK(TwoLinesHdl_Impl, weld::ToggleButton &, void)
std::unique_ptr< FontSizeBox > m_xWestFontSizeLB
Definition: chardlg.hxx:74
std::unique_ptr< weld::Widget > m_xCTLFrame
Definition: chardlg.hxx:92
virtual void ChangesApplied() override
Definition: chardlg.cxx:2051
std::unique_ptr< weld::RadioButton > m_x270degRB
Definition: chardlg.hxx:263
unsigned char sal_uInt8
void UpdatePreview_Impl(sal_uInt8 nProp, sal_uInt8 nEscProp, short nEsc)
Definition: chardlg.cxx:2471
std::unique_ptr< weld::TreeView > m_xEndBracketLB
Definition: chardlg.hxx:313
void SetPrevFontWidthScale(const SfxItemSet &rSet)
Definition: chardlg.cxx:174
void UpdatePreview_Impl()
Definition: chardlg.cxx:474
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: chardlg.cxx:3139
std::unique_ptr< weld::MetricSpinButton > m_xHighLowMF
Definition: chardlg.hxx:252
virtual ~SvxCharTwoLinesPage() override
Definition: chardlg.cxx:3033
void DisableControls(sal_uInt16 nDisable)
Definition: chardlg.cxx:2367
static const sal_uInt16 * GetRanges()
Definition: chardlg.hxx:331
void UpdatePreview_Impl()
Definition: chardlg.cxx:3204
Language for ctl text.
Definition: chardlg.hxx:122
std::unique_ptr< weld::Label > m_xCTLFontNameFT
Definition: chardlg.hxx:93
std::unique_ptr< weld::MetricSpinButton > m_xKerningMF
Definition: chardlg.hxx:268
weld::TriStateEnabled m_aOutlineState
Definition: chardlg.hxx:169
std::unique_ptr< weld::Label > m_xCTLFontSizeFT
Definition: chardlg.hxx:97
DeactivateRC
void SelectCharacter(weld::TreeView *pBox)
Definition: chardlg.cxx:3056
SvxEscapement
std::unique_ptr< weld::TreeView > m_xStartBracketLB
Definition: chardlg.hxx:312
void Reset_Impl(const SfxItemSet &rSet, LanguageGroup eLangGrp)
Definition: chardlg.cxx:606
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: chardlg.cxx:2868
std::unique_ptr< FontSizeBox > m_xCTLFontSizeLB
Definition: chardlg.hxx:98
std::unique_ptr< weld::Button > m_xEastFontFeaturesButton
Definition: chardlg.hxx:90
std::unique_ptr< ColorListBox > m_xUnderlineColorLB
Definition: chardlg.hxx:191
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
Definition: chardlg.cxx:1664
void SetFontList(const SvxFontListItem &rItem)
Definition: chardlg.cxx:1229
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: chardlg.cxx:2621
sal_uInt16 m_nScaleWidthItemSetVal
Definition: chardlg.hxx:242
static const sal_uInt16 pTwoLinesRanges[]
Definition: chardlg.hxx:306
std::unique_ptr< weld::MetricSpinButton > m_xFontTransparencyMtr
Definition: chardlg.hxx:177
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: chardlg.cxx:3173
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
Definition: chardlg.cxx:2628
std::unique_ptr< weld::Label > m_xScalingFT
Definition: chardlg.hxx:259
std::unique_ptr< weld::ComboBox > m_xOverlineLB
Definition: chardlg.hxx:185
std::unique_ptr< weld::Label > m_xScalingAndRotationFT
Definition: chardlg.hxx:260
std::unique_ptr< weld::MetricSpinButton > m_xScaleWidthMF
Definition: chardlg.hxx:266
std::unique_ptr< weld::Label > m_xFontSizeFT
Definition: chardlg.hxx:254
std::unique_ptr< weld::RadioButton > m_xLowPosBtn
Definition: chardlg.hxx:250
std::unique_ptr< ColorListBox > m_xOverlineColorLB
Definition: chardlg.hxx:187
std::unique_ptr< weld::Button > m_xCTLFontFeaturesButton
Definition: chardlg.hxx:102
std::unique_ptr< weld::ComboBox > m_xEmphasisLB
Definition: chardlg.hxx:194
SvxCharEffectsPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: chardlg.cxx:1301
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: chardlg.cxx:1279
weld::TriStateEnabled m_aHiddenState
Definition: chardlg.hxx:171
std::unique_ptr< weld::Label > m_xA11yWarningFT
Definition: chardlg.hxx:197
void UpdatePreview_Impl()
Definition: chardlg.cxx:1417
std::unique_ptr< weld::Label > m_xFontTransparencyFT
Definition: chardlg.hxx:176
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
Definition: chardlg.cxx:3146
std::unique_ptr< weld::Label > m_xPositionFT
Definition: chardlg.hxx:195
std::unique_ptr< weld::ComboBox > m_xCTLFontNameLB
Definition: chardlg.hxx:94
SvxCharNamePage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: chardlg.cxx:214