sample-report.scm (gnucash-5.0.tar.bz2) | : | sample-report.scm (gnucash-5.1.tar.bz2) | ||
---|---|---|---|---|
skipping to change at line 171 | skipping to change at line 171 | |||
(vector 'bad (N_ "The Bad")) | (vector 'bad (N_ "The Bad")) | |||
(vector 'ugly (N_ "The Ugly")))) | (vector 'ugly (N_ "The Ugly")))) | |||
;; This is a Report Title option using constants defined at the | ;; This is a Report Title option using constants defined at the | |||
;; beginning of the file. | ;; beginning of the file. | |||
(gnc-register-string-option optiondb | (gnc-register-string-option optiondb | |||
(N_ "Testing") optname-report-title | (N_ "Testing") optname-report-title | |||
"c" opthelp-report-title (N_ "Report Title Default")) | "c" opthelp-report-title (N_ "Report Title Default")) | |||
;; Setting a default section is optional but set in most reports. | ;; Setting a default section is optional but set in most reports. | |||
;; If not set, the default section will be the first section. | ;; If not set, the default section will be the first section. | |||
(gnc:options-set-default-section options "Tab B") | (gnc:options-set-default-section options "Tab B") | |||
(GncOptionDBPtr-set-default-section optiondb "Tab B") | (GncOptionDBPtr-set-default-section optiondb "Tab B") | |||
;; We still need to return the function wrapper instead of the GncOptionDBPtr f or all of the options functions in the reports system. | ;; We still need to return the function wrapper instead of the GncOptionDBPtr f or all of the options functions in the reports system. | |||
options)) | options)) | |||
;; ------------------------------------------------------------------ | ;; ------------------------------------------------------------------ | |||
;; This is the rendering function. It accepts a database of options | ;; This is the rendering function. It accepts a database of options | |||
;; and generates an object of type <html-document>. See the file | ;; and generates an object of type <html-document>. See the file | |||
;; report-html.txt for documentation; the file report-html.scm | ;; report-html.txt for documentation; the file report-html.scm | |||
;; includes all the relevant Scheme code. The option database passed | ;; includes all the relevant Scheme code. The option database passed | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |