LibreOffice Module sw (master) 1
viewopt.cxx
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#include <sfx2/htmlmode.hxx>
21#include <svtools/htmlcfg.hxx>
22
23#include <editeng/editids.hrc>
24#include <editeng/svxacorr.hxx>
25#include <officecfg/Office/Common.hxx>
27#include <vcl/outdev.hxx>
28#include <swmodule.hxx>
29#include <viewopt.hxx>
30#include <wdocsh.hxx>
31#include <swrect.hxx>
32#include <viewsh.hxx>
33#include <view.hxx>
34#include <wrtsh.hxx>
35#include <crstate.hxx>
36#include <authratr.hxx>
37#include <svtools/colorcfg.hxx>
41
42#include <editeng/acorrcfg.hxx>
43#include <comphelper/lok.hxx>
45
46sal_uInt16 SwViewOption::s_nPixelTwips = 0; // one pixel on the screen
48
50 m_aDocColor(COL_LIGHTGRAY),
51 m_aDocBoundColor(COL_LIGHTGRAY),
52 m_aObjectBoundColor(COL_LIGHTGRAY),
53 m_aAppBackgroundColor(COL_LIGHTGRAY),
54 m_aTableBoundColor(COL_LIGHTGRAY),
55 m_aFontColor(COL_BLACK),
56 m_aIndexShadingsColor(COL_LIGHTGRAY),
57 m_aLinksColor(COL_BLUE),
58 m_aVisitedLinksColor(COL_RED),
59 m_aTextGridColor(COL_LIGHTGRAY),
60 m_aSpellColor(COL_LIGHTRED),
61 m_aGrammarColor(COL_LIGHTBLUE),
62 m_aSmarttagColor(COL_LIGHTMAGENTA),
63 m_aFieldShadingsColor(COL_LIGHTGRAY),
64 m_aSectionBoundColor(COL_LIGHTGRAY),
65 m_aPageBreakColor(COL_BLUE),
66 m_aScriptIndicatorColor(COL_GREEN),
67 m_aShadowColor(COL_GRAY),
68 m_aHeaderFooterMarkColor(COL_BLUE),
69 m_nAppearanceFlags(ViewOptFlags::NONE)
70{}
71
73{
75
77 m_aDocBoundColor = aValue.nColor;
79 if(aValue.bIsVisible)
81
83
86 if(aValue.bIsVisible)
88
91 if(aValue.bIsVisible)
93
96 if(aValue.bIsVisible)
98
99 aValue = rConfig.GetColorValue(svtools::LINKS);
100 m_aLinksColor = aValue.nColor;
101 if(aValue.bIsVisible)
103
104 aValue = rConfig.GetColorValue(svtools::LINKSVISITED);
106 if(aValue.bIsVisible)
108
109 aValue = rConfig.GetColorValue(svtools::SHADOWCOLOR);
110 m_aShadowColor = aValue.nColor;
111 if(aValue.bIsVisible)
113
115
118
120
122
125 // as in initializeForTiledRendering we don't want to enable
126 // field shadings for the online case
129
132 if(aValue.bIsVisible)
134
136 m_aPageBreakColor = aValue.nColor;
137
140
142}
143
145{
146 return m_nCoreOptions == rOpt.m_nCoreOptions
148 && m_aSnapSize == rOpt.m_aSnapSize
150 && m_nDivisionX == rOpt.GetDivisionX()
151 && m_nDivisionY == rOpt.GetDivisionY()
155 && mbFormView == rOpt.IsFormView()
156 && mbBrowseMode == rOpt.getBrowseMode()
160 && m_bIdle == rOpt.m_bIdle
162#ifdef DBG_UTIL
163 // correspond to the statements in ui/config/cfgvw.src
164 && m_bTest1 == rOpt.IsTest1()
165 && m_bTest2 == rOpt.IsTest2()
166 && m_bTest3 == rOpt.IsTest3()
167 && m_bTest4 == rOpt.IsTest4()
168 && m_bTest5 == rOpt.IsTest5()
169 && m_bTest6 == rOpt.IsTest6()
170 && m_bTest7 == rOpt.IsTest7()
171 && m_bTest8 == rOpt.IsTest8()
172 && m_bTest10 == rOpt.IsTest10()
173#endif
174 ;
175}
176
178{
180}
181
183{
185}
186
188 const SwRect &rRect, ::Color nCol )
189{
190 if ( pOut->GetOutDevType() != OUTDEV_PRINTER )
191 {
192 const Color aCol( nCol );
193 const Color aOldColor( pOut->GetFillColor() );
194 pOut->SetFillColor( aCol );
195 pOut->DrawRect( rRect.SVRect() );
196 pOut->SetFillColor( aOldColor );
197 }
198 else
199 DrawRectPrinter( pOut, rRect );
200}
201
203 const SwRect &rRect )
204{
205 Color aOldColor(pOut->GetLineColor());
206 Color aOldFillColor( pOut->GetFillColor() );
207 pOut->SetLineColor( COL_BLACK );
208 pOut->SetFillColor( COL_TRANSPARENT);
209 pOut->DrawRect( rRect.SVRect() );
210 pOut->SetFillColor( aOldFillColor );
211 pOut->SetLineColor( aOldColor );
212}
213
215{
216 assert(pOut && "no Outdev");
217 return sal_uInt16(pOut->GetTextWidth(" "));
218}
219
220void SwViewOption::PaintPostIts( OutputDevice *pOut, const SwRect &rRect, bool bIsScript ) const
221{
222 if( !(pOut && bIsScript) )
223 return;
224
225 Color aOldLineColor( pOut->GetLineColor() );
226 pOut->SetLineColor( COL_GRAY );
227 // to make it look nice, we subtract two pixels everywhere
228 sal_uInt16 nPix = s_nPixelTwips * 2;
229 if( rRect.Width() <= 2 * nPix || rRect.Height() <= 2 * nPix )
230 nPix = 0;
231 const Point aTopLeft( rRect.Left() + nPix, rRect.Top() + nPix );
232 const Point aBotRight( rRect.Right() - nPix, rRect.Bottom() - nPix );
233 const SwRect aRect( aTopLeft, aBotRight );
235 pOut->SetLineColor( aOldLineColor );
236}
237
239 m_sThemeName( "Default" ),
240 m_sSymbolFont( "symbol" ),
241 m_aRetouchColor( COL_TRANSPARENT ),
242 mnViewLayoutColumns( 0 ),
243 m_nPagePreviewRow( 1 ),
244 m_nPagePreviewCol( 2 ),
245 m_nShadowCursorFillMode( SwFillMode::Tab ),
246 m_bReadonly(false),
247 m_bStarOneSetting(false),
248 m_bIsPagePreview(false),
249 m_bSelectionInReadonly(false),
250 mbFormView(false),
251 mbBrowseMode(false),
252 mbBookView(false),
253 mbViewLayoutBookMode(false),
254 mbHideWhitespaceMode(false),
255 m_bShowPlaceHolderFields( true ),
256 m_nZoom( 100 ),
257 m_eZoom( SvxZoomType::PERCENT ),
258 m_nTableDestination(TBL_DEST_CELL)
259{
263
269
270 if (!utl::ConfigManager::IsFuzzing() && MeasurementSystem::Metric != SvtSysLocale().GetLocaleData().getMeasurementSystemEnum())
271 {
272 m_aSnapSize.setWidth(720); // 1/2"
273 m_aSnapSize.setHeight(720); // 1/2"
274
275 }
276 else
277 {
278 m_aSnapSize.setWidth(567); // 1 cm
279 m_aSnapSize.setHeight(567); // 1 cm
280 }
282
284
285 m_bIdle = true;
286
287 m_nDefaultAnchor = 1; //FLY_TO_CHAR
288
289#ifdef DBG_UTIL
290 // correspond to the statements in ui/config/cfgvw.src
293#endif
297}
298
300{
301 m_bReadonly = false;
303 // #114856# Form view
305 mbFormView = rVOpt.mbFormView;
306 m_nZoom = rVOpt.m_nZoom ;
307 m_aSnapSize = rVOpt.m_aSnapSize ;
309 m_nDivisionX = rVOpt.m_nDivisionX ;
310 m_nDivisionY = rVOpt.m_nDivisionY ;
314 m_eZoom = rVOpt.m_eZoom ;
316 m_nUIOptions = rVOpt.m_nUIOptions ;
323 mbBookView = rVOpt.mbBookView;
328 m_bIdle = rVOpt.m_bIdle;
331
332#ifdef DBG_UTIL
333 m_bTest1 = rVOpt.m_bTest1;
334 m_bTest2 = rVOpt.m_bTest2;
335 m_bTest3 = rVOpt.m_bTest3;
336 m_bTest4 = rVOpt.m_bTest4;
337 m_bTest5 = rVOpt.m_bTest5;
338 m_bTest6 = rVOpt.m_bTest6;
339 m_bTest7 = rVOpt.m_bTest7;
340 m_bTest8 = rVOpt.m_bTest8;
341 m_bTest10 = rVOpt.m_bTest10;
342#endif
343}
344
346{
347 // #114856# Form view
349 mbFormView = rVOpt.mbFormView ;
350 m_nZoom = rVOpt.m_nZoom ;
351 m_aSnapSize = rVOpt.m_aSnapSize ;
353 m_nDivisionX = rVOpt.m_nDivisionX ;
354 m_nDivisionY = rVOpt.m_nDivisionY ;
358 m_eZoom = rVOpt.m_eZoom ;
360 m_nUIOptions = rVOpt.m_nUIOptions ;
367 mbBookView = rVOpt.mbBookView;
372 m_bIdle = rVOpt.m_bIdle;
375
376#ifdef DBG_UTIL
377 m_bTest1 = rVOpt.m_bTest1;
378 m_bTest2 = rVOpt.m_bTest2;
379 m_bTest3 = rVOpt.m_bTest3;
380 m_bTest4 = rVOpt.m_bTest4;
381 m_bTest5 = rVOpt.m_bTest5;
382 m_bTest6 = rVOpt.m_bTest6;
383 m_bTest7 = rVOpt.m_bTest7;
384 m_bTest8 = rVOpt.m_bTest8;
385 m_bTest10 = rVOpt.m_bTest10;
386#endif
387 return *this;
388}
389
391{
392}
393
395{
396 if( !s_nPixelTwips && pWin )
397 {
398 s_nPixelTwips = o3tl::narrowing<sal_uInt16>(pWin->PixelToLogic( Size(1,1) ).Height());
399 }
400}
401
403{
405 return rFlags.bAutoCmpltCollectWords;
406}
407
409 m_nItemId (SID_ATTR_CHAR_UNDERLINE),
410 m_nAttr (LINESTYLE_SINGLE),
411 m_nColor (COL_TRANSPARENT)
412{
413}
414
415sal_uInt16 GetHtmlMode(const SwDocShell* pShell)
416{
417 sal_uInt16 nRet = 0;
418 if(!pShell || dynamic_cast<const SwWebDocShell*>( pShell) )
419 {
422 {
423 case HTML_CFG_MSIE:
424 nRet |= HTMLMODE_FULL_STYLES;
425 break;
426 case HTML_CFG_NS40:
427 // no special features for this browser
428 break;
429 case HTML_CFG_WRITER:
430 nRet |= HTMLMODE_FULL_STYLES;
431 break;
432 }
433 }
434 return nRet;
435}
436
438{
439 switch ( m_nDefaultAnchor )
440 {
441 case 0:
442 return RndStdIds::FLY_AT_PARA; //0
443 case 1:
444 return RndStdIds::FLY_AT_CHAR; //4
445 case 2:
446 return RndStdIds::FLY_AS_CHAR; //1
447 default:
448 return RndStdIds::FLY_AT_CHAR; //4
449 }//switch
450}
451
453{
455}
456
458{
460}
461
463{
465}
466
468{
470}
471
473{
475}
476
478{
480}
481
483{
485}
486
488{
490}
491
493{
495}
496
498{
500}
501
503{
505}
506
508{
510}
511
513{
515}
516
518{
520}
521
523{
525}
526
528{
530}
531
533{
535}
536
538{
540}
541
542void SwViewOption::SetAppearanceFlag(ViewOptFlags nFlag, bool bSet, bool bSaveInConfig )
543{
544 if(bSet)
546 else
548 if(!bSaveInConfig)
549 return;
550
551 //create an editable svtools::ColorConfig and store the change
552 svtools::EditableColorConfig aEditableConfig;
553 struct FlagToConfig_Impl
554 {
555 ViewOptFlags nFlag;
557 };
558 static const FlagToConfig_Impl aFlags[] =
559 {
570 };
571 sal_uInt16 nPos = 0;
572 while(aFlags[nPos].nFlag != ViewOptFlags::NONE)
573 {
574 if(nFlag & aFlags[nPos].nFlag)
575 {
576 svtools::ColorConfigValue aValue = aEditableConfig.GetColorValue(aFlags[nPos].eEntry);
577 aValue.bIsVisible = bSet;
578 aEditableConfig.SetColorValue(aFlags[nPos].eEntry, aValue);
579 }
580 nPos++;
581 }
582}
583
585{
586 return bool(m_aColorConfig.m_nAppearanceFlags & nFlag);
587}
588
589namespace{
590rtl::Reference<comphelper::ConfigurationListener> const & getWCOptionListener()
591{
592 static rtl::Reference<comphelper::ConfigurationListener> xListener(new comphelper::ConfigurationListener("/org.openoffice.Office.Writer/Cursor/Option"));
593 return xListener;
594}
595}
596
598{
600 return false;
601 static comphelper::ConfigurationListenerProperty<bool> gIgnoreProtectedArea(getWCOptionListener(), "IgnoreProtectedArea");
602 return gIgnoreProtectedArea.get();
603}
604
606{
607 SfxViewShell* pCurrentShell = SfxViewShell::Current();
608 SwView* pView = dynamic_cast<SwView*>(pCurrentShell);
609 if(pView)
610 {
611 return *pView->GetWrtShell().GetViewOptions();
612 }
613
614 // Some unit tests don't have a SfxViewShell, so we need to return something
615 static SwViewOption aDefaultViewOptions;
616 return aDefaultViewOptions;
617}
618
619/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
SAL_WARN_UNUSED_RESULT Point PixelToLogic(const Point &rDevicePt) const
static SAL_WARN_UNUSED_RESULT SfxViewShell * Current()
void setWidth(tools::Long nWidth)
void setHeight(tools::Long nHeight)
static bool IsSelectionInReadonly()
SvxAutoCorrect * GetAutoCorrect()
static SvxAutoCorrCfg & Get()
SvxSwAutoFormatFlags & GetSwFlags()
Of course Writer needs its own rectangles.
Definition: swrect.hxx:35
void Height(tools::Long nNew)
Definition: swrect.hxx:193
void Top(const tools::Long nTop)
Definition: swrect.hxx:206
void Right(const tools::Long nRight)
Definition: swrect.hxx:202
void Bottom(const tools::Long nBottom)
Definition: swrect.hxx:211
tools::Rectangle SVRect() const
Definition: swrect.hxx:292
void Left(const tools::Long nLeft)
Definition: swrect.hxx:197
void Width(tools::Long nNew)
Definition: swrect.hxx:189
OUString m_sSymbolFont
Definition: viewopt.hxx:253
const Color & GetDocBoundariesColor() const
Definition: viewopt.cxx:457
const Color & GetShadowColor() const
Definition: viewopt.cxx:512
bool m_bTest6
Definition: viewopt.hxx:291
static bool IsIgnoreProtectedArea()
Definition: viewopt.cxx:597
const Color & GetVisitedLinksColor() const
Definition: viewopt.cxx:487
bool m_bIsPagePreview
Definition: viewopt.hxx:267
const Color & GetFontColor() const
Definition: viewopt.cxx:517
const Color & GetIndexShadingsColor() const
Definition: viewopt.cxx:477
sal_uInt8 m_nPagePreviewCol
Definition: viewopt.hxx:263
bool IsTest3() const
Definition: viewopt.hxx:660
bool m_bTest4
Definition: viewopt.hxx:289
OUString m_sThemeName
Definition: viewopt.hxx:249
static bool IsAutoCompleteWords()
Definition: viewopt.cxx:402
bool mbBookView
Definition: viewopt.hxx:271
SwFillMode m_nShadowCursorFillMode
Definition: viewopt.hxx:264
sal_uInt16 m_nZoom
Definition: viewopt.hxx:279
const Color & GetHeaderFooterMarkColor() const
Definition: viewopt.cxx:537
const Color & GetAppBackgroundColor() const
Definition: viewopt.cxx:467
bool m_bTest3
Definition: viewopt.hxx:288
bool IsShowOutlineContentVisibilityButton() const
Definition: viewopt.cxx:177
bool mbFormView
Definition: viewopt.hxx:269
const Color & GetTextGridColor() const
Definition: viewopt.cxx:492
SwViewOption & operator=(const SwViewOption &rOpt)
Definition: viewopt.cxx:345
short GetDivisionY() const
Definition: viewopt.hxx:610
static const SwViewOption & GetCurrentViewOptions()
Definition: viewopt.cxx:605
ViewOptCoreFlags2 m_nCore2Options
Definition: viewopt.hxx:255
const Color & GetSpellColor() const
Definition: viewopt.cxx:497
bool m_bReadonly
Definition: viewopt.hxx:265
static void Init(const OutputDevice *pWin)
Definition: viewopt.cxx:394
sal_uInt8 m_nPagePreviewRow
Definition: viewopt.hxx:262
sal_uInt16 mnViewLayoutColumns
Definition: viewopt.hxx:259
sal_uInt8 GetPagePrevCol() const
Definition: viewopt.hxx:625
ViewOptFlags2 m_nUIOptions
Definition: viewopt.hxx:256
sal_Int32 m_nDefaultAnchor
Definition: viewopt.hxx:276
RndStdIds GetDefaultAnchorType() const
Definition: viewopt.cxx:437
const Color & GetRetoucheColor() const
Definition: viewopt.hxx:742
bool IsTest7() const
Definition: viewopt.hxx:664
const Color & GetDocColor() const
Definition: viewopt.cxx:452
bool IsTreatSubOutlineLevelsAsContent() const
Definition: viewopt.cxx:182
sal_uInt8 GetPagePrevRow() const
Definition: viewopt.hxx:623
bool m_bTest7
Definition: viewopt.hxx:292
static SwViewColors s_aInitialColorConfig
Definition: viewopt.hxx:248
bool m_bShowPlaceHolderFields
Definition: viewopt.hxx:274
bool mbHideWhitespaceMode
Definition: viewopt.hxx:273
bool m_bTest10
Definition: viewopt.hxx:294
bool IsTest8() const
Definition: viewopt.hxx:665
const Color & GetTableBoundariesColor() const
Definition: viewopt.cxx:472
bool m_bTest8
Definition: viewopt.hxx:293
SvxZoomType m_eZoom
Definition: viewopt.hxx:280
const Color & GetPageBreakColor() const
Definition: viewopt.cxx:532
ViewOptFlags1 m_nCoreOptions
Definition: viewopt.hxx:254
bool m_bTest1
Definition: viewopt.hxx:286
short m_nDivisionY
Definition: viewopt.hxx:261
bool mbBrowseMode
Definition: viewopt.hxx:270
bool getBrowseMode() const
Definition: viewopt.hxx:636
const Color & GetGrammarColor() const
Definition: viewopt.cxx:502
short m_nDivisionX
Definition: viewopt.hxx:260
const Color & GetLinksColor() const
Definition: viewopt.cxx:482
bool m_bIdle
Definition: viewopt.hxx:275
bool m_bStarOneSetting
Definition: viewopt.hxx:266
bool IsTest5() const
Definition: viewopt.hxx:662
bool IsAppearanceFlag(ViewOptFlags nFlag) const
Definition: viewopt.cxx:584
bool IsTest1() const
Definition: viewopt.hxx:658
static void DrawRectPrinter(OutputDevice *pOut, const SwRect &rRect)
Definition: viewopt.cxx:202
static void DrawRect(OutputDevice *pOut, const SwRect &rRect, ::Color nCol)
Definition: viewopt.cxx:187
sal_uInt8 m_nTableDestination
Definition: viewopt.hxx:282
const Color & GetObjectBoundariesColor() const
Definition: viewopt.cxx:462
Size m_aSnapSize
Definition: viewopt.hxx:258
bool IsTest10() const
Definition: viewopt.hxx:666
void PaintPostIts(OutputDevice *pOut, const SwRect &rRect, bool bIsScript) const
Definition: viewopt.cxx:220
SwViewColors m_aColorConfig
Definition: viewopt.hxx:247
bool m_bTest5
Definition: viewopt.hxx:290
Color m_aRetouchColor
Definition: viewopt.hxx:257
bool IsEqualFlags(const SwViewOption &rOpt) const
Definition: viewopt.cxx:144
const Color & GetFieldShadingsColor() const
Definition: viewopt.cxx:522
bool IsFormView() const
Definition: viewopt.hxx:633
static sal_uInt16 GetPostItsWidth(const OutputDevice *pOut)
Definition: viewopt.cxx:214
short GetDivisionX() const
Definition: viewopt.hxx:608
bool IsTest4() const
Definition: viewopt.hxx:661
bool m_bSelectionInReadonly
Definition: viewopt.hxx:268
bool m_bTest2
Definition: viewopt.hxx:287
const Color & GetSmarttagColor() const
Definition: viewopt.cxx:507
const Color & GetSectionBoundColor() const
Definition: viewopt.cxx:527
void SetAppearanceFlag(ViewOptFlags nFlag, bool bSet, bool bSaveInConfig=false)
Definition: viewopt.cxx:542
static sal_uInt16 s_nPixelTwips
Definition: viewopt.hxx:251
bool IsTest6() const
Definition: viewopt.hxx:663
bool IsTest2() const
Definition: viewopt.hxx:659
bool mbViewLayoutBookMode
Definition: viewopt.hxx:272
const SwViewOption * GetViewOptions() const
Definition: viewsh.hxx:452
Definition: view.hxx:146
SwWrtShell & GetWrtShell() const
Definition: view.hxx:423
ColorConfigValue GetColorValue(ColorConfigEntry eEntry, bool bSmart=true) const
void SetColorValue(ColorConfigEntry eEntry, const ColorConfigValue &rValue)
const ColorConfigValue & GetColorValue(ColorConfigEntry eEntry) const
static bool IsFuzzing()
constexpr ::Color COL_LIGHTRED(0xFF, 0x00, 0x00)
constexpr ::Color COL_GRAY(0x80, 0x80, 0x80)
constexpr ::Color COL_GREEN(0x00, 0x80, 0x00)
constexpr ::Color COL_LIGHTMAGENTA(0xFF, 0x00, 0xFF)
constexpr ::Color COL_RED(0x80, 0x00, 0x00)
constexpr ::Color COL_LIGHTGRAY(0xC0, 0xC0, 0xC0)
constexpr ::Color COL_LIGHTBLUE(0x00, 0x00, 0xFF)
constexpr ::Color COL_BLUE(0x00, 0x00, 0x80)
constexpr ::Color COL_BLACK(0x00, 0x00, 0x00)
constexpr ::Color COL_TRANSPARENT(ColorTransparency, 0xFF, 0xFF, 0xFF, 0xFF)
SwFillMode
Definition: crstate.hxx:29
LINESTYLE_SINGLE
#define HTML_CFG_NS40
#define HTML_CFG_WRITER
#define HTML_CFG_MSIE
HTMLMODE_SOME_STYLES
HTMLMODE_ON
HTMLMODE_FULL_STYLES
sal_uInt16 nPos
sal_uInt16 GetExportMode()
WRITERFIELDSHADINGS
WRITERSCRIPTINDICATOR
ColorConfigEntryCount
WRITERHEADERFOOTERMARK
WRITERSECTIONBOUNDARIES
const LocaleDataWrapper & GetLocaleData()
OUTDEV_PRINTER
ViewOptFlags m_nAppearanceFlags
Definition: viewopt.hxx:242
Color m_aScriptIndicatorColor
Definition: viewopt.hxx:239
Color m_aFieldShadingsColor
Definition: viewopt.hxx:236
Color m_aPageBreakColor
Definition: viewopt.hxx:238
Color m_aDocBoundColor
Definition: viewopt.hxx:224
Color m_aSectionBoundColor
Definition: viewopt.hxx:237
Color m_aIndexShadingsColor
Definition: viewopt.hxx:229
Color m_aLinksColor
Definition: viewopt.hxx:230
Color m_aVisitedLinksColor
Definition: viewopt.hxx:231
Color m_aTextGridColor
Definition: viewopt.hxx:232
Color m_aGrammarColor
Definition: viewopt.hxx:234
Color m_aFontColor
Definition: viewopt.hxx:228
Color m_aSpellColor
Definition: viewopt.hxx:233
Color m_aShadowColor
Definition: viewopt.hxx:240
Color m_aSmarttagColor
Definition: viewopt.hxx:235
Color m_aHeaderFooterMarkColor
Definition: viewopt.hxx:241
Color m_aTableBoundColor
Definition: viewopt.hxx:227
Color m_aDocColor
Definition: viewopt.hxx:223
Color m_aAppBackgroundColor
Definition: viewopt.hxx:226
Color m_aObjectBoundColor
Definition: viewopt.hxx:225
bool bTreatSubOutlineLevelsAsContent
Definition: viewopt.hxx:64
bool bShowOutlineContentVisibilityButton
Definition: viewopt.hxx:68
RndStdIds
constexpr OUStringLiteral PERCENT(u"Percent")
sal_uInt16 GetHtmlMode(const SwDocShell *pShell)
Definition: viewopt.cxx:415
ViewOptFlags
Definition: viewopt.hxx:180
#define TBL_DEST_CELL
Definition: viewopt.hxx:175
oslFileHandle & pOut
SvxZoomType