MAJ V4.3.2 méthode placement ajouté

This commit is contained in:
pablo rodriguez 2022-12-10 16:12:36 +01:00
parent 8633f154c1
commit d1e5c605a2
11 changed files with 495 additions and 7 deletions

5
bin/.gitignore vendored
View File

@ -1,6 +1,3 @@
/MEPTL/
/calcul/
/evaluer/
/fenetres/
/list/
/resources/
/evaluer/

213
bin/allContentChild.svg Normal file
View File

@ -0,0 +1,213 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
inkscape:export-ydpi="51.200001"
inkscape:export-xdpi="51.200001"
inkscape:export-filename="allcontentchildsmini.png"
sodipodi:docname="allContentChild.svg"
inkscape:version="1.2.1 (9c6d41e410, 2022-07-14)"
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" />
<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="g2960"
inkscape:document-units="mm"
inkscape:cy="24.072002"
inkscape:cx="9.9898809"
inkscape:zoom="12.462611"
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"
showguides="true"
inkscape:guide-bbox="true"
inkscape:showpageshadow="2"
inkscape:deskcolor="#d1d1d1">
<sodipodi:guide
position="3.0170348,10.40961"
orientation="1,0"
id="guide1351"
inkscape:locked="false" />
<sodipodi:guide
position="1.045272,5.5158378"
orientation="0,-1"
id="guide1429"
inkscape:locked="false" />
<sodipodi:guide
position="5.8677764,6.6798905"
orientation="1,0"
id="guide1157"
inkscape:locked="false" />
<sodipodi:guide
position="5.8440202,11.478639"
orientation="0,-1"
id="guide1159"
inkscape:locked="false" />
<sodipodi:guide
position="5.7965078,7.4400882"
orientation="0,-1"
id="guide1161"
inkscape:locked="false" />
</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
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">
<g
id="g1565">
<g
id="g3475"
transform="matrix(0.17150561,0,0,0.17150561,16.012129,123.83097)">
<g
id="g2960"
transform="matrix(1.2448396,0,0,1,-0.07924152,0)"
style="stroke:none;fill:#ff0000">
<path
id="rect1050"
style="fill:#000000;stroke-width:3.26929;stroke-linecap:round;stroke-linejoin:round;paint-order:fill markers stroke;stop-color:#000000;stroke:none"
d="m -43.623047,-99.642578 c -9.15796,0 -16.529297,7.37329 -16.529297,16.53125 v 81.2753905 c 0,9.1579596 7.371337,16.5292965 16.529297,16.5292965 H 78.980469 c 9.157959,0 16.529297,-7.3713369 16.529297,-16.5292965 V -83.111328 c 0,-9.15796 -7.371338,-16.53125 -16.529297,-16.53125 z m 10.832031,10.101562 h 100.9375 c 7.539686,0 13.609375,6.06969 13.609375,13.609375 v 66.9140629 c 0,7.5396855 -6.069689,13.609375 -13.609375,13.609375 h -100.9375 c -7.539685,0 -13.609375,-6.0696895 -13.609375,-13.609375 V -75.931641 c 0,-7.539685 6.06969,-13.609375 13.609375,-13.609375 z"
transform="matrix(2.1487621,0,0,2.1487621,-31.618865,101.14089)" />
<text
xml:space="preserve"
style="font-size:155.633px;line-height:1.25;font-family:'C.A. Gatintas';-inkscape-font-specification:'C.A. Gatintas';text-align:center;text-anchor:middle;stroke-width:3.89083;stroke:none;fill:#000000"
x="7.0076203"
y="61.001396"
id="text1731"
transform="scale(0.76795053,1.3021672)"><tspan
sodipodi:role="line"
id="tspan1729"
style="font-style:normal;font-variant:normal;font-weight:900;font-stretch:normal;font-family:Ari;-inkscape-font-specification:'Ari Heavy';fill:#000000;stroke-width:3.89083;stroke:none"
x="7.0076165"
y="61.001396">TXT</tspan></text>
<path
style="fill:none;stroke:#ff0000;stroke-width:31.83113262;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1"
d="m -189.92457,-110.18248 386.83262,255.3493"
id="path401" />
</g>
<g
id="g2968"
transform="matrix(0.51622059,0,0,0.61043904,-184.38759,334.87612)"
style="fill:#008000">
<path
id="path2962"
style="fill:#008000;stroke-width:3.26929;stroke-linecap:round;stroke-linejoin:round;paint-order:fill markers stroke;stop-color:#000000"
d="m -43.623047,-99.642578 c -9.15796,0 -16.529297,7.37329 -16.529297,16.53125 v 81.2753905 c 0,9.1579596 7.371337,16.5292965 16.529297,16.5292965 H 78.980469 c 9.157959,0 16.529297,-7.3713369 16.529297,-16.5292965 V -83.111328 c 0,-9.15796 -7.371338,-16.53125 -16.529297,-16.53125 z m 10.832031,10.101562 h 100.9375 c 7.539686,0 13.609375,6.06969 13.609375,13.609375 v 66.9140629 c 0,7.5396855 -6.069689,13.609375 -13.609375,13.609375 h -100.9375 c -7.539685,0 -13.609375,-6.0696895 -13.609375,-13.609375 V -75.931641 c 0,-7.539685 6.06969,-13.609375 13.609375,-13.609375 z"
transform="matrix(2.1487621,0,0,2.1487621,-31.618865,101.14089)" />
<text
xml:space="preserve"
style="font-size:155.633px;line-height:1.25;font-family:'C.A. Gatintas';-inkscape-font-specification:'C.A. Gatintas';text-align:center;text-anchor:middle;stroke-width:3.89083;fill:#008000"
x="7.0076203"
y="61.001396"
id="text2966"
transform="scale(0.76795053,1.3021672)"><tspan
sodipodi:role="line"
id="tspan2964"
style="font-style:normal;font-variant:normal;font-weight:900;font-stretch:normal;font-family:Ari;-inkscape-font-specification:'Ari Heavy';fill:#008000;stroke-width:3.89083"
x="7.0076165"
y="61.001396">TXT</tspan></text>
</g>
<g
id="g2976"
transform="matrix(0.51622059,0,0,0.61043904,1.1075914,332.90277)"
style="fill:#008000">
<path
id="path2970"
style="fill:#008000;stroke-width:3.26929;stroke-linecap:round;stroke-linejoin:round;paint-order:fill markers stroke;stop-color:#000000"
d="m -43.623047,-99.642578 c -9.15796,0 -16.529297,7.37329 -16.529297,16.53125 v 81.2753905 c 0,9.1579596 7.371337,16.5292965 16.529297,16.5292965 H 78.980469 c 9.157959,0 16.529297,-7.3713369 16.529297,-16.5292965 V -83.111328 c 0,-9.15796 -7.371338,-16.53125 -16.529297,-16.53125 z m 10.832031,10.101562 h 100.9375 c 7.539686,0 13.609375,6.06969 13.609375,13.609375 v 66.9140629 c 0,7.5396855 -6.069689,13.609375 -13.609375,13.609375 h -100.9375 c -7.539685,0 -13.609375,-6.0696895 -13.609375,-13.609375 V -75.931641 c 0,-7.539685 6.06969,-13.609375 13.609375,-13.609375 z"
transform="matrix(2.1487621,0,0,2.1487621,-31.618865,101.14089)" />
<text
xml:space="preserve"
style="font-size:155.633px;line-height:1.25;font-family:'C.A. Gatintas';-inkscape-font-specification:'C.A. Gatintas';text-align:center;text-anchor:middle;stroke-width:3.89083;fill:#008000"
x="7.0076203"
y="61.001396"
id="text2974"
transform="scale(0.76795053,1.3021672)"><tspan
sodipodi:role="line"
id="tspan2972"
style="font-style:normal;font-variant:normal;font-weight:900;font-stretch:normal;font-family:Ari;-inkscape-font-specification:'Ari Heavy';fill:#008000;stroke-width:3.89083"
x="7.0076165"
y="61.001396">TXT</tspan></text>
</g>
<g
id="g2984"
transform="matrix(0.51622059,0,0,0.61043904,186.60277,329.94274)"
style="fill:#008000">
<path
id="path2978"
style="fill:#008000;stroke-width:3.26929;stroke-linecap:round;stroke-linejoin:round;paint-order:fill markers stroke;stop-color:#000000"
d="m -43.623047,-99.642578 c -9.15796,0 -16.529297,7.37329 -16.529297,16.53125 v 81.2753905 c 0,9.1579596 7.371337,16.5292965 16.529297,16.5292965 H 78.980469 c 9.157959,0 16.529297,-7.3713369 16.529297,-16.5292965 V -83.111328 c 0,-9.15796 -7.371338,-16.53125 -16.529297,-16.53125 z m 10.832031,10.101562 h 100.9375 c 7.539686,0 13.609375,6.06969 13.609375,13.609375 v 66.9140629 c 0,7.5396855 -6.069689,13.609375 -13.609375,13.609375 h -100.9375 c -7.539685,0 -13.609375,-6.0696895 -13.609375,-13.609375 V -75.931641 c 0,-7.539685 6.06969,-13.609375 13.609375,-13.609375 z"
transform="matrix(2.1487621,0,0,2.1487621,-31.618865,101.14089)" />
<text
xml:space="preserve"
style="font-size:155.633px;line-height:1.25;font-family:'C.A. Gatintas';-inkscape-font-specification:'C.A. Gatintas';text-align:center;text-anchor:middle;stroke-width:3.89083;fill:#008000"
x="7.0076203"
y="61.001396"
id="text2982"
transform="scale(0.76795053,1.3021672)"><tspan
sodipodi:role="line"
id="tspan2980"
style="font-style:normal;font-variant:normal;font-weight:900;font-stretch:normal;font-family:Ari;-inkscape-font-specification:'Ari Heavy';fill:#008000;stroke-width:3.89083"
x="7.0076165"
y="61.001396">TXT</tspan></text>
</g>
<path
style="fill:none;stroke:#008000;stroke-width:16.7705;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m -176.66031,239.2756 -0.98667,-50.3205 370.00369,0.98667 -0.98669,46.3738"
id="path3019" />
<path
style="fill:#008000;stroke:#008000;stroke-width:16.2426;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 7.8481941,187.96842 8e-7,-66.10732"
id="path3087"
sodipodi:nodetypes="cc" />
</g>
</g>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 11 KiB

