Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
11524988
Kaydet (Commit)
11524988
authored
Nis 03, 2012
tarafından
Kohei Yoshida
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Use initializer to initialize boolean's.
üst
33fadf7b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
36 deletions
+32
-36
impedit.hxx
editeng/source/editeng/impedit.hxx
+16
-17
impedit2.cxx
editeng/source/editeng/impedit2.cxx
+16
-19
No files found.
editeng/source/editeng/impedit.hxx
Dosyayı görüntüle @
11524988
...
...
@@ -473,23 +473,6 @@ private:
OnDemandLocaleDataWrapper
xLocaleDataWrapper
;
OnDemandTransliterationWrapper
xTransliterationWrapper
;
bool
bKernAsianPunctuation
:
1
;
bool
bAddExtLeading
:
1
;
bool
bIsFormatting
:
1
;
bool
bFormatted
:
1
;
bool
bInSelection
:
1
;
bool
bIsInUndo
:
1
;
bool
bUpdate
:
1
;
bool
bUndoEnabled
:
1
;
bool
bOwnerOfRefDev
:
1
;
bool
bDowning
:
1
;
bool
bUseAutoColor
:
1
;
bool
bForceAutoColor
:
1
;
bool
bCallParaInsertedOrDeleted
:
1
;
bool
bImpConvertFirstCall
:
1
;
// specifies if ImpConvert is called the very first time after Convert was called
bool
bFirstWordCapitalization
:
1
;
// specifies if auto-correction should capitalize the first word or not
bool
mbLastTryMerge
:
1
;
// For Formatting / Update ....
boost
::
ptr_vector
<
DeletedNodeInfo
>
aDeletedNodes
;
Rectangle
aInvalidRec
;
...
...
@@ -517,6 +500,22 @@ private:
rtl
::
Reference
<
SvxForbiddenCharactersTable
>
xForbiddenCharsTable
;
bool
bKernAsianPunctuation
:
1
;
bool
bAddExtLeading
:
1
;
bool
bIsFormatting
:
1
;
bool
bFormatted
:
1
;
bool
bInSelection
:
1
;
bool
bIsInUndo
:
1
;
bool
bUpdate
:
1
;
bool
bUndoEnabled
:
1
;
bool
bOwnerOfRefDev
:
1
;
bool
bDowning
:
1
;
bool
bUseAutoColor
:
1
;
bool
bForceAutoColor
:
1
;
bool
bCallParaInsertedOrDeleted
:
1
;
bool
bImpConvertFirstCall
:
1
;
// specifies if ImpConvert is called the very first time after Convert was called
bool
bFirstWordCapitalization
:
1
;
// specifies if auto-correction should capitalize the first word or not
bool
mbLastTryMerge
:
1
;
// ================================================================
// Methods...
...
...
editeng/source/editeng/impedit2.cxx
Dosyayı görüntüle @
11524988
...
...
@@ -94,7 +94,22 @@ ImpEditEngine::ImpEditEngine( EditEngine* pEE, SfxItemPool* pItemPool ) :
aMaxAutoPaperSize
(
0x7FFFFFFF
,
0x7FFFFFFF
),
aEditDoc
(
pItemPool
),
aWordDelimiters
(
RTL_CONSTASCII_USTRINGPARAM
(
" .,;:-'`'?!_=
\"
{}()[]
\0
xFF"
)
),
aGroupChars
(
RTL_CONSTASCII_USTRINGPARAM
(
"{}()[]"
)
)
aGroupChars
(
RTL_CONSTASCII_USTRINGPARAM
(
"{}()[]"
)
),
bKernAsianPunctuation
(
false
),
bAddExtLeading
(
false
),
bIsFormatting
(
false
),
bFormatted
(
false
),
bIsInUndo
(
false
),
bUpdate
(
true
),
bUndoEnabled
(
true
),
bOwnerOfRefDev
(
false
),
bDowning
(
false
),
bUseAutoColor
(
true
),
bForceAutoColor
(
false
),
bCallParaInsertedOrDeleted
(
false
),
bImpConvertFirstCall
(
false
),
bFirstWordCapitalization
(
true
),
mbLastTryMerge
(
false
)
{
pEditEngine
=
pEE
;
pRefDev
=
NULL
;
...
...
@@ -120,26 +135,10 @@ ImpEditEngine::ImpEditEngine( EditEngine* pEE, SfxItemPool* pItemPool ) :
nStretchX
=
100
;
nStretchY
=
100
;
bInSelection
=
false
;
bOwnerOfRefDev
=
false
;
bDowning
=
false
;
bIsInUndo
=
false
;
bIsFormatting
=
false
;
bFormatted
=
false
;
bUpdate
=
true
;
bUseAutoColor
=
true
;
bForceAutoColor
=
false
;
bAddExtLeading
=
false
;
bUndoEnabled
=
true
;
bCallParaInsertedOrDeleted
=
false
;
bImpConvertFirstCall
=
false
;
bFirstWordCapitalization
=
true
;
eDefLanguage
=
LANGUAGE_DONTKNOW
;
maBackgroundColor
=
COL_AUTO
;
nAsianCompressionMode
=
text
::
CharacterCompressionType
::
NONE
;
bKernAsianPunctuation
=
false
;
eDefaultHorizontalTextDirection
=
EE_HTEXTDIR_DEFAULT
;
...
...
@@ -169,8 +168,6 @@ ImpEditEngine::ImpEditEngine( EditEngine* pEE, SfxItemPool* pItemPool ) :
bCallParaInsertedOrDeleted
=
true
;
aEditDoc
.
SetModifyHdl
(
LINK
(
this
,
ImpEditEngine
,
DocModified
)
);
mbLastTryMerge
=
false
;
}
ImpEditEngine
::~
ImpEditEngine
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment