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
eded5821
Kaydet (Commit)
eded5821
authored
May 23, 2018
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sw: prefix members of SwScriptInfo
Change-Id: I1272d53d602052b09101bed8cf0fb4a19fecf52d
üst
e9d95865
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
37 additions
and
37 deletions
+37
-37
scriptinfo.hxx
sw/source/core/inc/scriptinfo.hxx
+37
-37
porlay.cxx
sw/source/core/text/porlay.cxx
+0
-0
No files found.
sw/source/core/inc/scriptinfo.hxx
Dosyayı görüntüle @
eded5821
...
...
@@ -50,7 +50,7 @@ private:
};
//TODO - This is sorted, so should probably be a std::set rather than vector.
// But we also use random access (probably unnecessarily).
std
::
vector
<
ScriptChangeInfo
>
a
ScriptChanges
;
std
::
vector
<
ScriptChangeInfo
>
m_
ScriptChanges
;
//! Records a single change in direction.
struct
DirectionChangeInfo
{
...
...
@@ -58,12 +58,12 @@ private:
sal_uInt8
type
;
//!< Direction that we change to.
DirectionChangeInfo
(
sal_Int32
pos
,
sal_uInt8
typ
)
:
position
(
pos
),
type
(
typ
)
{};
};
std
::
vector
<
DirectionChangeInfo
>
a
DirectionChanges
;
std
::
deque
<
sal_Int32
>
a
Kashida
;
std
::
deque
<
sal_Int32
>
a
KashidaInvalid
;
std
::
deque
<
sal_Int32
>
a
NoKashidaLine
;
std
::
deque
<
sal_Int32
>
a
NoKashidaLineEnd
;
std
::
deque
<
sal_Int32
>
a
HiddenChg
;
std
::
vector
<
DirectionChangeInfo
>
m_
DirectionChanges
;
std
::
deque
<
sal_Int32
>
m_
Kashida
;
std
::
deque
<
sal_Int32
>
m_
KashidaInvalid
;
std
::
deque
<
sal_Int32
>
m_
NoKashidaLine
;
std
::
deque
<
sal_Int32
>
m_
NoKashidaLineEnd
;
std
::
deque
<
sal_Int32
>
m_
HiddenChg
;
//! Records a single change in compression.
struct
CompressionChangeInfo
{
...
...
@@ -72,13 +72,13 @@ private:
CompType
type
;
//!< Type of compression that we change to.
CompressionChangeInfo
(
sal_Int32
pos
,
sal_Int32
len
,
CompType
typ
)
:
position
(
pos
),
length
(
len
),
type
(
typ
)
{};
};
std
::
vector
<
CompressionChangeInfo
>
a
CompressionChanges
;
std
::
vector
<
CompressionChangeInfo
>
m_
CompressionChanges
;
#ifdef DBG_UTIL
CompType
DbgCompType
(
const
sal_Int32
nPos
)
const
;
#endif
sal_Int32
nInvalidityPos
;
sal_uInt8
nDefaultDir
;
sal_Int32
m_
nInvalidityPos
;
sal_uInt8
m_
nDefaultDir
;
void
UpdateBidiInfo
(
const
OUString
&
rText
);
...
...
@@ -103,75 +103,75 @@ public:
// set/get position from which data is invalid
void
SetInvalidityA
(
const
sal_Int32
nPos
)
{
if
(
nPos
<
nInvalidityPos
)
nInvalidityPos
=
nPos
;
if
(
nPos
<
m_
nInvalidityPos
)
m_
nInvalidityPos
=
nPos
;
}
sal_Int32
GetInvalidityA
()
const
{
return
nInvalidityPos
;
return
m_
nInvalidityPos
;
}
// get default direction for paragraph
sal_uInt8
GetDefaultDir
()
const
{
return
nDefaultDir
;
};
sal_uInt8
GetDefaultDir
()
const
{
return
m_
nDefaultDir
;
};
// array operations, nCnt refers to array position
size_t
CountScriptChg
()
const
{
return
a
ScriptChanges
.
size
();
}
size_t
CountScriptChg
()
const
{
return
m_
ScriptChanges
.
size
();
}
sal_Int32
GetScriptChg
(
const
size_t
nCnt
)
const
{
OSL_ENSURE
(
nCnt
<
aScriptChanges
.
size
(),
"No ScriptChange today!"
);
return
a
ScriptChanges
[
nCnt
].
position
;
assert
(
nCnt
<
m_ScriptChanges
.
size
()
);
return
m_
ScriptChanges
[
nCnt
].
position
;
}
sal_uInt8
GetScriptType
(
const
size_t
nCnt
)
const
{
OSL_ENSURE
(
nCnt
<
aScriptChanges
.
size
(),
"No ScriptType today!"
);
return
a
ScriptChanges
[
nCnt
].
type
;
assert
(
nCnt
<
m_ScriptChanges
.
size
()
);
return
m_
ScriptChanges
[
nCnt
].
type
;
}
size_t
CountDirChg
()
const
{
return
a
DirectionChanges
.
size
();
}
size_t
CountDirChg
()
const
{
return
m_
DirectionChanges
.
size
();
}
sal_Int32
GetDirChg
(
const
size_t
nCnt
)
const
{
OSL_ENSURE
(
nCnt
<
aDirectionChanges
.
size
(),
"No DirChange today!"
);
return
a
DirectionChanges
[
nCnt
].
position
;
assert
(
nCnt
<
m_DirectionChanges
.
size
()
);
return
m_
DirectionChanges
[
nCnt
].
position
;
}
sal_uInt8
GetDirType
(
const
size_t
nCnt
)
const
{
OSL_ENSURE
(
nCnt
<
aDirectionChanges
.
size
(),
"No DirType today!"
);
return
a
DirectionChanges
[
nCnt
].
type
;
assert
(
nCnt
<
m_DirectionChanges
.
size
()
);
return
m_
DirectionChanges
[
nCnt
].
type
;
}
size_t
CountKashida
()
const
{
return
a
Kashida
.
size
();
return
m_
Kashida
.
size
();
}
sal_Int32
GetKashida
(
const
size_t
nCnt
)
const
{
OSL_ENSURE
(
nCnt
<
aKashida
.
size
(),
"No Kashidas today!"
);
return
a
Kashida
[
nCnt
];
assert
(
nCnt
<
m_Kashida
.
size
()
);
return
m_
Kashida
[
nCnt
];
}
size_t
CountCompChg
()
const
{
return
a
CompressionChanges
.
size
();
};
size_t
CountCompChg
()
const
{
return
m_
CompressionChanges
.
size
();
};
sal_Int32
GetCompStart
(
const
size_t
nCnt
)
const
{
OSL_ENSURE
(
nCnt
<
aCompressionChanges
.
size
(),
"No CompressionStart today!"
);
return
a
CompressionChanges
[
nCnt
].
position
;
assert
(
nCnt
<
m_CompressionChanges
.
size
()
);
return
m_
CompressionChanges
[
nCnt
].
position
;
}
sal_Int32
GetCompLen
(
const
size_t
nCnt
)
const
{
OSL_ENSURE
(
nCnt
<
aCompressionChanges
.
size
(),
"No CompressionLen today!"
);
return
a
CompressionChanges
[
nCnt
].
length
;
assert
(
nCnt
<
m_CompressionChanges
.
size
()
);
return
m_
CompressionChanges
[
nCnt
].
length
;
}
CompType
GetCompType
(
const
size_t
nCnt
)
const
{
OSL_ENSURE
(
nCnt
<
aCompressionChanges
.
size
(),
"No CompressionType today!"
);
return
a
CompressionChanges
[
nCnt
].
type
;
assert
(
nCnt
<
m_CompressionChanges
.
size
()
);
return
m_
CompressionChanges
[
nCnt
].
type
;
}
size_t
CountHiddenChg
()
const
{
return
a
HiddenChg
.
size
();
};
size_t
CountHiddenChg
()
const
{
return
m_
HiddenChg
.
size
();
};
sal_Int32
GetHiddenChg
(
const
size_t
nCnt
)
const
{
OSL_ENSURE
(
nCnt
<
aHiddenChg
.
size
(),
"No HiddenChg today!"
);
return
a
HiddenChg
[
nCnt
];
assert
(
nCnt
<
m_HiddenChg
.
size
()
);
return
m_
HiddenChg
[
nCnt
];
}
static
void
CalcHiddenRanges
(
const
SwTextNode
&
rNode
,
MultiSelection
&
rHiddenMulti
);
static
void
selectHiddenTextProperty
(
const
SwTextNode
&
rNode
,
MultiSelection
&
rHiddenMulti
);
...
...
sw/source/core/text/porlay.cxx
Dosyayı görüntüle @
eded5821
This diff is collapsed.
Click to expand it.
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