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
36 class SwContentOptPage final : public SfxTabPage
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::Toggleable&, void);
65  DECL_LINK(ShowOutlineContentVisibilityButtonHdl, weld::Toggleable&, 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
77 class SwAddPrinterTabPage final : public SfxTabPage
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::Toggleable&, 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 
123 class SwStdFontTabPage final : public SfxTabPage
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 
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 
180 class SwTableOptionsTabPage final : public SfxTabPage
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::Toggleable&, 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::Frame> m_xImageFrame;
242  std::unique_ptr<weld::CheckButton> m_xCursorInProtCB;
243 
244  std::unique_ptr<weld::ComboBox> m_xDefaultAnchorType;
245 
246  std::unique_ptr<weld::CheckButton> m_xMathBaselineAlignmentCB;
247 
248 public:
250  virtual ~SwShdwCursorOptionsTabPage() override;
251 
252  static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rAttrSet);
253 
254  virtual bool FillItemSet( SfxItemSet* rSet ) override;
255  virtual void Reset( const SfxItemSet* rSet ) override;
256 
257  virtual void PageCreated( const SfxAllItemSet& aSet ) override;
258 };
259 
260 // mark preview
262 {
263  Color m_aBgCol; // background
264  Color m_aTransCol; // transparency
265  Color m_aMarkCol; // marks
266  Color m_aLineCol; // general lines
267  Color m_aShadowCol; // shadow
268  Color m_aTextCol; // text
269  Color m_aPrintAreaCol; // frame for print area
270 
274 
275  sal_uInt16 nMarkPos;
276 
277  virtual void Paint(vcl::RenderContext& rRenderContext, const tools::Rectangle&) override;
278  void PaintPage(vcl::RenderContext& rRenderContext, const tools::Rectangle &rRect);
279  void InitColors();
280 
281 public:
282  SwMarkPreview();
283  virtual void SetDrawingArea(weld::DrawingArea* pDrawingArea) override;
284  virtual ~SwMarkPreview() override;
285 
286  void SetColor(const Color& rCol) { m_aMarkCol = rCol; }
287  void SetMarkPos(sal_uInt16 nPos) { nMarkPos = nPos; }
288 };
289 
290 // redlining options
292 {
293  std::unique_ptr<weld::ComboBox> m_xInsertLB;
294  std::unique_ptr<ColorListBox> m_xInsertColorLB;
295  std::unique_ptr<SvxFontPrevWindow> m_xInsertedPreviewWN;
296  std::unique_ptr<weld::CustomWeld> m_xInsertedPreview;
297 
298  std::unique_ptr<weld::ComboBox> m_xDeletedLB;
299  std::unique_ptr<ColorListBox> m_xDeletedColorLB;
300  std::unique_ptr<SvxFontPrevWindow> m_xDeletedPreviewWN;
301  std::unique_ptr<weld::CustomWeld> m_xDeletedPreview;
302 
303  std::unique_ptr<weld::ComboBox> m_xChangedLB;
304  std::unique_ptr<ColorListBox> m_xChangedColorLB;
305  std::unique_ptr<SvxFontPrevWindow> m_xChangedPreviewWN;
306  std::unique_ptr<weld::CustomWeld> m_xChangedPreview;
307 
308  std::unique_ptr<weld::ComboBox> m_xMarkPosLB;
309  std::unique_ptr<ColorListBox> m_xMarkColorLB;
310  std::unique_ptr<SwMarkPreview> m_xMarkPreviewWN;
311  std::unique_ptr<weld::CustomWeld> m_xMarkPreview;
312 
313  DECL_LINK(AttribHdl, weld::ComboBox&, void);
314  void ChangedMaskPrev();
315  DECL_LINK(ChangedMaskPrevHdl, weld::ComboBox&, void);
316  DECL_LINK(ChangedMaskColorPrevHdl, ColorListBox&, void);
317  DECL_LINK(ColorHdl, ColorListBox&, void);
318 
319  static void InitFontStyle(SvxFontPrevWindow& rExampleWin, const OUString& rText);
320 
321 public:
323  virtual ~SwRedlineOptionsTabPage() override;
324 
325  static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rAttrSet);
326 
327  virtual bool FillItemSet( SfxItemSet* rSet ) override;
328  virtual void Reset( const SfxItemSet* rSet ) override;
329 };
330 
331 // TabPage test settings for SW
332 
333 #ifdef DBG_UTIL
334 
335 class SwTestTabPage final : public SfxTabPage
336 {
337 public:
338  SwTestTabPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet);
339  virtual ~SwTestTabPage() override;
340 
341  static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rAttrSet);
342 
343  virtual bool FillItemSet( SfxItemSet* rSet ) override;
344  virtual void Reset( const SfxItemSet* rSet ) override;
345 
346 private:
348 
349  std::unique_ptr<weld::CheckButton> m_xTest1CBox;
350  std::unique_ptr<weld::CheckButton> m_xTest2CBox;
351  std::unique_ptr<weld::CheckButton> m_xTest3CBox;
352  std::unique_ptr<weld::CheckButton> m_xTest4CBox;
353  std::unique_ptr<weld::CheckButton> m_xTest5CBox;
354  std::unique_ptr<weld::CheckButton> m_xTest6CBox;
355  std::unique_ptr<weld::CheckButton> m_xTest7CBox;
356  std::unique_ptr<weld::CheckButton> m_xTest8CBox;
357  std::unique_ptr<weld::CheckButton> m_xTest9CBox;
358  std::unique_ptr<weld::CheckButton> m_xTest10CBox;
359 
360  void Init();
361  DECL_LINK(AutoClickHdl, weld::Toggleable&, void);
362 };
363 #endif // DBG_UTIL
364 
366 {
367  std::unique_ptr<weld::RadioButton> m_xAutoRB;
368  std::unique_ptr<weld::RadioButton> m_xWordRB;
369  std::unique_ptr<weld::RadioButton> m_xCharRB;
370  std::unique_ptr<weld::CheckButton> m_xRsidCB;
371  std::unique_ptr<weld::CheckButton> m_xIgnoreCB;
372  std::unique_ptr<weld::SpinButton> m_xLenNF;
373  std::unique_ptr<weld::CheckButton> m_xStoreRsidCB;
374 
375  DECL_LINK(ComparisonHdl, weld::Toggleable&, void);
376  DECL_LINK(IgnoreHdl, weld::Toggleable&, void);
377 
378 public:
380  virtual ~SwCompareOptionsTabPage() override;
381 
382  static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rAttrSet );
383 
384  virtual bool FillItemSet( SfxItemSet* rSet ) override;
385  virtual void Reset( const SfxItemSet* rSet ) override;
386 };
387 
388 /* 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:551
std::unique_ptr< weld::CheckButton > m_xTableCB
Definition: optpage.hxx:47
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: optpage.cxx:1015
std::unique_ptr< weld::CustomWeld > m_xInsertedPreview
Definition: optpage.hxx:296
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:294
Color m_aMarkCol
Definition: optpage.hxx:265
std::unique_ptr< weld::CheckButton > m_xNumAlignmentCB
Definition: optpage.hxx:192
virtual void Reset(const SfxItemSet *rSet) override
Definition: optpage.cxx:1295
virtual void Reset(const SfxItemSet *rSet) override
Definition: optpage.cxx:1102
std::unique_ptr< weld::CheckButton > m_xRepeatHeaderCB
Definition: optpage.hxx:186
SwRedlineOptionsTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: optpage.cxx:1525
void InitColors()
Definition: optpage.cxx:1386
std::unique_ptr< weld::CheckButton > m_xPostItCB
Definition: optpage.hxx:49
std::unique_ptr< weld::ComboBox > m_xListBox
Definition: optpage.hxx:157
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: optpage.cxx:1995
std::unique_ptr< weld::CheckButton > m_xTest3CBox
Definition: optpage.hxx:351
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:2104
std::unique_ptr< weld::CheckButton > m_xTest4CBox
Definition: optpage.hxx:352
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: optpage.cxx:1604
SwWrtShell * m_pWrtShell
Definition: optpage.hxx:222
SwStdFontConfig * m_pFontConfig
Definition: optpage.hxx:133
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: optpage.cxx:1990
OUString m_sShellLabel
Definition: optpage.hxx:128
std::unique_ptr< weld::CheckButton > m_xTest1CBox
Definition: optpage.hxx:349
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
DECL_LINK(VertRulerHdl, weld::Toggleable &, void)
std::unique_ptr< weld::CheckButton > m_xDrwCB
Definition: optpage.hxx:48
std::unique_ptr< weld::CheckButton > m_xStoreRsidCB
Definition: optpage.hxx:373
DECL_LINK(AutoClickHdl, weld::Toggleable &, void)
bool m_bDisposePrinter
Definition: optpage.hxx:144
virtual void Paint(vcl::RenderContext &rRenderContext, const tools::Rectangle &) override
Definition: optpage.cxx:1400
std::unique_ptr< weld::ComboBox > m_xStandardBox
Definition: optpage.hxx:153
Color m_aTextCol
Definition: optpage.hxx:268
std::unique_ptr< SvxFontPrevWindow > m_xChangedPreviewWN
Definition: optpage.hxx:305
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:1588
bool m_bSetListDefault
Definition: optpage.hxx:139
virtual ~SwTableOptionsTabPage() override
Definition: optpage.cxx:1005
bool bAttrModified
Definition: optpage.hxx:347
bool m_bSetIdxDefault
Definition: optpage.hxx:143
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: optpage.cxx:2131
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:225
std::unique_ptr< weld::CheckButton > m_xMathBaselineAlignmentCB
Definition: optpage.hxx:246
std::unique_ptr< weld::ComboBox > m_xDeletedLB
Definition: optpage.hxx:298
Used by the UI to modify the document model.
Definition: wrtsh.hxx:96
std::unique_ptr< weld::CheckButton > m_xFieldHiddenParaCB
Definition: optpage.hxx:62
std::unique_ptr< SwMarkPreview > m_xMarkPreviewWN
Definition: optpage.hxx:310
std::unique_ptr< weld::ComboBox > m_xLabelBox
Definition: optpage.hxx:159
tools::Rectangle aRightPagePrtArea
Definition: optpage.hxx:273
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: optpage.cxx:973
std::unique_ptr< weld::Button > m_xStandardPB
Definition: optpage.hxx:163
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: optpage.cxx:216
std::unique_ptr< SvxFontPrevWindow > m_xDeletedPreviewWN
Definition: optpage.hxx:300
Color m_aShadowCol
Definition: optpage.hxx:267
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:707
sal_uInt16 nMarkPos
Definition: optpage.hxx:275
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: optpage.cxx:356
std::unique_ptr< weld::CustomWeld > m_xChangedPreview
Definition: optpage.hxx:306
std::unique_ptr< FontSizeBox > m_xListHeightLB
Definition: optpage.hxx:158
std::unique_ptr< weld::CheckButton > m_xCursorInProtCB
Definition: optpage.hxx:242
virtual void Reset(const SfxItemSet *rSet) override
Definition: optpage.cxx:1686
std::unique_ptr< weld::CheckButton > m_xVRulerCBox
Definition: optpage.hxx:41
DECL_LINK(CheckBoxHdl, weld::Toggleable &, void)
std::unique_ptr< weld::CheckButton > m_xShowChangesInMargin
Definition: optpage.hxx:60
SwCompareOptionsTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: optpage.cxx:1968
void SetFax(const std::vector< OUString > &)
Definition: optpage.cxx:453
std::unique_ptr< weld::RadioButton > m_xVarRB
Definition: optpage.hxx:202
std::unique_ptr< weld::CheckButton > m_xTest7CBox
Definition: optpage.hxx:355
std::unique_ptr< weld::ComboBox > m_xMarkPosLB
Definition: optpage.hxx:308
std::unique_ptr< weld::MetricSpinButton > m_xRowInsertMF
Definition: optpage.hxx:197
std::unique_ptr< weld::CheckButton > m_xTreatSubOutlineLevelsAsContent
Definition: optpage.hxx:59
tools::Rectangle aLeftPagePrtArea
Definition: optpage.hxx:272
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: optpage.cxx:468
std::unique_ptr< weld::CheckButton > m_xShowInlineTooltips
Definition: optpage.hxx:56
std::unique_ptr< weld::CheckButton > m_xTabCB
Definition: optpage.hxx:229
std::unique_ptr< weld::CheckButton > m_xSmoothCBox
Definition: optpage.hxx:44
std::unique_ptr< weld::ComboBox > m_xDefaultAnchorType
Definition: optpage.hxx:244
std::unique_ptr< weld::RadioButton > m_xEndRB
Definition: optpage.hxx:99
OUString m_sScriptAsian
Definition: optpage.hxx:149
SwAddPrinterTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: optpage.cxx:278
void SetMarkPos(sal_uInt16 nPos)
Definition: optpage.hxx:287
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: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:239
DECL_LINK(AutoClickHdl, weld::Toggleable &, void)
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: optpage.cxx:1246
std::unique_ptr< weld::RadioButton > m_xEndPageRB
Definition: optpage.hxx:100
virtual ~SwAddPrinterTabPage() override
Definition: optpage.cxx:339
std::unique_ptr< weld::RadioButton > m_xAutoRB
Definition: optpage.hxx:367
std::unique_ptr< weld::Frame > m_xImageFrame
Definition: optpage.hxx:241
Color m_aLineCol
Definition: optpage.hxx:266
bool m_bSetLabelDefault
Definition: optpage.hxx:141
std::unique_ptr< ColorListBox > m_xChangedColorLB
Definition: optpage.hxx:304
std::unique_ptr< weld::CustomWeld > m_xDeletedPreview
Definition: optpage.hxx:301
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:135
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: optpage.cxx:578
virtual ~SwStdFontTabPage() override
Definition: optpage.cxx:537
tools::Rectangle aPage
Definition: optpage.hxx:271
virtual ~SwCompareOptionsTabPage() override
Definition: optpage.cxx:1986
std::unique_ptr< weld::CheckButton > m_xTest2CBox
Definition: optpage.hxx:350
std::unique_ptr< weld::CheckButton > m_xPaperFromSetupCB
Definition: optpage.hxx:104
virtual void Reset(const SfxItemSet *rSet) override
Definition: optpage.cxx:189
virtual ~SwShdwCursorOptionsTabPage() override
Definition: optpage.cxx:1230
OUString m_sShellIndex
Definition: optpage.hxx:129
std::unique_ptr< weld::CheckButton > m_xIgnoreCB
Definition: optpage.hxx:371
std::unique_ptr< weld::RadioButton > m_xWordRB
Definition: optpage.hxx:368
std::unique_ptr< weld::ComboBox > m_xVMetric
Definition: optpage.hxx:43
std::unique_ptr< weld::CheckButton > m_xTest10CBox
Definition: optpage.hxx:358
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
DECL_LINK(ComparisonHdl, weld::Toggleable &, void)
std::unique_ptr< weld::CustomWeld > m_xMarkPreview
Definition: optpage.hxx:311
void PaintPage(vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect)
Definition: optpage.cxx:1470
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: optpage.cxx:1009
std::unique_ptr< FontList > m_pFontList
Definition: optpage.hxx:132
SwStdFontTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: optpage.cxx:488
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:350
std::unique_ptr< weld::CheckButton > m_xTest8CBox
Definition: optpage.hxx:356
std::unique_ptr< weld::CheckButton > m_xCharHiddenCB
Definition: optpage.hxx:232
std::unique_ptr< weld::Label > m_xOutlineLabel
Definition: optpage.hxx:57
virtual ~SwTestTabPage() override
Definition: optpage.cxx:2121
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:237
OUString m_sShellTitle
Definition: optpage.hxx:126
std::unique_ptr< weld::Label > m_xLabelFT
Definition: optpage.hxx:152
SwTableOptionsTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: optpage.cxx:980
std::unique_ptr< SvxFontPrevWindow > m_xInsertedPreviewWN
Definition: optpage.hxx:295
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:1500
std::unique_ptr< weld::RadioButton > m_xCharRB
Definition: optpage.hxx:369
std::unique_ptr< weld::Frame > m_xCursorProtFrame
Definition: optpage.hxx:240
Color m_aTransCol
Definition: optpage.hxx:264
std::unique_ptr< weld::CheckButton > m_xTest6CBox
Definition: optpage.hxx:354
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:1234
std::unique_ptr< weld::Widget > m_xPagesFrame
Definition: optpage.hxx:90
void SetPreview(bool bPrev)
Definition: optpage.cxx:343
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:38
std::unique_ptr< weld::CheckButton > m_xRsidCB
Definition: optpage.hxx:370
std::unique_ptr< FontSizeBox > m_xTitleHeightLB
Definition: optpage.hxx:156
static void InitFontStyle(SvxFontPrevWindow &rExampleWin, const OUString &rText)
Definition: optpage.cxx:1926
std::unique_ptr< weld::CheckButton > m_xSpacesCB
Definition: optpage.hxx:227
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:353
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: optpage.cxx:1172
std::unique_ptr< weld::CheckButton > m_xBreakCB
Definition: optpage.hxx:231
std::unique_ptr< ColorListBox > m_xMarkColorLB
Definition: optpage.hxx:309
std::unique_ptr< weld::CheckButton > m_xRightPageCB
Definition: optpage.hxx:92
SwShdwCursorOptionsTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: optpage.cxx:1179
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:154
std::unique_ptr< weld::SpinButton > m_xLenNF
Definition: optpage.hxx:372
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:87
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: optpage.cxx:165
std::unique_ptr< weld::Frame > m_xDirectCursorFrame
Definition: optpage.hxx:236
std::unique_ptr< weld::Label > m_xMetricLabel
Definition: optpage.hxx:53
void SetColor(const Color &rCol)
Definition: optpage.hxx:286
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:188
sal_uInt8 m_nFontGroup
Definition: optpage.hxx:146
std::unique_ptr< weld::ComboBox > m_xMetricLB
Definition: optpage.hxx:54
std::unique_ptr< weld::CheckButton > m_xGrfCB
Definition: optpage.hxx:46
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: optpage.cxx:2125
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: optpage.cxx:1609
std::unique_ptr< weld::CheckButton > m_xPrintTextPlaceholderCB
Definition: optpage.hxx:88
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: optpage.cxx:1239
std::unique_ptr< weld::ComboBox > m_xInsertLB
Definition: optpage.hxx:293
SwWrtShell * m_pWrtShell
Definition: optpage.hxx:182
virtual ~SwMarkPreview() override
Definition: optpage.cxx:1382
virtual void Reset(const SfxItemSet *rSet) override
Definition: optpage.cxx:2152
std::unique_ptr< weld::MetricSpinButton > m_xRowMoveMF
Definition: optpage.hxx:194
std::unique_ptr< weld::CheckButton > m_xBlackFontCB
Definition: optpage.hxx:86
Color m_aBgCol
Definition: optpage.hxx:263
std::unique_ptr< ColorListBox > m_xDeletedColorLB
Definition: optpage.hxx:299
virtual void Reset(const SfxItemSet *rSet) override
Definition: optpage.cxx:2041
Color m_aPrintAreaCol
Definition: optpage.hxx:269
virtual void Reset(const SfxItemSet *rSet) override
Definition: optpage.cxx:397
virtual ~SwContentOptPage() override
Definition: optpage.cxx:161
bool m_bLabelDefault
Definition: optpage.hxx:140
std::unique_ptr< weld::ComboBox > m_xChangedLB
Definition: optpage.hxx:303
std::unique_ptr< weld::MetricSpinButton > m_xColMoveMF
Definition: optpage.hxx:195
std::unique_ptr< weld::CheckButton > m_xBackgroundCB
Definition: optpage.hxx:85
std::unique_ptr< weld::CheckButton > m_xTest9CBox
Definition: optpage.hxx:357
OUString m_sScriptComplex
Definition: optpage.hxx:150
std::unique_ptr< weld::CheckButton > m_xNumFormatFormattingCB
Definition: optpage.hxx:191