The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
HTML/HTMLDoc version 0.01
=========================

This module is an Perl OO-interface to the HTMLDOC commandline-tool available
from http://www.easysw.com/htmldoc. It can be used for easily creating
PDF and PS documents from HTML-Documents.

The module tries to be easy to use. It is possible to send the PDF-output
directly to a browser in a web-environment or to save it to a file.

If you use this module in mod_perl-environment, be careful because there are
problems using IPC::Open3 with mod_perl. See the pod for an other way of this
module to generate the PDF without using ICP::Open3.


Example of use:

use HTML::HTMLDoc();
my $htmldoc = new HTML::HTMLDoc();
$htmldoc->set_html_content($html);
my $pdf = $htmldoc->generate_pdf();

# output the generated pdf to a web-browser:
# send the correct header to the client
print "Content-type:application/pdf\n\n";
print $pdf->to_string();

# or save the pdf to file
$pdf->to_file('foo.pdf');



LIMITATIONS

HTMLDOC CURRENTLY ONLY SUPPORTS HTML 3.2 AND DOES NOT
SUPPORT STYLE SHEETS!

Please read the documentation of HTMLDOC

Currently this module has only be tested under Linux. Any Unix that is supported
by HTMLDOC should be no problem.

Please let me know of problems.


INSTALLATION

Install HTMLDOC first. See dependencies-section. If you want to use this on a
webserver, you possibly want to disable the gui of HTMLDOC at configure.

To install this module type the following:

   perl Makefile.PL
   make
   make test
   make install

DEPENDENCIES

This module requires these other modules and libraries:

  HTMLDOC programm available on http://www.easysw.com/htmldoc

COPYRIGHT AND LICENCE

This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself

Copyright (C) 2003 Michael Frankl <mfrankl@seibert-media.net>