InsertStyleSeperator tag structure doesn't cascade while saving as pdf

AsposeExplore.7z (77.3 KB)
Team,

We use Aspose.Words .Net version 21.7.0 (with valid license) to generate pdfs, would like to confirm about an observation.

We use “Style Seperator” to apply different styles in a single paragraph to differentiate style identifiers “Heading 1” & “Normal”. like
image.png (1.8 KB)

To adhere ADA compliant document, our expectation is to bring the Heading 1 ‘H1’ text tag structure when saving it as pdf with “ExportDocumentStructure” set to true. But we get it only as paragraph ‘P’.
image.png (11.8 KB)

We would like to get a quick confirmation whether the version of API we use supports achieving this. If so what we are missing to get the expected behavior.

Attaching a sample project with exact example posted in official documentation about using style separator.

@rgvna258,

While using the latest (21.10) version of Aspose.Words for .NET, we managed to reproduce this issue on our end and have logged this issue in our bug tracking system with ID WORDSNET-22836. Your forum thread has also been linked to this issue and you will be notified here as soon as it will get resolved in future. Sorry for the inconvenience.

Thank you @awais.hafeez for the quick confirmation. Will look forward for the issue to be resolved.

@rgvna258,

Sure, we will keep you posted here on any further updates and inform you as soon as this issue will be resolved.