This commit is contained in:
pablo rodriguez 2022-05-27 11:40:08 +02:00
parent e972bb5be8
commit 87f2636ef5
35 changed files with 1353 additions and 55 deletions

View File

@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<classpath> <classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
<classpathentry kind="src" path="src"/> <classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="icons"/> <classpathentry kind="src" path="icons"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
<classpathentry kind="lib" path="C:/Users/pabr6/eclipse-workspace/zip4j-1.2.7.jar"/> <classpathentry kind="lib" path="C:/Users/pabr6/eclipse-workspace/zip4j-1.2.7.jar"/>
<classpathentry kind="lib" path="C:/Users/pabr6/eclipse-workspace/cXML.jar" sourcepath="/cXML"/>
<classpathentry kind="lib" path="miglayout15-swing.jar" sourcepath="miglayout-src.zip"/> <classpathentry kind="lib" path="miglayout15-swing.jar" sourcepath="miglayout-src.zip"/>
<classpathentry kind="lib" path="C:/Users/pabr6/eclipse-workspace/cXML.jar" sourcepath="/cXML"/>
<classpathentry kind="output" path="bin"/> <classpathentry kind="output" path="bin"/>
</classpath> </classpath>

Binary file not shown.

5
bin/.gitignore vendored
View File

@ -1,6 +1,3 @@
/MEPTL/ /MEPTL/
/app/ /app/
/fichierODF.png /resources/
/fichierSVG.png
/fichier_analyseXML.svg
/fichier_svg.svg

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg <svg
inkscape:export-ydpi="72.000008" inkscape:export-ydpi="98.357307"
inkscape:export-xdpi="72.000008" inkscape:export-xdpi="98.357307"
inkscape:export-filename="C:\Users\pabr6\git\analyseWriter\MEPTL\icons\apropos.png" inkscape:export-filename="C:\Users\pabr6\git\analyseWriter\MEPTL\icons\apropos.png"
sodipodi:docname="apropos.svg" sodipodi:docname="apropos.svg"
inkscape:version="1.1.2 (b8e25be833, 2022-02-05)" inkscape:version="1.1.2 (b8e25be833, 2022-02-05)"
@ -64,7 +64,7 @@
inkscape:current-layer="g1030" inkscape:current-layer="g1030"
inkscape:document-units="mm" inkscape:document-units="mm"
inkscape:cy="18.053125" inkscape:cy="18.053125"
inkscape:cx="13.015043" inkscape:cx="3.9185077"
inkscape:zoom="7.1455774" inkscape:zoom="7.1455774"
inkscape:pageshadow="2" inkscape:pageshadow="2"
inkscape:pageopacity="0.0" inkscape:pageopacity="0.0"

Before

Width:  |  Height:  |  Size: 7.5 KiB

After

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
bin/fichierODF.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

BIN
bin/fichierSVG.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

269
bin/fichier_analyseXML.svg Normal file
View File

@ -0,0 +1,269 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
inkscape:export-ydpi="96"
inkscape:export-xdpi="96"
inkscape:export-filename="C:\Users\pabr6\git\analyseWriter\MEPTL\icons\fichierAnalyse.png"
sodipodi:docname="fichier_analyseXML.svg"
inkscape:version="1.1.2 (b8e25be833, 2022-02-05)"
id="svg8"
version="1.1"
viewBox="0 0 12.7 12.7"
height="48"
width="48"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/">
<defs
id="defs2">
<linearGradient
id="k"
gradientTransform="matrix(7.99974,0,0,7.9977797,-863.30581,-7811.3988)"
gradientUnits="userSpaceOnUse"
x1="122.75008"
x2="111.74973"
xlink:href="#b"
y1="991.62115"
y2="977.11713" />
<linearGradient
id="b">
<stop
offset="0"
stop-color="#0369a3"
id="stop7" />
<stop
offset="1"
stop-color="#1c99e0"
id="stop9" />
</linearGradient>
<linearGradient
id="j"
gradientUnits="userSpaceOnUse"
x1="108.00134"
x2="20.001341"
y1="122"
y2="6"
gradientTransform="translate(10.661607,-2.6314354)">
<stop
offset="0"
stop-color="#e6e6e6"
id="stop35" />
<stop
offset="1"
stop-color="#fff"
id="stop37" />
</linearGradient>
<linearGradient
id="i"
gradientUnits="userSpaceOnUse"
x1="108.00134"
x2="20.001341"
xlink:href="#b"
y1="130"
y2="14"
gradientTransform="translate(12)" />
<linearGradient
id="h"
gradientTransform="matrix(4.4999,0,0,3.66665,-930.97741,2199.6564)"
gradientUnits="userSpaceOnUse"
x2="0"
y1="-581.63782"
y2="-578.63782">
<stop
offset="0"
stop-color="#63bbee"
id="stop29" />
<stop
offset="1"
stop-color="#aadcf7"
id="stop31" />
</linearGradient>
<linearGradient
id="g"
gradientTransform="matrix(-4.19983,0,0,3.9111,1552.9405,-4523.1636)"
gradientUnits="userSpaceOnUse"
x2="0"
xlink:href="#a"
y1="1173"
y2="1178" />
<linearGradient
id="a">
<stop
offset="0"
stop-color="#666"
id="stop2" />
<stop
offset="1"
stop-color="#333"
id="stop4" />
</linearGradient>
<linearGradient
id="f"
gradientTransform="matrix(4.19983,0,0,3.9111,-1380.9394,-4521.9436)"
gradientUnits="userSpaceOnUse"
x2="0"
xlink:href="#a"
y1="1173"
y2="1178" />
<linearGradient
id="e"
gradientTransform="matrix(1.19997,0,0,1.22222,-269.19161,858.5534)"
gradientUnits="userSpaceOnUse"
x2="0"
y1="-629.66907"
y2="-635.54944">
<stop
offset="0"
stop-color="#18a303"
id="stop22" />
<stop
offset="1"
stop-color="#106802"
id="stop24" />
</linearGradient>
<linearGradient
id="d"
gradientTransform="matrix(4.19983,0,0,3.9111,-1380.9394,-4517.0536)"
gradientUnits="userSpaceOnUse"
x2="0"
y1="1173"
y2="1178">
<stop
offset="0"
stop-color="#0369a3"
id="stop17" />
<stop
offset="1"
stop-color="#023f62"
id="stop19" />
</linearGradient>
<linearGradient
id="c"
gradientTransform="matrix(0,0.791084,-1.28,0,1511.6005,-282.0136)"
gradientUnits="userSpaceOnUse"
x1="445.69522"
x2="441.38797"
y1="1103.5776"
y2="1099.8198">
<stop
offset="0"
stop-color="#e9b913"
id="stop12" />
<stop
offset="1"
stop-color="#ff0"
id="stop14" />
</linearGradient>
</defs>
<sodipodi:namedview
inkscape:window-maximized="1"
inkscape:window-y="-8"
inkscape:window-x="-8"
inkscape:window-height="1009"
inkscape:window-width="1920"
inkscape:guide-bbox="true"
showguides="true"
units="px"
showgrid="false"
inkscape:document-rotation="0"
inkscape:current-layer="g923"
inkscape:document-units="mm"
inkscape:cy="19.744638"
inkscape:cx="25.861183"
inkscape:zoom="4.6594929"
inkscape:pageshadow="2"
inkscape:pageopacity="0.0"
borderopacity="1.0"
bordercolor="#666666"
pagecolor="#ffffff"
id="base"
inkscape:pagecheckerboard="0"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0"
inkscape:snap-bbox="true"
inkscape:bbox-paths="true"
inkscape:bbox-nodes="true"
inkscape:snap-midpoints="true"
inkscape:object-paths="true"
inkscape:snap-global="false">
<sodipodi:guide
id="guide14"
orientation="1,0"
position="-2.471617e-08,4.4381936" />
<sodipodi:guide
position="6.6200247,5.8336321"
orientation="0.70860014,0.70561026"
id="guide2079" />
<sodipodi:guide
position="6.6200247,5.8336321"
orientation="-0.71816555,0.69587229"
id="guide5772" />
</sodipodi:namedview>
<metadata
id="metadata5">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="layer1"
inkscape:groupmode="layer"
inkscape:label="Calque 1"
transform="translate(-0.92013353,-0.34176359)">
<g
id="g923"
transform="matrix(0.08485361,0,0,0.08631596,0.7234583,1.2433321)">
<path
d="m 34.652398,1.9735766 c -0.25037,0 -0.50072,0.011156 -0.75,0.035156 -3.66708,0.6998 -4.56576,2.2662469 -4.5,5.9980468 V 123.97553 c 4e-4,4.1875 1.81149,5.99765 6,5.99805 h 91.998062 c 4.1885,-4e-4 5.99764,-1.81055 5.99804,-5.99805 V 52.157171 c 0.048,-2.1119 -0.78004,-4.230247 -2.25,-5.748047 L 88.988348,4.2587328 c -1.51819,-1.4691999 -3.63759,-2.2988999 -5.75,-2.25 h -47.83595 c -0.24919,-0.024 -0.49962,-0.035156 -0.75,-0.035156 z m 70.009782,0.013672 c -0.20997,0 -0.41948,0.016828 -0.62695,0.048828 -2.66247,0.8528 -3.55843,4.904547 -1.50586,6.810547 l 24.0957,24.2207034 c 2.22593,2.1217 6.6581,0.306209 6.77538,-2.775391 V 6.0712326 c -2.4e-4,-2.1136998 -1.91298,-4.034856 -4.01561,-4.035156 h -24.09376 c -0.20758,-0.032 -0.41894,-0.048828 -0.6289,-0.048828 z"
fill="url(#k)"
id="path41"
style="fill:url(#k)" />
<path
d="M 35.400458,7.9735766 V 123.97358 H 127.40048 V 51.973577 L 83.400478,7.9735766 Z"
fill="url(#j)"
id="path43"
style="fill:url(#j)" />
<text
xml:space="preserve"
style="font-size:35.6383px;line-height:1.25;font-family:'C.A. Gatintas';-inkscape-font-specification:'C.A. Gatintas';text-align:center;text-anchor:middle;stroke-width:3.09159"
x="77.788284"
y="121.28213"
id="text2174"
transform="scale(1.0649026,0.93905301)"><tspan
sodipodi:role="line"
id="tspan2172"
style="font-style:normal;font-variant:normal;font-weight:900;font-stretch:normal;font-family:arial;-inkscape-font-specification:'arial Heavy';stroke-width:3.09159"
x="77.788284"
y="121.28213">XML</tspan></text>
</g>
<g
id="g6608"
transform="matrix(1.393267,0,0,1.3867787,10.603256,-5.5651926)">
<path
id="path4945"
style="fill:#000000;stroke:none;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 6.9115255,4.1117374 A 2.5406649,2.4821629 0 0 0 4.3705953,6.5942731 2.5406649,2.4821629 0 0 0 6.9115255,9.0762921 2.5406649,2.4821629 0 0 0 8.4871398,8.5409244 L 9.0535135,9.109882 9.4219665,8.6845849 8.8902159,8.1507674 A 2.5406649,2.4821629 0 0 0 9.4519387,6.5942731 2.5406649,2.4821629 0 0 0 6.9115255,4.1117374 Z m 0,0.5539713 A 1.9739749,1.9285217 0 0 1 8.8850483,6.5942731 1.9739749,1.9285217 0 0 1 6.9115255,8.5223207 1.9739749,1.9285217 0 0 1 4.9374857,6.5942731 1.9739749,1.9285217 0 0 1 6.9115255,4.6657087 Z" />
<path
style="fill:#ff0000;stroke:none;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 9.7071636,8.4854359 2.9328084,2.9440821 c 0.0419,0.512292 -0.280235,0.819082 -0.875635,0.903687 L 8.8320954,9.3885382 C 9.117696,9.015001 9.3363405,8.7445068 9.7071636,8.4854359 Z"
id="path5444"
sodipodi:nodetypes="ccccc" />
</g>
<path
style="fill:#ffffff;stroke:#000000;stroke-width:0.0793751;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 1.6878831,3.4316423 c 1.7894603,-1.278918 3.7435612,-1.943103 4.2366365,1.290227 l -1.6059687,0.524244 3.8637927,3.473627 1.7263753,-5.288098 -1.4795468,0.702997 c -2.8175687,-6.05499 -6.3751176,-2.720249 -6.741289,-0.702997 z"
id="path4019"
sodipodi:nodetypes="ccccccc" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 9.3 KiB

