diff --git a/src/main/java/org/damap/base/conversion/ExportFWFTemplate.java b/src/main/java/org/damap/base/conversion/ExportFWFTemplate.java index f663575d..93145cb4 100644 --- a/src/main/java/org/damap/base/conversion/ExportFWFTemplate.java +++ b/src/main/java/org/damap/base/conversion/ExportFWFTemplate.java @@ -34,7 +34,7 @@ public XWPFDocument exportTemplate(long dmpId) { xwpfParagraphs = document.getParagraphs(); xwpfTables = document.getTables(); // get template table containing all information that needs to be replaced. - XWPFTable templateTable = xwpfTables.get(3); + XWPFTable templateTable = xwpfTables.get(2); // get tables within template table List templateXwpfTables = parseContentTables(templateTable); diff --git a/src/main/resources/org/damap/base/template/FWFTemplate.docx b/src/main/resources/org/damap/base/template/FWFTemplate.docx index 495a9235..c7950648 100644 Binary files a/src/main/resources/org/damap/base/template/FWFTemplate.docx and b/src/main/resources/org/damap/base/template/FWFTemplate.docx differ