Home » Community » Coffee corner » HTML viewer
Re: HTML viewer [message #60025 is a reply to message #60021] |
Tue, 11 July 2023 11:57   |
 |
mirek
Messages: 14267 Registered: November 2005
|
Ultimate Member |
|
|
Klugier wrote on Mon, 10 July 2023 22:29Hello Luigi,
The true thing is that HTML view control is one of the most important think we need at the moment. Please noticed that sometime ago Zbych implemented ChromiumBrowser. Currently, it is available only in upp/archieve repository, not UppHub. It is basing on CEF (Chromium Embedded Framework), Personally, I would do not go for lite-browser, because the whole library looks like a niche for me with poor support. It means that security norms will not be meet, which are crucial in context of applications that renders HTML and executes JavaScript.
If, we look for our competitors such as QT, the have QTWebEngine that is basing on CEF. We should aim for similar thing.
Since the implementation is not trivial and the maintenance cost will be high. Providing this functionality for U++ is a challenge not for one person, but for a group of people. So, before starting working on that it would be good if you will find somebody that will help you! 
Klugier
Accidentally, I was forced to implement limited support for RichEdit accepting HTML clipboard format.
While definitely not the same thing as HTML viewer, it now understand most of style formatting that is applicable to RichText. I plan to enrich it a bit more (to actually understand CSS, add support for tables and maybe some sort of support for importing images).
https://github.com/ultimatepp/ultimatepp/blob/master/uppsrc/ RichText/ParseHTML.cpp
(That is not meant to distract us from CEF, ParseHTML is not even meant to be complete HTML viewer, just a bridge that allows some HTML->RichText/QTF conversion)
Mirek
|
|
|
Goto Forum:
Current Time: Sun Aug 24 00:18:39 CEST 2025
Total time taken to generate the page: 0.03526 seconds
|