From b3fe3841fa4ad3fa834f23065a8edf33031d285f Mon Sep 17 00:00:00 2001 From: OZGCloud <ozgcloud@mgm-tp.com> Date: Tue, 8 Nov 2022 13:38:10 +0100 Subject: [PATCH] OZG-2966 base for nachrichten export template --- .../resources/fop/postfach-nachrichten.xsl | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 goofy-server/src/main/resources/fop/postfach-nachrichten.xsl diff --git a/goofy-server/src/main/resources/fop/postfach-nachrichten.xsl b/goofy-server/src/main/resources/fop/postfach-nachrichten.xsl new file mode 100644 index 0000000000..3daed3ceb7 --- /dev/null +++ b/goofy-server/src/main/resources/fop/postfach-nachrichten.xsl @@ -0,0 +1,43 @@ +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" version="1.1"> + + <xsl:template name="functional-template" match="/testModel"> + <fo:flow flow-name="xsl-region-body"> + + <fo:block font-size="14pt"> + <fo:table> + <fo:table-column column-width="50mm" /> + <fo:table-column column-width="100%"/> + <fo:table-body> + <fo:table-row> + <fo:table-cell> + <fo:block>Vorgangsname</fo:block> + </fo:table-cell> + <fo:table-cell> + <fo:block>Versammlungsanzeige</fo:block> + </fo:table-cell> + </fo:table-row> + + <fo:table-row> + <fo:table-cell> + <fo:block>Vorgangsnummer</fo:block> + </fo:table-cell> + <fo:table-cell> + <fo:block>12345</fo:block> + </fo:table-cell> + </fo:table-row> + </fo:table-body> + </fo:table> + </fo:block> + + <fo:block-container font-size="11pt" margin-top="1cm"> + <fo:block font-size="14pt">Nachrichten</fo:block> + + <xsl:apply-templates select="nachricht"/> + </fo:block-container> + </fo:flow> + </xsl:template> + + <xsl:template name="nachricht"> + <fo:block>nachricht</fo:block> + </xsl:template> +</xsl:stylesheet> \ No newline at end of file -- GitLab