Disable writing to file again

This commit is contained in:
Georg Berky 2023-04-25 10:25:39 +02:00
parent 7fabab2cc1
commit 619d32d203
1 changed files with 2 additions and 0 deletions

View File

@ -503,9 +503,11 @@ public final class TestXWPFDocument {
IntStream.rangeClosed(1, numberOfPictures).forEach(
i -> addImage(document.createParagraph(), "/bugfixing/" + i + ".png"));
/*
document.write(Files.newOutputStream(new File(
System.getProperty("user.home"),
String.format("/Desktop/out/%d_%d-out.docx", numberOfPictures, numberOfShapes)).toPath()));
*/
Set<String> docPrIds = new HashSet<>();
XWPFParagraph p = document.getParagraphs().get(0);