V4.2.0
4
bin/.gitignore
vendored
@ -1 +1,5 @@
|
|||||||
/fenetres/
|
/fenetres/
|
||||||
|
/list/
|
||||||
|
/evaluer/
|
||||||
|
/resources/
|
||||||
|
/MEPTL/
|
||||||
|
BIN
icons/evalnumeroabsoluepage.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
436
icons/evalnumeroabsoluepage.svg
Normal file
@ -0,0 +1,436 @@
|
|||||||
|
<?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\evalnumeroabsoluepagemini.png"
|
||||||
|
sodipodi:docname="evalnumeroabsoluepage.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">
|
||||||
|
<marker
|
||||||
|
style="overflow:visible;"
|
||||||
|
id="Arrow1Mend"
|
||||||
|
refX="0.0"
|
||||||
|
refY="0.0"
|
||||||
|
orient="auto"
|
||||||
|
inkscape:stockid="Arrow1Mend"
|
||||||
|
inkscape:isstock="true">
|
||||||
|
<path
|
||||||
|
transform="scale(0.4) rotate(180) translate(10,0)"
|
||||||
|
style="fill-rule:evenodd;fill:context-stroke;stroke:context-stroke;stroke-width:1.0pt;"
|
||||||
|
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
|
||||||
|
id="path6669" />
|
||||||
|
</marker>
|
||||||
|
<marker
|
||||||
|
style="overflow:visible"
|
||||||
|
id="Arrow1Lstart"
|
||||||
|
refX="0.0"
|
||||||
|
refY="0.0"
|
||||||
|
orient="auto"
|
||||||
|
inkscape:stockid="Arrow1Lstart"
|
||||||
|
inkscape:isstock="true">
|
||||||
|
<path
|
||||||
|
transform="scale(0.8) translate(12.5,0)"
|
||||||
|
style="fill-rule:evenodd;fill:context-stroke;stroke:context-stroke;stroke-width:1.0pt"
|
||||||
|
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
|
||||||
|
id="path6660" />
|
||||||
|
</marker>
|
||||||
|
<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="28.000973"
|
||||||
|
inkscape:cx="11.415031"
|
||||||
|
inkscape:zoom="10.249644"
|
||||||
|
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
|
||||||
|
position="-0.85185887,10.144423"
|
||||||
|
orientation="0,-1"
|
||||||
|
id="guide1279" />
|
||||||
|
<sodipodi:guide
|
||||||
|
position="-0.36139467,8.905356"
|
||||||
|
orientation="0,-1"
|
||||||
|
id="guide1281" />
|
||||||
|
<sodipodi:guide
|
||||||
|
position="-4.6465029,7.7695441"
|
||||||
|
orientation="0,-1"
|
||||||
|
id="guide1283" />
|
||||||
|
<sodipodi:guide
|
||||||
|
position="-5.3692922,6.711174"
|
||||||
|
orientation="0,-1"
|
||||||
|
id="guide1285" />
|
||||||
|
<sodipodi:guide
|
||||||
|
position="-4.7755724,5.5753622"
|
||||||
|
orientation="0,-1"
|
||||||
|
id="guide1287" />
|
||||||
|
<sodipodi:guide
|
||||||
|
position="-4.1818526,4.4911782"
|
||||||
|
orientation="0,-1"
|
||||||
|
id="guide1289" />
|
||||||
|
<sodipodi:guide
|
||||||
|
position="-4.0011553,3.3037386"
|
||||||
|
orientation="0,-1"
|
||||||
|
id="guide1291" />
|
||||||
|
</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)">
|
||||||
|
<g
|
||||||
|
id="g5418"
|
||||||
|
transform="translate(-0.00235905,280.45744)"
|
||||||
|
style="fill:#008080" />
|
||||||
|
<g
|
||||||
|
id="g4115">
|
||||||
|
<g
|
||||||
|
id="g3994"
|
||||||
|
transform="matrix(0.47344107,0,0,0.47344107,-94.475506,-33.759541)">
|
||||||
|
<rect
|
||||||
|
style="fill:#00ff00;stroke:none;stroke-width:43.6219;stroke-linecap:round;stroke-linejoin:round;paint-order:fill markers stroke;stop-color:#000000"
|
||||||
|
id="rect1136"
|
||||||
|
width="90.929276"
|
||||||
|
height="118.98228"
|
||||||
|
x="-164.28687"
|
||||||
|
y="-64.11351"
|
||||||
|
ry="4.5401139" />
|
||||||
|
<rect
|
||||||
|
style="fill:#ffffff;stroke:none;stroke-width:39.7188;stroke-linecap:round;stroke-linejoin:round;paint-order:fill markers stroke;stop-color:#000000"
|
||||||
|
id="rect1259"
|
||||||
|
width="82.793495"
|
||||||
|
height="108.3365"
|
||||||
|
x="-160.21896"
|
||||||
|
y="-58.790619"
|
||||||
|
ry="4.1338935" />
|
||||||
|
<g
|
||||||
|
id="g1460">
|
||||||
|
<path
|
||||||
|
style="fill:none;stroke:#000000;stroke-width:3.88538;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||||
|
d="m -147.25013,-42.680212 h 53.583249"
|
||||||
|
id="path1326" />
|
||||||
|
<path
|
||||||
|
style="fill:none;stroke:#000000;stroke-width:3.88538;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||||
|
d="m -147.25013,-29.490494 h 53.583248"
|
||||||
|
id="path1441" />
|
||||||
|
<path
|
||||||
|
style="fill:none;stroke:#000000;stroke-width:3.88538;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||||
|
d="m -147.25013,-17.399914 h 53.583248"
|
||||||
|
id="path1443" />
|
||||||
|
<path
|
||||||
|
style="fill:none;stroke:#000000;stroke-width:3.88538;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||||
|
d="m -147.25013,-6.1336929 h 53.583246"
|
||||||
|
id="path1445" />
|
||||||
|
<path
|
||||||
|
style="fill:none;stroke:#000000;stroke-width:3.88538;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||||
|
d="m -147.25013,5.9568857 h 53.583245"
|
||||||
|
id="path1447" />
|
||||||
|
<path
|
||||||
|
style="fill:none;stroke:#000000;stroke-width:3.88538;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||||
|
d="m -147.25013,17.497893 h 53.583247"
|
||||||
|
id="path1449" />
|
||||||
|
<path
|
||||||
|
style="fill:none;stroke:#000000;stroke-width:3.88538;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||||
|
d="m -147.25013,30.138043 h 53.583245"
|
||||||
|
id="path1451" />
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
<text
|
||||||
|
xml:space="preserve"
|
||||||
|
style="font-size:25.681px;line-height:1.25;font-family:pop;-inkscape-font-specification:pop;text-align:center;text-anchor:middle;stroke-width:0.642026"
|
||||||
|
x="-139.09583"
|
||||||
|
y="-11.354624"
|
||||||
|
id="text2087"><tspan
|
||||||
|
sodipodi:role="line"
|
||||||
|
id="tspan2085"
|
||||||
|
style="fill:#ff0000;stroke-width:0.642026"
|
||||||
|
x="-139.09583"
|
||||||
|
y="-11.354624">#</tspan></text>
|
||||||
|
</g>
|
||||||
|
<g
|
||||||
|
id="g4143"
|
||||||
|
transform="translate(-0.82435763,63.200752)">
|
||||||
|
<g
|
||||||
|
id="g4137"
|
||||||
|
transform="matrix(0.47344107,0,0,0.47344107,-94.475506,-33.759541)">
|
||||||
|
<rect
|
||||||
|
style="fill:#00ff00;stroke:none;stroke-width:43.6219;stroke-linecap:round;stroke-linejoin:round;paint-order:fill markers stroke;stop-color:#000000"
|
||||||
|
id="rect4117"
|
||||||
|
width="90.929276"
|
||||||
|
height="118.98228"
|
||||||
|
x="-164.28687"
|
||||||
|
y="-64.11351"
|
||||||
|
ry="4.5401139" />
|
||||||
|
<rect
|
||||||
|
style="fill:#ffffff;stroke:none;stroke-width:39.7188;stroke-linecap:round;stroke-linejoin:round;paint-order:fill markers stroke;stop-color:#000000"
|
||||||
|
id="rect4119"
|
||||||
|
width="82.793495"
|
||||||
|
height="108.3365"
|
||||||
|
x="-160.21896"
|
||||||
|
y="-58.790619"
|
||||||
|
ry="4.1338935" />
|
||||||
|
<g
|
||||||
|
id="g4135">
|
||||||
|
<path
|
||||||
|
style="fill:none;stroke:#000000;stroke-width:3.88538;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||||
|
d="m -147.25013,-42.680212 h 53.583249"
|
||||||
|
id="path4121" />
|
||||||
|
<path
|
||||||
|
style="fill:none;stroke:#000000;stroke-width:3.88538;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||||
|
d="m -147.25013,-29.490494 h 53.583248"
|
||||||
|
id="path4123" />
|
||||||
|
<path
|
||||||
|
style="fill:none;stroke:#000000;stroke-width:3.88538;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||||
|
d="m -147.25013,-17.399914 h 53.583248"
|
||||||
|
id="path4125" />
|
||||||
|
<path
|
||||||
|
style="fill:none;stroke:#000000;stroke-width:3.88538;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||||
|
d="m -147.25013,-6.1336929 h 53.583246"
|
||||||
|
id="path4127" />
|
||||||
|
<path
|
||||||
|
style="fill:none;stroke:#000000;stroke-width:3.88538;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||||
|
d="m -147.25013,5.9568857 h 53.583245"
|
||||||
|
id="path4129" />
|
||||||
|
<path
|
||||||
|
style="fill:none;stroke:#000000;stroke-width:3.88538;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||||
|
d="m -147.25013,17.497893 h 53.583247"
|
||||||
|
id="path4131" />
|
||||||
|
<path
|
||||||
|
style="fill:none;stroke:#000000;stroke-width:3.88538;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||||
|
d="m -147.25013,30.138043 h 53.583245"
|
||||||
|
id="path4133" />
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
<text
|
||||||
|
xml:space="preserve"
|
||||||
|
style="font-size:25.681px;line-height:1.25;font-family:pop;-inkscape-font-specification:pop;text-align:center;text-anchor:middle;stroke-width:0.642026"
|
||||||
|
x="-139.09583"
|
||||||
|
y="-11.354624"
|
||||||
|
id="text4141"><tspan
|
||||||
|
sodipodi:role="line"
|
||||||
|
id="tspan4139"
|
||||||
|
style="fill:#ff0000;stroke-width:0.642026"
|
||||||
|
x="-139.09583"
|
||||||
|
y="-11.354624">#</tspan></text>
|
||||||
|
</g>
|
||||||
|
<text
|
||||||
|
xml:space="preserve"
|
||||||
|
style="font-size:112.658px;line-height:1.25;font-family:pop;-inkscape-font-specification:pop;text-align:center;text-anchor:middle;fill:#008080;stroke-width:2.81646"
|
||||||
|
x="-87.072021"
|
||||||
|
y="62.562767"
|
||||||
|
id="text5113"><tspan
|
||||||
|
sodipodi:role="line"
|
||||||
|
id="tspan5111"
|
||||||
|
style="fill:#008080;stroke-width:2.81646"
|
||||||
|
x="-87.072021"
|
||||||
|
y="62.562767">#</tspan></text>
|
||||||
|
<path
|
||||||
|
style="fill:none;stroke:#008080;stroke-width:2.81646px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#Arrow1Mend)"
|
||||||
|
d="m -108.50532,17.497891 h -28.02816"
|
||||||
|
id="path6658" />
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 15 KiB |
BIN
icons/evalnumeroabsoluepagemini.png
Normal file
After Width: | Height: | Size: 948 B |
BIN
icons/evalnumeropage.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
320
icons/evalnumeropage.svg
Normal file
@ -0,0 +1,320 @@
|
|||||||
|
<?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\evalnumeropage.png"
|
||||||
|
sodipodi:docname="evalnumeropage.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="28.000973"
|
||||||
|
inkscape:cx="11.415031"
|
||||||
|
inkscape:zoom="10.249644"
|
||||||
|
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
|
||||||
|
position="-0.85185887,10.144423"
|
||||||
|
orientation="0,-1"
|
||||||
|
id="guide1279" />
|
||||||
|
<sodipodi:guide
|
||||||
|
position="-0.36139467,8.905356"
|
||||||
|
orientation="0,-1"
|
||||||
|
id="guide1281" />
|
||||||
|
<sodipodi:guide
|
||||||
|
position="-4.6465029,7.7695441"
|
||||||
|
orientation="0,-1"
|
||||||
|
id="guide1283" />
|
||||||
|
<sodipodi:guide
|
||||||
|
position="-5.3692922,6.711174"
|
||||||
|
orientation="0,-1"
|
||||||
|
id="guide1285" />
|
||||||
|
<sodipodi:guide
|
||||||
|
position="-4.7755724,5.5753622"
|
||||||
|
orientation="0,-1"
|
||||||
|
id="guide1287" />
|
||||||
|
<sodipodi:guide
|
||||||
|
position="-4.1818526,4.4911782"
|
||||||
|
orientation="0,-1"
|
||||||
|
id="guide1289" />
|
||||||
|
<sodipodi:guide
|
||||||
|
position="-4.0011553,3.3037386"
|
||||||
|
orientation="0,-1"
|
||||||
|
id="guide1291" />
|
||||||
|
</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)">
|
||||||
|
<g
|
||||||
|
id="g5418"
|
||||||
|
transform="translate(-0.00235905,280.45744)"
|
||||||
|
style="fill:#008080" />
|
||||||
|
<rect
|
||||||
|
style="fill:#00ff00;stroke:none;stroke-width:43.6219;stroke-linecap:round;stroke-linejoin:round;paint-order:fill markers stroke;stop-color:#000000"
|
||||||
|
id="rect1136"
|
||||||
|
width="90.929276"
|
||||||
|
height="118.98228"
|
||||||
|
x="-164.28687"
|
||||||
|
y="-64.11351"
|
||||||
|
ry="4.5401139" />
|
||||||
|
<rect
|
||||||
|
style="fill:#ffffff;stroke:none;stroke-width:39.7188;stroke-linecap:round;stroke-linejoin:round;paint-order:fill markers stroke;stop-color:#000000"
|
||||||
|
id="rect1259"
|
||||||
|
width="82.793495"
|
||||||
|
height="108.3365"
|
||||||
|
x="-160.21896"
|
||||||
|
y="-58.790619"
|
||||||
|
ry="4.1338935" />
|
||||||
|
<g
|
||||||
|
id="g1460">
|
||||||
|
<path
|
||||||
|
style="fill:none;stroke:#000000;stroke-width:3.88538;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||||
|
d="m -147.25013,-42.680212 h 53.583249"
|
||||||
|
id="path1326" />
|
||||||
|
<path
|
||||||
|
style="fill:none;stroke:#000000;stroke-width:3.88538;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||||
|
d="m -147.25013,-29.490494 h 53.583248"
|
||||||
|
id="path1441" />
|
||||||
|
<path
|
||||||
|
style="fill:none;stroke:#000000;stroke-width:3.88538;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||||
|
d="m -147.25013,-17.399914 h 53.583248"
|
||||||
|
id="path1443" />
|
||||||
|
<path
|
||||||
|
style="fill:none;stroke:#000000;stroke-width:3.88538;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||||
|
d="m -147.25013,-6.1336929 h 53.583246"
|
||||||
|
id="path1445" />
|
||||||
|
<path
|
||||||
|
style="fill:none;stroke:#000000;stroke-width:3.88538;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||||
|
d="m -147.25013,5.9568857 h 53.583245"
|
||||||
|
id="path1447" />
|
||||||
|
<path
|
||||||
|
style="fill:none;stroke:#000000;stroke-width:3.88538;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||||
|
d="m -147.25013,17.497893 h 53.583247"
|
||||||
|
id="path1449" />
|
||||||
|
<path
|
||||||
|
style="fill:none;stroke:#000000;stroke-width:3.88538;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||||
|
d="m -147.25013,30.138043 h 53.583245"
|
||||||
|
id="path1451" />
|
||||||
|
</g>
|
||||||
|
<text
|
||||||
|
xml:space="preserve"
|
||||||
|
style="font-size:112.658px;line-height:1.25;font-family:pop;-inkscape-font-specification:pop;text-align:center;text-anchor:middle;stroke-width:2.81646"
|
||||||
|
x="-90.369453"
|
||||||
|
y="60.364491"
|
||||||
|
id="text2087"><tspan
|
||||||
|
sodipodi:role="line"
|
||||||
|
id="tspan2085"
|
||||||
|
style="fill:#ff0000;stroke-width:2.81646"
|
||||||
|
x="-90.369453"
|
||||||
|
y="60.364491">#</tspan></text>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 9.8 KiB |
BIN
icons/evalnumeropagemini.png
Normal file
After Width: | Height: | Size: 761 B |
@ -33,7 +33,7 @@ public class commandes {
|
|||||||
public static node nodeCSV = null;
|
public static node nodeCSV = null;
|
||||||
|
|
||||||
//**version
|
//**version
|
||||||
public static String version ="V4.1.2"; // La version actuelle
|
public static String version ="V4.2.0"; // La version actuelle
|
||||||
public static String branch = "Origin";
|
public static String branch = "Origin";
|
||||||
public static String Annee ="2022";
|
public static String Annee ="2022";
|
||||||
|
|
||||||
|
@ -347,6 +347,7 @@ public class ecritureSujet {
|
|||||||
*/
|
*/
|
||||||
public static boolean listeDesNodesByRecherche(String nameNode) {
|
public static boolean listeDesNodesByRecherche(String nameNode) {
|
||||||
if(nameNode.contains("text:p")) return true;
|
if(nameNode.contains("text:p")) return true;
|
||||||
|
if(nameNode.contains("text:line-break")) return true;
|
||||||
if(nameNode.contains("text:h")) return true;
|
if(nameNode.contains("text:h")) return true;
|
||||||
if(nameNode.contains("text:span")) return true;
|
if(nameNode.contains("text:span")) return true;
|
||||||
if(nameNode.equals("draw:text-box")) return true;
|
if(nameNode.equals("draw:text-box")) return true;
|
||||||
|
@ -244,10 +244,27 @@ public class evaluationAttribut {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
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");
|
||||||
|
}else {
|
||||||
|
retour = evaluNumeroPage(retour,null, "Pas trouvé la page", sujet.getAttributs().get("evalNumeroPage"),"numéro");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
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");
|
||||||
|
}else {
|
||||||
|
retour = evaluNumeroAbsoluePage(retour,null, "Pas trouvé la page", sujet.getAttributs().get("evalNumeroAbsoluePage"),"numéro absolue");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//avec l'attribut allContent="strict1", allContent="strictSansEspace1" et allContent="environ1"
|
//avec l'attribut allContent="strict1", allContent="strictSansEspace1" et allContent="environ1"
|
||||||
// il faut ajouter une méthode pour ignorer la casse
|
// il faut ajouter une méthode pour ignorer la casse
|
||||||
if(sujet.getAttributs().get("allContent")!=null) if(!sujet.getAttributs().get("allContent").isEmpty()){
|
if(sujet.getAttributs().get("allContent")!=null) if(!sujet.getAttributs().get("allContent").isEmpty()){
|
||||||
@ -427,7 +444,49 @@ public class evaluationAttribut {
|
|||||||
item = retourneNoteAvecResultatsAnalyse(namePage,"name", nodStudent.getAttributs().get("style:master-page-name"),namePage + "↑‽" +point, nameElt );
|
item = retourneNoteAvecResultatsAnalyse(namePage,"name", nodStudent.getAttributs().get("style:master-page-name"),namePage + "↑‽" +point, nameElt );
|
||||||
}else {
|
}else {
|
||||||
evaluation.IncrementPointTotal(Integer.valueOf(point));
|
evaluation.IncrementPointTotal(Integer.valueOf(point));
|
||||||
item = new node(namePage, "Erreur", "Nom de la séquence" , "null", namePage, 2, evaluation.getPointEnJeu(),nameElt);
|
item = new node(namePage, "Erreur", "Nom de la page" , "null", namePage, 2, evaluation.getPointEnJeu(),nameElt);
|
||||||
|
}
|
||||||
|
retour.getNodes().add(item);
|
||||||
|
return retour;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @param retour
|
||||||
|
* @param nodStudent
|
||||||
|
* @param numeroPage
|
||||||
|
* @param point
|
||||||
|
* @param nameElt
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
private static node evaluNumeroPage(node retour, node nodStudent, String numeroPage, String point, String nameElt) {
|
||||||
|
node item = null;
|
||||||
|
if(nodStudent!=null) {
|
||||||
|
item = retourneNoteAvecResultatsAnalyse(numeroPage,"numéro", nodStudent.getAttributs().get("numero"),numeroPage + "‽" +point, nameElt );
|
||||||
|
}else {
|
||||||
|
evaluation.IncrementPointTotal(Integer.valueOf(point));
|
||||||
|
item = new node(numeroPage, "Erreur", "Numéro de la page" , "null", numeroPage, 2, evaluation.getPointEnJeu(),nameElt);
|
||||||
|
}
|
||||||
|
retour.getNodes().add(item);
|
||||||
|
return retour;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @param retour
|
||||||
|
* @param nodStudent
|
||||||
|
* @param numeroAbsoluePage
|
||||||
|
* @param point
|
||||||
|
* @param nameElt
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
private static node evaluNumeroAbsoluePage(node retour, node nodStudent, String numeroAbsoluePage, String point, String nameElt) {
|
||||||
|
node item = null;
|
||||||
|
if(nodStudent!=null) {
|
||||||
|
item = retourneNoteAvecResultatsAnalyse(numeroAbsoluePage,"numéro absolue", nodStudent.getAttributs().get("numeroabsolue"),numeroAbsoluePage + "‽" +point, nameElt );
|
||||||
|
}else {
|
||||||
|
evaluation.IncrementPointTotal(Integer.valueOf(point));
|
||||||
|
item = new node(numeroAbsoluePage, "Erreur", "Numéro de la page absolue" , "null", numeroAbsoluePage, 2, evaluation.getPointEnJeu(),nameElt);
|
||||||
}
|
}
|
||||||
retour.getNodes().add(item);
|
retour.getNodes().add(item);
|
||||||
return retour;
|
return retour;
|
||||||
|
@ -54,6 +54,8 @@ public class afficheText extends JEditorPane {
|
|||||||
String imageEvalNameSequence= "<img src="+afficheText.class.getResource("/resources/evalnamesequencemini.png").toString()+">";
|
String imageEvalNameSequence= "<img src="+afficheText.class.getResource("/resources/evalnamesequencemini.png").toString()+">";
|
||||||
String imageEvalNamePage= "<img src="+afficheText.class.getResource("/resources/evalnamepagemini.png").toString()+">";
|
String imageEvalNamePage= "<img src="+afficheText.class.getResource("/resources/evalnamepagemini.png").toString()+">";
|
||||||
String imagePoids= "<img src="+afficheText.class.getResource("/resources/poidsmini.png").toString()+">";
|
String imagePoids= "<img src="+afficheText.class.getResource("/resources/poidsmini.png").toString()+">";
|
||||||
|
String imageEvalNumeroPage= "<img src="+afficheText.class.getResource("/resources/evalnumeropagemini.png").toString()+">";
|
||||||
|
String imageEvalNumeroAbsoluePage= "<img src="+afficheText.class.getResource("/resources/evalnumeroabsoluepagemini.png").toString()+">";
|
||||||
|
|
||||||
|
|
||||||
StringBuilder sb = new StringBuilder();
|
StringBuilder sb = new StringBuilder();
|
||||||
@ -175,6 +177,12 @@ public class afficheText extends JEditorPane {
|
|||||||
if(Lesattributsdunode.get(i).equals("evalNamePage") && !nod.getAttributs().get(Lesattributsdunode.get(i)).equals("0")) {
|
if(Lesattributsdunode.get(i).equals("evalNamePage") && !nod.getAttributs().get(Lesattributsdunode.get(i)).equals("0")) {
|
||||||
sb.append("<li class=\"p4\">"+imageEvalNamePage + " <b>" + Lesattributsdunode.get(i) + " = \"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");
|
sb.append("<li class=\"p4\">"+imageEvalNamePage + " <b>" + Lesattributsdunode.get(i) + " = \"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");
|
||||||
}
|
}
|
||||||
|
if(Lesattributsdunode.get(i).equals("evalNumeroPage") && !nod.getAttributs().get(Lesattributsdunode.get(i)).equals("0")) {
|
||||||
|
sb.append("<li class=\"p4\">"+imageEvalNumeroPage + " <b>" + Lesattributsdunode.get(i) + " = \"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");
|
||||||
|
}
|
||||||
|
if(Lesattributsdunode.get(i).equals("evalNumeroAbsoluePage") && !nod.getAttributs().get(Lesattributsdunode.get(i)).equals("0")) {
|
||||||
|
sb.append("<li class=\"p4\">"+imageEvalNumeroAbsoluePage + " <b>" + Lesattributsdunode.get(i) + " = \"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");
|
||||||
|
}
|
||||||
if(Lesattributsdunode.get(i).equals("poids") && !nod.getAttributs().get(Lesattributsdunode.get(i)).equals("0")) {
|
if(Lesattributsdunode.get(i).equals("poids") && !nod.getAttributs().get(Lesattributsdunode.get(i)).equals("0")) {
|
||||||
sb.append("<li class=\"p4\">"+imagePoids + " <b>" + Lesattributsdunode.get(i) + " = \"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");
|
sb.append("<li class=\"p4\">"+imagePoids + " <b>" + Lesattributsdunode.get(i) + " = \"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");
|
||||||
}
|
}
|
||||||
|
@ -72,7 +72,8 @@ public class allContent extends JFrame {
|
|||||||
lblValeurDeLattribut.setBounds(10, 105, 130, 22);
|
lblValeurDeLattribut.setBounds(10, 105, 130, 22);
|
||||||
contentPane.add(lblValeurDeLattribut);
|
contentPane.add(lblValeurDeLattribut);
|
||||||
|
|
||||||
JLabel lblDescription = new JLabel("<html>Cet attribut permet d'évaluer le contenu du node et de celui des nodes enfants de ce node.</html>");
|
JLabel lblDescription = new JLabel("<html>Cet attribut permet d'évaluer le contenu du node et de celui des nodes enfants de ce node.<br>"
|
||||||
|
+ "Par conséquent, tous les nodes enfants seront évalués.</html>");
|
||||||
lblDescription.setLabelFor(this);
|
lblDescription.setLabelFor(this);
|
||||||
lblDescription.setFont(new Font("Tahoma", Font.PLAIN, 12));
|
lblDescription.setFont(new Font("Tahoma", Font.PLAIN, 12));
|
||||||
lblDescription.setBounds(10, 11, 399, 50);
|
lblDescription.setBounds(10, 11, 399, 50);
|
||||||
@ -134,6 +135,7 @@ public class allContent extends JFrame {
|
|||||||
int point = Integer.valueOf(textFieldPoint.getText());
|
int point = Integer.valueOf(textFieldPoint.getText());
|
||||||
if(point<0) point =0;
|
if(point<0) point =0;
|
||||||
nod.getAttributs().put("allContent", comboBoxValeur.getSelectedItem() + String.valueOf(point));
|
nod.getAttributs().put("allContent", comboBoxValeur.getSelectedItem() + String.valueOf(point));
|
||||||
|
nod.evaluerAllChildTrue();
|
||||||
J.refreshAffichage(nod);
|
J.refreshAffichage(nod);
|
||||||
dispose();
|
dispose();
|
||||||
} catch (Exception e2) {
|
} catch (Exception e2) {
|
||||||
|
@ -58,6 +58,10 @@ import fenetres.create_act.actEvalNamePageNon;
|
|||||||
import fenetres.create_act.actEvalNamePageOui;
|
import fenetres.create_act.actEvalNamePageOui;
|
||||||
import fenetres.create_act.actEvalNameSequenceNon;
|
import fenetres.create_act.actEvalNameSequenceNon;
|
||||||
import fenetres.create_act.actEvalNameSequenceOui;
|
import fenetres.create_act.actEvalNameSequenceOui;
|
||||||
|
import fenetres.create_act.actEvalNumeroAbsoluePageNon;
|
||||||
|
import fenetres.create_act.actEvalNumeroAbsoluePageOui;
|
||||||
|
import fenetres.create_act.actEvalNumeroPageNon;
|
||||||
|
import fenetres.create_act.actEvalNumeroPageOui;
|
||||||
import fenetres.create_act.actEvalPiedPageActive;
|
import fenetres.create_act.actEvalPiedPageActive;
|
||||||
import fenetres.create_act.actEvalPiedPagePasActive;
|
import fenetres.create_act.actEvalPiedPagePasActive;
|
||||||
import fenetres.create_act.actEvalueFalse;
|
import fenetres.create_act.actEvalueFalse;
|
||||||
@ -101,10 +105,7 @@ import list.listeEvalNameNode;
|
|||||||
import list.listeRechercheParAnchorPageNumber;
|
import list.listeRechercheParAnchorPageNumber;
|
||||||
import javax.swing.JToggleButton;
|
import javax.swing.JToggleButton;
|
||||||
import java.awt.GridLayout;
|
import java.awt.GridLayout;
|
||||||
import javax.swing.JCheckBoxMenuItem;
|
|
||||||
import javax.swing.event.ChangeListener;
|
|
||||||
import javax.swing.event.ChangeEvent;
|
|
||||||
import net.miginfocom.swing.MigLayout;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -117,9 +118,9 @@ public final class create extends JFrame {
|
|||||||
private static afficheText textNodeSelect = new afficheText();
|
private static afficheText textNodeSelect = new afficheText();
|
||||||
private JToolBar toolBarPrincipal;
|
private JToolBar toolBarPrincipal;
|
||||||
|
|
||||||
private toolBarRecherche bRecherche;
|
// private toolBarRecherche bRecherche;
|
||||||
|
|
||||||
private JCheckBoxMenuItem chckbxtoolBarRecherche;
|
// private JCheckBoxMenuItem chckbxtoolBarRecherche;
|
||||||
|
|
||||||
private JMenuBar menuBar = new JMenuBar();
|
private JMenuBar menuBar = new JMenuBar();
|
||||||
private static JButton buttonEvaluate;
|
private static JButton buttonEvaluate;
|
||||||
@ -127,7 +128,7 @@ public final class create extends JFrame {
|
|||||||
private static JToggleButton tglbtnTousLesNodes;
|
private static JToggleButton tglbtnTousLesNodes;
|
||||||
|
|
||||||
private JPanel panelPrincipal;
|
private JPanel panelPrincipal;
|
||||||
private JPanel panel;
|
// private JPanel panel;
|
||||||
|
|
||||||
private static create instance;
|
private static create instance;
|
||||||
|
|
||||||
@ -180,8 +181,6 @@ public final class create extends JFrame {
|
|||||||
this.createToolBar();
|
this.createToolBar();
|
||||||
|
|
||||||
panelPrincipal = new JPanel();
|
panelPrincipal = new JPanel();
|
||||||
panelPrincipal.setLayout(new MigLayout("", "[100px:500px:1000px][100px:500px]", "[53:53:53][]"));
|
|
||||||
panelPrincipal.add(toolBarPrincipal, "cell 0 0,growx,aligny top");
|
|
||||||
getContentPane().add(panelPrincipal, BorderLayout.NORTH);
|
getContentPane().add(panelPrincipal, BorderLayout.NORTH);
|
||||||
|
|
||||||
this.createPopupMenuTree(null);
|
this.createPopupMenuTree(null);
|
||||||
@ -202,13 +201,17 @@ public final class create extends JFrame {
|
|||||||
tree.setFont(new Font("Tahoma", Font.PLAIN, 14));
|
tree.setFont(new Font("Tahoma", Font.PLAIN, 14));
|
||||||
|
|
||||||
getContentPane().add(splitPane, BorderLayout.CENTER);
|
getContentPane().add(splitPane, BorderLayout.CENTER);
|
||||||
|
panelPrincipal.setLayout(new GridLayout(1, 1, 0, 0));
|
||||||
|
panelPrincipal.add(toolBarPrincipal);
|
||||||
|
|
||||||
panel = new JPanel();
|
|
||||||
getContentPane().add(panel, BorderLayout.WEST);
|
|
||||||
panel.setLayout(new GridLayout(0,2, 0, 0));
|
|
||||||
|
|
||||||
bRecherche = new toolBarRecherche();
|
|
||||||
panelPrincipal.add(bRecherche, "cell 0 1,alignx left,aligny top");
|
|
||||||
|
// panelPrincipal.add(bRecherche, "cell 0 1,alignx left,aligny top");
|
||||||
|
// panelPrincipal.add(bRecherche2, "cell 0 1,alignx left,aligny top");
|
||||||
|
|
||||||
|
|
||||||
|
// panelPrincipal.add(label, "cell 2 1,alignx left,aligny center");
|
||||||
|
|
||||||
if(commandes.fichierAnalyseValide) constructionTree();
|
if(commandes.fichierAnalyseValide) constructionTree();
|
||||||
|
|
||||||
@ -254,20 +257,20 @@ public final class create extends JFrame {
|
|||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
chckbxtoolBarRecherche.addChangeListener(new ChangeListener() {
|
// chckbxtoolBarRecherche.addChangeListener(new ChangeListener() {
|
||||||
public void stateChanged(ChangeEvent e) {
|
// public void stateChanged(ChangeEvent e) {
|
||||||
if(chckbxtoolBarRecherche.isSelected()) {
|
// if(chckbxtoolBarRecherche.isSelected()) {
|
||||||
// panelPrincipal.add(bRecherche);
|
//// panelPrincipal.add(bRecherche);
|
||||||
panelPrincipal.add(bRecherche, "cell 0 1,alignx left,aligny top");
|
// panelPrincipal.add(bRecherche, "cell 0 1,alignx left,aligny top");
|
||||||
bRecherche.setVisible(true);
|
// bRecherche.setVisible(true);
|
||||||
bRecherche.setEnabled(true);
|
// bRecherche.setEnabled(true);
|
||||||
}else {
|
// }else {
|
||||||
bRecherche.setVisible(false);
|
// bRecherche.setVisible(false);
|
||||||
bRecherche.setEnabled(false);
|
// bRecherche.setEnabled(false);
|
||||||
panelPrincipal.remove(bRecherche);
|
// panelPrincipal.remove(bRecherche);
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
});
|
// });
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -411,12 +414,23 @@ public final class create extends JFrame {
|
|||||||
mnEvalNameSequence.add(new actEvalNameSequenceOui());
|
mnEvalNameSequence.add(new actEvalNameSequenceOui());
|
||||||
mnEvalNameSequence.add(new actEvalNameSequenceNon());
|
mnEvalNameSequence.add(new actEvalNameSequenceNon());
|
||||||
|
|
||||||
//Menu evalNamePage (pour les page)
|
//Menu evalNamePage (pour les nodes page)
|
||||||
JMenu mnEvalNamePage = new JMenu("Evaluer le nom de la page");
|
JMenu mnEvalNamePage = new JMenu("Evaluer le nom de la page");
|
||||||
mnEvalNamePage.setIcon(new ImageIcon(create.class.getResource("/resources/evalnamepagemini.png")));
|
mnEvalNamePage.setIcon(new ImageIcon(create.class.getResource("/resources/evalnamepagemini.png")));
|
||||||
mnEvalNamePage.add(new actEvalNamePageOui());
|
mnEvalNamePage.add(new actEvalNamePageOui());
|
||||||
mnEvalNamePage.add(new actEvalNamePageNon());
|
mnEvalNamePage.add(new actEvalNamePageNon());
|
||||||
|
|
||||||
|
//Menu evalNumeroPage (pour les nodes page)
|
||||||
|
JMenu mnEvalNumeroPage = new JMenu("Evaluer le numéro de la page");
|
||||||
|
mnEvalNumeroPage.setIcon(new ImageIcon(create.class.getResource("/resources/evalnumeropagemini.png")));
|
||||||
|
mnEvalNumeroPage.add(new actEvalNumeroPageOui());
|
||||||
|
mnEvalNumeroPage.add(new actEvalNumeroPageNon());
|
||||||
|
|
||||||
|
//Menu evalNumeroPage (pour les nodes page)
|
||||||
|
JMenu mnEvalNumeroAbsoluePage = new JMenu("Evaluer le numéro absolue de la page");
|
||||||
|
mnEvalNumeroAbsoluePage.setIcon(new ImageIcon(create.class.getResource("/resources/evalnumeroabsoluepagemini.png")));
|
||||||
|
mnEvalNumeroAbsoluePage.add(new actEvalNumeroAbsoluePageOui());
|
||||||
|
mnEvalNumeroAbsoluePage.add(new actEvalNumeroAbsoluePageNon());
|
||||||
|
|
||||||
//Menue Recherche par le numéro de la page ancrer
|
//Menue Recherche par le numéro de la page ancrer
|
||||||
JMenu mnRechercheParNumeroPageAncrer = new JMenu("Recherche par le numéro de la page");
|
JMenu mnRechercheParNumeroPageAncrer = new JMenu("Recherche par le numéro de la page");
|
||||||
@ -451,21 +465,6 @@ public final class create extends JFrame {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//**Menu setting
|
|
||||||
JMenu mnSetting = new JMenu("Les paramètres");
|
|
||||||
mnSetting.add("CSV");
|
|
||||||
mnSetting.add("ZIP feedback");
|
|
||||||
mnSetting.add("plagiarism");
|
|
||||||
mnSetting.add("text:similarity");
|
|
||||||
mnSetting.add("translation");
|
|
||||||
|
|
||||||
//*********************************************
|
//*********************************************
|
||||||
//** La popupMenu qui s'affiche sur le tree ***
|
//** La popupMenu qui s'affiche sur le tree ***
|
||||||
//*********************************************
|
//*********************************************
|
||||||
@ -527,6 +526,10 @@ public final class create extends JFrame {
|
|||||||
if(nod.getNomElt().equals("page")) {
|
if(nod.getNomElt().equals("page")) {
|
||||||
mnPopupTree.addSeparator();
|
mnPopupTree.addSeparator();
|
||||||
mnPopupTree.add(mnEvalNamePage);
|
mnPopupTree.add(mnEvalNamePage);
|
||||||
|
mnPopupTree.addSeparator();
|
||||||
|
mnPopupTree.add(mnEvalNumeroPage);
|
||||||
|
mnPopupTree.addSeparator();
|
||||||
|
mnPopupTree.add(mnEvalNumeroAbsoluePage);
|
||||||
}
|
}
|
||||||
mnPopupTree.addSeparator();
|
mnPopupTree.addSeparator();
|
||||||
mnPopupTree.add(new actAttribut());
|
mnPopupTree.add(new actAttribut());
|
||||||
@ -583,9 +586,9 @@ public final class create extends JFrame {
|
|||||||
JMenu mnAffiche = new JMenu("Affichage");
|
JMenu mnAffiche = new JMenu("Affichage");
|
||||||
menuBar.add(mnAffiche);
|
menuBar.add(mnAffiche);
|
||||||
|
|
||||||
chckbxtoolBarRecherche = new JCheckBoxMenuItem("Barre outils recherche node");
|
// chckbxtoolBarRecherche = new JCheckBoxMenuItem("Barre outils recherche node");
|
||||||
chckbxtoolBarRecherche.setSelected(true);
|
// chckbxtoolBarRecherche.setSelected(true);
|
||||||
mnAffiche.add(chckbxtoolBarRecherche);
|
// mnAffiche.add(chckbxtoolBarRecherche);
|
||||||
|
|
||||||
// Définition du menu Node
|
// Définition du menu Node
|
||||||
JMenu mnNode = new JMenu("Modifier");
|
JMenu mnNode = new JMenu("Modifier");
|
||||||
@ -636,6 +639,7 @@ public final class create extends JFrame {
|
|||||||
/* Methode de construction de la barre d'outils */
|
/* Methode de construction de la barre d'outils */
|
||||||
private void createToolBar() {
|
private void createToolBar() {
|
||||||
toolBarPrincipal = new JToolBar();
|
toolBarPrincipal = new JToolBar();
|
||||||
|
toolBarPrincipal.setFloatable(false);
|
||||||
toolBarPrincipal.setRollover(true);
|
toolBarPrincipal.setRollover(true);
|
||||||
|
|
||||||
toolBarPrincipal.setName("outils principaux");
|
toolBarPrincipal.setName("outils principaux");
|
||||||
|
27
src/fenetres/create_act/actEvalNumeroAbsoluePageNon.java
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
package fenetres.create_act;
|
||||||
|
|
||||||
|
import java.awt.event.ActionEvent;
|
||||||
|
|
||||||
|
import javax.swing.AbstractAction;
|
||||||
|
import javax.swing.Action;
|
||||||
|
|
||||||
|
import cXML.node;
|
||||||
|
|
||||||
|
public class actEvalNumeroAbsoluePageNon extends AbstractAction{
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
{
|
||||||
|
putValue( Action.NAME, "Supprime évaluer le numéro absolue de la page" );
|
||||||
|
putValue( Action.SHORT_DESCRIPTION, "Supprime l'évaluation du numéro absolue de la page." );
|
||||||
|
}
|
||||||
|
@Override
|
||||||
|
public void actionPerformed(ActionEvent e) {
|
||||||
|
node nod = (node) fenetres.create.getSelectNode().getUserObject();
|
||||||
|
nod.supprimeAttribut("evalNumeroAbsoluePage");
|
||||||
|
fenetres.create.getTextNodeSelect().refreshAffichage(nod);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
49
src/fenetres/create_act/actEvalNumeroAbsoluePageOui.java
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
package fenetres.create_act;
|
||||||
|
|
||||||
|
import java.awt.event.ActionEvent;
|
||||||
|
|
||||||
|
import javax.swing.AbstractAction;
|
||||||
|
import javax.swing.Action;
|
||||||
|
import javax.swing.JOptionPane;
|
||||||
|
|
||||||
|
import cXML.node;
|
||||||
|
import fenetres.baliseStyle;
|
||||||
|
|
||||||
|
public class actEvalNumeroAbsoluePageOui extends AbstractAction{
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
{
|
||||||
|
putValue( Action.NAME, "Oui, combien de point?" );
|
||||||
|
putValue( Action.SHORT_DESCRIPTION, "Evaluer le numéro absolue de la page" );
|
||||||
|
}
|
||||||
|
@Override
|
||||||
|
public void actionPerformed(ActionEvent e) {
|
||||||
|
node nod = (node) fenetres.create.getSelectNode().getUserObject();
|
||||||
|
int point = 0;
|
||||||
|
if(nod.getAttributs().get("evalNumeroAbsoluePage")!=null) {
|
||||||
|
point = Integer.valueOf(nod.getAttributs().get("evalNumeroAbsoluePage"));
|
||||||
|
}
|
||||||
|
|
||||||
|
String a = JOptionPane.showInputDialog(null,"Quel est le nombre de point?",point);
|
||||||
|
|
||||||
|
if(!a.isEmpty()) {
|
||||||
|
try {
|
||||||
|
point = Integer.valueOf(a);
|
||||||
|
if(point<=0) {
|
||||||
|
nod.getAttributs().put("evalNumeroAbsoluePage", String.valueOf(0));
|
||||||
|
fenetres.create.getTextNodeSelect().setText(baliseStyle.balise());
|
||||||
|
fenetres.create.getTextNodeSelect().setText("<h2>Erreur la valeur doit être un nombre entier POSITIF supérieur à zéro.<br>Cependant,la valeur a été modifiée.<br>evalNumeroAbsoluePage=0.</h2>");
|
||||||
|
}else {
|
||||||
|
nod.getAttributs().put("evalNumeroAbsoluePage", String.valueOf(point));
|
||||||
|
}
|
||||||
|
} catch (Exception e2) {
|
||||||
|
fenetres.create.getTextNodeSelect().setText(baliseStyle.balise());
|
||||||
|
fenetres.create.getTextNodeSelect().setText("<h2>Erreur la valeur doit être un nombre entier.<br>L'attribut n'a pas été modifiée.</h2>");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
fenetres.create.getTextNodeSelect().refreshAffichage(nod); }
|
||||||
|
|
||||||
|
}
|
26
src/fenetres/create_act/actEvalNumeroPageNon.java
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
package fenetres.create_act;
|
||||||
|
|
||||||
|
import java.awt.event.ActionEvent;
|
||||||
|
|
||||||
|
import javax.swing.AbstractAction;
|
||||||
|
import javax.swing.Action;
|
||||||
|
|
||||||
|
import cXML.node;
|
||||||
|
|
||||||
|
public class actEvalNumeroPageNon extends AbstractAction{
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
{
|
||||||
|
putValue( Action.NAME, "Supprime évaluer le numéro de la page" );
|
||||||
|
putValue( Action.SHORT_DESCRIPTION, "Supprime l'évaluation du numéro de la page." );
|
||||||
|
}
|
||||||
|
@Override
|
||||||
|
public void actionPerformed(ActionEvent e) {
|
||||||
|
node nod = (node) fenetres.create.getSelectNode().getUserObject();
|
||||||
|
nod.supprimeAttribut("evalNumeroPage");
|
||||||
|
fenetres.create.getTextNodeSelect().refreshAffichage(nod); }
|
||||||
|
|
||||||
|
}
|
51
src/fenetres/create_act/actEvalNumeroPageOui.java
Normal file
@ -0,0 +1,51 @@
|
|||||||
|
package fenetres.create_act;
|
||||||
|
|
||||||
|
import java.awt.event.ActionEvent;
|
||||||
|
|
||||||
|
import javax.swing.AbstractAction;
|
||||||
|
import javax.swing.Action;
|
||||||
|
import javax.swing.JOptionPane;
|
||||||
|
|
||||||
|
import cXML.node;
|
||||||
|
import fenetres.baliseStyle;
|
||||||
|
|
||||||
|
public class actEvalNumeroPageOui extends AbstractAction{
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
{
|
||||||
|
putValue( Action.NAME, "Oui, combien de point?" );
|
||||||
|
putValue( Action.SHORT_DESCRIPTION, "Evaluer le numéro de la page" );
|
||||||
|
}
|
||||||
|
@Override
|
||||||
|
public void actionPerformed(ActionEvent e) {
|
||||||
|
node nod = (node) fenetres.create.getSelectNode().getUserObject();
|
||||||
|
int point = 0;
|
||||||
|
if(nod.getAttributs().get("evalNumeroPage")!=null) {
|
||||||
|
point = Integer.valueOf(nod.getAttributs().get("evalNumeroPage"));
|
||||||
|
}
|
||||||
|
|
||||||
|
String a = JOptionPane.showInputDialog(null,"Quel est le nombre de point?",point);
|
||||||
|
|
||||||
|
if(!a.isEmpty()) {
|
||||||
|
try {
|
||||||
|
point = Integer.valueOf(a);
|
||||||
|
if(point<=0) {
|
||||||
|
nod.getAttributs().put("evalNumeroPage", String.valueOf(0));
|
||||||
|
fenetres.create.getTextNodeSelect().setText(baliseStyle.balise());
|
||||||
|
fenetres.create.getTextNodeSelect().setText("<h2>Erreur la valeur doit être un nombre entier POSITIF supérieur à zéro.<br>Cependant,la valeur a été modifiée.<br>evalNumeroPage=0.</h2>");
|
||||||
|
}else {
|
||||||
|
nod.getAttributs().put("evalNumeroPage", String.valueOf(point));
|
||||||
|
}
|
||||||
|
} catch (Exception e2) {
|
||||||
|
fenetres.create.getTextNodeSelect().setText(baliseStyle.balise());
|
||||||
|
fenetres.create.getTextNodeSelect().setText("<h2>Erreur la valeur doit être un nombre entier.<br>L'attribut n'a pas été modifiée.</h2>");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
fenetres.create.getTextNodeSelect().refreshAffichage(nod);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@ -1,14 +1,9 @@
|
|||||||
package fenetres;
|
package fenetres;
|
||||||
|
|
||||||
import java.awt.event.ContainerListener;
|
|
||||||
import java.awt.event.HierarchyEvent;
|
|
||||||
import java.awt.event.HierarchyListener;
|
|
||||||
import java.beans.PropertyChangeListener;
|
|
||||||
|
|
||||||
import javax.swing.ImageIcon;
|
import javax.swing.ImageIcon;
|
||||||
import javax.swing.JButton;
|
import javax.swing.JButton;
|
||||||
import javax.swing.JToolBar;
|
import javax.swing.JToolBar;
|
||||||
import javax.swing.event.AncestorListener;
|
|
||||||
|
|
||||||
public class toolBarRecherche extends JToolBar{
|
public class toolBarRecherche extends JToolBar{
|
||||||
|
|
||||||
@ -19,6 +14,7 @@ public class toolBarRecherche extends JToolBar{
|
|||||||
private JButton btnRechercheIndex;
|
private JButton btnRechercheIndex;
|
||||||
private JButton btnRechercheContenuExact;
|
private JButton btnRechercheContenuExact;
|
||||||
private JButton btnRechercheVoisin;
|
private JButton btnRechercheVoisin;
|
||||||
|
private JButton btnAllContent;
|
||||||
|
|
||||||
public toolBarRecherche() {
|
public toolBarRecherche() {
|
||||||
setRollover(true);
|
setRollover(true);
|
||||||
@ -38,6 +34,14 @@ public class toolBarRecherche extends JToolBar{
|
|||||||
btnRechercheVoisin.setEnabled(false);
|
btnRechercheVoisin.setEnabled(false);
|
||||||
btnRechercheVoisin.setIcon(new ImageIcon(create.class.getResource("/resources/recherchecontenuplusprochevoisin.png")));
|
btnRechercheVoisin.setIcon(new ImageIcon(create.class.getResource("/resources/recherchecontenuplusprochevoisin.png")));
|
||||||
add(btnRechercheVoisin);
|
add(btnRechercheVoisin);
|
||||||
|
|
||||||
|
addSeparator();
|
||||||
|
btnAllContent = new JButton("");
|
||||||
|
btnAllContent.setEnabled(false);
|
||||||
|
btnAllContent.setIcon(new ImageIcon(create.class.getResource("/resources/allcontent.png")));
|
||||||
|
add(btnAllContent);
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -6,6 +6,12 @@ public class listeAttributsAnalyseWriter {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* retourne true si c'est un attribut utilisé par analyseWriter.<br>
|
||||||
|
* @param attribut
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
public static boolean isAttributAnalyseWriter(String attribut) {
|
public static boolean isAttributAnalyseWriter(String attribut) {
|
||||||
|
|
||||||
if(attribut.equals("evaluer")) return true;
|
if(attribut.equals("evaluer")) return true;
|
||||||
@ -34,6 +40,8 @@ public class listeAttributsAnalyseWriter {
|
|||||||
if(attribut.equals("evalPiedPagePasActive")) return true;
|
if(attribut.equals("evalPiedPagePasActive")) return true;
|
||||||
if(attribut.equals("evalNameSequence")) return true;
|
if(attribut.equals("evalNameSequence")) return true;
|
||||||
if(attribut.equals("evalNamePage")) return true;
|
if(attribut.equals("evalNamePage")) return true;
|
||||||
|
if(attribut.equals("evalNumeroAbsoluePage")) return true;
|
||||||
|
if(attribut.equals("evalNumeroPage")) return true;
|
||||||
|
|
||||||
//Les attribut placer dans le node fichier du fichier d'analyse
|
//Les attribut placer dans le node fichier du fichier d'analyse
|
||||||
if(attribut.equals("analysis_filename")) return true;
|
if(attribut.equals("analysis_filename")) return true;
|
||||||
|
BIN
src/resources/evalnumeroabsoluepage.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
src/resources/evalnumeroabsoluepagemini.png
Normal file
After Width: | Height: | Size: 948 B |
BIN
src/resources/evalnumeropage.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
src/resources/evalnumeropagemini.png
Normal file
After Width: | Height: | Size: 761 B |