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_aDirectCursorColor(COL_BLUE),
60 m_aTextGridColor(COL_LIGHTGRAY),
61 m_aSpellColor(COL_LIGHTRED),
62 m_aGrammarColor(COL_LIGHTBLUE),
63 m_aSmarttagColor(COL_LIGHTMAGENTA),
64 m_aFieldShadingsColor(COL_LIGHTGRAY),
65 m_aSectionBoundColor(COL_LIGHTGRAY),
66 m_aPageBreakColor(COL_BLUE),
67 m_aScriptIndicatorColor(COL_GREEN),
68 m_aShadowColor(COL_GRAY),
69 m_aHeaderFooterMarkColor(COL_BLUE),
70 m_nAppearanceFlags(ViewOptFlags::NONE)
71{}
72
74{
76
78 m_aDocBoundColor = aValue.nColor;
80 if(aValue.bIsVisible)
82
84
87 if(aValue.bIsVisible)
89
92 if(aValue.bIsVisible)
94
97 if(aValue.bIsVisible)
99
100 aValue = rConfig.GetColorValue(svtools::LINKS);
101 m_aLinksColor = aValue.nColor;
102 if(aValue.bIsVisible)
104
105 aValue = rConfig.GetColorValue(svtools::LINKSVISITED);
107 if(aValue.bIsVisible)
109
110 aValue = rConfig.GetColorValue(svtools::SHADOWCOLOR);
111 m_aShadowColor = aValue.nColor;
112 if(aValue.bIsVisible)
114
116
118
121
123
125
128 if(aValue.bIsVisible)
130
133 if(aValue.bIsVisible)
135
137 m_aPageBreakColor = aValue.nColor;
138
141
143}
144
146{
147 return m_nCoreOptions == rOpt.m_nCoreOptions
149 && m_aSnapSize == rOpt.m_aSnapSize
151 && m_nDivisionX == rOpt.GetDivisionX()
152 && m_nDivisionY == rOpt.GetDivisionY()
156 && mbFormView == rOpt.IsFormView()
157 && mbBrowseMode == rOpt.getBrowseMode()
161 && m_bIdle == rOpt.m_bIdle
163#ifdef DBG_UTIL
164 // correspond to the statements in ui/config/cfgvw.src
165 && m_bTest1 == rOpt.IsTest1()
166 && m_bTest2 == rOpt.IsTest2()
167 && m_bTest3 == rOpt.IsTest3()
168 && m_bTest4 == rOpt.IsTest4()
169 && m_bTest5 == rOpt.IsTest5()
170 && m_bTest6 == rOpt.IsTest6()
171 && m_bTest7 == rOpt.IsTest7()
172 && m_bTest8 == rOpt.IsTest8()
173 && m_bTest10 == rOpt.IsTest10()
174#endif
175 ;
176}
177
179{
181}
182
184{
186}
187
189 const SwRect &rRect, ::Color nCol )
190{
191 if ( pOut->GetOutDevType() != OUTDEV_PRINTER )
192 {
193 const Color aCol( nCol );
194 const Color aOldColor( pOut->GetFillColor() );
195 pOut->SetFillColor( aCol );
196 pOut->DrawRect( rRect.SVRect() );
197 pOut->SetFillColor( aOldColor );
198 }
199 else
200 DrawRectPrinter( pOut, rRect );
201}
202
204 const SwRect &rRect )
205{
206 Color aOldColor(pOut->GetLineColor());
207 Color aOldFillColor( pOut->GetFillColor() );
208 pOut->SetLineColor( COL_BLACK );
209 pOut->SetFillColor( COL_TRANSPARENT);
210 pOut->DrawRect( rRect.SVRect() );
211 pOut->SetFillColor( aOldFillColor );
212 pOut->SetLineColor( aOldColor );
213}
214
216{
217 assert(pOut && "no Outdev");
218 return sal_uInt16(pOut->GetTextWidth(" "));
219}
220
221void SwViewOption::PaintPostIts( OutputDevice *pOut, const SwRect &rRect, bool bIsScript ) const
222{
223 if( !(pOut && bIsScript) )
224 return;
225
226 Color aOldLineColor( pOut->GetLineColor() );
227 pOut->SetLineColor( COL_GRAY );
228 // to make it look nice, we subtract two pixels everywhere
229 sal_uInt16 nPix = s_nPixelTwips * 2;
230 if( rRect.Width() <= 2 * nPix || rRect.Height() <= 2 * nPix )
231 nPix = 0;
232 const Point aTopLeft( rRect.Left() + nPix, rRect.Top() + nPix );
233 const Point aBotRight( rRect.Right() - nPix, rRect.Bottom() - nPix );
234 const SwRect aRect( aTopLeft, aBotRight );
236 pOut->SetLineColor( aOldLineColor );
237}
238
240 m_sThemeName( "Default" ),
241 m_sSymbolFont( "symbol" ),
242 m_aRetouchColor( COL_TRANSPARENT ),
243 mnViewLayoutColumns( 0 ),
244 m_nPagePreviewRow( 1 ),
245 m_nPagePreviewCol( 2 ),
246 m_nShadowCursorFillMode( SwFillMode::Tab ),
247 m_bReadonly(false),
248 m_bStarOneSetting(false),
249 m_bIsPagePreview(false),
250 m_bSelectionInReadonly(false),
251 mbFormView(false),
252 mbBrowseMode(false),
253 mbBookView(false),
254 mbViewLayoutBookMode(false),
255 mbHideWhitespaceMode(false),
256 m_bShowPlaceHolderFields( true ),
257 m_nZoom( 100 ),
258 m_eZoom( SvxZoomType::PERCENT ),
259 m_nTableDestination(TBL_DEST_CELL)
260{
264
270
271 if (!utl::ConfigManager::IsFuzzing() && MeasurementSystem::Metric != SvtSysLocale().GetLocaleData().getMeasurementSystemEnum())
272 {
273 m_aSnapSize.setWidth(720); // 1/2"
274 m_aSnapSize.setHeight(720); // 1/2"
275
276 }
277 else
278 {
279 m_aSnapSize.setWidth(567); // 1 cm
280 m_aSnapSize.setHeight(567); // 1 cm
281 }
283
284 m_bSelectionInReadonly = utl::ConfigManager::IsFuzzing() || SW_MOD()->GetAccessibilityOptions().IsSelectionInReadonly();
285
286 m_bIdle = true;
287
288 m_nDefaultAnchor = 1; //FLY_TO_CHAR
289
290#ifdef DBG_UTIL
291 // correspond to the statements in ui/config/cfgvw.src
294#endif
298}
299
301{
302 m_bReadonly = false;
304 // #114856# Form view
306 mbFormView = rVOpt.mbFormView;
307 m_nZoom = rVOpt.m_nZoom ;
308 m_aSnapSize = rVOpt.m_aSnapSize ;
310 m_nDivisionX = rVOpt.m_nDivisionX ;
311 m_nDivisionY = rVOpt.m_nDivisionY ;
315 m_eZoom = rVOpt.m_eZoom ;
317 m_nUIOptions = rVOpt.m_nUIOptions ;
324 mbBookView = rVOpt.mbBookView;
329 m_bIdle = rVOpt.m_bIdle;
332
333#ifdef DBG_UTIL
334 m_bTest1 = rVOpt.m_bTest1;
335 m_bTest2 = rVOpt.m_bTest2;
336 m_bTest3 = rVOpt.m_bTest3;
337 m_bTest4 = rVOpt.m_bTest4;
338 m_bTest5 = rVOpt.m_bTest5;
339 m_bTest6 = rVOpt.m_bTest6;
340 m_bTest7 = rVOpt.m_bTest7;
341 m_bTest8 = rVOpt.m_bTest8;
342 m_bTest10 = rVOpt.m_bTest10;
343#endif
344}
345
347{
348 // #114856# Form view
350 mbFormView = rVOpt.mbFormView ;
351 m_nZoom = rVOpt.m_nZoom ;
352 m_aSnapSize = rVOpt.m_aSnapSize ;
354 m_nDivisionX = rVOpt.m_nDivisionX ;
355 m_nDivisionY = rVOpt.m_nDivisionY ;
359 m_eZoom = rVOpt.m_eZoom ;
361 m_nUIOptions = rVOpt.m_nUIOptions ;
368 mbBookView = rVOpt.mbBookView;
373 m_bIdle = rVOpt.m_bIdle;
376
377#ifdef DBG_UTIL
378 m_bTest1 = rVOpt.m_bTest1;
379 m_bTest2 = rVOpt.m_bTest2;
380 m_bTest3 = rVOpt.m_bTest3;
381 m_bTest4 = rVOpt.m_bTest4;
382 m_bTest5 = rVOpt.m_bTest5;
383 m_bTest6 = rVOpt.m_bTest6;
384 m_bTest7 = rVOpt.m_bTest7;
385 m_bTest8 = rVOpt.m_bTest8;
386 m_bTest10 = rVOpt.m_bTest10;
387#endif
388 return *this;
389}
390
392{
393}
394
396{
397 if( !s_nPixelTwips && pWin )
398 {
399 s_nPixelTwips = o3tl::narrowing<sal_uInt16>(pWin->PixelToLogic( Size(1,1) ).Height());
400 }
401}
402
404{
406 return rFlags.bAutoCmpltCollectWords;
407}
408
410 m_nItemId (SID_ATTR_CHAR_UNDERLINE),
411 m_nAttr (LINESTYLE_SINGLE),
412 m_nColor (COL_TRANSPARENT)
413{
414}
415
416sal_uInt16 GetHtmlMode(const SwDocShell* pShell)
417{
418 sal_uInt16 nRet = 0;
419 if(!pShell || dynamic_cast<const SwWebDocShell*>( pShell) )
420 {
423 {
424 case HTML_CFG_MSIE:
425 nRet |= HTMLMODE_FULL_STYLES;
426 break;
427 case HTML_CFG_NS40:
428 // no special features for this browser
429 break;
430 case HTML_CFG_WRITER:
431 nRet |= HTMLMODE_FULL_STYLES;
432 break;
433 }
434 }
435 return nRet;
436}
437
439{
440 switch ( m_nDefaultAnchor )
441 {
442 case 0:
443 return RndStdIds::FLY_AT_PARA; //0
444 case 1:
445 return RndStdIds::FLY_AT_CHAR; //4
446 case 2:
447 return RndStdIds::FLY_AS_CHAR; //1
448 default:
449 return RndStdIds::FLY_AT_CHAR; //4
450 }//switch
451}
452
454{
456}
457
459{
461}
462
464{
466}
467
469{
471}
472
474{
476}
477
479{
481}
482
484{
486}
487
489{
491}
492
494{
496}
497
499{
501}
502
504{
506}
507
509{
511}
512
514{
516}
517
519{
521}
522
524{
526}
527
529{
531}
532
534{
536}
537
539{
541}
542
544{
546}
547
548void SwViewOption::SetAppearanceFlag(ViewOptFlags nFlag, bool bSet, bool bSaveInConfig )
549{
550 if(bSet)
552 else
554 if(!bSaveInConfig)
555 return;
556
557 //create an editable svtools::ColorConfig and store the change
558 svtools::EditableColorConfig aEditableConfig;
559 struct FlagToConfig_Impl
560 {
561 ViewOptFlags nFlag;
563 };
564 static const FlagToConfig_Impl aFlags[] =
565 {
576 };
577 sal_uInt16 nPos = 0;
578 while(aFlags[nPos].nFlag != ViewOptFlags::NONE)
579 {
580 if(nFlag & aFlags[nPos].nFlag)
581 {
582 svtools::ColorConfigValue aValue = aEditableConfig.GetColorValue(aFlags[nPos].eEntry);
583 aValue.bIsVisible = bSet;
584 aEditableConfig.SetColorValue(aFlags[nPos].eEntry, aValue);
585 }
586 nPos++;
587 }
588}
589
591{
592 return bool(m_aColorConfig.m_nAppearanceFlags & nFlag);
593}
594
595namespace{
596rtl::Reference<comphelper::ConfigurationListener> const & getWCOptionListener()
597{
598 static rtl::Reference<comphelper::ConfigurationListener> xListener(new comphelper::ConfigurationListener("/org.openoffice.Office.Writer/Cursor/Option"));
599 return xListener;
600}
601}
602
604{
606 return false;
607 static comphelper::ConfigurationListenerProperty<bool> gIgnoreProtectedArea(getWCOptionListener(), "IgnoreProtectedArea");
608 return gIgnoreProtectedArea.get();
609}
610
612{
613 SfxViewShell* pCurrentShell = SfxViewShell::Current();
614 SwView* pView = dynamic_cast<SwView*>(pCurrentShell);
615 if(pView)
616 {
617 return *pView->GetWrtShell().GetViewOptions();
618 }
619
620 // Some unit tests don't have a SfxViewShell, so we need to return something
621 static SwViewOption aDefaultViewOptions;
622 return aDefaultViewOptions;
623}
624
625/* 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)
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:255
const Color & GetDocBoundariesColor() const
Definition: viewopt.cxx:458
const Color & GetShadowColor() const
Definition: viewopt.cxx:518
bool m_bTest6
Definition: viewopt.hxx:293
static bool IsIgnoreProtectedArea()
Definition: viewopt.cxx:603
const Color & GetVisitedLinksColor() const
Definition: viewopt.cxx:488
bool m_bIsPagePreview
Definition: viewopt.hxx:269
const Color & GetFontColor() const
Definition: viewopt.cxx:523
const Color & GetIndexShadingsColor() const
Definition: viewopt.cxx:478
sal_uInt8 m_nPagePreviewCol
Definition: viewopt.hxx:265
bool IsTest3() const
Definition: viewopt.hxx:662
bool m_bTest4
Definition: viewopt.hxx:291
OUString m_sThemeName
Definition: viewopt.hxx:251
static bool IsAutoCompleteWords()
Definition: viewopt.cxx:403
bool mbBookView
Definition: viewopt.hxx:273
SwFillMode m_nShadowCursorFillMode
Definition: viewopt.hxx:266
sal_uInt16 m_nZoom
Definition: viewopt.hxx:281
const Color & GetHeaderFooterMarkColor() const
Definition: viewopt.cxx:543
const Color & GetAppBackgroundColor() const
Definition: viewopt.cxx:468
bool m_bTest3
Definition: viewopt.hxx:290
bool IsShowOutlineContentVisibilityButton() const
Definition: viewopt.cxx:178
bool mbFormView
Definition: viewopt.hxx:271
const Color & GetTextGridColor() const
Definition: viewopt.cxx:498
SwViewOption & operator=(const SwViewOption &rOpt)
Definition: viewopt.cxx:346
short GetDivisionY() const
Definition: viewopt.hxx:612
static const SwViewOption & GetCurrentViewOptions()
Definition: viewopt.cxx:611
ViewOptCoreFlags2 m_nCore2Options
Definition: viewopt.hxx:257
const Color & GetSpellColor() const
Definition: viewopt.cxx:503
bool m_bReadonly
Definition: viewopt.hxx:267
static void Init(const OutputDevice *pWin)
Definition: viewopt.cxx:395
sal_uInt8 m_nPagePreviewRow
Definition: viewopt.hxx:264
sal_uInt16 mnViewLayoutColumns
Definition: viewopt.hxx:261
sal_uInt8 GetPagePrevCol() const
Definition: viewopt.hxx:627
ViewOptFlags2 m_nUIOptions
Definition: viewopt.hxx:258
sal_Int32 m_nDefaultAnchor
Definition: viewopt.hxx:278
RndStdIds GetDefaultAnchorType() const
Definition: viewopt.cxx:438
const Color & GetRetoucheColor() const
Definition: viewopt.hxx:744
bool IsTest7() const
Definition: viewopt.hxx:666
const Color & GetDocColor() const
Definition: viewopt.cxx:453
bool IsTreatSubOutlineLevelsAsContent() const
Definition: viewopt.cxx:183
sal_uInt8 GetPagePrevRow() const
Definition: viewopt.hxx:625
bool m_bTest7
Definition: viewopt.hxx:294
static SwViewColors s_aInitialColorConfig
Definition: viewopt.hxx:250
bool m_bShowPlaceHolderFields
Definition: viewopt.hxx:276
bool mbHideWhitespaceMode
Definition: viewopt.hxx:275
bool m_bTest10
Definition: viewopt.hxx:296
bool IsTest8() const
Definition: viewopt.hxx:667
const Color & GetTableBoundariesColor() const
Definition: viewopt.cxx:473
bool m_bTest8
Definition: viewopt.hxx:295
SvxZoomType m_eZoom
Definition: viewopt.hxx:282
const Color & GetPageBreakColor() const
Definition: viewopt.cxx:538
ViewOptFlags1 m_nCoreOptions
Definition: viewopt.hxx:256
bool m_bTest1
Definition: viewopt.hxx:288
short m_nDivisionY
Definition: viewopt.hxx:263
bool mbBrowseMode
Definition: viewopt.hxx:272
bool getBrowseMode() const
Definition: viewopt.hxx:638
const Color & GetGrammarColor() const
Definition: viewopt.cxx:508
short m_nDivisionX
Definition: viewopt.hxx:262
const Color & GetLinksColor() const
Definition: viewopt.cxx:483
bool m_bIdle
Definition: viewopt.hxx:277
bool m_bStarOneSetting
Definition: viewopt.hxx:268
bool IsTest5() const
Definition: viewopt.hxx:664
bool IsAppearanceFlag(ViewOptFlags nFlag) const
Definition: viewopt.cxx:590
bool IsTest1() const
Definition: viewopt.hxx:660
static void DrawRectPrinter(OutputDevice *pOut, const SwRect &rRect)
Definition: viewopt.cxx:203
static void DrawRect(OutputDevice *pOut, const SwRect &rRect, ::Color nCol)
Definition: viewopt.cxx:188
sal_uInt8 m_nTableDestination
Definition: viewopt.hxx:284
const Color & GetObjectBoundariesColor() const
Definition: viewopt.cxx:463
Size m_aSnapSize
Definition: viewopt.hxx:260
bool IsTest10() const
Definition: viewopt.hxx:668
void PaintPostIts(OutputDevice *pOut, const SwRect &rRect, bool bIsScript) const
Definition: viewopt.cxx:221
SwViewColors m_aColorConfig
Definition: viewopt.hxx:249
bool m_bTest5
Definition: viewopt.hxx:292
Color m_aRetouchColor
Definition: viewopt.hxx:259
bool IsEqualFlags(const SwViewOption &rOpt) const
Definition: viewopt.cxx:145
const Color & GetFieldShadingsColor() const
Definition: viewopt.cxx:528
bool IsFormView() const
Definition: viewopt.hxx:635
static sal_uInt16 GetPostItsWidth(const OutputDevice *pOut)
Definition: viewopt.cxx:215
short GetDivisionX() const
Definition: viewopt.hxx:610
bool IsTest4() const
Definition: viewopt.hxx:663
bool m_bSelectionInReadonly
Definition: viewopt.hxx:270
bool m_bTest2
Definition: viewopt.hxx:289
const Color & GetSmarttagColor() const
Definition: viewopt.cxx:513
const Color & GetSectionBoundColor() const
Definition: viewopt.cxx:533
void SetAppearanceFlag(ViewOptFlags nFlag, bool bSet, bool bSaveInConfig=false)
Definition: viewopt.cxx:548
const Color & GetDirectCursorColor() const
Definition: viewopt.cxx:493
static sal_uInt16 s_nPixelTwips
Definition: viewopt.hxx:253
bool IsTest6() const
Definition: viewopt.hxx:665
bool IsTest2() const
Definition: viewopt.hxx:661
bool mbViewLayoutBookMode
Definition: viewopt.hxx:274
const SwViewOption * GetViewOptions() const
Definition: viewsh.hxx:451
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()
WRITERDIRECTCURSOR
WRITERFIELDSHADINGS
WRITERSCRIPTINDICATOR
ColorConfigEntryCount
WRITERHEADERFOOTERMARK
WRITERSECTIONBOUNDARIES
const LocaleDataWrapper & GetLocaleData()
OUTDEV_PRINTER
ViewOptFlags m_nAppearanceFlags
Definition: viewopt.hxx:244
Color m_aScriptIndicatorColor
Definition: viewopt.hxx:241
Color m_aFieldShadingsColor
Definition: viewopt.hxx:238
Color m_aPageBreakColor
Definition: viewopt.hxx:240
Color m_aDocBoundColor
Definition: viewopt.hxx:225
Color m_aSectionBoundColor
Definition: viewopt.hxx:239
Color m_aIndexShadingsColor
Definition: viewopt.hxx:230
Color m_aLinksColor
Definition: viewopt.hxx:231
Color m_aVisitedLinksColor
Definition: viewopt.hxx:232
Color m_aTextGridColor
Definition: viewopt.hxx:234
Color m_aGrammarColor
Definition: viewopt.hxx:236
Color m_aDirectCursorColor
Definition: viewopt.hxx:233
Color m_aFontColor
Definition: viewopt.hxx:229
Color m_aSpellColor
Definition: viewopt.hxx:235
Color m_aShadowColor
Definition: viewopt.hxx:242
Color m_aSmarttagColor
Definition: viewopt.hxx:237
Color m_aHeaderFooterMarkColor
Definition: viewopt.hxx:243
Color m_aTableBoundColor
Definition: viewopt.hxx:228
Color m_aDocColor
Definition: viewopt.hxx:224
Color m_aAppBackgroundColor
Definition: viewopt.hxx:227
Color m_aObjectBoundColor
Definition: viewopt.hxx:226
bool bTreatSubOutlineLevelsAsContent
Definition: viewopt.hxx:64
bool bShowOutlineContentVisibilityButton
Definition: viewopt.hxx:68
RndStdIds
#define SW_MOD()
Definition: swmodule.hxx:256
constexpr OUStringLiteral PERCENT(u"Percent")
sal_uInt16 GetHtmlMode(const SwDocShell *pShell)
Definition: viewopt.cxx:416
ViewOptFlags
Definition: viewopt.hxx:180
#define TBL_DEST_CELL
Definition: viewopt.hxx:175
oslFileHandle & pOut
SvxZoomType