1 /******************************************************************************
2  *
3  *
4  *
5  * Copyright (C) 1997-2015 by Dimitri van Heesch.
6  *
7  * Permission to use, copy, modify, and distribute this software and its
8  * documentation under the terms of the GNU General Public License is hereby
9  * granted. No representations are made about the suitability of this software
10  * for any purpose. It is provided "as is" without express or implied warranty.
11  * See the GNU General Public License for more details.
12  *
13  * Documents produced by Doxygen are derivative works derived from the
14  * input used in their production; they are not affected by this license.
15  *
16  */
17 
18 /*
19  * translator_jp.h
20  *
21  * 1.2.5)
22  * First Translation
23  *      by Kenji Nagamatsu
24  * 1.2.12)
25  * Update and Shift-Jis(_WIN32)
26  *      by Ryunosuke Sato (30-Dec-2001)
27  */
28 
29 #ifndef TRANSLATOR_JE_H
30 #define TRANSLATOR_JE_H
31 
32 class TranslatorJapaneseEn : public TranslatorEnglish
33 {
34   public:
idLanguage()35     virtual QCString idLanguage()
36     { return "japanese-en"; }
latexLanguageSupportCommand()37     virtual QCString latexLanguageSupportCommand()
38     {
39       return "\\usepackage{CJKutf8}\n";
40     }
latexFontenc()41     virtual QCString latexFontenc()
42     {
43       return "";
44     }
latexDocumentPre()45     virtual QCString latexDocumentPre()
46     {
47       return "\\begin{CJK}{UTF8}{min}\n";
48     }
latexDocumentPost()49     virtual QCString latexDocumentPost()
50     {
51       return "\\end{CJK}\n";
52     }
trRTFansicp()53     virtual QCString trRTFansicp()
54     {
55       return "932";
56     }
57 
58     /*! Used as ansicpg for RTF fcharset
59      *  \see trRTFansicp() for a table of possible values.
60      */
trRTFCharSet()61     virtual QCString trRTFCharSet()
62     {
63       return "128";
64     }
65 
trISOLang()66     virtual QCString trISOLang()
67     {
68       return "ja";
69     }
70 };
71 
72 #endif
73