Hi Team,
When i tried to convert excel to pdf, category axis tick labels is not displayed fully in pdf. (variation in Excel and PDF is seen).
I am using aspose.cells.8.7.1.4 jar in java code.
Here by i attached the sample code, input and output for your reference.
Thanks & Regards,
Vijayaa
Hi,
Workbook workbook = new Workbook(“SAMPLE_A.xlsx”);
Worksheet worksheet = workbook.getWorksheets().get(0);
PageSetup pageSetup = worksheet.getPageSetup();
PdfSaveOptions saveOptions = new PdfSaveOptions(com.aspose.cells.SaveFormat.PDF);
saveOptions.setAllColumnsInOnePagePerSheet(true);
saveOptions.setOnePagePerSheet(true);
saveOptions.setCreatedTime(DateTime.getNow());
pageSetup.setLeftMargin(0.5);
pageSetup.setRightMargin(0.5);
pageSetup.setTopMargin(0.5);
pageSetup.setBottomMargin(0.5);
saveOptions.setImageResample(220, 100);
//To avoid overlapping of hint text with Title
//worksheet.getCells().get(“A1”).setValue(null);
worksheet.getCells().deleteRow(0);
//worksheet.autoFitRows();
workbook.save(“out1.pdf”, saveOptions);
I have logged a ticket with an id “CELLSJAVA-41802” for your issue. We will look into it soon.
Once we have any update on it, we will let you know here.
Thank you.
Hi Team,
Hi Vijayaa,
Hi Team,
Hi,
Thanks for your posting and using Aspose.Cells.
We are afraid, there is no update for you regarding this issue at this moment. However, we have logged your comment in our database for product team consideration and requested the team to provide some fix or ETA for this issue. Once, there is some news for you, we will let you know asap.
Hi,
Thanks for your using Aspose.Cells.
Please download and try the latest fix: Aspose.Cells for Java (Latest Version) and let us know your feedback.
The issues you have found earlier (filed as CELLSJAVA-41802) have been fixed in this update.
This message was posted using Notification2Forum from Downloads module by Aspose Notifier.