Inline textboxes in docx file does not render when converting to EPUB

Using the .NET version of Aspose.Words 11.2, and the following code, a source docx file with an inline textbox does not render to a image when converting the document to an EPUB. The attached docx file is a minimal file that exhibits this behavior.

Also, we’ve seen this behavior with Aspose.Words 10.6. Using a .doc file seems to work, however, as does using textboxes that are non-inline.

----

private void button1_Click(object sender, EventArgs e)
{
Stream myStream = null;
OpenFileDialog openFileDialog1 = new OpenFileDialog();

openFileDialog1.InitialDirectory = “c:\”;
openFileDialog1.Filter = “All files (.)|.”;
openFileDialog1.FilterIndex = 1;
openFileDialog1.RestoreDirectory = true;

if (openFileDialog1.ShowDialog() == DialogResult.OK)
{
try
{
if ((myStream = openFileDialog1.OpenFile()) != null)
{
using (myStream)
{
Document doc = new Document(myStream);
String filename = openFileDialog1.FileName;
filename = Path.ChangeExtension(filename, “epub”);
doc.Save(filename);
}
}
}
catch (Exception ex)
{
MessageBox.Show("Error: Could not read file from disk. Original error: " + ex.Message);
}
}
}

Hi Kevin,


Thanks for your inquiry.

While using the latest version of Aspose.Words i.e. 11.2.0, I managed to reproduce this issue on my side. I have logged this issue in our bug tracking system as WORDSNET-6179. Your request has also been linked to this issue and you will be notified as soon as it is resolved. Sorry for inconvenience.

Best Regards,

The issues you have found earlier (filed as WORDSNET-6179) have been fixed in this .NET update and this Java update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.