LibreOffice Module editeng (master)
1
editeng
source
misc
swafopt.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 <
editeng/swafopt.hxx
>
21
#include <
tools/gen.hxx
>
22
#include <
vcl/keycodes.hxx
>
23
24
SvxSwAutoFormatFlags::SvxSwAutoFormatFlags
()
25
: aBulletFont(
"OpenSymbol"
,
Size
( 0, 14 ) )
26
{
27
bAutoCorrect
=
28
bCapitalStartSentence
=
29
bCapitalStartWord
=
30
bChgEnumNum
=
31
bAddNonBrkSpace
=
32
bChgOrdinalNumber
=
33
bTransliterateRTL
=
34
bChgAngleQuotes
=
35
bChgToEnEmDash
=
36
bChgWeightUnderl
=
37
bSetINetAttr
=
38
bSetDOIAttr
=
39
bAFormatDelSpacesAtSttEnd
=
40
bAFormatDelSpacesBetweenLines
=
41
bAFormatByInpDelSpacesAtSttEnd
=
42
bAFormatByInpDelSpacesBetweenLines
=
true
;
43
44
bChgUserColl
=
45
bReplaceStyles
=
46
bDelEmptyNode
=
47
bWithRedlining
=
48
bAutoCmpltEndless
=
49
bAutoCmpltAppendBlank
=
false
;
50
51
bAutoCmpltShowAsTip
=
52
bSetBorder
=
53
bCreateTable
=
54
bSetNumRule
=
55
bAFormatByInput
=
56
bRightMargin
=
57
bAutoCompleteWords
=
58
bAutoCmpltCollectWords
=
59
bAutoCmpltKeepList
=
true
;
60
61
nRightMargin
= 50;
// default 50%
62
nAutoCmpltExpandKey
=
KEY_RETURN
;
63
64
aBulletFont
.
SetCharSet
( RTL_TEXTENCODING_SYMBOL );
65
aBulletFont
.
SetFamily
(
FAMILY_DONTKNOW
);
66
aBulletFont
.
SetPitch
(
PITCH_DONTKNOW
);
67
aBulletFont
.
SetWeight
(
WEIGHT_DONTKNOW
);
68
aBulletFont
.
SetTransparent
(
true
);
69
70
cBullet
= 0x2022;
71
cByInputBullet
=
cBullet
;
72
aByInputBulletFont
=
aBulletFont
;
73
74
nAutoCmpltWordLen
= 8;
75
nAutoCmpltListLen
= 1000;
76
m_pAutoCompleteList
=
nullptr
;
77
pSmartTagMgr
=
nullptr
;
78
}
79
80
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Size
vcl::Font::SetPitch
void SetPitch(FontPitch ePitch)
vcl::Font::SetTransparent
void SetTransparent(bool bTransparent)
vcl::Font::SetWeight
void SetWeight(FontWeight)
vcl::Font::SetFamily
void SetFamily(FontFamily)
vcl::Font::SetCharSet
void SetCharSet(rtl_TextEncoding)
PITCH_DONTKNOW
PITCH_DONTKNOW
FAMILY_DONTKNOW
FAMILY_DONTKNOW
WEIGHT_DONTKNOW
WEIGHT_DONTKNOW
gen.hxx
keycodes.hxx
KEY_RETURN
constexpr sal_uInt16 KEY_RETURN
SvxSwAutoFormatFlags::aBulletFont
vcl::Font aBulletFont
Definition:
swafopt.hxx:80
SvxSwAutoFormatFlags::bChgUserColl
bool bChgUserColl
Definition:
swafopt.hxx:99
SvxSwAutoFormatFlags::bChgEnumNum
bool bChgEnumNum
Definition:
swafopt.hxx:100
SvxSwAutoFormatFlags::bAutoCompleteWords
bool bAutoCompleteWords
Definition:
swafopt.hxx:123
SvxSwAutoFormatFlags::bAFormatDelSpacesBetweenLines
bool bAFormatDelSpacesBetweenLines
Definition:
swafopt.hxx:131
SvxSwAutoFormatFlags::bRightMargin
bool bRightMargin
Definition:
swafopt.hxx:121
SvxSwAutoFormatFlags::bReplaceStyles
bool bReplaceStyles
Definition:
swafopt.hxx:117
SvxSwAutoFormatFlags::bCapitalStartSentence
bool bCapitalStartSentence
Definition:
swafopt.hxx:96
SvxSwAutoFormatFlags::bAddNonBrkSpace
bool bAddNonBrkSpace
Definition:
swafopt.hxx:108
SvxSwAutoFormatFlags::bChgToEnEmDash
bool bChgToEnEmDash
Definition:
swafopt.hxx:107
SvxSwAutoFormatFlags::bSetDOIAttr
bool bSetDOIAttr
Definition:
swafopt.hxx:113
SvxSwAutoFormatFlags::nAutoCmpltListLen
sal_uInt32 nAutoCmpltListLen
Definition:
swafopt.hxx:89
SvxSwAutoFormatFlags::cByInputBullet
sal_UCS4 cByInputBullet
Definition:
swafopt.hxx:87
SvxSwAutoFormatFlags::bAutoCorrect
bool bAutoCorrect
Definition:
swafopt.hxx:95
SvxSwAutoFormatFlags::aByInputBulletFont
vcl::Font aByInputBulletFont
Definition:
swafopt.hxx:81
SvxSwAutoFormatFlags::bChgOrdinalNumber
bool bChgOrdinalNumber
Definition:
swafopt.hxx:106
SvxSwAutoFormatFlags::bTransliterateRTL
bool bTransliterateRTL
Definition:
swafopt.hxx:109
SvxSwAutoFormatFlags::bAFormatDelSpacesAtSttEnd
bool bAFormatDelSpacesAtSttEnd
Definition:
swafopt.hxx:130
SvxSwAutoFormatFlags::bCreateTable
bool bCreateTable
Definition:
swafopt.hxx:116
SvxSwAutoFormatFlags::nRightMargin
sal_uInt8 nRightMargin
Definition:
swafopt.hxx:93
SvxSwAutoFormatFlags::nAutoCmpltWordLen
sal_uInt16 nAutoCmpltWordLen
Definition:
swafopt.hxx:90
SvxSwAutoFormatFlags::bAutoCmpltCollectWords
bool bAutoCmpltCollectWords
Definition:
swafopt.hxx:124
SvxSwAutoFormatFlags::SvxSwAutoFormatFlags
SvxSwAutoFormatFlags()
Definition:
swafopt.cxx:24
SvxSwAutoFormatFlags::bDelEmptyNode
bool bDelEmptyNode
Definition:
swafopt.hxx:103
SvxSwAutoFormatFlags::bSetBorder
bool bSetBorder
Definition:
swafopt.hxx:115
SvxSwAutoFormatFlags::bChgWeightUnderl
bool bChgWeightUnderl
Definition:
swafopt.hxx:111
SvxSwAutoFormatFlags::cBullet
sal_UCS4 cBullet
Definition:
swafopt.hxx:86
SvxSwAutoFormatFlags::bAFormatByInpDelSpacesBetweenLines
bool bAFormatByInpDelSpacesBetweenLines
Definition:
swafopt.hxx:133
SvxSwAutoFormatFlags::bChgAngleQuotes
bool bChgAngleQuotes
Definition:
swafopt.hxx:110
SvxSwAutoFormatFlags::bAutoCmpltKeepList
bool bAutoCmpltKeepList
Definition:
swafopt.hxx:135
SvxSwAutoFormatFlags::bAutoCmpltAppendBlank
bool bAutoCmpltAppendBlank
Definition:
swafopt.hxx:127
SvxSwAutoFormatFlags::nAutoCmpltExpandKey
sal_uInt16 nAutoCmpltExpandKey
Definition:
swafopt.hxx:91
SvxSwAutoFormatFlags::bAutoCmpltShowAsTip
bool bAutoCmpltShowAsTip
Definition:
swafopt.hxx:128
SvxSwAutoFormatFlags::bAFormatByInput
bool bAFormatByInput
Definition:
swafopt.hxx:102
SvxSwAutoFormatFlags::pSmartTagMgr
SmartTagMgr * pSmartTagMgr
Definition:
swafopt.hxx:84
SvxSwAutoFormatFlags::bWithRedlining
bool bWithRedlining
Definition:
swafopt.hxx:119
SvxSwAutoFormatFlags::bAutoCmpltEndless
bool bAutoCmpltEndless
Definition:
swafopt.hxx:125
SvxSwAutoFormatFlags::bSetNumRule
bool bSetNumRule
Definition:
swafopt.hxx:104
SvxSwAutoFormatFlags::bCapitalStartWord
bool bCapitalStartWord
Definition:
swafopt.hxx:97
SvxSwAutoFormatFlags::bAFormatByInpDelSpacesAtSttEnd
bool bAFormatByInpDelSpacesAtSttEnd
Definition:
swafopt.hxx:132
SvxSwAutoFormatFlags::bSetINetAttr
bool bSetINetAttr
Definition:
swafopt.hxx:112
SvxSwAutoFormatFlags::m_pAutoCompleteList
const editeng::SortedAutoCompleteStrings * m_pAutoCompleteList
only valid inside the Dialog!!!
Definition:
swafopt.hxx:83
swafopt.hxx
Generated on Sun Jul 30 2023 04:33:54 for LibreOffice Module editeng (master) by
1.9.3