Show all section headers in html, pdf outputs if there is no data Fixes #19779