RE: [Doxygen-users] About Doxygen new language support..
Brought to you by:
dimitri
From: Philippe L. <Ph...@gm...> - 2001-05-03 08:58:10
|
Alessandro Falappa wrote: > while updating the support for the italian language I came > across these > methods regarding the new RTF language code support, I actually > do not know > their meaning, could someone explain it so I can return something > meaningful? > > /*! Used as ansicpg for RTF file */ <<<< what's an ansicpg? > virtual QCString trRTFansicp() > { > return "1252"; <<<< which value should return ? > } > > /*! Used as ansicpg for RTF fcharset */ > virtual QCString trRTFCharSet() > { > return "0"; <<<< and here? > } I may not be the best qualified to answer, but since I have done so lookup for a similar question in the Scintilla mailing list, here are my conclusions. I believe that ansicpg means Ansi Code Page. 1252 is the code page for the Ansi character set, ie. the charset that Windows uses for occidental (european?) languages. From the MSDN: >>> 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 <<< So this table also explain the charset... BTW, I wonder if fcharset is a typo or something I don't know. BTW, I saw an advertisement for VIM, so I will plug (again!) an ad for SciTE (www.Scintilla.org). This text editor (for Windows and GTK+) have a C/C++ lexer (syntax highlighting) where I added different styles for doc. comments (/** and /*!) and line doc. comments (/// and //!). I didn't get so far as to colorize the \tag and @tag, but why not? I also started to doxyfy (? doxygenify?) the comments of the sources of Scintilla and SciTE, but it is much a work in progress. Last note: xteq mailing list was set up to allow to reply directly to the mailing list. doxygen-users ML is set up for replying to the originator of the message. I believe the ML administrator should set the xteq behavior, as it is more convenient. Thank you. -- --._.·´¯`·._.·´¯`·._.·´¯`·._.·´¯`·._.·´¯`·._.·´¯`·._.-- Philippe Lhoste (Paris -- France) Professional programmer and amateur artist http://jove.prohosting.com/~philho/ --´¯`·._.·´¯`·._.·´¯`·._.·´¯`·._.·´¯`·._.·´¯`·._.·´¯`-- Sent through GMX FreeMail - http://www.gmx.net |