Return-Path: X-Original-To: apmail-flex-users-archive@www.apache.org Delivered-To: apmail-flex-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8FA2810A6B for ; Thu, 14 Nov 2013 14:45:35 +0000 (UTC) Received: (qmail 12692 invoked by uid 500); 14 Nov 2013 14:45:30 -0000 Delivered-To: apmail-flex-users-archive@flex.apache.org Received: (qmail 12118 invoked by uid 500); 14 Nov 2013 14:45:19 -0000 Mailing-List: contact users-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@flex.apache.org Delivered-To: mailing list users@flex.apache.org Received: (qmail 12056 invoked by uid 99); 14 Nov 2013 14:45:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Nov 2013 14:45:02 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of tc@extravision.com designates 193.133.125.13 as permitted sender) Received: from [193.133.125.13] (HELO mail3.evmailer.com) (193.133.125.13) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Nov 2013 14:44:57 +0000 Received: from [127.0.0.1] ([192.168.2.114]) by mail3.evmailer.com (8.14.3/8.14.3) with ESMTP id rAEEiZsv023731 for ; Thu, 14 Nov 2013 14:44:35 GMT Message-ID: <5284E1D4.4080408@extravision.com> Date: Thu, 14 Nov 2013 14:44:36 +0000 From: Tom Chiverton User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: users@flex.apache.org Subject: Re: Rich Text Editor -- convert the text into HTML format References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 131114-0, 14/11/2013), Outbound message X-Antivirus-Status: Clean X-Virus-Checked: Checked by ClamAV on apache.org I think you can either create a new ConversionType (and suitable interface, exporter class), or look into transforming the results of the passing the XML type flag to the existing exporter. I'd probably go with the later. You may get lucky and not even need XSLT... Tom On 14/11/2013 14:23, Nitin Gopi wrote: > Hi > I am using a rich text editor in flex 3.6 > I have to send the HTML formatted text to the backend service which uses > PHP. There the code is used to create pdf. Conversion from textformat to > html tags is the work which I have to do. Currently I am trying to do it > using regular expression. I am replacing the textformat tags with html tags > like > > ---> >
  • ere
  • ere
  • -->
    • err
    • ere
    > > Is there some library or functionality which does it automatically? > > Thanks > Nitin Gopi