1 /************************************************************************/
2 /*									*/
3 /*  Converting text encodings while reading/writing RTF.		*/
4 /*									*/
5 /************************************************************************/
6 
7 #   ifndef	DOC_RTF_TEXT_CONVERTER_H
8 #   define	DOC_RTF_TEXT_CONVERTER_H
9 
10 typedef struct EncodedFont
11     {
12     int		ecFileFontNumber;
13     int		ecBufFontNumber;
14     int		ecCharset;
15     int		ecCharsetIdx;
16     int		ecCodepage;
17     } EncodedFont;
18 
19 extern const char DOC_RTF_AnsiCharsetName[];	/*  Ansi= CP1252	*/
20 
21 /************************************************************************/
22 /*									*/
23 /*  Routine declarations.						*/
24 /*									*/
25 /************************************************************************/
26 
27 extern void docRtfInitEncodedFont(	EncodedFont *		ef );
28 
29 #    endif	/*  DOC_RTF_TEXT_CONVERTER_H	*/
30