feat(pdf): TOC may be rendered without a headline
feat(pdf): TOC may be rendered without a headline

(cherry picked from commit 2186001)

artemeon/core,artemeon/core,artemeon/core,artemeon/core,artemeon/core