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. ![Very Happy :D]()
Hope it helps.
example_convert_rtf_html.servoy (18.4 KB)
Hi Bob it is imposible to import this solution into Servoy6 beause of the repository version.
Could you please upload a new version?
Thanks.
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.
Thanks Robert but I don´t have it. I´m new to Servoy.
jasantana:
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.
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 ![Smile :)]()
I didn’t touched any of the logic so it should all work the way it did before.
Enjoy.
example_convert_rtf_html_v6.servoy (9.61 KB)
Thanks Robert. Great job.
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.
THANKS Robert… I’m a slacker… ![Very Happy :D]()
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
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.
This is really, really old… ![Smile :)]()
You can google HTML to RTF - here’s one of the resources I found…
Hope this helps…
http://sourceforge.net/projects/bzhtmlcss2rtf/