259
bin/fichier_svg.svg Normal file
View File

@ -0,0 +1,259 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
inkscape:export-ydpi="96"
inkscape:export-xdpi="96"
inkscape:export-filename="C:\Users\pabr6\git\analyseWriter\MEPTL\icons\fichierSVG.png"
sodipodi:docname="fichier_svg.svg"
inkscape:version="1.1.2 (b8e25be833, 2022-02-05)"
id="svg8"
version="1.1"
viewBox="0 0 12.7 12.7"
height="48"
width="48"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/">
<defs
id="defs2">
<linearGradient
id="k"
gradientTransform="matrix(7.3290847,0,0,7.3272888,-782.49722,-7149.5485)"
gradientUnits="userSpaceOnUse"
x1="122.75008"
x2="111.74973"
xlink:href="#b"
y1="991.62115"
y2="977.11713" />
<linearGradient
id="b">
<stop
offset="0"
stop-color="#0369a3"
id="stop7" />
<stop
offset="1"
stop-color="#1c99e0"
id="stop9" />
</linearGradient>
<linearGradient
id="j"
gradientUnits="userSpaceOnUse"
x1="108.00134"
x2="20.001341"
y1="122"
y2="6"
gradientTransform="translate(12)">
<stop
offset="0"
stop-color="#e6e6e6"
id="stop35" />
<stop
offset="1"
stop-color="#fff"
id="stop37" />
</linearGradient>
<linearGradient
id="i"
gradientUnits="userSpaceOnUse"
x1="108.00134"
x2="20.001341"
xlink:href="#b"
y1="130"
y2="14"
gradientTransform="translate(12)" />
<linearGradient
id="h"
gradientTransform="matrix(4.4999,0,0,3.66665,-930.97741,2199.6564)"
gradientUnits="userSpaceOnUse"
x2="0"
y1="-581.63782"
y2="-578.63782">
<stop
offset="0"
stop-color="#63bbee"
id="stop29" />
<stop
offset="1"
stop-color="#aadcf7"
id="stop31" />
</linearGradient>
<linearGradient
id="g"
gradientTransform="matrix(-4.19983,0,0,3.9111,1552.9405,-4523.1636)"
gradientUnits="userSpaceOnUse"
x2="0"
xlink:href="#a"
y1="1173"
y2="1178" />
<linearGradient
id="a">
<stop
offset="0"
stop-color="#666"
id="stop2" />
<stop
offset="1"
stop-color="#333"
id="stop4" />
</linearGradient>
<linearGradient
id="f"
gradientTransform="matrix(4.19983,0,0,3.9111,-1380.9394,-4521.9436)"
gradientUnits="userSpaceOnUse"
x2="0"
xlink:href="#a"
y1="1173"
y2="1178" />
<linearGradient
id="e"
gradientTransform="matrix(1.19997,0,0,1.22222,-269.19161,858.5534)"
gradientUnits="userSpaceOnUse"
x2="0"
y1="-629.66907"
y2="-635.54944">
<stop
offset="0"
stop-color="#18a303"
id="stop22" />
<stop
offset="1"
stop-color="#106802"
id="stop24" />
</linearGradient>
<linearGradient
id="d"
gradientTransform="matrix(4.19983,0,0,3.9111,-1380.9394,-4517.0536)"
gradientUnits="userSpaceOnUse"
x2="0"
y1="1173"
y2="1178">
<stop
offset="0"
stop-color="#0369a3"
id="stop17" />
<stop
offset="1"
stop-color="#023f62"
id="stop19" />
</linearGradient>
<linearGradient
id="c"
gradientTransform="matrix(0,0.791084,-1.28,0,1511.6005,-282.0136)"
gradientUnits="userSpaceOnUse"
x1="445.69522"
x2="441.38797"
y1="1103.5776"
y2="1099.8198">
<stop
offset="0"
stop-color="#e9b913"
id="stop12" />
<stop
offset="1"
stop-color="#ff0"
id="stop14" />
</linearGradient>
</defs>
<sodipodi:namedview
inkscape:window-maximized="1"
inkscape:window-y="-8"
inkscape:window-x="-8"
inkscape:window-height="1009"
inkscape:window-width="1920"
inkscape:guide-bbox="true"
showguides="true"
units="px"
showgrid="false"
inkscape:document-rotation="0"
inkscape:current-layer="g4208"
inkscape:document-units="mm"
inkscape:cy="14.965968"
inkscape:cx="22.92659"
inkscape:zoom="9.421375"
inkscape:pageshadow="2"
inkscape:pageopacity="0.0"
borderopacity="1.0"
bordercolor="#666666"
pagecolor="#ffffff"
id="base"
inkscape:pagecheckerboard="0"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0"
inkscape:snap-bbox="true"
inkscape:bbox-paths="true"
inkscape:bbox-nodes="true"
inkscape:snap-midpoints="true"
inkscape:object-paths="true"
inkscape:snap-global="false">
<sodipodi:guide
id="guide14"
orientation="1,0"
position="-2.471617e-08,4.4381936" />
<sodipodi:guide
position="6.6200247,5.8336321"
orientation="-0.71816555,0.69587229"
id="guide5772" />
</sodipodi:namedview>
<metadata
id="metadata5">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="layer1"
inkscape:groupmode="layer"
inkscape:label="Calque 1"
transform="translate(-0.92013353,-0.34176359)">
<g
id="g923"
transform="matrix(0.08485361,0,0,0.08631596,0.60989086,1.0161972)">
<g
id="g4208"
transform="translate(-2.3167326,1.6267735)">
<g
id="g4179"
transform="matrix(1.091506,0,0,1.091506,-5.550275,-6.6190888)"
style="stroke-width:0.916165">
<path
style="fill:#008000;stroke-width:0.916165"
d="m 33.356573,1.223906 c -0.25037,0 -0.50072,0.011156 -0.75,0.035156 -3.66708,0.6998 -4.56576,2.2662469 -4.5,5.9980469 V 123.22586 c 4e-4,4.1875 1.81149,5.99765 6,5.99805 h 91.998057 c 4.1885,-4e-4 5.99764,-1.81055 5.99804,-5.99805 V 51.4075 c 0.048,-2.1119 -0.78004,-4.230247 -2.25,-5.748047 L 87.692523,3.5090622 c -1.51819,-1.4691999 -3.63759,-2.2988999 -5.75,-2.25 h -47.83595 c -0.24919,-0.024 -0.49962,-0.035156 -0.75,-0.035156 z"
id="path41" />
<path
d="M 34.104633,7.2239059 V 123.22391 H 126.10465 V 51.223906 L 82.104653,7.2239059 Z"
fill="url(#j)"
id="path43"
style="fill:#1bc365;fill-opacity:1;stroke-width:0.916165" />
</g>
<path
style="fill:#008000;stroke-width:1"
d="m 132.3971,57.080222 c 0.40828,0 0.81564,-0.03205 1.21905,-0.09302 5.17683,-1.624524 6.91891,-9.342818 2.92795,-12.973612 L 89.693051,-2.1251468 C 85.36501,-6.1668363 76.747213,-2.7084534 76.519177,3.1617775 V 49.300521 c 4.68e-4,4.026448 3.719551,7.686117 7.807848,7.68669 h 46.847265 c 0.40361,0.06097 0.81458,0.09302 1.22281,0.09302 z"
id="path4056" />
<text
xml:space="preserve"
style="font-size:53.1628px;line-height:1.25;font-family:'C.A. Gatintas';-inkscape-font-specification:'C.A. Gatintas';text-align:center;text-anchor:middle;fill:#ffffff;stroke-width:3.0916"
x="89.629868"
y="103.90145"
id="text3199"
transform="scale(0.90538451,1.1045031)"><tspan
sodipodi:role="line"
id="tspan3197"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:arial;-inkscape-font-specification:arial;fill:#ffffff;stroke-width:3.0916"
x="89.629868"
y="103.90145">SVG</tspan></text>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg <svg
inkscape:export-ydpi="72.000008" inkscape:export-ydpi="98.357307"
inkscape:export-xdpi="72.000008" inkscape:export-xdpi="98.357307"
inkscape:export-filename="C:\Users\pabr6\git\analyseWriter\MEPTL\icons\apropos.png" inkscape:export-filename="C:\Users\pabr6\git\analyseWriter\MEPTL\icons\apropos.png"
sodipodi:docname="apropos.svg" sodipodi:docname="apropos.svg"
inkscape:version="1.1.2 (b8e25be833, 2022-02-05)" inkscape:version="1.1.2 (b8e25be833, 2022-02-05)"
@ -64,7 +64,7 @@
inkscape:current-layer="g1030" inkscape:current-layer="g1030"
inkscape:document-units="mm" inkscape:document-units="mm"
inkscape:cy="18.053125" inkscape:cy="18.053125"
inkscape:cx="13.015043" inkscape:cx="3.9185077"
inkscape:zoom="7.1455774" inkscape:zoom="7.1455774"
inkscape:pageshadow="2" inkscape:pageshadow="2"
inkscape:pageopacity="0.0" inkscape:pageopacity="0.0"

Before

Width:  |  Height:  |  Size: 7.5 KiB

After

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

80
icons/exit.svg Normal file
View File

