diff --git a/hdoc_to_opale/input/sample.hdoc b/hdoc_to_opale/input/sample.hdoc new file mode 100644 index 0000000000000000000000000000000000000000..1bb1a769070f8b0ace15f985d4835192e0f6f105 Binary files /dev/null and b/hdoc_to_opale/input/sample.hdoc differ diff --git a/mindmapping_to_hdoc/input/sample.mm b/mindmapping_to_hdoc/input/sample.mm new file mode 100644 index 0000000000000000000000000000000000000000..9b3f311f997ae9f27cfdc19f81b2f169d6f48c85 --- /dev/null +++ b/mindmapping_to_hdoc/input/sample.mm @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/mindmapping_to_hdoc/mindmapping_to_hdoc.ant b/mindmapping_to_hdoc/mindmapping_to_hdoc.ant index 1d1ce9cc8feebd3f6787dad5263abb843673ab5d..d44cd8e09d1e134e33e0b0bfb1130786407b8af4 100755 --- a/mindmapping_to_hdoc/mindmapping_to_hdoc.ant +++ b/mindmapping_to_hdoc/mindmapping_to_hdoc.ant @@ -2,7 +2,8 @@ - + + @@ -13,9 +14,6 @@ - - - ----------------------------Begin of @@ -25,10 +23,20 @@ ----------------------------End of conversion---------------------------------- - + + + Setting up the conversion + + + + + --- End ---- + + + InputPath : ${inputPath} - + @@ -39,7 +47,9 @@ - There is an input path in parameter : conversion of this file + There is an input path in parameter : conversion of the file ${inputPath} + + filename ${filename} @@ -56,11 +66,11 @@ - + - + @@ -68,19 +78,6 @@ - - - - - Setting up the conversion - - - - - --- End ---- - - Begin data conversion diff --git a/mindmapping_to_hdoc/mindmapping_to_opale/input/sample3.mm.hdoc b/mindmapping_to_hdoc/mindmapping_to_opale/input/sample3.mm.hdoc new file mode 100644 index 0000000000000000000000000000000000000000..6d8626a649d6f0e12fd0c4f92c51b21f59873356 Binary files /dev/null and b/mindmapping_to_hdoc/mindmapping_to_opale/input/sample3.mm.hdoc differ diff --git a/mindmapping_to_hdoc/mindmapping_to_opale/input/sample3.mm/META-INF/container.xml b/mindmapping_to_hdoc/mindmapping_to_opale/input/sample3.mm/META-INF/container.xml new file mode 100644 index 0000000000000000000000000000000000000000..d657304eb4bf2cf2f69508dd1d39678d6dad6872 --- /dev/null +++ b/mindmapping_to_hdoc/mindmapping_to_opale/input/sample3.mm/META-INF/container.xml @@ -0,0 +1,2 @@ + \ No newline at end of file diff --git a/mindmapping_to_hdoc/mindmapping_to_opale/input/sample3.mm/content.xml b/mindmapping_to_hdoc/mindmapping_to_opale/input/sample3.mm/content.xml new file mode 100644 index 0000000000000000000000000000000000000000..68de2c567cca4d34225d68f2998d73a92bb58966 --- /dev/null +++ b/mindmapping_to_hdoc/mindmapping_to_opale/input/sample3.mm/content.xml @@ -0,0 +1,97 @@ + + + + + MindMapping + + + + +
+
+

MindMapping

+
This converter aims at convert a given MindMapping file into a Hdoc file which then will be imported in Opale (advanced only).
+
+
+
+

MindMapping to Hdoc

+
+
+
+

Prendre en main le projet existant

+
+
+
+
+

Corriger les bugs existants

+
+
+
+
+

Restructurer le ant

+
+
+
+
+
+
+

MindMapping to Opale

+
+
+
+

Faire la connexion avec le transformateur Hdoc to Opale

+
+
+
+
+

Permettre la personnalisation de l'organisation du module

+
+
+
+
+

Permettre la personnalisation dy type de noeud (Intro, conclusion etc.)

+
+
+
+
+

Permettre la personnalisation grâce aux couleurs/icônes

+
+
+
+
+
+
+

MindMapping to Optim

+
+
+
+

Faire la connexion avec le transformateur Hdoc to Optim

+
+
+
+
+
+
+

MindMapping to Lexique

+
+
+
+

Faire la connexion avec le transformateur Hdoc to Lexique

+
+
+
+
+
+
+

Prendre d'autres outils de carte mentales en entrée

