00001 /****************************************************************************** 00002 * 00003 * 00004 * 00005 * Copyright (C) 1997-2008 by Dimitri van Heesch. 00006 * 00007 * Permission to use, copy, modify, and distribute this software and its 00008 * documentation under the terms of the GNU General Public License is hereby 00009 * granted. No representations are made about the suitability of this software 00010 * for any purpose. It is provided "as is" without express or implied warranty. 00011 * See the GNU General Public License for more details. 00012 * 00013 * Documents produced by Doxygen are derivative works derived from the 00014 * input used in their production; they are not affected by this license. 00015 * 00016 */ 00017 00018 /* 00019 * translator_jp.h 00020 * 00021 * 1.2.5) 00022 * First Translation 00023 * by Kenji Nagamatsu 00024 * 1.2.12) 00025 * Update and Shift-Jis(_WIN32) 00026 * by Ryunosuke Sato (30-Dec-2001) 00027 */ 00028 00029 #ifndef TRANSLATOR_JE_H 00030 #define TRANSLATOR_JE_H 00031 00032 class TranslatorJapaneseEn : public TranslatorEnglish 00033 { 00034 public: 00035 virtual QCString idLanguage() 00036 { return "japanese-en"; } 00037 virtual QCString latexLanguageSupportCommand() 00038 { 00039 return "platex"; 00040 } 00042 virtual QCString idLanguageCharset() 00043 { 00044 //if (Config_getBool("USE_WINDOWS_ENCODING")) 00045 //{ 00046 // return "Shift_JIS"; 00047 //} 00048 //else 00049 //{ 00050 return "euc-jp"; 00051 //} 00052 } 00053 virtual QCString trRTFansicp() 00054 { 00055 return "932"; 00056 } 00057 00061 virtual QCString trRTFCharSet() 00062 { 00063 return "128"; 00064 } 00065 }; 00066 00067 #endif