@ -0,0 +1,80 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
version="1.1"
id="svg2"
width="48"
height="48"
viewBox="0 0 48 48"
sodipodi:docname="exit.svg"
inkscape:version="1.1.2 (b8e25be833, 2022-02-05)"
inkscape:export-filename="C:\Users\pabr6\git\analyseWriter\MEPTL\icons\exit.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs6" />
<sodipodi:namedview
id="namedview4"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
showgrid="false"
showguides="true"
inkscape:guide-bbox="true"
inkscape:zoom="7.7604167"
inkscape:cx="9.9221476"
inkscape:cy="11.983893"
inkscape:window-width="1920"
inkscape:window-height="1009"
inkscape:window-x="-8"
inkscape:window-y="-8"
inkscape:window-maximized="1"
inkscape:current-layer="g2698">
<sodipodi:guide
position="15.221444,36.823994"
orientation="1,0"
id="guide2780" />
</sodipodi:namedview>
<g
inkscape:groupmode="layer"
inkscape:label="Image"
id="g8">
<g
id="g2698"
transform="matrix(2.2242512,0,0,2.2242512,-2.3614406,-0.54630895)"
style="stroke-width:0.449589">
<rect
style="fill:#4d4d4d;stroke-width:0.134877;stroke-linecap:round;stroke-linejoin:round;paint-order:fill markers stroke;stop-color:#000000"
id="rect886"
width="12.143694"
height="17.48241"
x="10.020643"
y="1.6505069"
ry="0"
rx="0" />
<path
style="fill:#ff0e0e;fill-opacity:1;stroke:#920000;stroke-width:0.449589px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 14.154744,11.101102 7.9050802,5.2702298 7.8728655,8.5239211 1.7198453,8.4272768 l 0.06443,5.1543622 h 6.1208053 l -2e-7,3.170568 z"
id="path1147"
sodipodi:nodetypes="cccccccc" />
<rect
style="fill:#999999;stroke-width:0.139238;stroke-linecap:round;stroke-linejoin:round;paint-order:fill markers stroke;stop-color:#000000"
id="rect986"
width="9.135273"
height="17.48241"
x="14.485444"
y="9.8163137"
ry="0"
rx="0"
transform="matrix(0.93834311,-0.34570538,0,1,0,0)" />
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

BIN
icons/fichierCSVInfo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

@ -0,0 +1,270 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
inkscape:export-ydpi="96"
inkscape:export-xdpi="96"
inkscape:export-filename="C:\Users\pabr6\git\analyseWriter\MEPTL\icons\fichierAnalyseInfo.png"
sodipodi:docname="fichier_analyseXML info.svg"
inkscape:version="1.1.2 (b8e25be833, 2022-02-05)"
id="svg8"
version="1.1"
viewBox="0 0 12.7 12.7"
height="48"
width="48"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/">
<defs
id="defs2">
<linearGradient
id="k"
gradientTransform="matrix(7.99974,0,0,7.9977797,-863.30581,-7811.3988)"
gradientUnits="userSpaceOnUse"
x1="122.75008"
x2="111.74973"
xlink:href="#b"
y1="991.62115"
y2="977.11713" />
<linearGradient
id="b">
<stop
offset="0"
stop-color="#0369a3"
id="stop7" />
<stop
offset="1"
stop-color="#1c99e0"
id="stop9" />
</linearGradient>
<linearGradient
id="j"
gradientUnits="userSpaceOnUse"
x1="108.00134"
x2="20.001341"
y1="122"
y2="6"
gradientTransform="translate(10.661607,-2.6314354)">
<stop
offset="0"
stop-color="#e6e6e6"
id="stop35" />
<stop
offset="1"
stop-color="#fff"
id="stop37" />
</linearGradient>
<linearGradient
id="i"
gradientUnits="userSpaceOnUse"
x1="108.00134"
x2="20.001341"
xlink:href="#b"
y1="130"
y2="14"
gradientTransform="translate(12)" />
<linearGradient
id="h"
gradientTransform="matrix(4.4999,0,0,3.66665,-930.97741,2199.6564)"
gradientUnits="userSpaceOnUse"
x2="0"
y1="-581.63782"
y2="-578.63782">
<stop
offset="0"
stop-color="#63bbee"
id="stop29" />
<stop
offset="1"
stop-color="#aadcf7"
id="stop31" />
</linearGradient>
<linearGradient
id="g"
gradientTransform="matrix(-4.19983,0,0,3.9111,1552.9405,-4523.1636)"
gradientUnits="userSpaceOnUse"
x2="0"
xlink:href="#a"
y1="1173"
y2="1178" />
<linearGradient
id="a">
<stop
offset="0"
stop-color="#666"
id="stop2" />
<stop
offset="1"
stop-color="#333"
id="stop4" />
</linearGradient>
<linearGradient
id="f"
gradientTransform="matrix(4.19983,0,0,3.9111,-1380.9394,-4521.9436)"
gradientUnits="userSpaceOnUse"
x2="0"
xlink:href="#a"
y1="1173"
y2="1178" />
<linearGradient
id="e"
gradientTransform="matrix(1.19997,0,0,1.22222,-269.19161,858.5534)"
gradientUnits="userSpaceOnUse"
x2="0"
y1="-629.66907"
y2="-635.54944">
<stop
offset="0"
stop-color="#18a303"
id="stop22" />
<stop
offset="1"
stop-color="#106802"
id="stop24" />
</linearGradient>
<linearGradient
id="d"
gradientTransform="matrix(4.19983,0,0,3.9111,-1380.9394,-4517.0536)"
gradientUnits="userSpaceOnUse"
x2="0"
y1="1173"
y2="1178">
<stop
offset="0"
stop-color="#0369a3"
id="stop17" />
<stop
offset="1"
stop-color="#023f62"
id="stop19" />
</linearGradient>
<linearGradient
id="c"
gradientTransform="matrix(0,0.791084,-1.28,0,1511.6005,-282.0136)"
gradientUnits="userSpaceOnUse"
x1="445.69522"
x2="441.38797"
y1="1103.5776"
y2="1099.8198">
<stop
offset="0"
stop-color="#e9b913"
id="stop12" />
<stop
offset="1"
stop-color="#ff0"
id="stop14" />
</linearGradient>
</defs>
<sodipodi:namedview
inkscape:window-maximized="1"
inkscape:window-y="-8"
inkscape:window-x="-8"
inkscape:window-height="1009"
inkscape:window-width="1920"
inkscape:guide-bbox="true"
showguides="true"
units="px"
showgrid="false"
inkscape:document-rotation="0"
inkscape:current-layer="layer1"
inkscape:document-units="mm"
inkscape:cy="19.744638"
inkscape:cx="12.018475"
inkscape:zoom="4.6594929"
inkscape:pageshadow="2"
inkscape:pageopacity="0.0"
borderopacity="1.0"
bordercolor="#666666"
pagecolor="#ffffff"
id="base"
inkscape:pagecheckerboard="0"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0"
inkscape:snap-bbox="true"
inkscape:bbox-paths="true"
inkscape:bbox-nodes="true"
inkscape:snap-midpoints="true"
inkscape:object-paths="true"
inkscape:snap-global="false">
<sodipodi:guide
id="guide14"
orientation="1,0"
position="-2.471617e-08,4.4381936" />
<sodipodi:guide
position="6.6200247,5.8336321"
orientation="0.70860014,0.70561026"
id="guide2079" />
<sodipodi:guide
position="6.6200247,5.8336321"
orientation="-0.71816555,0.69587229"
id="guide5772" />
</sodipodi:namedview>
<metadata
id="metadata5">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="layer1"
inkscape:groupmode="layer"
inkscape:label="Calque 1"
transform="translate(-0.92013353,-0.34176359)">
<g
id="g923"
transform="matrix(0.08485361,0,0,0.08631596,0.7234583,1.2433321)">
<path
d="m 34.652398,1.9735766 c -0.25037,0 -0.50072,0.011156 -0.75,0.035156 -3.66708,0.6998 -4.56576,2.2662469 -4.5,5.9980468 V 123.97553 c 4e-4,4.1875 1.81149,5.99765 6,5.99805 h 91.998062 c 4.1885,-4e-4 5.99764,-1.81055 5.99804,-5.99805 V 52.157171 c 0.048,-2.1119 -0.78004,-4.230247 -2.25,-5.748047 L 88.988348,4.2587328 c -1.51819,-1.4691999 -3.63759,-2.2988999 -5.75,-2.25 h -47.83595 c -0.24919,-0.024 -0.49962,-0.035156 -0.75,-0.035156 z m 70.009782,0.013672 c -0.20997,0 -0.41948,0.016828 -0.62695,0.048828 -2.66247,0.8528 -3.55843,4.904547 -1.50586,6.810547 l 24.0957,24.2207034 c 2.22593,2.1217 6.6581,0.306209 6.77538,-2.775391 V 6.0712326 c -2.4e-4,-2.1136998 -1.91298,-4.034856 -4.01561,-4.035156 h -24.09376 c -0.20758,-0.032 -0.41894,-0.048828 -0.6289,-0.048828 z"
fill="url(#k)"
id="path41"
style="fill:url(#k)" />
<path
d="M 35.400458,7.9735766 V 123.97358 H 127.40048 V 51.973577 L 83.400478,7.9735766 Z"
fill="url(#j)"
id="path43"
style="fill:url(#j)" />
<text
xml:space="preserve"
style="font-size:35.6383px;line-height:1.25;font-family:'C.A. Gatintas';-inkscape-font-specification:'C.A. Gatintas';text-align:center;text-anchor:middle;stroke-width:3.09159"
x="77.788284"
y="121.28213"
id="text2174"
transform="scale(1.0649026,0.93905301)"><tspan
sodipodi:role="line"
id="tspan2172"
style="font-style:normal;font-variant:normal;font-weight:900;font-stretch:normal;font-family:arial;-inkscape-font-specification:'arial Heavy';stroke-width:3.09159"
x="77.788284"
y="121.28213">XML</tspan></text>
</g>
<g
id="g6608"
transform="matrix(1.1011477,0,0,1.0960197,-0.92133887,-2.779724)"
style="stroke-width:1.26529">
<path
id="path4945"
style="fill:#000000;stroke:none;stroke-width:0.334773px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 6.9115255,4.1117374 A 2.5406649,2.4821629 0 0 0 4.3705953,6.5942731 2.5406649,2.4821629 0 0 0 6.9115255,9.0762921 2.5406649,2.4821629 0 0 0 8.4871398,8.5409244 L 9.0535135,9.109882 9.4219665,8.6845849 8.8902159,8.1507674 A 2.5406649,2.4821629 0 0 0 9.4519387,6.5942731 2.5406649,2.4821629 0 0 0 6.9115255,4.1117374 Z m 0,0.5539713 A 1.9739749,1.9285217 0 0 1 8.8850483,6.5942731 1.9739749,1.9285217 0 0 1 6.9115255,8.5223207 1.9739749,1.9285217 0 0 1 4.9374857,6.5942731 1.9739749,1.9285217 0 0 1 6.9115255,4.6657087 Z" />
<path
style="fill:#ff0000;stroke:none;stroke-width:0.334773px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 9.7071636,8.4854359 2.9328084,2.9440821 c 0.0419,0.512292 -0.280235,0.819082 -0.875635,0.903687 L 8.8320954,9.3885382 C 9.117696,9.015001 9.3363405,8.7445068 9.7071636,8.4854359 Z"
id="path5444"
sodipodi:nodetypes="ccccc" />
</g>
<path
style="fill:#ffffff;stroke:#000000;stroke-width:0.0793751;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m -10.634184,4.3401818 c 1.7894605,-1.278918 3.7435614,-1.943103 4.2366367,1.290227 l -1.6059687,0.524244 3.8637927,3.473627 1.7263753,-5.288098 -1.4795468,0.702997 c -2.8175687,-6.05499 -6.3751172,-2.720249 -6.7412892,-0.702997 z"
id="path4019"
sodipodi:nodetypes="ccccccc" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 9.3 KiB

