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_xShowOutlineContentVisibilityButton;
57  std::unique_ptr<weld::CheckButton> m_xShowChangesInMargin;
58  std::unique_ptr<weld::CheckButton> m_xFieldHiddenCB;
59  std::unique_ptr<weld::CheckButton> m_xFieldHiddenParaCB;
60 
61  DECL_LINK(VertRulerHdl, weld::ToggleButton&, void);
62 public:
63  SwContentOptPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet);
64  virtual ~SwContentOptPage() override;
65 
66  static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rAttrSet);
67 
68  virtual bool FillItemSet(SfxItemSet* rSet) override;
69  virtual void Reset(const SfxItemSet* rSet) override;
70 };
71 
72 // TabPage printer settings additions
74 {
75  OUString sNone;
77  bool bPreview;
78 
79  std::unique_ptr<weld::CheckButton> m_xGrfCB;
80  std::unique_ptr<weld::CheckButton> m_xCtrlFieldCB;
81  std::unique_ptr<weld::CheckButton> m_xBackgroundCB;
82  std::unique_ptr<weld::CheckButton> m_xBlackFontCB;
83  std::unique_ptr<weld::CheckButton> m_xPrintHiddenTextCB;
84  std::unique_ptr<weld::CheckButton> m_xPrintTextPlaceholderCB;
85 
86  std::unique_ptr<weld::Widget> m_xPagesFrame;
87  std::unique_ptr<weld::CheckButton> m_xLeftPageCB;
88  std::unique_ptr<weld::CheckButton> m_xRightPageCB;
89  std::unique_ptr<weld::CheckButton> m_xProspectCB;
90  std::unique_ptr<weld::CheckButton> m_xProspectCB_RTL;
91 
92  std::unique_ptr<weld::Widget> m_xCommentsFrame;
93  std::unique_ptr<weld::RadioButton> m_xNoRB;
94  std::unique_ptr<weld::RadioButton> m_xOnlyRB;
95  std::unique_ptr<weld::RadioButton> m_xEndRB;
96  std::unique_ptr<weld::RadioButton> m_xEndPageRB;
97  std::unique_ptr<weld::RadioButton> m_xInMarginsRB;
98 
99  std::unique_ptr<weld::CheckButton> m_xPrintEmptyPagesCB;
100  std::unique_ptr<weld::CheckButton> m_xPaperFromSetupCB;
101  std::unique_ptr<weld::ComboBox> m_xFaxLB;
102 
103  DECL_LINK(AutoClickHdl, weld::ToggleButton&, void);
104  DECL_LINK(SelectHdl, weld::ComboBox&, void);
105 
106 public:
107  SwAddPrinterTabPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet);
108  virtual ~SwAddPrinterTabPage() override;
109 
110  static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rAttrSet);
111 
112  virtual bool FillItemSet(SfxItemSet* rSet) override;
113  virtual void Reset(const SfxItemSet* rSet) override;
114  void SetFax(const std::vector<OUString>& );
115  void SetPreview(bool bPrev);
116  virtual void PageCreated(const SfxAllItemSet& aSet) override;
117 };
118 
120 {
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 
149  OUString m_sScriptAsian;
151 
152  std::unique_ptr<weld::Label> m_xLabelFT;
153  std::unique_ptr<weld::ComboBox> m_xStandardBox;
154  std::unique_ptr<FontSizeBox> m_xStandardHeightLB;
155  std::unique_ptr<weld::ComboBox> m_xTitleBox;
156  std::unique_ptr<FontSizeBox> m_xTitleHeightLB;
157  std::unique_ptr<weld::ComboBox> m_xListBox;
158  std::unique_ptr<FontSizeBox> m_xListHeightLB;
159  std::unique_ptr<weld::ComboBox> m_xLabelBox;
160  std::unique_ptr<FontSizeBox> m_xLabelHeightLB;
161  std::unique_ptr<weld::ComboBox> m_xIdxBox;
162  std::unique_ptr<FontSizeBox> 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 public:
170  SwStdFontTabPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet);
171  static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rAttrSet);
172  virtual ~SwStdFontTabPage() override;
173 
174  virtual bool FillItemSet(SfxItemSet* rSet) override;
175  virtual void Reset(const SfxItemSet* rSet) override;
176 
177  virtual void PageCreated(const SfxAllItemSet& aSet) override;
178 };
179 
181 {
184 
185  std::unique_ptr<weld::CheckButton> m_xHeaderCB;
186  std::unique_ptr<weld::CheckButton> m_xRepeatHeaderCB;
187  std::unique_ptr<weld::CheckButton> m_xDontSplitCB;
188  std::unique_ptr<weld::CheckButton> m_xBorderCB;
189 
190  std::unique_ptr<weld::CheckButton> m_xNumFormattingCB;
191  std::unique_ptr<weld::CheckButton> m_xNumFormatFormattingCB;
192  std::unique_ptr<weld::CheckButton> m_xNumAlignmentCB;
193 
194  std::unique_ptr<weld::MetricSpinButton> m_xRowMoveMF;
195  std::unique_ptr<weld::MetricSpinButton> m_xColMoveMF;
196 
197  std::unique_ptr<weld::MetricSpinButton> m_xRowInsertMF;
198  std::unique_ptr<weld::MetricSpinButton> m_xColInsertMF;
199 
200  std::unique_ptr<weld::RadioButton> m_xFixRB;
201  std::unique_ptr<weld::RadioButton> m_xFixPropRB;
202  std::unique_ptr<weld::RadioButton> m_xVarRB;
203 
204  DECL_LINK(CheckBoxHdl, weld::Button&, void);
205 
206 public:
207  SwTableOptionsTabPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet);
208  virtual ~SwTableOptionsTabPage() override;
209 
210  static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rAttrSet);
211 
212  virtual bool FillItemSet(SfxItemSet* rSet) override;
213  virtual void Reset(const SfxItemSet* rSet) override;
214 
215  virtual void PageCreated( const SfxAllItemSet& aSet) override;
216 
217 };
218 
219 // TabPage for ShadowCursor
221 {
223 
224  //nonprinting characters
225  std::unique_ptr<weld::CheckButton> m_xParaCB;
226  std::unique_ptr<weld::CheckButton> m_xSHyphCB;
227  std::unique_ptr<weld::CheckButton> m_xSpacesCB;
228  std::unique_ptr<weld::CheckButton> m_xHSpacesCB;
229  std::unique_ptr<weld::CheckButton> m_xTabCB;
230  std::unique_ptr<weld::Label> m_xTabLabel;
231  std::unique_ptr<weld::CheckButton> m_xBreakCB;
232  std::unique_ptr<weld::CheckButton> m_xCharHiddenCB;
233  std::unique_ptr<weld::CheckButton> m_xBookmarkCB;
234  std::unique_ptr<weld::Label> m_xBookmarkLabel;
235 
236  std::unique_ptr<weld::Frame> m_xDirectCursorFrame;
237  std::unique_ptr<weld::CheckButton> m_xOnOffCB;
238 
239  std::unique_ptr<weld::ComboBox> m_xDirectCursorFillMode;
240  std::unique_ptr<weld::Frame> m_xCursorProtFrame;
241  std::unique_ptr<weld::CheckButton> m_xCursorInProtCB;
242 
243  std::unique_ptr<weld::CheckButton> m_xMathBaselineAlignmentCB;
244 
245 public:
247  virtual ~SwShdwCursorOptionsTabPage() override;
248 
249  static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rAttrSet);
250 
251  virtual bool FillItemSet( SfxItemSet* rSet ) override;
252  virtual void Reset( const SfxItemSet* rSet ) override;
253 
254  virtual void PageCreated( const SfxAllItemSet& aSet ) override;
255 };
256 
257 // mark preview
259 {
260  Color m_aBgCol; // background
261  Color m_aTransCol; // transparency
262  Color m_aMarkCol; // marks
263  Color m_aLineCol; // general lines
264  Color m_aShadowCol; // shadow
265  Color m_aTextCol; // text
266  Color m_aPrintAreaCol; // frame for print area
267 
271 
272  sal_uInt16 nMarkPos;
273 
274  virtual void Paint(vcl::RenderContext& rRenderContext, const tools::Rectangle&) override;
275  void PaintPage(vcl::RenderContext& rRenderContext, const tools::Rectangle &rRect);
276  void InitColors();
277 
278 public:
279  SwMarkPreview();
280  virtual void SetDrawingArea(weld::DrawingArea* pDrawingArea) override;
281  virtual ~SwMarkPreview() override;
282 
283  void SetColor(const Color& rCol) { m_aMarkCol = rCol; }
284  void SetMarkPos(sal_uInt16 nPos) { nMarkPos = nPos; }
285 };
286 
287 // redlining options
289 {
290  std::unique_ptr<weld::ComboBox> m_xInsertLB;
291  std::unique_ptr<ColorListBox> m_xInsertColorLB;
292  std::unique_ptr<SvxFontPrevWindow> m_xInsertedPreviewWN;
293  std::unique_ptr<weld::CustomWeld> m_xInsertedPreview;
294 
295  std::unique_ptr<weld::ComboBox> m_xDeletedLB;
296  std::unique_ptr<ColorListBox> m_xDeletedColorLB;
297  std::unique_ptr<SvxFontPrevWindow> m_xDeletedPreviewWN;
298  std::unique_ptr<weld::CustomWeld> m_xDeletedPreview;
299 
300  std::unique_ptr<weld::ComboBox> m_xChangedLB;
301  std::unique_ptr<ColorListBox> m_xChangedColorLB;
302  std::unique_ptr<SvxFontPrevWindow> m_xChangedPreviewWN;
303  std::unique_ptr<weld::CustomWeld> m_xChangedPreview;
304 
305  std::unique_ptr<weld::ComboBox> m_xMarkPosLB;
306  std::unique_ptr<ColorListBox> m_xMarkColorLB;
307  std::unique_ptr<SwMarkPreview> m_xMarkPreviewWN;
308  std::unique_ptr<weld::CustomWeld> m_xMarkPreview;
309 
310  DECL_LINK(AttribHdl, weld::ComboBox&, void);
311  void ChangedMaskPrev();
312  DECL_LINK(ChangedMaskPrevHdl, weld::ComboBox&, void);
313  DECL_LINK(ChangedMaskColorPrevHdl, ColorListBox&, void);
314  DECL_LINK(ColorHdl, ColorListBox&, void);
315 
316  static void InitFontStyle(SvxFontPrevWindow& rExampleWin, const OUString& rText);
317 
318 public:
320  virtual ~SwRedlineOptionsTabPage() override;
321 
322  static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rAttrSet);
323 
324  virtual bool FillItemSet( SfxItemSet* rSet ) override;
325  virtual void Reset( const SfxItemSet* rSet ) override;
326 };
327 
328 // TabPage test settings for SW
329 
330 #ifdef DBG_UTIL
331 
332 class SwTestTabPage : public SfxTabPage
333 {
334 public:
335  SwTestTabPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet);
336  virtual ~SwTestTabPage() override;
337 
338  static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rAttrSet);
339 
340  virtual bool FillItemSet( SfxItemSet* rSet ) override;
341  virtual void Reset( const SfxItemSet* rSet ) override;
342 
343 private:
345 
346  std::unique_ptr<weld::CheckButton> m_xTest1CBox;
347  std::unique_ptr<weld::CheckButton> m_xTest2CBox;
348  std::unique_ptr<weld::CheckButton> m_xTest3CBox;
349  std::unique_ptr<weld::CheckButton> m_xTest4CBox;
350  std::unique_ptr<weld::CheckButton> m_xTest5CBox;
351  std::unique_ptr<weld::CheckButton> m_xTest6CBox;
352  std::unique_ptr<weld::CheckButton> m_xTest7CBox;
353  std::unique_ptr<weld::CheckButton> m_xTest8CBox;
354  std::unique_ptr<weld::CheckButton> m_xTest9CBox;
355  std::unique_ptr<weld::CheckButton> m_xTest10CBox;
356 
357  void Init();
358  DECL_LINK(AutoClickHdl, weld::Button&, void);
359 };
360 #endif // DBG_UTIL
361 
363 {
364  std::unique_ptr<weld::RadioButton> m_xAutoRB;
365  std::unique_ptr<weld::RadioButton> m_xWordRB;
366  std::unique_ptr<weld::RadioButton> m_xCharRB;
367  std::unique_ptr<weld::CheckButton> m_xRsidCB;
368  std::unique_ptr<weld::CheckButton> m_xIgnoreCB;
369  std::unique_ptr<weld::SpinButton> m_xLenNF;
370  std::unique_ptr<weld::CheckButton> m_xStoreRsidCB;
371 
372  DECL_LINK(ComparisonHdl, weld::Button&, void);
373  DECL_LINK(IgnoreHdl, weld::Button&, void);
374 
375 public:
377  virtual ~SwCompareOptionsTabPage() override;
378 
379  static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rAttrSet );
380 
381  virtual bool FillItemSet( SfxItemSet* rSet ) override;
382  virtual void Reset( const SfxItemSet* rSet ) override;
383 };
384 
385 #endif
386 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
std::unique_ptr< weld::ComboBox > m_xTitleBox
Definition: optpage.hxx:155
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: optpage.cxx:560
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:1035
std::unique_ptr< weld::CustomWeld > m_xInsertedPreview
Definition: optpage.hxx:293
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:291
Color m_aMarkCol
Definition: optpage.hxx:262
std::unique_ptr< weld::CheckButton > m_xNumAlignmentCB
Definition: optpage.hxx:192
virtual void Reset(const SfxItemSet *rSet) override
Definition: optpage.cxx:1316
virtual void Reset(const SfxItemSet *rSet) override
Definition: optpage.cxx:1122
std::unique_ptr< weld::CheckButton > m_xRepeatHeaderCB
Definition: optpage.hxx:186
SwRedlineOptionsTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: optpage.cxx:1550
void InitColors()
Definition: optpage.cxx:1411
std::unique_ptr< weld::CheckButton > m_xPostItCB
Definition: optpage.hxx:48
std::unique_ptr< weld::ComboBox > m_xListBox
Definition: optpage.hxx:157
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: optpage.cxx:2016
std::unique_ptr< weld::CheckButton > m_xTest3CBox
Definition: optpage.hxx:348
std::unique_ptr< weld::CheckButton > m_xProspectCB
Definition: optpage.hxx:89
std::unique_ptr< weld::CheckButton > m_xCtrlFieldCB
Definition: optpage.hxx:80
SwTestTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: optpage.cxx:2122
std::unique_ptr< weld::CheckButton > m_xTest4CBox
Definition: optpage.hxx:349
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: optpage.cxx:1625
SwWrtShell * m_pWrtShell
Definition: optpage.hxx:222
SwStdFontConfig * m_pFontConfig
Definition: optpage.hxx:129
bool m_bListHeightDefault
Definition: optpage.hxx:142
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: optpage.cxx:2011
OUString m_sShellLabel
Definition: optpage.hxx:124
std::unique_ptr< weld::CheckButton > m_xTest1CBox
Definition: optpage.hxx:346
std::unique_ptr< weld::CheckButton > m_xLeftPageCB
Definition: optpage.hxx:87
std::unique_ptr< weld::CheckButton > m_xShowOutlineContentVisibilityButton
Definition: optpage.hxx:56
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:370
bool m_bDisposePrinter
Definition: optpage.hxx:140
virtual void Paint(vcl::RenderContext &rRenderContext, const tools::Rectangle &) override
Definition: optpage.cxx:1425
std::unique_ptr< weld::ComboBox > m_xStandardBox
Definition: optpage.hxx:153
Color m_aTextCol
Definition: optpage.hxx:265
bool m_bIndexHeightDefault
Definition: optpage.hxx:144
std::unique_ptr< SvxFontPrevWindow > m_xChangedPreviewWN
Definition: optpage.hxx:302
std::unique_ptr< weld::CheckButton > m_xDontSplitCB
Definition: optpage.hxx:187
std::unique_ptr< weld::Label > m_xBookmarkLabel
Definition: optpage.hxx:234
virtual ~SwRedlineOptionsTabPage() override
Definition: optpage.cxx:1609
bool m_bLabelHeightDefault
Definition: optpage.hxx:143
bool m_bSetListDefault
Definition: optpage.hxx:135
virtual ~SwTableOptionsTabPage() override
Definition: optpage.cxx:1025
bool bAttrModified
Definition: optpage.hxx:344
bool m_bSetIdxDefault
Definition: optpage.hxx:139
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: optpage.cxx:2149
std::unique_ptr< weld::CheckButton > m_xGrfCB
Definition: optpage.hxx:79
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:225
std::unique_ptr< weld::CheckButton > m_xMathBaselineAlignmentCB
Definition: optpage.hxx:243
std::unique_ptr< weld::ComboBox > m_xDeletedLB
Definition: optpage.hxx:295
Used by the UI to modify the document model.
Definition: wrtsh.hxx:90
std::unique_ptr< weld::CheckButton > m_xFieldHiddenParaCB
Definition: optpage.hxx:59
std::unique_ptr< SwMarkPreview > m_xMarkPreviewWN
Definition: optpage.hxx:307
std::unique_ptr< weld::ComboBox > m_xLabelBox
Definition: optpage.hxx:159
tools::Rectangle aRightPagePrtArea
Definition: optpage.hxx:270
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: optpage.cxx:993
std::unique_ptr< weld::Button > m_xStandardPB
Definition: optpage.hxx:163
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: optpage.cxx:221
std::unique_ptr< SvxFontPrevWindow > m_xDeletedPreviewWN
Definition: optpage.hxx:297
Color m_aShadowCol
Definition: optpage.hxx:264
DECL_LINK(AttribHdl, weld::ComboBox &, void)
std::unique_ptr< weld::CheckButton > m_xBookmarkCB
Definition: optpage.hxx:233
virtual void Reset(const SfxItemSet *rSet) override
Definition: optpage.cxx:716
sal_uInt16 nMarkPos
Definition: optpage.hxx:272
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: optpage.cxx:360
std::unique_ptr< weld::CustomWeld > m_xChangedPreview
Definition: optpage.hxx:303
std::unique_ptr< FontSizeBox > m_xListHeightLB
Definition: optpage.hxx:158
std::unique_ptr< weld::CheckButton > m_xCursorInProtCB
Definition: optpage.hxx:241
virtual void Reset(const SfxItemSet *rSet) override
Definition: optpage.cxx:1707
std::unique_ptr< weld::CheckButton > m_xVRulerCBox
Definition: optpage.hxx:40
std::unique_ptr< weld::CheckButton > m_xShowChangesInMargin
Definition: optpage.hxx:57
SwCompareOptionsTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: optpage.cxx:1989
void SetFax(const std::vector< OUString > &)
Definition: optpage.cxx:459
std::unique_ptr< weld::RadioButton > m_xVarRB
Definition: optpage.hxx:202
std::unique_ptr< weld::CheckButton > m_xTest7CBox
Definition: optpage.hxx:352
std::unique_ptr< weld::ComboBox > m_xMarkPosLB
Definition: optpage.hxx:305
std::unique_ptr< weld::MetricSpinButton > m_xRowInsertMF
Definition: optpage.hxx:197
tools::Rectangle aLeftPagePrtArea
Definition: optpage.hxx:269
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: optpage.cxx:474
std::unique_ptr< weld::CheckButton > m_xShowInlineTooltips
Definition: optpage.hxx:55
std::unique_ptr< weld::CheckButton > m_xTabCB
Definition: optpage.hxx:229
std::unique_ptr< weld::CheckButton > m_xSmoothCBox
Definition: optpage.hxx:43
std::unique_ptr< weld::RadioButton > m_xEndRB
Definition: optpage.hxx:95
OUString m_sScriptAsian
Definition: optpage.hxx:149
SwAddPrinterTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: optpage.cxx:281
void SetMarkPos(sal_uInt16 nPos)
Definition: optpage.hxx:284
std::unique_ptr< weld::RadioButton > m_xFixRB
Definition: optpage.hxx:200
std::unique_ptr< weld::CheckButton > m_xSHyphCB
Definition: optpage.hxx:226
OUString m_sShellList
Definition: optpage.hxx:123
std::unique_ptr< weld::CheckButton > m_xPrintEmptyPagesCB
Definition: optpage.hxx:99
std::unique_ptr< weld::RadioButton > m_xInMarginsRB
Definition: optpage.hxx:97
std::unique_ptr< weld::ComboBox > m_xDirectCursorFillMode
Definition: optpage.hxx:239
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: optpage.cxx:1266
std::unique_ptr< weld::RadioButton > m_xEndPageRB
Definition: optpage.hxx:96
virtual ~SwAddPrinterTabPage() override
Definition: optpage.cxx:343
std::unique_ptr< weld::RadioButton > m_xAutoRB
Definition: optpage.hxx:364
Color m_aLineCol
Definition: optpage.hxx:263
bool m_bSetLabelDefault
Definition: optpage.hxx:137
std::unique_ptr< ColorListBox > m_xChangedColorLB
Definition: optpage.hxx:301
std::unique_ptr< weld::CustomWeld > m_xDeletedPreview
Definition: optpage.hxx:298
DECL_LINK(AutoClickHdl, weld::Button &, void)
std::unique_ptr< weld::Label > m_xTabLabel
Definition: optpage.hxx:230
std::unique_ptr< FontSizeBox > m_xLabelHeightLB
Definition: optpage.hxx:160
LanguageType m_eLanguage
Definition: optpage.hxx:131
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: optpage.cxx:587
virtual ~SwStdFontTabPage() override
Definition: optpage.cxx:546
tools::Rectangle aPage
Definition: optpage.hxx:268
virtual ~SwCompareOptionsTabPage() override
Definition: optpage.cxx:2007
std::unique_ptr< weld::CheckButton > m_xTest2CBox
Definition: optpage.hxx:347
DECL_LINK(ComparisonHdl, weld::Button &, void)
DECL_LINK(AutoClickHdl, weld::ToggleButton &, void)
std::unique_ptr< weld::CheckButton > m_xPaperFromSetupCB
Definition: optpage.hxx:100
DECL_LINK(CheckBoxHdl, weld::Button &, void)
virtual void Reset(const SfxItemSet *rSet) override
Definition: optpage.cxx:191
virtual ~SwShdwCursorOptionsTabPage() override
Definition: optpage.cxx:1250
OUString m_sShellIndex
Definition: optpage.hxx:125
std::unique_ptr< weld::CheckButton > m_xIgnoreCB
Definition: optpage.hxx:368
std::unique_ptr< weld::RadioButton > m_xWordRB
Definition: optpage.hxx:365
std::unique_ptr< weld::ComboBox > m_xVMetric
Definition: optpage.hxx:42
std::unique_ptr< weld::CheckButton > m_xTest10CBox
Definition: optpage.hxx:355
std::unique_ptr< weld::Widget > m_xCommentsFrame
Definition: optpage.hxx:92
SwContentOptPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: optpage.cxx:87
std::unique_ptr< weld::CustomWeld > m_xMarkPreview
Definition: optpage.hxx:308
void PaintPage(vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect)
Definition: optpage.cxx:1495
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: optpage.cxx:1029
std::unique_ptr< FontList > m_pFontList
Definition: optpage.hxx:128
SwStdFontTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: optpage.cxx:494
OUString m_sScriptWestern
Definition: optpage.hxx:148
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: optpage.cxx:354
std::unique_ptr< weld::CheckButton > m_xTest8CBox
Definition: optpage.hxx:353
std::unique_ptr< weld::CheckButton > m_xCharHiddenCB
Definition: optpage.hxx:232
virtual ~SwTestTabPage() override
Definition: optpage.cxx:2139
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:237
OUString m_sShellTitle
Definition: optpage.hxx:122
std::unique_ptr< weld::Label > m_xLabelFT
Definition: optpage.hxx:152
SwTableOptionsTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: optpage.cxx:1000
std::unique_ptr< SvxFontPrevWindow > m_xInsertedPreviewWN
Definition: optpage.hxx:292
unsigned char sal_uInt8
std::unique_ptr< weld::ComboBox > m_xFaxLB
Definition: optpage.hxx:101
virtual void SetDrawingArea(weld::DrawingArea *pDrawingArea) override
Definition: optpage.cxx:1525
std::unique_ptr< weld::RadioButton > m_xCharRB
Definition: optpage.hxx:366
std::unique_ptr< weld::Frame > m_xCursorProtFrame
Definition: optpage.hxx:240
Color m_aTransCol
Definition: optpage.hxx:261
std::unique_ptr< weld::CheckButton > m_xTest6CBox
Definition: optpage.hxx:351
std::unique_ptr< weld::MetricSpinButton > m_xColInsertMF
Definition: optpage.hxx:198
std::unique_ptr< FontSizeBox > m_xIndexHeightLB
Definition: optpage.hxx:162
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: optpage.cxx:1254
std::unique_ptr< weld::Widget > m_xPagesFrame
Definition: optpage.hxx:86
void SetPreview(bool bPrev)
Definition: optpage.cxx:347
std::unique_ptr< weld::CheckButton > m_xHeaderCB
Definition: optpage.hxx:185
std::unique_ptr< weld::RadioButton > m_xFixPropRB
Definition: optpage.hxx:201
std::unique_ptr< weld::CheckButton > m_xCrossCB
Definition: optpage.hxx:37
std::unique_ptr< weld::CheckButton > m_xRsidCB
Definition: optpage.hxx:367
std::unique_ptr< FontSizeBox > m_xTitleHeightLB
Definition: optpage.hxx:156
static void InitFontStyle(SvxFontPrevWindow &rExampleWin, const OUString &rText)
Definition: optpage.cxx:1947
std::unique_ptr< weld::CheckButton > m_xSpacesCB
Definition: optpage.hxx:227
std::unique_ptr< weld::RadioButton > m_xNoRB
Definition: optpage.hxx:93
OUString m_sShellStd
Definition: optpage.hxx:121
std::unique_ptr< weld::CheckButton > m_xTest5CBox
Definition: optpage.hxx:350
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: optpage.cxx:1193
std::unique_ptr< weld::CheckButton > m_xBreakCB
Definition: optpage.hxx:231
std::unique_ptr< ColorListBox > m_xMarkColorLB
Definition: optpage.hxx:306
std::unique_ptr< weld::CheckButton > m_xRightPageCB
Definition: optpage.hxx:88
SwShdwCursorOptionsTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: optpage.cxx:1200
std::unique_ptr< weld::RadioButton > m_xOnlyRB
Definition: optpage.hxx:94
std::unique_ptr< weld::CheckButton > m_xProspectCB_RTL
Definition: optpage.hxx:90
std::unique_ptr< FontSizeBox > m_xStandardHeightLB
Definition: optpage.hxx:154
std::unique_ptr< weld::SpinButton > m_xLenNF
Definition: optpage.hxx:369
std::unique_ptr< weld::CheckButton > m_xNumFormattingCB
Definition: optpage.hxx:190
std::unique_ptr< weld::CheckButton > m_xHSpacesCB
Definition: optpage.hxx:228
std::unique_ptr< weld::CheckButton > m_xPrintHiddenTextCB
Definition: optpage.hxx:83
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: optpage.cxx:167
std::unique_ptr< weld::Frame > m_xDirectCursorFrame
Definition: optpage.hxx:236
std::unique_ptr< weld::Label > m_xMetricLabel
Definition: optpage.hxx:52
void SetColor(const Color &rCol)
Definition: optpage.hxx:283
SwWrtShell * m_pWrtShell
Definition: optpage.hxx:130
std::unique_ptr< weld::CheckButton > m_xFieldHiddenCB
Definition: optpage.hxx:58
std::unique_ptr< weld::CheckButton > m_xBorderCB
Definition: optpage.hxx:188
sal_uInt8 m_nFontGroup
Definition: optpage.hxx:146
std::unique_ptr< weld::ComboBox > m_xMetricLB
Definition: optpage.hxx:53
std::unique_ptr< weld::CheckButton > m_xGrfCB
Definition: optpage.hxx:45
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: optpage.cxx:2143
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: optpage.cxx:1630
std::unique_ptr< weld::CheckButton > m_xPrintTextPlaceholderCB
Definition: optpage.hxx:84
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: optpage.cxx:1259
std::unique_ptr< weld::ComboBox > m_xInsertLB
Definition: optpage.hxx:290
SwWrtShell * m_pWrtShell
Definition: optpage.hxx:182
virtual ~SwMarkPreview() override
Definition: optpage.cxx:1407
virtual void Reset(const SfxItemSet *rSet) override
Definition: optpage.cxx:2170
std::unique_ptr< weld::MetricSpinButton > m_xRowMoveMF
Definition: optpage.hxx:194
std::unique_ptr< weld::CheckButton > m_xBlackFontCB
Definition: optpage.hxx:82
Color m_aBgCol
Definition: optpage.hxx:260
std::unique_ptr< ColorListBox > m_xDeletedColorLB
Definition: optpage.hxx:296
virtual void Reset(const SfxItemSet *rSet) override
Definition: optpage.cxx:2062
Color m_aPrintAreaCol
Definition: optpage.hxx:266
virtual void Reset(const SfxItemSet *rSet) override
Definition: optpage.cxx:401
virtual ~SwContentOptPage() override
Definition: optpage.cxx:163
bool m_bLabelDefault
Definition: optpage.hxx:136
std::unique_ptr< weld::ComboBox > m_xChangedLB
Definition: optpage.hxx:300
std::unique_ptr< weld::MetricSpinButton > m_xColMoveMF
Definition: optpage.hxx:195
std::unique_ptr< weld::CheckButton > m_xBackgroundCB
Definition: optpage.hxx:81
std::unique_ptr< weld::CheckButton > m_xTest9CBox
Definition: optpage.hxx:354
OUString m_sScriptComplex
Definition: optpage.hxx:150
std::unique_ptr< weld::CheckButton > m_xNumFormatFormattingCB
Definition: optpage.hxx:191