Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » RichText,QTF,RTF... » HTML to QTF
HTML to QTF [message #27808] Thu, 05 August 2010 03:42 Go to next message
jeremy_c is currently offline  jeremy_c
Messages: 175
Registered: August 2007
Location: Ohio, USA
Experienced Member
I have some very simple HTML documents:

<center>Hello World</center><BR>
Goodbye <B>World</b><BR>


is about as complex as it gets. Is there an existing way to convert this to QTF for easy display? I was thinking of just find/replace the few tags that are in use with Qtf equivalents but figured that a more robust solution may already exist that is escaping my search.

Thanks,

Jeremy
Re: HTML to QTF [message #27866 is a reply to message #27808] Sat, 07 August 2010 15:57 Go to previous messageGo to next message
Mindtraveller is currently offline  Mindtraveller
Messages: 916
Registered: August 2007
Location: Russia, Moscow rgn.
Experienced Contributor

There is no robust solution.
I was thinking about such a converter, but refused due to a pair of moments:
1) HTML may have included refence CSS files or Javascript. You need to parse CSS as well. And you have to make javascript erased from the queue in a robust way.

2) QTF is much more strict and has another nature of displaying. HTML defines %/em/px-sized metrics while QTF defines very strict number of size/position metrics for very strict number of elements.

HTML != QTF
by nature, by functionality and by ideology.

That is why I don't see any general solution for this converter.
Re: HTML to QTF [message #27904 is a reply to message #27866] Tue, 10 August 2010 09:24 Go to previous messageGo to next message
koldo is currently offline  koldo
Messages: 2980
Registered: August 2008
Veteran
Hello Jeremy

If you are working in Windows you can use FirefoxBrowser or IExplorerBrowser in Controld4U ( http://www.ultimatepp.org/src$Controls4U$Controls4U$en-us.ht ml). They admit html text and url.

Dolik.rce is working in a multiplatform web browser Smile . I do not know if it is ready to be used now.


Best regards
IƱaki
Re: HTML to QTF [message #27924 is a reply to message #27904] Tue, 10 August 2010 21:47 Go to previous message
dolik.rce is currently offline  dolik.rce
Messages: 1758
Registered: August 2008
Location: Czech Republic
Senior Contributor

koldo wrote on Tue, 10 August 2010 09:24

Dolik.rce is working in a multiplatform web browser Smile . I do not know if it is ready to be used now.
Not anytime soon...
I got only JavaScript working as of now Smile

Honza
Previous Topic: PDF Export With Chinese Character[SOLVED]
Next Topic: Report package: how to set header on first page different to other pages
Goto Forum:
  


Current Time: Tue Aug 20 15:51:13 CEST 2019

Total time taken to generate the page: 0.01764 seconds