Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
RTF to HTML
Message
 
À
13/05/2015 10:41:20
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01619728
Message ID:
01619754
Vues:
64
Yes there are many of them and most of the suck - badly.

RTF is a really difficult format to parse because the specification is really loose and open to a lot of interpretation. I've had a need for this Help Builder years ago and I ended up using custom parser, which I had to heaviily customize just to work with the scenarios (syntax coloring from Visual Studio) I had to deal with. The engine worked fairly well for that scenario but totally failed with other more plain text scenarios. Likewise other engines worked reasonably well with some simple scenarios but quickly fell apart with any nested content.

If you want to do this you pretty much need to look at a commercial solution or something that has some serious resources behind it. A decent RTF parser that handles many use cases is apparently difficult to create and maintain and keep up to date.

+++ Rick ---

>>Hi
>>I have a string (IN RTF format) that needs to be exported to another system (They expect it in HTML format)
>>
>>Any utilities in VFP around that will do this automatically ?
>>
>>Tia
>>Gerard
>
>There are actually many. One of them:
>
>http://www.codeproject.com/Articles/27431/Writing-Your-Own-RTF-Converter
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform