Page 1 of 1

HOW TO: Get HTML into RTF and RTF into HTML

PostPosted: Wed Nov 09, 2005 8:37 pm
by bcusick
If anyone is interested - I've written an example file that shows how to do HTML to RTF and RTF to HTML examples.

You can download at: http://www.servoy.com/downloads/downloads/free_example_solutions/example_convert_rtf_html.servoy

I've also attached it to this message for ease-of-use. :D

Hope it helps.

Re: HOW TO: Get HTML into RTF and RTF into HTML

PostPosted: Thu Aug 04, 2011 9:26 pm
by jasantana
Hi Bob it is imposible to import this solution into Servoy6 beause of the repository version.

Could you please upload a new version?

Thanks.

Re: HOW TO: Get HTML into RTF and RTF into HTML

PostPosted: Fri Aug 05, 2011 5:33 am
by ROCLASI
Hi Juan,

You can import it into Servoy 3.5 (if you have that) and export it again. Version 6 (at least 5.2 does) can import Servoy 3.5 solutions.

Hope this helps.

Re: HOW TO: Get HTML into RTF and RTF into HTML

PostPosted: Fri Aug 05, 2011 10:00 am
by jasantana
Thanks Robert but I don´t have it. I´m new to Servoy.

Re: HOW TO: Get HTML into RTF and RTF into HTML

PostPosted: Fri Aug 05, 2011 11:59 am
by lvostinar
jasantana wrote:Thanks Robert but I don´t have it. I´m new to Servoy.


You cannot import Servoy 2.2 solutions in Servoy 6.0 developer (not supported), but you can import the solution in admin page and then checkout in developer.

Re: HOW TO: Get HTML into RTF and RTF into HTML

PostPosted: Fri Aug 05, 2011 1:37 pm
by ROCLASI
Okay, I converted it into a Servoy 6 version. I also cleaned up the code (arguments vs params, JSDoc, etc) and removed the need for a table.
In other words it's new and shiny again :)

I didn't touched any of the logic so it should all work the way it did before.

Enjoy.

Re: HOW TO: Get HTML into RTF and RTF into HTML

PostPosted: Fri Aug 05, 2011 1:42 pm
by jasantana
Thanks Robert. Great job.

Re: HOW TO: Get HTML into RTF and RTF into HTML

PostPosted: Mon Sep 12, 2011 3:41 pm
by bobcusick
ROCLASI wrote:Okay, I converted it into a Servoy 6 version. I also cleaned up the code (arguments vs params, JSDoc, etc) and removed the need for a table.


THANKS Robert... I'm a slacker... :D

Re: HOW TO: Get HTML into RTF and RTF into HTML

PostPosted: Thu Apr 09, 2015 12:15 pm
by socorro
Hi Robert,

I imported your example.Thanks for sharing!

I have a question.

I would like to convert a html table in a RTF format.

Can you give some ideas please.

with regard,
Socorro Marquez

Re: HOW TO: Get HTML into RTF and RTF into HTML

PostPosted: Fri Apr 10, 2015 11:18 am
by ROCLASI
Hi Socorro,

The example is from Bob Cusick, I only converted it from a v2.2 solution to v6.x. and like I said in this thread I didn't touch the logic so I am not too familiar with it either.
Perhaps Bob (or any other rtf savvy developer) can give you some pointers.

Re: HOW TO: Get HTML into RTF and RTF into HTML

PostPosted: Tue May 12, 2015 10:29 pm
by bcusick
This is really, really old... :)

You can google HTML to RTF - here's one of the resources I found...

Hope this helps...

http://sourceforge.net/projects/bzhtmlcss2rtf/