Coverage Report

Created: 2025-12-31 10:39

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/libreoffice/editeng/source/misc/swafopt.cxx
Line
Count
Source
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 <editeng/swafopt.hxx>
21
#include <tools/gen.hxx>
22
#include <vcl/keycodes.hxx>
23
24
SvxSwAutoFormatFlags::SvxSwAutoFormatFlags()
25
0
    : aBulletFont( u"OpenSymbol"_ustr, Size( 0, 14 ) )
26
0
{
27
0
    bAutoCorrect =
28
0
    bCapitalStartSentence =
29
0
    bCapitalStartWord =
30
0
    bChgEnumNum =
31
0
    bAddNonBrkSpace =
32
0
    bChgOrdinalNumber =
33
0
    bTransliterateRTL =
34
0
    bChgAngleQuotes =
35
0
    bChgToEnEmDash =
36
0
    bChgWeightUnderl =
37
0
    bSetINetAttr =
38
0
    bSetDOIAttr =
39
0
    bAFormatDelSpacesAtSttEnd =
40
0
    bAFormatDelSpacesBetweenLines =
41
0
    bAFormatByInpDelSpacesAtSttEnd =
42
0
    bAFormatByInpDelSpacesBetweenLines = true;
43
44
0
    bChgUserColl =
45
0
    bReplaceStyles =
46
0
    bReplaceStylesByInput =
47
0
    bDelEmptyNode =
48
0
    bWithRedlining =
49
0
    bAutoCmpltEndless =
50
0
    bSetNumRuleAfterSpace =
51
0
    bAutoCmpltAppendBlank = false;
52
53
0
    bAutoCmpltShowAsTip =
54
0
    bSetBorder =
55
0
    bCreateTable =
56
0
    bSetNumRule =
57
0
    bAFormatByInput =
58
0
    bRightMargin =
59
0
    bAutoCompleteWords =
60
0
    bAutoCmpltCollectWords =
61
0
    bAutoCmpltKeepList = true;
62
63
0
    nRightMargin = 50;      // default 50%
64
0
    nAutoCmpltExpandKey = KEY_RETURN;
65
66
0
    aBulletFont.SetCharSet( RTL_TEXTENCODING_SYMBOL );
67
0
    aBulletFont.SetFamily( FAMILY_DONTKNOW );
68
0
    aBulletFont.SetPitch( PITCH_DONTKNOW );
69
0
    aBulletFont.SetWeight( WEIGHT_DONTKNOW );
70
0
    aBulletFont.SetTransparent( true );
71
72
0
    cBullet = 0x2022;
73
0
    cByInputBullet = cBullet;
74
0
    aByInputBulletFont = aBulletFont;
75
76
0
    nAutoCmpltWordLen = 8;
77
0
    nAutoCmpltListLen = 1000;
78
0
    m_pAutoCompleteList = nullptr;
79
0
    pSmartTagMgr = nullptr;
80
0
}
81
82
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */