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_xPostItCB;
49 
50  std::unique_ptr<weld::Frame> m_xSettingsFrame;
51  std::unique_ptr<weld::Label> m_xSettingsLabel;
52  std::unique_ptr<weld::Label> m_xMetricLabel;
53  std::unique_ptr<weld::ComboBox> m_xMetricLB;
54 
55  std::unique_ptr<weld::CheckButton> m_xShowInlineTooltips;
56  std::unique_ptr<weld::CheckButton> m_xFieldHiddenCB;
57  std::unique_ptr<weld::CheckButton> m_xFieldHiddenParaCB;
58 
59  DECL_LINK(VertRulerHdl, weld::ToggleButton&, void);
60 public:
61  SwContentOptPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet);
62  virtual ~SwContentOptPage() override;
63 
64  static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rAttrSet);
65 
66  virtual bool FillItemSet(SfxItemSet* rSet) override;
67  virtual void Reset(const SfxItemSet* rSet) override;
68 };
69 
70 // TabPage printer settings additions
72 {
73  OUString const sNone;
75  bool bPreview;
76 
77  std::unique_ptr<weld::CheckButton> m_xGrfCB;
78  std::unique_ptr<weld::CheckButton> m_xCtrlFieldCB;
79  std::unique_ptr<weld::CheckButton> m_xBackgroundCB;
80  std::unique_ptr<weld::CheckButton> m_xBlackFontCB;
81  std::unique_ptr<weld::CheckButton> m_xPrintHiddenTextCB;
82  std::unique_ptr<weld::CheckButton> m_xPrintTextPlaceholderCB;
83 
84  std::unique_ptr<weld::Widget> m_xPagesFrame;
85  std::unique_ptr<weld::CheckButton> m_xLeftPageCB;
86  std::unique_ptr<weld::CheckButton> m_xRightPageCB;
87  std::unique_ptr<weld::CheckButton> m_xProspectCB;
88  std::unique_ptr<weld::CheckButton> m_xProspectCB_RTL;
89 
90  std::unique_ptr<weld::Widget> m_xCommentsFrame;
91  std::unique_ptr<weld::RadioButton> m_xNoRB;
92  std::unique_ptr<weld::RadioButton> m_xOnlyRB;
93  std::unique_ptr<weld::RadioButton> m_xEndRB;
94  std::unique_ptr<weld::RadioButton> m_xEndPageRB;
95  std::unique_ptr<weld::RadioButton> m_xInMarginsRB;
96 
97  std::unique_ptr<weld::CheckButton> m_xPrintEmptyPagesCB;
98  std::unique_ptr<weld::CheckButton> m_xPaperFromSetupCB;
99  std::unique_ptr<weld::ComboBox> m_xFaxLB;
100 
101  DECL_LINK(AutoClickHdl, weld::ToggleButton&, void);
102  DECL_LINK(SelectHdl, weld::ComboBox&, void);
103 
104 public:
105  SwAddPrinterTabPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet);
106  virtual ~SwAddPrinterTabPage() override;
107 
108  static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rAttrSet);
109 
110  virtual bool FillItemSet(SfxItemSet* rSet) override;
111  virtual void Reset(const SfxItemSet* rSet) override;
112  void SetFax(const std::vector<OUString>& );
113  void SetPreview(bool bPrev);
114  virtual void PageCreated(const SfxAllItemSet& aSet) override;
115 };
116 
118 {
119  OUString m_sShellStd;
120  OUString m_sShellTitle;
121  OUString m_sShellList;
122  OUString m_sShellLabel;
123  OUString m_sShellIndex;
124 
126  std::unique_ptr<FontList> m_pFontList;
130 
131  // only defaults were there? they were signed with the boxes
132  bool m_bListDefault :1;
136  bool m_bIdxDefault :1;
139 
143 
144  sal_uInt8 m_nFontGroup; //fontcfg.hxx: FONT_GROUP_[STANDARD|CJK|CTL]
145 
146  OUString const m_sScriptWestern;
147  OUString const m_sScriptAsian;
148  OUString const m_sScriptComplex;
149 
150  std::unique_ptr<weld::Label> m_xLabelFT;
151  std::unique_ptr<weld::ComboBox> m_xStandardBox;
152  std::unique_ptr<SvtFontSizeBox> m_xStandardHeightLB;
153  std::unique_ptr<weld::ComboBox> m_xTitleBox;
154  std::unique_ptr<SvtFontSizeBox> m_xTitleHeightLB;
155  std::unique_ptr<weld::ComboBox> m_xListBox;
156  std::unique_ptr<SvtFontSizeBox> m_xListHeightLB;
157  std::unique_ptr<weld::ComboBox> m_xLabelBox;
158  std::unique_ptr<SvtFontSizeBox> m_xLabelHeightLB;
159  std::unique_ptr<weld::ComboBox> m_xIdxBox;
160  std::unique_ptr<SvtFontSizeBox> m_xIndexHeightLB;
161  std::unique_ptr<weld::Button> m_xStandardPB;
162 
163  DECL_LINK(StandardHdl, weld::Button&, void );
164  DECL_LINK(ModifyHdl, weld::ComboBox&, void );
165  DECL_LINK(LoseFocusHdl, weld::Widget&, void );
166 
167 public:
168  SwStdFontTabPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet);
169  static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rAttrSet);
170  virtual ~SwStdFontTabPage() override;
171 
172  virtual bool FillItemSet(SfxItemSet* rSet) override;
173  virtual void Reset(const SfxItemSet* rSet) override;
174 
175  virtual void PageCreated(const SfxAllItemSet& aSet) override;
176 };
177 
179 {
182 
183  std::unique_ptr<weld::CheckButton> m_xHeaderCB;
184  std::unique_ptr<weld::CheckButton> m_xRepeatHeaderCB;
185  std::unique_ptr<weld::CheckButton> m_xDontSplitCB;
186  std::unique_ptr<weld::CheckButton> m_xBorderCB;
187 
188  std::unique_ptr<weld::CheckButton> m_xNumFormattingCB;
189  std::unique_ptr<weld::CheckButton> m_xNumFormatFormattingCB;
190  std::unique_ptr<weld::CheckButton> m_xNumAlignmentCB;
191 
192  std::unique_ptr<weld::MetricSpinButton> m_xRowMoveMF;
193  std::unique_ptr<weld::MetricSpinButton> m_xColMoveMF;
194 
195  std::unique_ptr<weld::MetricSpinButton> m_xRowInsertMF;
196  std::unique_ptr<weld::MetricSpinButton> m_xColInsertMF;
197 
198  std::unique_ptr<weld::RadioButton> m_xFixRB;
199  std::unique_ptr<weld::RadioButton> m_xFixPropRB;
200  std::unique_ptr<weld::RadioButton> m_xVarRB;
201 
202  DECL_LINK(CheckBoxHdl, weld::Button&, void);
203 
204 public:
205  SwTableOptionsTabPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet);
206  virtual ~SwTableOptionsTabPage() override;
207 
208  static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rAttrSet);
209 
210  virtual bool FillItemSet(SfxItemSet* rSet) override;
211  virtual void Reset(const SfxItemSet* rSet) override;
212 
213  virtual void PageCreated( const SfxAllItemSet& aSet) override;
214 
215 };
216 
217 // TabPage for ShadowCursor
219 {
221 
222  //nonprinting characters
223  std::unique_ptr<weld::CheckButton> m_xParaCB;
224  std::unique_ptr<weld::CheckButton> m_xSHyphCB;
225  std::unique_ptr<weld::CheckButton> m_xSpacesCB;
226  std::unique_ptr<weld::CheckButton> m_xHSpacesCB;
227  std::unique_ptr<weld::CheckButton> m_xTabCB;
228  std::unique_ptr<weld::CheckButton> m_xBreakCB;
229  std::unique_ptr<weld::CheckButton> m_xCharHiddenCB;
230 
231  std::unique_ptr<weld::Frame> m_xDirectCursorFrame;
232  std::unique_ptr<weld::CheckButton> m_xOnOffCB;
233 
234  std::unique_ptr<weld::ComboBox> m_xDirectCursorFillMode;
235  std::unique_ptr<weld::Frame> m_xCursorProtFrame;
236  std::unique_ptr<weld::CheckButton> m_xCursorInProtCB;
237 
238  std::unique_ptr<weld::CheckButton> m_xMathBaselineAlignmentCB;
239 
240 public:
242  virtual ~SwShdwCursorOptionsTabPage() override;
243 
244  static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rAttrSet);
245 
246  virtual bool FillItemSet( SfxItemSet* rSet ) override;
247  virtual void Reset( const SfxItemSet* rSet ) override;
248 
249  virtual void PageCreated( const SfxAllItemSet& aSet ) override;
250 };
251 
252 // mark preview
254 {
255  Color m_aBgCol; // background
256  Color const m_aTransCol; // transparency
257  Color m_aMarkCol; // marks
258  Color m_aLineCol; // general lines
259  Color m_aShadowCol; // shadow
260  Color m_aTextCol; // text
261  Color m_aPrintAreaCol; // frame for print area
262 
266 
267  sal_uInt16 nMarkPos;
268 
269  virtual void Paint(vcl::RenderContext& rRenderContext, const tools::Rectangle&) override;
270  void PaintPage(vcl::RenderContext& rRenderContext, const tools::Rectangle &rRect);
271  void InitColors();
272 
273 public:
274  SwMarkPreview();
275  virtual void SetDrawingArea(weld::DrawingArea* pDrawingArea) override;
276  virtual ~SwMarkPreview() override;
277 
278  void SetColor(const Color& rCol) { m_aMarkCol = rCol; }
279  void SetMarkPos(sal_uInt16 nPos) { nMarkPos = nPos; }
280 };
281 
282 // redlining options
284 {
285  std::unique_ptr<weld::ComboBox> m_xInsertLB;
286  std::unique_ptr<ColorListBox> m_xInsertColorLB;
287  std::unique_ptr<SvxFontPrevWindow> m_xInsertedPreviewWN;
288  std::unique_ptr<weld::CustomWeld> m_xInsertedPreview;
289 
290  std::unique_ptr<weld::ComboBox> m_xDeletedLB;
291  std::unique_ptr<ColorListBox> m_xDeletedColorLB;
292  std::unique_ptr<SvxFontPrevWindow> m_xDeletedPreviewWN;
293  std::unique_ptr<weld::CustomWeld> m_xDeletedPreview;
294 
295  std::unique_ptr<weld::ComboBox> m_xChangedLB;
296  std::unique_ptr<ColorListBox> m_xChangedColorLB;
297  std::unique_ptr<SvxFontPrevWindow> m_xChangedPreviewWN;
298  std::unique_ptr<weld::CustomWeld> m_xChangedPreview;
299 
300  std::unique_ptr<weld::ComboBox> m_xMarkPosLB;
301  std::unique_ptr<ColorListBox> m_xMarkColorLB;
302  std::unique_ptr<SwMarkPreview> m_xMarkPreviewWN;
303  std::unique_ptr<weld::CustomWeld> m_xMarkPreview;
304 
305  DECL_LINK(AttribHdl, weld::ComboBox&, void);
306  void ChangedMaskPrev();
307  DECL_LINK(ChangedMaskPrevHdl, weld::ComboBox&, void);
308  DECL_LINK(ChangedMaskColorPrevHdl, ColorListBox&, void);
309  DECL_LINK(ColorHdl, ColorListBox&, void);
310 
311  static void InitFontStyle(SvxFontPrevWindow& rExampleWin, const OUString& rText);
312 
313 public:
315  virtual ~SwRedlineOptionsTabPage() override;
316 
317  static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rAttrSet);
318 
319  virtual bool FillItemSet( SfxItemSet* rSet ) override;
320  virtual void Reset( const SfxItemSet* rSet ) override;
321 };
322 
323 // TabPage test settings for SW
324 
325 #ifdef DBG_UTIL
326 
327 class SwTestTabPage : public SfxTabPage
328 {
329 public:
330  SwTestTabPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet);
331  virtual ~SwTestTabPage() override;
332 
333  static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rAttrSet);
334 
335  virtual bool FillItemSet( SfxItemSet* rSet ) override;
336  virtual void Reset( const SfxItemSet* rSet ) override;
337 
338 private:
340 
341  std::unique_ptr<weld::CheckButton> m_xTest1CBox;
342  std::unique_ptr<weld::CheckButton> m_xTest2CBox;
343  std::unique_ptr<weld::CheckButton> m_xTest3CBox;
344  std::unique_ptr<weld::CheckButton> m_xTest4CBox;
345  std::unique_ptr<weld::CheckButton> m_xTest5CBox;
346  std::unique_ptr<weld::CheckButton> m_xTest6CBox;
347  std::unique_ptr<weld::CheckButton> m_xTest7CBox;
348  std::unique_ptr<weld::CheckButton> m_xTest8CBox;
349  std::unique_ptr<weld::CheckButton> m_xTest9CBox;
350  std::unique_ptr<weld::CheckButton> m_xTest10CBox;
351 
352  void Init();
353  DECL_LINK(AutoClickHdl, weld::Button&, void);
354 };
355 #endif // DBG_UTIL
356 
358 {
359  std::unique_ptr<weld::RadioButton> m_xAutoRB;
360  std::unique_ptr<weld::RadioButton> m_xWordRB;
361  std::unique_ptr<weld::RadioButton> m_xCharRB;
362  std::unique_ptr<weld::CheckButton> m_xRsidCB;
363  std::unique_ptr<weld::CheckButton> m_xIgnoreCB;
364  std::unique_ptr<weld::SpinButton> m_xLenNF;
365  std::unique_ptr<weld::CheckButton> m_xStoreRsidCB;
366 
367  DECL_LINK(ComparisonHdl, weld::Button&, void);
368  DECL_LINK(IgnoreHdl, weld::Button&, void);
369 
370 public:
372  virtual ~SwCompareOptionsTabPage() override;
373 
374  static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rAttrSet );
375 
376  virtual bool FillItemSet( SfxItemSet* rSet ) override;
377  virtual void Reset( const SfxItemSet* rSet ) override;
378 };
379 
380 #endif
381 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
std::unique_ptr< weld::ComboBox > m_xTitleBox
Definition: optpage.hxx:153
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: optpage.cxx:556
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:1031
std::unique_ptr< weld::CustomWeld > m_xInsertedPreview
Definition: optpage.hxx:288
std::unique_ptr< weld::ComboBox > m_xIdxBox
Definition: optpage.hxx:159
DECL_LINK(StandardHdl, weld::Button &, void)
std::unique_ptr< ColorListBox > m_xInsertColorLB
Definition: optpage.hxx:286
Color m_aMarkCol
Definition: optpage.hxx:257
std::unique_ptr< weld::CheckButton > m_xNumAlignmentCB
Definition: optpage.hxx:190
virtual void Reset(const SfxItemSet *rSet) override
Definition: optpage.cxx:1306
virtual void Reset(const SfxItemSet *rSet) override
Definition: optpage.cxx:1118
std::unique_ptr< weld::CheckButton > m_xRepeatHeaderCB
Definition: optpage.hxx:184
SwRedlineOptionsTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: optpage.cxx:1539
void InitColors()
Definition: optpage.cxx:1400
std::unique_ptr< weld::CheckButton > m_xPostItCB
Definition: optpage.hxx:48
std::unique_ptr< weld::ComboBox > m_xListBox
Definition: optpage.hxx:155
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: optpage.cxx:2007
std::unique_ptr< weld::CheckButton > m_xTest3CBox
Definition: optpage.hxx:343
std::unique_ptr< weld::CheckButton > m_xProspectCB
Definition: optpage.hxx:87
std::unique_ptr< weld::CheckButton > m_xCtrlFieldCB
Definition: optpage.hxx:78
SwTestTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: optpage.cxx:2113
std::unique_ptr< weld::CheckButton > m_xTest4CBox
Definition: optpage.hxx:344
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: optpage.cxx:1614
SwWrtShell * m_pWrtShell
Definition: optpage.hxx:220
SwStdFontConfig * m_pFontConfig
Definition: optpage.hxx:127
bool m_bListHeightDefault
Definition: optpage.hxx:140
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: optpage.cxx:2002
OUString m_sShellLabel
Definition: optpage.hxx:122
std::unique_ptr< weld::CheckButton > m_xTest1CBox
Definition: optpage.hxx:341
std::unique_ptr< weld::CheckButton > m_xLeftPageCB
Definition: optpage.hxx:85
std::unique_ptr< weld::Frame > m_xSettingsFrame
Definition: optpage.hxx:50
std::unique_ptr< weld::CheckButton > m_xDrwCB
Definition: optpage.hxx:47
std::unique_ptr< weld::CheckButton > m_xStoreRsidCB
Definition: optpage.hxx:365
bool m_bDisposePrinter
Definition: optpage.hxx:138
virtual void Paint(vcl::RenderContext &rRenderContext, const tools::Rectangle &) override
Definition: optpage.cxx:1414
std::unique_ptr< weld::ComboBox > m_xStandardBox
Definition: optpage.hxx:151
Color m_aTextCol
Definition: optpage.hxx:260
bool m_bIndexHeightDefault
Definition: optpage.hxx:142
std::unique_ptr< SvxFontPrevWindow > m_xChangedPreviewWN
Definition: optpage.hxx:297
std::unique_ptr< SvtFontSizeBox > m_xStandardHeightLB
Definition: optpage.hxx:152
std::unique_ptr< weld::CheckButton > m_xDontSplitCB
Definition: optpage.hxx:185
virtual ~SwRedlineOptionsTabPage() override
Definition: optpage.cxx:1598
bool m_bLabelHeightDefault
Definition: optpage.hxx:141
OUString const m_sScriptWestern
Definition: optpage.hxx:146
bool m_bSetListDefault
Definition: optpage.hxx:133
virtual ~SwTableOptionsTabPage() override
Definition: optpage.cxx:1021
bool bAttrModified
Definition: optpage.hxx:339
bool m_bSetIdxDefault
Definition: optpage.hxx:137
OUString const m_sScriptComplex
Definition: optpage.hxx:148
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: optpage.cxx:2140
std::unique_ptr< weld::CheckButton > m_xGrfCB
Definition: optpage.hxx:77
VclPtr< SfxPrinter > m_pPrt
Definition: optpage.hxx:125
std::unique_ptr< weld::CheckButton > m_xVRulerRightCBox
Definition: optpage.hxx:41
std::unique_ptr< weld::CheckButton > m_xParaCB
Definition: optpage.hxx:223
std::unique_ptr< weld::CheckButton > m_xMathBaselineAlignmentCB
Definition: optpage.hxx:238
std::unique_ptr< weld::ComboBox > m_xDeletedLB
Definition: optpage.hxx:290
Used by the UI to modify the document model.
Definition: wrtsh.hxx:90
std::unique_ptr< weld::CheckButton > m_xFieldHiddenParaCB
Definition: optpage.hxx:57
std::unique_ptr< SwMarkPreview > m_xMarkPreviewWN
Definition: optpage.hxx:302
std::unique_ptr< weld::ComboBox > m_xLabelBox
Definition: optpage.hxx:157
OUString const sNone
Definition: optpage.hxx:73
tools::Rectangle aRightPagePrtArea
Definition: optpage.hxx:265
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: optpage.cxx:989
std::unique_ptr< weld::Button > m_xStandardPB
Definition: optpage.hxx:161
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: optpage.cxx:222
std::unique_ptr< SvxFontPrevWindow > m_xDeletedPreviewWN
Definition: optpage.hxx:292
Color m_aShadowCol
Definition: optpage.hxx:259
DECL_LINK(AttribHdl, weld::ComboBox &, void)
virtual void Reset(const SfxItemSet *rSet) override
Definition: optpage.cxx:712
sal_uInt16 nMarkPos
Definition: optpage.hxx:267
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: optpage.cxx:356
std::unique_ptr< weld::CustomWeld > m_xChangedPreview
Definition: optpage.hxx:298
std::unique_ptr< weld::CheckButton > m_xCursorInProtCB
Definition: optpage.hxx:236
virtual void Reset(const SfxItemSet *rSet) override
Definition: optpage.cxx:1696
std::unique_ptr< weld::CheckButton > m_xVRulerCBox
Definition: optpage.hxx:40
SwCompareOptionsTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: optpage.cxx:1980
void SetFax(const std::vector< OUString > &)
Definition: optpage.cxx:455
std::unique_ptr< weld::RadioButton > m_xVarRB
Definition: optpage.hxx:200
std::unique_ptr< weld::CheckButton > m_xTest7CBox
Definition: optpage.hxx:347
std::unique_ptr< weld::ComboBox > m_xMarkPosLB
Definition: optpage.hxx:300
std::unique_ptr< weld::MetricSpinButton > m_xRowInsertMF
Definition: optpage.hxx:195
std::unique_ptr< SvtFontSizeBox > m_xIndexHeightLB
Definition: optpage.hxx:160
tools::Rectangle aLeftPagePrtArea
Definition: optpage.hxx:264
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: optpage.cxx:470
std::unique_ptr< weld::CheckButton > m_xShowInlineTooltips
Definition: optpage.hxx:55
std::unique_ptr< weld::CheckButton > m_xTabCB
Definition: optpage.hxx:227
std::unique_ptr< weld::CheckButton > m_xSmoothCBox
Definition: optpage.hxx:43
std::unique_ptr< weld::RadioButton > m_xEndRB
Definition: optpage.hxx:93
SwAddPrinterTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: optpage.cxx:277
void SetMarkPos(sal_uInt16 nPos)
Definition: optpage.hxx:279
std::unique_ptr< weld::RadioButton > m_xFixRB
Definition: optpage.hxx:198
std::unique_ptr< weld::CheckButton > m_xSHyphCB
Definition: optpage.hxx:224
OUString m_sShellList
Definition: optpage.hxx:121
std::unique_ptr< weld::CheckButton > m_xPrintEmptyPagesCB
Definition: optpage.hxx:97
std::unique_ptr< weld::RadioButton > m_xInMarginsRB
Definition: optpage.hxx:95
std::unique_ptr< weld::ComboBox > m_xDirectCursorFillMode
Definition: optpage.hxx:234
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: optpage.cxx:1256
std::unique_ptr< weld::RadioButton > m_xEndPageRB
Definition: optpage.hxx:94
virtual ~SwAddPrinterTabPage() override
Definition: optpage.cxx:339
std::unique_ptr< weld::RadioButton > m_xAutoRB
Definition: optpage.hxx:359
Color m_aLineCol
Definition: optpage.hxx:258
bool m_bSetLabelDefault
Definition: optpage.hxx:135
std::unique_ptr< ColorListBox > m_xChangedColorLB
Definition: optpage.hxx:296
std::unique_ptr< weld::CustomWeld > m_xDeletedPreview
Definition: optpage.hxx:293
DECL_LINK(AutoClickHdl, weld::Button &, void)
LanguageType m_eLanguage
Definition: optpage.hxx:129
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: optpage.cxx:583
virtual ~SwStdFontTabPage() override
Definition: optpage.cxx:542
tools::Rectangle aPage
Definition: optpage.hxx:263
virtual ~SwCompareOptionsTabPage() override
Definition: optpage.cxx:1998
std::unique_ptr< weld::CheckButton > m_xTest2CBox
Definition: optpage.hxx:342
DECL_LINK(ComparisonHdl, weld::Button &, void)
DECL_LINK(AutoClickHdl, weld::ToggleButton &, void)
std::unique_ptr< weld::CheckButton > m_xPaperFromSetupCB
Definition: optpage.hxx:98
DECL_LINK(CheckBoxHdl, weld::Button &, void)
virtual void Reset(const SfxItemSet *rSet) override
Definition: optpage.cxx:196
virtual ~SwShdwCursorOptionsTabPage() override
Definition: optpage.cxx:1240
OUString m_sShellIndex
Definition: optpage.hxx:123
std::unique_ptr< weld::CheckButton > m_xIgnoreCB
Definition: optpage.hxx:363
std::unique_ptr< weld::RadioButton > m_xWordRB
Definition: optpage.hxx:360
std::unique_ptr< weld::ComboBox > m_xVMetric
Definition: optpage.hxx:42
std::unique_ptr< weld::CheckButton > m_xTest10CBox
Definition: optpage.hxx:350
std::unique_ptr< weld::Widget > m_xCommentsFrame
Definition: optpage.hxx:90
SwContentOptPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: optpage.cxx:97
std::unique_ptr< weld::CustomWeld > m_xMarkPreview
Definition: optpage.hxx:303
void PaintPage(vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect)
Definition: optpage.cxx:1484
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: optpage.cxx:1025
std::unique_ptr< FontList > m_pFontList
Definition: optpage.hxx:126
SwStdFontTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: optpage.cxx:490
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: optpage.cxx:350
std::unique_ptr< weld::CheckButton > m_xTest8CBox
Definition: optpage.hxx:348
std::unique_ptr< weld::CheckButton > m_xCharHiddenCB
Definition: optpage.hxx:229
virtual ~SwTestTabPage() override
Definition: optpage.cxx:2130
std::unique_ptr< weld::Label > m_xSettingsLabel
Definition: optpage.hxx:51
std::unique_ptr< weld::ComboBox > m_xHMetric
Definition: optpage.hxx:39
std::unique_ptr< weld::CheckButton > m_xOnOffCB
Definition: optpage.hxx:232
OUString m_sShellTitle
Definition: optpage.hxx:120
Color const m_aTransCol
Definition: optpage.hxx:256
std::unique_ptr< weld::Label > m_xLabelFT
Definition: optpage.hxx:150
SwTableOptionsTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: optpage.cxx:996
std::unique_ptr< SvxFontPrevWindow > m_xInsertedPreviewWN
Definition: optpage.hxx:287
unsigned char sal_uInt8
std::unique_ptr< weld::ComboBox > m_xFaxLB
Definition: optpage.hxx:99
virtual void SetDrawingArea(weld::DrawingArea *pDrawingArea) override
Definition: optpage.cxx:1514
std::unique_ptr< weld::RadioButton > m_xCharRB
Definition: optpage.hxx:361
OUString const m_sScriptAsian
Definition: optpage.hxx:147
std::unique_ptr< weld::Frame > m_xCursorProtFrame
Definition: optpage.hxx:235
std::unique_ptr< weld::CheckButton > m_xTest6CBox
Definition: optpage.hxx:346
std::unique_ptr< SvtFontSizeBox > m_xTitleHeightLB
Definition: optpage.hxx:154
std::unique_ptr< weld::MetricSpinButton > m_xColInsertMF
Definition: optpage.hxx:196
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: optpage.cxx:1244
std::unique_ptr< weld::Widget > m_xPagesFrame
Definition: optpage.hxx:84
void SetPreview(bool bPrev)
Definition: optpage.cxx:343
std::unique_ptr< weld::CheckButton > m_xHeaderCB
Definition: optpage.hxx:183
std::unique_ptr< weld::RadioButton > m_xFixPropRB
Definition: optpage.hxx:199
std::unique_ptr< weld::CheckButton > m_xCrossCB
Definition: optpage.hxx:37
std::unique_ptr< weld::CheckButton > m_xRsidCB
Definition: optpage.hxx:362
static void InitFontStyle(SvxFontPrevWindow &rExampleWin, const OUString &rText)
Definition: optpage.cxx:1936
std::unique_ptr< weld::CheckButton > m_xSpacesCB
Definition: optpage.hxx:225
std::unique_ptr< weld::RadioButton > m_xNoRB
Definition: optpage.hxx:91
OUString m_sShellStd
Definition: optpage.hxx:119
std::unique_ptr< weld::CheckButton > m_xTest5CBox
Definition: optpage.hxx:345
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: optpage.cxx:1189
std::unique_ptr< weld::CheckButton > m_xBreakCB
Definition: optpage.hxx:228
std::unique_ptr< ColorListBox > m_xMarkColorLB
Definition: optpage.hxx:301
std::unique_ptr< weld::CheckButton > m_xRightPageCB
Definition: optpage.hxx:86
SwShdwCursorOptionsTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: optpage.cxx:1196
std::unique_ptr< weld::RadioButton > m_xOnlyRB
Definition: optpage.hxx:92
std::unique_ptr< weld::CheckButton > m_xProspectCB_RTL
Definition: optpage.hxx:88
std::unique_ptr< weld::SpinButton > m_xLenNF
Definition: optpage.hxx:364
std::unique_ptr< weld::CheckButton > m_xNumFormattingCB
Definition: optpage.hxx:188
std::unique_ptr< weld::CheckButton > m_xHSpacesCB
Definition: optpage.hxx:226
std::unique_ptr< weld::CheckButton > m_xPrintHiddenTextCB
Definition: optpage.hxx:81
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: optpage.cxx:172
std::unique_ptr< weld::Frame > m_xDirectCursorFrame
Definition: optpage.hxx:231
std::unique_ptr< weld::Label > m_xMetricLabel
Definition: optpage.hxx:52
void SetColor(const Color &rCol)
Definition: optpage.hxx:278
SwWrtShell * m_pWrtShell
Definition: optpage.hxx:128
std::unique_ptr< weld::CheckButton > m_xFieldHiddenCB
Definition: optpage.hxx:56
std::unique_ptr< weld::CheckButton > m_xBorderCB
Definition: optpage.hxx:186
sal_uInt8 m_nFontGroup
Definition: optpage.hxx:144
std::unique_ptr< weld::ComboBox > m_xMetricLB
Definition: optpage.hxx:53
std::unique_ptr< weld::CheckButton > m_xGrfCB
Definition: optpage.hxx:45
std::unique_ptr< SvtFontSizeBox > m_xListHeightLB
Definition: optpage.hxx:156
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: optpage.cxx:2134
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: optpage.cxx:1619
std::unique_ptr< weld::CheckButton > m_xPrintTextPlaceholderCB
Definition: optpage.hxx:82
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: optpage.cxx:1249
std::unique_ptr< weld::ComboBox > m_xInsertLB
Definition: optpage.hxx:285
std::unique_ptr< SvtFontSizeBox > m_xLabelHeightLB
Definition: optpage.hxx:158
SwWrtShell * m_pWrtShell
Definition: optpage.hxx:180
virtual ~SwMarkPreview() override
Definition: optpage.cxx:1396
virtual void Reset(const SfxItemSet *rSet) override
Definition: optpage.cxx:2161
std::unique_ptr< weld::MetricSpinButton > m_xRowMoveMF
Definition: optpage.hxx:192
std::unique_ptr< weld::CheckButton > m_xBlackFontCB
Definition: optpage.hxx:80
Color m_aBgCol
Definition: optpage.hxx:255
std::unique_ptr< ColorListBox > m_xDeletedColorLB
Definition: optpage.hxx:291
virtual void Reset(const SfxItemSet *rSet) override
Definition: optpage.cxx:2053
Color m_aPrintAreaCol
Definition: optpage.hxx:261
virtual void Reset(const SfxItemSet *rSet) override
Definition: optpage.cxx:397
virtual ~SwContentOptPage() override
Definition: optpage.cxx:168
bool m_bLabelDefault
Definition: optpage.hxx:134
std::unique_ptr< weld::ComboBox > m_xChangedLB
Definition: optpage.hxx:295
std::unique_ptr< weld::MetricSpinButton > m_xColMoveMF
Definition: optpage.hxx:193
std::unique_ptr< weld::CheckButton > m_xBackgroundCB
Definition: optpage.hxx:79
std::unique_ptr< weld::CheckButton > m_xTest9CBox
Definition: optpage.hxx:349
std::unique_ptr< weld::CheckButton > m_xNumFormatFormattingCB
Definition: optpage.hxx:189