r19428 - gnucash/trunk/src/report - Bug #626403: Fix inconsistent formatting between stylesheets (Webkit vs. gtkhtml)

Christian Stimming cstim at code.gnucash.org
Sat Aug 14 16:14:37 EDT 2010


Author: cstim
Date: 2010-08-14 16:14:37 -0400 (Sat, 14 Aug 2010)
New Revision: 19428
Trac: http://svn.gnucash.org/trac/changeset/19428

Modified:
   gnucash/trunk/src/report/locale-specific/us/taxtxf.scm
   gnucash/trunk/src/report/stylesheets/stylesheet-easy.scm
   gnucash/trunk/src/report/stylesheets/stylesheet-fancy.scm
   gnucash/trunk/src/report/stylesheets/stylesheet-footer.scm
   gnucash/trunk/src/report/stylesheets/stylesheet-plain.scm
Log:
Bug #626403: Fix inconsistent formatting between stylesheets (Webkit vs. gtkhtml)

Patch by Alex Aycinena:

The 'default' stylesheet formats the balance sheet, cash flow, income statement
and transaction reports properly under webkit but not under gtkhtml.

The 'easy', 'footer', and 'technicolor' stylesheets are the reverse; that is,
they format the balance sheet, cash flow, income statement and transaction
reports properly under gtkhtml but not under webkit, except that the 'footer'
stylesheet also has some formatting problems with gtkhtml as well.

The attached patch file corrects these problems. Specifically:

- styles that are missing in the 'footer' stylesheet (compared to 'easy') are
added

- the function 'gnc-html-engine-supports-css' is used in the 'default', 'easy',
'footer' and 'technicolor' stylesheets to provide styles for either webkit or
gtkhtml

- the taxtxf.scm report file is simplified to take advantage of these changes



More information about the gnucash-patches mailing list