It focuses on the Publish > Miscellaneous Reports > Note Records standard report plugin but similar issues affect the others:
Calendar, File Statistics, Individual Scrapbook, Place Report, Research Notes, Sources and Citations, and Tagged Notes.
In particular, the Note Records report repeats a truncated version of the Note text as the Heading Level 1 text.
That is not very attractive and there is no way to change it on the Report > Options > Format tab as in most standard reports.
Similarly, the other report plugins have no way to change the Heading Level 1 text via the Format tab.
To overcome that particular problem, I supplied the user with a custom Note Records report plugin that uses the Custom Id field of the Note record as the Heading Level 1 text, and published an enhanced version of that in the Plugin Store.
The Restore Defaults button for the Sources tab and Page Layout tab usually does NOT restore the settings!
I investigated the FH_Reset(sTab) function. The first wrinkle is that tab names are lower-case with Page Layout called 'layout'.
Trying to associate the .fhr ini-file settings with the tab settings is tediously awkward and there are a lot of them!
There needs to be a simple way to restore the standard defaults that plugin authors can invoke.
Furthermore, if such report plugins are incorporated into a Book or Booklet there are further issues, which may be because of the CI_BOOK_ITEM_HEADING feature not being used in the supplied plugins.
- The Chapter number is not prefixed on the Heading Level 1 text when the report created by the plugin is a Chapter.
- Usually, in the Edit Book dialogue, after selecting a report from the Current Book Items, the Settings cog button allows various options to be adjusted but they misbehave for report plugins:
- The Item tab offers Heading and Format options that are somewhat disregarded by report plugins.
- The Format tab offers many irrelevant options that are not supported by report plugins.
- If a standard report with multiple records is added to a Book then each record is assigned to a separate Chapter.
A plugin report with multiple records is entirely assigned to just one Chapter so each record cannot have a separate Chapter number.