From: Mattia B. <mat...@li...> - 2006-08-20 09:32:24
|
On Sat, 12 Aug 2006 18:26:58 +0100 Mark Dootson <mar...@zn...> wrote: Hello, > I wrapped wxHtmlDCRenderer for my own use. Thanks, applied! > A diff is attached, with a couple of simple additions to wxHtmlWindow > and WxHtmlEasyPrinting. > > My C / XS skills are limited so its all copy and paste really. > The only thing I had difficulty with was > > wxHtmlDCRenderer::Render > > This takes an optional reference to an array. I'm not sure if I've > handled the 'optional' part correctly. It is ok (I made a purely stylistic change). For the wxWidgets 2.7 version I added a new typemap entry for wxArrayInt, mirroring the one for wxArrayString; this makes the code cleaner. > In connection with this, I also have extended perl versions of > HtmlPrintout and HtmlEasyPrinting. > > Why bother? Well, I wanted to be able to override some methods and > control the appearance and controls on the preview frame but not lose > the 'Easy' aspects. > It will allow me to create simple reporting applications using html > templating systems for the output. I took a quick look: I hope a CPAN release is pending :-) Regards, Mattia |