Merge branch 'RED-10289' into 'master'
RED-10289: Fixed image placeholders are only replaced in tables Closes RED-10289 See merge request redactmanager/redaction-report-service!103
This commit is contained in:
commit
e51fc5eb74
@ -168,6 +168,7 @@ public class WordReportGenerationService {
|
||||
}
|
||||
}
|
||||
}
|
||||
replaceParagraphForImagePlaceholder(doc.getParagraphs(), imagePlaceholder, img);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -176,7 +176,7 @@ public class RedactionReportIntegrationTest {
|
||||
});
|
||||
List<ReportRedactionEntry> reportEntries = entityLogConverterService.convertAndSort(DOSSIER_ID, FILE_ID, entityLog, legalBasisMapping, new HashMap<>());
|
||||
|
||||
var wordTemplateResource = new ClassPathResource("templates/Justification Appendix A1.docx");
|
||||
var wordTemplateResource = new ClassPathResource("templates/AllPlaceholders.docx");
|
||||
var imageResource = new ClassPathResource("files/signature-40145.png");
|
||||
|
||||
var placeholders = buildPlaceHolderModel(Map.of("{{dossier.attribute.ActiveSubstance}}",
|
||||
|
||||
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user