提交 abf01ddf authored 作者: Evgenij Ryazanov's avatar Evgenij Ryazanov

Include h1 headers in table of contents in PDF

上级 30c35b0c
......@@ -29,6 +29,10 @@ sub H2Pdf
HeadingStyle.BreakType = 3 ' Insert Page Break Before
HeadingStyle.ParaKeepTogether = false
For i = 1 to 4
ParagraphStyles.getByName("Heading " + i).OutlineLevel = i
Next
images = document.GraphicObjects
For i = 0 to images.getCount() - 1
image = images.getByIndex(i)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论