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
3d0a4663
Kaydet (Commit)
3d0a4663
authored
Ock 29, 2016
tarafından
Chris Sherlock
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
vcl: inline FontAttributes::AddMapName
Change-Id: I5d38fa30bc4a74a626c67ce18610f15e83eacd68
üst
adcd5038
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
16 deletions
+18
-16
fontattributes.hxx
vcl/inc/fontattributes.hxx
+18
-16
No files found.
vcl/inc/fontattributes.hxx
Dosyayı görüntüle @
3d0a4663
...
...
@@ -77,21 +77,7 @@ public:
void
IncreaseQualityBy
(
int
nQualityAmount
)
{
mnQuality
+=
nQualityAmount
;
}
void
DecreaseQualityBy
(
int
nQualityAmount
)
{
mnQuality
-=
nQualityAmount
;
}
void
SetMapNames
(
OUString
const
&
aMapNames
)
{
maMapNames
=
aMapNames
;
}
void
AddMapName
(
OUString
const
&
aMapName
)
{
if
(
maMapNames
.
getLength
()
>
0
)
{
maMapNames
+=
";"
;
}
if
(
aMapName
.
getLength
()
==
0
)
{
SAL_WARN
(
"vcl.fonts"
,
"New map name is empty"
);
return
;
}
maMapNames
+=
aMapName
;
}
void
AddMapName
(
OUString
const
&
);
void
SetBuiltInFontFlag
(
bool
bIsBuiltInFont
)
{
mbDevice
=
bIsBuiltInFont
;
}
void
SetEmbeddableFlag
(
bool
bEmbeddable
)
{
mbEmbeddable
=
bEmbeddable
;
}
...
...
@@ -140,13 +126,29 @@ inline void FontAttributes::SetSymbolFlag( const bool bSymbolFlag )
}
}
inline
void
FontAttributes
::
SetCharSet
(
const
rtl_TextEncoding
aEncoding
)
{
meCharSet
=
aEncoding
;
mbSymbolFlag
=
meCharSet
==
RTL_TEXTENCODING_SYMBOL
;
}
inline
void
FontAttributes
::
AddMapName
(
OUString
const
&
aMapName
)
{
if
(
maMapNames
.
getLength
()
>
0
)
{
maMapNames
+=
";"
;
}
if
(
aMapName
.
getLength
()
==
0
)
{
SAL_WARN
(
"vcl.fonts"
,
"New map name is empty"
);
return
;
}
maMapNames
+=
aMapName
;
}
#endif // INCLUDED_VCL_INC_FONTATTRIBUTES_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
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