JEditorPane and HTMLEditorKit



Hi there,
I'm using JavaHelp to display html pages and would like to use it also
for pdf files. JavaHelp use JEditorPane.setPage to display the content
and home made classes can be registered for mime type in the helpset
file.

These classes are to extends from Swing's EditorKit. My idea was to
load a PdfEditorKit wich would load the pdf in a img tag. which would
take the whole page.

How can I code this ? I have tried to create a PdfDocument in the
createDefaultDocument of my PdfEditorKit wich extends HTMLEditorKit
but I'm stuck here and I can't display the html with the img tag (or
the pdf directly if that would be possible).

Thanks for any help

Francois
.



Relevant Pages

  • Re: Northwind Employee Form and PDFs
    ... I think you could insert the MS Browser control and display the PDF's within ... the control providing you can currently view PDF docs within Internet ... >> PDF files internally are not anything like most bitmap files, ...
    (microsoft.public.access.formscoding)
  • Re: pdf files do not display correctly
    ... but the display on the screen is messed up. ... whatever software is used to display the PDF. ... PDF files can contain an "page view on open" setting that ... way of setting this parameter other than using hyperref. ...
    (comp.text.tex)
  • ANN: WPViewPDF V1.11 - the fast PDF Viewing Component
    ... WPViewPDF can display pages in rows and columns, ... This component opens PDF files almost instantly, ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: WPViewPDF V1.11 - the fast PDF Viewing Component
    ... >kind of PDF files? ... it wil not display "any" kind of PDF file. ... colors in general) often color conversion functions are defined, ... I tested it with a set of PDF files, created by Chrystal Report, by ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: pdf in java Viewing... Not a good experience
    ... > BUT I need to know the external pdf viewers name ... This code is austensibly to open a url in a browser, but on Windows it will ... static class to display a URL in the system browser. ...
    (comp.lang.java.gui)