[GNC] Add a Line-Feed to Report Title

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[GNC] Add a Line-Feed to Report Title

Richard Marmor
In Gnucash 2.6.21, the standard report title for an Income Statement reads:

     (Company Name)(Report Title) For Period Covering (start date) to
(end date)

which for my purposes is too lengthy.

In the report's generator file, income-statement.scm, I found this:

  doc (sprintf #f
          (string-append "%s %s "
                   (_ "For Period Covering %s to %s"))
          company-name report-title
                (gnc-print-date start-date-printable)
                (gnc-print-date end-date-tp)))

Can someone tell me how to modify it so as to insert a line feed so the report
title will appear on two lines as:

     (Company Name)(Report Title)
     For Period Covering (start date) to (end date)

I am not a programmer.  I tried reading some of the help information among the
SCM files, but frankly it was all Greek to me.



gnucash-user mailing list
[hidden email]
To update your subscription preferences or to unsubscribe:
If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.