View File

@ -0,0 +1,283 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
inkscape:export-ydpi="96"
inkscape:export-xdpi="96"
inkscape:export-filename="C:\Users\pabr6\git\analyseWriter\MEPTL\icons\fichierCSVInfo.png"
sodipodi:docname="fichier_csv_student_info.svg"
inkscape:version="1.1.2 (b8e25be833, 2022-02-05)"
id="svg8"
version="1.1"
viewBox="0 0 12.7 12.7"
height="48"
width="48"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/">
<defs
id="defs2">
<linearGradient
id="k"
gradientTransform="matrix(7.3290847,0,0,7.3272888,-782.49722,-7149.5485)"
gradientUnits="userSpaceOnUse"
x1="122.75008"
x2="111.74973"
xlink:href="#b"
y1="991.62115"
y2="977.11713" />
<linearGradient
id="b">
<stop
offset="0"
stop-color="#0369a3"
id="stop7" />
<stop
offset="1"
stop-color="#1c99e0"
id="stop9" />
</linearGradient>
<linearGradient
id="j"
gradientUnits="userSpaceOnUse"
x1="108.00134"
x2="20.001341"
y1="122"
y2="6"
gradientTransform="translate(12)">
<stop
offset="0"
stop-color="#e6e6e6"
id="stop35" />
<stop
offset="1"
stop-color="#fff"
id="stop37" />
</linearGradient>
<linearGradient
id="i"
gradientUnits="userSpaceOnUse"
x1="108.00134"
x2="20.001341"
xlink:href="#b"
y1="130"
y2="14"
gradientTransform="translate(12)" />
<linearGradient
id="h"
gradientTransform="matrix(4.4999,0,0,3.66665,-930.97741,2199.6564)"
gradientUnits="userSpaceOnUse"
x2="0"
y1="-581.63782"
y2="-578.63782">
<stop
offset="0"
stop-color="#63bbee"
id="stop29" />
<stop
offset="1"
stop-color="#aadcf7"
id="stop31" />
</linearGradient>
<linearGradient
id="g"
gradientTransform="matrix(-4.19983,0,0,3.9111,1552.9405,-4523.1636)"
gradientUnits="userSpaceOnUse"
x2="0"
xlink:href="#a"
y1="1173"
y2="1178" />
<linearGradient
id="a">
<stop
offset="0"
stop-color="#666"
id="stop2" />
<stop
offset="1"
stop-color="#333"
id="stop4" />
</linearGradient>
<linearGradient
id="f"
gradientTransform="matrix(4.19983,0,0,3.9111,-1380.9394,-4521.9436)"
gradientUnits="userSpaceOnUse"
x2="0"
xlink:href="#a"
y1="1173"
y2="1178" />
<linearGradient
id="e"
gradientTransform="matrix(1.19997,0,0,1.22222,-269.19161,858.5534)"
gradientUnits="userSpaceOnUse"
x2="0"
y1="-629.66907"
y2="-635.54944">
<stop
offset="0"
stop-color="#18a303"
id="stop22" />
<stop
offset="1"
stop-color="#106802"
id="stop24" />
</linearGradient>
<linearGradient
id="d"
gradientTransform="matrix(4.19983,0,0,3.9111,-1380.9394,-4517.0536)"
gradientUnits="userSpaceOnUse"
x2="0"
y1="1173"
y2="1178">
<stop
offset="0"
stop-color="#0369a3"
id="stop17" />
<stop
offset="1"
stop-color="#023f62"
id="stop19" />
</linearGradient>
<linearGradient
id="c"
gradientTransform="matrix(0,0.791084,-1.28,0,1511.6005,-282.0136)"
gradientUnits="userSpaceOnUse"
x1="445.69522"
x2="441.38797"
y1="1103.5776"
y2="1099.8198">
<stop
offset="0"
stop-color="#e9b913"
id="stop12" />
<stop
offset="1"
stop-color="#ff0"
id="stop14" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#b"
id="linearGradient4157"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(7.9997394,0,0,7.9977793,-859.65065,-7810.3938)"
x1="122.75008"
y1="991.62115"
x2="111.74973"
y2="977.11713" />
</defs>
<sodipodi:namedview
inkscape:window-maximized="1"
inkscape:window-y="-8"
inkscape:window-x="-8"
inkscape:window-height="1009"
inkscape:window-width="1920"
inkscape:guide-bbox="true"
showguides="true"
units="px"
showgrid="false"
inkscape:document-rotation="0"
inkscape:current-layer="g4208"
inkscape:document-units="mm"
inkscape:cy="14.965968"
inkscape:cx="15.921243"
inkscape:zoom="9.421375"
inkscape:pageshadow="2"
inkscape:pageopacity="0.0"
borderopacity="1.0"
bordercolor="#666666"
pagecolor="#ffffff"
id="base"
inkscape:pagecheckerboard="0"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0"
inkscape:snap-bbox="true"
inkscape:bbox-paths="true"
inkscape:bbox-nodes="true"
inkscape:snap-midpoints="true"
inkscape:object-paths="true"
inkscape:snap-global="false">
<sodipodi:guide
id="guide14"
orientation="1,0"
position="-2.471617e-08,4.4381936" />
<sodipodi:guide
position="6.6200247,5.8336321"
orientation="-0.71816555,0.69587229"
id="guide5772" />
</sodipodi:namedview>
<metadata
id="metadata5">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="layer1"
inkscape:groupmode="layer"
inkscape:label="Calque 1"
transform="translate(-0.92013353,-0.34176359)">
<g
id="g923"
transform="matrix(0.08485361,0,0,0.08631596,0.60989086,1.0161972)">
<g
id="g4208"
transform="translate(-2.3167326,1.6267735)">
<g
id="g4179"
transform="matrix(1.091506,0,0,1.091506,-5.550275,-6.6190888)"
style="stroke-width:0.916165">
<path
style="fill:url(#k);stroke-width:0.916165"
d="m 33.356573,1.223906 c -0.25037,0 -0.50072,0.011156 -0.75,0.035156 -3.66708,0.6998 -4.56576,2.2662469 -4.5,5.9980469 V 123.22586 c 4e-4,4.1875 1.81149,5.99765 6,5.99805 h 91.998057 c 4.1885,-4e-4 5.99764,-1.81055 5.99804,-5.99805 V 51.4075 c 0.048,-2.1119 -0.78004,-4.230247 -2.25,-5.748047 L 87.692523,3.5090622 c -1.51819,-1.4691999 -3.63759,-2.2988999 -5.75,-2.25 h -47.83595 c -0.24919,-0.024 -0.49962,-0.035156 -0.75,-0.035156 z"
id="path41" />
<path
d="M 34.104633,7.2239059 V 123.22391 H 126.10465 V 51.223906 L 82.104653,7.2239059 Z"
fill="url(#j)"
id="path43"
style="fill:#000080;stroke-width:0.916165" />
</g>
<path
style="fill:url(#linearGradient4157);stroke-width:1"
d="m 131.22533,55.778801 c 0.38078,0 0.7607,-0.03052 1.13694,-0.08855 4.82817,-1.546485 6.45292,-8.894004 2.73075,-12.350381 L 91.397403,-0.58243478 C 87.360856,-4.4299678 79.32347,-1.1377203 79.110793,4.4505138 V 48.372824 c 4.36e-4,3.833024 3.469037,7.316888 7.281987,7.317433 h 43.69209 c 0.37643,0.05804 0.75972,0.08855 1.14046,0.08855 z"
id="path4056" />
<text
xml:space="preserve"
style="font-size:53.1628px;line-height:1.25;font-family:'C.A. Gatintas';-inkscape-font-specification:'C.A. Gatintas';text-align:center;text-anchor:middle;fill:#ffffff;stroke-width:3.0916"
x="88.898773"
y="96.537178"
id="text3199"
transform="scale(0.90538451,1.1045031)"><tspan
sodipodi:role="line"
id="tspan3197"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:arial;-inkscape-font-specification:arial;fill:#ffffff;stroke-width:3.0916"
x="88.898773"
y="96.537178">CSV</tspan></text>
<g
id="g6608"
transform="matrix(13.490989,0,0,13.200666,-17.319663,-52.327875)"
style="stroke-width:1.21708">
<path
id="path4945"
style="fill:#000000;stroke:none;stroke-width:0.322019px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 6.9115255,4.1117374 A 2.5406649,2.4821629 0 0 0 4.3705953,6.5942731 2.5406649,2.4821629 0 0 0 6.9115255,9.0762921 2.5406649,2.4821629 0 0 0 8.4871398,8.5409244 L 9.0535135,9.109882 9.4219665,8.6845849 8.8902159,8.1507674 A 2.5406649,2.4821629 0 0 0 9.4519387,6.5942731 2.5406649,2.4821629 0 0 0 6.9115255,4.1117374 Z m 0,0.5539713 A 1.9739749,1.9285217 0 0 1 8.8850483,6.5942731 1.9739749,1.9285217 0 0 1 6.9115255,8.5223207 1.9739749,1.9285217 0 0 1 4.9374857,6.5942731 1.9739749,1.9285217 0 0 1 6.9115255,4.6657087 Z" />
<path
style="fill:#ff0000;stroke:none;stroke-width:0.322019px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 9.7071636,8.4854359 2.9328084,2.9440821 c 0.0419,0.512292 -0.280235,0.819082 -0.875635,0.903687 L 8.8320954,9.3885382 C 9.117696,9.015001 9.3363405,8.7445068 9.7071636,8.4854359 Z"
id="path5444"
sodipodi:nodetypes="ccccc" />
</g>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 9.5 KiB

View File

