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
1bc6b366
Kaydet (Commit)
1bc6b366
authored
Eki 06, 2014
tarafından
Chris Sherlock
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
vcl: document FontCharMap class
Change-Id: I3020c0979ff8ab6b9e959f32d25af9f51857d821
üst
9177329a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
79 additions
and
6 deletions
+79
-6
metric.hxx
include/vcl/metric.hxx
+79
-6
No files found.
include/vcl/metric.hxx
Dosyayı görüntüle @
1bc6b366
...
...
@@ -100,22 +100,95 @@ private:
ImplFontCharMapPtr
mpImplFontCharMap
;
public
:
/** A new FontCharMap is created based on a "default" map, which includes
all codepoints in the Unicode BMP range, including surrogates.
**/
FontCharMap
();
~
FontCharMap
();
bool
IsDefaultMap
(
void
)
const
;
/** Determines if the font character map is the "default". The default map
includes all codepoints in the Unicode BMP range, including surrogates.
@returns true if default map, false if not default map.
*/
bool
IsDefaultMap
()
const
;
/** Does the font character map include the UCS4 character?
@returns true if character exists in font character map, false is not.
*/
bool
HasChar
(
sal_UCS4
)
const
;
UCS4
codepoints
.
@
param
cMin
Lowest
codepoint
in
range
to
be
counted
@
param
cMax
Highest
codepoitn
in
range
to
be
counted
@
returns
number
of
characters
in
the
font
charmap
between
the
two
codepoints
.
*/
int
CountCharsInRange
(
sal_UCS4
cMin
,
sal_UCS4
cMax
)
const
;
int
GetCharCount
(
void
)
const
;
/** Get the number of characters in the font character map.
@returns number of characters in the font character map.
*/
int
GetCharCount
()
const
;
/** Get the first character in the font character map.
@returns first character in the font character map.
*/
sal_UCS4
GetFirstChar
()
const
;
/** Get the last character in the font character map.
@returns last character in the font character map.
*/
sal_UCS4
GetLastChar
()
const
;
sal_UCS4
GetNextChar
(
sal_UCS4
)
const
;
sal_UCS4
GetPrevChar
(
sal_UCS4
)
const
;
/** Get the next character in the font character map. This is important
because character maps (e.g. the default map which holds the characters
in the BMP plane) can have discontiguous ranges.
@param cChar Character from which to find next character
@returns next character in the font character map.
*/
sal_UCS4
GetNextChar
(
sal_UCS4
cChar
)
const
;
/** Get the previous character in the font character map. This is important
because character maps (e.g. the default map which holds the characters
in the BMP plane) can have discontiguous ranges.
@param cChar Character from which to find previous character
@returns previous character in the font character map.
*/
sal_UCS4
GetPrevChar
(
sal_UCS4
cChar
)
const
;
/** Get the index of a particular character in the font character map. The
index is different from the codepoint, because font character maps can
determine the index.
@param cChar Character used to find index number
@returns Index of character in font character map.
*/
int
GetIndexFromChar
(
sal_UCS4
cChar
)
const
;
/** Get the character at a particular index in the font character map. The
index is different from the codepoint, because font character maps can
determine the character.
@param nCharIndex Index used to find the character
int
GetIndexFromChar
(
sal_UCS4
)
const
;
sal_UCS4
GetCharFromIndex
(
int
)
const
;
@returns Character in font character map.
*/
sal_UCS4
GetCharFromIndex
(
int
nCharIndex
)
const
;
private
:
...
...
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