GME
13
|
00001 // AnnotationUtil.h: interface for the CAnnotationUtil class. 00002 // 00004 00005 #if !defined(AFX_ANNOTATIONUTIL_H__C3F11A89_9701_438e_887E_C724A14A45DF__INCLUDED_) 00006 #define AFX_ANNOTATIONUTIL_H__C3F11A89_9701_438e_887E_C724A14A45DF__INCLUDED_ 00007 00008 #if _MSC_VER > 1000 00009 #pragma once 00010 #endif // _MSC_VER > 1000 00011 00012 00013 class CAnnotationUtil 00014 { 00015 public: 00016 static void LogfontEncode(CString &str, const LOGFONT* lfp); 00017 static bool LogfontDecode(const CString &str, LOGFONT* lfp); 00018 static void FillLogFontWithDefault(LOGFONT* lfp); 00019 static CString ResolveNewLinesToCRLF(const CString& str); 00020 static CString ResolveNewLinesToLF(const CString& str); 00021 }; 00022 00023 #endif // !defined(AFX_ANNOTATIONUTIL_H__C3F11A89_9701_438e_887E_C724A14A45DF__INCLUDED_)