I believe the problem described in Bugzilla 327630 is caused by a
missing "function" (gnc:html-document-set-style!) in both the "fancy"
and "easy" stylesheets.  Cutting and pasting the function from "plan
stylesheet" seems to resolve the issue.

The following patches appear, to my testing, to resolve the problem.

Note - I'm cross-posting the the BZ entry

Index: src/report/stylesheets/stylesheet-fancy.scm
===================================================================
--- src/report/stylesheets/stylesheet-fancy.scm (revision 13064)
+++ src/report/stylesheets/stylesheet-fancy.scm (working copy)
@@ -194,7 +194,17 @@
      'attribute (list "text" textcolor)
      'attribute (list "link" linkcolor))

+;;;;
+;;;;
+;;;;
     (gnc:html-document-set-style!
+     ssdoc "number-header"
+     'tag "th"
+     'attribute (list "align" "right"))
+;;;;
+;;;;
+;;;;
+    (gnc:html-document-set-style!
      ssdoc "number-cell"
      'tag "td"
      'attribute (list "align" "right")
Index: src/report/stylesheets/stylesheet-easy.scm
===================================================================
--- src/report/stylesheets/stylesheet-easy.scm  (revision 13064)
+++ src/report/stylesheets/stylesheet-easy.scm  (working copy)
@@ -220,6 +220,16 @@
      'attribute (list "bgcolor" bgcolor)
      'attribute (list "text" textcolor)
      'attribute (list "link" linkcolor))
+;;;;
+;;;;
+;;;;
+    (gnc:html-document-set-style!
+     ssdoc "number-header"
+     'tag "th"
+     'attribute (list "align" "right"))
+;;;;
+;;;;
+;;;;

     (gnc:html-document-set-style!
      ssdoc "number-cell"

===========================================================================

_______________________________________________
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to