BIN
bin/allcontentchilds.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 915 B

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 915 B

213
icons/allContentChild.svg Normal file
View File

@ -0,0 +1,213 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
inkscape:export-ydpi="51.200001"
inkscape:export-xdpi="51.200001"
inkscape:export-filename="allcontentchildsmini.png"
sodipodi:docname="allContentChild.svg"
inkscape:version="1.2.1 (9c6d41e410, 2022-07-14)"
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" />
<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="g2960"
inkscape:document-units="mm"
inkscape:cy="24.072002"
inkscape:cx="9.9898809"
inkscape:zoom="12.462611"
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"
showguides="true"
inkscape:guide-bbox="true"
inkscape:showpageshadow="2"
inkscape:deskcolor="#d1d1d1">
<sodipodi:guide
position="3.0170348,10.40961"
orientation="1,0"
id="guide1351"
inkscape:locked="false" />
<sodipodi:guide
position="1.045272,5.5158378"
orientation="0,-1"
id="guide1429"
inkscape:locked="false" />
<sodipodi:guide
position="5.8677764,6.6798905"
orientation="1,0"
id="guide1157"
inkscape:locked="false" />
<sodipodi:guide
position="5.8440202,11.478639"
orientation="0,-1"
id="guide1159"
inkscape:locked="false" />
<sodipodi:guide
position="5.7965078,7.4400882"
orientation="0,-1"
id="guide1161"
inkscape:locked="false" />
</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
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">
<g
id="g1565">
<g
id="g3475"
transform="matrix(0.17150561,0,0,0.17150561,16.012129,123.83097)">
<g
id="g2960"
transform="matrix(1.2448396,0,0,1,-0.07924152,0)"
style="stroke:none;fill:#ff0000">
<path
id="rect1050"
style="fill:#000000;stroke-width:3.26929;stroke-linecap:round;stroke-linejoin:round;paint-order:fill markers stroke;stop-color:#000000;stroke:none"
d="m -43.623047,-99.642578 c -9.15796,0 -16.529297,7.37329 -16.529297,16.53125 v 81.2753905 c 0,9.1579596 7.371337,16.5292965 16.529297,16.5292965 H 78.980469 c 9.157959,0 16.529297,-7.3713369 16.529297,-16.5292965 V -83.111328 c 0,-9.15796 -7.371338,-16.53125 -16.529297,-16.53125 z m 10.832031,10.101562 h 100.9375 c 7.539686,0 13.609375,6.06969 13.609375,13.609375 v 66.9140629 c 0,7.5396855 -6.069689,13.609375 -13.609375,13.609375 h -100.9375 c -7.539685,0 -13.609375,-6.0696895 -13.609375,-13.609375 V -75.931641 c 0,-7.539685 6.06969,-13.609375 13.609375,-13.609375 z"
transform="matrix(2.1487621,0,0,2.1487621,-31.618865,101.14089)" />
<text
xml:space="preserve"
style="font-size:155.633px;line-height:1.25;font-family:'C.A. Gatintas';-inkscape-font-specification:'C.A. Gatintas';text-align:center;text-anchor:middle;stroke-width:3.89083;stroke:none;fill:#000000"
x="7.0076203"
y="61.001396"
id="text1731"
transform="scale(0.76795053,1.3021672)"><tspan
sodipodi:role="line"
id="tspan1729"
style="font-style:normal;font-variant:normal;font-weight:900;font-stretch:normal;font-family:Ari;-inkscape-font-specification:'Ari Heavy';fill:#000000;stroke-width:3.89083;stroke:none"
x="7.0076165"
y="61.001396">TXT</tspan></text>
<path
style="fill:none;stroke:#ff0000;stroke-width:31.83113262;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1"
d="m -189.92457,-110.18248 386.83262,255.3493"
id="path401" />
</g>
<g
id="g2968"
transform="matrix(0.51622059,0,0,0.61043904,-184.38759,334.87612)"
style="fill:#008000">
<path
id="path2962"
style="fill:#008000;stroke-width:3.26929;stroke-linecap:round;stroke-linejoin:round;paint-order:fill markers stroke;stop-color:#000000"
d="m -43.623047,-99.642578 c -9.15796,0 -16.529297,7.37329 -16.529297,16.53125 v 81.2753905 c 0,9.1579596 7.371337,16.5292965 16.529297,16.5292965 H 78.980469 c 9.157959,0 16.529297,-7.3713369 16.529297,-16.5292965 V -83.111328 c 0,-9.15796 -7.371338,-16.53125 -16.529297,-16.53125 z m 10.832031,10.101562 h 100.9375 c 7.539686,0 13.609375,6.06969 13.609375,13.609375 v 66.9140629 c 0,7.5396855 -6.069689,13.609375 -13.609375,13.609375 h -100.9375 c -7.539685,0 -13.609375,-6.0696895 -13.609375,-13.609375 V -75.931641 c 0,-7.539685 6.06969,-13.609375 13.609375,-13.609375 z"
transform="matrix(2.1487621,0,0,2.1487621,-31.618865,101.14089)" />
<text
xml:space="preserve"
style="font-size:155.633px;line-height:1.25;font-family:'C.A. Gatintas';-inkscape-font-specification:'C.A. Gatintas';text-align:center;text-anchor:middle;stroke-width:3.89083;fill:#008000"
x="7.0076203"
y="61.001396"
id="text2966"
transform="scale(0.76795053,1.3021672)"><tspan
sodipodi:role="line"
id="tspan2964"
style="font-style:normal;font-variant:normal;font-weight:900;font-stretch:normal;font-family:Ari;-inkscape-font-specification:'Ari Heavy';fill:#008000;stroke-width:3.89083"
x="7.0076165"
y="61.001396">TXT</tspan></text>
</g>
<g
id="g2976"
transform="matrix(0.51622059,0,0,0.61043904,1.1075914,332.90277)"
style="fill:#008000">
<path
id="path2970"
style="fill:#008000;stroke-width:3.26929;stroke-linecap:round;stroke-linejoin:round;paint-order:fill markers stroke;stop-color:#000000"
d="m -43.623047,-99.642578 c -9.15796,0 -16.529297,7.37329 -16.529297,16.53125 v 81.2753905 c 0,9.1579596 7.371337,16.5292965 16.529297,16.5292965 H 78.980469 c 9.157959,0 16.529297,-7.3713369 16.529297,-16.5292965 V -83.111328 c 0,-9.15796 -7.371338,-16.53125 -16.529297,-16.53125 z m 10.832031,10.101562 h 100.9375 c 7.539686,0 13.609375,6.06969 13.609375,13.609375 v 66.9140629 c 0,7.5396855 -6.069689,13.609375 -13.609375,13.609375 h -100.9375 c -7.539685,0 -13.609375,-6.0696895 -13.609375,-13.609375 V -75.931641 c 0,-7.539685 6.06969,-13.609375 13.609375,-13.609375 z"
transform="matrix(2.1487621,0,0,2.1487621,-31.618865,101.14089)" />
<text
xml:space="preserve"
style="font-size:155.633px;line-height:1.25;font-family:'C.A. Gatintas';-inkscape-font-specification:'C.A. Gatintas';text-align:center;text-anchor:middle;stroke-width:3.89083;fill:#008000"
x="7.0076203"
y="61.001396"
id="text2974"
transform="scale(0.76795053,1.3021672)"><tspan
sodipodi:role="line"
id="tspan2972"
style="font-style:normal;font-variant:normal;font-weight:900;font-stretch:normal;font-family:Ari;-inkscape-font-specification:'Ari Heavy';fill:#008000;stroke-width:3.89083"
x="7.0076165"
y="61.001396">TXT</tspan></text>
</g>
<g
id="g2984"
transform="matrix(0.51622059,0,0,0.61043904,186.60277,329.94274)"
style="fill:#008000">
<path
id="path2978"
style="fill:#008000;stroke-width:3.26929;stroke-linecap:round;stroke-linejoin:round;paint-order:fill markers stroke;stop-color:#000000"
d="m -43.623047,-99.642578 c -9.15796,0 -16.529297,7.37329 -16.529297,16.53125 v 81.2753905 c 0,9.1579596 7.371337,16.5292965 16.529297,16.5292965 H 78.980469 c 9.157959,0 16.529297,-7.3713369 16.529297,-16.5292965 V -83.111328 c 0,-9.15796 -7.371338,-16.53125 -16.529297,-16.53125 z m 10.832031,10.101562 h 100.9375 c 7.539686,0 13.609375,6.06969 13.609375,13.609375 v 66.9140629 c 0,7.5396855 -6.069689,13.609375 -13.609375,13.609375 h -100.9375 c -7.539685,0 -13.609375,-6.0696895 -13.609375,-13.609375 V -75.931641 c 0,-7.539685 6.06969,-13.609375 13.609375,-13.609375 z"
transform="matrix(2.1487621,0,0,2.1487621,-31.618865,101.14089)" />
<text
xml:space="preserve"
style="font-size:155.633px;line-height:1.25;font-family:'C.A. Gatintas';-inkscape-font-specification:'C.A. Gatintas';text-align:center;text-anchor:middle;stroke-width:3.89083;fill:#008000"
x="7.0076203"
y="61.001396"
id="text2982"
transform="scale(0.76795053,1.3021672)"><tspan
sodipodi:role="line"
id="tspan2980"
style="font-style:normal;font-variant:normal;font-weight:900;font-stretch:normal;font-family:Ari;-inkscape-font-specification:'Ari Heavy';fill:#008000;stroke-width:3.89083"
x="7.0076165"
y="61.001396">TXT</tspan></text>
</g>
<path
style="fill:none;stroke:#008000;stroke-width:16.7705;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m -176.66031,239.2756 -0.98667,-50.3205 370.00369,0.98667 -0.98669,46.3738"
id="path3019" />
<path
style="fill:#008000;stroke:#008000;stroke-width:16.2426;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 7.8481941,187.96842 8e-7,-66.10732"
id="path3087"
sodipodi:nodetypes="cc" />
</g>
</g>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 11 KiB

