How to display HTML help file in WPF - html

I have a help file, in HTML format, that I need to display within my MVVM Application in WPF. I don't want to use anything WinForms related and I don't want any dependency on ActiveX or IE. Is there not a simple and out-of-the-box way to do this in WPF? Do I need to go through the hassel of writing converters and other unwanted code?

Related

Is JavaFX a better way to create a html report

I have a Swing application, one thing it does is create an html report that then opens in a browser. Creating this html report within Java and having to write Javascript ectera is hard work. I notice that javafx is now included in Java and I wonder if I could use javafx to create the html report instead and would that be a good idea.
No, it seems I have misunderstopod JavaFX. I thought it was a way to create fancy html applications, but it seems it is more a way to create desktop applications but using technologies familiar to html like CSS to create UI's currently difficult with Swing technology.
For dynamic creating html I am finding the j2html library useful.

Combining XAML/C# with html and WinJS

I want to build a UWP app with html and winJS, because with html you can use any open source library for brilliant UI like Bootstrap and Material Design, but I need to use some controls which are only present in XAML/C# format, for example media element of xaml, because video element of html5 doesn't support much formats.
So my question is how can I combine these two in one app? what is most clean and performant way to do this?
So my question is how can I combine these two in one app? what is most clean and performant way to do this?
The better way of combining these two in one app is using WebView within "XAML/C#" uwp project. But the web context could not invoke method in the local context. The only way for communication between WebView and local context is to use invokescript and window.external.notify method.

Object relation graphical control that generates HTML

I am planning to create a small research web application, that will have a graphical data representation control as a main data layout mechanism. The following sketch shows a primitive layout for a part of a web page:
Since it will be a part of a web app displayed in browser, I want to have some logic that allows me to create, edit and render such "maps" or you can call it "hierarchical trees" into HTML markup to sent to the browser.
Maybe one of you knows a good and elegant way to create such visual elements in plain html.
If not - I am a .Net developer, so I can, as a last resort, reduce to using a silverlight to render such visuals, but than I will have a huge visitor loss on a first visit, since most of them, I suppose, won't be willing to install Silverlight Plugin, just to get acquainted with my web site.
Anyways, a plain HTML generator for such visual trees, or a Silverlight analog will be great. Thanks for the tip in advance.
P.S. I need the element to be interactive, so generating a simple image on a server is not the solution.
The JavaScript vector engine Raphael is a great option.
But if you just want to render the map and display the result on your page, then I recommend GraphViz which takes in a description of your graph in a simple language and outputs the graph in a few different formats.

How do I convert PDF to HTML programmatically?

Are there any classes, COM objects, command line utilities, or anything else that I can make an API for that can convert a PDF to an HTML document? Obviously the conversion might be a little rough since PDFs can contain a lot more than HTML can describe. I found a utility called pdftohtml on Source Forge, but quite honestly it does a horrible job with the conversion. I don't care if the software is free or commercial, but is there anything out there at all that I can incorporate with my own software to do this sort of conversion at least decently? I know Google's developed their own method of doing this, since you can click "View as HTML" on a PDF attached to an email through Gmail, but I was hoping there was something out available to the public.
Remember, PDF to HTML. I'm NOT worried about HTML to PDF.
well one solution i can think of is to write little program that reads pdf text using library called iText and then generate html files.
well for java based PDF solutions...we dont have a clean way i guess-still.. all solutions are primitive and kind of workarounds... No easy solution for
1. Designing a template of a PDF
2. Then at runtime using java, populate data into this template...either using xml or other datasources...
such a simple requirement and NONE has a good "open-source and free" solution yet !
Eclipse BIRT comes close.. but does not handle Barcode elements ..OOB.
You were looking for pdf2htmlEX (C++), which converts PDF to HTML without losing text or format.
To convert further to semantic HTML, you can process pdf2htmlEX output using my project Transcript (Python). It is however not lossless anymore and works best on documents not deviating too much from conventional visual layout.

Using HTML in Swing Applications

Need some help here..I am trying to write a simple swing application which displays some text based on user actions. Its like help where user clicks on some url and he is redirected to that page. I have huge html code and I want to render it in swing components. I was able to do it in JDK1.6 software but not in JDK1.4. Is there any way we can render complex html in swing components in JDK 1.4 software?
I appreciate help.
Thanks
Padur
I have used Flying Saucer to render complex XHTML on Swing components. It does render very well and includes listener for links. Two caveats:
Document must be XHTML (not HTML)
I haven't tested on JRE 1.4 (which is out of support at Sun/Oracle)
Maybe it's worth a try.