We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Save xls,xlsx,ppt,pptx documents into Strict Open XML Spreadsheet /Presentation

Want to save below documents-
-Excel documents(xls/xlsx) into Strict Open XML Spreadsheet (.xlsx)
-Presentation documents(ppt/pptx) into Strict Open XML Presentation (
.pptx)

Currently using below code-
For excel documents-
var workbook = new Workbook(sourcePath);
workbook.Save(destinationPath, SaveFormat.Xlsx);
workbook.Save(destinationPath, SaveFormat.Xltx);
workbook.Save(destinationPath, SaveFormat.Xlsm);
workbook.Save(destinationPath, SaveFormat.Xlsb);

For presentation documents-
pptDocument.Save(destinationPath, SaveFormat.Pptx);

Please suggest.

@harsh1691,

We need more details about your requirements. Please share sample input and output files for both Excel and Presentation documents along with more elaboration. We will look into the samples and update you about our findings. Furthermore please visit the link SpreadsheetML (XLSX, XML) for details on what Open XML spreadsheet formats are supported by Aspose.Cells.

We want to save any Excel and Presentation documents into Strict Open XML format, just like word documents using below code in Aspose -

var currentDocumentDoc = new Document(sourcePath);
var docSaveOptionDoc = new OoxmlSaveOptions
{
Compliance = OoxmlCompliance.Iso29500_2008_Strict,
SaveFormat = SaveFormat.Docx
};
currentDocumentDoc.Save(destinationPath, docSaveOptionDoc);

Please suggest.

@harsh1691,

This is to update you that this feature is not available for Aspose.Cells. The issue has been logged into our system with ID CELLSNET-46023 further investigation. We will update you here once there is some information or a fix version available in this regard.

@ikram.haq,

Is this feature available for presentation documents(ppt/pptx)?

We also want to save ppt/pptx files into Strict Open XML Presentation (.pptx).

Please suggest.

@harsh1691,

We are sorry. This feature is not available for Aspose.Slides as well. The issue has already been logged into our system with ID SLIDESNET-35568 further investigation. We will update you here once there is some information or a fix version available in this regard.

Hi Team,
Do we have any updates on the issue SLIDESNET-35568. We really need it at this movement. Can you please update the status ETA

@ITCUser,

This is to update you that the issue SLIDESNET-35568 is still unresolved. We will update you here once there is some information or a fix version available in this regard. We are sorry for the inconvenience caused.

The issues you have found earlier (filed as CELLSNET-46023) have been fixed in this update. Please also check the document/article for your reference: https://docs.aspose.com/display/cellsnet/Installation

@ITCUser

Please see the following sample code and screenshot for your reference. It explains how to save the Excel file in Strict Open XML Spreadsheet format.

C#

//Create workbook.
Workbook wb = new Workbook();

//Specify - Strict Open XML Spreadsheet.
wb.Settings.Compliance = OoxmlCompliance.Iso29500_2008_Strict;

//Save to output Excel file.
wb.Save("Out.xlsx");

Screenshot:

The issues you have found earlier (filed as SLIDESNET-35568) have been fixed in this update.

Hi,

Please provide code sample/documentation for Save ppt,pptx documents into Strict Open XML Presentation (*.pptx) in Aspose.Slides(v18.8)

Thanks.

@ITCUser,

This is the same PPTX presentation but in Strict Open XML Presentation format. The process of loading and saving is same as loading and saving normal PPTX. Earlier, an exception was thrown for such format presentation.

Upgraded pptx documents from old ppt/pptx documents, we want to save type as Strict Open XML Presentation format which is not working in Aspose.Slides v18.8, like you have provided for Excel as below
//Create workbook.
Workbook wb = new Workbook();
//Specify - Strict Open XML Spreadsheet.
wb.Settings.Compliance = OoxmlCompliance.Iso29500_2008_Strict;
//Save to output Excel file.
wb.Save(“Out.xlsx”);

Thanks.

@ITCUser,

I have observed the requirements shared by you and regret to share that the concerned support is presently unavailable in API. An issue with ID SLIDESNET-40523 has been added in our issue tracking system to provide requested support. This thread has been linked with the issue so that you may be notified once the support will be available.

The issues you have found earlier (filed as SLIDESNET-40523) have been fixed in this update.