Aspose support for Office 13 Strict Open XML

Hi,
I was going through your forums and saw posts which did say Aspose was compatible with Office 2013 and docx files, but I was having an issue opening/manipulating a Strict Open XML Office 2013 file (one that had no backward compatibility). I am attaching this file for your consideration. I use Aspose.Words for Java (13.5).

Yet another query I had was about whether we can specify the Open XML file formats (whether we can specify if the save format conforms to Transitional Open XML or Strict Open XML). Thanks.

Hi,

Thanks for your inquiry. First off, we have just released a new version of Aspose.Words (13.7.0) here and I would suggest you please upgrade to the latest version of Aspose.Words.

With Aspose.Words for Java 13.7.0, I was able to successfully open/manipulate your Strict Open XML Office 2013 file on my side. I used the following code and did not encounter any problems on my side:

Document doc = new Document("C:\Temp\This+is+a+test+of+Office+2013▒+Strict.docx");

DocumentBuilder builder = new DocumentBuilder(doc);

builder.moveToDocumentEnd();

builder.writeln("A new Paragraph");

doc.save("C:\Temp\out.docx");

However, to investigate if Aspose.Words fully supports ISO/IEC 29500 Strict/Word 2013 OOXML format during load and save, we have already logged a task in our issue tracking system with ID WORDSNET-7741. Your thread has been linked to this issue and you will be notified as soon as it is worked out. Sorry for the inconvenience.

Moreover, you can specify Iso29500_2008_Transitional OOXML specification option to use when saving in the DOCX format as follows:

Document doc = new Document("C:\Temp\This+is+a+test+of+Office+2013▒+Strict.docx");

OoxmlSaveOptions saveOptions = new OoxmlSaveOptions(SaveFormat.DOCX);

saveOptions.setCompliance(OoxmlCompliance.ISO_29500_2008_TRANSITIONAL);

doc.save("C:\Temp\out.docx", saveOptions);

Please let me know if I can be of any further assistance.

Best regards,

Hi Awais,
If the latest version of Aspose does support the loading of Strict OOXML files, has there been any change in the LoadFormat class to indicate the file format of such a file? The last I saw, the LoadFormat class could not let us know the type of OOXML format of the file for loading. Thanks.

Hi,

Thanks for your request. We will add members to LoadFormat and SaveFormat enumerations for Strict Open XML Document (.docx) format in future. I have logged a new feature request in our issue tracking system. The ID of this feature is WORDSNET-8702. Your thread has also been linked to this issue and you will be notified as soon as it is resolved. Sorry for the inconvenience.

Best regards,

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

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

The issues you have found earlier (filed as WORDSNET-8702) have been fixed in this Aspose.Words for .NET 18.12 update and this Aspose.Words for Java 18.12 update.