Issue with conversion .docx (with table of content) to .html


#1

Hi,
I’d like to report an issue with conversion .docx to .html.

When I try to get first 7 pages or less the component works fine,
but when I try to get first 10 pages component throws an exception.

The problem seems to be with document’s “table of content”, because when I remove it component works fine even for much bigger documents.

Example .docx document is attached.
Source.zip (37.3 KB)

Exception:
System.InvalidOperationException: Stack empty

There was a similar issue:

Component is for .NET v18.10

Can you please advise me?

Kind regards


#2

@SwdS_User,

Thank you for your inquiry.
Can you please share sample code or project using that we can reproduce this issue?

Using provided file, we can successfully generate output - result-Source.zip (40.9 KB)