V4.1.2 finalisation fenetre setting

This commit is contained in:
pablo rodriguez 2022-06-14 16:39:05 +02:00
parent 3226850773
commit ac02164a83
106 changed files with 2958 additions and 46 deletions

View File

@ -14,6 +14,6 @@
<classpathentry kind="lib" path="C:/Users/pabr6/eclipse-workspace/zip4j-1.2.7.jar"/>
<classpathentry kind="lib" path="C:/Users/pabr6/git/analyseWriter/MEPTL/miglayout15-swing.jar"/>
<classpathentry kind="lib" path="jgoodies-forms-1.8.0.jar" sourcepath="jgoodies-forms-1.8.0-sources.jar"/>
<classpathentry kind="lib" path="C:/Users/pabr6/eclipse-workspace/cXML.jar"/>
<classpathentry kind="lib" path="C:/Users/pabr6/eclipse-workspace/cXML.jar" sourcepath="/cXML"/>
<classpathentry kind="output" path="bin"/>
</classpath>

Binary file not shown.

5
bin/.gitignore vendored
View File

@ -1,5 +1,2 @@
/MEPTL/
/app/
/calcul/
/setting$1.class
/setting.class
/MEPTL/

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.

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.

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.

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.

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.

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.

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.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

@ -0,0 +1,117 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
inkscape:export-ydpi="51.200001"
inkscape:export-xdpi="51.200001"
inkscape:export-filename="C:\Users\pabr6\git\analyseWriter\MEPTL\icons\atraversanalysestylemini.png"
sodipodi:docname="atraversanalysestyle.svg"
inkscape:version="1.1.2 (b8e25be833, 2022-02-05)"
id="svg8"
version="1.1"
viewBox="0 0 11.90625 11.90625"
height="45"
width="45"
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"
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">
<marker
style="overflow:visible"
id="Arrow2Mstart"
refX="0.0"
refY="0.0"
orient="auto"
inkscape:stockid="Arrow2Mstart"
inkscape:isstock="true">
<path
transform="scale(0.6) translate(0,0)"
d="M 8.7185878,4.0337352 L -2.2072895,0.016013256 L 8.7185884,-4.0017078 C 6.9730900,-1.6296469 6.9831476,1.6157441 8.7185878,4.0337352 z "
style="stroke:context-stroke;fill-rule:evenodd;fill:context-stroke;stroke-width:0.62500000;stroke-linejoin:round"
id="path1092" />
</marker>
</defs>
<sodipodi:namedview
inkscape:snap-global="false"
inkscape:window-maximized="1"
inkscape:window-y="-8"
inkscape:window-x="-8"
inkscape:window-height="1009"
inkscape:window-width="1920"
inkscape:object-nodes="true"
inkscape:bbox-nodes="true"
inkscape:bbox-paths="true"
inkscape:snap-bbox="true"
inkscape:snap-page="true"
units="px"
showgrid="false"
inkscape:document-rotation="0"
inkscape:current-layer="g1030"
inkscape:document-units="mm"
inkscape:cy="21.493944"
inkscape:cx="23.049426"
inkscape:zoom="7.0717595"
inkscape:pageshadow="2"
inkscape:pageopacity="0.0"
borderopacity="1.0"
bordercolor="#666666"
pagecolor="#ffffff"
id="base"
inkscape:pagecheckerboard="0"
inkscape:object-paths="true"
inkscape:snap-intersection-paths="true" />
<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
inkscape:label="Calque 2"
id="layer2"
inkscape:groupmode="layer">
<g
transform="matrix(0.12313291,0,0,0.12313291,3.8933229,-12.453772)"
id="g862"
style="fill:#0000ff">
<g
id="g1030">
<path
style="fill:#ffff00;stroke:#000000;stroke-width:2.31646px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m -8.81245,105.86292 h 51.052112 l 20.534924,32.54802 -44.777547,54.34903 -46.774001,-54.34903 z"
id="path3908"
sodipodi:nodetypes="cccccc" />
<text
xml:space="preserve"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:78.097px;line-height:1.25;font-family:Algerian;-inkscape-font-specification:Algerian;text-align:center;text-anchor:middle;fill:#008080;stroke-width:1.95244"
x="17.992798"
y="162.66893"
id="text2541"
transform="scale(0.98648788,1.0136972)"><tspan
sodipodi:role="line"
id="tspan2539"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:Algerian;-inkscape-font-specification:Algerian;fill:#008080;stroke-width:1.95244"
x="17.992798"
y="162.66893">S</tspan></text>
<path
style="fill:#ff0000;stroke:#ff0000;stroke-width:5.40067;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker-start:url(#Arrow2Mstart)"
d="M 55.58641,110.56027 19.731976,143.07235"
id="path1066"
sodipodi:nodetypes="cc" />
<path
style="fill:none;stroke:#ff0000;stroke-width:5.40067;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M -27.364949,185.6115 -5.487668,165.25348"
id="path1473"
sodipodi:nodetypes="cc" />
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Binary file not shown.

BIN
bin/resources/couleur.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 765 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 479 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 714 B

BIN
bin/resources/triche.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 771 B

BIN
bin/resources/zip.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
bin/resources/zipmini.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 685 B

BIN
bin/treeClose.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 334 B

268
bin/treeClose.svg Normal file
View File

@ -0,0 +1,268 @@
<?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\treeClose.png"
sodipodi:docname="treeClose.svg"
inkscape:version="1.1.2 (b8e25be833, 2022-02-05)"
id="svg8"
version="1.1"
viewBox="0 0 5.2167803 3.444775"
height="13.019622"
width="19.716965"
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="-0.1344148"
inkscape:cx="-9.4090359"
inkscape:zoom="14.879314"
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="true">
<sodipodi:guide
id="guide14"
orientation="1,0"
position="-0.21004355,-3.5079848" />
<sodipodi:guide
position="0.53679872,3.9358516"
orientation="0.70710678,-0.70710678"
id="guide3385" />
<sodipodi:guide
position="2.0977673,1.0715979"
orientation="0,-1"
id="guide3467" />
<sodipodi:guide
position="0.64349047,2.6022048"
orientation="-0.70710678,-0.70710678"
id="guide3469" />
<sodipodi:guide
position="2.0824775,2.3198312"
orientation="0,-1"
id="guide1111" />
<sodipodi:guide
position="3.4010321,3.262275"
orientation="1,0"
id="guide1113" />
</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(-1.1301771,-2.0290664)">
<path
style="fill:none;stroke:#000000;stroke-width:0.365;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 3.2126546,3.1540102 1.312669,3.7782346 3.2279444,4.4022435"
id="path3504"
sodipodi:nodetypes="ccc" />
<path
style="fill:none;stroke:#000000;stroke-width:0.365;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 4.5312092,3.1540102 6.1644654,3.7782346 4.5312092,4.4022435"
id="path996"
sodipodi:nodetypes="ccc" />
<ellipse
style="opacity:1;fill:#000000;stroke-width:0.079375;stroke-linecap:round;stroke-linejoin:round;paint-order:fill markers stroke;stop-color:#000000"
id="path964"
cx="2.5694814"
cy="3.7884479"
rx="0.5"
ry="0.49999997" />
<ellipse
style="opacity:1;fill:#000000;stroke-width:0.079375;stroke-linecap:round;stroke-linejoin:round;paint-order:fill markers stroke;stop-color:#000000"
id="ellipse1280"
cx="3.6719627"
cy="3.7884479"
rx="0.5"
ry="0.49999997" />
<ellipse
style="opacity:1;fill:#000000;stroke-width:0.079375;stroke-linecap:round;stroke-linejoin:round;paint-order:fill markers stroke;stop-color:#000000"
id="ellipse1282"
cx="4.7744441"
cy="3.7884479"
rx="0.5"
ry="0.49999997" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 7.6 KiB

BIN
bin/treeLeaf.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 263 B

258
bin/treeLeaf.svg Normal file
View File

@ -0,0 +1,258 @@
<?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\treeLeaf.png"
sodipodi:docname="treeLeaf.svg"
inkscape:version="1.1.2 (b8e25be833, 2022-02-05)"
id="svg8"
version="1.1"
viewBox="0 0 5.2167803 3.444775"
height="13.019622"
width="19.716965"
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="-0.1344148"
inkscape:cx="-9.4090359"
inkscape:zoom="14.879314"
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="true">
<sodipodi:guide
id="guide14"
orientation="1,0"
position="-0.21004355,-3.5079848" />
<sodipodi:guide
position="0.53679872,3.9358516"
orientation="0.70710678,-0.70710678"
id="guide3385" />
<sodipodi:guide
position="2.0977673,1.0715979"
orientation="0,-1"
id="guide3467" />
<sodipodi:guide
position="0.64349047,2.6022048"
orientation="-0.70710678,-0.70710678"
id="guide3469" />
<sodipodi:guide
position="2.0824775,2.3198312"
orientation="0,-1"
id="guide1111" />
<sodipodi:guide
position="3.4010321,3.262275"
orientation="1,0"
id="guide1113" />
</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(-1.1301771,-2.0290664)">
<ellipse
style="opacity:1;fill:#000000;stroke-width:0.079375;stroke-linecap:round;stroke-linejoin:round;paint-order:fill markers stroke;stop-color:#000000"
id="path964"
cx="2.5694814"
cy="3.7884479"
rx="0.5"
ry="0.49999997" />
<ellipse
style="opacity:1;fill:#000000;stroke-width:0.079375;stroke-linecap:round;stroke-linejoin:round;paint-order:fill markers stroke;stop-color:#000000"
id="ellipse1280"
cx="3.6719627"
cy="3.7884479"
rx="0.5"
ry="0.49999997" />
<ellipse
style="opacity:1;fill:#000000;stroke-width:0.079375;stroke-linecap:round;stroke-linejoin:round;paint-order:fill markers stroke;stop-color:#000000"
id="ellipse1282"
cx="4.7744441"
cy="3.7884479"
rx="0.5"
ry="0.49999997" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 7.0 KiB

BIN
icons/couleur.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 765 B

296
icons/couleur.svg Normal file
View File

