Hi Steve,

> > wxPerl wrapper for wxPdfDocument [...]
> 
> 1) You suggest that the work was not completed.  Was that because not all
> the methods were wrapped, or just that it did not work in any form? (OK I've
> just looked at the CPAN readme.  It looks as though it will work with some
> methods, hopefully enough, if you are carefull about pathnames).

I've also only read the readme file. It states that many more classes need to 
be wrapped. This sounds pretty incomplete. I didn't test it, so I can't say 
whether the implemented parts work as expected.

The problem is that the perl wrapper is outdated as the available version dates 
September 2006. Since then wxPdfDocument has improved a lot.

> 2) So if I have a wxRichText document How should I go from that to a
> wxPDF? 

Good question. Unfortunately I don't have a good answer. Probably this would 
require some efforts to integrate wxPdfDocument resp wxPdfDC somehow in the 
wxWidgets printing framework as methods are required to inject a wxPdfDC 
instance into the output chain.

Maybe an alternative could be to write a class similar to wxRichTextXMLHandler 
which takes wxRichText contents and transfers it to PDF using native methods of 
wxPdfDocument.

> It looks as though the install will be interesting.  I'll have a go
> and see what I get. 

Good luck.

> Finally, I just noticed the install is full of nmakes, I assume it
> will also work on Linux. 

I can't say for sure for the Perl wrapper, but wxPdfDocument definitely works 
on Linux.

Regards,

Ulrich
-- 
E-Mail privat:  ulrich.te...@gmx.de
World Wide Web: http://www.telle-online.de


Reply via email to