Skip to main content

The TranslatorJapaneseEn Class Reference

Declaration

class TranslatorJapaneseEn { ... }

Included Headers

Base class

classTranslatorEnglish

Public Member Functions Index

QCStringidLanguage () override
QCStringlatexLanguageSupportCommand () override
QCStringlatexFontenc () override
QCStringlatexDocumentPre () override
QCStringlatexDocumentPost () override
QCStringtrRTFansicp () override
QCStringtrRTFCharSet () override
QCStringtrISOLang () override
QCStringgetLanguageString () override

language codes for Html help More...

Definition at line 32 of file translator_je.h.

Public Member Functions

getLanguageString()

QCString TranslatorJapaneseEn::getLanguageString ()
inline virtual

language codes for Html help

 0x402 Bulgarian
0x405 Czech
0x406 Danish
0x413 Dutch
0xC09 English (Australia)
0x809 English (Britain)
0x1009 English (Canada)
0x1809 English (Ireland)
0x1409 English (New Zealand)
0x1C09 English (South Africa)
0x409 English (United States)
0x40B Finnish
0x40C French
0x407 German
0x408 Greece
0x439 Hindi
0x40E Hungarian
0x410 Italian
0x814 Norwegian
0x415 Polish
0x816 Portuguese(Portugal)
0x416 Portuguese(Brazil)
0x419 Russian
0x80A Spanish(Mexico)
0xC0A Spanish(Modern Sort)
0x40A Spanish(Traditional Sort)
0x41D Swedish
0x41F Turkey
0x411 Japanese
0x412 Korean
0x804 Chinese (PRC)
0x404 Chinese (Taiwan)

New LCIDs:

 0x421 Indonesian
 0x41A Croatian
 0x418 Romanian
 0x424 Slovenian
 0x41B Slovak
 0x422 Ukrainian
 0x81A Serbian (Serbia, Latin)
 0x403 Catalan
 0x426 Latvian
 0x427 Lithuanian
 0x436 Afrikaans
 0x42A Vietnamese
 0x429 Persian (Iran)
 0xC01 Arabic (Egypt) - I don't know which version of arabic is used inside translator_ar.h ,
       so I have chosen Egypt at random

Code for Esperanto should be as shown below but the htmlhelp compiler 1.3 does not support this (and no newer version is available).

0x48f Esperanto

So do a fallback to the default language

0x409 English (United States)
0xC1A Serbian (Serbia, Cyrillic)

Definition at line 70 of file translator_je.h.

71 {
72 return "0x411 Japanese";
73 }

idLanguage()

QCString TranslatorJapaneseEn::idLanguage ()
inline virtual

Used for identification of the language. The identification should not be translated. It should be replaced by the name of the language in English using lower-case characters only (e.g. "czech", "japanese", "russian", etc.). It should be equal to the identification used in language.cpp.

Definition at line 35 of file translator_je.h.

36 { return "japanese-en"; }

latexDocumentPost()

QCString TranslatorJapaneseEn::latexDocumentPost ()
inline virtual

Sets the commands to be inserted directly before the \\end{document} in the LaTeX document.

Definition at line 49 of file translator_je.h.

50 {
51 return "\\end{CJK}\n";
52 }

latexDocumentPre()

QCString TranslatorJapaneseEn::latexDocumentPre ()
inline virtual

Sets the commands to be inserted directly after the \\begin{document} in the LaTeX document.

Definition at line 45 of file translator_je.h.

46 {
47 return "\\begin{CJK}{UTF8}{min}\n";
48 }

latexFontenc()

QCString TranslatorJapaneseEn::latexFontenc ()
inline virtual

Sets the LaTeX font encoding to be used. The default is set to T1, in case another font encoding has to be used this can be specified with this routine. In case no font encoding is required the empty string can be returned.

Definition at line 41 of file translator_je.h.

42 {
43 return "";
44 }

latexLanguageSupportCommand()

QCString TranslatorJapaneseEn::latexLanguageSupportCommand ()
inline virtual

Used to get the LaTeX command(s) for the language support. This method should return string with commands that switch LaTeX to the desired language. For example

"\\usepackage[german]{babel}\n"

or

"\\usepackage{polski}\n"
"\\usepackage[latin2]{inputenc}\n"
"\\usepackage[T1]{fontenc}\n"

The English LaTeX does not use such commands. Because of this the empty string is returned in this implementation.

Definition at line 37 of file translator_je.h.

38 {
39 return "\\usepackage{CJKutf8}\n";
40 }

trISOLang()

QCString TranslatorJapaneseEn::trISOLang ()
inline virtual

Definition at line 66 of file translator_je.h.

66 QCString trISOLang() override
67 {
68 return "ja";
69 }

trRTFansicp()

QCString TranslatorJapaneseEn::trRTFansicp ()
inline virtual

Used as ansicpg for RTF file

The following table shows the correlation of Charset name, Charset Value and

Codepage number:
Charset Name Charset Value(hex) Codepage number
------------------------------------------------------
DEFAULT_CHARSET 1 (x01)
SYMBOL_CHARSET 2 (x02)
OEM_CHARSET 255 (xFF)
ANSI_CHARSET 0 (x00) 1252
RUSSIAN_CHARSET 204 (xCC) 1251
EE_CHARSET 238 (xEE) 1250
GREEK_CHARSET 161 (xA1) 1253
TURKISH_CHARSET 162 (xA2) 1254
BALTIC_CHARSET 186 (xBA) 1257
HEBREW_CHARSET 177 (xB1) 1255
ARABIC _CHARSET 178 (xB2) 1256
SHIFTJIS_CHARSET 128 (x80) 932
HANGEUL_CHARSET 129 (x81) 949
GB2313_CHARSET 134 (x86) 936
CHINESEBIG5_CHARSET 136 (x88) 950

Definition at line 53 of file translator_je.h.

54 {
55 return "932";
56 }

trRTFCharSet()

QCString TranslatorJapaneseEn::trRTFCharSet ()
inline virtual

Used as ansicpg for RTF fcharset

See Also

trRTFansicp() for a table of possible values.

Definition at line 61 of file translator_je.h.

62 {
63 return "128";
64 }

The documentation for this class was generated from the following file:


Generated via doxygen2docusaurus by Doxygen 1.14.0.