|
|
|
@ -50,7 +50,7 @@ public class OfficeToPdfService {
|
|
|
|
|
if(ConfigConstants.getOfficeExportNotes()){
|
|
|
|
|
filterData.put("ExportNotes", true); //批注作为PDF的注释
|
|
|
|
|
}
|
|
|
|
|
if(!ConfigConstants.getOfficeDocumentOpenPasswords()){
|
|
|
|
|
if(ConfigConstants.getOfficeDocumentOpenPasswords()){
|
|
|
|
|
filterData.put("DocumentOpenPassword", fileAttribute.getFilePassword()); //给PDF添加密码
|
|
|
|
|
}
|
|
|
|
|
Map<String, Object> customProperties = new HashMap<>();
|
|
|
|
|