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<SvxRelativeField> m_xRightIndent;
57
58 std::unique_ptr<weld::Label> m_xFLineLabel;
59 std::unique_ptr<SvxRelativeField> m_xFLineIndent;
60 std::unique_ptr<weld::CheckButton> m_xAutoCB;
61
62 // distance
63 std::unique_ptr<SvxRelativeField> m_xTopDist;
64 std::unique_ptr<SvxRelativeField> m_xBottomDist;
65 std::unique_ptr<weld::CheckButton> m_xContextualCB;
66
67 // line spacing
68 std::unique_ptr<weld::ComboBox> m_xLineDist;
69 std::unique_ptr<weld::MetricSpinButton> m_xLineDistAtPercentBox;
70 std::unique_ptr<weld::MetricSpinButton> m_xLineDistAtMetricBox;
71 std::unique_ptr<weld::Label> m_xLineDistAtLabel;
72 std::unique_ptr<weld::Label> m_xAbsDist;
73
74 // only writer
75 std::unique_ptr<weld::CheckButton> m_xRegisterCB;
76
77 // preview
78 std::unique_ptr<weld::CustomWeld> m_xExampleWin;
79
80 void SetLineSpacing_Impl( const SvxLineSpacingItem& rAttr );
81 void Init_Impl();
82 void UpdateExample_Impl();
83 void ELRLoseFocus();
84
85 DECL_LINK(LineDistPopupHdl_Impl, weld::ComboBox&, void);
86 DECL_LINK(LineDistHdl_Impl, weld::ComboBox&, void);
87 DECL_LINK(ModifyHdl_Impl, weld::MetricSpinButton&, void);
88 DECL_LINK(AutoHdl_Impl, weld::Toggleable&, void);
89
90 bool m_bLineDistToggled = false;
91
92protected:
93 virtual void ActivatePage( const SfxItemSet& rSet ) override;
94 virtual DeactivateRC DeactivatePage( SfxItemSet* pSet ) override;
95
96
97public:
99 static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rSet );
100 virtual ~SvxStdParagraphTabPage() override;
101
102 DECL_LINK(ELRLoseFocusHdl, weld::MetricSpinButton&, void);
103
105
106 virtual bool FillItemSet( SfxItemSet* rSet ) override;
107 virtual void Reset( const SfxItemSet* rSet ) override;
108 virtual void ChangesApplied() override;
109
110 void EnableRelativeMode();
111 void EnableRegisterMode();
113 void EnableAutoFirstLine();
114 void EnableAbsLineDist(tools::Long nMinTwip);
115 void EnableNegativeMode();
116 virtual void PageCreated(const SfxAllItemSet& aSet) override;
117};
118
119// class SvxParaAlignTabPage ------------------------------------------------
120
122{
124
126
128
129 // alignment
130 std::unique_ptr<weld::RadioButton> m_xLeft;
131 std::unique_ptr<weld::RadioButton> m_xRight;
132 std::unique_ptr<weld::RadioButton> m_xCenter;
133 std::unique_ptr<weld::RadioButton> m_xJustify;
134 std::unique_ptr<weld::Label> m_xLeftBottom;
135 std::unique_ptr<weld::Label> m_xRightTop;
136
137 std::unique_ptr<weld::Label> m_xLastLineFT;
138 std::unique_ptr<weld::ComboBox> m_xLastLineLB;
139 std::unique_ptr<weld::CheckButton> m_xExpandCB;
140
141 std::unique_ptr<weld::CheckButton> m_xSnapToGridCB;
142
143 //preview
144 std::unique_ptr<weld::CustomWeld> m_xExampleWin;
145 //vertical alignment
146 std::unique_ptr<weld::Widget> m_xVertAlignFL;
147 std::unique_ptr<weld::ComboBox> m_xVertAlignLB;
148 std::unique_ptr<weld::Label> m_xVertAlign;
149 std::unique_ptr<weld::Label> m_xVertAlignSdr;
150
151 std::unique_ptr<svx::FrameDirectionListBox> m_xTextDirectionLB;
152
153 DECL_LINK(AlignHdl_Impl, weld::Toggleable&, void);
154 DECL_LINK(LastLineHdl_Impl, weld::ComboBox&, void);
155 DECL_LINK(TextDirectionHdl_Impl, weld::ComboBox&, void);
156
157 void UpdateExample_Impl();
158
159protected:
160 virtual void ActivatePage( const SfxItemSet& rSet ) override;
161 virtual DeactivateRC DeactivatePage( SfxItemSet* pSet ) override;
162
163public:
164 SvxParaAlignTabPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet);
165 static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rSet );
166 virtual ~SvxParaAlignTabPage() override;
167
170
171 virtual bool FillItemSet( SfxItemSet* rSet ) override;
172 virtual void Reset( const SfxItemSet* rSet ) override;
173 virtual void ChangesApplied() override;
174
175 void EnableJustifyExt();
176 void EnableSdrVertAlign();
177 virtual void PageCreated(const SfxAllItemSet& aSet) override;
178};
179
180// class SvxExtParagraphTabPage ------------------------------------------
181/*
182 [Description]
183 With this TabPage special attributes of a paragraph can be set
184 (hyphenation, pagebreak, orphan, widow, ...).
185
186 [Items]
187 <SvxHyphenZoneItem><SID_ATTR_PARA_HYPHENZONE>
188 <SvxFormatBreakItem><SID_ATTR_PARA_PAGEBREAK>
189 <SvxFormatSplitItem><SID_ATTR_PARA_SPLIT>
190 <SvxWidowsItem><SID_ATTR_PARA_WIDOWS>
191 <SvxOrphansItem><SID_ATTR_PARA_ORPHANS>
192*/
193
195{
197
198public:
200 static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController,
201 const SfxItemSet* rSet );
202 virtual ~SvxExtParagraphTabPage() override;
203
205
206 virtual bool FillItemSet( SfxItemSet* rSet ) override;
207 virtual void Reset( const SfxItemSet* rSet ) override;
208 virtual void ChangesApplied() override;
209
210 void DisablePageBreak();
211
212protected:
213 virtual DeactivateRC DeactivatePage( SfxItemSet* pSet ) override;
214
215private:
224
227 sal_uInt16 nStdPos;
228
229 // hyphenation
230 std::unique_ptr<weld::CheckButton> m_xHyphenBox;
231 std::unique_ptr<weld::CheckButton> m_xHyphenNoCapsBox;
232 std::unique_ptr<weld::CheckButton> m_xHyphenNoLastWordBox;
233 std::unique_ptr<weld::Label> m_xBeforeText;
234 std::unique_ptr<weld::SpinButton> m_xExtHyphenBeforeBox;
235 std::unique_ptr<weld::Label> m_xAfterText;
236 std::unique_ptr<weld::SpinButton> m_xExtHyphenAfterBox;
237 std::unique_ptr<weld::Label> m_xMaxHyphenLabel;
238 std::unique_ptr<weld::SpinButton> m_xMaxHyphenEdit;
239 std::unique_ptr<weld::Label> m_xMinWordLabel;
240 std::unique_ptr<weld::SpinButton> m_xMinWordLength;
241 std::unique_ptr<weld::Label> m_xHyphenZoneLabel;
242 std::unique_ptr<SvxRelativeField> m_xHyphenZone;
243
244 // pagebreak
245 std::unique_ptr<weld::CheckButton> m_xPageBreakBox;
246 std::unique_ptr<weld::Label> m_xBreakTypeFT;
247 std::unique_ptr<weld::ComboBox> m_xBreakTypeLB;
248 std::unique_ptr<weld::Label> m_xBreakPositionFT;
249 std::unique_ptr<weld::ComboBox> m_xBreakPositionLB;
250 std::unique_ptr<weld::CheckButton> m_xApplyCollBtn;
251 std::unique_ptr<weld::ComboBox> m_xApplyCollBox;
252 std::unique_ptr<weld::CheckButton> m_xPageNumBox;
253 std::unique_ptr<weld::SpinButton> m_xPagenumEdit;
254
255 // paragraph division
256 std::unique_ptr<weld::CheckButton> m_xKeepTogetherBox;
257 std::unique_ptr<weld::CheckButton> m_xKeepParaBox;
258
259 // orphan/widow
260 std::unique_ptr<weld::CheckButton> m_xOrphanBox;
261 std::unique_ptr<weld::SpinButton> m_xOrphanRowNo;
262 std::unique_ptr<weld::Label> m_xOrphanRowLabel;
263
264 std::unique_ptr<weld::CheckButton> m_xWidowBox;
265 std::unique_ptr<weld::SpinButton> m_xWidowRowNo;
266 std::unique_ptr<weld::Label> m_xWidowRowLabel;
267
268 void HyphenClickHdl();
269 void PageNumBoxClickHdl();
270 void ApplyCollClickHdl();
271 void PageBreakHdl();
272 void KeepTogetherHdl();
273 void OrphanHdl();
274 void WidowHdl();
275
276 DECL_LINK(PageBreakHdl_Impl, weld::Toggleable&, void);
277 DECL_LINK(KeepTogetherHdl_Impl, weld::Toggleable&, void);
278 DECL_LINK(WidowHdl_Impl, weld::Toggleable&, void);
279 DECL_LINK(OrphanHdl_Impl, weld::Toggleable&, void);
280 DECL_LINK(HyphenClickHdl_Impl, weld::Toggleable&, void);
281 DECL_LINK(ApplyCollClickHdl_Impl, weld::Toggleable&, void);
282 DECL_LINK(PageBreakPosHdl_Impl, weld::ComboBox&, void);
283 DECL_LINK(PageBreakTypeHdl_Impl, weld::ComboBox&, void);
284 DECL_LINK(PageNumBoxClickHdl_Impl, weld::Toggleable&, void);
285 DECL_LINK(KeepParaBoxClickHdl_Impl, weld::Toggleable&, void);
286
287 virtual void PageCreated(const SfxAllItemSet& aSet) override;
288};
289
291{
292 std::unique_ptr<weld::CheckButton> m_xForbiddenRulesCB;
293 std::unique_ptr<weld::CheckButton> m_xHangingPunctCB;
294 std::unique_ptr<weld::CheckButton> m_xScriptSpaceCB;
295
296public:
297 SvxAsianTabPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet);
298 static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rSet);
299 virtual ~SvxAsianTabPage() override;
300
302
303 virtual bool FillItemSet( SfxItemSet* rSet ) override;
304 virtual void Reset( const SfxItemSet* rSet ) override;
305 virtual void ChangesApplied() override;
306};
307
308
309/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
const SfxItemSet * pSet
virtual void Reset(const SfxItemSet *rSet) override
Definition: paragrph.cxx:2344
std::unique_ptr< weld::CheckButton > m_xHangingPunctCB
Definition: paragrph.hxx:293
virtual ~SvxAsianTabPage() override
Definition: paragrph.cxx:2286
static WhichRangesContainer GetRanges()
Definition: paragrph.cxx:2295
virtual void ChangesApplied() override
Definition: paragrph.cxx:2353
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
Definition: paragrph.cxx:2290
std::unique_ptr< weld::CheckButton > m_xScriptSpaceCB
Definition: paragrph.hxx:294
std::unique_ptr< weld::CheckButton > m_xForbiddenRulesCB
Definition: paragrph.hxx:292
SvxAsianTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: paragrph.cxx:2278
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: paragrph.cxx:2300
std::unique_ptr< weld::SpinButton > m_xWidowRowNo
Definition: paragrph.hxx:265
DECL_LINK(KeepTogetherHdl_Impl, weld::Toggleable &, void)
DECL_LINK(PageBreakPosHdl_Impl, weld::ComboBox &, void)
weld::TriStateEnabled aKeepTogetherState
Definition: paragrph.hxx:220
SvxExtParagraphTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: paragrph.cxx:1949
weld::TriStateEnabled aHyphenState
Definition: paragrph.hxx:216
std::unique_ptr< weld::ComboBox > m_xApplyCollBox
Definition: paragrph.hxx:251
std::unique_ptr< weld::CheckButton > m_xHyphenNoLastWordBox
Definition: paragrph.hxx:232
std::unique_ptr< weld::Label > m_xBreakPositionFT
Definition: paragrph.hxx:248
static WhichRangesContainer GetRanges()
Definition: paragrph.hxx:204
weld::TriStateEnabled aApplyCollState
Definition: paragrph.hxx:218
DECL_LINK(HyphenClickHdl_Impl, weld::Toggleable &, void)
DECL_LINK(ApplyCollClickHdl_Impl, weld::Toggleable &, void)
std::unique_ptr< weld::CheckButton > m_xWidowBox
Definition: paragrph.hxx:264
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
Definition: paragrph.cxx:1368
std::unique_ptr< weld::SpinButton > m_xOrphanRowNo
Definition: paragrph.hxx:261
DECL_LINK(PageBreakTypeHdl_Impl, weld::ComboBox &, void)
static const WhichRangesContainer pExtRanges
Definition: paragrph.hxx:196
std::unique_ptr< SvxRelativeField > m_xHyphenZone
Definition: paragrph.hxx:242
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: paragrph.cxx:1373
std::unique_ptr< weld::Label > m_xAfterText
Definition: paragrph.hxx:235
std::unique_ptr< weld::Label > m_xHyphenZoneLabel
Definition: paragrph.hxx:241
weld::TriStateEnabled aPageNumState
Definition: paragrph.hxx:219
weld::TriStateEnabled aKeepParaState
Definition: paragrph.hxx:221
std::unique_ptr< weld::CheckButton > m_xKeepTogetherBox
Definition: paragrph.hxx:256
std::unique_ptr< weld::Label > m_xMinWordLabel
Definition: paragrph.hxx:239
std::unique_ptr< weld::ComboBox > m_xBreakPositionLB
Definition: paragrph.hxx:249
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: paragrph.cxx:2269
std::unique_ptr< weld::CheckButton > m_xPageBreakBox
Definition: paragrph.hxx:245
std::unique_ptr< weld::SpinButton > m_xMaxHyphenEdit
Definition: paragrph.hxx:238
weld::TriStateEnabled aPageBreakState
Definition: paragrph.hxx:217
std::unique_ptr< weld::CheckButton > m_xHyphenNoCapsBox
Definition: paragrph.hxx:231
std::unique_ptr< weld::SpinButton > m_xPagenumEdit
Definition: paragrph.hxx:253
weld::TriStateEnabled aWidowState
Definition: paragrph.hxx:223
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: paragrph.cxx:1929
DECL_LINK(WidowHdl_Impl, weld::Toggleable &, void)
std::unique_ptr< weld::Label > m_xWidowRowLabel
Definition: paragrph.hxx:266
weld::TriStateEnabled aOrphanState
Definition: paragrph.hxx:222
std::unique_ptr< weld::CheckButton > m_xKeepParaBox
Definition: paragrph.hxx:257
std::unique_ptr< weld::CheckButton > m_xOrphanBox
Definition: paragrph.hxx:260
std::unique_ptr< weld::SpinButton > m_xExtHyphenAfterBox
Definition: paragrph.hxx:236
DECL_LINK(OrphanHdl_Impl, weld::Toggleable &, void)
std::unique_ptr< weld::SpinButton > m_xMinWordLength
Definition: paragrph.hxx:240
std::unique_ptr< weld::SpinButton > m_xExtHyphenBeforeBox
Definition: paragrph.hxx:234
std::unique_ptr< weld::CheckButton > m_xHyphenBox
Definition: paragrph.hxx:230
std::unique_ptr< weld::Label > m_xBreakTypeFT
Definition: paragrph.hxx:246
virtual void Reset(const SfxItemSet *rSet) override
Definition: paragrph.cxx:1594
DECL_LINK(PageNumBoxClickHdl_Impl, weld::Toggleable &, void)
std::unique_ptr< weld::Label > m_xBeforeText
Definition: paragrph.hxx:233
DECL_LINK(KeepParaBoxClickHdl_Impl, weld::Toggleable &, void)
virtual ~SvxExtParagraphTabPage() override
Definition: paragrph.cxx:2046
std::unique_ptr< weld::CheckButton > m_xPageNumBox
Definition: paragrph.hxx:252
std::unique_ptr< weld::ComboBox > m_xBreakTypeLB
Definition: paragrph.hxx:247
DECL_LINK(PageBreakHdl_Impl, weld::Toggleable &, void)
std::unique_ptr< weld::Label > m_xOrphanRowLabel
Definition: paragrph.hxx:262
std::unique_ptr< weld::Label > m_xMaxHyphenLabel
Definition: paragrph.hxx:237
std::unique_ptr< weld::CheckButton > m_xApplyCollBtn
Definition: paragrph.hxx:250
virtual void ChangesApplied() override
Definition: paragrph.cxx:1900
std::unique_ptr< weld::Label > m_xVertAlignSdr
Definition: paragrph.hxx:149
std::unique_ptr< weld::Label > m_xLastLineFT
Definition: paragrph.hxx:137
virtual void ActivatePage(const SfxItemSet &rSet) override
Definition: paragrph.cxx:1137
static WhichRangesContainer GetSdrRanges()
Definition: paragrph.hxx:169
std::unique_ptr< weld::ComboBox > m_xVertAlignLB
Definition: paragrph.hxx:147
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: paragrph.cxx:1361
std::unique_ptr< weld::Label > m_xLeftBottom
Definition: paragrph.hxx:134
std::unique_ptr< svx::FrameDirectionListBox > m_xTextDirectionLB
Definition: paragrph.hxx:151
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
Definition: paragrph.cxx:1053
SvxParaPrevWindow m_aExampleWin
Definition: paragrph.hxx:127
std::unique_ptr< weld::RadioButton > m_xCenter
Definition: paragrph.hxx:132
static WhichRangesContainer GetRanges()
Definition: paragrph.hxx:168
SvxParaAlignTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: paragrph.cxx:984
DECL_LINK(AlignHdl_Impl, weld::Toggleable &, void)
virtual void ChangesApplied() override
Definition: paragrph.cxx:1246
virtual ~SvxParaAlignTabPage() override
Definition: paragrph.cxx:1042
std::unique_ptr< weld::Label > m_xVertAlign
Definition: paragrph.hxx:148
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: paragrph.cxx:1058
std::unique_ptr< weld::CheckButton > m_xExpandCB
Definition: paragrph.hxx:139
std::unique_ptr< weld::RadioButton > m_xJustify
Definition: paragrph.hxx:133
DECL_LINK(TextDirectionHdl_Impl, weld::ComboBox &, void)
DECL_LINK(LastLineHdl_Impl, weld::ComboBox &, void)
std::unique_ptr< weld::RadioButton > m_xLeft
Definition: paragrph.hxx:130
static const WhichRangesContainer pAlignRanges
Definition: paragrph.hxx:123
static const WhichRangesContainer pSdrAlignRanges
Definition: paragrph.hxx:123
virtual void Reset(const SfxItemSet *rSet) override
Definition: paragrph.cxx:1142
std::unique_ptr< weld::RadioButton > m_xRight
Definition: paragrph.hxx:131
std::unique_ptr< weld::CustomWeld > m_xExampleWin
Definition: paragrph.hxx:144
std::unique_ptr< weld::Label > m_xRightTop
Definition: paragrph.hxx:135
std::unique_ptr< weld::ComboBox > m_xLastLineLB
Definition: paragrph.hxx:138
std::unique_ptr< weld::Widget > m_xVertAlignFL
Definition: paragrph.hxx:146
std::unique_ptr< weld::CheckButton > m_xSnapToGridCB
Definition: paragrph.hxx:141
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: paragrph.cxx:1046
std::unique_ptr< weld::CheckButton > m_xRegisterCB
Definition: paragrph.hxx:75
std::unique_ptr< weld::CheckButton > m_xAutoCB
Definition: paragrph.hxx:60
std::unique_ptr< SvxRelativeField > m_xRightIndent
Definition: paragrph.hxx:56
tools::Long nMinFixDist
Definition: paragrph.hxx:47
std::unique_ptr< weld::Label > m_xLineDistAtLabel
Definition: paragrph.hxx:71
std::unique_ptr< SvxRelativeField > m_xBottomDist
Definition: paragrph.hxx:64
DECL_LINK(AutoHdl_Impl, weld::Toggleable &, void)
std::unique_ptr< weld::Label > m_xFLineLabel
Definition: paragrph.hxx:58
std::unique_ptr< SvxRelativeField > m_xLeftIndent
Definition: paragrph.hxx:54
std::unique_ptr< weld::CustomWeld > m_xExampleWin
Definition: paragrph.hxx:78
static WhichRangesContainer GetRanges()
Definition: paragrph.hxx:104
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: paragrph.cxx:212
std::unique_ptr< SvxRelativeField > m_xFLineIndent
Definition: paragrph.hxx:59
std::unique_ptr< weld::MetricSpinButton > m_xLineDistAtMetricBox
Definition: paragrph.hxx:70
std::unique_ptr< SvxRelativeField > m_xTopDist
Definition: paragrph.hxx:63
virtual ~SvxStdParagraphTabPage() override
Definition: paragrph.cxx:697
virtual void Reset(const SfxItemSet *rSet) override
Definition: paragrph.cxx:411
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: paragrph.cxx:936
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
Definition: paragrph.cxx:207
void SetLineSpacing_Impl(const SvxLineSpacingItem &rAttr)
Definition: paragrph.cxx:710
void EnableAbsLineDist(tools::Long nMinTwip)
Definition: paragrph.cxx:930
std::unique_ptr< weld::CheckButton > m_xContextualCB
Definition: paragrph.hxx:65
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:656
virtual void ActivatePage(const SfxItemSet &rSet) override
Definition: paragrph.cxx:619
std::unique_ptr< weld::Label > m_xAbsDist
Definition: paragrph.hxx:72
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:592
std::unique_ptr< weld::MetricSpinButton > m_xLineDistAtPercentBox
Definition: paragrph.hxx:69
SvxStdParagraphTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: paragrph.cxx:665
tools::Long nWidth
Definition: paragrph.hxx:46
std::unique_ptr< weld::ComboBox > m_xLineDist
Definition: paragrph.hxx:68
long Long
DeactivateRC