Doxygen
translator_ke.h
浏览该文件的文档.
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 // Update:
20 //
21 // 2004.12.22 (SooYoung Jung: jung5000@gmail.com)
22 // - LaTex and RTF were not generated correctly.
23 // Corrected trRTFansicp and trRTFCharSet.
24 // It was wrong.
25 //
26 //
27 
28 #ifndef TRANSLATOR_KE_H
29 #define TRANSLATOR_KE_H
30 
32 {
33  public:
34  virtual QCString idLanguage()
35  { return "korean-en"; }
37  {
38  return "\\usepackage{kotex}\n";
39  }
40  virtual QCString trRTFansicp()
41  {
42  return "949";
43  }
44  virtual QCString latexCommandName()
45  {
46  QCString latex_command = Config_getString(LATEX_CMD_NAME);
47  if (latex_command.isEmpty()) latex_command = "latex";
48  if (Config_getBool(USE_PDFLATEX))
49  {
50  if (latex_command == "latex") latex_command = "xelatex";
51  }
52  return latex_command;
53  }
54 
55  /*! Used as ansicpg for RTF fcharset
56  * \see trRTFansicp() for a table of possible values.
57  */
58  virtual QCString trRTFCharSet()
59  {
60  return "129";
61  }
62 
63  virtual QCString trISOLang()
64  {
65  return "ko";
66  }
67 };
68 
69 #endif
TranslatorKoreanEn::trRTFCharSet
virtual QCString trRTFCharSet()
Definition: translator_ke.h:73
QCString::isEmpty
bool isEmpty() const
Returns TRUE iff the string is empty
Definition: qcstring.h:144
TranslatorKoreanEn::latexCommandName
virtual QCString latexCommandName()
Definition: translator_ke.h:59
TranslatorKoreanEn
Definition: translator_ke.h:31
TranslatorKoreanEn::latexLanguageSupportCommand
virtual QCString latexLanguageSupportCommand()
Definition: translator_ke.h:51
TranslatorEnglish
Definition: translator_en.h:43
Config_getBool
#define Config_getBool(name)
Definition: config.h:33
TranslatorKoreanEn::trRTFansicp
virtual QCString trRTFansicp()
Definition: translator_ke.h:55
Config_getString
#define Config_getString(name)
Definition: config.h:32
TranslatorKoreanEn::idLanguage
virtual QCString idLanguage()
Definition: translator_ke.h:49
TranslatorKoreanEn::trISOLang
virtual QCString trISOLang()
Definition: translator_ke.h:78
QCString
This is an alternative implementation of QCString.
Definition: qcstring.h:108