+
+
+
+
Ma conclusion
+
+
+ + diff --git a/mindmapping_to_hdoc/mindmapping_to_opale/input/sample3.mm/mimetype b/mindmapping_to_hdoc/mindmapping_to_opale/input/sample3.mm/mimetype new file mode 100644 index 0000000000000000000000000000000000000000..3cc8d0b8748f84cbdda13f46ac2b4fe9c3977048 --- /dev/null +++ b/mindmapping_to_hdoc/mindmapping_to_opale/input/sample3.mm/mimetype @@ -0,0 +1 @@ +application/x-hdoc+zip diff --git a/mindmapping_to_hdoc/mindmapping_to_opale/input/sample4.mm.hdoc b/mindmapping_to_hdoc/mindmapping_to_opale/input/sample4.mm.hdoc new file mode 100644 index 0000000000000000000000000000000000000000..f1573b321bf6fea0a0ea3549dd2c6dd6cf015d60 Binary files /dev/null and b/mindmapping_to_hdoc/mindmapping_to_opale/input/sample4.mm.hdoc differ diff --git a/mindmapping_to_hdoc/mindmapping_to_opale/input/sample4.mm/META-INF/container.xml b/mindmapping_to_hdoc/mindmapping_to_opale/input/sample4.mm/META-INF/container.xml new file mode 100644 index 0000000000000000000000000000000000000000..d657304eb4bf2cf2f69508dd1d39678d6dad6872 --- /dev/null +++ b/mindmapping_to_hdoc/mindmapping_to_opale/input/sample4.mm/META-INF/container.xml @@ -0,0 +1,2 @@ + \ No newline at end of file diff --git a/mindmapping_to_hdoc/mindmapping_to_opale/input/sample4.mm/content.xml b/mindmapping_to_hdoc/mindmapping_to_opale/input/sample4.mm/content.xml new file mode 100644 index 0000000000000000000000000000000000000000..f0958fee22ebb898e415ec4fe6baa2c7d845e2c7 --- /dev/null +++ b/mindmapping_to_hdoc/mindmapping_to_opale/input/sample4.mm/content.xml @@ -0,0 +1,74 @@ + + + + + Compte rendu reunion + + + + +
+
+

Compte rendu reunion

+
+
+
+

Avancé du travail

+
+
+
+

Amélioration du rendement

+
+
+
+
+

Création d'un nouveau systeme de paiement

+
+
+
+
+
+
+

Résultat courrant

+
+
+
+

70% du travail fait

+
+
+
+
+
+
+

Rappel du travail à realiser

+
+
+
+

Changement du process de relation client

+
+
+
+

Formation

+
+
+
+
+

Sondage clientèle

+
+
+
+
+
+
+

Trouver de nouveaux client d'ici la fin de l'année

