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