I created a word document with images and I want with Aspose.Word to save it with an html file with images, I tried several ways and I did not do it. Please request help to carry out this process.
I have used the following code (using Aspose.word for JAVA):
Document doc = new Document(fileDirectory + File.separator + nameWordFile);
ByteArrayOutputStream baos1 = new ByteArrayOutputStream();
byte byteFileHtml = baos1.toByteArray();
ByteArrayInputStream bais1 = new ByteArrayInputStream(byteFileHtml);
and the “bais1” content does not contain images.