Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files. Get free and professional technical support for Spire.Doc for .NET, Java, Android, C++, Python.
Tue May 10, 2016 2:31 am
Hi E-iceblue Team,
When I convert a word document to html file, I cannot see the table of contents. Could you please show me how can i resolve this issue ? (see my attached file)
Thanks for your feedback and your files. I have tested your word document and noticed your issue. I have forwarded it to our dev team.Once it is resolved, we will let you know.
Sincerely, Caroline E-iceblue support team
Last edited by caroline.zhang on Mon Jun 13, 2016 5:59 am, edited 1 time in total.
Thanks for your response. I tried to test the new version. Yes, table of contents can be appeared now but I think it's not good look as the Word document (see TocResult.png)
Thank you for your further feedback. Our developers told me that they cannot resolve the issue at present because html doesn't have tab character, they used blank characters to replace tab characters. So there are some differences as you see. Sorry for the inconvenience caused by the issue.
I met another issue that related to table of contents, dash line position is incorrect after converting HTML file to PDF (see Demo.rar) Could you please show me how can I make the dash line position in PDF correctly as the same with HTML file.
I have replicated the issue using Spire.Doc and forwarded it to our dev team. And I tested it with Spire.PDF and it converted correctly. We recommend you to use Spire.PDF to do it.