BIN
icons/allcontentchilds.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 915 B

View File

@ -4,6 +4,7 @@ import java.util.Enumeration;
import cXML.node;
import list.listeAttributsAnalyseWriter;
import list.listeDesNodesEvalPlacement;
public class evaluationAttribut {
@ -150,6 +151,7 @@ public class evaluationAttribut {
/**
* Analyse tous les attributs et les contenus d'un node.<br>
* Les attributs et les contenus doivent posséder la caractère ou .<br>
* Ou le node doit posséder des attributs d'analyseWriter comme allContent="1", etc...</br>
* <br>
* @param nodeStudent : le node de l'étudiant.
* @param sujet : le node du sujet
@ -163,6 +165,7 @@ public class evaluationAttribut {
while(key.hasMoreElements()) {
String k = key.nextElement();
// evaluer les attributs de Writer avec l'évaluateur
if( sujet.getAttributs().get(k).contains("")){
if(nodeStudent!=null) {
String valueAttributStudent = nodeStudent.getAttributs().get(k);
@ -207,6 +210,7 @@ public class evaluationAttribut {
}
}
// evaluer la non activation de l'entête.
if(k.equals("evalEntetePasActive") && sujet.getNomElt().equals("style:header-style")) {
if(nodeStudent!=null) {
int nbA=0;
@ -231,6 +235,7 @@ public class evaluationAttribut {
}
}
// evaluer l'activation de l'entête
if(k.equals("evalEnteteActive") && sujet.getNomElt().equals("style:header-style")) {
if(nodeStudent!=null) {
int nbAs=0;
@ -249,6 +254,7 @@ public class evaluationAttribut {
}
}
//evaluer la non activation du pied de page.
if(k.equals("evalPiedPagePasActive") && sujet.getNomElt().equals("style:footer-style")) {
if(nodeStudent!=null) {
int nbA=0;
@ -273,6 +279,7 @@ public class evaluationAttribut {
}
}
// evaluer l'activation du pied de page
if(k.equals("evalPiedPageActive") && sujet.getNomElt().equals("style:footer-style")) {
if(nodeStudent!=null) {
int nbAs=0;
@ -291,6 +298,7 @@ public class evaluationAttribut {
}
}
// evaluation du nom de la séquence.
if(k.equals("evalNameSequence") && sujet.getNomElt().equals("text:sequence-decl")) {
if(nodeStudent!=null) {
retour = evaluNameSequence(retour,nodeStudent, sujet.getAttributs().get("text:name"), sujet.getAttributs().get("evalNameSequence"),"Séquence");
@ -299,6 +307,7 @@ public class evaluationAttribut {
}
}
// evaluation du nom de la page
if(k.equals("evalNamePage") && sujet.getNomElt().equals("page")) {
if(nodeStudent!=null) {
retour = evaluNamePage(retour,nodeStudent, sujet.getAttributs().get("style:master-page-name"), sujet.getAttributs().get("evalNamePage"),"Page");
@ -307,6 +316,7 @@ public class evaluationAttribut {
}
}
// evaluation de la propriété personnalisé dans la structure du document
if(k.equals("evalTextUserDefined") && sujet.getNomElt().equals("text:user-defined") && sujet.chemin().contains("structurepage")) {
if(nodeStudent!=null) {
retour = evaluTextUserDefined(retour,nodeStudent, sujet.getAttributs().get("text:name"), sujet.getAttributs().get("evalTextUserDefined"),"Propriété personnalisé");
@ -315,6 +325,7 @@ public class evaluationAttribut {
}
}
// evaluation du numéro de la page.
if(k.equals("evalNumeroPage") && sujet.getNomElt().equals("page")) {
if(nodeStudent!=null) {
retour = evaluNumeroPage(retour,nodeStudent, sujet.getAttributs().get("numero"), sujet.getAttributs().get("evalNumeroPage"),"numéro");
@ -323,6 +334,7 @@ public class evaluationAttribut {
}
}
// evaluation du numéro absolu de la page.
if(k.equals("evalNumeroAbsoluePage") && sujet.getNomElt().equals("page")) {
if(nodeStudent!=null) {
retour = evaluNumeroAbsoluePage(retour,nodeStudent, sujet.getAttributs().get("numeroabsolue"), sujet.getAttributs().get("evalNumeroAbsoluePage"),"numéro absolue");
@ -331,6 +343,33 @@ public class evaluationAttribut {
}
}
// evaluation du placement du paragraphe
if(k.equals("evalPlacement") && listeDesNodesEvalPlacement.isPlacement(sujet)) {
if(nodeStudent!=null) {
int calcul = 0;
node nodeSujetfrereAvant = sujet.retourneLeNodeFrereAvant();
node nodeStudentfereAvant = nodeStudent.retourneLeNodeFrereAvant();
if(nodeSujetfrereAvant==null) nodeSujetfrereAvant = new node();
if(nodeStudentfereAvant==null) nodeStudentfereAvant = new node();
String A = nodeSujetfrereAvant.retourneLesContenusEnfants("");
String B = nodeStudentfereAvant.retourneLesContenusEnfants("");
if(A.isEmpty() && B.isEmpty()) calcul++;
if(!A.isEmpty() && !B.isEmpty()) if(cXML.StringSimilarity.similarity(A, B)>0.92) calcul++;
if(calcul==1) {
retour = evaluPlacement(retour,nodeStudent, sujet.retourneLesContenusEnfants(""), sujet.getAttributs().get("evalPlacement"),"Placement");
}else {
retour = evaluPlacement(retour,null, sujet.retourneLesContenusEnfants(""), sujet.getAttributs().get("evalPlacement"),"Placement");
}
}else {
node nodeSujetAvant = sujet.retourneLeNodeFrereAvant();
retour = evaluPlacement(retour,null, nodeSujetAvant.retourneLesContenusEnfants(""), sujet.getAttributs().get("evalPlacement"),"Placement");
}
}
}
@ -564,7 +603,8 @@ public class evaluationAttribut {
/**
* evalue la valeur de la propriété personalisée dans la structure ("text:name") de text:user-defined
* Evaluer la valeur de la propriété personalisée dans la structure ("text:name") de text:user-defined.</br>
* <br>
* @param retour
* @param nodStudent
* @param textUserDefined
@ -585,7 +625,8 @@ public class evaluationAttribut {
}
/**
*
* Méthode permettant d'évaluer le numéro de la page.</br>
* <br>
* @param retour
* @param nodStudent
* @param numeroPage
@ -606,7 +647,8 @@ public class evaluationAttribut {
}
/**
*
* Méthode permettant d'évaluer le numéro absolu de la page.</br>
* <br>
* @param retour
* @param nodStudent
* @param numeroAbsoluePage
@ -626,6 +668,29 @@ public class evaluationAttribut {
return retour;
}
/**
*
* @param retour
* @param nodStudent
* @param contenuParagraph
* @param point
* @param nameElt
* @return
*/
private static node evaluPlacement(node retour, node nodStudent, String contenuParagraph, String point, String nameElt) {
node item = null;
if(nodStudent!=null) {
//compare la même valeur "contenuParagraph" pour obtenir les points mais si un vosinage du contenu.
item = retourneNoteAvecResultatsAnalyse("Placement","", contenuParagraph,contenuParagraph + "" +point, nameElt );
}else {
evaluation.IncrementPointTotal(Integer.valueOf(point));
item = new node("Placement", "Erreur : -"+ point, "" , "null", contenuParagraph, 2, evaluation.getPointEnJeu(),nameElt);
}
retour.getNodes().add(item);
return retour;
}
/**
* Retourne le node avec les résultats de la comparaison entre les deux valeurs (étudiant et sujet).<br>
* <br>