1234567891011121314151617181920212223242526272829303132333435363738 |
- #ifndef __RTFUTIL_H
- #define __RTFUTIL_H
- #include <kopano/zcdefs.h>
- #include <kopano/CommonUtil.h>
- #include <string>
- namespace KC {
- extern _kc_export bool isrtfhtml(const char *, unsigned int);
- extern _kc_export bool isrtftext(const char *, unsigned int);
- extern _kc_export HRESULT HrExtractHTMLFromRTF(const std::string &rtf, std::string &html, ULONG codepage);
- extern _kc_export HRESULT HrExtractHTMLFromTextRTF(const std::string &rtf, std::string &html, ULONG codepage);
- extern _kc_export HRESULT HrExtractHTMLFromRealRTF(const std::string &rtf, std::string &html, ULONG codepage);
- extern _kc_export HRESULT HrExtractBODYFromTextRTF(const std::string &rtf, std::wstring &bodyout);
- }
- #endif
|