|
@@ -50,7 +50,7 @@ public class OfficeToPdfService {
|
|
|
if(ConfigConstants.getOfficeExportNotes()){
|
|
|
filterData.put("ExportNotes", true);
|
|
|
}
|
|
|
- if(!ConfigConstants.getOfficeDocumentOpenPasswords()){
|
|
|
+ if(ConfigConstants.getOfficeDocumentOpenPasswords()){
|
|
|
filterData.put("DocumentOpenPassword", fileAttribute.getFilePassword());
|
|
|
}
|
|
|
Map<String, Object> customProperties = new HashMap<>();
|