During conversion from .doc file to .docx using Aspose Words for Java a shape has been changed. Please look at code below:
import com.aspose.words.Document;
import com.aspose.words.SaveFormat;
public class Main
{
/**.*/
public static void main(String[] args) throws Exception
{
String inputFile = "C:/test/input.doc";
String outputFile = "C:/test/output-aspose.docx";
Document asposeDoc = new com.aspose.words.Document(inputFile);
asposeDoc.save(outputFile, SaveFormat.DOCX);
}
}
I have also attached input and output file from both Aspose and MS Office Word: test.zip (25.7 KB).
The shape does not get changed when using MS Office Word for conversion.
I use Aspose Words 16.11.0., but I managed to reproduce the issue on the newest version of Aspose Words for Java.