image.png (78.5 KB)
Could you please elaborate your requirements further? Do you mean PDF Producer attribute and you want to change or remove it?
I want to remove it
You cannot remove the PDF Producer attribute from the generated PDF document via Aspose.Cells APIs. We have logged a ticket with an id “CELLSJAVA-44039” to investigate if we can actually remove it or not. Please note, we need to follow certain policy so it might not possible to allow uses to remove such an attribute from PDF documents as it is somehow trademark to Aspose.
Once we have an update on it, we will let you know.
But the aspose-word for java can remove it. Can you help us ?
The feature is supported in v21.11.5. We add new API PdfSaveOptions.setProducer(String value)
.
Code:
Workbook wb = new Workbook();
wb.getWorksheets().get(0).getCells().get("A1").putValue("Remove Producer");
PdfSaveOptions pdfSaveOptions = new PdfSaveOptions();
pdfSaveOptions.setProducer("");
wb.save("output.pdf", pdfSaveOptions);
aspose-cells-21.11.5-java.zip (7.5 MB)
The issues you have found earlier (filed as CELLSJAVA-44039) have been fixed in this update. This message was posted using Bugs notification tool