LibreOffice Module sw (master)  1
optpage.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 #ifndef INCLUDED_SW_SOURCE_UIBASE_INC_OPTPAGE_HXX
20 #define INCLUDED_SW_SOURCE_UIBASE_INC_OPTPAGE_HXX
21 #include <sfx2/tabdlg.hxx>
22 
23 #include <vcl/weld.hxx>
24 #include <svtools/ctrlbox.hxx>
25 #include <svx/colorbox.hxx>
26 #include <svx/fntctrl.hxx>
27 #include "fontcfg.hxx"
28 class SfxPrinter;
29 class SwStdFontConfig;
30 class SwWrtShell;
31 class FontList;
32 
33 // Tools->Options->Writer->View
34 // Tools->Options->Writer/Web->View
36 {
37  std::unique_ptr<weld::CheckButton> m_xCrossCB;
38 
39  std::unique_ptr<weld::ComboBox> m_xHMetric;
40  std::unique_ptr<weld::CheckButton> m_xVRulerCBox;
41  std::unique_ptr<weld::CheckButton> m_xVRulerRightCBox;
42  std::unique_ptr<weld::ComboBox> m_xVMetric;
43  std::unique_ptr<weld::CheckButton> m_xSmoothCBox;
44 
45  std::unique_ptr<weld::CheckButton> m_xGrfCB;
46  std::unique_ptr<weld::CheckButton> m_xTableCB;
47  std::unique_ptr<weld::CheckButton> m_xDrwCB;
48  std::unique_ptr<weld::CheckButton> m_xFieldNameCB;
49  std::unique_ptr<weld::CheckButton> m_xPostItCB;
50 
51  std::unique_ptr<weld::Frame> m_xSettingsFrame;
52  std::unique_ptr<weld::Label> m_xSettingsLabel;
53  std::unique_ptr<weld::Label> m_xMetricLabel;
54  std::unique_ptr<weld::ComboBox> m_xMetricLB;
55 
56  std::unique_ptr<weld::CheckButton> m_xShowInlineTooltips;
57  std::unique_ptr<weld::CheckButton> m_xFieldHiddenCB;
58  std::unique_ptr<weld::CheckButton> m_xFieldHiddenParaCB;
59 
60  DECL_LINK(VertRulerHdl, weld::ToggleButton&, void);
61 public:
62  SwContentOptPage(TabPageParent pParent, const SfxItemSet& rSet);
63  virtual ~SwContentOptPage() override;
64 
65  static VclPtr<SfxTabPage> Create(TabPageParent pParent, const SfxItemSet* rAttrSet);
66 
67  virtual bool FillItemSet(SfxItemSet* rSet) override;
68  virtual void Reset(const SfxItemSet* rSet) override;
69 };
70 
71 // TabPage printer settings additions
73 {
74  OUString const sNone;
76  bool bPreview;
77 
78  std::unique_ptr<weld::CheckButton> m_xGrfCB;
79  std::unique_ptr<weld::CheckButton> m_xCtrlFieldCB;
80  std::unique_ptr<weld::CheckButton> m_xBackgroundCB;
81  std::unique_ptr<weld::CheckButton> m_xBlackFontCB;
82  std::unique_ptr<weld::CheckButton> m_xPrintHiddenTextCB;
83  std::unique_ptr<weld::CheckButton> m_xPrintTextPlaceholderCB;
84 
85  std::unique_ptr<weld::Widget> m_xPagesFrame;
86  std::unique_ptr<weld::CheckButton> m_xLeftPageCB;
87  std::unique_ptr<weld::CheckButton> m_xRightPageCB;
88  std::unique_ptr<weld::CheckButton> m_xProspectCB;
89  std::unique_ptr<weld::CheckButton> m_xProspectCB_RTL;
90 
91  std::unique_ptr<weld::Widget> m_xCommentsFrame;
92  std::unique_ptr<weld::RadioButton> m_xNoRB;
93  std::unique_ptr<weld::RadioButton> m_xOnlyRB;
94  std::unique_ptr<weld::RadioButton> m_xEndRB;
95  std::unique_ptr<weld::RadioButton> m_xEndPageRB;
96  std::unique_ptr<weld::RadioButton> m_xInMarginsRB;
97 
98  std::unique_ptr<weld::CheckButton> m_xPrintEmptyPagesCB;
99  std::unique_ptr<weld::CheckButton> m_xPaperFromSetupCB;
100  std::unique_ptr<weld::ComboBox> m_xFaxLB;
101 
102  DECL_LINK(AutoClickHdl, weld::ToggleButton&, void);
103  DECL_LINK(SelectHdl, weld::ComboBox&, void);
104 
105 public:
106  SwAddPrinterTabPage(TabPageParent pParent, const SfxItemSet& rSet);
107  virtual ~SwAddPrinterTabPage() override;
108 
109  static VclPtr<SfxTabPage> Create(TabPageParent pParent, const SfxItemSet* rAttrSet);
110 
111  virtual bool FillItemSet(SfxItemSet* rSet) override;
112  virtual void Reset(const SfxItemSet* rSet) override;
113  void SetFax(const std::vector<OUString>& );
114  void SetPreview(bool bPrev);
115  virtual void PageCreated(const SfxAllItemSet& aSet) override;
116 };
117 
119 {
120  friend class VclPtr<SwStdFontTabPage>;
121  OUString m_sShellStd;
122  OUString m_sShellTitle;
123  OUString m_sShellList;
124  OUString m_sShellLabel;
125  OUString m_sShellIndex;
126 
128  std::unique_ptr<FontList> m_pFontList;
132 
133  // only defaults were there? they were signed with the boxes
134  bool m_bListDefault :1;
138  bool m_bIdxDefault :1;
141 
145 
146  sal_uInt8 m_nFontGroup; //fontcfg.hxx: FONT_GROUP_[STANDARD|CJK|CTL]
147 
148  OUString const m_sScriptWestern;
149  OUString const m_sScriptAsian;
150  OUString const m_sScriptComplex;
151 
152  std::unique_ptr<weld::Label> m_xLabelFT;
153  std::unique_ptr<weld::ComboBox> m_xStandardBox;
154  std::unique_ptr<SvtFontSizeBox> m_xStandardHeightLB;
155  std::unique_ptr<weld::ComboBox> m_xTitleBox;
156  std::unique_ptr<SvtFontSizeBox> m_xTitleHeightLB;
157  std::unique_ptr<weld::ComboBox> m_xListBox;
158  std::unique_ptr<SvtFontSizeBox> m_xListHeightLB;
159  std::unique_ptr<weld::ComboBox> m_xLabelBox;
160  std::unique_ptr<SvtFontSizeBox> m_xLabelHeightLB;
161  std::unique_ptr<weld::ComboBox> m_xIdxBox;
162  std::unique_ptr<SvtFontSizeBox> m_xIndexHeightLB;
163  std::unique_ptr<weld::Button> m_xStandardPB;
164 
165  DECL_LINK(StandardHdl, weld::Button&, void );
166  DECL_LINK(ModifyHdl, weld::ComboBox&, void );
167  DECL_LINK(LoseFocusHdl, weld::Widget&, void );
168 
169  SwStdFontTabPage(TabPageParent pParent, const SfxItemSet& rSet);
170  virtual ~SwStdFontTabPage() override;
171  virtual void dispose() override;
172 
173 public:
174  static VclPtr<SfxTabPage> Create(TabPageParent pParent, const SfxItemSet* rAttrSet);
175 
176  virtual bool FillItemSet(SfxItemSet* rSet) override;
177  virtual void Reset(const SfxItemSet* rSet) override;
178 
179  virtual void PageCreated(const SfxAllItemSet& aSet) override;
180 };
181 
183 {
186 
187  std::unique_ptr<weld::CheckButton> m_xHeaderCB;
188  std::unique_ptr<weld::CheckButton> m_xRepeatHeaderCB;
189  std::unique_ptr<weld::CheckButton> m_xDontSplitCB;
190  std::unique_ptr<weld::CheckButton> m_xBorderCB;
191 
192  std::unique_ptr<weld::CheckButton> m_xNumFormattingCB;
193  std::unique_ptr<weld::CheckButton> m_xNumFormatFormattingCB;
194  std::unique_ptr<weld::CheckButton> m_xNumAlignmentCB;
195 
196  std::unique_ptr<weld::MetricSpinButton> m_xRowMoveMF;
197  std::unique_ptr<weld::MetricSpinButton> m_xColMoveMF;
198 
199  std::unique_ptr<weld::MetricSpinButton> m_xRowInsertMF;
200  std::unique_ptr<weld::MetricSpinButton> m_xColInsertMF;
201 
202  std::unique_ptr<weld::RadioButton> m_xFixRB;
203  std::unique_ptr<weld::RadioButton> m_xFixPropRB;
204  std::unique_ptr<weld::RadioButton> m_xVarRB;
205 
206  DECL_LINK(CheckBoxHdl, weld::Button&, void);
207 
208 public:
209  SwTableOptionsTabPage(TabPageParent pParent, const SfxItemSet& rSet);
210  virtual ~SwTableOptionsTabPage() override;
211 
212  static VclPtr<SfxTabPage> Create(TabPageParent pParent, const SfxItemSet* rAttrSet);
213 
214  virtual bool FillItemSet(SfxItemSet* rSet) override;
215  virtual void Reset(const SfxItemSet* rSet) override;
216 
217  virtual void PageCreated( const SfxAllItemSet& aSet) override;
218 
219 };
220 
221 // TabPage for ShadowCursor
223 {
225 
226  //nonprinting characters
227  std::unique_ptr<weld::CheckButton> m_xParaCB;
228  std::unique_ptr<weld::CheckButton> m_xSHyphCB;
229  std::unique_ptr<weld::CheckButton> m_xSpacesCB;
230  std::unique_ptr<weld::CheckButton> m_xHSpacesCB;
231  std::unique_ptr<weld::CheckButton> m_xTabCB;
232  std::unique_ptr<weld::CheckButton> m_xBreakCB;
233  std::unique_ptr<weld::CheckButton> m_xCharHiddenCB;
234 
235  std::unique_ptr<weld::Frame> m_xDirectCursorFrame;
236  std::unique_ptr<weld::CheckButton> m_xOnOffCB;
237 
238  std::unique_ptr<weld::RadioButton> m_xFillMarginRB;
239  std::unique_ptr<weld::RadioButton> m_xFillIndentRB;
240  std::unique_ptr<weld::RadioButton> m_xFillTabRB;
241  std::unique_ptr<weld::RadioButton> m_xFillTabAndSpaceRB;
242  std::unique_ptr<weld::RadioButton> m_xFillSpaceRB;
243 
244  std::unique_ptr<weld::Frame> m_xCursorProtFrame;
245  std::unique_ptr<weld::CheckButton> m_xCursorInProtCB;
246 
247  std::unique_ptr<weld::CheckButton> m_xMathBaselineAlignmentCB;
248 
249 public:
251  virtual ~SwShdwCursorOptionsTabPage() override;
252 
253  static VclPtr<SfxTabPage> Create(TabPageParent pParent, const SfxItemSet* rAttrSet);
254 
255  virtual bool FillItemSet( SfxItemSet* rSet ) override;
256  virtual void Reset( const SfxItemSet* rSet ) override;
257 
258  virtual void PageCreated( const SfxAllItemSet& aSet ) override;
259 };
260 
261 // mark preview
263 {
264  Color m_aBgCol; // background
265  Color const m_aTransCol; // transparency
266  Color m_aMarkCol; // marks
267  Color m_aLineCol; // general lines
268  Color m_aShadowCol; // shadow
269  Color m_aTextCol; // text
270  Color m_aPrintAreaCol; // frame for print area
271 
275 
276  sal_uInt16 nMarkPos;
277 
278  virtual void Paint(vcl::RenderContext& rRenderContext, const tools::Rectangle&) override;
279  void PaintPage(vcl::RenderContext& rRenderContext, const tools::Rectangle &rRect);
280  void InitColors();
281 
282 public:
283  SwMarkPreview();
284  virtual void SetDrawingArea(weld::DrawingArea* pDrawingArea) override;
285  virtual ~SwMarkPreview() override;
286 
287  void SetColor(const Color& rCol) { m_aMarkCol = rCol; }
288  void SetMarkPos(sal_uInt16 nPos) { nMarkPos = nPos; }
289 };
290 
291 // redlining options
293 {
294  std::unique_ptr<weld::ComboBox> m_xInsertLB;
295  std::unique_ptr<ColorListBox> m_xInsertColorLB;
296  std::unique_ptr<FontPrevWindow> m_xInsertedPreviewWN;
297  std::unique_ptr<weld::CustomWeld> m_xInsertedPreview;
298 
299  std::unique_ptr<weld::ComboBox> m_xDeletedLB;
300  std::unique_ptr<ColorListBox> m_xDeletedColorLB;
301  std::unique_ptr<FontPrevWindow> m_xDeletedPreviewWN;
302  std::unique_ptr<weld::CustomWeld> m_xDeletedPreview;
303 
304  std::unique_ptr<weld::ComboBox> m_xChangedLB;
305  std::unique_ptr<ColorListBox> m_xChangedColorLB;
306  std::unique_ptr<FontPrevWindow> m_xChangedPreviewWN;
307  std::unique_ptr<weld::CustomWeld> m_xChangedPreview;
308 
309  std::unique_ptr<weld::ComboBox> m_xMarkPosLB;
310  std::unique_ptr<ColorListBox> m_xMarkColorLB;
311  std::unique_ptr<SwMarkPreview> m_xMarkPreviewWN;
312  std::unique_ptr<weld::CustomWeld> m_xMarkPreview;
313 
314  DECL_LINK(AttribHdl, weld::ComboBox&, void);
315  void ChangedMaskPrev();
316  DECL_LINK(ChangedMaskPrevHdl, weld::ComboBox&, void);
317  DECL_LINK(ChangedMaskColorPrevHdl, ColorListBox&, void);
318  DECL_LINK(ColorHdl, ColorListBox&, void);
319 
320  static void InitFontStyle(FontPrevWindow& rExampleWin, const OUString& rText);
321 
322 public:
323  SwRedlineOptionsTabPage(TabPageParent pParent, const SfxItemSet& rSet);
324  virtual ~SwRedlineOptionsTabPage() override;
325  virtual void dispose() override;
326 
327  static VclPtr<SfxTabPage> Create(TabPageParent pParent, const SfxItemSet* rAttrSet);
328 
329  virtual bool FillItemSet( SfxItemSet* rSet ) override;
330  virtual void Reset( const SfxItemSet* rSet ) override;
331 };
332 
333 // TabPage test settings for SW
334 
335 #ifdef DBG_UTIL
336 
337 class SwTestTabPage : public SfxTabPage
338 {
339 public:
340  SwTestTabPage(TabPageParent pParent, const SfxItemSet& rSet);
341  virtual ~SwTestTabPage() override;
342 
343  static VclPtr<SfxTabPage> Create(TabPageParent pParent, const SfxItemSet* rAttrSet);
344 
345  virtual bool FillItemSet( SfxItemSet* rSet ) override;
346  virtual void Reset( const SfxItemSet* rSet ) override;
347 
348 private:
350 
351  std::unique_ptr<weld::CheckButton> m_xTest1CBox;
352  std::unique_ptr<weld::CheckButton> m_xTest2CBox;
353  std::unique_ptr<weld::CheckButton> m_xTest3CBox;
354  std::unique_ptr<weld::CheckButton> m_xTest4CBox;
355  std::unique_ptr<weld::CheckButton> m_xTest5CBox;
356  std::unique_ptr<weld::CheckButton> m_xTest6CBox;
357  std::unique_ptr<weld::CheckButton> m_xTest7CBox;
358  std::unique_ptr<weld::CheckButton> m_xTest8CBox;
359  std::unique_ptr<weld::CheckButton> m_xTest9CBox;
360  std::unique_ptr<weld::CheckButton> m_xTest10CBox;
361 
362  void Init();
363  DECL_LINK(AutoClickHdl, weld::Button&, void);
364 };
365 #endif // DBG_UTIL
366 
368 {
369  std::unique_ptr<weld::RadioButton> m_xAutoRB;
370  std::unique_ptr<weld::RadioButton> m_xWordRB;
371  std::unique_ptr<weld::RadioButton> m_xCharRB;
372  std::unique_ptr<weld::CheckButton> m_xRsidCB;
373  std::unique_ptr<weld::CheckButton> m_xIgnoreCB;
374  std::unique_ptr<weld::SpinButton> m_xLenNF;
375  std::unique_ptr<weld::CheckButton> m_xStoreRsidCB;
376 
377  DECL_LINK(ComparisonHdl, weld::Button&, void);
378  DECL_LINK(IgnoreHdl, weld::Button&, void);
379 
380 public:
381  SwCompareOptionsTabPage(TabPageParent pParent, const SfxItemSet& rSet);
382  virtual ~SwCompareOptionsTabPage() override;
383 
384  static VclPtr<SfxTabPage> Create(TabPageParent pParent, const SfxItemSet* rAttrSet );
385 
386  virtual bool FillItemSet( SfxItemSet* rSet ) override;
387  virtual void Reset( const SfxItemSet* rSet ) override;
388 };
389 
390 #endif
391 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
std::unique_ptr< weld::ComboBox > m_xTitleBox
Definition: optpage.hxx:155
std::unique_ptr< weld::CheckButton > m_xTableCB
Definition: optpage.hxx:46
DECL_LINK(VertRulerHdl, weld::ToggleButton &, void)
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: optpage.cxx:1040
std::unique_ptr< weld::CustomWeld > m_xInsertedPreview
Definition: optpage.hxx:297
std::unique_ptr< weld::ComboBox > m_xIdxBox
Definition: optpage.hxx:161
DECL_LINK(StandardHdl, weld::Button &, void)
std::unique_ptr< ColorListBox > m_xInsertColorLB
Definition: optpage.hxx:295
Color m_aMarkCol
Definition: optpage.hxx:266
std::unique_ptr< weld::CheckButton > m_xNumAlignmentCB
Definition: optpage.hxx:194
virtual void Reset(const SfxItemSet *rSet) override
Definition: optpage.cxx:1338
virtual void Reset(const SfxItemSet *rSet) override
Definition: optpage.cxx:1127
std::unique_ptr< weld::CheckButton > m_xRepeatHeaderCB
Definition: optpage.hxx:188
void InitColors()
Definition: optpage.cxx:1433
std::unique_ptr< weld::CheckButton > m_xPostItCB
Definition: optpage.hxx:49
static VclPtr< SfxTabPage > Create(TabPageParent pParent, const SfxItemSet *rAttrSet)
Definition: optpage.cxx:565
std::unique_ptr< weld::ComboBox > m_xListBox
Definition: optpage.hxx:157
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: optpage.cxx:2046
virtual void dispose() override
Definition: optpage.cxx:550
std::unique_ptr< weld::CheckButton > m_xTest3CBox
Definition: optpage.hxx:353
std::unique_ptr< weld::CheckButton > m_xProspectCB
Definition: optpage.hxx:88
std::unique_ptr< weld::CheckButton > m_xCtrlFieldCB
Definition: optpage.hxx:79
std::unique_ptr< weld::CheckButton > m_xTest4CBox
Definition: optpage.hxx:354
SwWrtShell * m_pWrtShell
Definition: optpage.hxx:224
SwCompareOptionsTabPage(TabPageParent pParent, const SfxItemSet &rSet)
Definition: optpage.cxx:2019
SwStdFontConfig * m_pFontConfig
Definition: optpage.hxx:129
bool m_bListHeightDefault
Definition: optpage.hxx:142
static VclPtr< SfxTabPage > Create(TabPageParent pParent, const SfxItemSet *rAttrSet)
Definition: optpage.cxx:173
OUString m_sShellLabel
Definition: optpage.hxx:124
std::unique_ptr< weld::CheckButton > m_xFieldNameCB
Definition: optpage.hxx:48
std::unique_ptr< weld::CheckButton > m_xTest1CBox
Definition: optpage.hxx:351
SwTableOptionsTabPage(TabPageParent pParent, const SfxItemSet &rSet)
Definition: optpage.cxx:1005
std::unique_ptr< weld::CheckButton > m_xLeftPageCB
Definition: optpage.hxx:86
std::unique_ptr< weld::RadioButton > m_xFillTabRB
Definition: optpage.hxx:240
std::unique_ptr< weld::Frame > m_xSettingsFrame
Definition: optpage.hxx:51
SwAddPrinterTabPage(TabPageParent pParent, const SfxItemSet &rSet)
Definition: optpage.cxx:280
std::unique_ptr< weld::CheckButton > m_xDrwCB
Definition: optpage.hxx:47
std::unique_ptr< weld::CheckButton > m_xStoreRsidCB
Definition: optpage.hxx:375
SwShdwCursorOptionsTabPage(TabPageParent pParent, const SfxItemSet &rSet)
Definition: optpage.cxx:1205
bool m_bDisposePrinter
Definition: optpage.hxx:140
virtual void Paint(vcl::RenderContext &rRenderContext, const tools::Rectangle &) override
Definition: optpage.cxx:1447
std::unique_ptr< weld::ComboBox > m_xStandardBox
Definition: optpage.hxx:153
std::unique_ptr< FontPrevWindow > m_xDeletedPreviewWN
Definition: optpage.hxx:301
Color m_aTextCol
Definition: optpage.hxx:269
bool m_bIndexHeightDefault
Definition: optpage.hxx:144
std::unique_ptr< SvtFontSizeBox > m_xStandardHeightLB
Definition: optpage.hxx:154
std::unique_ptr< weld::CheckButton > m_xDontSplitCB
Definition: optpage.hxx:189
virtual ~SwRedlineOptionsTabPage() override
Definition: optpage.cxx:1631
bool m_bLabelHeightDefault
Definition: optpage.hxx:143
OUString const m_sScriptWestern
Definition: optpage.hxx:148
bool m_bSetListDefault
Definition: optpage.hxx:135
virtual ~SwTableOptionsTabPage() override
Definition: optpage.cxx:1030
bool bAttrModified
Definition: optpage.hxx:349
static VclPtr< SfxTabPage > Create(TabPageParent pParent, const SfxItemSet *rAttrSet)
Definition: optpage.cxx:2173
bool m_bSetIdxDefault
Definition: optpage.hxx:139
OUString const m_sScriptComplex
Definition: optpage.hxx:150
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: optpage.cxx:2179
std::unique_ptr< weld::CheckButton > m_xGrfCB
Definition: optpage.hxx:78
VclPtr< SfxPrinter > m_pPrt
Definition: optpage.hxx:127
std::unique_ptr< weld::CheckButton > m_xVRulerRightCBox
Definition: optpage.hxx:41
std::unique_ptr< weld::CheckButton > m_xParaCB
Definition: optpage.hxx:227
std::unique_ptr< weld::CheckButton > m_xMathBaselineAlignmentCB
Definition: optpage.hxx:247
std::unique_ptr< weld::ComboBox > m_xDeletedLB
Definition: optpage.hxx:299
Used by the UI to modify the document model.
Definition: wrtsh.hxx:88
std::unique_ptr< weld::CheckButton > m_xFieldHiddenParaCB
Definition: optpage.hxx:58
std::unique_ptr< SwMarkPreview > m_xMarkPreviewWN
Definition: optpage.hxx:311
std::unique_ptr< weld::ComboBox > m_xLabelBox
Definition: optpage.hxx:159
OUString const sNone
Definition: optpage.hxx:74
std::unique_ptr< weld::RadioButton > m_xFillTabAndSpaceRB
Definition: optpage.hxx:241
tools::Rectangle aRightPagePrtArea
Definition: optpage.hxx:274
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: optpage.cxx:998
std::unique_ptr< weld::Button > m_xStandardPB
Definition: optpage.hxx:163
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: optpage.cxx:224
Color m_aShadowCol
Definition: optpage.hxx:268
virtual void dispose() override
Definition: optpage.cxx:1636
DECL_LINK(AttribHdl, weld::ComboBox &, void)
virtual void Reset(const SfxItemSet *rSet) override
Definition: optpage.cxx:721
sal_uInt16 nMarkPos
Definition: optpage.hxx:276
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: optpage.cxx:359
std::unique_ptr< weld::CustomWeld > m_xChangedPreview
Definition: optpage.hxx:307
std::unique_ptr< weld::CheckButton > m_xCursorInProtCB
Definition: optpage.hxx:245
virtual void Reset(const SfxItemSet *rSet) override
Definition: optpage.cxx:1735
std::unique_ptr< weld::CheckButton > m_xVRulerCBox
Definition: optpage.hxx:40
void SetFax(const std::vector< OUString > &)
Definition: optpage.cxx:458
std::unique_ptr< weld::RadioButton > m_xVarRB
Definition: optpage.hxx:204
std::unique_ptr< FontPrevWindow > m_xChangedPreviewWN
Definition: optpage.hxx:306
std::unique_ptr< weld::CheckButton > m_xTest7CBox
Definition: optpage.hxx:357
std::unique_ptr< weld::ComboBox > m_xMarkPosLB
Definition: optpage.hxx:309
std::unique_ptr< weld::MetricSpinButton > m_xRowInsertMF
Definition: optpage.hxx:199
static void InitFontStyle(FontPrevWindow &rExampleWin, const OUString &rText)
Definition: optpage.cxx:1975
std::unique_ptr< SvtFontSizeBox > m_xIndexHeightLB
Definition: optpage.hxx:162
tools::Rectangle aLeftPagePrtArea
Definition: optpage.hxx:273
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: optpage.cxx:473
std::unique_ptr< weld::CheckButton > m_xShowInlineTooltips
Definition: optpage.hxx:56
std::unique_ptr< weld::CheckButton > m_xTabCB
Definition: optpage.hxx:231
SwTestTabPage(TabPageParent pParent, const SfxItemSet &rSet)
Definition: optpage.cxx:2152
std::unique_ptr< weld::RadioButton > m_xFillMarginRB
Definition: optpage.hxx:238
std::unique_ptr< weld::CheckButton > m_xSmoothCBox
Definition: optpage.hxx:43
std::unique_ptr< weld::RadioButton > m_xEndRB
Definition: optpage.hxx:94
void SetMarkPos(sal_uInt16 nPos)
Definition: optpage.hxx:288
std::unique_ptr< weld::RadioButton > m_xFixRB
Definition: optpage.hxx:202
static VclPtr< SfxTabPage > Create(TabPageParent pParent, const SfxItemSet *rAttrSet)
Definition: optpage.cxx:1653
std::unique_ptr< weld::CheckButton > m_xSHyphCB
Definition: optpage.hxx:228
SwContentOptPage(TabPageParent pParent, const SfxItemSet &rSet)
Definition: optpage.cxx:97
OUString m_sShellList
Definition: optpage.hxx:123
std::unique_ptr< weld::CheckButton > m_xPrintEmptyPagesCB
Definition: optpage.hxx:98
std::unique_ptr< weld::RadioButton > m_xInMarginsRB
Definition: optpage.hxx:96
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: optpage.cxx:1279
std::unique_ptr< weld::RadioButton > m_xEndPageRB
Definition: optpage.hxx:95
virtual ~SwAddPrinterTabPage() override
Definition: optpage.cxx:342
std::unique_ptr< weld::RadioButton > m_xAutoRB
Definition: optpage.hxx:369
Color m_aLineCol
Definition: optpage.hxx:267
bool m_bSetLabelDefault
Definition: optpage.hxx:137
std::unique_ptr< ColorListBox > m_xChangedColorLB
Definition: optpage.hxx:305
std::unique_ptr< weld::CustomWeld > m_xDeletedPreview
Definition: optpage.hxx:302
DECL_LINK(AutoClickHdl, weld::Button &, void)
LanguageType m_eLanguage
Definition: optpage.hxx:131
SwRedlineOptionsTabPage(TabPageParent pParent, const SfxItemSet &rSet)
Definition: optpage.cxx:1572
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: optpage.cxx:592
virtual ~SwStdFontTabPage() override
Definition: optpage.cxx:545
tools::Rectangle aPage
Definition: optpage.hxx:272
virtual ~SwCompareOptionsTabPage() override
Definition: optpage.cxx:2037
std::unique_ptr< weld::CheckButton > m_xTest2CBox
Definition: optpage.hxx:352
DECL_LINK(ComparisonHdl, weld::Button &, void)
DECL_LINK(AutoClickHdl, weld::ToggleButton &, void)
std::unique_ptr< weld::CheckButton > m_xPaperFromSetupCB
Definition: optpage.hxx:99
DECL_LINK(CheckBoxHdl, weld::Button &, void)
virtual void Reset(const SfxItemSet *rSet) override
Definition: optpage.cxx:197
virtual ~SwShdwCursorOptionsTabPage() override
Definition: optpage.cxx:1263
OUString m_sShellIndex
Definition: optpage.hxx:125
std::unique_ptr< weld::CheckButton > m_xIgnoreCB
Definition: optpage.hxx:373
std::unique_ptr< weld::RadioButton > m_xWordRB
Definition: optpage.hxx:370
std::unique_ptr< weld::ComboBox > m_xVMetric
Definition: optpage.hxx:42
std::unique_ptr< weld::CheckButton > m_xTest10CBox
Definition: optpage.hxx:360
std::unique_ptr< weld::Widget > m_xCommentsFrame
Definition: optpage.hxx:91
std::unique_ptr< weld::CustomWeld > m_xMarkPreview
Definition: optpage.hxx:312
void PaintPage(vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect)
Definition: optpage.cxx:1517
std::unique_ptr< FontList > m_pFontList
Definition: optpage.hxx:128
std::unique_ptr< weld::CheckButton > m_xTest8CBox
Definition: optpage.hxx:358
std::unique_ptr< weld::CheckButton > m_xCharHiddenCB
Definition: optpage.hxx:233
virtual ~SwTestTabPage() override
Definition: optpage.cxx:2169
std::unique_ptr< weld::Label > m_xSettingsLabel
Definition: optpage.hxx:52
std::unique_ptr< weld::ComboBox > m_xHMetric
Definition: optpage.hxx:39
std::unique_ptr< weld::CheckButton > m_xOnOffCB
Definition: optpage.hxx:236
OUString m_sShellTitle
Definition: optpage.hxx:122
Color const m_aTransCol
Definition: optpage.hxx:265
std::unique_ptr< weld::Label > m_xLabelFT
Definition: optpage.hxx:152
unsigned char sal_uInt8
std::unique_ptr< weld::ComboBox > m_xFaxLB
Definition: optpage.hxx:100
virtual void SetDrawingArea(weld::DrawingArea *pDrawingArea) override
Definition: optpage.cxx:1547
std::unique_ptr< weld::RadioButton > m_xCharRB
Definition: optpage.hxx:371
OUString const m_sScriptAsian
Definition: optpage.hxx:149
std::unique_ptr< weld::Frame > m_xCursorProtFrame
Definition: optpage.hxx:244
std::unique_ptr< weld::CheckButton > m_xTest6CBox
Definition: optpage.hxx:356
std::unique_ptr< SvtFontSizeBox > m_xTitleHeightLB
Definition: optpage.hxx:156
std::unique_ptr< weld::RadioButton > m_xFillIndentRB
Definition: optpage.hxx:239
std::unique_ptr< weld::MetricSpinButton > m_xColInsertMF
Definition: optpage.hxx:200
std::unique_ptr< weld::Widget > m_xPagesFrame
Definition: optpage.hxx:85
void SetPreview(bool bPrev)
Definition: optpage.cxx:346
std::unique_ptr< weld::CheckButton > m_xHeaderCB
Definition: optpage.hxx:187
std::unique_ptr< weld::RadioButton > m_xFixPropRB
Definition: optpage.hxx:203
std::unique_ptr< weld::CheckButton > m_xCrossCB
Definition: optpage.hxx:37
std::unique_ptr< weld::CheckButton > m_xRsidCB
Definition: optpage.hxx:372
std::unique_ptr< FontPrevWindow > m_xInsertedPreviewWN
Definition: optpage.hxx:296
std::unique_ptr< weld::CheckButton > m_xSpacesCB
Definition: optpage.hxx:229
static VclPtr< SfxTabPage > Create(TabPageParent pParent, const SfxItemSet *rAttrSet)
Definition: optpage.cxx:1034
std::unique_ptr< weld::RadioButton > m_xNoRB
Definition: optpage.hxx:92
OUString m_sShellStd
Definition: optpage.hxx:121
std::unique_ptr< weld::CheckButton > m_xTest5CBox
Definition: optpage.hxx:355
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: optpage.cxx:1198
std::unique_ptr< weld::CheckButton > m_xBreakCB
Definition: optpage.hxx:232
std::unique_ptr< ColorListBox > m_xMarkColorLB
Definition: optpage.hxx:310
std::unique_ptr< weld::CheckButton > m_xRightPageCB
Definition: optpage.hxx:87
SwStdFontTabPage(TabPageParent pParent, const SfxItemSet &rSet)
Definition: optpage.cxx:493
static VclPtr< SfxTabPage > Create(TabPageParent pParent, const SfxItemSet *rAttrSet)
Definition: optpage.cxx:353
std::unique_ptr< weld::RadioButton > m_xOnlyRB
Definition: optpage.hxx:93
std::unique_ptr< weld::CheckButton > m_xProspectCB_RTL
Definition: optpage.hxx:89
std::unique_ptr< weld::SpinButton > m_xLenNF
Definition: optpage.hxx:374
std::unique_ptr< weld::CheckButton > m_xNumFormattingCB
Definition: optpage.hxx:192
std::unique_ptr< weld::CheckButton > m_xHSpacesCB
Definition: optpage.hxx:230
std::unique_ptr< weld::CheckButton > m_xPrintHiddenTextCB
Definition: optpage.hxx:82
std::unique_ptr< weld::Frame > m_xDirectCursorFrame
Definition: optpage.hxx:235
std::unique_ptr< weld::Label > m_xMetricLabel
Definition: optpage.hxx:53
void SetColor(const Color &rCol)
Definition: optpage.hxx:287
SwWrtShell * m_pWrtShell
Definition: optpage.hxx:130
std::unique_ptr< weld::CheckButton > m_xFieldHiddenCB
Definition: optpage.hxx:57
std::unique_ptr< weld::CheckButton > m_xBorderCB
Definition: optpage.hxx:190
sal_uInt8 m_nFontGroup
Definition: optpage.hxx:146
std::unique_ptr< weld::ComboBox > m_xMetricLB
Definition: optpage.hxx:54
std::unique_ptr< weld::CheckButton > m_xGrfCB
Definition: optpage.hxx:45
std::unique_ptr< SvtFontSizeBox > m_xListHeightLB
Definition: optpage.hxx:158
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: optpage.cxx:1658
std::unique_ptr< weld::CheckButton > m_xPrintTextPlaceholderCB
Definition: optpage.hxx:83
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: optpage.cxx:1272
std::unique_ptr< weld::ComboBox > m_xInsertLB
Definition: optpage.hxx:294
std::unique_ptr< SvtFontSizeBox > m_xLabelHeightLB
Definition: optpage.hxx:160
SwWrtShell * m_pWrtShell
Definition: optpage.hxx:184
virtual ~SwMarkPreview() override
Definition: optpage.cxx:1429
virtual void Reset(const SfxItemSet *rSet) override
Definition: optpage.cxx:2200
std::unique_ptr< weld::RadioButton > m_xFillSpaceRB
Definition: optpage.hxx:242
std::unique_ptr< weld::MetricSpinButton > m_xRowMoveMF
Definition: optpage.hxx:196
std::unique_ptr< weld::CheckButton > m_xBlackFontCB
Definition: optpage.hxx:81
Color m_aBgCol
Definition: optpage.hxx:264
std::unique_ptr< ColorListBox > m_xDeletedColorLB
Definition: optpage.hxx:300
virtual void Reset(const SfxItemSet *rSet) override
Definition: optpage.cxx:2092
Color m_aPrintAreaCol
Definition: optpage.hxx:270
virtual void Reset(const SfxItemSet *rSet) override
Definition: optpage.cxx:400
virtual ~SwContentOptPage() override
Definition: optpage.cxx:169
bool m_bLabelDefault
Definition: optpage.hxx:136
std::unique_ptr< weld::ComboBox > m_xChangedLB
Definition: optpage.hxx:304
std::unique_ptr< weld::MetricSpinButton > m_xColMoveMF
Definition: optpage.hxx:197
static VclPtr< SfxTabPage > Create(TabPageParent pParent, const SfxItemSet *rAttrSet)
Definition: optpage.cxx:1267
std::unique_ptr< weld::CheckButton > m_xBackgroundCB
Definition: optpage.hxx:80
std::unique_ptr< weld::CheckButton > m_xTest9CBox
Definition: optpage.hxx:359
static VclPtr< SfxTabPage > Create(TabPageParent pParent, const SfxItemSet *rAttrSet)
Definition: optpage.cxx:2041
std::unique_ptr< weld::CheckButton > m_xNumFormatFormattingCB
Definition: optpage.hxx:193