Dave Peticolas <[EMAIL PROTECTED]> writes:

> Will we be removing swig as well?

Not planned.  I think the overall idea is to move the swig/perl stuff
off into its own partition, and if configure can't find the right
bits, it just doesn't get built.  Or perhaps we should just have a
--enable-perl so you have to ask for it.

> You can give the HTML widget an HTML string, yes.
> 
> As I understand it, the way report generation works now is that
> eperl is invoked on an html file with embedded perl commands which
> use the perl<->engine bindings to calculate the values to put in the
> report.

That's what I suspected.  So it sounds like it would be pretty trivial
to just do something, even if temporarily, like:

  (define (gnc:generate-some-report account-group port)
    (display "<html>" port) (newline port)
    ...
    (display whatever)
    ...
    (display "</html>" port) (newline port))

  (gnc:set-html-string-or-whatever widget
    (call-with-output-string
      (lambda (port)
        (gnc:generate-some-report account-group port))))

etc.

-- 
Rob Browning <[EMAIL PROTECTED]> PGP=E80E0D04F521A094 532B97F5D64E3930

--
Gnucash Developer's List 
To unsubscribe send empty email to: [EMAIL PROTECTED]

Reply via email to