You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Aleksey Lagoshin (JIRA)" <ji...@apache.org> on 2008/07/09 08:56:31 UTC

[jira] Updated: (HARMONY-5903) [classlib][rtf] RTF parser initial implementation

     [ https://issues.apache.org/jira/browse/HARMONY-5903?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aleksey Lagoshin updated HARMONY-5903:
--------------------------------------

    Attachment: Test.java

> [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.