开发者

RTF file related issue in Java

I have created RTF editor in Java applet.

I want to make Microsoft RTF file editable on web page, but the issue is when I try to read RTF file with advanced rtfeditorkit, it will read RTF file but it is not able to read the image properties and all kind of objects like table properties.

I want the output of RTF file in format which we can see in Microsoft Word, is there any way to do that in Java?

Here is my code:

HttpURLConnection serverCon = 开发者_开发百科getConnection();          
fi = serverCon.getInputStream();    
AdvancedRTFDocument advDoc= new AdvancedRTFDocument();
advDoc = (AdvancedRTFDocument) editor.getDocument();
editor.setDocument(advDoc);
editor.read(fi,advDoc);
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