Converting RTF to HTML under Windows Azure

Article from our customer Hi All! Our company has a corporate server which works under Windows Azure. This document management system has many advantages, but one of the functions of document management failed to realize a long time!
By: Yana
 
Nov. 21, 2011 - PRLog -- The aim was to convert RTF documents into HTML files. In one of the databases are stored statistical reports in RTF format which should be edited.
The SautinSoft helped us to include online converter of RTF strings from database to HTML strings. Next we’ve used a free solution to edit these HTMLs.
This is part of code in C# to convert RTF string to HTML string:
       SautinSoft.RtfToHtml r = new SautinSoft.RtfToHtml();
       r.OutputFormat = SautinSoft.RtfToHtml.eOutputFormat.HTML_401;
       r.ImageStyle.IncludeImageInHtml = false;
       r.ImageStyle.ImageFolder = Server.MapPath("");
       r.ImageStyle.ImageSubFolder = "images";
       r.ImageStyle.ImageFileName = "picture";  
       string rtf = "....."; //Get RTF from database
       string html = r.ConvertString(rtf);        
       //show HTML
       if (html.Length>0)
       {
           Response.Buffer = true;
           Response.Clear();
           Response.ContentType = "text/html";
           Response.Write(html);
           Response.Flush();
           Response.End();
       }

# # #

SautinSoft is the independent software development company. The line of our software applications was started in 2002 (web-site www.sautin.com) and now developing components for converting such formats as: HTML, RTF, PDF, Word and others.
End
Source:Yana
Email:***@sautinsoft.com Email Verified
Zip:427430
Tags:Word To Pdf, Excel To Pdf, c
Industry:Software
Location:Votkinsk - Udmurt Republic - Russian Federation
Account Email Address Verified     Account Phone Number Verified     Disclaimer     Report Abuse
Sautinsoft PRs
Trending News
Most Viewed
Top Daily News



Like PRLog?
9K2K1K
Click to Share