Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get the data of an embedded document inside a word document in Java

I am using Aspose library node collection to read a Word document node by node, but embedded documents are being identified as node of type shape. How can i get the data inside those documents. Is there any way to achieve this using Aspose words or any other library.

like image 898
lemon chow Avatar asked Jan 17 '26 19:01

lemon chow


1 Answers

Embedded objects in Aspose.Words Document Object Model are represented by Shape nodes with Shape.getOleFormat() property set. You can check whether OleFormat property is not null to identify embedded OLE objects. You can learn more about working with OLE objects from this article: https://docs.aspose.com/words/java/working-with-ole-objects/

like image 191
Alexey Noskov Avatar answered Jan 19 '26 18:01

Alexey Noskov



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!