Incorrect headings numbering when save doc to pdf

Hi!
I’m using aspose-words.17.2.0.
Make com.aspose.words.Document object using InputStream as a source and call save-method using com.aspose.words.PdfSaveOptions as argument.

In source doc-file have one row.
1 Sssssssssssss ssssssssss sssssss

is the heading

In result pdf-file:
2 Sssssssssssss ssssssssss sssssss

Ie was number 1 became 2

When use Adobe plugin, the heading number does not change
Please, tell me how to solve this problem.

In attachment - source file and result file

Hi Alexey,

Thanks for your inquiry. We have tested the scenario and have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-15226. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

The issues you have found earlier (filed as WORDSNET-15226) have been fixed in this Aspose.Words for .NET 18.4 update and this Aspose.Words for Java 18.4 update.