+
+
+
+
+
+
+ + diff --git a/mindmapping_to_hdoc/mindmapping_to_opale/input/sample4.mm/mimetype b/mindmapping_to_hdoc/mindmapping_to_opale/input/sample4.mm/mimetype new file mode 100644 index 0000000000000000000000000000000000000000..3cc8d0b8748f84cbdda13f46ac2b4fe9c3977048 --- /dev/null +++ b/mindmapping_to_hdoc/mindmapping_to_opale/input/sample4.mm/mimetype @@ -0,0 +1 @@ +application/x-hdoc+zip diff --git a/mindmapping_to_hdoc/run.bat b/mindmapping_to_hdoc/run.bat index d4c33bdf49006307a370a676336522f4c4b5547f..709e8b274fbb9729af6055b0f470c2679f38878c 100755 --- a/mindmapping_to_hdoc/run.bat +++ b/mindmapping_to_hdoc/run.bat @@ -2,10 +2,13 @@ set lib=lib set ant=mindmapping_to_hdoc.ant set antparam=-Dprogram.param=%1 +set inputPath=%2 set scJarList=%lib%\* -java.exe -classpath "%scJarList%" -Xmx150m org.apache.tools.ant.Main -buildfile %ant% %antparam% +if defined %inputPath% java.exe -classpath "%scJarList%" -Xmx150m org.apache.tools.ant.Main -buildfile %ant% %antparam% -DinputPath %inputPath% +pause +if not defined %inputPath% java.exe -classpath "%scJarList%" -Xmx150m org.apache.tools.ant.Main -buildfile %ant% %antparam% pause REM start /MIN java.exe -classpath "%scJarList%" -Xmx150m org.apache.tools.ant.Main -buildfile %ant% %antparam% diff --git a/mindmapping_to_hdoc/run.sh b/mindmapping_to_hdoc/run.sh index 4cd3bae6d6631e7cba2a0500fe536163579a45e8..bf2ebdc0e40b410341775702ef0ba65e2894cc3c 100755 --- a/mindmapping_to_hdoc/run.sh +++ b/mindmapping_to_hdoc/run.sh @@ -2,6 +2,7 @@ lib="lib" ant="mindmapping_to_hdoc.ant" antparam="-Dprogram.param=$1" +inputPath="$2" #Recherche de java et controle que se soit une version SUN vJavaCmd="java" @@ -31,5 +32,10 @@ fi #Lancer la commande scJarList="$lib/*" - -$vJavaCmd -classpath "$scJarList:" -Xmx150m org.apache.tools.ant.Main -buildfile $ant $antparam +if [ "$inputPath" == '' ] ; then + echo "Appel sans paramètre" + $vJavaCmd -classpath "$scJarList:" -Xmx150m org.apache.tools.ant.Main -buildfile $ant $antparam +else + echo "Appel avec paramètre" + $vJavaCmd -classpath "$scJarList:" -Xmx150m org.apache.tools.ant.Main -buildfile $ant $antparam -DinputPath $inputPath +fi \ No newline at end of file diff --git a/mindmapping_to_opale/README.md b/mindmapping_to_opale/README.md new file mode 100644 index 0000000000000000000000000000000000000000..e0dc5aceb0449bd2393866dcb732082f08c48352 --- /dev/null +++ b/mindmapping_to_opale/README.md @@ -0,0 +1,23 @@ +Mindmapping to HDOC +=================== + +Conversion of Freemind file(s) (.mm) to Opale + +# How to use the converter + +Use a terminal and go to the root of the folder (mindmapping_to_opale). + +#1 : You want to convert SEVERAL Freemind files in Opale +- Put your files in a folder mindmapping_to_opale/input +- Enter the command line corresponding to your OS : +- On Linux : sh run.sh +- On Windows : run.bat + +#2 : You want to convert ONE specific freemindFile in Opale +- Put your file in a folder mindmapping_to_opale/input +- Enter the command line corresponding to your OS : +- On Linux : sh run.sh -DinputPath input/ +- On Windows : run.bat -DinputPath input/ + +You will find the result in the folder mindmapping_to_opale/result + diff --git a/mindmapping_to_opale/input/sample.mm b/mindmapping_to_opale/input/sample.mm new file mode 100644 index 0000000000000000000000000000000000000000..f46cf7c9548e3f7ddd0a7afb1007baadce73b056 --- /dev/null +++ b/mindmapping_to_opale/input/sample.mm @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/mindmapping_to_opale/lib/ant-contrib.jar b/mindmapping_to_opale/lib/ant-contrib.jar new file mode 100644 index 0000000000000000000000000000000000000000..062537661a514c2ce97d18948f4f25f7226cc1a0 Binary files /dev/null and b/mindmapping_to_opale/lib/ant-contrib.jar differ diff --git a/mindmapping_to_opale/lib/ant-launcher.jar b/mindmapping_to_opale/lib/ant-launcher.jar new file mode 100644 index 0000000000000000000000000000000000000000..939abb57975f5ba08484e582f84ed3702d570a89 Binary files /dev/null and b/mindmapping_to_opale/lib/ant-launcher.jar differ diff --git a/mindmapping_to_opale/lib/ant.jar b/mindmapping_to_opale/lib/ant.jar new file mode 100644 index 0000000000000000000000000000000000000000..7f5be4a4e05939429353a90e882846aeac72b976 Binary files /dev/null and b/mindmapping_to_opale/lib/ant.jar differ diff --git a/mindmapping_to_opale/lib/jing.jar b/mindmapping_to_opale/lib/jing.jar new file mode 100644 index 0000000000000000000000000000000000000000..fe01514e80920805e2e9169381fcf72cc5994aed Binary files /dev/null and b/mindmapping_to_opale/lib/jing.jar differ diff --git a/mindmapping_to_opale/lib/saxon9he.jar b/mindmapping_to_opale/lib/saxon9he.jar new file mode 100644 index 0000000000000000000000000000000000000000..4e635175be11bc83187a2525f2a821bb85a1a566 Binary files /dev/null and b/mindmapping_to_opale/lib/saxon9he.jar differ diff --git a/mindmapping_to_opale/mindmapping_to_opale.ant b/mindmapping_to_opale/mindmapping_to_opale.ant index 8bdb5533f92fb21fd1785165f887434d51790d44..00f39ce69a1ac55a7fbf463bda7bcb5a08d5be83 100755 --- a/mindmapping_to_opale/mindmapping_to_opale.ant +++ b/mindmapping_to_opale/mindmapping_to_opale.ant @@ -1,104 +1,206 @@ - - + + + + + + + + + + + + + + - ----------------------------Begin of conversion---------------------------------- - - - - - - - - + ----------------------------Begin of + conversion---------------------------------- + + + ----------------------------End of conversion---------------------------------- + + + + + + + + + + + + + is Windows........ + InputPath : ${inputPath} + + + + + + + + + + + + + + is Unix........ + InputPath : ${inputPath} + + + + + + + + + + + + + + There is an input path in parameter : conversion of this file + + + + + + + + + + + + + + + + + + + There is no input path in parameter : conversion of all the files in ./input + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + There is an input path in parameter : conversion of the file ${inputPath} + + + + + + + + + + + + + + + + + + + There is no input path in parameter : conversion of all the files in ./input + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Setting up the conversion - - + + + + - - --- End ---- - - - Begin data conversion - - - - - - - end data conversion - - - - - - - - - - - - - - - - - - - - - - is Windows........ - - - - - - is Unix........ - - - - - This is a Windows machine. - - - - - - - - - This is an Unix machine. - - - - - - - - - - - - + + + Begin data conversion + + + + + + + + + + + + + end data conversion + + +
diff --git a/mindmapping_to_opale/readme.txt b/mindmapping_to_opale/readme.txt deleted file mode 100755 index 243059dc0d80f7c767447ab1c011cb64df72d3a0..0000000000000000000000000000000000000000 --- a/mindmapping_to_opale/readme.txt +++ /dev/null @@ -1,9 +0,0 @@ -# how to use the converter - -#1 : you want to convert your freemindFile in Opale -- put your freemind file in the mindmapping_to_opale -- enter the command line : - - linux : ant -buildfile mindmapping_to_opale.ant -DinputPath - - windows : C:\ant\bin\ant -buildfile mindmapping_to_opale.ant -DinputPath -you will find the result in the folder result/opale - diff --git a/mindmapping_to_opale/result/hdoc/sect.hdoc b/mindmapping_to_opale/result/hdoc/sect.hdoc deleted file mode 100644 index 543909873d4bc684962c8f1d1171a1782b06a064..0000000000000000000000000000000000000000 Binary files a/mindmapping_to_opale/result/hdoc/sect.hdoc and /dev/null differ diff --git a/mindmapping_to_opale/result/scar/sect.scar b/mindmapping_to_opale/result/scar/sect.scar deleted file mode 100644 index 27a149de8e1ae01b618050ebc9956f0ad0e154b3..0000000000000000000000000000000000000000 Binary files a/mindmapping_to_opale/result/scar/sect.scar and /dev/null differ diff --git a/mindmapping_to_opale/run.bat b/mindmapping_to_opale/run.bat new file mode 100755 index 0000000000000000000000000000000000000000..485f53151451a6a3cee5fa059388d12de97b23cb --- /dev/null +++ b/mindmapping_to_opale/run.bat @@ -0,0 +1,11 @@ +@echo off +set lib=lib +set ant=mindmapping_to_opale.ant +set antparam=-Dprogram.param=%1 + +set scJarList=%lib%\* + +java.exe -classpath "%scJarList%" -Xmx150m org.apache.tools.ant.Main -buildfile %ant% %antparam% +pause + +REM start /MIN java.exe -classpath "%scJarList%" -Xmx150m org.apache.tools.ant.Main -buildfile %ant% %antparam% diff --git a/mindmapping_to_opale/run.sh b/mindmapping_to_opale/run.sh new file mode 100755 index 0000000000000000000000000000000000000000..f3875738d595bdf5be279e15789efa148f7810cb --- /dev/null +++ b/mindmapping_to_opale/run.sh @@ -0,0 +1,41 @@ +#!/bin/sh +lib="lib" +ant="mindmapping_to_opale.ant" +antparam="-Dprogram.param=$1" +inputPath="$2" + +#Recherche de java et controle que se soit une version SUN +vJavaCmd="java" +xCheckJava () { + vInputVarName=\$"$1" + vInputVarVal=`eval "expr \"$vInputVarName\" "` + if [ -z "$vInputVarVal" ];then + eval "$1=false" + return + fi + vSunJavaFound=`$vInputVarVal -version 2>&1 | grep -Eo -m 1 "(HotSpot)|(OpenJDK)"` + if [ "$vSunJavaFound" != "HotSpot" ] && [ "$vSunJavaFound" != "OpenJDK" ] ; then + eval "$1=false" + return + fi +} +xCheckJava vJavaCmd +if [ "$vJavaCmd" = "false" ]; then + vJavaCmd="$JAVA_HOME/bin/java" + xCheckJava vJavaCmd + if [ "$vJavaCmd" = "false" ]; then + echo "ERREUR: JRE de SUN introuvable. Veuillez déclarer la variable d'environnement JAVA_HOME." + exit 1 + fi +fi + +#Lancer la commande +scJarList="$lib/*" + +if [ "$inputPath" == '' ] ; then + echo "Appel sans paramètre" + $vJavaCmd -classpath "$scJarList:" -Xmx150m org.apache.tools.ant.Main -buildfile $ant $antparam +else + echo "Appel avec paramètre" + $vJavaCmd -classpath "$scJarList:" -Xmx150m org.apache.tools.ant.Main -buildfile $ant $antparam -DinputPath $inputPath +fi \ No newline at end of file