LibreOffice Module cui (master) 1
paragrph.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 <sfx2/tabdlg.hxx>
22#include <svx/relfld.hxx>
23#include <svx/paraprev.hxx>
24#include <svx/frmdirlbox.hxx>
25
27
28// class SvxStdParagraphTabPage ------------------------------------------
29/*
30 [Description]
31 With this TabPage standard attributes of a paragraph can be set
32 (indention, distance, alignment, line spacing).
33
34 [Items]
35 <SvxAdjustItem><SID_ATTR_PARA_ADJUST>
36 <SvxLineSpacingItem><SID_ATTR_PARA_LINESPACE>
37 <SvxULSpaceItem><SID_ATTR_ULSPACE>
38 <SvxLRSpaceItem><SID_ATTR_LRSPACE>
39*/
40
42{
44
45private:
49 OUString sAbsDist;
50
52
53 // indention
54 std::unique_ptr<SvxRelativeField> m_xLeftIndent;
55
56 std::unique_ptr<weld::Label> m_xRightLabel;
57 std::unique_ptr<SvxRelativeField> m_xRightIndent;
58
59 std::unique_ptr<weld::Label> m_xFLineLabel;
60 std::unique_ptr<SvxRelativeField> m_xFLineIndent;
61 std::unique_ptr<weld::CheckButton> m_xAutoCB;
62
63 // distance
64 std::unique_ptr<SvxRelativeField> m_xTopDist;
65 std::unique_ptr<SvxRelativeField> m_xBottomDist;
66 std::unique_ptr<weld::CheckButton> m_xContextualCB;
67
68 // line spacing
69 std::unique_ptr<weld::ComboBox> m_xLineDist;
70 std::unique_ptr<weld::MetricSpinButton> m_xLineDistAtPercentBox;
71 std::unique_ptr<weld::MetricSpinButton> m_xLineDistAtMetricBox;
72 std::unique_ptr<weld::Label> m_xLineDistAtLabel;
73 std::unique_ptr<weld::Label> m_xAbsDist;
74
75 // only writer
76 std::unique_ptr<weld::CheckButton> m_xRegisterCB;
77
78 // preview
79 std::unique_ptr<weld::CustomWeld> m_xExampleWin;
80
81 void SetLineSpacing_Impl( const SvxLineSpacingItem& rAttr );
82 void Init_Impl();
83 void UpdateExample_Impl();
84 void ELRLoseFocus();
85
86 DECL_LINK(LineDistPopupHdl_Impl, weld::ComboBox&, void);
87 DECL_LINK(LineDistHdl_Impl, weld::ComboBox&, void);
88 DECL_LINK(ModifyHdl_Impl, weld::MetricSpinButton&, void);
89 DECL_LINK(AutoHdl_Impl, weld::Toggleable&, void);
90
91 bool m_bLineDistToggled = false;
92
93protected:
94 virtual void ActivatePage( const SfxItemSet& rSet ) override;
95 virtual DeactivateRC DeactivatePage( SfxItemSet* pSet ) override;
96
97
98public:
100 static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rSet );
101 virtual ~SvxStdParagraphTabPage() override;
102
103 DECL_LINK(ELRLoseFocusHdl, weld::MetricSpinButton&, void);
104
106
107 virtual bool FillItemSet( SfxItemSet* rSet ) override;
108 virtual void Reset( const SfxItemSet* rSet ) override;
109 virtual void ChangesApplied() override;
110
111 void EnableRelativeMode();
112 void EnableRegisterMode();
114 void EnableAutoFirstLine();
115 void EnableAbsLineDist(tools::Long nMinTwip);
116 void EnableNegativeMode();
117 virtual void PageCreated(const SfxAllItemSet& aSet) override;
118};
119
120// class SvxParaAlignTabPage ------------------------------------------------
121
123{
125
127
128 // alignment
129 std::unique_ptr<weld::RadioButton> m_xLeft;
130 std::unique_ptr<weld::RadioButton> m_xRight;
131 std::unique_ptr<weld::RadioButton> m_xCenter;
132 std::unique_ptr<weld::RadioButton> m_xJustify;
133 std::unique_ptr<weld::Label> m_xLeftBottom;
134 std::unique_ptr<weld::Label> m_xRightTop;
135
136 std::unique_ptr<weld::Label> m_xLastLineFT;
137 std::unique_ptr<weld::ComboBox> m_xLastLineLB;
138 std::unique_ptr<weld::CheckButton> m_xExpandCB;
139
140 std::unique_ptr<weld::CheckButton> m_xSnapToGridCB;
141
142 //preview
143 std::unique_ptr<weld::CustomWeld> m_xExampleWin;
144 //vertical alignment
145 std::unique_ptr<weld::Widget> m_xVertAlignFL;
146 std::unique_ptr<weld::ComboBox> m_xVertAlignLB;
147
148 std::unique_ptr<weld::Widget> m_xPropertiesFL;
149 std::unique_ptr<svx::FrameDirectionListBox> m_xTextDirectionLB;
150
151 DECL_LINK(AlignHdl_Impl, weld::Toggleable&, void);
152 DECL_LINK(LastLineHdl_Impl, weld::ComboBox&, void);
153 DECL_LINK(TextDirectionHdl_Impl, weld::ComboBox&, void);
154
155 void UpdateExample_Impl();
156
157protected:
158 virtual void ActivatePage( const SfxItemSet& rSet ) override;
159 virtual DeactivateRC DeactivatePage( SfxItemSet* pSet ) override;
160
161public:
162 SvxParaAlignTabPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet);
163 static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rSet );
164 virtual ~SvxParaAlignTabPage() override;
165
167
168 virtual bool FillItemSet( SfxItemSet* rSet ) override;
169 virtual void Reset( const SfxItemSet* rSet ) override;
170 virtual void ChangesApplied() override;
171
172 void EnableJustifyExt();
173 virtual void PageCreated(const SfxAllItemSet& aSet) override;
174};
175
176// class SvxExtParagraphTabPage ------------------------------------------
177/*
178 [Description]
179 With this TabPage special attributes of a paragraph can be set
180 (hyphenation, pagebreak, orphan, widow, ...).
181
182 [Items]
183 <SvxHyphenZoneItem><SID_ATTR_PARA_HYPHENZONE>
184 <SvxFormatBreakItem><SID_ATTR_PARA_PAGEBREAK>
185 <SvxFormatSplitItem><SID_ATTR_PARA_SPLIT>
186 <SvxWidowsItem><SID_ATTR_PARA_WIDOWS>
187 <SvxOrphansItem><SID_ATTR_PARA_ORPHANS>
188*/
189
191{
193
194public:
196 static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController,
197 const SfxItemSet* rSet );
198 virtual ~SvxExtParagraphTabPage() override;
199
201
202 virtual bool FillItemSet( SfxItemSet* rSet ) override;
203 virtual void Reset( const SfxItemSet* rSet ) override;
204 virtual void ChangesApplied() override;
205
206 void DisablePageBreak();
207
208protected:
209 virtual DeactivateRC DeactivatePage( SfxItemSet* pSet ) override;
210
211private:
220
223 sal_uInt16 nStdPos;
224
225 // hyphenation
226 std::unique_ptr<weld::CheckButton> m_xHyphenBox;
227 std::unique_ptr<weld::CheckButton> m_xHyphenNoCapsBox;
228 std::unique_ptr<weld::CheckButton> m_xHyphenNoLastWordBox;
229 std::unique_ptr<weld::Label> m_xBeforeText;
230 std::unique_ptr<weld::SpinButton> m_xExtHyphenBeforeBox;
231 std::unique_ptr<weld::Label> m_xAfterText;
232 std::unique_ptr<weld::SpinButton> m_xExtHyphenAfterBox;
233 std::unique_ptr<weld::Label> m_xMaxHyphenLabel;
234 std::unique_ptr<weld::SpinButton> m_xMaxHyphenEdit;
235 std::unique_ptr<weld::Label> m_xMinWordLabel;
236 std::unique_ptr<weld::SpinButton> m_xMinWordLength;
237 std::unique_ptr<weld::Label> m_xHyphenZoneLabel;
238 std::unique_ptr<SvxRelativeField> m_xHyphenZone;
239
240 // pagebreak
241 std::unique_ptr<weld::CheckButton> m_xPageBreakBox;
242 std::unique_ptr<weld::Label> m_xBreakTypeFT;
243 std::unique_ptr<weld::ComboBox> m_xBreakTypeLB;
244 std::unique_ptr<weld::Label> m_xBreakPositionFT;
245 std::unique_ptr<weld::ComboBox> m_xBreakPositionLB;
246 std::unique_ptr<weld::CheckButton> m_xApplyCollBtn;
247 std::unique_ptr<weld::ComboBox> m_xApplyCollBox;
248 std::unique_ptr<weld::CheckButton> m_xPageNumBox;
249 std::unique_ptr<weld::SpinButton> m_xPagenumEdit;
250
251 // paragraph division
252 std::unique_ptr<weld::CheckButton> m_xKeepTogetherBox;
253 std::unique_ptr<weld::CheckButton> m_xKeepParaBox;
254
255 // orphan/widow
256 std::unique_ptr<weld::CheckButton> m_xOrphanBox;
257 std::unique_ptr<weld::SpinButton> m_xOrphanRowNo;
258 std::unique_ptr<weld::Label> m_xOrphanRowLabel;
259
260 std::unique_ptr<weld::CheckButton> m_xWidowBox;
261 std::unique_ptr<weld::SpinButton> m_xWidowRowNo;
262 std::unique_ptr<weld::Label> m_xWidowRowLabel;
263
264 void HyphenClickHdl();
265 void PageNumBoxClickHdl();
266 void ApplyCollClickHdl();
267 void PageBreakHdl();
268 void KeepTogetherHdl();
269 void OrphanHdl();
270 void WidowHdl();
271
272 DECL_LINK(PageBreakHdl_Impl, weld::Toggleable&, void);
273 DECL_LINK(KeepTogetherHdl_Impl, weld::Toggleable&, void);
274 DECL_LINK(WidowHdl_Impl, weld::Toggleable&, void);
275 DECL_LINK(OrphanHdl_Impl, weld::Toggleable&, void);
276 DECL_LINK(HyphenClickHdl_Impl, weld::Toggleable&, void);
277 DECL_LINK(ApplyCollClickHdl_Impl, weld::Toggleable&, void);
278 DECL_LINK(PageBreakPosHdl_Impl, weld::ComboBox&, void);
279 DECL_LINK(PageBreakTypeHdl_Impl, weld::ComboBox&, void);
280 DECL_LINK(PageNumBoxClickHdl_Impl, weld::Toggleable&, void);
281 DECL_LINK(KeepParaBoxClickHdl_Impl, weld::Toggleable&, void);
282
283 virtual void PageCreated(const SfxAllItemSet& aSet) override;
284};
285
287{
288 std::unique_ptr<weld::CheckButton> m_xForbiddenRulesCB;
289 std::unique_ptr<weld::CheckButton> m_xHangingPunctCB;
290 std::unique_ptr<weld::CheckButton> m_xScriptSpaceCB;
291
292public:
293 SvxAsianTabPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet);
294 static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rSet);
295 virtual ~SvxAsianTabPage() override;
296
298
299 virtual bool FillItemSet( SfxItemSet* rSet ) override;
300 virtual void Reset( const SfxItemSet* rSet ) override;
301 virtual void ChangesApplied() override;
302};
303
304
305/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
const SfxItemSet * pSet
virtual void Reset(const SfxItemSet *rSet) override
Definition: paragrph.cxx:2316
std::unique_ptr< weld::CheckButton > m_xHangingPunctCB
Definition: paragrph.hxx:289
virtual ~SvxAsianTabPage() override
Definition: paragrph.cxx:2258
static WhichRangesContainer GetRanges()
Definition: paragrph.cxx:2267
virtual void ChangesApplied() override
Definition: paragrph.cxx:2325
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
Definition: paragrph.cxx:2262
std::unique_ptr< weld::CheckButton > m_xScriptSpaceCB
Definition: paragrph.hxx:290
std::unique_ptr< weld::CheckButton > m_xForbiddenRulesCB
Definition: paragrph.hxx:288
SvxAsianTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: paragrph.cxx:2250
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: paragrph.cxx:2272
std::unique_ptr< weld::SpinButton > m_xWidowRowNo
Definition: paragrph.hxx:261
DECL_LINK(KeepTogetherHdl_Impl, weld::Toggleable &, void)
DECL_LINK(PageBreakPosHdl_Impl, weld::ComboBox &, void)
weld::TriStateEnabled aKeepTogetherState
Definition: paragrph.hxx:216
SvxExtParagraphTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: paragrph.cxx:1921
weld::TriStateEnabled aHyphenState
Definition: paragrph.hxx:212
std::unique_ptr< weld::ComboBox > m_xApplyCollBox
Definition: paragrph.hxx:247
std::unique_ptr< weld::CheckButton > m_xHyphenNoLastWordBox
Definition: paragrph.hxx:228
std::unique_ptr< weld::Label > m_xBreakPositionFT
Definition: paragrph.hxx:244
static WhichRangesContainer GetRanges()
Definition: paragrph.hxx:200
weld::TriStateEnabled aApplyCollState
Definition: paragrph.hxx:214
DECL_LINK(HyphenClickHdl_Impl, weld::Toggleable &, void)
DECL_LINK(ApplyCollClickHdl_Impl, weld::Toggleable &, void)
std::unique_ptr< weld::CheckButton > m_xWidowBox
Definition: paragrph.hxx:260
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
Definition: paragrph.cxx:1340
std::unique_ptr< weld::SpinButton > m_xOrphanRowNo
Definition: paragrph.hxx:257
DECL_LINK(PageBreakTypeHdl_Impl, weld::ComboBox &, void)
static const WhichRangesContainer pExtRanges
Definition: paragrph.hxx:192
std::unique_ptr< SvxRelativeField > m_xHyphenZone
Definition: paragrph.hxx:238
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: paragrph.cxx:1345
std::unique_ptr< weld::Label > m_xAfterText
Definition: paragrph.hxx:231
std::unique_ptr< weld::Label > m_xHyphenZoneLabel
Definition: paragrph.hxx:237
weld::TriStateEnabled aPageNumState
Definition: paragrph.hxx:215
weld::TriStateEnabled aKeepParaState
Definition: paragrph.hxx:217
std::unique_ptr< weld::CheckButton > m_xKeepTogetherBox
Definition: paragrph.hxx:252
std::unique_ptr< weld::Label > m_xMinWordLabel
Definition: paragrph.hxx:235
std::unique_ptr< weld::ComboBox > m_xBreakPositionLB
Definition: paragrph.hxx:245
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: paragrph.cxx:2241
std::unique_ptr< weld::CheckButton > m_xPageBreakBox
Definition: paragrph.hxx:241
std::unique_ptr< weld::SpinButton > m_xMaxHyphenEdit
Definition: paragrph.hxx:234
weld::TriStateEnabled aPageBreakState
Definition: paragrph.hxx:213
std::unique_ptr< weld::CheckButton > m_xHyphenNoCapsBox
Definition: paragrph.hxx:227
std::unique_ptr< weld::SpinButton > m_xPagenumEdit
Definition: paragrph.hxx:249
weld::TriStateEnabled aWidowState
Definition: paragrph.hxx:219
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: paragrph.cxx:1901
DECL_LINK(WidowHdl_Impl, weld::Toggleable &, void)
std::unique_ptr< weld::Label > m_xWidowRowLabel
Definition: paragrph.hxx:262
weld::TriStateEnabled aOrphanState
Definition: paragrph.hxx:218
std::unique_ptr< weld::CheckButton > m_xKeepParaBox
Definition: paragrph.hxx:253
std::unique_ptr< weld::CheckButton > m_xOrphanBox
Definition: paragrph.hxx:256
std::unique_ptr< weld::SpinButton > m_xExtHyphenAfterBox
Definition: paragrph.hxx:232
DECL_LINK(OrphanHdl_Impl, weld::Toggleable &, void)
std::unique_ptr< weld::SpinButton > m_xMinWordLength
Definition: paragrph.hxx:236
std::unique_ptr< weld::SpinButton > m_xExtHyphenBeforeBox
Definition: paragrph.hxx:230
std::unique_ptr< weld::CheckButton > m_xHyphenBox
Definition: paragrph.hxx:226
std::unique_ptr< weld::Label > m_xBreakTypeFT
Definition: paragrph.hxx:242
virtual void Reset(const SfxItemSet *rSet) override
Definition: paragrph.cxx:1566
DECL_LINK(PageNumBoxClickHdl_Impl, weld::Toggleable &, void)
std::unique_ptr< weld::Label > m_xBeforeText
Definition: paragrph.hxx:229
DECL_LINK(KeepParaBoxClickHdl_Impl, weld::Toggleable &, void)
virtual ~SvxExtParagraphTabPage() override
Definition: paragrph.cxx:2018
std::unique_ptr< weld::CheckButton > m_xPageNumBox
Definition: paragrph.hxx:248
std::unique_ptr< weld::ComboBox > m_xBreakTypeLB
Definition: paragrph.hxx:243
DECL_LINK(PageBreakHdl_Impl, weld::Toggleable &, void)
std::unique_ptr< weld::Label > m_xOrphanRowLabel
Definition: paragrph.hxx:258
std::unique_ptr< weld::Label > m_xMaxHyphenLabel
Definition: paragrph.hxx:233
std::unique_ptr< weld::CheckButton > m_xApplyCollBtn
Definition: paragrph.hxx:246
virtual void ChangesApplied() override
Definition: paragrph.cxx:1872
std::unique_ptr< weld::Label > m_xLastLineFT
Definition: paragrph.hxx:136
virtual void ActivatePage(const SfxItemSet &rSet) override
Definition: paragrph.cxx:1125
std::unique_ptr< weld::ComboBox > m_xVertAlignLB
Definition: paragrph.hxx:146
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: paragrph.cxx:1333
std::unique_ptr< weld::Label > m_xLeftBottom
Definition: paragrph.hxx:133
std::unique_ptr< svx::FrameDirectionListBox > m_xTextDirectionLB
Definition: paragrph.hxx:149
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
Definition: paragrph.cxx:1044
SvxParaPrevWindow m_aExampleWin
Definition: paragrph.hxx:126
std::unique_ptr< weld::RadioButton > m_xCenter
Definition: paragrph.hxx:131
static WhichRangesContainer GetRanges()
Definition: paragrph.hxx:166
std::unique_ptr< weld::Widget > m_xPropertiesFL
Definition: paragrph.hxx:148
SvxParaAlignTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: paragrph.cxx:977
DECL_LINK(AlignHdl_Impl, weld::Toggleable &, void)
virtual void ChangesApplied() override
Definition: paragrph.cxx:1227
virtual ~SvxParaAlignTabPage() override
Definition: paragrph.cxx:1033
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: paragrph.cxx:1049
std::unique_ptr< weld::CheckButton > m_xExpandCB
Definition: paragrph.hxx:138
std::unique_ptr< weld::RadioButton > m_xJustify
Definition: paragrph.hxx:132
DECL_LINK(TextDirectionHdl_Impl, weld::ComboBox &, void)
DECL_LINK(LastLineHdl_Impl, weld::ComboBox &, void)
std::unique_ptr< weld::RadioButton > m_xLeft
Definition: paragrph.hxx:129
static const WhichRangesContainer pAlignRanges
Definition: paragrph.hxx:124
virtual void Reset(const SfxItemSet *rSet) override
Definition: paragrph.cxx:1130
std::unique_ptr< weld::RadioButton > m_xRight
Definition: paragrph.hxx:130
std::unique_ptr< weld::CustomWeld > m_xExampleWin
Definition: paragrph.hxx:143
std::unique_ptr< weld::Label > m_xRightTop
Definition: paragrph.hxx:134
std::unique_ptr< weld::ComboBox > m_xLastLineLB
Definition: paragrph.hxx:137
std::unique_ptr< weld::Widget > m_xVertAlignFL
Definition: paragrph.hxx:145
std::unique_ptr< weld::CheckButton > m_xSnapToGridCB
Definition: paragrph.hxx:140
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: paragrph.cxx:1037
std::unique_ptr< weld::CheckButton > m_xRegisterCB
Definition: paragrph.hxx:76
std::unique_ptr< weld::CheckButton > m_xAutoCB
Definition: paragrph.hxx:61
std::unique_ptr< SvxRelativeField > m_xRightIndent
Definition: paragrph.hxx:57
tools::Long nMinFixDist
Definition: paragrph.hxx:47
std::unique_ptr< weld::Label > m_xLineDistAtLabel
Definition: paragrph.hxx:72
std::unique_ptr< SvxRelativeField > m_xBottomDist
Definition: paragrph.hxx:65
std::unique_ptr< weld::Label > m_xRightLabel
Definition: paragrph.hxx:56
DECL_LINK(AutoHdl_Impl, weld::Toggleable &, void)
std::unique_ptr< weld::Label > m_xFLineLabel
Definition: paragrph.hxx:59
std::unique_ptr< SvxRelativeField > m_xLeftIndent
Definition: paragrph.hxx:54
std::unique_ptr< weld::CustomWeld > m_xExampleWin
Definition: paragrph.hxx:79
static WhichRangesContainer GetRanges()
Definition: paragrph.hxx:105
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: paragrph.cxx:204
std::unique_ptr< SvxRelativeField > m_xFLineIndent
Definition: paragrph.hxx:60
std::unique_ptr< weld::MetricSpinButton > m_xLineDistAtMetricBox
Definition: paragrph.hxx:71
std::unique_ptr< SvxRelativeField > m_xTopDist
Definition: paragrph.hxx:64
virtual ~SvxStdParagraphTabPage() override
Definition: paragrph.cxx:690
virtual void Reset(const SfxItemSet *rSet) override
Definition: paragrph.cxx:403
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: paragrph.cxx:929
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
Definition: paragrph.cxx:199
void SetLineSpacing_Impl(const SvxLineSpacingItem &rAttr)
Definition: paragrph.cxx:703
void EnableAbsLineDist(tools::Long nMinTwip)
Definition: paragrph.cxx:923
std::unique_ptr< weld::CheckButton > m_xContextualCB
Definition: paragrph.hxx:66
SvxParaPrevWindow m_aExampleWin
Definition: paragrph.hxx:51
DECL_LINK(LineDistPopupHdl_Impl, weld::ComboBox &, void)
DECL_LINK(ModifyHdl_Impl, weld::MetricSpinButton &, void)
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: paragrph.cxx:648
virtual void ActivatePage(const SfxItemSet &rSet) override
Definition: paragrph.cxx:611
std::unique_ptr< weld::Label > m_xAbsDist
Definition: paragrph.hxx:73
static const WhichRangesContainer pStdRanges
Definition: paragrph.hxx:43
DECL_LINK(ELRLoseFocusHdl, weld::MetricSpinButton &, void)
DECL_LINK(LineDistHdl_Impl, weld::ComboBox &, void)
virtual void ChangesApplied() override
Definition: paragrph.cxx:584
std::unique_ptr< weld::MetricSpinButton > m_xLineDistAtPercentBox
Definition: paragrph.hxx:70
SvxStdParagraphTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: paragrph.cxx:657
tools::Long nWidth
Definition: paragrph.hxx:46
std::unique_ptr< weld::ComboBox > m_xLineDist
Definition: paragrph.hxx:69
long Long
DeactivateRC