Skip to content

Upgrade Statement preview to template-base preview (German template version)

Replace the simple text-based Statement preview with HTML-template Thymeleaf preview.
Example of the current Statement preview:
image

Needs to be replaced with:
image

To HTML template-based preview consist of:

  • Logo header
  • Header e.g. Vorwahl-Querschnitt (GLES 2013): Fragebogen Seitenzahl ZA5700, Version 2.0.0, doi:10.4232/1.12000
  • Content:
  • Title

Note: See QuestionnaireEditorView line 1115 about generating preview in Statement. Follow line 1118 about generating Question preview with HTML template. https://git.gesis.org/stardat/stardat-ddieditor/blob/master/src/main/java/org/gesis/stardat/ui/QuestionnaireEditorView.java#L1115