@ -0,0 +1,296 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
inkscape:export-ydpi="90"
inkscape:export-xdpi="90"
inkscape:export-filename="C:\Users\pabr6\git\analyseWriter\MEPTL\icons\couleur.png"
sodipodi:docname="couleur.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>
<linearGradient
id="k-5"
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" />
</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="g14476"
inkscape:document-units="mm"
inkscape:cy="32.417201"
inkscape:cx="6.4599494"
inkscape:zoom="8.5139985"
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="true">
<sodipodi:guide
position="-56.821602,-7.0930435"
orientation="-0.70710678,-0.70710678"
id="guide3469" />
<sodipodi:guide
position="-106.99374,-36.263237"
orientation="1,0"
id="guide3633" />
<sodipodi:guide
position="-88.053232,-7.0930435"
orientation="0.70029702,0.71385159"
id="guide9736" />
</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(-1.1301771,-2.0290664)">
<g
id="g941"
transform="translate(10.112644,5.4757388)">
<g
id="g14476"
transform="matrix(0.09394189,0,0,0.09394189,8.4128076,3.1183643)">
<path
sodipodi:type="star"
style="font-variation-settings:normal;opacity:1;vector-effect:none;fill:#ff0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:3.77953;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;-inkscape-stroke:none;stop-color:#000000;stop-opacity:1"
id="path1186"
inkscape:flatsided="false"
sodipodi:sides="6"
sodipodi:cx="11.872101"
sodipodi:cy="11.872101"
sodipodi:r1="6.4625254"
sodipodi:r2="5.6094718"
sodipodi:arg1="0.65107672"
sodipodi:arg2="1.1814834"
inkscape:rounded="0"
inkscape:randomized="0"
d="M 17.012599,15.788671 14.001192,17.061817 11.050501,18.282188 8.4422215,16.310806 5.9100037,14.365618 6.3131306,11.121091 6.7316037,7.9555317 9.7430104,6.682386 12.693701,5.462015 l 2.60828,1.9713818 2.532218,1.9451878 -0.403127,3.2445274 z"
transform="matrix(4.4885334,1.8908488,-1.8908488,4.4885334,-175.68441,-77.440879)"
inkscape:transform-center-x="-0.20202256"
inkscape:transform-center-y="-0.041474738" />
<path
sodipodi:type="star"
style="font-variation-settings:normal;opacity:1;vector-effect:none;fill:#00ff00;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:3.77953;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;-inkscape-stroke:none;stop-color:#000000;stop-opacity:1"
id="path1623"
inkscape:flatsided="false"
sodipodi:sides="6"
sodipodi:cx="11.872101"
sodipodi:cy="11.872101"
sodipodi:r1="6.4625254"
sodipodi:r2="5.6094718"
sodipodi:arg1="0.65107672"
sodipodi:arg2="1.1814834"
inkscape:rounded="0"
inkscape:randomized="0"
d="M 17.012599,15.78867 14.001192,17.061816 11.050501,18.282187 8.442221,16.310805 5.9100032,14.365618 6.31313,11.12109 6.7316032,7.9555312 9.7430098,6.6823855 12.693701,5.4620144 l 2.60828,1.9713819 2.532217,1.9451878 -0.403126,3.2445279 z"
transform="matrix(4.4885334,1.8908488,-1.8908488,4.4885334,-128.58104,-49.868389)"
inkscape:transform-center-x="-0.20202256"
inkscape:transform-center-y="-0.041474738" />
<path
sodipodi:type="star"
style="font-variation-settings:normal;opacity:1;vector-effect:none;fill:#0000ff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:3.77953;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;-inkscape-stroke:none;stop-color:#000000;stop-opacity:1"
id="path1643"
inkscape:flatsided="false"
sodipodi:sides="6"
sodipodi:cx="11.872101"
sodipodi:cy="11.872101"
sodipodi:r1="6.4625254"
sodipodi:r2="5.6094718"
sodipodi:arg1="0.65107672"
sodipodi:arg2="1.1814834"
inkscape:rounded="0"
inkscape:randomized="0"
d="M 17.012599,15.78867 14.001192,17.061816 11.050501,18.282187 8.442221,16.310805 5.9100032,14.365618 6.31313,11.12109 6.7316032,7.9555312 9.7430098,6.6823855 12.693701,5.4620144 l 2.60828,1.9713819 2.532217,1.9451878 -0.403126,3.2445279 z"
transform="matrix(4.4885334,1.8908488,-1.8908488,4.4885334,-128.25425,-104.44735)"
inkscape:transform-center-x="-0.20202256"
inkscape:transform-center-y="-0.041474738" />
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 9.9 KiB

BIN
icons/couleurmini.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 479 B

BIN
icons/similitude.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

303
icons/similitude.svg Normal file
View File

@ -0,0 +1,303 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
inkscape:export-ydpi="48"
inkscape:export-xdpi="48"
inkscape:export-filename="C:\Users\pabr6\git\analyseWriter\MEPTL\icons\similitudemini.png"
sodipodi:docname="similitude.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>
<linearGradient
id="k-5"
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" />
</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="false"
units="px"
showgrid="false"
inkscape:document-rotation="0"
inkscape:current-layer="g14476"
inkscape:document-units="mm"
inkscape:cy="23.62181"
inkscape:cx="21.173954"
inkscape:zoom="8.1704154"
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="true">
<sodipodi:guide
id="guide14"
orientation="1,0"
position="-0.21004355,-3.5079848" />
<sodipodi:guide
position="0.53679872,3.9358516"
orientation="0.70710678,-0.70710678"
id="guide3385" />
<sodipodi:guide
position="2.0977673,1.0715979"
orientation="0,-1"
id="guide3467" />
<sodipodi:guide
position="-56.821602,-7.0930435"
orientation="-0.70710678,-0.70710678"
id="guide3469" />
<sodipodi:guide
position="2.0824775,2.3198312"
orientation="0,-1"
id="guide1111" />
<sodipodi:guide
position="3.4010321,3.262275"
orientation="1,0"
id="guide1113" />
<sodipodi:guide
position="-106.99374,-36.263237"
orientation="1,0"
id="guide3633" />
<sodipodi:guide
position="-88.053232,-7.0930435"
orientation="0.70029702,0.71385159"
id="guide9736" />
</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(-1.1301771,-2.0290664)">
<g
id="g941"
transform="translate(10.112644,5.4757388)">
<g
id="g14476"
transform="matrix(0.09394189,0,0,0.09394189,8.4128076,3.1183643)">
<path
id="path9885"
style="fill:#cccccc;stroke-width:22.6772;stroke-linecap:round;stroke-linejoin:round;paint-order:fill markers stroke;stop-color:#000000"
d="M -409.33594,-229.22852 A 239.5091,237.60523 0 0 0 -648.8457,8.3769531 239.5091,237.60523 0 0 0 -409.33594,245.98242 239.5091,237.60523 0 0 0 -169.82617,8.3769531 239.5091,237.60523 0 0 0 -409.33594,-229.22852 Z"
transform="matrix(0.26458333,0,0,0.26458333,-8.9824669,-3.4466724)" />
<path
id="ellipse9882"
style="fill:#aa0000;stroke-width:22.6772;stroke-linecap:round;stroke-linejoin:round;paint-order:fill markers stroke;stop-color:#000000"
d="M -297.0293,218.22852 -443.22461,74.808594 -497.0625,21.994141 l -90.0957,-6.001953 -39.21094,58.816406 165.50195,165.501956 a 239.5091,237.60523 0 0 0 51.53125,5.67187 239.5091,237.60523 0 0 0 112.30664,-27.7539 z"
transform="matrix(0.26458333,0,0,0.26458333,-8.9824669,-3.4466724)" />
<path
id="path9887"
style="fill:#aa0000;fill-opacity:1;stroke-width:22.6772;stroke-linecap:round;stroke-linejoin:round;paint-order:fill markers stroke;stop-color:#000000"
d="m -188.79102,100.77539 -25.96875,-25.966796 -12.94531,-15.408203 -26.6543,-15.992188 -41.125,12.185547 -28.17578,-11.644531 -9.13867,30.859375 97.68164,95.826176 a 239.5091,237.60523 0 0 0 46.32617,-69.85938 z"
transform="matrix(0.26458333,0,0,0.26458333,-8.9824669,-3.4466724)" />
<path
id="path12646"
style="fill:#ff5555;stroke-width:22.6772;stroke-linecap:round;stroke-linejoin:round;paint-order:fill markers stroke;stop-color:#000000"
d="M -409.33594,-229.22852 A 239.5091,237.60523 0 0 0 -648.8457,8.3769531 239.5091,237.60523 0 0 0 -460.86719,240.31055 l -165.50195,-165.501956 39.21094,-58.816406 90.0957,6.001953 53.83789,52.814453 146.19531,143.419926 a 239.5091,237.60523 0 0 0 61.91211,-47.59375 l -97.68164,-95.826176 9.13867,-30.859375 28.17578,11.644531 41.125,-12.185547 26.6543,15.992188 12.94531,15.408203 25.96875,25.966796 A 239.5091,237.60523 0 0 0 -169.82617,8.3769531 239.5091,237.60523 0 0 0 -409.33594,-229.22852 Z"
transform="matrix(0.26458333,0,0,0.26458333,-8.9824669,-3.4466724)" />
<text
xml:space="preserve"
style="font-size:68.2778px;line-height:1.25;font-family:'C.A. Gatintas';-inkscape-font-specification:'C.A. Gatintas';text-align:center;text-anchor:middle;stroke-width:0.853471"
x="-130.29149"
y="14.157156"
id="text1660"
transform="scale(0.91502184,1.0928701)"><tspan
sodipodi:role="line"
id="tspan1658"
style="font-style:normal;font-variant:normal;font-weight:900;font-stretch:normal;font-size:68.2778px;font-family:Arial;-inkscape-font-specification:'Arial Heavy';stroke-width:0.853471"
x="-130.29149"
y="14.157156"><tspan
style="fill:#2b0000"
id="tspan5290">A</tspan> <tspan
style="fill:#008080"
id="tspan8052">a</tspan></tspan></text>
<path
style="fill:#e3dbdb;stroke:#e3dbdb;stroke-width:3.99999995;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:7.99999989,3.99999995,1.99999999,3.99999995;stroke-dashoffset:0;stroke-opacity:1"
d="M -115.97621,-56.238312 V 57.606254"
id="path3668"
sodipodi:nodetypes="cc" />
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 10 KiB

BIN
icons/similitudemini.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
icons/traduction.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

265
icons/traduction.svg Normal file
View File

