请参阅以下使用aspose.cells for java完成任务的示例代码,以供参考: 例如 示例代码:
// Open an Excel file
Workbook workbook = new Workbook("Book1.xlsx");
// Retrieve a list of all custom document properties of the Excel file
CustomDocumentPropertyCollection customProperties = workbook.getWorksheets().getCustomDocumentProperties();
// Adding a custom document property to the Excel file
DocumentProperty publisher = customProperties.add("Publisher", "Aspose");
// Save the file
workbook.save("out1.xlsx", SaveFormat.XLSX);
1条答案
按热度按时间xlpyo6sf1#
请参阅以下使用aspose.cells for java完成任务的示例代码,以供参考:
例如
示例代码:
另外,我在aspose担任支持开发者/传道者。