From 8782c067fe6434f82c61411cd998379e49dccd63 Mon Sep 17 00:00:00 2001 From: zlovarp <arpad.lovassy@semcon.com> Date: Tue, 26 Jan 2021 01:30:46 +0100 Subject: [PATCH] added doc converters Signed-off-by: zlovarp <arpad.lovassy@semcon.com> --- .../TITAN_Executor_API/doc/uml/uxfconvert.sh | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100755 titan_executor_api/TITAN_Executor_API/doc/uml/uxfconvert.sh diff --git a/titan_executor_api/TITAN_Executor_API/doc/uml/uxfconvert.sh b/titan_executor_api/TITAN_Executor_API/doc/uml/uxfconvert.sh new file mode 100755 index 000000000..a3af9f903 --- /dev/null +++ b/titan_executor_api/TITAN_Executor_API/doc/uml/uxfconvert.sh @@ -0,0 +1,26 @@ +############################################################################### +# Copyright (c) 2000-2019 Ericsson Telecom AB +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +# +# Contributors: +# Lovassy, Arpad +# +############################################################################### + +# Converts UML diagrams from uxf format to pdf and png + +# Prerequisites: +# sudo apt-get install umlet + +for fe in *.uxf; do + [ -f "$fe" ] || break + #remove extension + f=${fe%.uxf} + echo $f + umlet -action=convert -format=pdf -filename=$f.uxf -output=$f.pdf + umlet -action=convert -format=png -filename=$f.uxf -output=$f.png +done + -- GitLab