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"
29class SfxPrinter;
30class SwStdFontConfig;
31class SwWrtShell;
32class FontList;
33
34// Tools->Options->Writer->View
35// Tools->Options->Writer/Web->View
36class 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::CheckButton> m_xShowOutlineContentVisibilityButton;
58 std::unique_ptr<weld::CheckButton> m_xTreatSubOutlineLevelsAsContent;
59 std::unique_ptr<weld::CheckButton> m_xShowChangesInMargin;
60 std::unique_ptr<weld::CheckButton> m_xFieldHiddenCB;
61 std::unique_ptr<weld::CheckButton> m_xFieldHiddenParaCB;
62
63 DECL_LINK(VertRulerHdl, weld::Toggleable&, void);
64 DECL_LINK(ShowOutlineContentVisibilityButtonHdl, weld::Toggleable&, void);
65public:
66 SwContentOptPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet);
67 virtual ~SwContentOptPage() override;
68
69 static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rAttrSet);
70
71 virtual bool FillItemSet(SfxItemSet* rSet) override;
72 virtual void Reset(const SfxItemSet* rSet) override;
73};
74
75// TabPage printer settings additions
76class SwAddPrinterTabPage final : public SfxTabPage
77{
78 OUString m_sNone;
81
82 std::unique_ptr<weld::CheckButton> m_xGrfCB;
83 std::unique_ptr<weld::CheckButton> m_xCtrlFieldCB;
84 std::unique_ptr<weld::CheckButton> m_xBackgroundCB;
85 std::unique_ptr<weld::CheckButton> m_xBlackFontCB;
86 std::unique_ptr<weld::CheckButton> m_xPrintHiddenTextCB;
87 std::unique_ptr<weld::CheckButton> m_xPrintTextPlaceholderCB;
88
89 std::unique_ptr<weld::Widget> m_xPagesFrame;
90 std::unique_ptr<weld::CheckButton> m_xLeftPageCB;
91 std::unique_ptr<weld::CheckButton> m_xRightPageCB;
92 std::unique_ptr<weld::CheckButton> m_xProspectCB;
93 std::unique_ptr<weld::CheckButton> m_xProspectCB_RTL;
94
95 std::unique_ptr<weld::Widget> m_xCommentsFrame;
96 std::unique_ptr<weld::RadioButton> m_xNoRB;
97 std::unique_ptr<weld::RadioButton> m_xOnlyRB;
98 std::unique_ptr<weld::RadioButton> m_xEndRB;
99 std::unique_ptr<weld::RadioButton> m_xEndPageRB;
100 std::unique_ptr<weld::RadioButton> m_xInMarginsRB;
101
102 std::unique_ptr<weld::CheckButton> m_xPrintEmptyPagesCB;
103 std::unique_ptr<weld::CheckButton> m_xPaperFromSetupCB;
104 std::unique_ptr<weld::ComboBox> m_xFaxLB;
105
106 DECL_LINK(AutoClickHdl, weld::Toggleable&, void);
107 DECL_LINK(SelectHdl, weld::ComboBox&, void);
108
109public:
110 SwAddPrinterTabPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet);
111 virtual ~SwAddPrinterTabPage() override;
112
113 static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rAttrSet);
114
115 virtual bool FillItemSet(SfxItemSet* rSet) override;
116 virtual void Reset(const SfxItemSet* rSet) override;
117 void SetFax(const std::vector<OUString>& );
118 void SetPreview(bool bPrev);
119 virtual void PageCreated(const SfxAllItemSet& aSet) override;
120};
121
122class SwStdFontTabPage final : public SfxTabPage
123{
124 OUString m_sShellStd;
126 OUString m_sShellList;
129
131 std::unique_ptr<FontList> m_pFontList;
135
136 // only defaults were there? they were signed with the boxes
144
145 sal_uInt8 m_nFontGroup; //fontcfg.hxx: FONT_GROUP_[STANDARD|CJK|CTL]
146
150
151 std::unique_ptr<weld::Label> m_xLabelFT;
152 std::unique_ptr<weld::ComboBox> m_xStandardBox;
153 std::unique_ptr<FontSizeBox> m_xStandardHeightLB;
154 std::unique_ptr<weld::ComboBox> m_xTitleBox;
155 std::unique_ptr<FontSizeBox> m_xTitleHeightLB;
156 std::unique_ptr<weld::ComboBox> m_xListBox;
157 std::unique_ptr<FontSizeBox> m_xListHeightLB;
158 std::unique_ptr<weld::ComboBox> m_xLabelBox;
159 std::unique_ptr<FontSizeBox> m_xLabelHeightLB;
160 std::unique_ptr<weld::ComboBox> m_xIdxBox;
161 std::unique_ptr<FontSizeBox> m_xIndexHeightLB;
162 std::unique_ptr<weld::Button> m_xStandardPB;
163
164 DECL_LINK(StandardHdl, weld::Button&, void );
165 DECL_LINK(ModifyHdl, weld::ComboBox&, void );
166 DECL_LINK(LoseFocusHdl, weld::Widget&, void );
167
168public:
169 SwStdFontTabPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet);
170 static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rAttrSet);
171 virtual ~SwStdFontTabPage() override;
172
173 virtual bool FillItemSet(SfxItemSet* rSet) override;
174 virtual void Reset(const SfxItemSet* rSet) override;
175
176 virtual void PageCreated(const SfxAllItemSet& aSet) override;
177};
178
180{
183
184 std::unique_ptr<weld::CheckButton> m_xHeaderCB;
185 std::unique_ptr<weld::CheckButton> m_xRepeatHeaderCB;
186 std::unique_ptr<weld::CheckButton> m_xDontSplitCB;
187 std::unique_ptr<weld::CheckButton> m_xBorderCB;
188
189 std::unique_ptr<weld::CheckButton> m_xNumFormattingCB;
190 std::unique_ptr<weld::CheckButton> m_xNumFormatFormattingCB;
191 std::unique_ptr<weld::CheckButton> m_xNumAlignmentCB;
192
193 std::unique_ptr<weld::MetricSpinButton> m_xRowMoveMF;
194 std::unique_ptr<weld::MetricSpinButton> m_xColMoveMF;
195
196 std::unique_ptr<weld::MetricSpinButton> m_xRowInsertMF;
197 std::unique_ptr<weld::MetricSpinButton> m_xColInsertMF;
198
199 std::unique_ptr<weld::RadioButton> m_xFixRB;
200 std::unique_ptr<weld::RadioButton> m_xFixPropRB;
201 std::unique_ptr<weld::RadioButton> m_xVarRB;
202
203 DECL_LINK(CheckBoxHdl, weld::Toggleable&, void);
204
205public:
207 virtual ~SwTableOptionsTabPage() override;
208
209 static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rAttrSet);
210
211 virtual bool FillItemSet(SfxItemSet* rSet) override;
212 virtual void Reset(const SfxItemSet* rSet) override;
213
214 virtual void PageCreated( const SfxAllItemSet& aSet) override;
215
216};
217
218// TabPage for ShadowCursor
220{
222
223 //nonprinting characters
224 std::unique_ptr<weld::CheckButton> m_xParaCB;
225 std::unique_ptr<weld::CheckButton> m_xSHyphCB;
226 std::unique_ptr<weld::CheckButton> m_xSpacesCB;
227 std::unique_ptr<weld::CheckButton> m_xHSpacesCB;
228 std::unique_ptr<weld::CheckButton> m_xTabCB;
229 std::unique_ptr<weld::Label> m_xTabLabel;
230 std::unique_ptr<weld::CheckButton> m_xBreakCB;
231 std::unique_ptr<weld::CheckButton> m_xCharHiddenCB;
232 std::unique_ptr<weld::CheckButton> m_xBookmarkCB;
233 std::unique_ptr<weld::Label> m_xBookmarkLabel;
234
235 std::unique_ptr<weld::Frame> m_xDirectCursorFrame;
236 std::unique_ptr<weld::CheckButton> m_xOnOffCB;
237
238 std::unique_ptr<weld::ComboBox> m_xDirectCursorFillMode;
239 std::unique_ptr<weld::Frame> m_xCursorProtFrame;
240 std::unique_ptr<weld::Frame> m_xImageFrame;
241 std::unique_ptr<weld::CheckButton> m_xCursorInProtCB;
242
243 std::unique_ptr<weld::ComboBox> m_xDefaultAnchorType;
244
245 std::unique_ptr<weld::CheckButton> m_xMathBaselineAlignmentCB;
246
247public:
249 virtual ~SwShdwCursorOptionsTabPage() override;
250
251 static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rAttrSet);
252
253 virtual bool FillItemSet( SfxItemSet* rSet ) override;
254 virtual void Reset( const SfxItemSet* rSet ) override;
255
256 virtual void PageCreated( const SfxAllItemSet& aSet ) override;
257};
258
259// mark preview
261{
262 Color m_aBgCol; // background
263 Color m_aTransCol; // transparency
265 Color m_aLineCol; // general lines
268 Color m_aPrintAreaCol; // frame for print area
269
273
274 sal_uInt16 m_nMarkPos;
275
276 virtual void Paint(vcl::RenderContext& rRenderContext, const tools::Rectangle&) override;
277 void PaintPage(vcl::RenderContext& rRenderContext, const tools::Rectangle &rRect);
278 void InitColors();
279
280public:
282 virtual void SetDrawingArea(weld::DrawingArea* pDrawingArea) override;
283 virtual ~SwMarkPreview() override;
284
285 void SetColor(const Color& rCol) { m_aMarkCol = rCol; }
286 void SetMarkPos(sal_uInt16 nPos) { m_nMarkPos = nPos; }
287};
288
289// redlining options
291{
292 std::unique_ptr<weld::ComboBox> m_xInsertLB;
293 std::unique_ptr<ColorListBox> m_xInsertColorLB;
294 std::unique_ptr<SvxFontPrevWindow> m_xInsertedPreviewWN;
295 std::unique_ptr<weld::CustomWeld> m_xInsertedPreview;
296
297 std::unique_ptr<weld::ComboBox> m_xDeletedLB;
298 std::unique_ptr<ColorListBox> m_xDeletedColorLB;
299 std::unique_ptr<SvxFontPrevWindow> m_xDeletedPreviewWN;
300 std::unique_ptr<weld::CustomWeld> m_xDeletedPreview;
301
302 std::unique_ptr<weld::ComboBox> m_xChangedLB;
303 std::unique_ptr<ColorListBox> m_xChangedColorLB;
304 std::unique_ptr<SvxFontPrevWindow> m_xChangedPreviewWN;
305 std::unique_ptr<weld::CustomWeld> m_xChangedPreview;
306
307 std::unique_ptr<weld::ComboBox> m_xMarkPosLB;
308 std::unique_ptr<ColorListBox> m_xMarkColorLB;
309 std::unique_ptr<SwMarkPreview> m_xMarkPreviewWN;
310 std::unique_ptr<weld::CustomWeld> m_xMarkPreview;
311
312 DECL_LINK(AttribHdl, weld::ComboBox&, void);
313 void ChangedMaskPrev();
314 DECL_LINK(ChangedMaskPrevHdl, weld::ComboBox&, void);
315 DECL_LINK(ChangedMaskColorPrevHdl, ColorListBox&, void);
316 DECL_LINK(ColorHdl, ColorListBox&, void);
317
318 static void InitFontStyle(SvxFontPrevWindow& rExampleWin, const OUString& rText);
319
320public:
322 virtual ~SwRedlineOptionsTabPage() override;
323
324 static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rAttrSet);
325
326 virtual bool FillItemSet( SfxItemSet* rSet ) override;
327 virtual void Reset( const SfxItemSet* rSet ) override;
328};
329
330// TabPage test settings for SW
331
332#ifdef DBG_UTIL
333
334class SwTestTabPage final : public SfxTabPage
335{
336public:
338 virtual ~SwTestTabPage() override;
339
340 static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rAttrSet);
341
342 virtual bool FillItemSet( SfxItemSet* rSet ) override;
343 virtual void Reset( const SfxItemSet* rSet ) override;
344
345private:
347
348 std::unique_ptr<weld::CheckButton> m_xTest1CBox;
349 std::unique_ptr<weld::CheckButton> m_xTest2CBox;
350 std::unique_ptr<weld::CheckButton> m_xTest3CBox;
351 std::unique_ptr<weld::CheckButton> m_xTest4CBox;
352 std::unique_ptr<weld::CheckButton> m_xTest5CBox;
353 std::unique_ptr<weld::CheckButton> m_xTest6CBox;
354 std::unique_ptr<weld::CheckButton> m_xTest7CBox;
355 std::unique_ptr<weld::CheckButton> m_xTest8CBox;
356 std::unique_ptr<weld::CheckButton> m_xTest9CBox;
357 std::unique_ptr<weld::CheckButton> m_xTest10CBox;
358
359 void Init();
360 DECL_LINK(AutoClickHdl, weld::Toggleable&, void);
361};
362#endif // DBG_UTIL
363
365{
366 std::unique_ptr<weld::RadioButton> m_xAutoRB;
367 std::unique_ptr<weld::RadioButton> m_xWordRB;
368 std::unique_ptr<weld::RadioButton> m_xCharRB;
369 std::unique_ptr<weld::CheckButton> m_xRsidCB;
370 std::unique_ptr<weld::CheckButton> m_xIgnoreCB;
371 std::unique_ptr<weld::SpinButton> m_xLenNF;
372 std::unique_ptr<weld::CheckButton> m_xStoreRsidCB;
373
374 DECL_LINK(ComparisonHdl, weld::Toggleable&, void);
375 DECL_LINK(IgnoreHdl, weld::Toggleable&, void);
376
377public:
379 virtual ~SwCompareOptionsTabPage() override;
380
381 static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rAttrSet );
382
383 virtual bool FillItemSet( SfxItemSet* rSet ) override;
384 virtual void Reset( const SfxItemSet* rSet ) override;
385};
386
387/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
std::unique_ptr< weld::ComboBox > m_xFaxLB
Definition: optpage.hxx:104
std::unique_ptr< weld::CheckButton > m_xLeftPageCB
Definition: optpage.hxx:90
SwAddPrinterTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: optpage.cxx:277
void SetPreview(bool bPrev)
Definition: optpage.cxx:342
void SetFax(const std::vector< OUString > &)
Definition: optpage.cxx:452
std::unique_ptr< weld::Widget > m_xPagesFrame
Definition: optpage.hxx:89
std::unique_ptr< weld::RadioButton > m_xOnlyRB
Definition: optpage.hxx:97
std::unique_ptr< weld::CheckButton > m_xProspectCB
Definition: optpage.hxx:92
std::unique_ptr< weld::CheckButton > m_xPaperFromSetupCB
Definition: optpage.hxx:103
std::unique_ptr< weld::CheckButton > m_xBackgroundCB
Definition: optpage.hxx:84
DECL_LINK(SelectHdl, weld::ComboBox &, void)
std::unique_ptr< weld::CheckButton > m_xRightPageCB
Definition: optpage.hxx:91
OUString m_sNone
Definition: optpage.hxx:78
virtual ~SwAddPrinterTabPage() override
Definition: optpage.cxx:338
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: optpage.cxx:355
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: optpage.cxx:349
virtual void Reset(const SfxItemSet *rSet) override
Definition: optpage.cxx:396
std::unique_ptr< weld::Widget > m_xCommentsFrame
Definition: optpage.hxx:95
std::unique_ptr< weld::RadioButton > m_xEndPageRB
Definition: optpage.hxx:99
std::unique_ptr< weld::CheckButton > m_xPrintTextPlaceholderCB
Definition: optpage.hxx:87
std::unique_ptr< weld::RadioButton > m_xNoRB
Definition: optpage.hxx:96
std::unique_ptr< weld::RadioButton > m_xInMarginsRB
Definition: optpage.hxx:100
std::unique_ptr< weld::CheckButton > m_xProspectCB_RTL
Definition: optpage.hxx:93
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: optpage.cxx:467
std::unique_ptr< weld::CheckButton > m_xCtrlFieldCB
Definition: optpage.hxx:83
std::unique_ptr< weld::CheckButton > m_xGrfCB
Definition: optpage.hxx:82
std::unique_ptr< weld::CheckButton > m_xPrintEmptyPagesCB
Definition: optpage.hxx:102
DECL_LINK(AutoClickHdl, weld::Toggleable &, void)
std::unique_ptr< weld::RadioButton > m_xEndRB
Definition: optpage.hxx:98
std::unique_ptr< weld::CheckButton > m_xBlackFontCB
Definition: optpage.hxx:85
std::unique_ptr< weld::CheckButton > m_xPrintHiddenTextCB
Definition: optpage.hxx:86
std::unique_ptr< weld::RadioButton > m_xAutoRB
Definition: optpage.hxx:366
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: optpage.cxx:1990
virtual void Reset(const SfxItemSet *rSet) override
Definition: optpage.cxx:2041
std::unique_ptr< weld::CheckButton > m_xRsidCB
Definition: optpage.hxx:369
std::unique_ptr< weld::RadioButton > m_xCharRB
Definition: optpage.hxx:368
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: optpage.cxx:1995
std::unique_ptr< weld::RadioButton > m_xWordRB
Definition: optpage.hxx:367
virtual ~SwCompareOptionsTabPage() override
Definition: optpage.cxx:1986
std::unique_ptr< weld::CheckButton > m_xIgnoreCB
Definition: optpage.hxx:370
DECL_LINK(ComparisonHdl, weld::Toggleable &, void)
SwCompareOptionsTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: optpage.cxx:1968
std::unique_ptr< weld::CheckButton > m_xStoreRsidCB
Definition: optpage.hxx:372
DECL_LINK(IgnoreHdl, weld::Toggleable &, void)
std::unique_ptr< weld::SpinButton > m_xLenNF
Definition: optpage.hxx:371
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: optpage.cxx:164
std::unique_ptr< weld::CheckButton > m_xPostItCB
Definition: optpage.hxx:49
std::unique_ptr< weld::CheckButton > m_xGrfCB
Definition: optpage.hxx:46
std::unique_ptr< weld::CheckButton > m_xShowChangesInMargin
Definition: optpage.hxx:59
std::unique_ptr< weld::CheckButton > m_xVRulerCBox
Definition: optpage.hxx:41
std::unique_ptr< weld::ComboBox > m_xVMetric
Definition: optpage.hxx:43
std::unique_ptr< weld::CheckButton > m_xShowOutlineContentVisibilityButton
Definition: optpage.hxx:57
SwContentOptPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: optpage.cxx:86
virtual void Reset(const SfxItemSet *rSet) override
Definition: optpage.cxx:188
std::unique_ptr< weld::CheckButton > m_xFieldHiddenCB
Definition: optpage.hxx:60
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_xTreatSubOutlineLevelsAsContent
Definition: optpage.hxx:58
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_xCrossCB
Definition: optpage.hxx:38
std::unique_ptr< weld::CheckButton > m_xFieldHiddenParaCB
Definition: optpage.hxx:61
std::unique_ptr< weld::CheckButton > m_xVRulerRightCBox
Definition: optpage.hxx:42
DECL_LINK(ShowOutlineContentVisibilityButtonHdl, weld::Toggleable &, void)
std::unique_ptr< weld::ComboBox > m_xMetricLB
Definition: optpage.hxx:54
std::unique_ptr< weld::CheckButton > m_xShowInlineTooltips
Definition: optpage.hxx:56
virtual ~SwContentOptPage() override
Definition: optpage.cxx:160
DECL_LINK(VertRulerHdl, weld::Toggleable &, void)
std::unique_ptr< weld::Label > m_xMetricLabel
Definition: optpage.hxx:53
std::unique_ptr< weld::CheckButton > m_xTableCB
Definition: optpage.hxx:47
std::unique_ptr< weld::CheckButton > m_xSmoothCBox
Definition: optpage.hxx:44
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: optpage.cxx:215
void SetMarkPos(sal_uInt16 nPos)
Definition: optpage.hxx:286
void PaintPage(vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect)
Definition: optpage.cxx:1470
Color m_aBgCol
Definition: optpage.hxx:262
void InitColors()
Definition: optpage.cxx:1385
tools::Rectangle m_aRightPagePrtArea
Definition: optpage.hxx:272
virtual ~SwMarkPreview() override
Definition: optpage.cxx:1381
Color m_aTransCol
Definition: optpage.hxx:263
virtual void Paint(vcl::RenderContext &rRenderContext, const tools::Rectangle &) override
Definition: optpage.cxx:1400
Color m_aTextCol
Definition: optpage.hxx:267
tools::Rectangle m_aLeftPagePrtArea
Definition: optpage.hxx:271
virtual void SetDrawingArea(weld::DrawingArea *pDrawingArea) override
Definition: optpage.cxx:1500
sal_uInt16 m_nMarkPos
Definition: optpage.hxx:274
Color m_aLineCol
Definition: optpage.hxx:265
Color m_aMarkCol
Definition: optpage.hxx:264
tools::Rectangle m_aPage
Definition: optpage.hxx:270
Color m_aPrintAreaCol
Definition: optpage.hxx:268
void SetColor(const Color &rCol)
Definition: optpage.hxx:285
Color m_aShadowCol
Definition: optpage.hxx:266
virtual void Reset(const SfxItemSet *rSet) override
Definition: optpage.cxx:1686
static void InitFontStyle(SvxFontPrevWindow &rExampleWin, const OUString &rText)
Definition: optpage.cxx:1926
std::unique_ptr< weld::ComboBox > m_xInsertLB
Definition: optpage.hxx:292
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: optpage.cxx:1604
std::unique_ptr< SvxFontPrevWindow > m_xInsertedPreviewWN
Definition: optpage.hxx:294
std::unique_ptr< weld::CustomWeld > m_xChangedPreview
Definition: optpage.hxx:305
std::unique_ptr< SwMarkPreview > m_xMarkPreviewWN
Definition: optpage.hxx:309
std::unique_ptr< ColorListBox > m_xChangedColorLB
Definition: optpage.hxx:303
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: optpage.cxx:1609
SwRedlineOptionsTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: optpage.cxx:1525
std::unique_ptr< ColorListBox > m_xMarkColorLB
Definition: optpage.hxx:308
std::unique_ptr< weld::ComboBox > m_xChangedLB
Definition: optpage.hxx:302
std::unique_ptr< weld::CustomWeld > m_xInsertedPreview
Definition: optpage.hxx:295
std::unique_ptr< weld::CustomWeld > m_xMarkPreview
Definition: optpage.hxx:310
std::unique_ptr< SvxFontPrevWindow > m_xDeletedPreviewWN
Definition: optpage.hxx:299
DECL_LINK(AttribHdl, weld::ComboBox &, void)
virtual ~SwRedlineOptionsTabPage() override
Definition: optpage.cxx:1588
DECL_LINK(ColorHdl, ColorListBox &, void)
std::unique_ptr< SvxFontPrevWindow > m_xChangedPreviewWN
Definition: optpage.hxx:304
DECL_LINK(ChangedMaskColorPrevHdl, ColorListBox &, void)
DECL_LINK(ChangedMaskPrevHdl, weld::ComboBox &, void)
std::unique_ptr< weld::CustomWeld > m_xDeletedPreview
Definition: optpage.hxx:300
std::unique_ptr< ColorListBox > m_xDeletedColorLB
Definition: optpage.hxx:298
std::unique_ptr< weld::ComboBox > m_xMarkPosLB
Definition: optpage.hxx:307
std::unique_ptr< weld::ComboBox > m_xDeletedLB
Definition: optpage.hxx:297
std::unique_ptr< ColorListBox > m_xInsertColorLB
Definition: optpage.hxx:293
std::unique_ptr< weld::CheckButton > m_xParaCB
Definition: optpage.hxx:224
virtual ~SwShdwCursorOptionsTabPage() override
Definition: optpage.cxx:1229
virtual void Reset(const SfxItemSet *rSet) override
Definition: optpage.cxx:1294
std::unique_ptr< weld::Frame > m_xImageFrame
Definition: optpage.hxx:240
std::unique_ptr< weld::CheckButton > m_xSpacesCB
Definition: optpage.hxx:226
std::unique_ptr< weld::Frame > m_xCursorProtFrame
Definition: optpage.hxx:239
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: optpage.cxx:1245
std::unique_ptr< weld::Label > m_xBookmarkLabel
Definition: optpage.hxx:233
std::unique_ptr< weld::ComboBox > m_xDirectCursorFillMode
Definition: optpage.hxx:238
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: optpage.cxx:1233
std::unique_ptr< weld::CheckButton > m_xMathBaselineAlignmentCB
Definition: optpage.hxx:245
std::unique_ptr< weld::CheckButton > m_xCursorInProtCB
Definition: optpage.hxx:241
std::unique_ptr< weld::ComboBox > m_xDefaultAnchorType
Definition: optpage.hxx:243
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: optpage.cxx:1238
std::unique_ptr< weld::Frame > m_xDirectCursorFrame
Definition: optpage.hxx:235
std::unique_ptr< weld::CheckButton > m_xCharHiddenCB
Definition: optpage.hxx:231
std::unique_ptr< weld::CheckButton > m_xHSpacesCB
Definition: optpage.hxx:227
std::unique_ptr< weld::CheckButton > m_xTabCB
Definition: optpage.hxx:228
std::unique_ptr< weld::CheckButton > m_xBreakCB
Definition: optpage.hxx:230
std::unique_ptr< weld::Label > m_xTabLabel
Definition: optpage.hxx:229
std::unique_ptr< weld::CheckButton > m_xOnOffCB
Definition: optpage.hxx:236
SwShdwCursorOptionsTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: optpage.cxx:1178
std::unique_ptr< weld::CheckButton > m_xSHyphCB
Definition: optpage.hxx:225
SwWrtShell * m_pWrtShell
Definition: optpage.hxx:221
std::unique_ptr< weld::CheckButton > m_xBookmarkCB
Definition: optpage.hxx:232
SwStdFontConfig * m_pFontConfig
Definition: optpage.hxx:132
std::unique_ptr< weld::Label > m_xLabelFT
Definition: optpage.hxx:151
bool m_bSetIdxDefault
Definition: optpage.hxx:142
VclPtr< SfxPrinter > m_pPrt
Definition: optpage.hxx:130
virtual void Reset(const SfxItemSet *rSet) override
Definition: optpage.cxx:706
DECL_LINK(StandardHdl, weld::Button &, void)
std::unique_ptr< FontSizeBox > m_xTitleHeightLB
Definition: optpage.hxx:155
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: optpage.cxx:577
std::unique_ptr< weld::ComboBox > m_xTitleBox
Definition: optpage.hxx:154
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: optpage.cxx:550
OUString m_sScriptComplex
Definition: optpage.hxx:149
virtual ~SwStdFontTabPage() override
Definition: optpage.cxx:536
std::unique_ptr< weld::ComboBox > m_xListBox
Definition: optpage.hxx:156
OUString m_sScriptAsian
Definition: optpage.hxx:148
LanguageType m_eLanguage
Definition: optpage.hxx:134
bool m_bSetListDefault
Definition: optpage.hxx:138
bool m_bDisposePrinter
Definition: optpage.hxx:143
std::unique_ptr< weld::Button > m_xStandardPB
Definition: optpage.hxx:162
std::unique_ptr< weld::ComboBox > m_xStandardBox
Definition: optpage.hxx:152
std::unique_ptr< FontSizeBox > m_xListHeightLB
Definition: optpage.hxx:157
std::unique_ptr< FontList > m_pFontList
Definition: optpage.hxx:131
OUString m_sShellIndex
Definition: optpage.hxx:128
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: optpage.cxx:972
OUString m_sShellLabel
Definition: optpage.hxx:127
std::unique_ptr< FontSizeBox > m_xLabelHeightLB
Definition: optpage.hxx:159
SwWrtShell * m_pWrtShell
Definition: optpage.hxx:133
std::unique_ptr< FontSizeBox > m_xIndexHeightLB
Definition: optpage.hxx:161
bool m_bLabelDefault
Definition: optpage.hxx:139
bool m_bSetLabelDefault
Definition: optpage.hxx:140
DECL_LINK(ModifyHdl, weld::ComboBox &, void)
OUString m_sShellStd
Definition: optpage.hxx:124
OUString m_sShellList
Definition: optpage.hxx:126
SwStdFontTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: optpage.cxx:487
std::unique_ptr< weld::ComboBox > m_xLabelBox
Definition: optpage.hxx:158
std::unique_ptr< FontSizeBox > m_xStandardHeightLB
Definition: optpage.hxx:153
DECL_LINK(LoseFocusHdl, weld::Widget &, void)
std::unique_ptr< weld::ComboBox > m_xIdxBox
Definition: optpage.hxx:160
OUString m_sShellTitle
Definition: optpage.hxx:125
OUString m_sScriptWestern
Definition: optpage.hxx:147
sal_uInt8 m_nFontGroup
Definition: optpage.hxx:145
std::unique_ptr< weld::CheckButton > m_xHeaderCB
Definition: optpage.hxx:184
std::unique_ptr< weld::MetricSpinButton > m_xColInsertMF
Definition: optpage.hxx:197
virtual ~SwTableOptionsTabPage() override
Definition: optpage.cxx:1004
DECL_LINK(CheckBoxHdl, weld::Toggleable &, void)
std::unique_ptr< weld::MetricSpinButton > m_xRowMoveMF
Definition: optpage.hxx:193
std::unique_ptr< weld::RadioButton > m_xVarRB
Definition: optpage.hxx:201
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: optpage.cxx:1171
std::unique_ptr< weld::CheckButton > m_xNumFormattingCB
Definition: optpage.hxx:189
SwTableOptionsTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: optpage.cxx:979
std::unique_ptr< weld::MetricSpinButton > m_xRowInsertMF
Definition: optpage.hxx:196
virtual void Reset(const SfxItemSet *rSet) override
Definition: optpage.cxx:1101
std::unique_ptr< weld::CheckButton > m_xRepeatHeaderCB
Definition: optpage.hxx:185
std::unique_ptr< weld::CheckButton > m_xNumFormatFormattingCB
Definition: optpage.hxx:190
std::unique_ptr< weld::RadioButton > m_xFixPropRB
Definition: optpage.hxx:200
SwWrtShell * m_pWrtShell
Definition: optpage.hxx:181
std::unique_ptr< weld::CheckButton > m_xDontSplitCB
Definition: optpage.hxx:186
std::unique_ptr< weld::CheckButton > m_xNumAlignmentCB
Definition: optpage.hxx:191
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: optpage.cxx:1014
std::unique_ptr< weld::MetricSpinButton > m_xColMoveMF
Definition: optpage.hxx:194
std::unique_ptr< weld::CheckButton > m_xBorderCB
Definition: optpage.hxx:187
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: optpage.cxx:1008
std::unique_ptr< weld::RadioButton > m_xFixRB
Definition: optpage.hxx:199
virtual void Reset(const SfxItemSet *rSet) override
Definition: optpage.cxx:2152
std::unique_ptr< weld::CheckButton > m_xTest5CBox
Definition: optpage.hxx:352
std::unique_ptr< weld::CheckButton > m_xTest8CBox
Definition: optpage.hxx:355
std::unique_ptr< weld::CheckButton > m_xTest9CBox
Definition: optpage.hxx:356
std::unique_ptr< weld::CheckButton > m_xTest2CBox
Definition: optpage.hxx:349
std::unique_ptr< weld::CheckButton > m_xTest6CBox
Definition: optpage.hxx:353
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: optpage.cxx:2131
DECL_LINK(AutoClickHdl, weld::Toggleable &, void)
std::unique_ptr< weld::CheckButton > m_xTest10CBox
Definition: optpage.hxx:357
std::unique_ptr< weld::CheckButton > m_xTest3CBox
Definition: optpage.hxx:350
std::unique_ptr< weld::CheckButton > m_xTest7CBox
Definition: optpage.hxx:354
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: optpage.cxx:2125
SwTestTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: optpage.cxx:2104
bool m_bAttrModified
Definition: optpage.hxx:346
std::unique_ptr< weld::CheckButton > m_xTest4CBox
Definition: optpage.hxx:351
std::unique_ptr< weld::CheckButton > m_xTest1CBox
Definition: optpage.hxx:348
virtual ~SwTestTabPage() override
Definition: optpage.cxx:2121
Used by the UI to modify the document model.
Definition: wrtsh.hxx:97
sal_uInt16 nPos
static SfxItemSet & rSet
unsigned char sal_uInt8