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