@ -0,0 +1,265 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
inkscape:export-ydpi="48"
inkscape:export-xdpi="48"
inkscape:export-filename="C:\Users\pabr6\git\analyseWriter\MEPTL\icons\traductionmini.png"
sodipodi:docname="traduction.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>
<linearGradient
id="k-5"
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" />
</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="g14476"
inkscape:document-units="mm"
inkscape:cy="21.925795"
inkscape:cx="29.898812"
inkscape:zoom="12.040612"
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="true" />
<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(-1.1301771,-2.0290664)">
<g
id="g941"
transform="translate(10.112644,5.4757388)">
<g
id="g14476"
transform="matrix(0.09394189,0,0,0.09394189,8.4128076,3.1183643)">
<g
id="g11130"
transform="matrix(0.05641324,0,0,0.05641324,-130.20645,-3.3942452)">
<text
xml:space="preserve"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:529.209px;line-height:1.25;font-family:Arial;-inkscape-font-specification:Arial;text-align:center;text-anchor:middle;stroke-width:13.2301"
x="-221.34836"
y="-148.31735"
id="text3828"
transform="scale(0.81420433,1.2281929)"><tspan
sodipodi:role="line"
id="tspan3826"
style="font-style:normal;font-variant:normal;font-weight:900;font-stretch:normal;font-family:Arial;-inkscape-font-specification:'Arial Heavy';stroke-width:13.2301"
x="-221.34833"
y="-148.31735">XML</tspan></text>
<path
style="fill:#008080;stroke-width:2.81646"
d="m 973.50398,856.98874 c -16.9099,-3.9166 -23.8431,-11.1343 -112.9887,-117.623 -10.0688,-12.0277 -38.1296,-45.282 -62.3573,-73.8985 l -44.0505,-52.03 -229.1459,0.3196 c -126.03033,0.1758 -242.20627,-0.7249 -258.16877,-2.0016 -109.0236,-8.7199 -199.864441,-97.4655 -214.799351,-209.845 -1.86551,-14.0373 -2.5812,-105.6269 -1.99758,-255.6403 0.90299,-232.105271 0.95425,-233.925991 7.2143,-256.29759 7.8453,-28.03685 25.17322,-64.65134 41.22429,-87.10847 37.751881,-52.81872 102.379141,-90.00736 167.104171,-96.15718 l 20.41932,-1.94015 v 50.48686 50.48686 l -20.1237,3.45084 c -53.93133,9.2482 -99.1566,54.06412 -111.01521,110.010429 -3.19871,15.09081 -3.95853,60.58107 -3.98086,238.334301 -0.0169,139.9588 1.04482,226.3274 2.92756,237.9906 8.22479,50.9514 47.0634,95.8161 96.62275,111.6144 12.87985,4.1058 43.55164,4.6875 282.90748,5.3654 147.6537,0.4181 268.8255,1.2012 269.2706,1.74 0.4452,0.5388 9.5466,11.247 20.2255,23.7958 10.6789,12.5489 28.2881,33.366 39.1314,46.2601 10.8434,12.8941 31.1219,36.8631 45.0634,53.2645 13.9414,16.4013 30.2535,35.8244 36.2491,43.1625 5.9955,7.338 11.6989,13.3424 12.674,13.3431 0.9752,7e-4 1.7731,-40.8352 1.7731,-90.7465 v -90.7477 l 108.43362,-0.4986 c 102.4196,-0.4709 109.3583,-0.8277 125.105,-6.4336 40.6626,-14.4761 70.8366,-45.0468 86.451,-87.5877 l 6.7195,-18.307 v -239.3989 c 0,-225.068421 -0.3106,-240.326121 -5.1879,-254.889381 -11.1368,-33.253909 -36.9056,-65.220509 -65.9444,-81.805299 -29.933,-17.09542 -21.3334,-16.68346 -349.22402,-16.72908 l -299.2486,-0.0416 v -50.69623 -50.69624 l 302.065,0.0983 c 240.55662,0.0783 306.36642,0.87066 323.18852,3.8915 83.9129,15.06867 155.5089,77.82261 183.3656,160.72011 4.3501,12.94531 9.2894,31.560769 10.9762,41.367699 2.098,12.19741 2.7879,93.9104127 2.1838,258.637921 -0.8801,239.9997 -0.9042,240.8803 -7.2129,262.6527 -25.7531,88.8784 -91.804,154.1017 -176.0492,173.8435 -18.1805,4.2603 -36.0604,5.5973 -83.6749,6.257 l -60.5538,0.8388 -1.4083,100.212 -1.4082,100.2121 -8.4494,13.5557 c -14.7476,23.6604 -45.7096,35.8305 -74.30572,29.207 z"
id="path1982" />
<path
style="fill:#ff0000;stroke-width:2.81646"
d="m -483.5995,311.20884 c -19.0501,-6.1416 -35.4693,-21.3058 -43.79,-40.4431 -2.4698,-5.6805 -3.4252,-34.8497 -3.4252,-104.5769 V 69.489712 l -62.6662,-1.39223 c -72.5973,-1.61284 -91.3542,-5.24756 -133.0975,-25.79145 -68.5144,-33.7193403 -118.9702,-103.333073 -130.9332,-180.648262 -2.0359,-13.15776 -2.7437,-98.42762 -2.1611,-260.37232 l 0.8662,-240.80711 6.3892,-21.12343 c 25.9547,-85.80854 88.8072,-149.05063 171.5275,-172.59058 l 21.9263,-6.23961 452.0414,-0.82571 c 319.20487,-0.58307 459.06387,0.0922 475.93873,2.29783 44.02537,5.75443 79.15817,20.79429 114.35108,48.9521 40.76877,32.61909 71.49877,79.83385 86.32337,132.63065 l 6.3266,22.53166 0.022,247.84826 0.023,247.84826 -6.3776,22.53166 c -17.2591,60.975879 -54.0357,112.6067617 -102.95798,144.543562 -34.37002,22.437 -65.64717,32.90487 -113.86019,38.10689 l -11.96995,1.29152 v -50.30061 -50.300613 l 10.56172,-1.65126 c 51.6609,-8.07687 87.27196,-33.83582 109.03991,-78.873029 5.24095,-10.84336 10.89234,-27.23557 12.55867,-36.4271 1.99732,-11.01734 3.01299,-92.11239 2.98077,-237.99066 -0.0538,-243.01559 -0.0476,-242.91442 -16.97504,-276.44767 -10.99796,-21.78685 -38.22113,-49.76605 -58.3416,-59.96185 -32.45564,-16.44653 -10.72152,-15.74754 -491.06212,-15.79289 -286.80247,-0.0282 -446.40197,0.95853 -456.26617,2.81761 -21.3652,4.02672 -52.4454,19.69974 -66.6835,33.62701 -15.9161,15.56871 -30.0989,37.25577 -37.9143,57.97529 l -6.3349,16.78854 -0.7669,236.34998 c -0.6755,208.21257 -0.2391,238.16548 3.6664,251.59987 12.3496,42.481109 37.8681,74.782579 72.4574,91.716919 11.2215,5.49384 27.923,11.34444 37.1145,13.00139 9.8036,1.76724 57.877,3.0126 116.294,3.0126 h 99.5822 l -0.8193,90.128693 c -0.4506,49.570778 0.1216,89.810918 1.2718,89.422518 1.8847,-0.6365 75.6955,-86.927108 131.1758,-153.3547783 l 21.6383,-25.9080027 118.95814,-0.1442 118.958149,-0.1442 -1.00063,49.992123 -1.0006,49.99212 -94.414499,0.7412 -94.41456,0.74121 -43.2582,51.238118 c -23.792,28.18091 -53.9382,63.96851 -66.9914,79.52781 -66.5326,79.3061 -87.3747,102.2166 -97.2525,106.9039 -12.2062,5.7922 -36.3443,8.166 -47.2581,4.6474 z"
id="path2090" />
<text
xml:space="preserve"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:529.209px;line-height:1.25;font-family:Arial;-inkscape-font-specification:Arial;text-align:center;text-anchor:middle;stroke-width:13.2301"
x="909.42694"
y="324.00632"
id="text9820"
transform="scale(0.81420434,1.2281929)"><tspan
sodipodi:role="line"
id="tspan9818"
style="font-style:normal;font-variant:normal;font-weight:900;font-stretch:normal;font-family:Arial;-inkscape-font-specification:'Arial Heavy';stroke-width:13.2301"
x="909.42694"
y="324.00632">A</tspan></text>
</g>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 12 KiB

BIN
icons/traductionmini.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 714 B

BIN
icons/triche.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

278
icons/triche.svg Normal file
View File

