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:
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  std::unique_ptr<weld::Notebook> m_xLangNotebook;
80 
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::Label> m_xCTLFontNameFT;
93  std::unique_ptr<weld::ComboBox> m_xCTLFontNameLB;
94  std::unique_ptr<weld::Label> m_xCTLFontStyleFT;
95  std::unique_ptr<FontStyleBox> m_xCTLFontStyleLB;
96  std::unique_ptr<weld::Label> m_xCTLFontSizeFT;
97  std::unique_ptr<FontSizeBox> m_xCTLFontSizeLB;
98  std::unique_ptr<weld::Label> m_xCTLFontLanguageFT;
99  std::unique_ptr<SvxLanguageBox> m_xCTLFontLanguageLB;
100  std::unique_ptr<weld::Label> m_xCTLFontTypeFT;
101  std::unique_ptr<weld::Button> m_xCTLFontFeaturesButton;
102 
103  //for getting FontFeatures
105 
106  void Initialize();
107  const FontList* GetFontList() const;
108  void UpdatePreview_Impl();
109  void FillStyleBox_Impl(const weld::Widget& rBox);
110  void FillSizeBox_Impl(const weld::Widget& rBox);
111  void EnableFeatureButton(const weld::Widget& rNameBox);
112 
114  {
117  Western = 0,
118 
122 
126  };
127 
128  void Reset_Impl( const SfxItemSet& rSet, LanguageGroup eLangGrp );
129  bool FillItemSet_Impl( SfxItemSet& rSet, LanguageGroup eLangGrp );
130 
131  DECL_LINK(UpdateHdl_Impl, Timer *, void );
132  DECL_LINK(FontModifyComboBoxHdl_Impl, weld::ComboBox&, void);
133  DECL_LINK(FontFeatureButtonClicked, weld::Button&, void);
134 
135  void FontModifyHdl_Impl(const weld::Widget&);
136 
137 public:
138  virtual void ActivatePage( const SfxItemSet& rSet ) override;
139  virtual DeactivateRC DeactivatePage( SfxItemSet* pSet ) override;
140 
141 public:
142  SvxCharNamePage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet);
143  static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rSet );
144  virtual ~SvxCharNamePage() override;
145 
147 
148  virtual void Reset( const SfxItemSet* rSet ) override;
149  virtual bool FillItemSet( SfxItemSet* rSet ) override;
150  virtual void ChangesApplied() override;
151 
152  void SetFontList( const SvxFontListItem& rItem );
153  void EnableRelativeMode();
154  void EnableSearchMode();
155 
156  void DisableControls( sal_uInt16 nDisable );
157  virtual void PageCreated(const SfxAllItemSet& aSet) override;
158 };
159 
160 // class SvxCharEffectsPage ----------------------------------------------
161 
163 {
164 private:
170  sal_uInt16 m_nHtmlMode;
171 
176 
177  std::unique_ptr<weld::Label> m_xFontColorFT;
178  std::unique_ptr<ColorListBox> m_xFontColorLB;
179  std::unique_ptr<weld::Label> m_xFontTransparencyFT;
180  std::unique_ptr<weld::MetricSpinButton> m_xFontTransparencyMtr;
181  std::unique_ptr<weld::Label> m_xEffectsFT;
182  std::unique_ptr<weld::ComboBox> m_xEffectsLB;
183  std::unique_ptr<weld::Label> m_xReliefFT;
184  std::unique_ptr<weld::ComboBox> m_xReliefLB;
185  std::unique_ptr<weld::CheckButton> m_xOutlineBtn;
186  std::unique_ptr<weld::CheckButton> m_xShadowBtn;
187  std::unique_ptr<weld::CheckButton> m_xHiddenBtn;
188  std::unique_ptr<weld::ComboBox> m_xOverlineLB;
189  std::unique_ptr<weld::Label> m_xOverlineColorFT;
190  std::unique_ptr<ColorListBox> m_xOverlineColorLB;
191  std::unique_ptr<weld::ComboBox> m_xStrikeoutLB;
192  std::unique_ptr<weld::ComboBox> m_xUnderlineLB;
193  std::unique_ptr<weld::Label> m_xUnderlineColorFT;
194  std::unique_ptr<ColorListBox> m_xUnderlineColorLB;
195  std::unique_ptr<weld::CheckButton> m_xIndividualWordsBtn;
196  std::unique_ptr<weld::Label> m_xEmphasisFT;
197  std::unique_ptr<weld::ComboBox> m_xEmphasisLB;
198  std::unique_ptr<weld::Label> m_xPositionFT;
199  std::unique_ptr<weld::ComboBox> m_xPositionLB;
200  std::unique_ptr<weld::Label> m_xA11yWarningFT;
201 
202  void Initialize();
203  void UpdatePreview_Impl();
204  void SetCaseMap_Impl( SvxCaseMap eCaseMap );
205  void ResetColor_Impl( const SfxItemSet& rSet );
206  bool FillItemSetColor_Impl( SfxItemSet& rSet );
207  void EnableNoneFontColor();
208 
209  void SelectHdl_Impl(const weld::ComboBox*);
210  DECL_LINK(SelectListBoxHdl_Impl, weld::ComboBox&, void);
211  DECL_LINK(OutlineBtnClickHdl, weld::Toggleable&, void);
212  DECL_LINK(ShadowBtnClickHdl, weld::Toggleable&, void);
213  DECL_LINK(HiddenBtnClickHdl, weld::Toggleable&, void);
214  DECL_LINK(CbClickHdl_Impl, weld::Toggleable&, void);
215  DECL_LINK(ColorBoxSelectHdl_Impl, ColorListBox&, void);
216  DECL_LINK(ModifyFontTransparencyHdl_Impl, weld::MetricSpinButton&, void);
217 
218 public:
219  SvxCharEffectsPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet);
220  static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rSet );
221  virtual ~SvxCharEffectsPage() override;
222 
223  virtual DeactivateRC DeactivatePage( SfxItemSet* pSet ) override;
224 
225 public:
227 
228  virtual void Reset( const SfxItemSet* rSet ) override;
229  virtual bool FillItemSet( SfxItemSet* rSet ) override;
230  virtual void ChangesApplied() override;
231 
232  void DisableControls( sal_uInt16 nDisable );
233  virtual void PageCreated(const SfxAllItemSet& aSet) override;
234 };
235 
236 // class SvxCharPositionPage ---------------------------------------------
238 {
240 
241 private:
242  short m_nSuperEsc;
243  short m_nSubEsc;
244 
247 
250 
251  std::unique_ptr<weld::RadioButton> m_xHighPosBtn;
252  std::unique_ptr<weld::RadioButton> m_xNormalPosBtn;
253  std::unique_ptr<weld::RadioButton> m_xLowPosBtn;
254  std::unique_ptr<weld::Label> m_xHighLowFT;
255  std::unique_ptr<weld::MetricSpinButton> m_xHighLowMF;
256  std::unique_ptr<weld::CheckButton> m_xHighLowRB;
257  std::unique_ptr<weld::Label> m_xFontSizeFT;
258  std::unique_ptr<weld::MetricSpinButton> m_xFontSizeMF;
259 
260  std::unique_ptr<weld::Widget> m_xRotationContainer;
261 
262  std::unique_ptr<weld::Label> m_xScalingFT;
263  std::unique_ptr<weld::Label> m_xScalingAndRotationFT;
264  std::unique_ptr<weld::RadioButton> m_x0degRB;
265  std::unique_ptr<weld::RadioButton> m_x90degRB;
266  std::unique_ptr<weld::RadioButton> m_x270degRB;
267  std::unique_ptr<weld::CheckButton> m_xFitToLineCB;
268 
269  std::unique_ptr<weld::MetricSpinButton> m_xScaleWidthMF;
270 
271  std::unique_ptr<weld::MetricSpinButton> m_xKerningMF;
272  std::unique_ptr<weld::CheckButton> m_xPairKerningBtn;
273 
274  void Initialize();
275  void UpdatePreview_Impl( sal_uInt8 nProp, sal_uInt8 nEscProp, short nEsc );
276  void SetEscapement_Impl( SvxEscapement nEsc );
277 
278  DECL_LINK(PositionHdl_Impl, weld::Toggleable&, void);
279  DECL_LINK(RotationHdl_Impl, weld::Toggleable&, void);
280  DECL_LINK(AutoPositionHdl_Impl, weld::Toggleable&, void);
281  DECL_LINK(FitToLineHdl_Impl, weld::Toggleable&, void);
282  DECL_LINK(KerningModifyHdl_Impl, weld::MetricSpinButton&, void);
283  DECL_LINK(ValueChangedHdl_Impl, weld::MetricSpinButton&, void);
284  DECL_LINK(ScaleWidthModifyHdl_Impl, weld::MetricSpinButton&, void);
285  void FontModifyHdl_Impl();
286 
287 public:
288  SvxCharPositionPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet);
289  static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rSet );
290  virtual ~SvxCharPositionPage() override;
291 
292  virtual DeactivateRC DeactivatePage( SfxItemSet* pSet ) override;
293 
294 public:
296 
297  virtual void Reset( const SfxItemSet* rSet ) override;
298  virtual bool FillItemSet( SfxItemSet* rSet ) override;
299  virtual void ChangesApplied() override;
300  virtual void FillUserData() override;
301  virtual void PageCreated(const SfxAllItemSet& aSet) override;
302 };
303 
304 // class SvxCharTwoLinesPage ---------------------------------------------
305 
307 {
308 private:
312 
313  std::unique_ptr<weld::CheckButton> m_xTwoLinesBtn;
314  std::unique_ptr<weld::Widget> m_xEnclosingFrame;
315  std::unique_ptr<weld::TreeView> m_xStartBracketLB;
316  std::unique_ptr<weld::TreeView> m_xEndBracketLB;
317 
318  void UpdatePreview_Impl();
319  void Initialize();
320  void SelectCharacter(weld::TreeView* pBox);
321  void SetBracket(sal_Unicode cBracket, bool bStart);
322 
323  DECL_LINK(TwoLinesHdl_Impl, weld::Toggleable&, void);
324  DECL_LINK(CharacterMapHdl_Impl, weld::TreeView&, void);
325 
326 public:
327  SvxCharTwoLinesPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet);
328  static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rSet );
329  virtual ~SvxCharTwoLinesPage() override;
330 
331  virtual void ActivatePage( const SfxItemSet& rSet ) override;
332  virtual DeactivateRC DeactivatePage( SfxItemSet* pSet ) override;
333 
335 
336  virtual void Reset( const SfxItemSet* rSet ) override;
337  virtual bool FillItemSet( SfxItemSet* rSet ) override;
338  virtual void PageCreated(const SfxAllItemSet& aSet) override;
339 };
340 
341 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
sal_uInt16 m_nScaleWidthInitialVal
Definition: chardlg.hxx:246
virtual ~SvxCharEffectsPage() override
Definition: chardlg.cxx:1353
std::unique_ptr< weld::CheckButton > m_xFitToLineCB
Definition: chardlg.hxx:267
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:95
std::unique_ptr< weld::RadioButton > m_xHighPosBtn
Definition: chardlg.hxx:251
std::unique_ptr< SvxCharNamePage_Impl > m_pImpl
Definition: chardlg.hxx:66
void SetBracket(sal_Unicode cBracket, bool bStart)
Definition: chardlg.cxx:3085
std::unique_ptr< weld::RadioButton > m_xNormalPosBtn
Definition: chardlg.hxx:252
std::unique_ptr< weld::ComboBox > m_xStrikeoutLB
Definition: chardlg.hxx:191
static WhichRangesContainer GetRanges()
Definition: chardlg.hxx:146
static WhichRangesContainer GetRanges()
Definition: chardlg.hxx:334
std::unique_ptr< weld::CheckButton > m_xHiddenBtn
Definition: chardlg.hxx:187
void FillSizeBox_Impl(const weld::Widget &rBox)
Definition: chardlg.cxx:561
DECL_LINK(UpdateHdl_Impl, Timer *, void)
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: chardlg.cxx:1185
std::unique_ptr< weld::Button > m_xWestFontFeaturesButton
Definition: chardlg.hxx:78
virtual void FillUserData() override
Definition: chardlg.cxx:2998
std::unique_ptr< weld::ComboBox > m_xWestFontNameLB
Definition: chardlg.hxx:70
const SfxItemSet * pSet
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: chardlg.cxx:1673
std::unique_ptr< weld::MetricSpinButton > m_xFontSizeMF
Definition: chardlg.hxx:258
SvxCaseMap
bool FillItemSetColor_Impl(SfxItemSet &rSet)
Definition: chardlg.cxx:1571
SvxCharPositionPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: chardlg.cxx:2410
const FontList * GetFontList() const
Definition: chardlg.cxx:353
std::unique_ptr< weld::Widget > m_xEnclosingFrame
Definition: chardlg.hxx:314
std::unique_ptr< weld::Label > m_xWestFontStyleFT
Definition: chardlg.hxx:71
void EnableFeatureButton(const weld::Widget &rNameBox)
Definition: chardlg.cxx:485
SvxFont & GetPreviewFont()
Definition: chardlg.cxx:119
DECL_LINK(TwoLinesHdl_Impl, weld::Toggleable &, void)
std::unique_ptr< weld::Widget > m_xRotationContainer
Definition: chardlg.hxx:260
SvxFontPrevWindow m_aPreviewWin
Definition: chardlg.hxx:37
std::unique_ptr< weld::Label > m_xEmphasisFT
Definition: chardlg.hxx:196
Language for asian text.
Definition: chardlg.hxx:121
virtual void Reset(const SfxItemSet *rSet) override
Definition: chardlg.cxx:3162
std::unique_ptr< weld::Label > m_xFontColorFT
Definition: chardlg.hxx:177
std::unique_ptr< weld::ComboBox > m_xEffectsLB
Definition: chardlg.hxx:182
std::unique_ptr< weld::Label > m_xCTLFontStyleFT
Definition: chardlg.hxx:94
std::unique_ptr< weld::Label > m_xEastFontNameFT
Definition: chardlg.hxx:81
sal_uInt16 m_nHtmlMode
Definition: chardlg.hxx:170
virtual void ChangesApplied() override
Definition: chardlg.cxx:1207
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:117
std::unique_ptr< weld::ComboBox > m_xReliefLB
Definition: chardlg.hxx:184
virtual void Reset(const SfxItemSet *rSet) override
Definition: chardlg.cxx:1197
void Initialize()
Definition: chardlg.cxx:325
virtual void ActivatePage(const SfxItemSet &rSet) override
Definition: chardlg.cxx:144
void SetCaseMap_Impl(SvxCaseMap eCaseMap)
Definition: chardlg.cxx:1494
virtual void ChangesApplied() override
Definition: chardlg.cxx:2864
bool m_bPreviewBackgroundToCharacter
Definition: chardlg.hxx:40
weld::TriStateEnabled m_aShadowState
Definition: chardlg.hxx:173
std::unique_ptr< weld::CheckButton > m_xShadowBtn
Definition: chardlg.hxx:186
std::unique_ptr< weld::Label > m_xCTLFontTypeFT
Definition: chardlg.hxx:100
void FontModifyHdl_Impl(const weld::Widget &)
Definition: chardlg.cxx:1166
void FillStyleBox_Impl(const weld::Widget &rBox)
Definition: chardlg.cxx:515
std::unique_ptr< FontStyleBox > m_xEastFontStyleLB
Definition: chardlg.hxx:84
void SelectHdl_Impl(const weld::ComboBox *)
Definition: chardlg.cxx:1621
DECL_LINK(PositionHdl_Impl, weld::Toggleable &, void)
std::unique_ptr< weld::CheckButton > m_xIndividualWordsBtn
Definition: chardlg.hxx:195
SvxFont & GetPreviewCTLFont()
Definition: chardlg.cxx:129
sal_uInt16 sal_Unicode
virtual ~SvxCharPositionPage() override
Definition: chardlg.cxx:2444
std::unique_ptr< weld::CheckButton > m_xOutlineBtn
Definition: chardlg.hxx:185
std::unique_ptr< weld::Label > m_xOverlineColorFT
Definition: chardlg.hxx:189
std::unique_ptr< weld::RadioButton > m_x0degRB
Definition: chardlg.hxx:264
std::unique_ptr< SvxLanguageBox > m_xEastFontLanguageLB
Definition: chardlg.hxx:88
ScopedVclPtrInstance< VirtualDevice > m_xVDev
Definition: chardlg.hxx:104
std::unique_ptr< SvxLanguageBox > m_xWestFontLanguageLB
Definition: chardlg.hxx:76
std::unique_ptr< weld::ComboBox > m_xPositionLB
Definition: chardlg.hxx:199
std::unique_ptr< weld::Label > m_xWestFontTypeFT
Definition: chardlg.hxx:77
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: chardlg.cxx:3226
virtual ~SvxCharNamePage() override
Definition: chardlg.cxx:310
Color m_aOrigFontColor
Definition: chardlg.hxx:169
std::unique_ptr< weld::CheckButton > m_xHighLowRB
Definition: chardlg.hxx:256
bool FillItemSet_Impl(SfxItemSet &rSet, LanguageGroup eLangGrp)
Definition: chardlg.cxx:836
std::unique_ptr< weld::Label > m_xEastFontLanguageFT
Definition: chardlg.hxx:87
void SetEscapement_Impl(SvxEscapement nEsc)
Definition: chardlg.cxx:2487
sal_uInt8 m_nSuperProp
Definition: chardlg.hxx:248
void DisableControls(sal_uInt16 nDisable)
Definition: chardlg.cxx:1268
std::unique_ptr< weld::CustomWeld > m_xPreviewWin
Definition: chardlg.hxx:38
virtual ~SvxCharBasePage() override
Definition: chardlg.cxx:140
void FontModifyHdl_Impl()
Definition: chardlg.cxx:2556
std::unique_ptr< weld::CheckButton > m_xTwoLinesBtn
Definition: chardlg.hxx:313
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: chardlg.cxx:2077
SvxFont & GetPreviewCJKFont()
Definition: chardlg.cxx:124
DECL_LINK(SelectListBoxHdl_Impl, weld::ComboBox &, void)
virtual void Reset(const SfxItemSet *rSet) override
Definition: chardlg.cxx:1685
std::unique_ptr< weld::Label > m_xHighLowFT
Definition: chardlg.hxx:254
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
Definition: chardlg.cxx:1192
std::unique_ptr< weld::Label > m_xUnderlineColorFT
Definition: chardlg.hxx:193
weld::TriStateEnabled m_aIndividualWordsState
Definition: chardlg.hxx:175
std::unique_ptr< weld::Label > m_xCTLFontLanguageFT
Definition: chardlg.hxx:98
static const WhichRangesContainer pPositionRanges
Definition: chardlg.hxx:239
std::unique_ptr< weld::Label > m_xEastFontStyleFT
Definition: chardlg.hxx:83
void EnableSearchMode()
Definition: chardlg.cxx:1263
std::unique_ptr< weld::Label > m_xEffectsFT
Definition: chardlg.hxx:181
std::unique_ptr< FontStyleBox > m_xWestFontStyleLB
Definition: chardlg.hxx:72
static WhichRangesContainer GetRanges()
Definition: chardlg.hxx:295
virtual void ActivatePage(const SfxItemSet &rSet) override
Definition: chardlg.cxx:3145
sal_uInt16 m_nEndBracketPosition
Definition: chardlg.hxx:311
SvxCharTwoLinesPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: chardlg.cxx:3023
void SetPrevFontEscapement(sal_uInt8 nProp, sal_uInt8 nEscProp, short nEsc)
Definition: chardlg.cxx:159
static const WhichRangesContainer pEffectsRanges
Definition: chardlg.hxx:165
std::unique_ptr< weld::CheckButton > m_xPairKerningBtn
Definition: chardlg.hxx:272
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: chardlg.cxx:1223
std::unique_ptr< SvxLanguageBox > m_xCTLFontLanguageLB
Definition: chardlg.hxx:99
sal_uInt16 m_nStartBracketPosition
Definition: chardlg.hxx:310
std::unique_ptr< weld::Label > m_xEastFontSizeFT
Definition: chardlg.hxx:85
std::unique_ptr< ColorListBox > m_xFontColorLB
Definition: chardlg.hxx:178
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: chardlg.cxx:2386
void EnableNoneFontColor()
Definition: chardlg.cxx:1347
std::unique_ptr< weld::Notebook > m_xLangNotebook
Definition: chardlg.hxx:79
SvxCharBasePage(weld::Container *pPage, weld::DialogController *pController, const OUString &rUIXMLDescription, const OString &rID, const SfxItemSet &rAttrSet)
Definition: chardlg.cxx:134
std::unique_ptr< weld::ComboBox > m_xEastFontNameLB
Definition: chardlg.hxx:82
virtual void ActivatePage(const SfxItemSet &rSet) override
Definition: chardlg.cxx:1178
static WhichRangesContainer GetRanges()
Definition: chardlg.hxx:226
std::unique_ptr< weld::ComboBox > m_xUnderlineLB
Definition: chardlg.hxx:192
virtual void Reset(const SfxItemSet *rSet) override
Definition: chardlg.cxx:2644
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: chardlg.cxx:3010
void EnableRelativeMode()
Definition: chardlg.cxx:1255
static const WhichRangesContainer pNameRanges
Definition: chardlg.hxx:64
std::unique_ptr< weld::Widget > m_xWestFrame
Definition: chardlg.hxx:68
sal_uInt8 m_nSubProp
Definition: chardlg.hxx:249
std::unique_ptr< weld::RadioButton > m_x90degRB
Definition: chardlg.hxx:265
std::unique_ptr< weld::Label > m_xReliefFT
Definition: chardlg.hxx:183
void ResetColor_Impl(const SfxItemSet &rSet)
Definition: chardlg.cxx:1508
bool m_bEnableNoneFontColor
Definition: chardlg.hxx:168
std::unique_ptr< weld::Label > m_xEastFontTypeFT
Definition: chardlg.hxx:89
std::unique_ptr< FontSizeBox > m_xWestFontSizeLB
Definition: chardlg.hxx:74
virtual void ChangesApplied() override
Definition: chardlg.cxx:2061
std::unique_ptr< weld::RadioButton > m_x270degRB
Definition: chardlg.hxx:266
unsigned char sal_uInt8
void UpdatePreview_Impl(sal_uInt8 nProp, sal_uInt8 nEscProp, short nEsc)
Definition: chardlg.cxx:2481
std::unique_ptr< weld::TreeView > m_xEndBracketLB
Definition: chardlg.hxx:316
void SetPrevFontWidthScale(const SfxItemSet &rSet)
Definition: chardlg.cxx:149
static const WhichRangesContainer pTwoLinesRanges
Definition: chardlg.hxx:309
void UpdatePreview_Impl()
Definition: chardlg.cxx:454
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: chardlg.cxx:3150
std::unique_ptr< weld::MetricSpinButton > m_xHighLowMF
Definition: chardlg.hxx:255
virtual ~SvxCharTwoLinesPage() override
Definition: chardlg.cxx:3044
void DisableControls(sal_uInt16 nDisable)
Definition: chardlg.cxx:2377
void UpdatePreview_Impl()
Definition: chardlg.cxx:3215
Language for ctl text.
Definition: chardlg.hxx:125
std::unique_ptr< weld::Label > m_xCTLFontNameFT
Definition: chardlg.hxx:92
std::unique_ptr< weld::MetricSpinButton > m_xKerningMF
Definition: chardlg.hxx:271
weld::TriStateEnabled m_aOutlineState
Definition: chardlg.hxx:172
std::unique_ptr< weld::Label > m_xCTLFontSizeFT
Definition: chardlg.hxx:96
DeactivateRC
void SelectCharacter(weld::TreeView *pBox)
Definition: chardlg.cxx:3067
SvxEscapement
std::unique_ptr< weld::TreeView > m_xStartBracketLB
Definition: chardlg.hxx:315
void Reset_Impl(const SfxItemSet &rSet, LanguageGroup eLangGrp)
Definition: chardlg.cxx:606
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: chardlg.cxx:2879
std::unique_ptr< FontSizeBox > m_xCTLFontSizeLB
Definition: chardlg.hxx:97
std::unique_ptr< weld::Button > m_xEastFontFeaturesButton
Definition: chardlg.hxx:90
std::unique_ptr< ColorListBox > m_xUnderlineColorLB
Definition: chardlg.hxx:194
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
Definition: chardlg.cxx:1680
void SetFontList(const SvxFontListItem &rItem)
Definition: chardlg.cxx:1231
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: chardlg.cxx:2632
sal_uInt16 m_nScaleWidthItemSetVal
Definition: chardlg.hxx:245
std::unique_ptr< weld::MetricSpinButton > m_xFontTransparencyMtr
Definition: chardlg.hxx:180
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: chardlg.cxx:3184
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
Definition: chardlg.cxx:2639
std::unique_ptr< weld::Label > m_xScalingFT
Definition: chardlg.hxx:262
std::unique_ptr< weld::ComboBox > m_xOverlineLB
Definition: chardlg.hxx:188
std::unique_ptr< weld::Label > m_xScalingAndRotationFT
Definition: chardlg.hxx:263
std::unique_ptr< weld::MetricSpinButton > m_xScaleWidthMF
Definition: chardlg.hxx:269
std::unique_ptr< weld::Label > m_xFontSizeFT
Definition: chardlg.hxx:257
std::unique_ptr< weld::RadioButton > m_xLowPosBtn
Definition: chardlg.hxx:253
std::unique_ptr< ColorListBox > m_xOverlineColorLB
Definition: chardlg.hxx:190
std::unique_ptr< weld::Button > m_xCTLFontFeaturesButton
Definition: chardlg.hxx:101
std::unique_ptr< weld::ComboBox > m_xEmphasisLB
Definition: chardlg.hxx:197
SvxCharEffectsPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: chardlg.cxx:1303
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: chardlg.cxx:1281
weld::TriStateEnabled m_aHiddenState
Definition: chardlg.hxx:174
std::unique_ptr< weld::Label > m_xA11yWarningFT
Definition: chardlg.hxx:200
void UpdatePreview_Impl()
Definition: chardlg.cxx:1422
std::unique_ptr< weld::Label > m_xFontTransparencyFT
Definition: chardlg.hxx:179
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
Definition: chardlg.cxx:3157
std::unique_ptr< weld::Label > m_xPositionFT
Definition: chardlg.hxx:198
std::unique_ptr< weld::ComboBox > m_xCTLFontNameLB
Definition: chardlg.hxx:93
SvxCharNamePage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: chardlg.cxx:189