@ -26,6 +26,7 @@ public class commandes {
//** Le node du fichier d'analyse //** Le node du fichier d'analyse
public static node sujet = new node(); public static node sujet = new node();
public static node nodeCSV = null;
//*************************************************** //***************************************************
//** Les commandes par défaut à travers la console ** //** Les commandes par défaut à travers la console **
@ -109,13 +110,14 @@ public class commandes {
//** Variables pour l'interface du logiciel //** Variables pour l'interface du logiciel
public static String Titre = "analyseWriter"; public static String Titre = "analyseWriter";
public static String filename=""; public static String PathFilenameAnalysis="";
public static boolean fichierAnalyseValide = false; //mise à jour de la valeur dans MEPTL.verificationFichierAnalyse public static boolean fichierAnalyseValide = false; //mise à jour de la valeur dans MEPTL.verificationFichierAnalyse
public static String Annee ="2022"; public static String Annee ="2022";
public static int analyse_Nbre_Fichier_Student = 0; public static int analyse_Nbre_Fichier_Student = 0;
public static int analyse_index_Fichier_Student = 0; public static int analyse_index_Fichier_Student = 0;
public static StringBuilder message = new StringBuilder(); public static StringBuilder message = new StringBuilder();
/** /**
* *
* @param args : table des arguments * @param args : table des arguments

View File

@ -116,7 +116,7 @@ public class meptl {
//** Chargement du format (content) et transformation en node pour l'application //** Chargement du format (content) et transformation en node pour l'application
node nod = Run.XMLContent(a.getLectDossiers().getEC().getListeContentWriter().get(i)); node nod = Run.XMLContent(a.getLectDossiers().getEC().getListeContentWriter().get(i));
node nodStudent = LectureFichierEtudiantSousFormeDeNode(nod,a,i); node nodStudent = LectureFichierEtudiantSousFormeDeNode(nod,a,i);
Run.ecritureNodeEnXML(nodStudent, a.getLectDossiers().getEC().getListeNomDossier().get(i),"",false,""); //écriture du node de l'étudiant Run.ecritureNodeEnXML(nodStudent, a.getLectDossiers().getEC().getListeNomDossier().get(i),commandes.path,""); //écriture du node de l'étudiant
} }
//** bye bye analyseWriter //** bye bye analyseWriter
commandes.clotureApplication(); commandes.clotureApplication();
@ -131,7 +131,7 @@ public class meptl {
nodSujet = LectureFichierEtudiantSousFormeDeNode(nodSujet,a,index); nodSujet = LectureFichierEtudiantSousFormeDeNode(nodSujet,a,index);
nodSujet.getAttributs().put("analysis_filename", a.getLectDossiers().getEC().getListeNomDossier().get(index)+".xml"); nodSujet.getAttributs().put("analysis_filename", a.getLectDossiers().getEC().getListeNomDossier().get(index)+".xml");
nodSujet = ecritureSujet.nodePourEcritureSujet(nodSujet,a,index); nodSujet = ecritureSujet.nodePourEcritureSujet(nodSujet,a,index);
Run.ecritureNodeEnXML(nodSujet, a.getLectDossiers().getEC().getListeNomDossier().get(index),"",false,"Sujet"); Run.ecritureNodeEnXML(nodSujet, a.getLectDossiers().getEC().getListeNomDossier().get(index),commandes.path,"Sujet");
} }
//** bye bye analyseWriter //** bye bye analyseWriter
commandes.clotureApplication(); commandes.clotureApplication();
@ -215,7 +215,7 @@ public class meptl {
//******************************** //********************************
//** Ecriture du node verif.xml ** //** Ecriture du node verif.xml **
//******************************** //********************************
Run.ecritureNodeEnXML(verif, "Verif",commandes.pathDestination,commandes.fourniDossierDestination, "Verif"); //écriture du node de vérification Run.ecritureNodeEnXML(verif, "Verif",commandes.path,"Verif"); //écriture du node de vérification
if(!commandes.analyse) { if(!commandes.analyse) {
//** bye bye analyseWriter //** bye bye analyseWriter
commandes.clotureApplication(); commandes.clotureApplication();
@ -260,7 +260,7 @@ public class meptl {
//** Ecriture des fichiers d'analyse des students ** //** Ecriture des fichiers d'analyse des students **
//************************************************** //**************************************************
if(commandes.ecritNodeAnalyse) { if(commandes.ecritNodeAnalyse) {
Run.ecritureNodeEnXML(ana, "nodana"+ana.retourneFirstEnfantsByName("ouverture").getAttributs().get("dossier"),"",false,""); //écriture du node analyse de l'étudiant Run.ecritureNodeEnXML(ana, "nodana"+ana.retourneFirstEnfantsByName("ouverture").getAttributs().get("dossier"),commandes.path,""); //écriture du node analyse de l'étudiant
} }
//**************************** //****************************
@ -422,29 +422,53 @@ public class meptl {
if(nod.getAttributs().get("evaluer").equalsIgnoreCase("true")) { if(nod.getAttributs().get("evaluer").equalsIgnoreCase("true")) {
if(nod.getAttributs().get("addmenu").equals("false") && niv==1) { if(nod.getAttributs().get("addmenu").equals("false") && niv==1) {
System.out.println(); System.out.println();
System.out.println("** ERREUR -- L'attribut \"addmenu\" n'est pas associé au node principal \"" + nod.getNomElt() + "\" dans le fichier d'analyse."); System.out.println("** ERREUR -- L'attribut \"addmenu\" n'est pas associé au node principal <" + nod.getNomElt() + "> dans le fichier d'analyse.");
System.out.println("** -- Changer la valeur de l'attribut \"addmenu\" à TRUE."); System.out.println("** -- Changer la valeur de l'attribut \"addmenu\" à TRUE.");
System.out.println(); System.out.println();
commandes.message.append("\n******************************************************");
commandes.message.append("\n ERREUR L'attribut \"addmenu\" n'est pas associé au node principal <" + nod.getNomElt() + "> dans le fichier d'analyse.");
commandes.message.append("\n Changer la valeur de l'attribut \"addmenu\" à TRUE.");
commandes.message.append("\n******************************************************");
erreur =true; erreur =true;
} }
if(nod.getAttributs().get("addmenu").equals("true") && nod.getAttributs().get("titre")==null && nod.getAttributs().get("titre1")==null && nod.getAttributs().get("titre2")==null && nod.getAttributs().get("titre3")==null) { if(nod.getAttributs().get("addmenu").equals("true") && nod.getAttributs().get("titre")==null && nod.getAttributs().get("titre1")==null && nod.getAttributs().get("titre2")==null && nod.getAttributs().get("titre3")==null) {
System.out.println(); System.out.println();
System.out.println("** WARNING -- L'attribut \"addmenu\" n'est pas associé à un titre dans le node \"" + nod.getNomElt() + "\", dans le fichier d'analyse."); System.out.println("** WARNING -- L'attribut \"addmenu\" n'est pas associé à un titre dans le node <" + nod.getNomElt() + ">, dans le fichier d'analyse.");
commandes.message.append("\n******************************************************");
commandes.message.append("\nAVERTISSEMENT -- L'attribut \"addmenu\" n'est pas associé à un titre dans le node <" + nod.getNomElt() + ">, dans le fichier d'analyse.");
commandes.message.append("\n******************************************************");
if(nod.getAttributs().get("titre")==null && nod.getAttributs().get("titre1")==null && nod.getAttributs().get("titre2")==null && nod.getAttributs().get("titre3")==null){ if(nod.getAttributs().get("titre")==null && nod.getAttributs().get("titre1")==null && nod.getAttributs().get("titre2")==null && nod.getAttributs().get("titre3")==null){
System.out.println("** -- Ajouter l'attribut \"titre\" à ce node."); System.out.println("** -- Ajouter l'attribut \"titre\" à ce node.");
commandes.message.append("\n******************************************************");
commandes.message.append("\n Ajouter l'attribut \"titre\" à ce node.");
commandes.message.append("\n******************************************************");
} }
if(nod.getAttributs().get("titre").isEmpty()){ if(nod.getAttributs().get("titre").isEmpty()){
System.out.println("** -- Ajouter l'attribut \"titre\" une valeur."); System.out.println("** -- Ajouter l'attribut \"titre\" une valeur.");
commandes.message.append("\n******************************************************");
commandes.message.append("\n Ajouter l'attribut \"titre\" une valeur.");
commandes.message.append("\n******************************************************");
} }
if(nod.getAttributs().get("titre1").isEmpty()){ if(nod.getAttributs().get("titre1").isEmpty()){
System.out.println("** -- Ajouter l'attribut \"titre1\" une valeur."); System.out.println("** -- Ajouter l'attribut \"titre1\" une valeur.");
commandes.message.append("\n******************************************************");
commandes.message.append("\n Ajouter l'attribut \"titre1\" une valeur.");
commandes.message.append("\n******************************************************");
} }
if(nod.getAttributs().get("titre2").isEmpty()){ if(nod.getAttributs().get("titre2").isEmpty()){
System.out.println("** -- Ajouter l'attribut \"titre2\" une valeur."); System.out.println("** -- Ajouter l'attribut \"titre2\" une valeur.");
commandes.message.append("\n******************************************************");
commandes.message.append("\n Ajouter l'attribut \"titre2\" une valeur.");
commandes.message.append("\n******************************************************");
} }
if(nod.getAttributs().get("titre3").isEmpty()){ if(nod.getAttributs().get("titre3").isEmpty()){
System.out.println("** -- Ajouter l'attribut \"titre2\" une valeur."); System.out.println("** -- Ajouter l'attribut \"titre2\" une valeur.");
commandes.message.append("\n******************************************************");
commandes.message.append("\n Ajouter l'attribut \"titre2\" une valeur.");
commandes.message.append("\n******************************************************");
} }
System.out.println(); System.out.println();
erreur =true; erreur =true;
@ -983,10 +1007,13 @@ public class meptl {
String targetString = ""; String targetString = "";
//read file into stream, try-with-resources //read file into stream, try-with-resources
String cheminVerFichierAnalyse = Run.path + "/" + nameSujet;
if(!commandes.console) cheminVerFichierAnalyse = commandes.PathFilenameAnalysis;
try { try {
BufferedReader br = new BufferedReader( BufferedReader br = new BufferedReader(
new InputStreamReader( new InputStreamReader(
new FileInputStream(Run.path + "/" + nameSujet), "UTF-8")); new FileInputStream(cheminVerFichierAnalyse), "UTF-8"));
String line; String line;
while ((line = br.readLine()) != null) { while ((line = br.readLine()) != null) {
@ -1109,10 +1136,6 @@ public class meptl {
commandes.analyse_Initial_Creator= commandes.sujet.getAttributs().get("Initial_Creator"); commandes.analyse_Initial_Creator= commandes.sujet.getAttributs().get("Initial_Creator");
} }
// Chargement du filename
if(commandes.sujet.getAttributs().get("filename")!=null) {
commandes.filename= commandes.sujet.getAttributs().get("filename");
}
// Chargement du date // Chargement du date
if(commandes.sujet.getAttributs().get("date")!=null) { if(commandes.sujet.getAttributs().get("date")!=null) {
@ -1188,11 +1211,6 @@ public class meptl {
} }
//** Adéquation par les valeurs par défaut si pas dans le fichier d'analyse //** Adéquation par les valeurs par défaut si pas dans le fichier d'analyse
commandes.analyse_culture = commandes.culture; commandes.analyse_culture = commandes.culture;
@ -1213,8 +1231,12 @@ public class meptl {
public static void analyseVerifieHistoriqueLesFichiersEtudiantsEtExportNoteCSV() throws IOException, ParserConfigurationException, SAXException, CloneNotSupportedException { public static void analyseVerifieHistoriqueLesFichiersEtudiantsEtExportNoteCSV() throws IOException, ParserConfigurationException, SAXException, CloneNotSupportedException {
commandes.message = new StringBuilder(); commandes.message = new StringBuilder();
commandes.message.append("LES FICHIERS EVALUES"); commandes.message.append("\n *** LES FICHIERS ANALYSES & EVALUES ***\n");
commandes.message.append("\n"); commandes.message.append("\n");
commandes.message.append("\n Dossier contenant les fichiers des étudiants.");
commandes.message.append("\n " + commandes.path + "\n");
commandes.message.append("\n Les fichiers des étudiants ne sont pas dans des dossiers nominatifs ?");
commandes.message.append(" " + commandes.fichierStudentMoodle+"\n");
Run a = new Run(commandes.path,commandes.Profil, commandes.fichierStudentMoodle); Run a = new Run(commandes.path,commandes.Profil, commandes.fichierStudentMoodle);
@ -1222,9 +1244,8 @@ public class meptl {
//********************************************** //**********************************************
//** Chargement et verification du CVS fourni ** //** Chargement et verification du CVS fourni **
//********************************************** //**********************************************
node nodeCSV = null;
if(commandes.fourniCSV) { if(commandes.fourniCSV) {
nodeCSV = chargementFichierCSV(); commandes.nodeCSV = chargementFichierCSV();
} }
@ -1233,7 +1254,7 @@ public class meptl {
//***************************************** //*****************************************
int nbFichierWriter = a.getLectDossiers().getEC().getListeContentWriter().size(); int nbFichierWriter = a.getLectDossiers().getEC().getListeContentWriter().size();
commandes.analyse_Nbre_Fichier_Student = nbFichierWriter; commandes.analyse_Nbre_Fichier_Student = nbFichierWriter;
commandes.message.append("\nNombre de fichier à analyser et évaluer : " + Integer.valueOf(nbFichierWriter) + "\n");
//*************************************** //***************************************
@ -1255,7 +1276,10 @@ public class meptl {
//******************************** //********************************
//** Ecriture du node verif.xml ** //** Ecriture du node verif.xml **
//******************************** //********************************
Run.ecritureNodeEnXML(verif, "Verif",commandes.pathDestination,commandes.fourniDossierDestination, "Verif"); //écriture du node de vérification Run.ecritureNodeEnXML(verif, "Verif",commandes.path, "Verif"); //écriture du node de vérification
commandes.message.append("\n*******************************************************");
commandes.message.append("\nEcriture du fichier Verif.xml dans le dossier d'analyse");
commandes.message.append("\n*******************************************************");
if(!commandes.analyse) { if(!commandes.analyse) {
//** bye bye analyseWriter //** bye bye analyseWriter
commandes.clotureApplication(); commandes.clotureApplication();
@ -1278,7 +1302,7 @@ public class meptl {
//** Ne prends pas en compte le dossier destination créé par la commande -dest //** Ne prends pas en compte le dossier destination créé par la commande -dest
//** Si pas d'analyse alors le nom doit contenir le caractère $ dans le nom du dossier. //** Si pas d'analyse alors le nom doit contenir le caractère $ dans le nom du dossier.
if(commandes.fourniDossierDestination)if(a.getLectDossiers().getEC().getListeNomDossier().get(i).equals(commandes.pathDestination)) continue; if(commandes.fourniDossierDestination) if(a.getLectDossiers().getEC().getListeNomDossier().get(i).equals(commandes.pathDestination)) continue;
//*********************************************************** //***********************************************************
//** Lecture et transformation en node du fichier étudiant ** //** Lecture et transformation en node du fichier étudiant **
@ -1299,7 +1323,7 @@ public class meptl {
//** Ecriture des fichiers d'analyse des students ** //** Ecriture des fichiers d'analyse des students **
//************************************************** //**************************************************
if(commandes.ecritNodeAnalyse) { if(commandes.ecritNodeAnalyse) {
Run.ecritureNodeEnXML(ana, "nodana"+ana.retourneFirstEnfantsByName("ouverture").getAttributs().get("dossier"),"",false,""); //écriture du node analyse de l'étudiant Run.ecritureNodeEnXML(ana, "nodana"+ana.retourneFirstEnfantsByName("ouverture").getAttributs().get("dossier"),commandes.path,""); //écriture du node analyse de l'étudiant
} }
//**************************** //****************************
@ -1347,7 +1371,7 @@ public class meptl {
//** Exportation au format CSV si -csv file.csv ou -verifcsv file.csv ** //** Exportation au format CSV si -csv file.csv ou -verifcsv file.csv **
//*********************************************************************** //***********************************************************************
if(commandes.ecritNoteCSV && commandes.fourniCSV) { if(commandes.ecritNoteCSV && commandes.fourniCSV) {
ecritureCSV(ensembleanalyse,verif,a,nodeCSV, commandes.sujet.retourneFirstEnfantsByName("setting")); ecritureCSV(ensembleanalyse,verif,a,commandes.nodeCSV, commandes.sujet.retourneFirstEnfantsByName("setting"));
//a.ecritureNodeEnXML(ensembleanalyse, "ensembleAnalyse"); //écriture du node de l'étudiant //a.ecritureNodeEnXML(ensembleanalyse, "ensembleAnalyse"); //écriture du node de l'étudiant
} }
@ -2345,6 +2369,13 @@ public class meptl {
ArrayList<node> LesFichiers = verification.retourneLesEnfantsByName("fichier", new ArrayList<node>()); ArrayList<node> LesFichiers = verification.retourneLesEnfantsByName("fichier", new ArrayList<node>());
System.out.println();
System.out.println("***** DEBUT VERIFICATION DES HISTORIQUES DES MODIFICATION ****");
System.out.println();
commandes.message.append("\n\n***** DEBUT VERIFICATION DES HISTORIQUES DES MODIFICATION ****\n");
for(int i = 0 ; i < LesFichiers.size() ; i++) { for(int i = 0 ; i < LesFichiers.size() ; i++) {
node nodStudent = new node(); node nodStudent = new node();
nodStudent.setNomElt("fichier"); nodStudent.setNomElt("fichier");
@ -2362,6 +2393,7 @@ public class meptl {
int compteurnombreCorrespondancesconsecutive = 0; int compteurnombreCorrespondancesconsecutive = 0;
System.out.println(LesFichiers.get(i).getAttributs().get("dossier") + " - number of modifications : " + nombreModifications); System.out.println(LesFichiers.get(i).getAttributs().get("dossier") + " - number of modifications : " + nombreModifications);
commandes.message.append("\n"+LesFichiers.get(i).getAttributs().get("dossier") + " - number of modifications : " + nombreModifications);
@SuppressWarnings("unchecked") @SuppressWarnings("unchecked")
ArrayList<node> LesFichiers2 = (ArrayList<node>) LesFichiers.clone(); ArrayList<node> LesFichiers2 = (ArrayList<node>) LesFichiers.clone();
@ -2376,6 +2408,7 @@ public class meptl {
node nodDate = null; node nodDate = null;
node nodDateCreator = null; node nodDateCreator = null;
String dcdate1 =""; String dcdate1 ="";
@SuppressWarnings("unused")
String dccreator =""; String dccreator ="";
nodDate = HitoriqueDuFichier.get(j).retourneFirstEnfantsByName("dc:date"); nodDate = HitoriqueDuFichier.get(j).retourneFirstEnfantsByName("dc:date");
nodDateCreator = HitoriqueDuFichier.get(j).retourneFirstEnfantsByName("dc:creator"); nodDateCreator = HitoriqueDuFichier.get(j).retourneFirstEnfantsByName("dc:creator");
@ -2411,10 +2444,10 @@ public class meptl {
String dccreator2 = HitoriqueDuFichier2.get(j2).retourneFirstEnfantsByName("dc:creator").getContenu().get(0); String dccreator2 = HitoriqueDuFichier2.get(j2).retourneFirstEnfantsByName("dc:creator").getContenu().get(0);
node N2 = HitoriqueDuFichier2.get(j2).retourneFirstEnfantsByName(N1.getNomElt()); node N2 = HitoriqueDuFichier2.get(j2).retourneFirstEnfantsByName(N1.getNomElt());
if(a.equalNode(N1, N2)) { //Verification des deux nodes de l'historique identiques if(Run.equalNode(N1, N2)) { //Verification des deux nodes de l'historique identiques
if(dcdate1.equals(dcdate2) && N1.getNomElt().equals(N2.getNomElt()) && dccreator.equals(dccreator2)) { //cette ligne est redondante // if(dcdate1.equals(dcdate2) && N1.getNomElt().equals(N2.getNomElt()) && dccreator.equals(dccreator2)) { //cette ligne est redondante
if(nodStudent.retourneFirstNodeByNameAndAttributValueExactStrict("correspondance", "date", dcdate2)==null) { if(nodStudent.retourneFirstNodeByNameAndAttributValueExactStrict("correspondance", "date", dcdate2)==null) {
//affinage du match //affinage du match
compteurnombreCorrespondance++; compteurnombreCorrespondance++;
if(compteurnombreCorrespondancesSuivi==0) { if(compteurnombreCorrespondancesSuivi==0) {
@ -2439,10 +2472,11 @@ public class meptl {
correspondance.getAttributs().put("Avec_etudiant", nameStudent2); correspondance.getAttributs().put("Avec_etudiant", nameStudent2);
correspondance.getAttributs().put("dc:creator", dccreator2); correspondance.getAttributs().put("dc:creator", dccreator2);
nodStudent.getNodes().add(correspondance); nodStudent.getNodes().add(correspondance);
System.out.println("\t** Find a match ** " + dcdate1); System.out.println("\t** Trouve une correspondance ** " + dcdate1);
commandes.message.append("\n\t** Trouve une correspondance ** " + dcdate1);
break; break;
} }
} // }
} }
} }
} }
@ -2481,7 +2515,7 @@ public class meptl {
verif.getNodes().add(nodStudent); verif.getNodes().add(nodStudent);
System.out.println("\tDate de modification date unique " + String.valueOf(lesdates.size())); System.out.println("\tDate de modification date unique " + String.valueOf(lesdates.size()));
commandes.message.append("\n\tDate de modification date unique " + String.valueOf(lesdates.size()));
} }
// Ci-dessous le code pour vérifier la première date de modification dans le fichier. // Ci-dessous le code pour vérifier la première date de modification dans le fichier.
@ -2515,9 +2549,20 @@ public class meptl {
System.out.println("\t\t ************************"); System.out.println("\t\t ************************");
System.out.println("\t\t ** Plagiat PROBABLE **"); System.out.println("\t\t ** Plagiat PROBABLE **");
System.out.println("\t\t ************************"); System.out.println("\t\t ************************");
commandes.message.append("\n\t\t ************************");
commandes.message.append("\n\t\t Plagiat PROBABLE ");
commandes.message.append("\n\t\t ************************");
} }
} }
System.out.println();
System.out.println("** FIN DE LA VERIFIACTION **");
System.out.println();
commandes.message.append("\n** FIN DE LA VERIFICATION **\n");
return verif; return verif;
} }

View File

@ -833,8 +833,10 @@ public class verificationFichierAnalyse {
* @throws IOException * @throws IOException
*/ */
public static void MiseAJourFichierAnalyse() throws CloneNotSupportedException, IOException { public static void MiseAJourFichierAnalyse() throws CloneNotSupportedException, IOException {
node nodeCalculHash = meptl.chargementFichierAnalyse(commandes.nameSujet, false); node nodeCalculHash = meptl.chargementFichierAnalyse(commandes.nameSujet, false);
commandes.hash = String.valueOf(Run.HashNode(nodeCalculHash,0)); commandes.hash = String.valueOf(Run.HashNode(nodeCalculHash,0));
boolean maj =false; boolean maj =false;
if(nodeCalculHash.getAttributs().get("hash")==null) { if(nodeCalculHash.getAttributs().get("hash")==null) {
maj=true; maj=true;
@ -877,11 +879,14 @@ public class verificationFichierAnalyse {
commandes.message.append("\n*********************************************************************"); commandes.message.append("\n*********************************************************************");
commandes.message.append("\n"); commandes.message.append("\n");
String cheminVersFichierAnalyse = commandes.path;
if(!commandes.console) cheminVersFichierAnalyse = commandes.PathFilenameAnalysis.substring(0,commandes.PathFilenameAnalysis.lastIndexOf("\\"));
if(commandes.nameSujet.contains(".")) { if(commandes.nameSujet.contains(".")) {
Run.ecritureNodeEnXML(nodeCalculHash,commandes.nameSujet.substring(0, commandes.nameSujet.lastIndexOf(".")),commandes.pathDestination,false,"Sujet"); Run.ecritureNodeEnXML(nodeCalculHash,commandes.nameSujet.substring(0, commandes.nameSujet.lastIndexOf(".")),cheminVersFichierAnalyse,"Sujet");
}else { }else {
Run.ecritureNodeEnXML(nodeCalculHash,commandes.nameSujet,commandes.pathDestination,false,"Sujet"); Run.ecritureNodeEnXML(nodeCalculHash,commandes.nameSujet,cheminVersFichierAnalyse,"Sujet");
} }
}else { }else {
System.out.println("\t\t┌─────────────────────────────────────────────────────┐"); System.out.println("\t\t┌─────────────────────────────────────────────────────┐");
System.out.println("\t\t│ Vérification du hash et du nom du fichier correct. │"); System.out.println("\t\t│ Vérification du hash et du nom du fichier correct. │");
@ -906,7 +911,7 @@ public class verificationFichierAnalyse {
node nodeSujet = meptl.chargementFichierAnalyse(commandes.nameSujet, true); node nodeSujet = meptl.chargementFichierAnalyse(commandes.nameSujet, true);
nodeSujet.getAttributs().put("hash", String.valueOf(Run.HashNode(nodeSujet, 0))); nodeSujet.getAttributs().put("hash", String.valueOf(Run.HashNode(nodeSujet, 0)));
nodeSujet.getAttributs().put("analysis_filename", "sujet.xml"); nodeSujet.getAttributs().put("analysis_filename", "sujet.xml");
Run.ecritureNodeEnXML(nodeSujet, "sujet","",false, "Sujet"); // ecriture du node sujet. Uniquement les nodes évalués. Run.ecritureNodeEnXML(nodeSujet, "sujet",commandes.path,"Sujet"); // ecriture du node sujet. Uniquement les nodes évalués.
System.out.println("\t\t┌─────────────────────────────────────────────────────────────────────┐"); System.out.println("\t\t┌─────────────────────────────────────────────────────────────────────┐");
System.out.println("\t\t│ Un nouveau fichier \"sujet.xml\" a été créé dans le dossier courant. │"); System.out.println("\t\t│ Un nouveau fichier \"sujet.xml\" a été créé dans le dossier courant. │");
System.out.println("\t\t└─────────────────────────────────────────────────────────────────────┘"); System.out.println("\t\t└─────────────────────────────────────────────────────────────────────┘");

View File

@ -23,6 +23,9 @@ import org.xml.sax.SAXException;
import MEPTL.commandes; import MEPTL.commandes;
import MEPTL.meptl; import MEPTL.meptl;
import cXML.Run;
import cXML.node;
import javax.swing.SwingConstants; import javax.swing.SwingConstants;
import java.awt.GridLayout; import java.awt.GridLayout;
import javax.swing.JScrollPane; import javax.swing.JScrollPane;
@ -46,6 +49,7 @@ public class evaluate extends JFrame {
private JCheckBox chckbxNoNote = new JCheckBox(); private JCheckBox chckbxNoNote = new JCheckBox();
private JCheckBox chckCSVNotes = new JCheckBox(); private JCheckBox chckCSVNotes = new JCheckBox();
private JCheckBox chckbxNoLogo = new JCheckBox(); private JCheckBox chckbxNoLogo = new JCheckBox();
private JCheckBox chckbxVerif = new JCheckBox();
JCheckBox chckbxNewLogo = new JCheckBox(); JCheckBox chckbxNewLogo = new JCheckBox();
private JTextPane txtpnmessages = new JTextPane(); private JTextPane txtpnmessages = new JTextPane();
private JProgressBar progressBar = new JProgressBar(); private JProgressBar progressBar = new JProgressBar();
@ -55,6 +59,9 @@ public class evaluate extends JFrame {
private JButton btnFichierCSV = new JButton(); private JButton btnFichierCSV = new JButton();
private JButton btnAbout = new JButton(); private JButton btnAbout = new JButton();
private JButton btnFichierSVG = new JButton(); private JButton btnFichierSVG = new JButton();
private JButton btnExit = new JButton();
private JButton btnInformationAnalyse = new JButton();
private JButton btnInfoListeEtudiant;
/** /**
* Create the frame. * Create the frame.
@ -79,6 +86,11 @@ public class evaluate extends JFrame {
btnSelectFileAnalyse.setIcon(new ImageIcon(evaluate.class.getResource("/resources/fichierAnalyse.png"))); btnSelectFileAnalyse.setIcon(new ImageIcon(evaluate.class.getResource("/resources/fichierAnalyse.png")));
toolBar.add(btnSelectFileAnalyse); toolBar.add(btnSelectFileAnalyse);
btnInformationAnalyse = new JButton("");
btnInformationAnalyse.setToolTipText("Information sur l'analyse");
btnInformationAnalyse.setIcon(new ImageIcon(evaluate.class.getResource("/resources/fichierAnalyseInfo.png")));
toolBar.add(btnInformationAnalyse);
btnSelectFolder = new JButton(""); btnSelectFolder = new JButton("");
btnSelectFolder.setIcon(new ImageIcon(evaluate.class.getResource("/resources/open2.png"))); btnSelectFolder.setIcon(new ImageIcon(evaluate.class.getResource("/resources/open2.png")));
btnSelectFolder.setSelectedIcon(new ImageIcon(evaluate.class.getResource("/resources/evalwriter.png"))); btnSelectFolder.setSelectedIcon(new ImageIcon(evaluate.class.getResource("/resources/evalwriter.png")));
@ -95,6 +107,13 @@ public class evaluate extends JFrame {
btnFichierCSV.setIcon(new ImageIcon(evaluate.class.getResource("/resources/fichierCSV.png"))); btnFichierCSV.setIcon(new ImageIcon(evaluate.class.getResource("/resources/fichierCSV.png")));
toolBar.add(btnFichierCSV); toolBar.add(btnFichierCSV);
btnInfoListeEtudiant = new JButton("");
btnInfoListeEtudiant.setIcon(new ImageIcon(evaluate.class.getResource("/resources/fichierCSVInfo.png")));
btnInfoListeEtudiant.setToolTipText("Affichage liste des étudiants");
toolBar.add(btnInfoListeEtudiant);
toolBar.addSeparator();
btnFichierSVG = new JButton(""); btnFichierSVG = new JButton("");
btnFichierSVG.setToolTipText("Sélectionner le fichier Logo"); btnFichierSVG.setToolTipText("Sélectionner le fichier Logo");
btnFichierSVG.setIcon(new ImageIcon(evaluate.class.getResource("/resources/fichierSVG.png"))); btnFichierSVG.setIcon(new ImageIcon(evaluate.class.getResource("/resources/fichierSVG.png")));
@ -114,11 +133,22 @@ public class evaluate extends JFrame {
toolBar.addSeparator(); toolBar.addSeparator();
toolBar.addSeparator();
btnAbout = new JButton(""); btnAbout = new JButton("");
btnAbout.setIcon(new ImageIcon(evaluate.class.getResource("/resources/apropos.png"))); btnAbout.setIcon(new ImageIcon(evaluate.class.getResource("/resources/apropos.png")));
btnAbout.setToolTipText("Informations"); btnAbout.setToolTipText("Informations");
toolBar.add(btnAbout); toolBar.add(btnAbout);
toolBar.addSeparator();
toolBar.addSeparator();
btnExit = new JButton("");
btnExit.setIcon(new ImageIcon(evaluate.class.getResource("/resources/exit.png")));
btnExit.setToolTipText("Fermer l'application");
toolBar.add(btnExit);
JPanel panel = new JPanel(); JPanel panel = new JPanel();
contentPane.add(panel, BorderLayout.WEST); contentPane.add(panel, BorderLayout.WEST);
panel.setLayout(new MigLayout("", "[309px]", "[71px][71px][][71px][][74.00][][]")); panel.setLayout(new MigLayout("", "[309px]", "[71px][71px][][71px][][74.00][][]"));
@ -142,6 +172,7 @@ public class evaluate extends JFrame {
panel.add(lblFichierSVG, "flowy,cell 0 5,growx"); panel.add(lblFichierSVG, "flowy,cell 0 5,growx");
chckCSVNotes = new JCheckBox("Créer un fichier CSV des notes"); chckCSVNotes = new JCheckBox("Créer un fichier CSV des notes");
chckCSVNotes.setToolTipText("Cochez si vous voulez importer les notes dans un fichier CSV.");
panel.add(chckCSVNotes, "cell 0 3,grow"); panel.add(chckCSVNotes, "cell 0 3,grow");
lblPath.setHorizontalAlignment(SwingConstants.LEFT); lblPath.setHorizontalAlignment(SwingConstants.LEFT);
lblPath.setFont(new Font("Tahoma", Font.BOLD, 14)); lblPath.setFont(new Font("Tahoma", Font.BOLD, 14));
@ -149,22 +180,33 @@ public class evaluate extends JFrame {
panel.add(lblPath, "cell 0 0,grow"); panel.add(lblPath, "cell 0 0,grow");
chckbxnoFeedback = new JCheckBox("Pas de feedback"); chckbxnoFeedback = new JCheckBox("Pas de feedback");
chckbxnoFeedback.setToolTipText("Cochez si vous ne voulez pas générer des feedbacks");
chckbxnoFeedback.setFont(new Font("Tahoma", Font.PLAIN, 12)); chckbxnoFeedback.setFont(new Font("Tahoma", Font.PLAIN, 12));
panel.add(chckbxnoFeedback, "cell 0 1,grow"); panel.add(chckbxnoFeedback, "cell 0 1,grow");
chckbxZipfeedback = new JCheckBox("Zip les feedbacks"); chckbxZipfeedback = new JCheckBox("Zip les feedbacks");
chckbxZipfeedback.setToolTipText("Cochez si vous voulez placer tous les feedbacks dans une archive ZIP");
chckbxZipfeedback.setFont(new Font("Tahoma", Font.PLAIN, 12)); chckbxZipfeedback.setFont(new Font("Tahoma", Font.PLAIN, 12));
panel.add(chckbxZipfeedback, "cell 0 1,grow"); panel.add(chckbxZipfeedback, "cell 0 1,grow");
chckbxNoNote = new JCheckBox("Pas de note dans les feedbacks"); chckbxNoNote = new JCheckBox("Pas de note dans les feedbacks");
chckbxNoNote.setToolTipText("Cochez si vous voulez pas faire apparaître les notes dans les feedbacks");
chckbxNoNote.setFont(new Font("Tahoma", Font.PLAIN, 12)); chckbxNoNote.setFont(new Font("Tahoma", Font.PLAIN, 12));
panel.add(chckbxNoNote, "cell 0 1,grow"); panel.add(chckbxNoNote, "cell 0 1,grow");
chckbxVerif = new JCheckBox("Vérification des historiques avant analyse");
chckbxVerif.setToolTipText("Cochez si vous voulez vérifier les échanges de fichiers entre les étudiants.");
chckbxVerif.setFont(new Font("Tahoma", Font.PLAIN, 12));
panel.add(chckbxVerif, "cell 0 1, grow");
chckbxNewLogo = new JCheckBox("Nouveau logo"); chckbxNewLogo = new JCheckBox("Nouveau logo");
chckbxNewLogo.setFont(new Font("Tahoma", Font.PLAIN, 11)); chckbxNewLogo.setToolTipText("Cochez si vous voulez remplacer le logo par celui au-dessus.");
chckbxNewLogo.setFont(new Font("Tahoma", Font.PLAIN, 12));
panel.add(chckbxNewLogo, "cell 0 5"); panel.add(chckbxNewLogo, "cell 0 5");
chckbxNoLogo = new JCheckBox("Pas de logo"); chckbxNoLogo = new JCheckBox("Pas de logo");
chckbxNoLogo.setToolTipText("Cochez si vous voulez pas de logo dans les feedbacks.");
chckbxNoLogo.setFont(new Font("Tahoma", Font.PLAIN, 12));
panel.add(chckbxNoLogo, "cell 0 5"); panel.add(chckbxNoLogo, "cell 0 5");
@ -180,7 +222,7 @@ public class evaluate extends JFrame {
scrollPane.setColumnHeaderView(progressBar); scrollPane.setColumnHeaderView(progressBar);
txtpnmessages = new JTextPane(); txtpnmessages = new JTextPane();
txtpnmessages.setFont(new Font("Tahoma", Font.PLAIN, 12)); txtpnmessages.setFont(new Font("Tahoma", Font.PLAIN, 14));
txtpnmessages.setText("Charger un fichier d'analyse."); txtpnmessages.setText("Charger un fichier d'analyse.");
scrollPane.setViewportView(txtpnmessages); scrollPane.setViewportView(txtpnmessages);
@ -204,6 +246,7 @@ public class evaluate extends JFrame {
chckCSVNotes.setEnabled(false); chckCSVNotes.setEnabled(false);
chckbxNewLogo.setEnabled(false); chckbxNewLogo.setEnabled(false);
chckbxNoLogo.setEnabled(false); chckbxNoLogo.setEnabled(false);
chckbxVerif.setEnabled(false);
}else { }else {
chckbxfichiersEtudaints.setEnabled(true); chckbxfichiersEtudaints.setEnabled(true);
@ -213,6 +256,7 @@ public class evaluate extends JFrame {
chckCSVNotes.setEnabled(true); chckCSVNotes.setEnabled(true);
chckbxNewLogo.setEnabled(true); chckbxNewLogo.setEnabled(true);
chckbxNoLogo.setEnabled(true); chckbxNoLogo.setEnabled(true);
chckbxVerif.setEnabled(true);
StringBuilder text = new StringBuilder(); StringBuilder text = new StringBuilder();
@ -245,7 +289,13 @@ public class evaluate extends JFrame {
text.append("\nContrôle la date de céation : " + commandes.analyse_controleDateCreation); text.append("\nContrôle la date de céation : " + commandes.analyse_controleDateCreation);
text.append("\n______"); text.append("\n______");
text.append("\nContrôle l'auteur initial du fichier : " + commandes.analyse_controle_Initial_Creator); text.append("\nContrôle l'auteur initial du fichier : " + commandes.analyse_controle_Initial_Creator);
text.append("\n***********************************************"); text.append("\n\n***********************************************");
text.append("\n\n***********************************************");
text.append("\nDossier de l'analyse contenant les fichiers des étudiants :");
text.append("\n"+commandes.path+"\n");
text.append("\nFichier d'analyse :");
text.append("\n"+commandes.PathFilenameAnalysis+"\n");
progressBar.setVisible(false); progressBar.setVisible(false);
txtpnmessages.setText(text.toString()); txtpnmessages.setText(text.toString());
@ -256,7 +306,7 @@ public class evaluate extends JFrame {
lblFileAnalyse.setText("<HTML><B><U>Fichier de l'analyse</U></B> : " + commandes.analysis_filename + "</HTML>"); lblFileAnalyse.setText("<HTML><B><U>Fichier de l'analyse</U></B> : " + commandes.analysis_filename + "</HTML>");
lblFichierSVG.setText("<HTML><B><U>Fichier SVG</U></B> : " + commandes.nameSVG.substring(commandes.nameSVG.lastIndexOf("\\")+1,commandes.nameSVG.length()) + "</HTML>"); lblFichierSVG.setText("<HTML><B><U>Fichier SVG</U></B> : " + commandes.nameSVG.substring(commandes.nameSVG.lastIndexOf("\\")+1,commandes.nameSVG.length()) + "</HTML>");
lblFichierCSV.setText("<HTML><B><U>Fichier CSV</U></B> : " + commandes.nameCSV + "</HTML>"); lblFichierCSV.setText("<HTML><B><U>Fichier CSV</U></B> : " + commandes.nameCSV + "</HTML>");
} }
@ -303,7 +353,7 @@ public class evaluate extends JFrame {
if(commandes.fichierAnalyseValide) { if(commandes.fichierAnalyseValide) {
try { try {
msgBox V = new msgBox("Je travaille dure.",false,false,"Attendez"); msgBox V = new msgBox("Je travaille dure.",false,false,"Attendez");
Thread.sleep(500); Thread.sleep(200);
evaluerLesFichiersEtudiants(); evaluerLesFichiersEtudiants();
V.close(); V.close();
} catch (ParserConfigurationException | SAXException | IOException | CloneNotSupportedException e1) { } catch (ParserConfigurationException | SAXException | IOException | CloneNotSupportedException e1) {
@ -336,13 +386,17 @@ public class evaluate extends JFrame {
System.out.println("getSelectedFile() : " + chooser.getSelectedFile().getAbsolutePath()); System.out.println("getSelectedFile() : " + chooser.getSelectedFile().getAbsolutePath());
commandes.nameCSV = chooser.getSelectedFile().getAbsolutePath(); commandes.nameCSV = chooser.getSelectedFile().getAbsolutePath();
commandes.fourniCSV=true; commandes.fourniCSV=true;
commandes.nodeCSV = meptl.chargementFichierCSV();
txtpnmessages.setText(Run.ecritureNode(commandes.nodeCSV, 0).toString());
} else { } else {
commandes.nameCSV = ""; commandes.nameCSV = "";
commandes.fourniCSV=false; commandes.fourniCSV=false;
System.out.println("No Selection "); System.out.println("No Selection ");
commandes.nodeCSV = new node();
refreshLabel();
} }
refreshLabel();
} }
}); });
@ -385,6 +439,38 @@ public class evaluate extends JFrame {
} }
}); });
// Exit
btnExit.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
dispose();
}
});
// Information
btnInformationAnalyse.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
if(commandes.fichierAnalyseValide) {
refreshLabel();
}else {
txtpnmessages.setText("*** Veuillez charger un fichier d'analyse ***");
}
}
});
// liste des étudiants
btnInfoListeEtudiant.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
if(commandes.fourniCSV) {
txtpnmessages.setText(Run.ecritureNode(commandes.nodeCSV, 0).toString());
}else {
txtpnmessages.setText("*** Veuillez sélectionner un fichier CSV contenant la liste des étudiants ***");
}
}
});
} }
@ -410,6 +496,7 @@ public class evaluate extends JFrame {
if(chckCSVNotes.isSelected()) commandes.ecritNoteCSV=true; if(chckCSVNotes.isSelected()) commandes.ecritNoteCSV=true;
if(chckbxNewLogo.isSelected()) commandes.newLogo=true; if(chckbxNewLogo.isSelected()) commandes.newLogo=true;
if(chckbxNoLogo.isSelected()) commandes.noLogo = true; if(chckbxNoLogo.isSelected()) commandes.noLogo = true;
if(chckbxVerif.isSelected()) commandes.verifHisto2 = true;
meptl.analyseVerifieHistoriqueLesFichiersEtudiantsEtExportNoteCSV(); meptl.analyseVerifieHistoriqueLesFichiersEtudiantsEtExportNoteCSV();

View File

@ -37,10 +37,11 @@ public class filechooserXML extends JFileChooser {
if(!commandes.filename.isEmpty()) { if(!commandes.PathFilenameAnalysis.isEmpty()) {
File file = new File(commandes.path ); //+ "\\" + utils.filename + ".xml" File file = new File(commandes.PathFilenameAnalysis ); //+ "\\" + utils.filename + ".xml"
setCurrentDirectory(file); setCurrentDirectory(file);
} }
setPreferredSize(new Dimension(550, 420)); setPreferredSize(new Dimension(550, 420));
@ -84,7 +85,7 @@ public class filechooserXML extends JFileChooser {
private void openFileXML(File file) { private void openFileXML(File file) {
commandes.path = file.getPath().substring(0,file.getPath().lastIndexOf("\\")); commandes.path = file.getPath().substring(0,file.getPath().lastIndexOf("\\"));
commandes.filename = file.getName().substring(0,file.getName().lastIndexOf(".")); commandes.PathFilenameAnalysis = file.getPath();
commandes.nameSujet = file.getName().toString(); commandes.nameSujet = file.getName().toString();
BufferedReader br; BufferedReader br;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

BIN
src/resources/exit.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB