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 
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  //for getting FontFeatures
106 
107  void Initialize();
108  const FontList* GetFontList() const;
109  void UpdatePreview_Impl();
110  void FillStyleBox_Impl(const weld::Widget& rBox);
111  void FillSizeBox_Impl(const weld::Widget& rBox);
112  void EnableFeatureButton(const weld::Widget& rNameBox);
113 
115  {
118  Western = 0,
119 
123 
127  };
128 
129  void Reset_Impl( const SfxItemSet& rSet, LanguageGroup eLangGrp );
130  bool FillItemSet_Impl( SfxItemSet& rSet, LanguageGroup eLangGrp );
131 
132  DECL_LINK(UpdateHdl_Impl, Timer *, void );
133  DECL_LINK(FontModifyComboBoxHdl_Impl, weld::ComboBox&, void);
134  DECL_LINK(FontFeatureButtonClicked, weld::Button&, void);
135 
136  void FontModifyHdl_Impl(const weld::Widget&);
137 
138 public:
139  virtual void ActivatePage( const SfxItemSet& rSet ) override;
140  virtual DeactivateRC DeactivatePage( SfxItemSet* pSet ) override;
141 
142 public:
143  SvxCharNamePage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet);
144  static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rSet );
145  virtual ~SvxCharNamePage() override;
146 
148 
149  virtual void Reset( const SfxItemSet* rSet ) override;
150  virtual bool FillItemSet( SfxItemSet* rSet ) override;
151  virtual void ChangesApplied() override;
152 
153  void SetFontList( const SvxFontListItem& rItem );
154  void EnableRelativeMode();
155  void EnableSearchMode();
156 
157  void DisableControls( sal_uInt16 nDisable );
158  virtual void PageCreated(const SfxAllItemSet& aSet) override;
159 };
160 
161 // class SvxCharEffectsPage ----------------------------------------------
162 
164 {
165 private:
171  sal_uInt16 m_nHtmlMode;
172 
177 
178  std::unique_ptr<weld::Label> m_xFontColorFT;
179  std::unique_ptr<ColorListBox> m_xFontColorLB;
180  std::unique_ptr<weld::Label> m_xFontTransparencyFT;
181  std::unique_ptr<weld::MetricSpinButton> m_xFontTransparencyMtr;
182  std::unique_ptr<weld::Label> m_xEffectsFT;
183  std::unique_ptr<weld::ComboBox> m_xEffectsLB;
184  std::unique_ptr<weld::Label> m_xReliefFT;
185  std::unique_ptr<weld::ComboBox> m_xReliefLB;
186  std::unique_ptr<weld::CheckButton> m_xOutlineBtn;
187  std::unique_ptr<weld::CheckButton> m_xShadowBtn;
188  std::unique_ptr<weld::CheckButton> m_xHiddenBtn;
189  std::unique_ptr<weld::ComboBox> m_xOverlineLB;
190  std::unique_ptr<weld::Label> m_xOverlineColorFT;
191  std::unique_ptr<ColorListBox> m_xOverlineColorLB;
192  std::unique_ptr<weld::ComboBox> m_xStrikeoutLB;
193  std::unique_ptr<weld::ComboBox> m_xUnderlineLB;
194  std::unique_ptr<weld::Label> m_xUnderlineColorFT;
195  std::unique_ptr<ColorListBox> m_xUnderlineColorLB;
196  std::unique_ptr<weld::CheckButton> m_xIndividualWordsBtn;
197  std::unique_ptr<weld::Label> m_xEmphasisFT;
198  std::unique_ptr<weld::ComboBox> m_xEmphasisLB;
199  std::unique_ptr<weld::Label> m_xPositionFT;
200  std::unique_ptr<weld::ComboBox> m_xPositionLB;
201  std::unique_ptr<weld::Label> m_xA11yWarningFT;
202 
203  void Initialize();
204  void UpdatePreview_Impl();
205  void SetCaseMap_Impl( SvxCaseMap eCaseMap );
206  void ResetColor_Impl( const SfxItemSet& rSet );
207  bool FillItemSetColor_Impl( SfxItemSet& rSet );
208  void EnableNoneFontColor();
209 
210  void SelectHdl_Impl(const weld::ComboBox*);
211  DECL_LINK(SelectListBoxHdl_Impl, weld::ComboBox&, void);
212  DECL_LINK(OutlineBtnClickHdl, weld::Toggleable&, void);
213  DECL_LINK(ShadowBtnClickHdl, weld::Toggleable&, void);
214  DECL_LINK(HiddenBtnClickHdl, weld::Toggleable&, void);
215  DECL_LINK(CbClickHdl_Impl, weld::Toggleable&, void);
216  DECL_LINK(ColorBoxSelectHdl_Impl, ColorListBox&, void);
217  DECL_LINK(ModifyFontTransparencyHdl_Impl, weld::MetricSpinButton&, void);
218 
219 public:
220  SvxCharEffectsPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet);
221  static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rSet );
222  virtual ~SvxCharEffectsPage() override;
223 
224  virtual DeactivateRC DeactivatePage( SfxItemSet* pSet ) override;
225 
226 public:
228 
229  virtual void Reset( const SfxItemSet* rSet ) override;
230  virtual bool FillItemSet( SfxItemSet* rSet ) override;
231  virtual void ChangesApplied() override;
232 
233  void DisableControls( sal_uInt16 nDisable );
234  virtual void PageCreated(const SfxAllItemSet& aSet) override;
235 };
236 
237 // class SvxCharPositionPage ---------------------------------------------
239 {
241 
242 private:
243  short m_nSuperEsc;
244  short m_nSubEsc;
245 
248 
251 
252  std::unique_ptr<weld::RadioButton> m_xHighPosBtn;
253  std::unique_ptr<weld::RadioButton> m_xNormalPosBtn;
254  std::unique_ptr<weld::RadioButton> m_xLowPosBtn;
255  std::unique_ptr<weld::Label> m_xHighLowFT;
256  std::unique_ptr<weld::MetricSpinButton> m_xHighLowMF;
257  std::unique_ptr<weld::CheckButton> m_xHighLowRB;
258  std::unique_ptr<weld::Label> m_xFontSizeFT;
259  std::unique_ptr<weld::MetricSpinButton> m_xFontSizeMF;
260 
261  std::unique_ptr<weld::Widget> m_xRotationContainer;
262 
263  std::unique_ptr<weld::Label> m_xScalingFT;
264  std::unique_ptr<weld::Label> m_xScalingAndRotationFT;
265  std::unique_ptr<weld::RadioButton> m_x0degRB;
266  std::unique_ptr<weld::RadioButton> m_x90degRB;
267  std::unique_ptr<weld::RadioButton> m_x270degRB;
268  std::unique_ptr<weld::CheckButton> m_xFitToLineCB;
269 
270  std::unique_ptr<weld::MetricSpinButton> m_xScaleWidthMF;
271 
272  std::unique_ptr<weld::MetricSpinButton> m_xKerningMF;
273  std::unique_ptr<weld::CheckButton> m_xPairKerningBtn;
274 
275  void Initialize();
276  void UpdatePreview_Impl( sal_uInt8 nProp, sal_uInt8 nEscProp, short nEsc );
277  void SetEscapement_Impl( SvxEscapement nEsc );
278 
279  DECL_LINK(PositionHdl_Impl, weld::Toggleable&, void);
280  DECL_LINK(RotationHdl_Impl, weld::Toggleable&, void);
281  DECL_LINK(AutoPositionHdl_Impl, weld::Toggleable&, void);
282  DECL_LINK(FitToLineHdl_Impl, weld::Toggleable&, void);
283  DECL_LINK(KerningModifyHdl_Impl, weld::MetricSpinButton&, void);
284  DECL_LINK(ValueChangedHdl_Impl, weld::MetricSpinButton&, void);
285  DECL_LINK(ScaleWidthModifyHdl_Impl, weld::MetricSpinButton&, void);
286  void FontModifyHdl_Impl();
287 
288 public:
289  SvxCharPositionPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet);
290  static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rSet );
291  virtual ~SvxCharPositionPage() override;
292 
293  virtual DeactivateRC DeactivatePage( SfxItemSet* pSet ) override;
294 
295 public:
297 
298  virtual void Reset( const SfxItemSet* rSet ) override;
299  virtual bool FillItemSet( SfxItemSet* rSet ) override;
300  virtual void ChangesApplied() override;
301  virtual void FillUserData() override;
302  virtual void PageCreated(const SfxAllItemSet& aSet) override;
303 };
304 
305 // class SvxCharTwoLinesPage ---------------------------------------------
306 
308 {
309 private:
313 
314  std::unique_ptr<weld::CheckButton> m_xTwoLinesBtn;
315  std::unique_ptr<weld::Widget> m_xEnclosingFrame;
316  std::unique_ptr<weld::TreeView> m_xStartBracketLB;
317  std::unique_ptr<weld::TreeView> m_xEndBracketLB;
318 
319  void UpdatePreview_Impl();
320  void Initialize();
321  void SelectCharacter(weld::TreeView* pBox);
322  void SetBracket(sal_Unicode cBracket, bool bStart);
323 
324  DECL_LINK(TwoLinesHdl_Impl, weld::Toggleable&, void);
325  DECL_LINK(CharacterMapHdl_Impl, weld::TreeView&, void);
326 
327 public:
328  SvxCharTwoLinesPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet);
329  static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rSet );
330  virtual ~SvxCharTwoLinesPage() override;
331 
332  virtual void ActivatePage( const SfxItemSet& rSet ) override;
333  virtual DeactivateRC DeactivatePage( SfxItemSet* pSet ) override;
334 
336 
337  virtual void Reset( const SfxItemSet* rSet ) override;
338  virtual bool FillItemSet( SfxItemSet* rSet ) override;
339  virtual void PageCreated(const SfxAllItemSet& aSet) override;
340 };
341 
342 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
sal_uInt16 m_nScaleWidthInitialVal
Definition: chardlg.hxx:247
virtual ~SvxCharEffectsPage() override
Definition: chardlg.cxx:1360
std::unique_ptr< weld::CheckButton > m_xFitToLineCB
Definition: chardlg.hxx:268
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:252
std::unique_ptr< SvxCharNamePage_Impl > m_pImpl
Definition: chardlg.hxx:66
void SetBracket(sal_Unicode cBracket, bool bStart)
Definition: chardlg.cxx:3079
std::unique_ptr< weld::RadioButton > m_xNormalPosBtn
Definition: chardlg.hxx:253
std::unique_ptr< weld::ComboBox > m_xStrikeoutLB
Definition: chardlg.hxx:192
static WhichRangesContainer GetRanges()
Definition: chardlg.hxx:147
static WhichRangesContainer GetRanges()
Definition: chardlg.hxx:335
std::unique_ptr< weld::CheckButton > m_xHiddenBtn
Definition: chardlg.hxx:188
void FillSizeBox_Impl(const weld::Widget &rBox)
Definition: chardlg.cxx:559
DECL_LINK(UpdateHdl_Impl, Timer *, void)
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: chardlg.cxx:1192
std::unique_ptr< weld::Button > m_xWestFontFeaturesButton
Definition: chardlg.hxx:78
virtual void FillUserData() override
Definition: chardlg.cxx:2992
std::unique_ptr< weld::ComboBox > m_xWestFontNameLB
Definition: chardlg.hxx:70
const SfxItemSet * pSet
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: chardlg.cxx:1668
std::unique_ptr< weld::MetricSpinButton > m_xFontSizeMF
Definition: chardlg.hxx:259
SvxCaseMap
bool FillItemSetColor_Impl(SfxItemSet &rSet)
Definition: chardlg.cxx:1578
SvxCharPositionPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: chardlg.cxx:2405
const FontList * GetFontList() const
Definition: chardlg.cxx:351
std::unique_ptr< weld::Widget > m_xEnclosingFrame
Definition: chardlg.hxx:315
std::unique_ptr< weld::Label > m_xWestFontStyleFT
Definition: chardlg.hxx:71
void EnableFeatureButton(const weld::Widget &rNameBox)
Definition: chardlg.cxx:483
SvxFont & GetPreviewFont()
Definition: chardlg.cxx:118
DECL_LINK(TwoLinesHdl_Impl, weld::Toggleable &, void)
std::unique_ptr< weld::Widget > m_xRotationContainer
Definition: chardlg.hxx:261
SvxFontPrevWindow m_aPreviewWin
Definition: chardlg.hxx:37
std::unique_ptr< weld::Label > m_xEmphasisFT
Definition: chardlg.hxx:197
Language for asian text.
Definition: chardlg.hxx:122
virtual void Reset(const SfxItemSet *rSet) override
Definition: chardlg.cxx:3156
std::unique_ptr< weld::Label > m_xFontColorFT
Definition: chardlg.hxx:178
std::unique_ptr< weld::ComboBox > m_xEffectsLB
Definition: chardlg.hxx:183
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:171
virtual void ChangesApplied() override
Definition: chardlg.cxx:1214
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:118
std::unique_ptr< weld::ComboBox > m_xReliefLB
Definition: chardlg.hxx:185
virtual void Reset(const SfxItemSet *rSet) override
Definition: chardlg.cxx:1204
void Initialize()
Definition: chardlg.cxx:323
virtual void ActivatePage(const SfxItemSet &rSet) override
Definition: chardlg.cxx:143
void SetCaseMap_Impl(SvxCaseMap eCaseMap)
Definition: chardlg.cxx:1501
virtual void ChangesApplied() override
Definition: chardlg.cxx:2858
bool m_bPreviewBackgroundToCharacter
Definition: chardlg.hxx:40
weld::TriStateEnabled m_aShadowState
Definition: chardlg.hxx:174
std::unique_ptr< weld::CheckButton > m_xShadowBtn
Definition: chardlg.hxx:187
std::unique_ptr< weld::Label > m_xCTLFontTypeFT
Definition: chardlg.hxx:101
void FontModifyHdl_Impl(const weld::Widget &)
Definition: chardlg.cxx:1173
void FillStyleBox_Impl(const weld::Widget &rBox)
Definition: chardlg.cxx:513
std::unique_ptr< FontStyleBox > m_xEastFontStyleLB
Definition: chardlg.hxx:84
void SelectHdl_Impl(const weld::ComboBox *)
Definition: chardlg.cxx:1616
DECL_LINK(PositionHdl_Impl, weld::Toggleable &, void)
std::unique_ptr< weld::CheckButton > m_xIndividualWordsBtn
Definition: chardlg.hxx:196
SvxFont & GetPreviewCTLFont()
Definition: chardlg.cxx:128
sal_uInt16 sal_Unicode
virtual ~SvxCharPositionPage() override
Definition: chardlg.cxx:2439
std::unique_ptr< weld::CheckButton > m_xOutlineBtn
Definition: chardlg.hxx:186
std::unique_ptr< weld::Label > m_xOverlineColorFT
Definition: chardlg.hxx:190
std::unique_ptr< weld::RadioButton > m_x0degRB
Definition: chardlg.hxx:265
std::unique_ptr< SvxLanguageBox > m_xEastFontLanguageLB
Definition: chardlg.hxx:88
ScopedVclPtrInstance< VirtualDevice > m_xVDev
Definition: chardlg.hxx:105
std::unique_ptr< SvxLanguageBox > m_xWestFontLanguageLB
Definition: chardlg.hxx:76
std::unique_ptr< weld::ComboBox > m_xPositionLB
Definition: chardlg.hxx:200
std::unique_ptr< weld::Label > m_xWestFontTypeFT
Definition: chardlg.hxx:77
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: chardlg.cxx:3220
virtual ~SvxCharNamePage() override
Definition: chardlg.cxx:308
Color m_aOrigFontColor
Definition: chardlg.hxx:170
std::unique_ptr< weld::CheckButton > m_xHighLowRB
Definition: chardlg.hxx:257
bool FillItemSet_Impl(SfxItemSet &rSet, LanguageGroup eLangGrp)
Definition: chardlg.cxx:843
std::unique_ptr< weld::Label > m_xEastFontLanguageFT
Definition: chardlg.hxx:87
void SetEscapement_Impl(SvxEscapement nEsc)
Definition: chardlg.cxx:2482
sal_uInt8 m_nSuperProp
Definition: chardlg.hxx:249
void DisableControls(sal_uInt16 nDisable)
Definition: chardlg.cxx:1275
std::unique_ptr< weld::CustomWeld > m_xPreviewWin
Definition: chardlg.hxx:38
virtual ~SvxCharBasePage() override
Definition: chardlg.cxx:139
void FontModifyHdl_Impl()
Definition: chardlg.cxx:2551
std::unique_ptr< weld::CheckButton > m_xTwoLinesBtn
Definition: chardlg.hxx:314
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: chardlg.cxx:2072
SvxFont & GetPreviewCJKFont()
Definition: chardlg.cxx:123
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:255
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
Definition: chardlg.cxx:1199
std::unique_ptr< weld::Label > m_xUnderlineColorFT
Definition: chardlg.hxx:194
weld::TriStateEnabled m_aIndividualWordsState
Definition: chardlg.hxx:176
std::unique_ptr< weld::Label > m_xCTLFontLanguageFT
Definition: chardlg.hxx:99
static const WhichRangesContainer pPositionRanges
Definition: chardlg.hxx:240
std::unique_ptr< weld::Label > m_xEastFontStyleFT
Definition: chardlg.hxx:83
void EnableSearchMode()
Definition: chardlg.cxx:1270
std::unique_ptr< weld::Label > m_xEffectsFT
Definition: chardlg.hxx:182
std::unique_ptr< FontStyleBox > m_xWestFontStyleLB
Definition: chardlg.hxx:72
static WhichRangesContainer GetRanges()
Definition: chardlg.hxx:296
virtual void ActivatePage(const SfxItemSet &rSet) override
Definition: chardlg.cxx:3139
sal_uInt16 m_nEndBracketPosition
Definition: chardlg.hxx:312
SvxCharTwoLinesPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: chardlg.cxx:3017
void SetPrevFontEscapement(sal_uInt8 nProp, sal_uInt8 nEscProp, short nEsc)
Definition: chardlg.cxx:158
static const WhichRangesContainer pEffectsRanges
Definition: chardlg.hxx:166
std::unique_ptr< weld::CheckButton > m_xPairKerningBtn
Definition: chardlg.hxx:273
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: chardlg.cxx:1230
std::unique_ptr< SvxLanguageBox > m_xCTLFontLanguageLB
Definition: chardlg.hxx:100
sal_uInt16 m_nStartBracketPosition
Definition: chardlg.hxx:311
std::unique_ptr< weld::Label > m_xEastFontSizeFT
Definition: chardlg.hxx:85
std::unique_ptr< ColorListBox > m_xFontColorLB
Definition: chardlg.hxx:179
std::unique_ptr< weld::Widget > m_xEastFrame
Definition: chardlg.hxx:80
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: chardlg.cxx:2381
void EnableNoneFontColor()
Definition: chardlg.cxx:1354
SvxCharBasePage(weld::Container *pPage, weld::DialogController *pController, const OUString &rUIXMLDescription, const OString &rID, const SfxItemSet &rAttrSet)
Definition: chardlg.cxx:133
std::unique_ptr< weld::ComboBox > m_xEastFontNameLB
Definition: chardlg.hxx:82
virtual void ActivatePage(const SfxItemSet &rSet) override
Definition: chardlg.cxx:1185
static WhichRangesContainer GetRanges()
Definition: chardlg.hxx:227
std::unique_ptr< weld::ComboBox > m_xUnderlineLB
Definition: chardlg.hxx:193
virtual void Reset(const SfxItemSet *rSet) override
Definition: chardlg.cxx:2638
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: chardlg.cxx:3004
void EnableRelativeMode()
Definition: chardlg.cxx:1262
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:250
std::unique_ptr< weld::RadioButton > m_x90degRB
Definition: chardlg.hxx:266
std::unique_ptr< weld::Label > m_xReliefFT
Definition: chardlg.hxx:184
void ResetColor_Impl(const SfxItemSet &rSet)
Definition: chardlg.cxx:1515
bool m_bEnableNoneFontColor
Definition: chardlg.hxx:169
std::unique_ptr< weld::Label > m_xEastFontTypeFT
Definition: chardlg.hxx:89
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:2056
std::unique_ptr< weld::RadioButton > m_x270degRB
Definition: chardlg.hxx:267
unsigned char sal_uInt8
void UpdatePreview_Impl(sal_uInt8 nProp, sal_uInt8 nEscProp, short nEsc)
Definition: chardlg.cxx:2476
std::unique_ptr< weld::TreeView > m_xEndBracketLB
Definition: chardlg.hxx:317
void SetPrevFontWidthScale(const SfxItemSet &rSet)
Definition: chardlg.cxx:148
static const WhichRangesContainer pTwoLinesRanges
Definition: chardlg.hxx:310
void UpdatePreview_Impl()
Definition: chardlg.cxx:452
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: chardlg.cxx:3144
std::unique_ptr< weld::MetricSpinButton > m_xHighLowMF
Definition: chardlg.hxx:256
virtual ~SvxCharTwoLinesPage() override
Definition: chardlg.cxx:3038
void DisableControls(sal_uInt16 nDisable)
Definition: chardlg.cxx:2372
void UpdatePreview_Impl()
Definition: chardlg.cxx:3209
Language for ctl text.
Definition: chardlg.hxx:126
std::unique_ptr< weld::Label > m_xCTLFontNameFT
Definition: chardlg.hxx:93
std::unique_ptr< weld::MetricSpinButton > m_xKerningMF
Definition: chardlg.hxx:272
weld::TriStateEnabled m_aOutlineState
Definition: chardlg.hxx:173
std::unique_ptr< weld::Label > m_xCTLFontSizeFT
Definition: chardlg.hxx:97
DeactivateRC
void SelectCharacter(weld::TreeView *pBox)
Definition: chardlg.cxx:3061
SvxEscapement
std::unique_ptr< weld::TreeView > m_xStartBracketLB
Definition: chardlg.hxx:316
void Reset_Impl(const SfxItemSet &rSet, LanguageGroup eLangGrp)
Definition: chardlg.cxx:613
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: chardlg.cxx:2873
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:195
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:1238
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: chardlg.cxx:2626
sal_uInt16 m_nScaleWidthItemSetVal
Definition: chardlg.hxx:246
std::unique_ptr< weld::MetricSpinButton > m_xFontTransparencyMtr
Definition: chardlg.hxx:181
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: chardlg.cxx:3178
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
Definition: chardlg.cxx:2633
std::unique_ptr< weld::Label > m_xScalingFT
Definition: chardlg.hxx:263
std::unique_ptr< weld::ComboBox > m_xOverlineLB
Definition: chardlg.hxx:189
std::unique_ptr< weld::Label > m_xScalingAndRotationFT
Definition: chardlg.hxx:264
std::unique_ptr< weld::MetricSpinButton > m_xScaleWidthMF
Definition: chardlg.hxx:270
std::unique_ptr< weld::Label > m_xFontSizeFT
Definition: chardlg.hxx:258
std::unique_ptr< weld::RadioButton > m_xLowPosBtn
Definition: chardlg.hxx:254
std::unique_ptr< ColorListBox > m_xOverlineColorLB
Definition: chardlg.hxx:191
std::unique_ptr< weld::Button > m_xCTLFontFeaturesButton
Definition: chardlg.hxx:102
std::unique_ptr< weld::ComboBox > m_xEmphasisLB
Definition: chardlg.hxx:198
SvxCharEffectsPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: chardlg.cxx:1310
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: chardlg.cxx:1288
weld::TriStateEnabled m_aHiddenState
Definition: chardlg.hxx:175
std::unique_ptr< weld::Label > m_xA11yWarningFT
Definition: chardlg.hxx:201
void UpdatePreview_Impl()
Definition: chardlg.cxx:1429
std::unique_ptr< weld::Label > m_xFontTransparencyFT
Definition: chardlg.hxx:180
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
Definition: chardlg.cxx:3151
std::unique_ptr< weld::Label > m_xPositionFT
Definition: chardlg.hxx:199
std::unique_ptr< weld::ComboBox > m_xCTLFontNameLB
Definition: chardlg.hxx:94
SvxCharNamePage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: chardlg.cxx:188