Hi Gabrial,
Thanks for using Syncfusion products.
Query 1: XLExport.getExportProps() is considered part of the public API, as I didn't see it in the docs.
You can use getExportProps() public method for your requirement and we will update our UG Document with this public method.
Query 2: If the spreadsheet from Excel contains shapes, they disappear on import.
Currently we don’t have support for this requirement. However, we have added it to our feature request list [“Import with shapes support in ejSpreadsheet”], and it can be tracked through our feature management system.
Query 3: To replace the original "Picture" button in the ribbon
We suggest you to use “ribbonClick” client side event to achieve your requirement. In this event we suggest to set args.cancel as false to prevent default action. Please refer the below code examples.
[JS]
$(function () {
$("#Spreadsheet").ejSpreadsheet({
..//
ribbonClick: "ribbonclick"
});
});
function ribbonclick(args) {
if (args.Id && args.Id.indexOf('Pictures') > -1) { // checking whether the clicked button is picture or not.
args.cancel = true; // Prevent default action.
// Your code here.
}
} |
We have created simple sample with this requirement and the same can be downloaded from the below link. If we misunderstood your requirement, please get back to us with more information.
Query 4: When trying to import XLSX files that contain images, the operation fails with "Unsupported file" message.
Query 5: Charts and images look alright on import, but on export they sometimes move or get resized, even without any user modification in the component UI.
We have considered this ‘“UnSupported file” message while importing excel file with XLSX file ‘and ‘Exported chart gets moved or get resized even without any user modification in the component UI’ as an issue and a support incident has been created under your account to track the status of this requirement. Please log on to our support website to check for further updates.
Regards,
Shanmugaraja K