Please review the XLSX generated for the attached file.
Even though this document pages are the same format, some pages are being extracted differently.
At this sample, first page, the first left column is together with the central description column. At the second and third page, the left column is apart from the description, which is the desired behavior.
public JsonResult PDFtoXLSX(FormCollection formCollection)
{
var inputFile = Request.Files[0];
Aspose.Pdf.License useLicence = new();
useLicence.SetLicense(_localKey);
var document = new Document(inputFile.InputStream);
var setting = new ExcelSaveOptions { MinimizeTheNumberOfWorksheets = true };
var outputPath = ...;
// save document in XLS format
document.Save(outputPath, setting);
return Json(new
{
success = true,
}, JsonRequestBehavior.AllowGet);
}
We tried to test the scenario in our environment using Aspose.PDF for .NET 23.7 and noticed that the program kept running without producing any output. Can you please share how much time it is taking at your end and how much memory consumption it is taking? We will further proceed to assist you accordingly.
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.
Issue ID(s): PDFNET-55161
You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.
We would like to share with you that the issue has been resolved in 23.8 version of the API which will be available soon in this month i.e. August 2023. We will notify you once new release is published.