@ -0,0 +1,278 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
inkscape:export-ydpi="90"
inkscape:export-xdpi="90"
inkscape:export-filename="C:\Users\pabr6\git\analyseWriter\MEPTL\icons\triche.png"
sodipodi:docname="triche.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>
<linearGradient
id="k-5"
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" />
</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="false"
units="px"
showgrid="false"
inkscape:document-rotation="0"
inkscape:current-layer="g941"
inkscape:document-units="mm"
inkscape:cy="20.82063"
inkscape:cx="18.037675"
inkscape:zoom="9.7019158"
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="-0.21004355,-3.5079848" />
<sodipodi:guide
position="0.53679872,3.9358516"
orientation="0.70710678,-0.70710678"
id="guide3385" />
<sodipodi:guide
position="2.0977673,1.0715979"
orientation="0,-1"
id="guide3467" />
<sodipodi:guide
position="0.64349047,2.6022048"
orientation="-0.70710678,-0.70710678"
id="guide3469" />
<sodipodi:guide
position="2.0824775,2.3198312"
orientation="0,-1"
id="guide1111" />
<sodipodi:guide
position="3.4010321,3.262275"
orientation="1,0"
id="guide1113" />
</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(-1.1301771,-2.0290664)">
<g
id="g941"
transform="translate(10.112644,5.4757388)">
<g
id="g3352"
transform="matrix(0.01221476,0,0,0.01221476,-1.2115259,2.745191)">
<path
style="fill:#0000ff;stroke-width:0.264583"
d="m -354.75758,518.55458 c -12.68296,-1.9777 -22.98452,-12.13315 -25.20104,-24.84363 -0.35454,-2.03311 -0.40677,-7.76306 -0.40677,-44.63126 v -42.29867 h -40.01791 -40.01791 l 40.93676,-40.94427 40.93673,-40.94427 1.29336,-2.64583 c 3.00389,-6.145 8.1884,-11.25556 14.29022,-14.08634 1.85574,-0.86093 2.48608,-1.39676 7.51573,-6.38892 l 5.49011,-5.44917 5.4901,5.45573 c 4.99491,4.96366 5.67272,5.54194 7.51464,6.41123 6.22313,2.937 11.42566,8.15781 14.50756,14.55859 l 1.03266,2.14471 40.76084,40.74551 c 22.41849,22.41003 40.76086,40.83495 40.76086,40.94427 0,0.10933 -17.91891,0.19876 -39.81979,0.19876 h -39.81979 v 25.66471 25.66472 l 269.676551,-0.0663 269.676549,-0.0663 0.1456,-22.35729 c 0.14332,-22.0068 0.15475,-22.38999 0.72821,-24.44377 1.47201,-5.27164 3.84241,-9.58321 7.32827,-13.32957 4.6065,-4.95078 10.51443,-8.18563 17.06562,-9.34413 2.8615,-0.50605 8.37346,-0.43733 11.1125,0.1385 12.23695,2.57265 21.50668,11.8976 23.99932,24.14225 0.4436,2.17903 0.47464,4.849 0.47464,40.82838 0,36.29015 -0.0277,38.62271 -0.48292,40.69189 -2.27152,10.32449 -8.91489,18.44627 -18.25577,22.31834 -1.04434,0.43291 -3.08943,1.10718 -4.54464,1.49834 l -2.64584,0.71122 -303.609359,0.041 c -254.706611,0.0344 -303.980751,-0.0169 -305.915091,-0.31851 z"
id="path1084" />
<path
style="fill:#ff0000;stroke-width:0.264583"
d="m 91.651261,-328.09915 -64.42564,-64.42604 h 49.14616 49.146139 v -21.82826 -21.82825 l -269.67655,0.0663 -269.67655,0.0663 -0.13851,22.35729 c -0.13655,22.0382 -0.14684,22.38687 -0.7222,24.42903 -1.4927,5.2981 -3.86218,9.60512 -7.34137,13.34431 -4.6065,4.95078 -10.51443,8.18563 -17.06562,9.34413 -2.8615,0.50605 -8.37346,0.43733 -11.1125,-0.1385 -12.23695,-2.57265 -21.50668,-11.8976 -23.99932,-24.14225 -0.44352,-2.17861 -0.47464,-4.83886 -0.47464,-40.5638 0,-31.15132 0.0669,-38.59982 0.36102,-40.21667 1.89143,-10.39608 8.82611,-19.0988 18.37166,-23.05567 1.04765,-0.43427 3.09544,-1.10964 4.55065,-1.50081 l 2.64584,-0.71122 302.9479,-0.0788 c 227.181791,-0.059 303.57607,-0.003 305.45967,0.22567 13.25446,1.60636 24.02527,11.82725 26.31792,24.97418 0.3534,2.02658 0.40677,7.37827 0.40677,40.7948 v 38.46222 h 49.0802 c 26.99412,0 49.08021,0.0894 49.08021,0.19865 0,0.10924 -28.9025,29.10096 -64.22781,64.42603 l -64.22779,64.22739 z"
id="path1194" />
<path
style="fill:#decd87;fill-opacity:1;stroke-width:0.264583"
d="M 148.1398,65.841013 C 138.79752,65.131639 131.61778,63.72313 123.93042,61.09161 104.58375,54.468905 87.142071,41.114776 74.121451,22.955576 66.617151,12.489718 60.237491,-0.07058116 55.821831,-13.072814 l -1.43941,-4.238413 -2.71423,-3.258555 c -14.17243,-17.014666 -23.60707,-36.096256 -26.42396,-53.442497 -2.56447,-15.791973 0.44069,-31.500761 8.51572,-44.513631 l 1.32792,-2.13992 -0.32629,-4.23333 c -0.41214,-5.34734 -0.41764,-16.32617 -0.0106,-21.16667 2.60078,-30.92852 15.563,-55.57152 37.98258,-72.21024 14.83643,-11.01087 32.823489,-18.04561 54.107289,-21.16129 12.31497,-1.8028 31.73692,-2.15654 44.64036,-0.81312 26.11387,2.7188 46.82903,10.64715 64.22334,24.58034 5.61412,4.49702 12.89955,12.33797 17.17273,18.48218 13.71192,19.7158 19.7504,45.21949 17.34844,73.27146 l -0.26541,3.09933 1.49006,2.45692 c 4.1897,6.90832 7.10297,14.68474 8.45359,22.565249 2.18729,12.761992 0.0774,27.568921 -5.98979,42.03594 -4.77428,11.384094 -12.64291,24.008899 -21.21154,34.032823 -1.86907,2.186517 -1.963,2.365666 -3.32931,6.35 -2.97158,8.6655794 -7.3814,18.4823348 -11.52842,25.663523 -2.55842,4.430263 -7.39579,11.562768 -10.31809,15.213542 -10.3955,12.98694 -21.64921,22.183141 -35.46618,28.981874 -9.91303,4.877779 -19.19515,7.659185 -29.50104,8.839967 -3.56475,0.408437 -11.91442,0.708581 -14.41979,0.518345 z"
id="path1192" />
<path
style="fill:#decd87;stroke-width:0.264583"
d="m -350.84635,65.727613 c -14.25247,-1.050025 -28.29116,-5.575961 -40.77385,-13.145134 -22.83069,-13.843926 -39.98275,-36.5529 -50.2748,-66.56284 -1.15295,-3.361822 -1.17608,-3.401192 -4.03916,-6.879167 -14.65315,-17.800133 -23.4528,-35.913428 -26.37861,-54.297974 -0.57949,-3.641354 -0.80952,-12.763631 -0.41754,-16.558074 0.94403,-9.138254 4.16306,-18.727364 8.87463,-26.436714 l 1.53617,-2.51354 -0.30062,-4.49792 c -0.37201,-5.56633 -0.38513,-15.84954 -0.0259,-20.40064 2.40355,-30.46137 14.73824,-54.61111 36.58528,-71.62924 17.44917,-13.59231 40.68763,-21.69147 67.25904,-23.44134 10.62913,-0.69999 23.81319,-0.54753 32.9017,0.38044 25.49057,2.60268 46.70237,10.63487 63.67121,24.11013 3.88993,3.08906 11.61521,10.87972 14.52539,14.64836 12.73032,16.48545 19.30574,34.74569 20.81768,57.81146 0.32946,5.02629 0.18309,15.65584 -0.27959,20.30317 l -0.25648,2.57606 1.49555,2.45102 c 10.93322,17.91796 12.22513,38.953997 3.76592,61.320786 -3.40754,9.009908 -8.06209,17.671255 -14.34737,26.698229 -2.64247,3.795157 -7.04583,9.470125 -8.95638,11.542818 -0.79222,0.859446 -1.26162,1.836182 -2.23034,4.640924 -4.57565,13.24776584 -10.88413,25.938902 -17.78799,35.785 -17.56804,25.055167 -42.19275,40.561099 -69.37451,43.684479 -4.53546,0.521149 -11.91133,0.710141 -15.9893,0.409707 z"
id="path1190" />
<path
style="fill:#0000ff;stroke-width:0.264583"
d="m 127.37001,281.34902 c -59.501169,-2.00821 -116.269209,-9.48608 -162.697469,-21.43159 -18.26551,-4.69953 -41.46804,-12.24362 -45.12802,-14.673 -3.19246,-2.11902 -5.68039,-5.93939 -6.33857,-9.73317 -0.28319,-1.63232 -0.30983,-3.46475 -0.12637,-8.68685 0.80621,-22.94631 5.26471,-45.70685 12.61243,-64.38609 8.34382,-21.21154 20.44998,-37.28953 35.65196,-47.34869 3.44951,-2.28254 -0.65283,0.006 53.84271,-30.043095 24.08369,-13.280072 46.34838,-25.568036 49.47708,-27.306613 6.96436,-3.869981 8.5235,-4.442222 12.10331,-4.442222 4.40521,0 7.98086,1.484419 10.82474,4.493816 5.77347,6.109467 7.09999,7.421377 9.38392,9.280471 7.682209,6.253268 18.196749,11.527102 28.746239,14.418389 9.64692,2.643928 18.99877,3.744383 29.56158,3.47853 14.93067,-0.375761 27.82908,-3.435456 39.81841,-9.445519 8.30241,-4.161869 13.91293,-8.504131 21.56492,-16.69018 2.40405,-2.57183 4.62404,-3.907102 7.70289,-4.633066 2.27071,-0.535437 5.94535,-0.36703 8.04749,0.368829 1.09167,0.382138 85.73915,46.84236 104.10586,57.14031 20.09002,11.26416 34.84729,30.95305 44.07106,58.79883 5.9032,17.82125 9.77165,41.56197 9.77165,59.96866 0,4.55022 -0.0476,5.03491 -0.67842,6.9142 -1.25048,3.72509 -3.75843,6.77312 -6.9945,8.50066 -1.62584,0.86794 -9.05648,3.56346 -17.06562,6.19069 -50.3105,16.5032 -116.84897,26.73266 -190.5,29.287 -8.45325,0.29316 -38.85252,0.28024 -47.75728,-0.0204 z"
id="path1188" />
<path
style="fill:#ff0000;stroke-width:0.264583"
d="m -366.21018,281.45732 c -65.10583,-2.13109 -123.02296,-9.83155 -171.05312,-22.74261 -15.1276,-4.06648 -35.30889,-10.6386 -39.53139,-12.87356 -3.24103,-1.71548 -6.17047,-5.53411 -7.16005,-9.33334 -0.75661,-2.9048 -0.47348,-13.12283 0.67042,-24.19553 1.8638,-18.04117 6.02639,-35.84959 11.75044,-50.27083 1.71041,-4.30925 5.5055,-12.29543 7.58548,-15.9625 7.48834,-13.20213 17.06266,-23.80686 28.00802,-31.02226 1.81901,-1.19912 15.86839,-9.10916 31.22083,-17.577863 15.35245,-8.4687 39.16458,-21.606031 52.91582,-29.194069 13.75127,-7.588038 25.77658,-14.061254 26.72292,-14.384919 1.32865,-0.454422 2.33534,-0.590021 4.41896,-0.595313 4.72228,-0.01191 8.63547,1.718046 11.52925,5.097039 2.667,3.114199 4.58417,5.047218 7.60055,7.663418 20.28489,17.593706 54.77671,23.753924 84.7894,15.143347 8.12612,-2.331376 15.16698,-5.554847 21.96997,-10.058399 4.64669,-3.076073 8.18636,-6.03168 11.17026,-9.327065 3.95877,-4.372028 5.00827,-5.290264 7.31737,-6.402123 3.70715,-1.785064 7.96141,-2.05306 11.56446,-0.728503 2.29385,0.84328 105.69151,57.932 109.37676,60.38995 13.97849,9.32328 25.49977,23.84142 33.59144,42.32905 8.94048,20.42699 14.58156,48.29402 14.72877,72.76041 0.0283,4.70831 -0.0294,5.48124 -0.52408,7.01146 -1.07418,3.32303 -3.257,6.24718 -6.04454,8.09747 -1.67315,1.11056 -6.75167,3.0168 -17.40337,6.53243 -50.68998,16.73039 -117.03269,26.98083 -191.29374,29.55631 -6.42125,0.2227 -37.88026,0.28575 -43.92083,0.088 z"
id="path1186" />
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 15 KiB

BIN
icons/trichemini.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 771 B

BIN
icons/zip.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

280
icons/zip.svg Normal file
View File

@ -0,0 +1,280 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
inkscape:export-ydpi="48"
inkscape:export-xdpi="48"
inkscape:export-filename="C:\Users\pabr6\git\analyseWriter\MEPTL\icons\zipmini.png"
sodipodi:docname="zip.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>
<linearGradient
id="k-5"
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" />
</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="false"
units="px"
showgrid="false"
inkscape:document-rotation="0"
inkscape:current-layer="g941"
inkscape:document-units="mm"
inkscape:cy="18.659976"
inkscape:cx="32.478445"
inkscape:zoom="9.9142679"
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="-0.21004355,-3.5079848" />
<sodipodi:guide
position="0.53679872,3.9358516"
orientation="0.70710678,-0.70710678"
id="guide3385" />
<sodipodi:guide
position="2.0977673,1.0715979"
orientation="0,-1"
id="guide3467" />
<sodipodi:guide
position="0.64349047,2.6022048"
orientation="-0.70710678,-0.70710678"
id="guide3469" />
<sodipodi:guide
position="2.0824775,2.3198312"
orientation="0,-1"
id="guide1111" />
<sodipodi:guide
position="3.4010321,3.262275"
orientation="1,0"
id="guide1113" />
</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(-1.1301771,-2.0290664)">
<g
id="g941"
transform="translate(10.112644,5.4757388)">
<g
id="g4179"
transform="matrix(0.09261822,0,0,0.09421439,-9.6939542,-3.2132986)"
style="stroke-width:0.916165">
<path
style="fill:#d4aa00;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:#ffdd55;stroke-width:0.916165" />
</g>
<path
style="fill:#d4aa00;stroke-width:0.0896437"
d="m 1.889838,2.1726352 c 0.033734,0 0.067393,-0.00276 0.1007249,-0.00803 0.4277448,-0.1402793 0.571687,-0.8067449 0.241927,-1.1202598 l -3.8711461,-3.9840263 c -0.3576115,-0.3489951 -1.0696714,-0.050368 -1.0885132,0.4565199 v 3.9840265 c 3.87e-5,0.3476792 0.307334,0.6636874 0.6451364,0.6637368 h 3.8708336 c 0.03335,0.00526 0.067306,0.00803 0.1010371,0.00803 z"
id="path4056" />
<text
xml:space="preserve"
style="font-size:4.54976px;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:0.264584"
x="-2.6661246"
y="5.8901668"
id="text3199"
transform="scale(0.89768227,1.1139799)"><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:#554400;stroke-width:0.264584"
x="-2.6661246"
y="5.8901668">ZIP</tspan></text>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 8.5 KiB

BIN
icons/zipmini.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 685 B

View File

