Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 74947 invoked from network); 9 Jul 2008 06:57:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Jul 2008 06:57:24 -0000 Received: (qmail 62210 invoked by uid 500); 9 Jul 2008 06:57:24 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 62197 invoked by uid 500); 9 Jul 2008 06:57:24 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 62166 invoked by uid 99); 9 Jul 2008 06:57:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jul 2008 23:57:24 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jul 2008 06:56:39 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id BD93E234C15C for ; Tue, 8 Jul 2008 23:56:31 -0700 (PDT) Message-ID: <1278584866.1215586591775.JavaMail.jira@brutus> Date: Tue, 8 Jul 2008 23:56:31 -0700 (PDT) From: "Aleksey Lagoshin (JIRA)" To: commits@harmony.apache.org Subject: [jira] Updated: (HARMONY-5903) [classlib][rtf] RTF parser initial implementation In-Reply-To: <1395989784.1215586591750.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HARMONY-5903?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aleksey Lagoshin updated HARMONY-5903: -------------------------------------- Attachment: rtfparser.zip > [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.