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
12490e74
Kaydet (Commit)
12490e74
authored
Mar 19, 2017
tarafından
Khaled Hosny
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
This can move out of the header as well
Change-Id: I995ad7fb040e11363a70ee2b5cd88e068f06771c
üst
550c6ed0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
11 deletions
+12
-11
CommonSalLayout.hxx
vcl/inc/CommonSalLayout.hxx
+0
-9
CommonSalLayout.cxx
vcl/source/gdi/CommonSalLayout.cxx
+12
-2
No files found.
vcl/inc/CommonSalLayout.hxx
Dosyayı görüntüle @
12490e74
...
@@ -91,14 +91,5 @@ public:
...
@@ -91,14 +91,5 @@ public:
bool
IsKashidaPosValid
(
int
nCharPos
)
const
final
override
;
bool
IsKashidaPosValid
(
int
nCharPos
)
const
final
override
;
};
};
// these must match the values in vcl/source/gdi/VerticalOrientationData.cxx
enum
class
VerticalOrientation
{
Upright
=
0
,
Rotated
=
1
,
TransformedUpright
=
2
,
TransformedRotated
=
3
};
#endif // INCLUDED_VCL_INC_COMMONSALLAYOUT_HXX
#endif // INCLUDED_VCL_INC_COMMONSALLAYOUT_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
vcl/source/gdi/CommonSalLayout.cxx
Dosyayı görüntüle @
12490e74
...
@@ -302,9 +302,19 @@ namespace vcl {
...
@@ -302,9 +302,19 @@ namespace vcl {
}
}
}
}
};
};
}
// namespace vcl
namespace
{
#include "VerticalOrientationData.cxx"
#include "VerticalOrientationData.cxx"
// These must match the values in the file included above.
enum
class
VerticalOrientation
{
Upright
=
0
,
Rotated
=
1
,
TransformedUpright
=
2
,
TransformedRotated
=
3
};
VerticalOrientation
GetVerticalOrientation
(
sal_UCS4
cCh
,
const
LanguageTag
&
rTag
)
VerticalOrientation
GetVerticalOrientation
(
sal_UCS4
cCh
,
const
LanguageTag
&
rTag
)
{
{
// Override fullwidth colon and semi-colon orientation. Tu is preferred.
// Override fullwidth colon and semi-colon orientation. Tu is preferred.
...
@@ -333,7 +343,7 @@ namespace vcl {
...
@@ -333,7 +343,7 @@ namespace vcl {
return
VerticalOrientation
(
nRet
);
return
VerticalOrientation
(
nRet
);
}
}
}
// namespace
vcl
}
// namespace
std
::
shared_ptr
<
vcl
::
TextLayoutCache
>
CommonSalLayout
::
CreateTextLayoutCache
(
OUString
const
&
rString
)
const
std
::
shared_ptr
<
vcl
::
TextLayoutCache
>
CommonSalLayout
::
CreateTextLayoutCache
(
OUString
const
&
rString
)
const
{
{
...
@@ -509,7 +519,7 @@ bool CommonSalLayout::LayoutText(ImplLayoutArgs& rArgs)
...
@@ -509,7 +519,7 @@ bool CommonSalLayout::LayoutText(ImplLayoutArgs& rArgs)
{
{
sal_Int32
nPrevIdx
=
nIdx
;
sal_Int32
nPrevIdx
=
nIdx
;
sal_UCS4
aChar
=
rArgs
.
mrStr
.
iterateCodePoints
(
&
nIdx
);
sal_UCS4
aChar
=
rArgs
.
mrStr
.
iterateCodePoints
(
&
nIdx
);
VerticalOrientation
aVo
=
vcl
::
GetVerticalOrientation
(
aChar
,
rArgs
.
maLanguageTag
);
VerticalOrientation
aVo
=
GetVerticalOrientation
(
aChar
,
rArgs
.
maLanguageTag
);
sal_UCS4
aVariationSelector
=
0
;
sal_UCS4
aVariationSelector
=
0
;
if
(
nIdx
<
nEndRunPos
)
if
(
nIdx
<
nEndRunPos
)
...
...
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