FOP-1099: process footnotes coming from table headers or footers The footnote will appear once at the first (resp. last) occurrence of the table-header (resp. -footer). Patch by Matthias Reischenbacher, applied with modifications.