473,395 Members | 1,766 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Bidirectional RTF<->HTML conversion (again - getting desperate)


Help! Looking for a .Net-kompatible component for converting between
HTML and RTF (both ways).

Asked this question a few days ago and received this link:
http://www.windowsforms.com/Samples/...186&tabindex=4

This was useful, but only converting in one direction. And XHTML is a
bit too strict.

Only commercial product I found was the ActiveUp ActiveRTF:
http://www.activeup.com/products/components/activertf/ but after
buying it I realized that its tag support is extremely limited, so
I am trying to find something else.

I noticed that copying between WordPad and FreeTextBox works very
well, so I started looking at using mshtml (sending
selectall/copy/paste)
commands, but performance is not that great and this method seems to
require that mshtml is hosted on a form (i.e. have a window).

I need an interface-less solution. I understand that this conversion
is built into the operating system? Perhaps using msconv97.dll and
html32.cnv? But I cannot find any wrappers for these components
or any documentation about how to access those conversion functions
directly from .Net?

Using Word automation or running command-line utilities that require
writing and reading input/output files would be too slow, as I need to
use this in an ASP.Net application which - on the server - has no
interface and requires perhaps a dozen conversions for each page
served.

Any ideas? I cannot believe that everybody (e.g. HTML Help authoring
tool vendors) are rolling their own html<->rtf converters?

All the open source examples I have come across have only been
one-way conversion utilities with very limited tag support. Too much
work converting any of them to .Net and expand them to fit my needs.

I basically need to support the formatting available in WordPad.

TIA,

Joergen Bech

Nov 21 '05 #1
0 1175

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Rimantas Žukaitis | last post by:
Hi, we are developing server side report generation application with .NET. The problem is, that we have to present same data in diferent formats (HTML, PDF, WORD, EXCEL). This has to be done...
2
by: IcedDante | last post by:
Working with a sorted group, the inability to use following-sibling (which uses Document Order) and convert an RTF (not avaible with the Parser that we are using) hampered our ability to solve the...
399
by: =?UTF-8?B?Ik1hcnRpbiB2LiBMw7Z3aXMi?= | last post by:
PEP 1 specifies that PEP authors need to collect feedback from the community. As the author of PEP 3131, I'd like to encourage comments to the PEP included below, either here (comp.lang.python), or...
6
by: slinky | last post by:
I found the following code to transfer datagrid data to an Excel file. Is this written in C#?... I'm a vb.netter. I'm just not sure where to place the code to experiment on it. Should I place it in...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.