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
bfc58ddb
Kaydet (Commit)
bfc58ddb
authored
Tem 25, 2013
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convert more XubString->OUString in OutputDevice
Change-Id: I7c100614f7321c8c0527067012b47673ac6914f1
üst
7ef05264
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
14 deletions
+14
-14
outdev.h
vcl/inc/outdev.h
+12
-12
outfont.hxx
vcl/inc/outfont.hxx
+2
-2
outdev3.cxx
vcl/source/gdi/outdev3.cxx
+0
-0
No files found.
vcl/inc/outdev.h
Dosyayı görüntüle @
bfc58ddb
...
...
@@ -51,18 +51,18 @@ class GetDevSizeList;
class
ImplDevFontListData
{
public
:
ImplDevFontListData
(
const
String
&
rSearchName
);
ImplDevFontListData
(
const
OU
String
&
rSearchName
);
~
ImplDevFontListData
();
const
OUString
&
GetFamilyName
()
const
{
return
maName
;
}
const
String
&
GetSearchName
()
const
{
return
maSearchName
;
}
const
OU
String
&
GetSearchName
()
const
{
return
maSearchName
;
}
const
OUString
&
GetAliasNames
()
const
{
return
maMapNames
;
}
bool
IsScalable
()
const
{
return
mpFirst
->
IsScalable
();
}
int
GetMinQuality
()
const
{
return
mnMinQuality
;
}
bool
AddFontFace
(
PhysicalFontFace
*
);
void
InitMatchData
(
const
utl
::
FontSubstConfiguration
&
,
const
String
&
rSearchName
);
const
OU
String
&
rSearchName
);
PhysicalFontFace
*
FindBestFontFace
(
const
FontSelectPattern
&
rFSD
)
const
;
void
GetFontHeights
(
std
::
set
<
int
>&
rHeights
)
const
;
...
...
@@ -74,11 +74,11 @@ private:
friend
class
ImplDevFontList
;
// TODO: remove soon
PhysicalFontFace
*
mpFirst
;
// linked list of physical font faces
OUString
maName
;
// Fontname (original font family name)
String
maSearchName
;
// normalized font family name
OUString
maSearchName
;
// normalized font family name
OUString
maMapNames
;
// fontname aliases
sal_uIntPtr
mnTypeFaces
;
// Typeface Flags
sal_uIntPtr
mnMatchType
;
// MATCH - Type
String
maMatchFamilyName
;
// MATCH - FamilyName
OUString
maMatchFamilyName
;
// MATCH - FamilyName
FontWeight
meMatchWeight
;
// MATCH - Weight
FontWidth
meMatchWidth
;
// MATCH - Width
FontFamily
meFamily
;
...
...
@@ -112,16 +112,16 @@ public:
class
ImplGetDevSizeList
{
private
:
String
maFontName
;
OUString
maFontName
;
std
::
vector
<
int
>
maSizeList
;
public
:
ImplGetDevSizeList
(
const
String
&
rFontName
)
ImplGetDevSizeList
(
const
OU
String
&
rFontName
)
:
maFontName
(
rFontName
)
{
maSizeList
.
reserve
(
32
);
}
void
Add
(
int
nHeight
)
{
maSizeList
.
push_back
(
nHeight
);
}
int
Count
()
const
{
return
maSizeList
.
size
();
}
int
Get
(
int
nIndex
)
const
{
return
maSizeList
[
nIndex
];
}
const
String
&
GetFontName
()
const
{
return
maFontName
;
}
const
OUString
&
GetFontName
()
const
{
return
maFontName
;
}
};
// ------------------------
...
...
@@ -148,8 +148,8 @@ protected:
struct
ImplFontSubstEntry
{
String
maName
;
String
maReplaceName
;
OUString
maName
;
OUString
maReplaceName
;
OUString
maSearchName
;
OUString
maSearchReplaceName
;
sal_uInt16
mnFlags
;
...
...
@@ -164,13 +164,13 @@ private:
typedef
std
::
list
<
ImplFontSubstEntry
>
FontSubstList
;
FontSubstList
maFontSubstList
;
public
:
void
AddFontSubstitute
(
const
String
&
rFontName
,
const
String
&
rSubstName
,
sal_uInt16
nFlags
);
void
AddFontSubstitute
(
const
OUString
&
rFontName
,
const
OU
String
&
rSubstName
,
sal_uInt16
nFlags
);
void
RemoveFontSubstitute
(
int
nIndex
);
int
GetFontSubstituteCount
()
const
{
return
maFontSubstList
.
size
();
};
bool
Empty
()
const
{
return
maFontSubstList
.
empty
();
}
void
Clear
()
{
maFontSubstList
.
clear
();
}
bool
FindFontSubstitute
(
String
&
rSubstName
,
const
String
&
rFontName
,
sal_uInt16
nFlags
)
const
;
bool
FindFontSubstitute
(
OUString
&
rSubstName
,
const
OU
String
&
rFontName
,
sal_uInt16
nFlags
)
const
;
};
// PreMatchFontSubstitution
...
...
vcl/inc/outfont.hxx
Dosyayı görüntüle @
bfc58ddb
...
...
@@ -361,9 +361,9 @@ public: // TODO: make data members private
short
mnOrientation
;
// text angle in 3600 system
bool
mbInit
;
// true if maMetric member is valid
void
AddFallbackForUnicode
(
sal_UCS4
,
FontWeight
eWeight
,
const
String
&
rFontName
);
void
AddFallbackForUnicode
(
sal_UCS4
,
FontWeight
eWeight
,
const
OU
String
&
rFontName
);
bool
GetFallbackForUnicode
(
sal_UCS4
,
FontWeight
eWeight
,
OUString
*
pFontName
)
const
;
void
IgnoreFallbackForUnicode
(
sal_UCS4
,
FontWeight
eWeight
,
const
String
&
rFontName
);
void
IgnoreFallbackForUnicode
(
sal_UCS4
,
FontWeight
eWeight
,
const
OU
String
&
rFontName
);
private
:
// cache of Unicode characters and replacement font names
...
...
vcl/source/gdi/outdev3.cxx
Dosyayı görüntüle @
bfc58ddb
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