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
9f1c57b4
Kaydet (Commit)
9f1c57b4
authored
Nis 03, 2012
tarafından
Kohei Yoshida
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Bool-ness.
üst
659c008f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
14 deletions
+14
-14
editdoc.cxx
editeng/source/editeng/editdoc.cxx
+6
-6
editdoc.hxx
editeng/source/editeng/editdoc.hxx
+8
-8
No files found.
editeng/source/editeng/editdoc.cxx
Dosyayı görüntüle @
9f1c57b4
...
...
@@ -873,7 +873,9 @@ void ConvertAndPutItems( SfxItemSet& rDest, const SfxItemSet& rSource, const Map
}
}
EditLine
::
EditLine
()
EditLine
::
EditLine
()
:
bHangingPunctuation
(
false
),
bInvalid
(
true
)
{
DBG_CTOR
(
EE_EditLine
,
0
);
...
...
@@ -887,11 +889,11 @@ EditLine::EditLine()
nTxtWidth
=
0
;
nCrsrHeight
=
0
;
nMaxAscent
=
0
;
bHangingPunctuation
=
sal_False
;
bInvalid
=
sal_True
;
}
EditLine
::
EditLine
(
const
EditLine
&
r
)
EditLine
::
EditLine
(
const
EditLine
&
r
)
:
bHangingPunctuation
(
r
.
bHangingPunctuation
),
bInvalid
(
true
)
{
DBG_CTOR
(
EE_EditLine
,
0
);
...
...
@@ -899,7 +901,6 @@ EditLine::EditLine( const EditLine& r )
nStart
=
r
.
nStart
;
nStartPortion
=
r
.
nStartPortion
;
nEndPortion
=
r
.
nEndPortion
;
bHangingPunctuation
=
r
.
bHangingPunctuation
;
nHeight
=
0
;
nStartPosX
=
0
;
...
...
@@ -907,7 +908,6 @@ EditLine::EditLine( const EditLine& r )
nTxtWidth
=
0
;
nCrsrHeight
=
0
;
nMaxAscent
=
0
;
bInvalid
=
sal_True
;
}
EditLine
::~
EditLine
()
...
...
editeng/source/editeng/editdoc.hxx
Dosyayı görüntüle @
9f1c57b4
...
...
@@ -464,8 +464,8 @@ private:
sal_uInt16
nTxtHeight
;
// Pure Text height
sal_uInt16
nCrsrHeight
;
// For contour flow high lines => cursor is large.
sal_uInt16
nMaxAscent
;
sal_Bool
bHangingPunctuation
;
sal_Bool
bInvalid
;
// for skillful formatting
bool
bHangingPunctuation
:
1
;
bool
bInvalid
:
1
;
// for skillful formatting
public
:
EditLine
();
...
...
@@ -509,8 +509,8 @@ public:
void
SetMaxAscent
(
sal_uInt16
n
)
{
nMaxAscent
=
n
;
}
sal_uInt16
GetMaxAscent
()
const
{
return
nMaxAscent
;
}
void
SetHangingPunctuation
(
sal_B
ool
b
)
{
bHangingPunctuation
=
b
;
}
sal_B
ool
IsHangingPunctuation
()
const
{
return
bHangingPunctuation
;
}
void
SetHangingPunctuation
(
b
ool
b
)
{
bHangingPunctuation
=
b
;
}
b
ool
IsHangingPunctuation
()
const
{
return
bHangingPunctuation
;
}
sal_uInt16
GetLen
()
const
{
return
nEnd
-
nStart
;
}
...
...
@@ -519,10 +519,10 @@ public:
Size
CalcTextSize
(
ParaPortion
&
rParaPortion
);
sal_B
ool
IsInvalid
()
const
{
return
bInvalid
;
}
sal_B
ool
IsValid
()
const
{
return
!
bInvalid
;
}
void
SetInvalid
()
{
bInvalid
=
sal_T
rue
;
}
void
SetValid
()
{
bInvalid
=
sal_F
alse
;
}
b
ool
IsInvalid
()
const
{
return
bInvalid
;
}
b
ool
IsValid
()
const
{
return
!
bInvalid
;
}
void
SetInvalid
()
{
bInvalid
=
t
rue
;
}
void
SetValid
()
{
bInvalid
=
f
alse
;
}
sal_Bool
IsEmpty
()
const
{
return
(
nEnd
>
nStart
)
?
sal_False
:
sal_True
;
}
...
...
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