harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksey Lagoshin (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-5903) [classlib][rtf] RTF parser initial implementation
Date Wed, 09 Jul 2008 06:56:31 GMT
[classlib][rtf] RTF parser initial implementation

                 Key: HARMONY-5903
                 URL: https://issues.apache.org/jira/browse/HARMONY-5903
             Project: Harmony
          Issue Type: Improvement
          Components: Classlib
            Reporter: Aleksey Lagoshin
            Priority: Minor
         Attachments: rtfparser.zip, Test.java

This is initial implementation of RTFParser in the context of "harmony-swing-rtf" GSoC project.
RTF parser could read any RTF file, but it understands only a few control words so far. Other
control words it skips.

The archive rtfparser.zip has following files: 

* RTFEditorKit.java: class from JDK API which is responsible for reading and writing RTF files.
Currently, works only reading RTF files.
* RTFParser.jj: 
JavaCC grammar for RTF files.
* RTFParserHandler.java: 
This class constructs StyledDocument from parsed content.

Other files were generated from the grammar.

Attached files Test.java and test.rtf are for testing purposes.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message