Hello,
Currently, we are trying to convert word(docx/doc) file to html with the help of nuget package of Aspose.Words with version number 24.7.0.
Link: NuGet Gallery | Aspose.Words 24.7.0
For the conversion, we are using HtmlFixedSaveOptions as we want html to look same as the word file.
I have attached below files:
-
Original Document(TestDocument.docx)
TestDocument.docx (15.0 KB) -
Converted Document(DocxToHTML.html file inside the DocxToHTML.zip folder)
DocxToHTML.zip (7.4 KB)
If you observe the docx file then bookmark1 is given just before the âTâ character of Test1 line but in converted html bookmark1 shows before the bullet point 1.1
Second bookmark2 is given after the character âTâ of the Test2 line and it shows perfectly after T only in converted html file.
Please suggest a way for bookmark1 such that after the conversion it shows bookmark at the start of the sentence not at the start of bullet point.