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(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet);
63  virtual ~SwContentOptPage() override;
64 
65  static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, 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(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet);
107  virtual ~SwAddPrinterTabPage() override;
108 
109  static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, 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  OUString m_sShellStd;
121  OUString m_sShellTitle;
122  OUString m_sShellList;
123  OUString m_sShellLabel;
124  OUString m_sShellIndex;
125 
127  std::unique_ptr<FontList> m_pFontList;
131 
132  // only defaults were there? they were signed with the boxes
133  bool m_bListDefault :1;
137  bool m_bIdxDefault :1;
140 
144 
145  sal_uInt8 m_nFontGroup; //fontcfg.hxx: FONT_GROUP_[STANDARD|CJK|CTL]
146 
147  OUString const m_sScriptWestern;
148  OUString const m_sScriptAsian;
149  OUString const m_sScriptComplex;
150 
151  std::unique_ptr<weld::Label> m_xLabelFT;
152  std::unique_ptr<weld::ComboBox> m_xStandardBox;
153  std::unique_ptr<SvtFontSizeBox> m_xStandardHeightLB;
154  std::unique_ptr<weld::ComboBox> m_xTitleBox;
155  std::unique_ptr<SvtFontSizeBox> m_xTitleHeightLB;
156  std::unique_ptr<weld::ComboBox> m_xListBox;
157  std::unique_ptr<SvtFontSizeBox> m_xListHeightLB;
158  std::unique_ptr<weld::ComboBox> m_xLabelBox;
159  std::unique_ptr<SvtFontSizeBox> m_xLabelHeightLB;
160  std::unique_ptr<weld::ComboBox> m_xIdxBox;
161  std::unique_ptr<SvtFontSizeBox> m_xIndexHeightLB;
162  std::unique_ptr<weld::Button> m_xStandardPB;
163 
164  DECL_LINK(StandardHdl, weld::Button&, void );
165  DECL_LINK(ModifyHdl, weld::ComboBox&, void );
166  DECL_LINK(LoseFocusHdl, weld::Widget&, void );
167 
168 public:
169  SwStdFontTabPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet);
170  static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rAttrSet);
171  virtual ~SwStdFontTabPage() override;
172 
173  virtual bool FillItemSet(SfxItemSet* rSet) override;
174  virtual void Reset(const SfxItemSet* rSet) override;
175 
176  virtual void PageCreated(const SfxAllItemSet& aSet) override;
177 };
178 
180 {
183 
184  std::unique_ptr<weld::CheckButton> m_xHeaderCB;
185  std::unique_ptr<weld::CheckButton> m_xRepeatHeaderCB;
186  std::unique_ptr<weld::CheckButton> m_xDontSplitCB;
187  std::unique_ptr<weld::CheckButton> m_xBorderCB;
188 
189  std::unique_ptr<weld::CheckButton> m_xNumFormattingCB;
190  std::unique_ptr<weld::CheckButton> m_xNumFormatFormattingCB;
191  std::unique_ptr<weld::CheckButton> m_xNumAlignmentCB;
192 
193  std::unique_ptr<weld::MetricSpinButton> m_xRowMoveMF;
194  std::unique_ptr<weld::MetricSpinButton> m_xColMoveMF;
195 
196  std::unique_ptr<weld::MetricSpinButton> m_xRowInsertMF;
197  std::unique_ptr<weld::MetricSpinButton> m_xColInsertMF;
198 
199  std::unique_ptr<weld::RadioButton> m_xFixRB;
200  std::unique_ptr<weld::RadioButton> m_xFixPropRB;
201  std::unique_ptr<weld::RadioButton> m_xVarRB;
202 
203  DECL_LINK(CheckBoxHdl, weld::Button&, void);
204 
205 public:
206  SwTableOptionsTabPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet);
207  virtual ~SwTableOptionsTabPage() override;
208 
209  static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rAttrSet);
210 
211  virtual bool FillItemSet(SfxItemSet* rSet) override;
212  virtual void Reset(const SfxItemSet* rSet) override;
213 
214  virtual void PageCreated( const SfxAllItemSet& aSet) override;
215 
216 };
217 
218 // TabPage for ShadowCursor
220 {
222 
223  //nonprinting characters
224  std::unique_ptr<weld::CheckButton> m_xParaCB;
225  std::unique_ptr<weld::CheckButton> m_xSHyphCB;
226  std::unique_ptr<weld::CheckButton> m_xSpacesCB;
227  std::unique_ptr<weld::CheckButton> m_xHSpacesCB;
228  std::unique_ptr<weld::CheckButton> m_xTabCB;
229  std::unique_ptr<weld::CheckButton> m_xBreakCB;
230  std::unique_ptr<weld::CheckButton> m_xCharHiddenCB;
231 
232  std::unique_ptr<weld::Frame> m_xDirectCursorFrame;
233  std::unique_ptr<weld::CheckButton> m_xOnOffCB;
234 
235  std::unique_ptr<weld::RadioButton> m_xFillMarginRB;
236  std::unique_ptr<weld::RadioButton> m_xFillIndentRB;
237  std::unique_ptr<weld::RadioButton> m_xFillTabRB;
238  std::unique_ptr<weld::RadioButton> m_xFillTabAndSpaceRB;
239  std::unique_ptr<weld::RadioButton> m_xFillSpaceRB;
240 
241  std::unique_ptr<weld::Frame> m_xCursorProtFrame;
242  std::unique_ptr<weld::CheckButton> m_xCursorInProtCB;
243 
244  std::unique_ptr<weld::CheckButton> m_xMathBaselineAlignmentCB;
245 
246 public:
248  virtual ~SwShdwCursorOptionsTabPage() override;
249 
250  static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rAttrSet);
251 
252  virtual bool FillItemSet( SfxItemSet* rSet ) override;
253  virtual void Reset( const SfxItemSet* rSet ) override;
254 
255  virtual void PageCreated( const SfxAllItemSet& aSet ) override;
256 };
257 
258 // mark preview
260 {
261  Color m_aBgCol; // background
262  Color const m_aTransCol; // transparency
263  Color m_aMarkCol; // marks
264  Color m_aLineCol; // general lines
265  Color m_aShadowCol; // shadow
266  Color m_aTextCol; // text
267  Color m_aPrintAreaCol; // frame for print area
268 
272 
273  sal_uInt16 nMarkPos;
274 
275  virtual void Paint(vcl::RenderContext& rRenderContext, const tools::Rectangle&) override;
276  void PaintPage(vcl::RenderContext& rRenderContext, const tools::Rectangle &rRect);
277  void InitColors();
278 
279 public:
280  SwMarkPreview();
281  virtual void SetDrawingArea(weld::DrawingArea* pDrawingArea) override;
282  virtual ~SwMarkPreview() override;
283 
284  void SetColor(const Color& rCol) { m_aMarkCol = rCol; }
285  void SetMarkPos(sal_uInt16 nPos) { nMarkPos = nPos; }
286 };
287 
288 // redlining options
290 {
291  std::unique_ptr<weld::ComboBox> m_xInsertLB;
292  std::unique_ptr<ColorListBox> m_xInsertColorLB;
293  std::unique_ptr<SvxFontPrevWindow> m_xInsertedPreviewWN;
294  std::unique_ptr<weld::CustomWeld> m_xInsertedPreview;
295 
296  std::unique_ptr<weld::ComboBox> m_xDeletedLB;
297  std::unique_ptr<ColorListBox> m_xDeletedColorLB;
298  std::unique_ptr<SvxFontPrevWindow> m_xDeletedPreviewWN;
299  std::unique_ptr<weld::CustomWeld> m_xDeletedPreview;
300 
301  std::unique_ptr<weld::ComboBox> m_xChangedLB;
302  std::unique_ptr<ColorListBox> m_xChangedColorLB;
303  std::unique_ptr<SvxFontPrevWindow> m_xChangedPreviewWN;
304  std::unique_ptr<weld::CustomWeld> m_xChangedPreview;
305 
306  std::unique_ptr<weld::ComboBox> m_xMarkPosLB;
307  std::unique_ptr<ColorListBox> m_xMarkColorLB;
308  std::unique_ptr<SwMarkPreview> m_xMarkPreviewWN;
309  std::unique_ptr<weld::CustomWeld> m_xMarkPreview;
310 
311  DECL_LINK(AttribHdl, weld::ComboBox&, void);
312  void ChangedMaskPrev();
313  DECL_LINK(ChangedMaskPrevHdl, weld::ComboBox&, void);
314  DECL_LINK(ChangedMaskColorPrevHdl, ColorListBox&, void);
315  DECL_LINK(ColorHdl, ColorListBox&, void);
316 
317  static void InitFontStyle(SvxFontPrevWindow& rExampleWin, const OUString& rText);
318 
319 public:
321  virtual ~SwRedlineOptionsTabPage() override;
322 
323  static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rAttrSet);
324 
325  virtual bool FillItemSet( SfxItemSet* rSet ) override;
326  virtual void Reset( const SfxItemSet* rSet ) override;
327 };
328 
329 // TabPage test settings for SW
330 
331 #ifdef DBG_UTIL
332 
333 class SwTestTabPage : public SfxTabPage
334 {
335 public:
336  SwTestTabPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet);
337  virtual ~SwTestTabPage() override;
338 
339  static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rAttrSet);
340 
341  virtual bool FillItemSet( SfxItemSet* rSet ) override;
342  virtual void Reset( const SfxItemSet* rSet ) override;
343 
344 private:
346 
347  std::unique_ptr<weld::CheckButton> m_xTest1CBox;
348  std::unique_ptr<weld::CheckButton> m_xTest2CBox;
349  std::unique_ptr<weld::CheckButton> m_xTest3CBox;
350  std::unique_ptr<weld::CheckButton> m_xTest4CBox;
351  std::unique_ptr<weld::CheckButton> m_xTest5CBox;
352  std::unique_ptr<weld::CheckButton> m_xTest6CBox;
353  std::unique_ptr<weld::CheckButton> m_xTest7CBox;
354  std::unique_ptr<weld::CheckButton> m_xTest8CBox;
355  std::unique_ptr<weld::CheckButton> m_xTest9CBox;
356  std::unique_ptr<weld::CheckButton> m_xTest10CBox;
357 
358  void Init();
359  DECL_LINK(AutoClickHdl, weld::Button&, void);
360 };
361 #endif // DBG_UTIL
362 
364 {
365  std::unique_ptr<weld::RadioButton> m_xAutoRB;
366  std::unique_ptr<weld::RadioButton> m_xWordRB;
367  std::unique_ptr<weld::RadioButton> m_xCharRB;
368  std::unique_ptr<weld::CheckButton> m_xRsidCB;
369  std::unique_ptr<weld::CheckButton> m_xIgnoreCB;
370  std::unique_ptr<weld::SpinButton> m_xLenNF;
371  std::unique_ptr<weld::CheckButton> m_xStoreRsidCB;
372 
373  DECL_LINK(ComparisonHdl, weld::Button&, void);
374  DECL_LINK(IgnoreHdl, weld::Button&, void);
375 
376 public:
378  virtual ~SwCompareOptionsTabPage() override;
379 
380  static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rAttrSet );
381 
382  virtual bool FillItemSet( SfxItemSet* rSet ) override;
383  virtual void Reset( const SfxItemSet* rSet ) override;
384 };
385 
386 #endif
387 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
std::unique_ptr< weld::ComboBox > m_xTitleBox
Definition: optpage.hxx:154
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: optpage.cxx:559
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:1034
std::unique_ptr< weld::CustomWeld > m_xInsertedPreview
Definition: optpage.hxx:294
std::unique_ptr< weld::ComboBox > m_xIdxBox
Definition: optpage.hxx:160
DECL_LINK(StandardHdl, weld::Button &, void)
std::unique_ptr< ColorListBox > m_xInsertColorLB
Definition: optpage.hxx:292
Color m_aMarkCol
Definition: optpage.hxx:263
std::unique_ptr< weld::CheckButton > m_xNumAlignmentCB
Definition: optpage.hxx:191
virtual void Reset(const SfxItemSet *rSet) override
Definition: optpage.cxx:1332
virtual void Reset(const SfxItemSet *rSet) override
Definition: optpage.cxx:1121
std::unique_ptr< weld::CheckButton > m_xRepeatHeaderCB
Definition: optpage.hxx:185
SwRedlineOptionsTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: optpage.cxx:1566
void InitColors()
Definition: optpage.cxx:1427
std::unique_ptr< weld::CheckButton > m_xPostItCB
Definition: optpage.hxx:49
std::unique_ptr< weld::ComboBox > m_xListBox
Definition: optpage.hxx:156
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: optpage.cxx:2034
std::unique_ptr< weld::CheckButton > m_xTest3CBox
Definition: optpage.hxx:349
std::unique_ptr< weld::CheckButton > m_xProspectCB
Definition: optpage.hxx:88
std::unique_ptr< weld::CheckButton > m_xCtrlFieldCB
Definition: optpage.hxx:79
SwTestTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: optpage.cxx:2140
std::unique_ptr< weld::CheckButton > m_xTest4CBox
Definition: optpage.hxx:350
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: optpage.cxx:1641
SwWrtShell * m_pWrtShell
Definition: optpage.hxx:221
SwStdFontConfig * m_pFontConfig
Definition: optpage.hxx:128
bool m_bListHeightDefault
Definition: optpage.hxx:141
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: optpage.cxx:2029
OUString m_sShellLabel
Definition: optpage.hxx:123
std::unique_ptr< weld::CheckButton > m_xFieldNameCB
Definition: optpage.hxx:48
std::unique_ptr< weld::CheckButton > m_xTest1CBox
Definition: optpage.hxx:347
std::unique_ptr< weld::CheckButton > m_xLeftPageCB
Definition: optpage.hxx:86
std::unique_ptr< weld::RadioButton > m_xFillTabRB
Definition: optpage.hxx:237
std::unique_ptr< weld::Frame > m_xSettingsFrame
Definition: optpage.hxx:51
std::unique_ptr< weld::CheckButton > m_xDrwCB
Definition: optpage.hxx:47
std::unique_ptr< weld::CheckButton > m_xStoreRsidCB
Definition: optpage.hxx:371
bool m_bDisposePrinter
Definition: optpage.hxx:139
virtual void Paint(vcl::RenderContext &rRenderContext, const tools::Rectangle &) override
Definition: optpage.cxx:1441
std::unique_ptr< weld::ComboBox > m_xStandardBox
Definition: optpage.hxx:152
Color m_aTextCol
Definition: optpage.hxx:266
bool m_bIndexHeightDefault
Definition: optpage.hxx:143
std::unique_ptr< SvxFontPrevWindow > m_xChangedPreviewWN
Definition: optpage.hxx:303
std::unique_ptr< SvtFontSizeBox > m_xStandardHeightLB
Definition: optpage.hxx:153
std::unique_ptr< weld::CheckButton > m_xDontSplitCB
Definition: optpage.hxx:186
virtual ~SwRedlineOptionsTabPage() override
Definition: optpage.cxx:1625
bool m_bLabelHeightDefault
Definition: optpage.hxx:142
OUString const m_sScriptWestern
Definition: optpage.hxx:147
bool m_bSetListDefault
Definition: optpage.hxx:134
virtual ~SwTableOptionsTabPage() override
Definition: optpage.cxx:1024
bool bAttrModified
Definition: optpage.hxx:345
bool m_bSetIdxDefault
Definition: optpage.hxx:138
OUString const m_sScriptComplex
Definition: optpage.hxx:149
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: optpage.cxx:2167
std::unique_ptr< weld::CheckButton > m_xGrfCB
Definition: optpage.hxx:78
VclPtr< SfxPrinter > m_pPrt
Definition: optpage.hxx:126
std::unique_ptr< weld::CheckButton > m_xVRulerRightCBox
Definition: optpage.hxx:41
std::unique_ptr< weld::CheckButton > m_xParaCB
Definition: optpage.hxx:224
std::unique_ptr< weld::CheckButton > m_xMathBaselineAlignmentCB
Definition: optpage.hxx:244
std::unique_ptr< weld::ComboBox > m_xDeletedLB
Definition: optpage.hxx:296
Used by the UI to modify the document model.
Definition: wrtsh.hxx:90
std::unique_ptr< weld::CheckButton > m_xFieldHiddenParaCB
Definition: optpage.hxx:58
std::unique_ptr< SwMarkPreview > m_xMarkPreviewWN
Definition: optpage.hxx:308
std::unique_ptr< weld::ComboBox > m_xLabelBox
Definition: optpage.hxx:158
OUString const sNone
Definition: optpage.hxx:74
std::unique_ptr< weld::RadioButton > m_xFillTabAndSpaceRB
Definition: optpage.hxx:238
tools::Rectangle aRightPagePrtArea
Definition: optpage.hxx:271
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: optpage.cxx:992
std::unique_ptr< weld::Button > m_xStandardPB
Definition: optpage.hxx:162
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: optpage.cxx:224
std::unique_ptr< SvxFontPrevWindow > m_xDeletedPreviewWN
Definition: optpage.hxx:298
Color m_aShadowCol
Definition: optpage.hxx:265
DECL_LINK(AttribHdl, weld::ComboBox &, void)
virtual void Reset(const SfxItemSet *rSet) override
Definition: optpage.cxx:715
sal_uInt16 nMarkPos
Definition: optpage.hxx:273
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: optpage.cxx:359
std::unique_ptr< weld::CustomWeld > m_xChangedPreview
Definition: optpage.hxx:304
std::unique_ptr< weld::CheckButton > m_xCursorInProtCB
Definition: optpage.hxx:242
virtual void Reset(const SfxItemSet *rSet) override
Definition: optpage.cxx:1723
std::unique_ptr< weld::CheckButton > m_xVRulerCBox
Definition: optpage.hxx:40
SwCompareOptionsTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: optpage.cxx:2007
void SetFax(const std::vector< OUString > &)
Definition: optpage.cxx:458
std::unique_ptr< weld::RadioButton > m_xVarRB
Definition: optpage.hxx:201
std::unique_ptr< weld::CheckButton > m_xTest7CBox
Definition: optpage.hxx:353
std::unique_ptr< weld::ComboBox > m_xMarkPosLB
Definition: optpage.hxx:306
std::unique_ptr< weld::MetricSpinButton > m_xRowInsertMF
Definition: optpage.hxx:196
std::unique_ptr< SvtFontSizeBox > m_xIndexHeightLB
Definition: optpage.hxx:161
tools::Rectangle aLeftPagePrtArea
Definition: optpage.hxx:270
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:228
std::unique_ptr< weld::RadioButton > m_xFillMarginRB
Definition: optpage.hxx:235
std::unique_ptr< weld::CheckButton > m_xSmoothCBox
Definition: optpage.hxx:43
std::unique_ptr< weld::RadioButton > m_xEndRB
Definition: optpage.hxx:94
SwAddPrinterTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: optpage.cxx:280
void SetMarkPos(sal_uInt16 nPos)
Definition: optpage.hxx:285
std::unique_ptr< weld::RadioButton > m_xFixRB
Definition: optpage.hxx:199
std::unique_ptr< weld::CheckButton > m_xSHyphCB
Definition: optpage.hxx:225
OUString m_sShellList
Definition: optpage.hxx:122
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:1273
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:365
Color m_aLineCol
Definition: optpage.hxx:264
bool m_bSetLabelDefault
Definition: optpage.hxx:136
std::unique_ptr< ColorListBox > m_xChangedColorLB
Definition: optpage.hxx:302
std::unique_ptr< weld::CustomWeld > m_xDeletedPreview
Definition: optpage.hxx:299
DECL_LINK(AutoClickHdl, weld::Button &, void)
LanguageType m_eLanguage
Definition: optpage.hxx:130
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: optpage.cxx:586
virtual ~SwStdFontTabPage() override
Definition: optpage.cxx:545
tools::Rectangle aPage
Definition: optpage.hxx:269
virtual ~SwCompareOptionsTabPage() override
Definition: optpage.cxx:2025
std::unique_ptr< weld::CheckButton > m_xTest2CBox
Definition: optpage.hxx:348
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:1257
OUString m_sShellIndex
Definition: optpage.hxx:124
std::unique_ptr< weld::CheckButton > m_xIgnoreCB
Definition: optpage.hxx:369
std::unique_ptr< weld::RadioButton > m_xWordRB
Definition: optpage.hxx:366
std::unique_ptr< weld::ComboBox > m_xVMetric
Definition: optpage.hxx:42
std::unique_ptr< weld::CheckButton > m_xTest10CBox
Definition: optpage.hxx:356
std::unique_ptr< weld::Widget > m_xCommentsFrame
Definition: optpage.hxx:91
SwContentOptPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: optpage.cxx:97
std::unique_ptr< weld::CustomWeld > m_xMarkPreview
Definition: optpage.hxx:309
void PaintPage(vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect)
Definition: optpage.cxx:1511
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: optpage.cxx:1028
std::unique_ptr< FontList > m_pFontList
Definition: optpage.hxx:127
SwStdFontTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: optpage.cxx:493
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: optpage.cxx:353
std::unique_ptr< weld::CheckButton > m_xTest8CBox
Definition: optpage.hxx:354
std::unique_ptr< weld::CheckButton > m_xCharHiddenCB
Definition: optpage.hxx:230
virtual ~SwTestTabPage() override
Definition: optpage.cxx:2157
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:233
OUString m_sShellTitle
Definition: optpage.hxx:121
Color const m_aTransCol
Definition: optpage.hxx:262
std::unique_ptr< weld::Label > m_xLabelFT
Definition: optpage.hxx:151
SwTableOptionsTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: optpage.cxx:999
std::unique_ptr< SvxFontPrevWindow > m_xInsertedPreviewWN
Definition: optpage.hxx:293
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:1541
std::unique_ptr< weld::RadioButton > m_xCharRB
Definition: optpage.hxx:367
OUString const m_sScriptAsian
Definition: optpage.hxx:148
std::unique_ptr< weld::Frame > m_xCursorProtFrame
Definition: optpage.hxx:241
std::unique_ptr< weld::CheckButton > m_xTest6CBox
Definition: optpage.hxx:352
std::unique_ptr< SvtFontSizeBox > m_xTitleHeightLB
Definition: optpage.hxx:155
std::unique_ptr< weld::RadioButton > m_xFillIndentRB
Definition: optpage.hxx:236
std::unique_ptr< weld::MetricSpinButton > m_xColInsertMF
Definition: optpage.hxx:197
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: optpage.cxx:1261
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:184
std::unique_ptr< weld::RadioButton > m_xFixPropRB
Definition: optpage.hxx:200
std::unique_ptr< weld::CheckButton > m_xCrossCB
Definition: optpage.hxx:37
std::unique_ptr< weld::CheckButton > m_xRsidCB
Definition: optpage.hxx:368
static void InitFontStyle(SvxFontPrevWindow &rExampleWin, const OUString &rText)
Definition: optpage.cxx:1963
std::unique_ptr< weld::CheckButton > m_xSpacesCB
Definition: optpage.hxx:226
std::unique_ptr< weld::RadioButton > m_xNoRB
Definition: optpage.hxx:92
OUString m_sShellStd
Definition: optpage.hxx:120
std::unique_ptr< weld::CheckButton > m_xTest5CBox
Definition: optpage.hxx:351
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: optpage.cxx:1192
std::unique_ptr< weld::CheckButton > m_xBreakCB
Definition: optpage.hxx:229
std::unique_ptr< ColorListBox > m_xMarkColorLB
Definition: optpage.hxx:307
std::unique_ptr< weld::CheckButton > m_xRightPageCB
Definition: optpage.hxx:87
SwShdwCursorOptionsTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: optpage.cxx:1199
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:370
std::unique_ptr< weld::CheckButton > m_xNumFormattingCB
Definition: optpage.hxx:189
std::unique_ptr< weld::CheckButton > m_xHSpacesCB
Definition: optpage.hxx:227
std::unique_ptr< weld::CheckButton > m_xPrintHiddenTextCB
Definition: optpage.hxx:82
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: optpage.cxx:173
std::unique_ptr< weld::Frame > m_xDirectCursorFrame
Definition: optpage.hxx:232
std::unique_ptr< weld::Label > m_xMetricLabel
Definition: optpage.hxx:53
void SetColor(const Color &rCol)
Definition: optpage.hxx:284
SwWrtShell * m_pWrtShell
Definition: optpage.hxx:129
std::unique_ptr< weld::CheckButton > m_xFieldHiddenCB
Definition: optpage.hxx:57
std::unique_ptr< weld::CheckButton > m_xBorderCB
Definition: optpage.hxx:187
sal_uInt8 m_nFontGroup
Definition: optpage.hxx:145
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:157
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: optpage.cxx:2161
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: optpage.cxx:1646
std::unique_ptr< weld::CheckButton > m_xPrintTextPlaceholderCB
Definition: optpage.hxx:83
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: optpage.cxx:1266
std::unique_ptr< weld::ComboBox > m_xInsertLB
Definition: optpage.hxx:291
std::unique_ptr< SvtFontSizeBox > m_xLabelHeightLB
Definition: optpage.hxx:159
SwWrtShell * m_pWrtShell
Definition: optpage.hxx:181
virtual ~SwMarkPreview() override
Definition: optpage.cxx:1423
virtual void Reset(const SfxItemSet *rSet) override
Definition: optpage.cxx:2188
std::unique_ptr< weld::RadioButton > m_xFillSpaceRB
Definition: optpage.hxx:239
std::unique_ptr< weld::MetricSpinButton > m_xRowMoveMF
Definition: optpage.hxx:193
std::unique_ptr< weld::CheckButton > m_xBlackFontCB
Definition: optpage.hxx:81
Color m_aBgCol
Definition: optpage.hxx:261
std::unique_ptr< ColorListBox > m_xDeletedColorLB
Definition: optpage.hxx:297
virtual void Reset(const SfxItemSet *rSet) override
Definition: optpage.cxx:2080
Color m_aPrintAreaCol
Definition: optpage.hxx:267
virtual void Reset(const SfxItemSet *rSet) override
Definition: optpage.cxx:400
virtual ~SwContentOptPage() override
Definition: optpage.cxx:169
bool m_bLabelDefault
Definition: optpage.hxx:135
std::unique_ptr< weld::ComboBox > m_xChangedLB
Definition: optpage.hxx:301
std::unique_ptr< weld::MetricSpinButton > m_xColMoveMF
Definition: optpage.hxx:194
std::unique_ptr< weld::CheckButton > m_xBackgroundCB
Definition: optpage.hxx:80
std::unique_ptr< weld::CheckButton > m_xTest9CBox
Definition: optpage.hxx:355
std::unique_ptr< weld::CheckButton > m_xNumFormatFormattingCB
Definition: optpage.hxx:190