Home
Developer Resources
QNX RTOS v4
QNX RTOS v4 Knowledge Base

QNX RTOS v4 Knowledge Base

Foundry27
Foundry27
QNX RTOS v4 project
Resources

QNX RTOS v4 Knowledge Base

Title PtHtml, PtWebClient Widgets and PDF Format
Ref. No. QNX.000006374
Category(ies) Development
Issue We're currently using the PtHtml widget in our Photon app to display online help/manuals for the user of our machine.  We need to update our manuals, which means updating the HTML pages.
The manuals are in PDF format; we run a PDF-to-HTML utility on them to get the HTML pages we display in our app.  The problem is the HTML support in the widget--most PDF-to-HTML converters give you HTML 3.0 or higher, so it means a lot of editing by hand before it will work in the widget.  I'm now trying to find out if there are better ways to do this (such as maybe attempting to view PDF files directly, or seeing if there is better widget HTML support available), so I have a few questions:

1.What version of HTML does Photon 1.12 support?
2.What version of HTML does Photon 1.13 support?
3.I have heard about a PtWebClient widget--how does it work and what level of HTML support does it have?  Where is it available--do I need to buy something like this as part as a new rev of PhAB or by itself?
4.What about Voyager?  What level of HTML support does it have?
5.From a posting on quics, a couple people told me that it is possible to view PDF files directly using xpdf and gv, but the xinph product is required from QSSL to use them.  What is xinph?  I searched the QSSL web site for xinph, but didn't find anything.
Solution 1.What version of HTML does Photon 1.12 support?

Yes, the PtHtml widget supports HTML 1.0 with a few extensions (such as simple table support), and can only load files from the local filesystem. For this reason the widget would not be useful in an application such a web browser, which would require many more features.

2.What version of HTML does Photon 1.13 support?

Same as 1.12.

3.I have heard about a PtWebClient widget--how does it work and what level of HTML support does it have?  Where is it available--do I need to buy something like this as part as a new rev of PhAB or by itself or?

Available with the Voyager Software Developers Kit(vsdk) v. 2.00
HTML 3.2

The PtWebClient widget is used to start, interact, and control the Voyager Web Server. It also provides a user-defined area within the application for the server to format and display web pages. The application controls the server by setting widget resources. The
server communicates status information and user interaction back to the application using the widget callbacks.

4.What about Voyager?  What level of HTML support does it have?

Voyager supports HTML 3.2.

5.From a posting on quics, a couple people told me that it is possible to view PDF files directly using xpdf and gv, but the xinph product is required from QSSL to use them.  What is xinph?

This is for running X-windows in Photon.  This was a beta from a few years back, which is not available.