diff options
Diffstat (limited to 'src/translator_je.h')
-rw-r--r-- | src/translator_je.h | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/src/translator_je.h b/src/translator_je.h new file mode 100644 index 0000000..52ca87c --- /dev/null +++ b/src/translator_je.h @@ -0,0 +1,67 @@ +/****************************************************************************** + * + * + * + * Copyright (C) 1997-2003 by Dimitri van Heesch. + * + * Permission to use, copy, modify, and distribute this software and its + * documentation under the terms of the GNU General Public License is hereby + * granted. No representations are made about the suitability of this software + * for any purpose. It is provided "as is" without express or implied warranty. + * See the GNU General Public License for more details. + * + * Documents produced by Doxygen are derivative works derived from the + * input used in their production; they are not affected by this license. + * + */ + +/* + * translator_jp.h + * + * 1.2.5) + * First Translation + * by Kenji Nagamatsu + * 1.2.12) + * Update and Shift-Jis(_WIN32) + * by Ryunosuke Sato (30-Dec-2001) + */ + +#ifndef TRANSLATOR_JE_H +#define TRANSLATOR_JE_H + +class TranslatorJapaneseEn : public TranslatorEnglish +{ + public: + virtual QCString idLanguage() + { return "japanese-en"; } + virtual QCString latexLanguageSupportCommand() + { + return "platex"; + } + /*! returns the name of the package that is included by LaTeX */ + virtual QCString idLanguageCharset() + { + if (Config_getBool("USE_WINDOWS_ENCODING")) + { + return "Shift_JIS"; + } + else + { + return "euc-jp"; + } + } + virtual QCString trRTFansicp() + { + return "932"; + } + + /*! Used as ansicpg for RTF fcharset + * \see trRTFansicp() for a table of possible values. + */ + virtual QCString trRTFCharSet() + { + return "128"; + } +}; + +#endif |