@ -33,7 +33,7 @@ public class commandes {
public static node nodeCSV = null;
//**version
public static String version ="V4.1.1"; // La version actuelle
public static String version ="V4.1.2"; // La version actuelle
public static String branch = "Origin";
public static String Annee ="2022";

View File

@ -843,7 +843,6 @@ public class create extends JFrame {
/**
* Enregistrer
*/

View File

@ -5,8 +5,11 @@ import javax.swing.ImageIcon;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.filechooser.FileNameExtensionFilter;
import MEPTL.commandes;
import MEPTL.verificationFichierAnalyse;
import cXML.Run;
import cXML.node;
import javax.swing.JTabbedPane;
@ -15,11 +18,22 @@ import javax.swing.JOptionPane;
import javax.swing.SwingConstants;
import java.awt.Font;
import javax.swing.JComboBox;
import javax.swing.JFileChooser;
import javax.swing.DefaultComboBoxModel;
import javax.swing.JTextField;
import javax.swing.JButton;
import java.awt.event.ActionListener;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import java.awt.event.ActionEvent;
import java.awt.GridLayout;
import java.awt.Color;
import javax.swing.UIManager;
public class setting extends JFrame {
@ -34,7 +48,33 @@ public class setting extends JFrame {
private JTextField textFieldIDEtudiant;
private JComboBox<String> comboBoxSeparateur;
private JComboBox<String> comboBoxEncodage;
private JButton btnValiderCSV;
private JButton btnValiderModifications;
private JButton btnReinit;
private JButton btnTestCouleur;
private JTextField textFieldSize;
private JTextField textFieldNameZIP;
private JTextField textFieldMiniCorrespondance;
private JTextField textFieldNbrMiniModification;
private JTextField textFieldMaxiModificationSimul;
private JTextField textFieldTextSimilitude;
private JTextField textFieldRouge;
private JTextField textFieldVert;
private JTextField textFieldBleu;
private JTextField textFieldTestCouleur;
private JButton btnExtraire;
// Bouton couleur de test
JButton btnCouleurInitTest;
JButton btnRougeMax;
JButton btnRougeMini;
JButton btnVertMax;
JButton btnVertMini;
JButton btnBleuMini;
JButton btnBleuMax;
JButton btnCouleurMiniTotal;
JButton btnCouleurMaxiTotal;
JButton btnAjouterVosTraductions;
/**
* Create the frame.
*/
@ -58,18 +98,26 @@ public class setting extends JFrame {
int screenHeight = (int) java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment().getMaximumWindowBounds().getHeight();
setLocation(( (screenWidth) - getWidth()) / 2, (screenHeight - getHeight()) / 2);
ImageIcon img1 = new ImageIcon(getClass().getResource("/fichierCSV.png") );
ImageIcon img3 = new ImageIcon(getClass().getResource("/property.png") );
ImageIcon img4 = new ImageIcon(getClass().getResource("/content.png") );
ImageIcon img2 = new ImageIcon(getClass().getResource("/structurepage.png") );
ImageIcon img1 = new ImageIcon(getClass().getResource("/resources/fichierCSV.png") );
ImageIcon img2 = new ImageIcon(getClass().getResource("/resources/zip.png") );
ImageIcon img3 = new ImageIcon(getClass().getResource("/resources/triche.png") );
ImageIcon img4 = new ImageIcon(getClass().getResource("/resources/similitude.png") );
ImageIcon img5 = new ImageIcon(getClass().getResource("/resources/couleur.png") );
ImageIcon img6 = new ImageIcon(getClass().getResource("/resources/traduction.png") );
//*********************************************************
//** CSV **
//*********************************************************
JPanel panelCSV = new JPanel();
tabbedPane.addTab("Fichier CSV", img1, panelCSV, null);
tabbedPane.addTab("CSV", img1, panelCSV, null);
panelCSV.setLayout(null);
node nodCSV = commandes.sujet.retourneFirstEnfantsByName("csv");
if(nodCSV==null) {
JOptionPane.showMessageDialog(null, "Problème avec le fichier d'analyse.<br>Le node CSV n'est pas dans le fichier.");
JOptionPane.showMessageDialog(null, "Problème avec le fichier d'analyse.<br>Le node csv n'est pas dans le fichier.");
dispose();
return;
}
@ -77,7 +125,7 @@ public class setting extends JFrame {
lblNewLabel.setVerticalAlignment(SwingConstants.TOP);
lblNewLabel.setFont(new Font("Tahoma", Font.PLAIN, 14));
lblNewLabel.setHorizontalAlignment(SwingConstants.LEFT);
lblNewLabel.setBounds(10, 11, 691, 42);
lblNewLabel.setBounds(10, 10, 691, 46);
panelCSV.add(lblNewLabel);
JLabel lblEncodage = new JLabel("Encodage");
@ -166,33 +214,388 @@ public class setting extends JFrame {
textFieldIDEtudiant.setText(nodImportMoodle.getAttributs().get("id"));
panelCSV.add(textFieldIDEtudiant);
btnValiderCSV = new JButton("Valider");
btnValiderCSV.setFont(new Font("Tahoma", Font.BOLD, 12));
btnValiderCSV.setBounds(535, 430, 145, 37);
panelCSV.add(btnValiderCSV);
//*********************************************************
//** ZIP **
//*********************************************************
JPanel panelZip = new JPanel();
panelZip.setLayout(null);
tabbedPane.addTab("ZIP", img1, panelZip, null);
tabbedPane.addTab("ZIP", img2, panelZip, null);
node nodZIP = commandes.sujet.retourneFirstEnfantsByName("zip");
if(nodZIP==null) {
JOptionPane.showMessageDialog(null, "Problème avec le fichier d'analyse.<br>Le node zip n'est pas dans le fichier.");
dispose();
return;
}
JLabel lblZIP = new JLabel("<html>Ces paramètres permettent de réaliser les archives au format ZIP contenant les feedbacks des étudiants.<br>\r\nCes paramètres sont enregistrés dans le fichier d'analyse.</html>");
lblZIP.setHorizontalAlignment(SwingConstants.LEFT);
lblZIP.setVerticalAlignment(SwingConstants.TOP);
lblZIP.setFont(new Font("Tahoma", Font.PLAIN, 14));
lblZIP.setBounds(10, 10, 691, 46);
panelZip.add(lblZIP);
JLabel lblSize = new JLabel("Taille maximale (Mo)");
lblSize.setFont(new Font("Tahoma", Font.BOLD, 12));
lblSize.setBounds(60, 96, 134, 20);
panelZip.add(lblSize);
textFieldSize = new JTextField();
textFieldSize.setFont(new Font("Tahoma", Font.BOLD, 12));
textFieldSize.setBounds(198, 94, 86, 22);
Integer size = 0;
try {
size = Integer.valueOf(nodZIP.getAttributs().get("size"));
size = size/1000000;
size = size + 2;
}catch (Exception e) {
JOptionPane.showInternalMessageDialog(null, "Il y a un problème avec la taille de l'archive dans le fichier d'analyse.");
dispose();
return;
}
textFieldSize.setText(String.valueOf(size));
textFieldSize.setColumns(10);
panelZip.add(textFieldSize);
JLabel lblNewLabel_1_1 = new JLabel("Nom de l'archive");
lblNewLabel_1_1.setFont(new Font("Tahoma", Font.BOLD, 12));
lblNewLabel_1_1.setBounds(60, 164, 134, 20);
panelZip.add(lblNewLabel_1_1);
textFieldNameZIP = new JTextField();
textFieldNameZIP.setFont(new Font("Tahoma", Font.BOLD, 12));
textFieldNameZIP.setColumns(10);
textFieldNameZIP.setBounds(198, 164, 187, 22);
textFieldNameZIP.setText(nodZIP.getAttributs().get("nameZip"));
panelZip.add(textFieldNameZIP);
JLabel lblNewLabel_1 = new JLabel("La taille maximale sur moodle est limitée à 50Mo.");
lblNewLabel_1.setBounds(311, 97, 349, 20);
panelZip.add(lblNewLabel_1);
JLabel lblNewLabel_1_2 = new JLabel("Ne saisissez pas de caractère spéciaux.");
lblNewLabel_1_2.setBounds(406, 165, 254, 20);
panelZip.add(lblNewLabel_1_2);
//*********************************************************
//** TRICHE **
//*********************************************************
JPanel panelPlagiarism = new JPanel();
panelPlagiarism.setLayout(null);
tabbedPane.addTab("Triche", img2, panelPlagiarism, null);
tabbedPane.addTab("Triche", img3, panelPlagiarism, null);
node nodTriche = commandes.sujet.retourneFirstEnfantsByName("plagiarism");
if(nodTriche==null) {
JOptionPane.showMessageDialog(null, "Problème avec le fichier d'analyse.<br>Le node plagiarism n'est pas dans le fichier.");
dispose();
return;
}
JLabel lbldurantVosContrles = new JLabel("<html><b><u>Pour vérifier d'éventuelles triches, les fichiers des étudiants doivent enregistrer les modifications</u>.</b><br><br>"
+ "Durant vos contrôles, des étudiants peuvent transmettre leurs fichiers à d'autres étudiants. Ils peuvent aussi réaliser des copiés et collés entre les fichiers.<br><br>"
+ "Pour limiter les risques, remettez à vos étudiants un fichier avec <b><u>le mode suivi des modifications activé et protégé</u></b> par un mot de passe.<br><br>"
+ "Si vous avez oublié de demander, dans vos consignes, de changer dans les options le nom et le prénom de l'auteur."
+ " Alors, il est possible (mais très peu probable) qu'une modification <u>identique</u> se produise dans deux fichiers.<br><br>"
+ "Les paramètres ci-dessous permettent d'avoir une tolérances sur le signalement d'une éventuelle triche.</html>");
lbldurantVosContrles.setVerticalAlignment(SwingConstants.TOP);
lbldurantVosContrles.setHorizontalAlignment(SwingConstants.LEFT);
lbldurantVosContrles.setFont(new Font("Tahoma", Font.PLAIN, 14));
lbldurantVosContrles.setBounds(10, 10, 691, 226);
panelPlagiarism.add(lbldurantVosContrles);
JLabel lblNbrCorrespondanceMinimale = new JLabel("Nombre minimale de correspondance entre fichier");
lblNbrCorrespondanceMinimale.setFont(new Font("Tahoma", Font.BOLD, 12));
lblNbrCorrespondanceMinimale.setBounds(40, 247, 313, 20);
panelPlagiarism.add(lblNbrCorrespondanceMinimale);
textFieldMiniCorrespondance = new JTextField();
textFieldMiniCorrespondance.setFont(new Font("Tahoma", Font.BOLD, 12));
textFieldMiniCorrespondance.setColumns(10);
textFieldMiniCorrespondance.setBounds(364, 247, 56, 22);
textFieldMiniCorrespondance.setText(nodTriche.getAttributs().get("number_match"));
panelPlagiarism.add(textFieldMiniCorrespondance);
JLabel lblNbrMiniModification = new JLabel("Nombre minimale de modification");
lblNbrMiniModification.setFont(new Font("Tahoma", Font.BOLD, 12));
lblNbrMiniModification.setBounds(43, 293, 239, 20);
panelPlagiarism.add(lblNbrMiniModification);
textFieldNbrMiniModification = new JTextField();
textFieldNbrMiniModification.setFont(new Font("Tahoma", Font.BOLD, 12));
textFieldNbrMiniModification.setColumns(10);
textFieldNbrMiniModification.setBounds(364, 293, 56, 22);
textFieldNbrMiniModification.setText(nodTriche.getAttributs().get("mini_number_modification"));
panelPlagiarism.add(textFieldNbrMiniModification);
JLabel lblNewLabel_2 = new JLabel("<html>L'étudiants n'a pas réaliser assez de travaux.<br>"
+ "si valuer = -1 alors n'est pas pris en compte.</html>");
lblNewLabel_2.setFont(new Font("Tahoma", Font.PLAIN, 11));
lblNewLabel_2.setVerticalAlignment(SwingConstants.TOP);
lblNewLabel_2.setBounds(430, 297, 239, 41);
panelPlagiarism.add(lblNewLabel_2);
JLabel lblNewLabel_2_1 = new JLabel("Zéro = aucune tolérance");
lblNewLabel_2_1.setFont(new Font("Tahoma", Font.PLAIN, 11));
lblNewLabel_2_1.setBounds(430, 247, 239, 20);
panelPlagiarism.add(lblNewLabel_2_1);
JLabel lblNbrMaxiModificationSimul = new JLabel("Nombre maximale de modification simultanée");
lblNbrMaxiModificationSimul.setFont(new Font("Tahoma", Font.BOLD, 12));
lblNbrMaxiModificationSimul.setBounds(40, 373, 313, 20);
panelPlagiarism.add(lblNbrMaxiModificationSimul);
textFieldMaxiModificationSimul = new JTextField();
textFieldMaxiModificationSimul.setFont(new Font("Tahoma", Font.BOLD, 12));
textFieldMaxiModificationSimul.setColumns(10);
textFieldMaxiModificationSimul.setBounds(364, 373, 56, 22);
textFieldMaxiModificationSimul.setText(nodTriche.getAttributs().get("nombres_modifications_simultané_maxi"));
panelPlagiarism.add(textFieldMaxiModificationSimul);
JLabel lblNewLabel_2_2 = new JLabel("<html>Evite le copié collé de tout l'exercice,<br>ou d'une partie de l'exercice.<br>"
+ "Cette valeur dépend de votre exercice.</html>");
lblNewLabel_2_2.setFont(new Font("Tahoma", Font.PLAIN, 11));
lblNewLabel_2_2.setVerticalAlignment(SwingConstants.TOP);
lblNewLabel_2_2.setBounds(430, 377, 239, 83);
panelPlagiarism.add(lblNewLabel_2_2);
//*********************************************************
//** SIMILITUDE **
//*********************************************************
JPanel panelTextSimilarity = new JPanel();
panelTextSimilarity.setLayout(null);
tabbedPane.addTab("Texte similitude", img4, panelTextSimilarity, null);
tabbedPane.addTab("Textes", img4, panelTextSimilarity, null);
node nodSimilitude = commandes.sujet.retourneFirstEnfantsByName("text:similarity");
if(nodSimilitude==null) {
JOptionPane.showMessageDialog(null, "Problème avec le fichier d'analyse.<br>Le node text:similarity n'est pas dans le fichier.");
dispose();
return;
}
JLabel lbllesSimilitude = new JLabel("<html>Les méthodes par comparaison des chaînes de caractères utilisent <b><u>la distance de Levenshtein d=[0;1]</u></b>.<br>"
+ "Exemple : allContent=\"environ1\", ou \"value\".<br><br>"
+ "La valeur du paramètre \"texte similitude\" par défaut est de <b>0.79</b> pour la méthode envirion, les fonctions dans les attributs de Writer.<br>"
+ "</html>");
lbllesSimilitude.setVerticalAlignment(SwingConstants.TOP);
lbllesSimilitude.setHorizontalAlignment(SwingConstants.LEFT);
lbllesSimilitude.setFont(new Font("Tahoma", Font.PLAIN, 14));
lbllesSimilitude.setBounds(10, 10, 691, 96);
panelTextSimilarity.add(lbllesSimilitude);
JLabel lblNewLabel_4 = new JLabel("Texte similitude");
lblNewLabel_4.setFont(new Font("Tahoma", Font.BOLD, 12));
lblNewLabel_4.setBounds(57, 159, 160, 20);
panelTextSimilarity.add(lblNewLabel_4);
textFieldTextSimilitude = new JTextField();
textFieldTextSimilitude.setFont(new Font("Tahoma", Font.BOLD, 12));
textFieldTextSimilitude.setBounds(199, 159, 86, 22);
textFieldTextSimilitude.setText(nodSimilitude.getAttributs().get("tolerance_text"));
panelTextSimilarity.add(textFieldTextSimilitude);
textFieldTextSimilitude.setColumns(10);
JLabel lblNewLabel_5 = new JLabel("<html>C'est la distance minimale qu'il doit y avoir entre le texte (paragraphe, ensemble de paragraphe, valeur d'un attribut Writer) et le texte présent dans le fichier d'analyse.<br><br>"
+ "La distance est une valeur comprise entre 0 et 1.<br><br>"
+ "Si d=0 alors n'importe quel texte est accepté.<br>"
+ "Si d=1 alors aucune différence entre les textes.</html>");
lblNewLabel_5.setFont(new Font("Tahoma", Font.PLAIN, 11));
lblNewLabel_5.setVerticalAlignment(SwingConstants.TOP);
lblNewLabel_5.setBounds(325, 163, 376, 145);
panelTextSimilarity.add(lblNewLabel_5);
//*********************************************************
//** COULEUR **
//*********************************************************
JPanel panelColor = new JPanel();
panelColor.setLayout(null);
tabbedPane.addTab("Couleur", img4, panelColor, null);
tabbedPane.addTab("Couleur", img5, panelColor, null);
node nodColor = commandes.sujet.retourneFirstEnfantsByName("color");
if(nodColor==null) {
JOptionPane.showMessageDialog(null, "Problème avec le fichier d'analyse.<br>Le node color n'est pas dans le fichier.");
dispose();
return;
}
JLabel lblCouleur = new JLabel("<html>Dans les attributs de Writer contenant un code couleur, vous pouvez régler la tolérance de la couleur sur les trois canaux RVB.<br>"
+ "Il y a 255 nuances sur chaque canal.<br>"
+ "Par défaut les valeurs des tolérances sont réglées à 30 nuances.</html>");
lblCouleur.setVerticalAlignment(SwingConstants.TOP);
lblCouleur.setHorizontalAlignment(SwingConstants.LEFT);
lblCouleur.setFont(new Font("Tahoma", Font.PLAIN, 14));
lblCouleur.setBounds(10, 10, 691, 97);
panelColor.add(lblCouleur);
JLabel lblRouge = new JLabel("Valeur de la tolérance sur les rouges");
lblRouge.setToolTipText("");
lblRouge.setFont(new Font("Tahoma", Font.BOLD, 12));
lblRouge.setBounds(30, 165, 250, 20);
panelColor.add(lblRouge);
JLabel lblValeurDeLa = new JLabel("Valeur de la tolérance sur les verts");
lblValeurDeLa.setToolTipText("");
lblValeurDeLa.setFont(new Font("Tahoma", Font.BOLD, 12));
lblValeurDeLa.setBounds(30, 218, 250, 20);
panelColor.add(lblValeurDeLa);
JLabel lblValeurDeLa_2 = new JLabel("Valeur de la tolérance sur les bleus");
lblValeurDeLa_2.setToolTipText("");
lblValeurDeLa_2.setFont(new Font("Tahoma", Font.BOLD, 12));
lblValeurDeLa_2.setBounds(30, 275, 244, 20);
panelColor.add(lblValeurDeLa_2);
textFieldRouge = new JTextField();
textFieldRouge.setFont(new Font("Tahoma", Font.BOLD, 12));
textFieldRouge.setBounds(292, 165, 86, 22);
panelColor.add(textFieldRouge);
textFieldRouge.setText(nodColor.getAttributs().get("tolerance_rouge"));
textFieldRouge.setColumns(10);
textFieldVert = new JTextField();
textFieldVert.setFont(new Font("Tahoma", Font.BOLD, 12));
textFieldVert.setColumns(10);
textFieldVert.setText(nodColor.getAttributs().get("tolerance_vert"));
textFieldVert.setBounds(292, 219, 86, 22);
panelColor.add(textFieldVert);
textFieldBleu = new JTextField();
textFieldBleu.setFont(new Font("Tahoma", Font.BOLD, 12));
textFieldBleu.setColumns(10);
textFieldBleu.setText(nodColor.getAttributs().get("tolerance_bleu"));
textFieldBleu.setBounds(292, 276, 86, 22);
panelColor.add(textFieldBleu);
btnTestCouleur = new JButton("Test de tolérance");
btnTestCouleur.setBounds(396, 353, 173, 23);
panelColor.add(btnTestCouleur);
textFieldTestCouleur = new JTextField();
textFieldTestCouleur.setHorizontalAlignment(SwingConstants.CENTER);
textFieldTestCouleur.setText("#ff0000");
textFieldTestCouleur.setFont(new Font("Tahoma", Font.BOLD, 12));
textFieldTestCouleur.setColumns(10);
textFieldTestCouleur.setBounds(292, 354, 86, 22);
panelColor.add(textFieldTestCouleur);
JLabel lblValeurDeLa_2_1 = new JLabel("Tapez un code couleur hexadécimal");
lblValeurDeLa_2_1.setToolTipText("");
lblValeurDeLa_2_1.setFont(new Font("Tahoma", Font.BOLD, 12));
lblValeurDeLa_2_1.setBounds(30, 357, 244, 20);
panelColor.add(lblValeurDeLa_2_1);
btnCouleurInitTest = new JButton("Couleur");
Color couleurInit = hex2Rgb(textFieldTestCouleur.getText());
btnCouleurInitTest.setBackground(couleurInit);
btnCouleurInitTest.setBounds(119, 430, 89, 23);
panelColor.add(btnCouleurInitTest);
btnRougeMax = new JButton("Rouge max");
btnRougeMax.setBackground(new Color(153, 0, 16));
btnRougeMax.setBounds(209, 405, 89, 23);
panelColor.add(btnRougeMax);
btnRougeMini = new JButton("Rouge mini");
btnRougeMini.setBackground(new Color(153, 0, 16));
btnRougeMini.setBounds(30, 405, 89, 23);
panelColor.add(btnRougeMini);
btnVertMini = new JButton("Vert mini");
btnVertMini.setBackground(new Color(153, 0, 16));
btnVertMini.setBounds(30, 430, 89, 23);
panelColor.add(btnVertMini);
btnVertMax = new JButton("Vert max");
btnVertMax.setBackground(new Color(153, 0, 16));
btnVertMax.setBounds(209, 430, 89, 23);
panelColor.add(btnVertMax);
btnBleuMini = new JButton("Bleu mini");
btnBleuMini.setBackground(new Color(153, 0, 16));
btnBleuMini.setBounds(30, 454, 89, 23);
panelColor.add(btnBleuMini);
btnBleuMax = new JButton("Bleu max");
btnBleuMax.setBackground(new Color(153, 0, 16));
btnBleuMax.setBounds(209, 454, 89, 23);
panelColor.add(btnBleuMax);
btnCouleurMiniTotal = new JButton("Couleur");
btnCouleurMiniTotal.setBackground(Color.RED);
btnCouleurMiniTotal.setBounds(373, 430, 89, 23);
panelColor.add(btnCouleurMiniTotal);
btnCouleurMaxiTotal = new JButton("Couleur");
btnCouleurMaxiTotal.setBackground(Color.RED);
btnCouleurMaxiTotal.setBounds(519, 430, 89, 23);
panelColor.add(btnCouleurMaxiTotal);
JLabel lblNewLabel_6 = new JLabel("Couleur la plus claire");
lblNewLabel_6.setFont(new Font("Tahoma", Font.PLAIN, 11));
lblNewLabel_6.setBounds(512, 409, 102, 14);
panelColor.add(lblNewLabel_6);
JLabel lblNewLabel_6_1 = new JLabel("Couleur la plus sombre");
lblNewLabel_6_1.setFont(new Font("Tahoma", Font.PLAIN, 11));
lblNewLabel_6_1.setBounds(363, 409, 139, 14);
panelColor.add(lblNewLabel_6_1);
//*********************************************************
//** TRADUCTION **
//*********************************************************
JPanel panelTraduction = new JPanel();
panelTraduction.setLayout(null);
tabbedPane.addTab("Traduction", img4, panelTraduction, null);
tabbedPane.addTab("Traduction", img6, panelTraduction, null);
JLabel lblCouleur_1 = new JLabel("<html>Dans le fichier d'analyse se trouve le node translation.<br>"
+ "Cliquez sur le bouton extraire le node.<br>"
+ "Vous pouvez manuellement ajouter des nodes enfants permettant la traduction des attributs d'analyseWriter.<br>"
+ "Cliquez sur le bouton ajouter vos traductions pour insérer vos modifications."
+ "</html>");
lblCouleur_1.setVerticalAlignment(SwingConstants.TOP);
lblCouleur_1.setHorizontalAlignment(SwingConstants.LEFT);
lblCouleur_1.setFont(new Font("Tahoma", Font.PLAIN, 14));
lblCouleur_1.setBounds(10, 10, 691, 104);
panelTraduction.add(lblCouleur_1);
btnExtraire = new JButton("Extraire le node");
btnExtraire.setFont(new Font("Tahoma", Font.BOLD, 12));
btnExtraire.setBounds(99, 201, 194, 48);
panelTraduction.add(btnExtraire);
btnAjouterVosTraductions = new JButton("Ajouter vos traductions");
btnAjouterVosTraductions.setFont(new Font("Tahoma", Font.BOLD, 12));
btnAjouterVosTraductions.setBounds(388, 201, 205, 48);
panelTraduction.add(btnAjouterVosTraductions);
//*********************************************************
//** BOUTON VALIDATION MODIFICATION **
//*********************************************************
btnValiderModifications = new JButton("Valider les modifications");
btnValiderModifications.setFont(new Font("Tahoma", Font.BOLD, 14));
JPanel Pane = new JPanel();
Pane.setLayout(new GridLayout(1, 2, 0, 0));
contentPane.add(Pane,BorderLayout.SOUTH );
btnReinit = new JButton("Réïnitialiser les valeurs");
btnReinit.setFont(new Font("Tahoma", Font.BOLD, 14));
Pane.add(btnReinit);
Pane.add(btnValiderModifications);
ListenerAction();
if(!erreurFormatHexCouleur()&&!erreurFormatHexCouleur()) miseAJourCouleurTest();
this.setVisible(true);
}
@ -200,8 +603,14 @@ public class setting extends JFrame {
private void ListenerAction() {
btnValiderCSV.addActionListener(new ActionListener() {
/**
* Bouton de validation des modification
*/
btnValiderModifications.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
if(!erreurValeursSaisies()&&!erreurToleranceCouleur()) {
//*** Validation du fichier CSV
node nodCSV = commandes.sujet.retourneFirstEnfantsByName("csv");
nodCSV.getAttributs().put("encoding", comboBoxEncodage.getSelectedItem().toString());
if(comboBoxSeparateur.getSelectedItem().equals("point virgule")) nodCSV.getAttributs().put("separator", ";");
@ -216,12 +625,454 @@ public class setting extends JFrame {
nodImport.getAttributs().put("email", textFieldEmail.getText());
nodImport.getAttributs().put("id", textFieldIDEtudiant.getText());
//*** Validation du ZIP
node nodZIP = commandes.sujet.retourneFirstEnfantsByName("zip");
int valueNumeric = Integer.valueOf(textFieldSize.getText());
valueNumeric = valueNumeric*1000000;
valueNumeric = valueNumeric - 2000000;
nodZIP.getAttributs().put("size",String.valueOf(valueNumeric));
nodZIP.getAttributs().put("nameZip",textFieldNameZIP.getText());
//** Validation triche
node nodTriche = commandes.sujet.retourneFirstEnfantsByName("plagiarism");
nodTriche.getAttributs().put("number_match",textFieldMiniCorrespondance.getText());
nodTriche.getAttributs().put("mini_number_modification",textFieldNbrMiniModification.getText());
nodTriche.getAttributs().put("nombres_modifications_simultané_maxi",textFieldMaxiModificationSimul.getText());
//** Validation similitude
node nodSimilitude = commandes.sujet.retourneFirstEnfantsByName("text:similarity");
nodSimilitude.getAttributs().put("tolerance_text",textFieldTextSimilitude.getText());
//** Validation des tolérance couleur
node nodColor = commandes.sujet.retourneFirstEnfantsByName("color");
nodColor.getAttributs().put("tolerance_rouge",textFieldRouge.getText());
nodColor.getAttributs().put("tolerance_vert",textFieldVert.getText());
nodColor.getAttributs().put("tolerance_bleu",textFieldBleu.getText());
JOptionPane.showMessageDialog(null, "<html>Les informations ont bien été renseignées.<br>"
+ "N'oubliez pas d'enregistrer votre fichier d'analyse.</html>");
}
}
});
/**
* Bouton du test de couleur
*/
btnTestCouleur.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
if(!erreurFormatHexCouleur()&&!erreurFormatHexCouleur()) miseAJourCouleurTest();
}
});
/**
* Bouton extraire le node translate
*/
btnExtraire.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
node nodeTransalte = commandes.sujet.retourneFirstEnfantsByName("translation");
JFileChooser fileChooser = new JFileChooser();
fileChooser.setDialogTitle("Enregistrer sous...");
File file = null;
fileChooser.setCurrentDirectory(file);
int userSelection = fileChooser.showSaveDialog(null);
if (userSelection == JFileChooser.APPROVE_OPTION) {
File fileToSave = fileChooser.getSelectedFile();
try {
Run.ecritureNodeEnXML(nodeTransalte, fileToSave.getName(), fileToSave.getPath().substring(0,fileToSave.getPath().lastIndexOf("\\")),"" );
JOptionPane.showMessageDialog(null, "Le fichier \"" + fileToSave.getName() + ".xml\" a été renregistré.\n\nIl se trouve dans le dossier " + fileToSave.getPath());
} catch (IOException e1) {
e1.printStackTrace();
}
}
}
});
/**
* Ajoute les traductions personnalisées
*/
btnAjouterVosTraductions.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
JFileChooser fileChooser = new JFileChooser();
fileChooser.setDialogTitle("Charger le node translate en mémoire");
FileNameExtensionFilter filter = new FileNameExtensionFilter("Fichier d'analyse .XML", "xml");
fileChooser.setFileFilter(filter);
File file = null;
fileChooser.setCurrentDirectory(file);
int userSelection = fileChooser.showSaveDialog(null);
if (userSelection == JFileChooser.APPROVE_OPTION) {
File fileToSave = fileChooser.getSelectedFile();
try {
file = new File(fileToSave.getAbsolutePath());
BufferedReader br = new BufferedReader(
new InputStreamReader(
new FileInputStream(file.getAbsoluteFile()), "UTF-8"));
String line;
StringBuilder targetString = new StringBuilder();
while ((line = br.readLine()) != null) {
targetString.append(line);
}
node nodeSetting = commandes.sujet.retourneFirstEnfantsByName("setting");
node nodeTranslate2 = Run.XMLContent(targetString.toString());
if(nodeTranslate2.getNomElt().equals("translation")) {
nodeSetting.getNodes().remove(commandes.sujet.retourneFirstEnfantsByName("translation"));
nodeSetting.getNodes().add(nodeTranslate2);
JOptionPane.showMessageDialog(null, "Chargement du nouveau node de traduction.");
}
}catch (Exception e1) {
}
}
}
});
/**
* Réînitialiser les valeurs par défaut
*/
btnReinit.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
int a = JOptionPane.showConfirmDialog(null,"Voulez-vous remettre toutes les valeurs par défauts?", "Sélectionner un choix", JOptionPane.YES_NO_OPTION);
if(a == JOptionPane.YES_NO_OPTION) {
node nodCSV = commandes.sujet.retourneFirstEnfantsByName("csv");
nodCSV.getAttributs().put("encoding","UTF-8");
nodCSV.getAttributs().put("separator",";");
node nodImportMoodle = nodCSV.retourneFirstEnfantsByName("import_moodle");
nodImportMoodle.getAttributs().put("name","nom");
nodImportMoodle.getAttributs().put("email","adresse");
nodImportMoodle.getAttributs().put("firstname","prenom");
nodImportMoodle.getAttributs().put("id","identification");
node nodZIP = commandes.sujet.retourneFirstEnfantsByName("zip");
nodZIP.getAttributs().put("size","48000000");
nodZIP.getAttributs().put("nameZip","feedbackMoodle");
node nodplagiarism = commandes.sujet.retourneFirstEnfantsByName("plagiarism");
nodplagiarism.getAttributs().put("number_match","2");
nodplagiarism.getAttributs().put("mini_number_modification","-1");
nodplagiarism.getAttributs().put("nombres_modifications_simultané_maxi","100");
node nodSimilitude = commandes.sujet.retourneFirstEnfantsByName("text:similarity");
nodSimilitude.getAttributs().put("tolerance_text","0.79");
node nodColor = commandes.sujet.retourneFirstEnfantsByName("color");
nodColor.getAttributs().put("tolerance_rouge","30");
nodColor.getAttributs().put("tolerance_vert","30");
nodColor.getAttributs().put("tolerance_bleu","30");
// Relecture des nouvelles valeurs
comboBoxEncodage.setSelectedItem(nodCSV.getAttributs().get("encoding"));
if(nodCSV.getAttributs().get("separator").equals(";")) comboBoxSeparateur.setSelectedItem("point virgule");
if(nodCSV.getAttributs().get("separator").equals(",")) comboBoxSeparateur.setSelectedItem("virgule");
if(nodCSV.getAttributs().get("separator").equals(" ")) comboBoxSeparateur.setSelectedItem("espace");
if(nodCSV.getAttributs().get("separator").equals("\t")) comboBoxSeparateur.setSelectedItem("tabulation");
textFieldNomEtudiant.setText(nodImportMoodle.getAttributs().get("name"));
textFieldPrenomEtudiant.setText(nodImportMoodle.getAttributs().get("firstname"));
textFieldEmail.setText(nodImportMoodle.getAttributs().get("email"));
textFieldIDEtudiant.setText(nodImportMoodle.getAttributs().get("id"));
textFieldSize.setText(nodZIP.getAttributs().get("size"));
textFieldNameZIP.setText(nodZIP.getAttributs().get("nameZip"));
textFieldMiniCorrespondance.setText(nodplagiarism.getAttributs().get("number_match"));
textFieldNbrMiniModification.setText(nodplagiarism.getAttributs().get("mini_number_modification"));
textFieldMaxiModificationSimul.setText(nodplagiarism.getAttributs().get("nombres_modifications_simultané_maxi"));
textFieldTextSimilitude.setText(nodSimilitude.getAttributs().get("tolerance_text"));
textFieldRouge.setText(nodColor.getAttributs().get("tolerance_rouge"));
textFieldVert.setText(nodColor.getAttributs().get("tolerance_vert"));
textFieldBleu.setText(nodColor.getAttributs().get("tolerance_bleu"));
}
}
});
}
/**
* vérification des valeurs saisies dans la fenêtre setting.
* @return
*/
private boolean erreurValeursSaisies() {
boolean erreur = false;
//*******************
//** taille du zip **
//*******************
Integer valueNumeric = 0;
try {
valueNumeric = Integer.valueOf(textFieldSize.getText());
if(valueNumeric<2) {
JOptionPane.showInternalMessageDialog(null, "La taille de l'archive doit être supérieure à 2 Mo.");
erreur = true;
}
if(valueNumeric>200) {
JOptionPane.showInternalMessageDialog(null, "La taille de l'archive doit être inférieure à 200 Mo.");
erreur = true;
}
}catch (Exception e1) {
JOptionPane.showInternalMessageDialog(null, "Il y a un problème avec le format de la taille de l'archive.");
erreur = true;
}
//******************************
//** Les valeurs de la triche **
//******************************
try {
valueNumeric = Integer.valueOf(textFieldMiniCorrespondance.getText());
if(valueNumeric<1) {
JOptionPane.showInternalMessageDialog(null, "Le nombre de correspondance doit être supérieure à 1.");
erreur = true;
}
if(valueNumeric>5) {
JOptionPane.showInternalMessageDialog(null, "Le nombre de correspondance doit être inférieure à 5.");
erreur = true;
}
}catch (Exception e1) {
JOptionPane.showInternalMessageDialog(null, "Il y a un problème avec le format du nombre de correspondance (triche).");
erreur = true;
}
try {
valueNumeric = Integer.valueOf(textFieldNbrMiniModification.getText());
if(valueNumeric<-2) {
JOptionPane.showInternalMessageDialog(null, "Le nombre minimal de modification dans le fichier doit être supérieure à -1.");
erreur = true;
}
}catch (Exception e1) {
JOptionPane.showInternalMessageDialog(null, "Il y a un problème avec le format du nombre de modification minimale (triche).");
erreur = true;
}
try {
valueNumeric = Integer.valueOf(textFieldMaxiModificationSimul.getText());
if(valueNumeric<0) {
JOptionPane.showInternalMessageDialog(null, "Le nombre maximal de modification dans le fichier doit être une valeur positive non nulle.");
erreur = true;
}
}catch (Exception e1) {
JOptionPane.showInternalMessageDialog(null, "Il y a un problème avec le format du nombre de modification maximale (triche).");
erreur = true;
}
//**********************************
//** Les valeurs de la similitude **
//**********************************
try {
double valueNumericDouble = Double.valueOf(textFieldTextSimilitude.getText());
if(valueNumericDouble<0) {
JOptionPane.showInternalMessageDialog(null, "La distance de Levenshtein doit être supérieure à 0.");
erreur = true;
}
if(valueNumericDouble>1) {
JOptionPane.showInternalMessageDialog(null, "La distance de Levenshtein doit être inférieure à 1.");
erreur = true;
}
}catch (Exception e1) {
JOptionPane.showInternalMessageDialog(null, "Il y a un problème avec le format de la distance de Levenshtein.");
erreur = true;
}
//***************************************************
//** caractères spéciaux dans les noms des valeurs **
//***************************************************
Pattern p = Pattern.compile("[^\\w]");
Matcher m = p.matcher(textFieldNomEtudiant.getText());
if(m.find()) {
JOptionPane.showInternalMessageDialog(null, "Il y a un caractère spécial dans le nom du champ, nom de l'étudiant (fichier CSV).");
erreur = true;
}
m = p.matcher(textFieldPrenomEtudiant.getText());
if(m.find()) {
JOptionPane.showInternalMessageDialog(null, "Il y a un caractère spécial dans le nom du champ, prénom de l'étudiant (fichier CSV).");
erreur = true;
}
m = p.matcher(textFieldPrenomEtudiant.getText());
if(m.find()) {
JOptionPane.showInternalMessageDialog(null, "Il y a un caractère spécial dans le nom du champ, prénom de l'étudiant (fichier CSV).");
erreur = true;
}
m = p.matcher(textFieldEmail.getText());
if(m.find()) {
JOptionPane.showInternalMessageDialog(null, "Il y a un caractère spécial dans le nom du champ, email de l'étudiant (fichier CSV).");
erreur = true;
}
m = p.matcher(textFieldIDEtudiant.getText());
if(m.find()) {
JOptionPane.showInternalMessageDialog(null, "Il y a un caractère spécial dans le nom du champ, numéro de l'étudiant (fichier CSV).");
erreur = true;
}
m = p.matcher(textFieldNameZIP.getText());
if(m.find()) {
JOptionPane.showInternalMessageDialog(null, "Il y a un caractère spécial dans le nom de l'archive.");
erreur = true;
}
return erreur;
}
/**
* Vérification du format du code couleur pour le test de couleur.
* @return
*/
private boolean erreurFormatHexCouleur() {
boolean erreur= false;
Pattern p = Pattern.compile("^#[a-fA-F0-9].{6}$");
Matcher m = p.matcher(textFieldTestCouleur.getText().toUpperCase());
if(m.find()) {
JOptionPane.showInternalMessageDialog(null, "Ce n'est pas le format correct d'un code couleur hexdécimal.");
erreur = true;
}
return erreur;
}
/**
* Vérification tolérance de couleur.
* @return
*/
private boolean erreurToleranceCouleur() {
boolean erreur =false;
Integer valueNumeric = 0;
try {
valueNumeric = Integer.valueOf(textFieldRouge.getText());
if(valueNumeric<0) {
JOptionPane.showInternalMessageDialog(null, "La tolérance sur le rouge doit être une valeur positive.");
erreur = true;
}
if(valueNumeric>255) {
JOptionPane.showInternalMessageDialog(null, "La tolérance sur le rouge doit être inférieur à 255.");
erreur = true;
}
}catch (Exception e1) {
JOptionPane.showInternalMessageDialog(null, "Il y a un problème avec le format de la tolérance sur le rouge.");
erreur = true;
}
try {
valueNumeric = Integer.valueOf(textFieldVert.getText());
if(valueNumeric<0) {
JOptionPane.showInternalMessageDialog(null, "La tolérance sur le vert doit être une valeur positive.");
erreur = true;
}
if(valueNumeric>255) {
JOptionPane.showInternalMessageDialog(null, "La tolérance sur le vert doit être inférieur à 255.");
erreur = true;
}
}catch (Exception e1) {
JOptionPane.showInternalMessageDialog(null, "Il y a un problème avec le format de la tolérance sur le vert.");
erreur = true;
}
try {
valueNumeric = Integer.valueOf(textFieldBleu.getText());
if(valueNumeric<0) {
JOptionPane.showInternalMessageDialog(null, "La tolérance sur le bleu doit être une valeur positive.");
erreur = true;
}
if(valueNumeric>255) {
JOptionPane.showInternalMessageDialog(null, "La tolérance sur le bleu doit être inférieur à 255.");
erreur = true;
}
}catch (Exception e1) {
JOptionPane.showInternalMessageDialog(null, "Il y a un problème avec le format de la tolérance sur le bleu.");
erreur = true;
}
return erreur;
}
/**
*
* @param colorStr
* @return
*/
public static Color hex2Rgb(String colorStr) {
return new Color(
Integer.valueOf( colorStr.substring( 1, 3 ), 16 ),
Integer.valueOf( colorStr.substring( 3, 5 ), 16 ),
Integer.valueOf( colorStr.substring( 5, 7 ), 16 ) );
}
/**
*
* @param couleur
* @return
*/
public static String Rgb2hex(Color couleur) {
return String.format("#%02x%02x%02x", couleur.getRed(), couleur.getGreen(), couleur.getBlue());
}
/**
* Mise à jour du test de couleur
*/
private void miseAJourCouleurTest() {
if(!erreurFormatHexCouleur()&&!erreurToleranceCouleur()) {
Color couleurInit = hex2Rgb(textFieldTestCouleur.getText());
btnCouleurInitTest.setBackground(couleurInit);
btnCouleurInitTest.setText(textFieldTestCouleur.getText());
int couleurMaxRouge = couleurInit.getRed()+ Integer.valueOf(textFieldRouge.getText());
if(couleurMaxRouge>255) couleurMaxRouge=255;
Color couleurRougeMaxi = new Color(couleurMaxRouge, couleurInit.getGreen(), couleurInit.getBlue());
btnRougeMax.setBackground(couleurRougeMaxi);
btnRougeMax.setText(Rgb2hex(couleurRougeMaxi));
int couleurMiniRouge = couleurInit.getRed()- Integer.valueOf(textFieldRouge.getText());
if(couleurMiniRouge<0) couleurMiniRouge=0;
Color couleurRougeMini = new Color(couleurMiniRouge, couleurInit.getGreen(), couleurInit.getBlue());
btnRougeMini.setBackground(couleurRougeMini);
btnRougeMini.setText(Rgb2hex(couleurRougeMini));
int couleurMaxVert = couleurInit.getGreen()+ Integer.valueOf(textFieldVert.getText());
if(couleurMaxVert>255) couleurMaxVert=255;
Color couleurVertMaxi = new Color(couleurInit.getRed(), couleurMaxVert, couleurInit.getBlue());
btnVertMax.setBackground(couleurVertMaxi);
btnVertMax.setText(Rgb2hex(couleurVertMaxi));
int couleurMiniVert = couleurInit.getGreen()- Integer.valueOf(textFieldVert.getText());
if(couleurMiniVert<0) couleurMiniVert=0;
Color couleurVertMini = new Color(couleurInit.getRed(), couleurMiniVert, couleurInit.getBlue());
btnVertMini.setBackground(couleurVertMini);
btnVertMini.setText(Rgb2hex(couleurVertMini));
int couleurMaxBleu = couleurInit.getBlue()+ Integer.valueOf(textFieldBleu.getText());
if(couleurMaxBleu>255) couleurMaxBleu=255;
Color couleurBleuMaxi = new Color(couleurInit.getRed(), couleurInit.getGreen(), couleurMaxBleu);
btnBleuMax.setBackground(couleurBleuMaxi);
btnBleuMax.setText(Rgb2hex(couleurBleuMaxi));
int couleurMiniBleu = couleurInit.getBlue()- Integer.valueOf(textFieldBleu.getText());
if(couleurMiniBleu<0) couleurMiniBleu=0;
Color couleurBleuMini = new Color(couleurInit.getRed(), couleurInit.getGreen(), couleurMiniBleu);
btnBleuMini.setBackground(couleurBleuMini);
btnBleuMini.setText(Rgb2hex(couleurBleuMini));
Color couleurMaxi = new Color(couleurMaxRouge, couleurMaxVert, couleurMaxBleu);
btnCouleurMaxiTotal.setBackground(couleurMaxi);
btnCouleurMaxiTotal.setText(Rgb2hex(couleurMaxi));
Color couleurMini= new Color(couleurMiniRouge, couleurMiniVert, couleurMiniBleu);
btnCouleurMiniTotal.setBackground(couleurMini);
btnCouleurMiniTotal.setText(Rgb2hex(couleurMini));
}
}
}

BIN
src/resources/couleur.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 765 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 479 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Some files were not shown because too many files have changed in this diff Show More