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
37c21f3c
Kaydet (Commit)
37c21f3c
authored
Nis 23, 2018
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
SwRedlineItr: prefix members
Change-Id: If4e0dde34004766862240c10c41643c2919a6b18
üst
4b049a61
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
22 deletions
+25
-22
redlnitr.cxx
sw/source/core/text/redlnitr.cxx
+0
-0
redlnitr.hxx
sw/source/core/text/redlnitr.hxx
+25
-22
No files found.
sw/source/core/text/redlnitr.cxx
Dosyayı görüntüle @
37c21f3c
This diff is collapsed.
Click to expand it.
sw/source/core/text/redlnitr.hxx
Dosyayı görüntüle @
37c21f3c
...
...
@@ -64,17 +64,17 @@ public:
class
SwRedlineItr
{
std
::
deque
<
SwTextAttr
*>
m_Hints
;
const
SwDoc
&
rDoc
;
SwAttrHandler
&
rAttrHandler
;
std
::
unique_ptr
<
SfxItemSet
>
pSet
;
SwExtend
*
pExt
;
sal_uLong
nNdIdx
;
sal_Int32
nFirst
;
sal_Int32
nAct
;
sal_Int32
nStart
;
sal_Int32
nEnd
;
bool
bOn
;
bool
bShow
;
const
SwDoc
&
m_
rDoc
;
SwAttrHandler
&
m_
rAttrHandler
;
std
::
unique_ptr
<
SfxItemSet
>
m_
pSet
;
SwExtend
*
m_
pExt
;
sal_uLong
m_
nNdIdx
;
sal_Int32
m_
nFirst
;
sal_Int32
m_
nAct
;
sal_Int32
m_
nStart
;
sal_Int32
m_
nEnd
;
bool
m_
bOn
;
bool
m_
bShow
;
void
Clear_
(
SwFont
*
pFnt
);
bool
ChkSpecialUnderline_
()
const
;
...
...
@@ -82,11 +82,11 @@ class SwRedlineItr
short
Seek_
(
SwFont
&
rFnt
,
sal_Int32
nNew
,
sal_Int32
nOld
);
sal_Int32
GetNextRedln_
(
sal_Int32
nNext
);
short
EnterExtend
(
SwFont
&
rFnt
,
sal_Int32
nNew
)
{
if
(
pExt
)
return
pExt
->
Enter
(
rFnt
,
nNew
);
if
(
m_pExt
)
return
m_
pExt
->
Enter
(
rFnt
,
nNew
);
return
0
;
}
sal_Int32
NextExtend
(
sal_Int32
nNext
)
{
if
(
pExt
)
return
pExt
->
Next
(
nNext
);
if
(
m_pExt
)
return
m_
pExt
->
Next
(
nNext
);
return
nNext
;
}
public
:
...
...
@@ -94,31 +94,34 @@ public:
sal_Int32
nRedlPos
,
bool
bShw
,
const
std
::
vector
<
ExtTextInputAttr
>
*
pArr
=
nullptr
,
sal_Int32
nExtStart
=
COMPLETE_STRING
);
~
SwRedlineItr
()
COVERITY_NOEXCEPT_FALSE
;
bool
IsOn
()
const
{
return
bOn
||
(
pExt
&&
pExt
->
IsOn
()
);
}
void
Clear
(
SwFont
*
pFnt
)
{
if
(
bOn
)
Clear_
(
pFnt
);
}
bool
IsOn
()
const
{
return
m_bOn
||
(
m_pExt
&&
m_pExt
->
IsOn
()
);
}
void
Clear
(
SwFont
*
pFnt
)
{
if
(
m_bOn
)
Clear_
(
pFnt
);
}
void
ChangeTextAttr
(
SwFont
*
pFnt
,
SwTextAttr
const
&
rHt
,
bool
bChg
);
short
Seek
(
SwFont
&
rFnt
,
sal_Int32
nNew
,
sal_Int32
nOld
)
{
if
(
bShow
||
pExt
)
return
Seek_
(
rFnt
,
nNew
,
nOld
);
if
(
m_bShow
||
m_pExt
)
return
Seek_
(
rFnt
,
nNew
,
nOld
);
return
0
;
}
void
Reset
()
{
if
(
nAct
!=
nFirst
)
nAct
=
COMPLETE_STRING
;
if
(
pExt
)
pExt
->
Reset
();
}
void
Reset
()
{
if
(
m_nAct
!=
m_nFirst
)
m_nAct
=
COMPLETE_STRING
;
if
(
m_pExt
)
m_pExt
->
Reset
();
}
sal_Int32
GetNextRedln
(
sal_Int32
nNext
)
{
if
(
bShow
||
pExt
)
return
GetNextRedln_
(
nNext
);
if
(
m_bShow
||
m_pExt
)
return
GetNextRedln_
(
nNext
);
return
nNext
;
}
bool
ChkSpecialUnderline
()
const
{
return
IsOn
()
&&
ChkSpecialUnderline_
();
}
bool
CheckLine
(
sal_Int32
nChkStart
,
sal_Int32
nChkEnd
);
bool
LeaveExtend
(
SwFont
&
rFnt
,
sal_Int32
nNew
)
{
return
pExt
->
Leave
(
rFnt
,
nNew
);
}
{
return
m_
pExt
->
Leave
(
rFnt
,
nNew
);
}
bool
ExtOn
()
{
if
(
pExt
)
return
pExt
->
IsOn
();
if
(
m_pExt
)
return
m_
pExt
->
IsOn
();
return
false
;
}
void
UpdateExtFont
(
SwFont
&
rFnt
)
{
OSL_ENSURE
(
ExtOn
(),
"UpdateExtFont without ExtOn"
);
pExt
->
UpdateFont
(
rFnt
);
}
m_pExt
->
UpdateFont
(
rFnt
);
}
};
#endif
...
...
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