classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: javax.swing.text.rtf.RTFEditorKit


From: Sven de Marothy
Subject: Re: javax.swing.text.rtf.RTFEditorKit
Date: Thu, 03 Mar 2005 15:40:10 +0100

>Is there somebody working on RTFEditorKit? I've heard some rumors about
>this but I am not sure. If not, I would begin with it, maybe with a
>simple RTF-Syntax-Filter that produces plain-text and then add special
>handling for formatting later.

Yeah, I've taken a crack at doing just that. However, I wasn't 
really satisified with the results; it doesn't seem like a simple filter
could consistently do a good job, and you really need to do some proper
syntax-parsing to get good results. 
(and even despite that, I found that the JDK indeed has some parsing
errors too.)

So more recently, I started looking into using something like JavaCC to
create a proper parser. (Although I haven't gotten further with that
either.)

But I've got no strong feelings about it, if you want to take over the
code I've written so far and run with it, it's fine by me.

/Sven





reply via email to

[Prev in Thread] Current Thread [Next in Thread]