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
259784c1
Kaydet (Commit)
259784c1
authored
Agu 13, 2015
tarafından
Matteo Casalin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sal_uInt16 to sal_Int32
Change-Id: I5b2f0e0a0c75eea14903e333eb17613d0499f458
üst
f395482b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
texteng.hxx
include/vcl/texteng.hxx
+1
-1
textdat2.hxx
vcl/source/edit/textdat2.hxx
+3
-3
texteng.cxx
vcl/source/edit/texteng.cxx
+3
-3
No files found.
include/vcl/texteng.hxx
Dosyayı görüntüle @
259784c1
...
...
@@ -202,7 +202,7 @@ protected:
long
ImpGetPortionXOffset
(
sal_uLong
nPara
,
TextLine
*
pLine
,
sal_uInt16
nTextPortion
);
long
ImpGetXPos
(
sal_uLong
nPara
,
TextLine
*
pLine
,
sal_Int32
nIndex
,
bool
bPreferPortionStart
=
false
);
long
ImpGetOutputOffset
(
sal_uLong
nPara
,
TextLine
*
pLine
,
sal_Int32
nIndex
,
sal_Int32
nIndex2
);
sal_uInt8
ImpGetRightToLeft
(
sal_uLong
nPara
,
sal_Int32
nPos
,
sal_
uInt16
*
pStart
=
NULL
,
sal_uInt16
*
pEnd
=
NULL
);
sal_uInt8
ImpGetRightToLeft
(
sal_uLong
nPara
,
sal_Int32
nPos
,
sal_
Int32
*
pStart
=
NULL
,
sal_Int32
*
pEnd
=
NULL
);
static
void
ImpInitLayoutMode
(
OutputDevice
*
pOutDev
,
bool
bDrawingR2LPortion
=
false
);
TxtAlign
ImpGetAlign
()
const
;
...
...
vcl/source/edit/textdat2.hxx
Dosyayı görüntüle @
259784c1
...
...
@@ -89,9 +89,9 @@ public:
struct
TEWritingDirectionInfo
{
sal_uInt8
nType
;
sal_
uInt16
nStartPos
;
sal_
uInt16
nEndPos
;
TEWritingDirectionInfo
(
sal_uInt8
_Type
,
sal_
uInt16
_Start
,
sal_uInt16
_End
)
sal_
Int32
nStartPos
;
sal_
Int32
nEndPos
;
TEWritingDirectionInfo
(
sal_uInt8
_Type
,
sal_
Int32
_Start
,
sal_Int32
_End
)
:
nType
{
_Type
}
,
nStartPos
{
_Start
}
,
nEndPos
{
_End
}
...
...
vcl/source/edit/texteng.cxx
Dosyayı görüntüle @
259784c1
...
...
@@ -2920,7 +2920,7 @@ void TextEngine::ImpInitWritingDirections( sal_uLong nPara )
for
(
long
nIdx
=
0
;
nIdx
<
nCount
;
++
nIdx
)
{
ubidi_getLogicalRun
(
pBidi
,
nStart
,
&
nEnd
,
&
nCurrDir
);
rInfos
.
push_back
(
TEWritingDirectionInfo
(
nCurrDir
,
(
sal_uInt16
)
nStart
,
(
sal_uInt16
)
nEnd
)
);
rInfos
.
push_back
(
TEWritingDirectionInfo
(
nCurrDir
,
nStart
,
nEnd
)
);
nStart
=
nEnd
;
}
...
...
@@ -2929,11 +2929,11 @@ void TextEngine::ImpInitWritingDirections( sal_uLong nPara )
// No infos mean no CTL and default dir is L2R...
if
(
rInfos
.
empty
()
)
rInfos
.
push_back
(
TEWritingDirectionInfo
(
0
,
0
,
(
sal_uInt16
)
pParaPortion
->
GetNode
()
->
GetText
().
getLength
()
)
);
rInfos
.
push_back
(
TEWritingDirectionInfo
(
0
,
0
,
pParaPortion
->
GetNode
()
->
GetText
().
getLength
()
)
);
}
sal_uInt8
TextEngine
::
ImpGetRightToLeft
(
sal_uLong
nPara
,
sal_Int32
nPos
,
sal_
uInt16
*
pStart
,
sal_uInt16
*
pEnd
)
sal_uInt8
TextEngine
::
ImpGetRightToLeft
(
sal_uLong
nPara
,
sal_Int32
nPos
,
sal_
Int32
*
pStart
,
sal_Int32
*
pEnd
)
{
sal_uInt8
nRightToLeft
=
0
;
...
...
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