Bullet item left indent is incorrect after DOCX to PDF conversion using .NET

Hi,

When converting a DOCX to PDF, I noticed the first bullet gets shifted.

Code:

var doc = new Document(@".\test.docx");
doc.LayoutOptions.TextShaperFactory = HarfBuzzTextShaperFactory.Instance;
doc.Save(@".\test.pdf");

I’ve attached the test files and a screenshot for your reference. Could you please take a look?

test.zip (55.6 KB)
image.png (47.2 KB)

Thanks,

After further analysis, I found that the extra shifting might come from the 4.5cm left margin on the bullet paragraph, where it seems to count from the end of the frame by Aspose, rather than the page.

image.png (22.8 KB)

I found that such settings are working fine when the paragraph does not start with a bullet (like the first paragraph in my screenshot), the issue only happens with bullets.

Hope this additional information would help your investigation as the issue is also quite important to us.

@ServerSide527

We have logged this problem in our issue tracking system as WORDSNET-20967 . 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-20967) have been fixed in this Aspose.Words for .NET 21.10 update also available on NuGet.