I want to convert a word document into HTML string and store it in a DB. This stored Html string will show in UI. And also have to insert in another word document. While converting to Html, the numbered and bullet list is not coming properly. And some other issues also. So can you please help to solve the issue.
Attaching the input doc Sample_input_.pdf (550.1 KB)
Some exception also coming
Exception in thread "main" java.lang.ClassCastException: com.aspose.words.BookmarkEnd cannot be cast to com.aspose.words.CompositeNode
at Main.extractContent(Main.java:150)
at Main.main(Main.java:55)
To ensure a timely and accurate response, please attach the following resources here for testing:
Your input Word document.
Please attach the output HTML file that shows the undesired behavior.
Please attach the expected output HTML file that shows the desired behavior.
Please create a simple Java application ( source code without compilation errors ) that helps us to reproduce your problem on our end and attach it here for testing.
As soon as you get these pieces of information ready, we will start investigation into your issue and provide you more information. Thanks for your cooperation.
PS: To attach these resources, please zip and upload them.
In my document may contains the hidden contents(it could be paragraph, table, etc…).I wants to identify each hidden item and have to extract it. I am using java, I tried with the code specified in the documentation, but unfortunately I am getting error with the code. Can you please tell me the proper code.