eguile-based reports -- progress

Chris Dennis cgdennis at btinternet.com
Mon Jun 1 06:45:32 EDT 2009


Phil Longstaff wrote:
> The result invoice looks *really* nice :)
> 
> 
> 2.3.0 has the webkit branch merged in. I think there are no issues on 
> linux and macosx, but am not sure about windows yet.
> 
> 
> Phil

Thanks for that Phil.

One issue I've found with using eguile and webkit is that the report 
system expects just the <body> of HTML document.

According to the HTML specification, the <style> element should go 
within the <head>.  Luckily webkit allows <style> to be within <body>, 
which is how I've done it so far.  But for full control of the content 
of the report, it would be better to be able to define all the HTML, not 
just the <body>.

I'll have a look into what would be required to implement this, unless 
someone has done so already.

cheers

Chris
> 
> 
> On May 26, 2009 08:57:05 pm Chris Dennis wrote:
>  > Hello folks
>  >
>  > I have put an new improved version of the 'Tax Invoice' eguile-based
>  > report on the bugzilla page at
>  > http://bugzilla.gnome.org/show_bug.cgi?id=574582
>  >
>  > The new version has been tidied up considerably. It now looks for the
>  > template part of the report in the user's .gnucash directory or in the
>  > gnucash/report directory. I've tested this on Ubuntu Linux and Windows
>  > Vista only, so I would be very grateful if someone could test it on
>  > other operating systems.
>  >
>  > It also uses the pixmap option routine to allow the user to choose a
>  > logo properly.
>  >
>  > For tax table columns, it still relies on bug fix 573645 which became
>  > part of trunk on 29 April and should be part of 2.3.0. Invoices that
>  > don't reference tax tables are fine without that fix.
>  >
>  > It works fine with 2.2.9, but has some enhancements when used with the
>  > Webkit branch -- i.e. the use of CSS styling, which it makes it look
>  > much nicer, and the user can choose font face and size. (The tax table
>  > fix isn't in the webkit branch yet though.)
>  >
>  > I hope it proves useful eventually. I've also been working on an
>  > eguile-based balance sheet report -- getting the columns to line up
>  > nicely is tricky...
>  >
>  > cheers
>  >
>  > Chris
> 
> 


-- 
Chris Dennis                                  cgdennis at btinternet.com
Fordingbridge, Hampshire, UK


More information about the gnucash-devel mailing list