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
31class SvxFontListItem;
32class FontList;
33
35{
36protected:
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
51public:
52 virtual ~SvxCharBasePage() override;
53
54 virtual void ActivatePage( const SfxItemSet& rSet ) override;
55};
56
57// class SvxCharNamePage -------------------------------------------------
58
60
62{
63private:
65
66 std::unique_ptr<SvxCharNamePage_Impl> m_pImpl;
67
68 std::unique_ptr<weld::Notebook> m_xWestern;
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::Button> m_xWestFontFeaturesButton;
78 std::unique_ptr<weld::Label> m_xWestFontTypeFT;
79
80 std::unique_ptr<weld::Notebook> m_xCJK_CTL;
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::Button> m_xEastFontFeaturesButton;
90 std::unique_ptr<weld::Label> m_xEastFontTypeFT;
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::Button> m_xCTLFontFeaturesButton;
101 std::unique_ptr<weld::Label> m_xCTLFontTypeFT;
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 {
118
122
125 Ctl
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
137public:
138 virtual void ActivatePage( const SfxItemSet& rSet ) override;
139 virtual DeactivateRC DeactivatePage( SfxItemSet* pSet ) override;
140
141public:
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{
164private:
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
218public:
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
225public:
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
241private:
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 );
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
287public:
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
294public:
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{
308private:
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();
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
326public:
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: */
const SfxItemSet * pSet
void SetPrevFontEscapement(sal_uInt8 nProp, sal_uInt8 nEscProp, short nEsc)
Definition: chardlg.cxx:160
SvxFontPrevWindow m_aPreviewWin
Definition: chardlg.hxx:37
SvxFont & GetPreviewCJKFont()
Definition: chardlg.cxx:125
virtual ~SvxCharBasePage() override
Definition: chardlg.cxx:141
SvxCharBasePage(weld::Container *pPage, weld::DialogController *pController, const OUString &rUIXMLDescription, const OString &rID, const SfxItemSet &rAttrSet)
Definition: chardlg.cxx:135
std::unique_ptr< weld::CustomWeld > m_xPreviewWin
Definition: chardlg.hxx:38
SvxFont & GetPreviewFont()
Definition: chardlg.cxx:120
void SetPrevFontWidthScale(const SfxItemSet &rSet)
Definition: chardlg.cxx:150
SvxFont & GetPreviewCTLFont()
Definition: chardlg.cxx:130
virtual void ActivatePage(const SfxItemSet &rSet) override
Definition: chardlg.cxx:145
bool m_bPreviewBackgroundToCharacter
Definition: chardlg.hxx:40
std::unique_ptr< weld::CheckButton > m_xShadowBtn
Definition: chardlg.hxx:186
std::unique_ptr< weld::ComboBox > m_xUnderlineLB
Definition: chardlg.hxx:192
std::unique_ptr< weld::Label > m_xFontColorFT
Definition: chardlg.hxx:177
void SetCaseMap_Impl(SvxCaseMap eCaseMap)
Definition: chardlg.cxx:1496
std::unique_ptr< weld::CheckButton > m_xOutlineBtn
Definition: chardlg.hxx:185
std::unique_ptr< weld::ComboBox > m_xOverlineLB
Definition: chardlg.hxx:188
DECL_LINK(SelectListBoxHdl_Impl, weld::ComboBox &, void)
std::unique_ptr< weld::ComboBox > m_xReliefLB
Definition: chardlg.hxx:184
void ResetColor_Impl(const SfxItemSet &rSet)
Definition: chardlg.cxx:1510
DECL_LINK(ModifyFontTransparencyHdl_Impl, weld::MetricSpinButton &, void)
std::unique_ptr< weld::ComboBox > m_xEffectsLB
Definition: chardlg.hxx:182
std::unique_ptr< weld::Label > m_xEffectsFT
Definition: chardlg.hxx:181
std::unique_ptr< weld::Label > m_xFontTransparencyFT
Definition: chardlg.hxx:179
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: chardlg.cxx:2388
static WhichRangesContainer GetRanges()
Definition: chardlg.hxx:226
std::unique_ptr< weld::Label > m_xA11yWarningFT
Definition: chardlg.hxx:200
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
Definition: chardlg.cxx:1682
bool m_bEnableNoneFontColor
Definition: chardlg.hxx:168
void UpdatePreview_Impl()
Definition: chardlg.cxx:1424
std::unique_ptr< ColorListBox > m_xOverlineColorLB
Definition: chardlg.hxx:190
weld::TriStateEnabled m_aIndividualWordsState
Definition: chardlg.hxx:175
SvxCharEffectsPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: chardlg.cxx:1302
weld::TriStateEnabled m_aShadowState
Definition: chardlg.hxx:173
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: chardlg.cxx:2079
DECL_LINK(CbClickHdl_Impl, weld::Toggleable &, void)
std::unique_ptr< weld::ComboBox > m_xPositionLB
Definition: chardlg.hxx:199
std::unique_ptr< weld::CheckButton > m_xHiddenBtn
Definition: chardlg.hxx:187
std::unique_ptr< ColorListBox > m_xUnderlineColorLB
Definition: chardlg.hxx:194
void DisableControls(sal_uInt16 nDisable)
Definition: chardlg.cxx:2379
std::unique_ptr< weld::Label > m_xReliefFT
Definition: chardlg.hxx:183
virtual void ChangesApplied() override
Definition: chardlg.cxx:2063
std::unique_ptr< weld::Label > m_xOverlineColorFT
Definition: chardlg.hxx:189
DECL_LINK(ShadowBtnClickHdl, weld::Toggleable &, void)
DECL_LINK(ColorBoxSelectHdl_Impl, ColorListBox &, void)
std::unique_ptr< weld::CheckButton > m_xIndividualWordsBtn
Definition: chardlg.hxx:195
std::unique_ptr< weld::MetricSpinButton > m_xFontTransparencyMtr
Definition: chardlg.hxx:180
std::unique_ptr< weld::ComboBox > m_xStrikeoutLB
Definition: chardlg.hxx:191
weld::TriStateEnabled m_aHiddenState
Definition: chardlg.hxx:174
sal_uInt16 m_nHtmlMode
Definition: chardlg.hxx:170
void SelectHdl_Impl(const weld::ComboBox *)
Definition: chardlg.cxx:1623
weld::TriStateEnabled m_aOutlineState
Definition: chardlg.hxx:172
std::unique_ptr< ColorListBox > m_xFontColorLB
Definition: chardlg.hxx:178
DECL_LINK(OutlineBtnClickHdl, weld::Toggleable &, void)
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: chardlg.cxx:1675
std::unique_ptr< weld::Label > m_xUnderlineColorFT
Definition: chardlg.hxx:193
std::unique_ptr< weld::Label > m_xPositionFT
Definition: chardlg.hxx:198
bool FillItemSetColor_Impl(SfxItemSet &rSet)
Definition: chardlg.cxx:1573
virtual void Reset(const SfxItemSet *rSet) override
Definition: chardlg.cxx:1687
DECL_LINK(HiddenBtnClickHdl, weld::Toggleable &, void)
std::unique_ptr< weld::Label > m_xEmphasisFT
Definition: chardlg.hxx:196
std::unique_ptr< weld::ComboBox > m_xEmphasisLB
Definition: chardlg.hxx:197
static const WhichRangesContainer pEffectsRanges
Definition: chardlg.hxx:165
void EnableNoneFontColor()
Definition: chardlg.cxx:1346
Color m_aOrigFontColor
Definition: chardlg.hxx:169
virtual ~SvxCharEffectsPage() override
Definition: chardlg.cxx:1352
std::unique_ptr< SvxLanguageBox > m_xCTLFontLanguageLB
Definition: chardlg.hxx:99
std::unique_ptr< weld::Label > m_xCTLFontLanguageFT
Definition: chardlg.hxx:98
std::unique_ptr< FontSizeBox > m_xCTLFontSizeLB
Definition: chardlg.hxx:97
void EnableSearchMode()
Definition: chardlg.cxx:1262
std::unique_ptr< FontSizeBox > m_xEastFontSizeLB
Definition: chardlg.hxx:86
std::unique_ptr< FontStyleBox > m_xWestFontStyleLB
Definition: chardlg.hxx:72
void FontModifyHdl_Impl(const weld::Widget &)
Definition: chardlg.cxx:1165
void SetFontList(const SvxFontListItem &rItem)
Definition: chardlg.cxx:1230
void DisableControls(sal_uInt16 nDisable)
Definition: chardlg.cxx:1267
std::unique_ptr< weld::Label > m_xEastFontStyleFT
Definition: chardlg.hxx:83
virtual void ActivatePage(const SfxItemSet &rSet) override
Definition: chardlg.cxx:1177
bool FillItemSet_Impl(SfxItemSet &rSet, LanguageGroup eLangGrp)
Definition: chardlg.cxx:826
std::unique_ptr< SvxLanguageBox > m_xWestFontLanguageLB
Definition: chardlg.hxx:76
std::unique_ptr< weld::ComboBox > m_xEastFontNameLB
Definition: chardlg.hxx:82
std::unique_ptr< weld::Label > m_xCTLFontStyleFT
Definition: chardlg.hxx:94
std::unique_ptr< weld::Button > m_xCTLFontFeaturesButton
Definition: chardlg.hxx:100
std::unique_ptr< weld::Label > m_xCTLFontTypeFT
Definition: chardlg.hxx:101
std::unique_ptr< weld::Notebook > m_xCJK_CTL
Definition: chardlg.hxx:80
std::unique_ptr< weld::Label > m_xWestFontTypeFT
Definition: chardlg.hxx:78
std::unique_ptr< weld::Label > m_xEastFontTypeFT
Definition: chardlg.hxx:90
std::unique_ptr< FontSizeBox > m_xWestFontSizeLB
Definition: chardlg.hxx:74
std::unique_ptr< weld::Label > m_xCTLFontNameFT
Definition: chardlg.hxx:92
std::unique_ptr< SvxLanguageBox > m_xEastFontLanguageLB
Definition: chardlg.hxx:88
@ Western
Language for western text.
Definition: chardlg.hxx:117
@ Ctl
Language for ctl text.
Definition: chardlg.hxx:125
@ Asian
Language for asian text.
Definition: chardlg.hxx:121
DECL_LINK(UpdateHdl_Impl, Timer *, void)
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
Definition: chardlg.cxx:1191
void Initialize()
Definition: chardlg.cxx:315
std::unique_ptr< FontStyleBox > m_xCTLFontStyleLB
Definition: chardlg.hxx:95
std::unique_ptr< weld::Button > m_xWestFontFeaturesButton
Definition: chardlg.hxx:77
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: chardlg.cxx:1222
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: chardlg.cxx:1280
std::unique_ptr< weld::Label > m_xCTLFontSizeFT
Definition: chardlg.hxx:96
std::unique_ptr< weld::Label > m_xWestFontLanguageFT
Definition: chardlg.hxx:75
std::unique_ptr< weld::Label > m_xWestFontStyleFT
Definition: chardlg.hxx:71
std::unique_ptr< weld::Label > m_xEastFontSizeFT
Definition: chardlg.hxx:85
std::unique_ptr< FontStyleBox > m_xEastFontStyleLB
Definition: chardlg.hxx:84
DECL_LINK(FontModifyComboBoxHdl_Impl, weld::ComboBox &, void)
void EnableFeatureButton(const weld::Widget &rNameBox)
Definition: chardlg.cxx:475
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: chardlg.cxx:1184
const FontList * GetFontList() const
Definition: chardlg.cxx:343
std::unique_ptr< weld::ComboBox > m_xWestFontNameLB
Definition: chardlg.hxx:70
std::unique_ptr< weld::Button > m_xEastFontFeaturesButton
Definition: chardlg.hxx:89
ScopedVclPtrInstance< VirtualDevice > m_xVDev
Definition: chardlg.hxx:104
DECL_LINK(FontFeatureButtonClicked, weld::Button &, void)
void Reset_Impl(const SfxItemSet &rSet, LanguageGroup eLangGrp)
Definition: chardlg.cxx:596
std::unique_ptr< SvxCharNamePage_Impl > m_pImpl
Definition: chardlg.hxx:66
std::unique_ptr< weld::Notebook > m_xWestern
Definition: chardlg.hxx:68
SvxCharNamePage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: chardlg.cxx:190
virtual void ChangesApplied() override
Definition: chardlg.cxx:1206
virtual ~SvxCharNamePage() override
Definition: chardlg.cxx:300
std::unique_ptr< weld::ComboBox > m_xCTLFontNameLB
Definition: chardlg.hxx:93
void FillSizeBox_Impl(const weld::Widget &rBox)
Definition: chardlg.cxx:551
void FillStyleBox_Impl(const weld::Widget &rBox)
Definition: chardlg.cxx:505
static WhichRangesContainer GetRanges()
Definition: chardlg.hxx:146
static const WhichRangesContainer pNameRanges
Definition: chardlg.hxx:64
std::unique_ptr< weld::Label > m_xWestFontNameFT
Definition: chardlg.hxx:69
virtual void Reset(const SfxItemSet *rSet) override
Definition: chardlg.cxx:1196
std::unique_ptr< weld::Label > m_xEastFontLanguageFT
Definition: chardlg.hxx:87
std::unique_ptr< weld::Label > m_xWestFontSizeFT
Definition: chardlg.hxx:73
void EnableRelativeMode()
Definition: chardlg.cxx:1254
void UpdatePreview_Impl()
Definition: chardlg.cxx:444
std::unique_ptr< weld::Label > m_xEastFontNameFT
Definition: chardlg.hxx:81
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: chardlg.cxx:3014
std::unique_ptr< weld::Label > m_xFontSizeFT
Definition: chardlg.hxx:257
std::unique_ptr< weld::RadioButton > m_x270degRB
Definition: chardlg.hxx:266
DECL_LINK(KerningModifyHdl_Impl, weld::MetricSpinButton &, void)
DECL_LINK(PositionHdl_Impl, weld::Toggleable &, void)
virtual ~SvxCharPositionPage() override
Definition: chardlg.cxx:2446
DECL_LINK(FitToLineHdl_Impl, weld::Toggleable &, void)
std::unique_ptr< weld::MetricSpinButton > m_xFontSizeMF
Definition: chardlg.hxx:258
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: chardlg.cxx:2883
sal_uInt8 m_nSubProp
Definition: chardlg.hxx:249
std::unique_ptr< weld::CheckButton > m_xPairKerningBtn
Definition: chardlg.hxx:272
std::unique_ptr< weld::Label > m_xScalingFT
Definition: chardlg.hxx:262
std::unique_ptr< weld::CheckButton > m_xHighLowRB
Definition: chardlg.hxx:256
static const WhichRangesContainer pPositionRanges
Definition: chardlg.hxx:239
DECL_LINK(ValueChangedHdl_Impl, weld::MetricSpinButton &, void)
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
Definition: chardlg.cxx:2641
std::unique_ptr< weld::RadioButton > m_xHighPosBtn
Definition: chardlg.hxx:251
DECL_LINK(AutoPositionHdl_Impl, weld::Toggleable &, void)
DECL_LINK(ScaleWidthModifyHdl_Impl, weld::MetricSpinButton &, void)
std::unique_ptr< weld::RadioButton > m_xNormalPosBtn
Definition: chardlg.hxx:252
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: chardlg.cxx:2634
void FontModifyHdl_Impl()
Definition: chardlg.cxx:2558
std::unique_ptr< weld::RadioButton > m_x90degRB
Definition: chardlg.hxx:265
std::unique_ptr< weld::CheckButton > m_xFitToLineCB
Definition: chardlg.hxx:267
sal_uInt16 m_nScaleWidthInitialVal
Definition: chardlg.hxx:246
std::unique_ptr< weld::RadioButton > m_xLowPosBtn
Definition: chardlg.hxx:253
std::unique_ptr< weld::Label > m_xHighLowFT
Definition: chardlg.hxx:254
virtual void Reset(const SfxItemSet *rSet) override
Definition: chardlg.cxx:2646
virtual void ChangesApplied() override
Definition: chardlg.cxx:2868
std::unique_ptr< weld::Label > m_xScalingAndRotationFT
Definition: chardlg.hxx:263
std::unique_ptr< weld::Widget > m_xRotationContainer
Definition: chardlg.hxx:260
std::unique_ptr< weld::MetricSpinButton > m_xScaleWidthMF
Definition: chardlg.hxx:269
std::unique_ptr< weld::RadioButton > m_x0degRB
Definition: chardlg.hxx:264
std::unique_ptr< weld::MetricSpinButton > m_xHighLowMF
Definition: chardlg.hxx:255
virtual void FillUserData() override
Definition: chardlg.cxx:3002
std::unique_ptr< weld::MetricSpinButton > m_xKerningMF
Definition: chardlg.hxx:271
DECL_LINK(RotationHdl_Impl, weld::Toggleable &, void)
void SetEscapement_Impl(SvxEscapement nEsc)
Definition: chardlg.cxx:2489
SvxCharPositionPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: chardlg.cxx:2412
static WhichRangesContainer GetRanges()
Definition: chardlg.hxx:295
sal_uInt16 m_nScaleWidthItemSetVal
Definition: chardlg.hxx:245
sal_uInt8 m_nSuperProp
Definition: chardlg.hxx:248
void UpdatePreview_Impl(sal_uInt8 nProp, sal_uInt8 nEscProp, short nEsc)
Definition: chardlg.cxx:2483
virtual void Reset(const SfxItemSet *rSet) override
Definition: chardlg.cxx:3166
static WhichRangesContainer GetRanges()
Definition: chardlg.hxx:334
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
Definition: chardlg.cxx:3161
std::unique_ptr< weld::TreeView > m_xStartBracketLB
Definition: chardlg.hxx:315
void SetBracket(sal_Unicode cBracket, bool bStart)
Definition: chardlg.cxx:3089
void SelectCharacter(weld::TreeView *pBox)
Definition: chardlg.cxx:3071
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: chardlg.cxx:3230
sal_uInt16 m_nStartBracketPosition
Definition: chardlg.hxx:310
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: chardlg.cxx:3188
virtual ~SvxCharTwoLinesPage() override
Definition: chardlg.cxx:3048
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: chardlg.cxx:3154
std::unique_ptr< weld::CheckButton > m_xTwoLinesBtn
Definition: chardlg.hxx:313
void UpdatePreview_Impl()
Definition: chardlg.cxx:3219
DECL_LINK(TwoLinesHdl_Impl, weld::Toggleable &, void)
sal_uInt16 m_nEndBracketPosition
Definition: chardlg.hxx:311
std::unique_ptr< weld::TreeView > m_xEndBracketLB
Definition: chardlg.hxx:316
std::unique_ptr< weld::Widget > m_xEnclosingFrame
Definition: chardlg.hxx:314
virtual void ActivatePage(const SfxItemSet &rSet) override
Definition: chardlg.cxx:3149
DECL_LINK(CharacterMapHdl_Impl, weld::TreeView &, void)
SvxCharTwoLinesPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: chardlg.cxx:3027
static const WhichRangesContainer pTwoLinesRanges
Definition: chardlg.hxx:309
SvxEscapement
SvxCaseMap
DeactivateRC
unsigned char sal_uInt8
sal_uInt16 sal_Unicode