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);
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);
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.
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.
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.
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”);
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.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.