Hi Amjad,
We don’t mind buying and using both license as far as it generates the desired output.
After setting up license for Cells, the evaluation text has been removed but the main issue still exist. It is not converting all the data from source file. I have attached source and output file for your reference. It is very crucial for us to convert all the data if we have to go ahead with Aspose. Can you please advise on this?
.Net Code :
var sourceDir = “C:\Project\XBRL\”;
var outputDir = “C:\Project\XBRL\”;
// Load XBRL document
XbrlDocument document = new XbrlDocument(sourceDir + @“CONF-ATO-IITR-SRP-004_Prefill_Response_03.xml”);
Aspose.Finance.License license = new Aspose.Finance.License();
license.SetLicense(“Aspose.Financefor.NET.lic”);
Aspose.Cells.License lic = new Aspose.Cells.License();
lic.SetLicense(“Aspose.Cellsfor.NET.lic”);
// Set save options
Aspose.Finance.Xbrl.SaveOptions saveOptions = new Aspose.Finance.Xbrl.SaveOptions();
saveOptions.SaveFormat = Aspose.Finance.Xbrl.SaveFormat.XLSX;
// Save XBRL as XLSX in File Stream
FileStream fs = new FileStream(“sample_out_2.xlsx”, FileMode.Create);
document.Save(fs, saveOptions);
// Open an Excel file
Workbook workbook = new Workbook(fs);
workbook.Save(outputDir + “Aspose_sample_output_2.pdf”);
image001.png (1.04 KB)
Aspose_sample_output_2.pdf (43.5 KB)
(Attachment CONF-ATO-IITR-SRP-004_Prefill_Response_03.xml is missing)