From 236f52c7dd92ff33f94acf1261cf9d8564bdfaa2 Mon Sep 17 00:00:00 2001 From: Joeri Exelmans Date: Thu, 4 May 2023 11:35:01 +0200 Subject: [PATCH] Update template --- src/xopp2oml/template.oml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/xopp2oml/template.oml b/src/xopp2oml/template.oml index b4fb7b4..d5bf719 100644 --- a/src/xopp2oml/template.oml +++ b/src/xopp2oml/template.oml @@ -15,16 +15,12 @@ description <{{output_namespace}}#> as {{shorthand}} { ci model : xopp:Model [ object_diagram:hasName "{{shorthand}}" - ] - - ci file : xopp:File [ xopp:hasCreator {{ file.creator | to_oml_string_literal }} xopp:hasFileVersion {{ file.fileversion }} xopp:hasTitle {{ file.title | to_oml_string_literal }} {%- if file.preview != None %} xopp:hasPreview {{ file.preview | to_base64_string }} {%- endif %} - object_diagram:inModel model ] {%- for page_index, page in enumerate(file.pages) %} @@ -35,7 +31,7 @@ description <{{output_namespace}}#> as {{shorthand}} { xopp:hasBackgroundType {{ page.background_type | to_oml_string_literal }} xopp:hasBackgroundColor {{ page.background_color | to_oml_string_literal }} xopp:hasBackgroundStyle {{ page.background_style | to_oml_string_literal }} - xopp:inFile file + xopp:inFile model object_diagram:inModel model ]