RTF file research tips
来源:互联网 发布:淘宝店铺主页空白 编辑:程序博客网 时间:2024/06/05 04:20
- Convert Chinese to Ansii string
7 int main(int argc, char* argv[])
8 {
9 printf("Hello World!/n");
10
11 char chTest[]="电";
12 int n1 = (unsigned char)(chTest[0]) << 8;
13 int n2 = (unsigned char)chTest[1];
14
15 int i = n1+n2;
16 char a[3];
17 a[0] = (char)((i & 0xff00) >> 8);
18 a[1] = (char)(i & 0xff);
19 a[2] = 0;
20 printf("%s/n",a);
21
22 return 0;
23 }
Some Links:
rtflib from www.codeproject.com
rtfx you can google it.
latex2rtf from www.sourceforge.net
gc1039.exe from www.msdn.com. It will give you some info about how to read rtf file directly using c++.
http://msdn.microsoft.com/en-us/library/aa140301.aspx
abiword http://www.abisource.com/ There are a RTF importer/Exporter plugin source code.But I do not familiar with it.
I think in Windows Platform,you can use RichEdit control to do the below actions:
Merge 2+ rtf files to one rtf file just use copy and paste,of course you should use TOM or just create 2 hidden richEdt box to switch the data.That is easy.Also you can find the plain text from RTF use EM_GETTEXTEX and stream out a butter then go to find the string what you want catch.RTF have the advantage and disadvantage.I recommended you to use HTML,XML etc.But RTF is good supported by MS.
- RTF file research tips
- TIPS: How to Do Research?
- TIPS: How to Do Research
- File System Research Group
- My first research experience...and tips
- Some Tips on Reading Research Papers
- Update Data Template(xml file) and RTF(rtf file) Template for BI Publisher Report
- how to do great research && Writing Tips for Academics
- Research
- Research
- Perl Mgmt Tips: rename file
- Clean RTF files to any encoding text file type
- File Download Tips for asp.net
- Tips for Writing a File System Filter
- configure Smart tips (DTD file config)
- RTF文件格式
- RTF文件
- RTF Builder
- 新版内测需要解决的BUG及后续需求.
- 详谈高性能TCP服务器的开发
- 可以查到很多开源代码的网站
- IIS 7.0 的 ASP.NET 应用程序生命周期
- 数据类型修饰
- RTF file research tips
- 程序员之路──关于代码风格
- ArrayList和Vector的区别
- Encome—— engage3D 体验
- 思科12000系列性能路由处理器
- js随机图片,十秒后循环
- 疯狂的程序员68
- SAS SCL开发时使用如何使用增强型编辑器?
- Wince4.2,关于Flash的永久保存注册表