V4.2.1 copier et coller des nodes - opérationnel

This commit is contained in:
pablo rodriguez 2022-06-22 16:15:17 +02:00
parent 3b3770a563
commit 50450b916d
25 changed files with 1435 additions and 91 deletions

Binary file not shown.

Binary file not shown.

9
bin/.gitignore vendored
View File

@ -1,12 +1,3 @@
/fenetres/ /fenetres/
/list/ /list/
/evaluer/
/resources/
/MEPTL/ /MEPTL/
/evalnumeroabsoluepage.png
/evalnumeroabsoluepage.svg
/evalnumeroabsoluepagemini.png
/evalnumeropage.png
/evalnumeropage.svg
/evalnumeropagemini.png
/evalwriter32.png

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

View 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

Binary file not shown.

After

Width:  |  Height:  |  Size: 948 B

BIN
bin/evalnumeropage.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

320
bin/evalnumeropage.svg Normal file
View 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
bin/evalnumeropagemini.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 761 B

BIN
bin/evalwriter32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 948 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 761 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

View File

@ -0,0 +1,540 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
inkscape:export-ydpi="128"
inkscape:export-xdpi="128"
inkscape:export-filename="C:\Users\pabr6\git\analyseWriter\MEPTL\icons\accueilanalysecalc.png"
sodipodi:docname="accueilanalyseCalcl.svg"
inkscape:version="1.1.2 (b8e25be833, 2022-02-05)"
id="svg8"
version="1.1"
viewBox="0 0 67.230724 17.388617"
height="65.720757"
width="254.10037"
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,-873.96742,-7808.7674)"
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">
<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" />
<linearGradient
id="h"
gradientTransform="matrix(4.4999,0,0,3.66665,-942.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,1540.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,-1392.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,-281.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,-1392.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,1499.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-1"
gradientTransform="matrix(7.99974,0,0,7.9977797,-873.96742,-7808.7674)"
gradientUnits="userSpaceOnUse"
x1="122.75008"
x2="111.74973"
xlink:href="#a-1"
y1="991.62115"
y2="977.11713" />
<linearGradient
id="a-1">
<stop
offset="0"
stop-color="#18a303"
id="stop2-6" />
<stop
offset="1"
stop-color="#43c330"
id="stop4-4" />
</linearGradient>
<linearGradient
id="b-8"
gradientUnits="userSpaceOnUse"
x1="546"
x2="458"
xlink:href="#a-1"
y1="121.99995"
y2="5.9999499" />
<linearGradient
id="c-0"
gradientUnits="userSpaceOnUse"
x1="508.06174"
x2="508.06174"
y1="109.9985"
y2="83.998497">
<stop
offset="0"
stop-color="#727272"
id="stop8" />
<stop
offset="1"
stop-color="#9a9a9a"
id="stop10" />
</linearGradient>
<linearGradient
id="d-8"
gradientTransform="matrix(0.948718,0,0,1.3,-288.38576,1491.7273)"
gradientUnits="userSpaceOnUse"
x1="829.36053"
x2="829.36053"
y1="-1064.7994"
y2="-1082.3413">
<stop
offset="0"
stop-color="#e4e4e4"
id="stop13" />
<stop
offset="1"
stop-color="#f9f9f9"
id="stop15" />
</linearGradient>
<linearGradient
id="e-7"
gradientTransform="matrix(0.714286,0,0,-1.55555,125.07024,-1571.1037)"
gradientUnits="userSpaceOnUse"
x1="525.63947"
x2="525.63947"
y1="-1078.6444"
y2="-1068.7872">
<stop
offset="0"
stop-color="#63bbee"
id="stop18" />
<stop
offset="1"
stop-color="#aadcf7"
id="stop20" />
</linearGradient>
<linearGradient
id="f-2"
gradientUnits="userSpaceOnUse"
x1="512.65552"
x2="512.65552"
y1="95.0298"
y2="85.998596">
<stop
offset="0"
stop-color="#a33e03"
id="stop23" />
<stop
offset="1"
stop-color="#c15414"
id="stop25" />
</linearGradient>
<linearGradient
id="g-8"
gradientTransform="matrix(0.714286,0,0,-2.11111,133.07024,-2170.0637)"
gradientUnits="userSpaceOnUse"
x1="525.63947"
x2="525.63947"
y1="-1078.6444"
y2="-1068.7872">
<stop
offset="0"
stop-color="#f09e6f"
id="stop28" />
<stop
offset="1"
stop-color="#f9cfb5"
id="stop30" />
</linearGradient>
<linearGradient
id="h-0"
gradientTransform="matrix(0.714286,0,0,-0.888884,141.07024,-852.34365)"
gradientUnits="userSpaceOnUse"
x1="525.63947"
x2="525.63947"
y1="-1078.6444"
y2="-1068.7872">
<stop
offset="0"
stop-color="#f5ce53"
id="stop33" />
<stop
offset="1"
stop-color="#fde9a9"
id="stop35-8" />
</linearGradient>
<linearGradient
id="i-0"
gradientTransform="matrix(0.714286,0,0,-1.33333,149.07024,-1331.5137)"
gradientUnits="userSpaceOnUse"
x1="525.63947"
x2="525.63947"
y1="-1078.6444"
y2="-1068.7872">
<stop
offset="0"
stop-color="#8ee780"
id="stop38" />
<stop
offset="1"
stop-color="#ccf4c6"
id="stop40" />
</linearGradient>
</defs>
<sodipodi:namedview
inkscape:window-maximized="1"
inkscape:window-y="-8"
inkscape:window-x="-8"
inkscape:window-height="1009"
inkscape:window-width="1920"
lock-margins="true"
units="px"
fit-margin-bottom="2"
fit-margin-right="2"
fit-margin-left="2"
fit-margin-top="2"
inkscape:guide-bbox="true"
showguides="true"
inkscape:snap-global="false"
showgrid="false"
inkscape:document-rotation="0"
inkscape:current-layer="layer1"
inkscape:document-units="mm"
inkscape:cy="36.86866"
inkscape:cx="88.149615"
inkscape:zoom="2.9835638"
inkscape:pageshadow="2"
inkscape:pageopacity="0.0"
borderopacity="1.0"
bordercolor="#666666"
pagecolor="#ffffff"
id="base"
inkscape:pagecheckerboard="0"
inkscape:snap-midpoints="true"
inkscape:snap-intersection-paths="true"
inkscape:snap-smooth-nodes="true"
inkscape:object-paths="true"
inkscape:snap-page="true">
<sodipodi:guide
id="guide1680"
orientation="0,-1"
position="36.945035,2.9637157" />
<sodipodi:guide
position="-0.1773606,32.641629"
orientation="-0.71102562,0.7031661"
id="guide2372" />
</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
transform="translate(-31.383969,-46.222139)"
id="layer1"
inkscape:groupmode="layer"
inkscape:label="Calque 1">
<rect
style="fill:none;stroke:none;stroke-width:0.148;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke;stop-color:#000000"
id="rect4845"
width="66.024391"
height="16.182283"
x="31.987135"
y="46.825306" />
<text
xml:space="preserve"
style="font-size:9.39836px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;stroke-width:0.220273"
x="46.949982"
y="58.574177"
id="text835"
transform="scale(1.0129328,0.9872323)"><tspan
sodipodi:role="line"
id="tspan833"
x="46.949982"
y="58.574177"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:9.39836px;font-family:Pacifico;-inkscape-font-specification:Pacifico;stroke-width:0.220273">analyseCalc</tspan></text>
<g
id="g964"
transform="matrix(0.09985784,0,0,0.09985784,33.336642,47.886163)">
<path
d="m 17.253295,0 c -0.25037,0 -0.50072,0.011156 -0.75,0.035156 -3.66708,0.6998 -4.56576,2.2662469 -4.5,5.9980468 V 122.00195 c 4e-4,4.1875 1.81149,5.99765 6,5.99805 h 91.998055 c 4.1885,-4e-4 5.99764,-1.81055 5.99804,-5.99805 V 50.183594 c 0.048,-2.1119 -0.78004,-4.230247 -2.25,-5.748047 L 71.589245,2.2851562 c -1.51819,-1.4691999 -3.63759,-2.2988999 -5.75,-2.25 H 18.003295 C 17.754105,0.0111562 17.503675,0 17.253295,0 Z m 70.00978,0.013672 c -0.20997,0 -0.41948,0.016828 -0.62695,0.048828 -2.66247,0.8528 -3.55843,4.904547 -1.50586,6.810547 L 109.22596,31.09375 c 2.22593,2.1217 6.6581,0.306209 6.77538,-2.775391 V 4.097656 C 116.0011,1.9839562 114.08836,0.0628 111.98573,0.0625 H 87.891975 c -0.20758,-0.032 -0.41894,-0.048828 -0.6289,-0.048828 z"
fill="url(#k)"
id="path49"
style="fill:url(#k-1)" />
<path
d="M 18.001355,6 V 122 H 110.00137 V 50 L 66.001375,6 Z"
fill="url(#j)"
id="path51"
style="fill:url(#j)" />
<g
transform="translate(-437.99866,2)"
id="g105">
<path
d="m 469,53.998 v 2 8 2 8 2 8 2 8 2 8 2 h 60 v -2 -50 h -58 z"
fill="url(#b)"
id="path53"
style="fill:url(#b-8)" />
<g
fill="#92e285"
id="g61">
<path
d="m 470.99924,55.99855 h 17 v 8 h -17 z"
id="path55" />
<path
d="m 489.99748,55.99855 h 17.99994 v 8 h -17.99994 z"
id="path57" />
<path
d="m 509.99924,55.99855 h 17 v 8 h -17 z"
id="path59" />
</g>
<g
fill="#ccf4c6"
id="g81">
<path
d="m 470.99924,65.99855 h 17 v 8 h -17 z"
id="path63" />
<path
d="m 509.99924,65.99855 h 17 v 8 h -17 z"
id="path65" />
<path
d="m 489.99748,75.99855 h 17.99994 v 8 h -17.99994 z"
id="path67" />
<path
d="m 509.99924,75.99855 h 17 v 8 h -17 z"
id="path69" />
<path
d="m 470.99924,75.99855 h 17 v 8 h -17 z"
id="path71" />
<path
d="m 489.99748,85.99855 h 17.99994 v 8 h -17.99994 z"
id="path73" />
<path
d="m 470.99924,85.99855 h 17 v 8 h -17 z"
id="path75" />
<path
d="m 489.99748,95.99855 h 17.99994 v 8 h -17.99994 z"
id="path77" />
<path
d="m 470.99924,95.99855 h 17 v 8 h -17 z"
id="path79" />
</g>
<path
d="m 493.99924,81.99855 h 39 v 28 h -39 z"
fill="url(#c)"
id="path83"
style="fill:url(#c-0)" />
<path
d="m 495.99924,83.99855 h 35 v 24 h -35 z"
fill="url(#d)"
id="path85"
style="fill:url(#d-8)" />
<path
d="m 497.99924,90.99855 h 7 v 15.9999 h -7 z"
fill="#18a303"
id="path87" />
<path
d="m 498.99924,105.99855 h 5 v -14 h -5 z"
fill="url(#e)"
id="path89"
style="fill:url(#e-7)" />
<path
d="m 505.99924,85.99855 h 7 v 20.9999 h -7 z"
fill="url(#f)"
id="path91"
style="fill:url(#f-2)" />
<path
d="m 506.99924,105.99855 h 5 v -19 h -5 z"
fill="url(#g)"
id="path93"
style="fill:url(#g-8)" />
<path
d="m 513.99924,96.99855 h 7 v 9.9999 h -7 z"
fill="#c99c00"
id="path95" />
<path
d="m 514.99924,105.99855 h 5 v -8 h -5 z"
fill="url(#h)"
id="path97"
style="fill:url(#h-0)" />
<path
d="m 521.99924,92.99855 h 7 v 14 h -7 z"
fill="#43c330"
id="path99" />
<path
d="m 522.99924,105.99855 h 5 v -12 h -5 z"
fill="url(#i)"
id="path101"
style="fill:url(#i-0)" />
<path
d="m 489.99748,65.99855 h 17.99994 v 8 h -17.99994 z"
fill="#ccf4c6"
id="path103" />
</g>
</g>
<g
id="g3176"
transform="translate(-28.909778,18.622862)">
<path
style="fill:#ffaaaa;stroke:#ffaaaa;stroke-width:0.257397px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 64.782774,30.389036 -0.734025,-0.804561 c -0.261592,-0.0028 -0.488807,-0.05918 -0.892393,0.159352 -0.447603,0.343499 -0.662658,0.633003 -0.85336,0.916853 -0.171891,0.333921 -0.135917,0.570072 -0.09736,0.805004 l 0.779691,0.740884 z"
id="path1605"
sodipodi:nodetypes="ccccccc" />
<path
id="path903"
d="m 65.185528,30.771366 0.962387,-0.638019 c 0.838489,1.245007 0.419423,1.619401 2.562142,3.767338"
style="fill:none;stroke:#686868;stroke-width:0.480582;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
sodipodi:nodetypes="ccc" />
<g
id="g901"
style="stroke-width:1.20245;stroke-miterlimit:4;stroke-dasharray:none"
transform="matrix(0.10789957,-0.05670569,0.05420981,0.11191121,44.387897,27.140948)">
<path
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1.20245;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 165.60421,210.25518 -16.67346,-14.97786 19.49947,-6.49982 z"
id="path886" />
<path
style="fill:#ffcc00;stroke:#000000;stroke-width:1.20245;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 148.93075,195.27732 -29.6731,-89.58453 19.78207,-6.217222 29.3905,89.301932 z"
id="path888"
sodipodi:nodetypes="ccccc" />
<path
style="fill:#cccccc;stroke:#000000;stroke-width:1.20245;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 119.25765,105.69279 19.78206,-6.217223 5.18467,15.184943 -20.19347,6.3466 z"
id="path896"
sodipodi:nodetypes="ccccc" />
<path
style="fill:#000000;stroke:none;stroke-width:1.20245;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 165.60421,210.25518 1.82913,-13.90142 c -1.86721,0.41019 -1.24071,5.14178 -2.26609,5.73964 -0.90416,0.52717 -2.9307,-2.35026 -4.06786,-2.12548 -1.70014,0.33605 2.39156,6.64425 -1.96215,4.47795 z"
id="path1247"
sodipodi:nodetypes="ccsscc" />
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

View File

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

View File

@ -9,8 +9,6 @@ import java.awt.event.KeyEvent;
import java.awt.event.MouseAdapter; import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent; import java.awt.event.MouseEvent;
import java.util.Enumeration; import java.util.Enumeration;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import javax.swing.AbstractAction; import javax.swing.AbstractAction;
import javax.swing.Action; import javax.swing.Action;
import javax.swing.ImageIcon; import javax.swing.ImageIcon;
@ -46,6 +44,7 @@ import fenetres.create_act.actAttribut;
import fenetres.create_act.actCoefficient; import fenetres.create_act.actCoefficient;
import fenetres.create_act.actCollapseAll; import fenetres.create_act.actCollapseAll;
import fenetres.create_act.actCollapseNode; import fenetres.create_act.actCollapseNode;
import fenetres.create_act.actCopy;
import fenetres.create_act.actDeleteNode; import fenetres.create_act.actDeleteNode;
import fenetres.create_act.actDocumentation; import fenetres.create_act.actDocumentation;
import fenetres.create_act.actDownNode; import fenetres.create_act.actDownNode;
@ -77,6 +76,7 @@ import fenetres.create_act.actExpandNode;
import fenetres.create_act.actNewFichierAnalyse; import fenetres.create_act.actNewFichierAnalyse;
import fenetres.create_act.actNodeFichier; import fenetres.create_act.actNodeFichier;
import fenetres.create_act.actOpen; import fenetres.create_act.actOpen;
import fenetres.create_act.actPaste;
import fenetres.create_act.actRechercheAnchorPageNumberFalse; import fenetres.create_act.actRechercheAnchorPageNumberFalse;
import fenetres.create_act.actRechercheAnchorPageNumberTrue; import fenetres.create_act.actRechercheAnchorPageNumberTrue;
import fenetres.create_act.actRechercheContenuPlusProcheVoisinfalse; import fenetres.create_act.actRechercheContenuPlusProcheVoisinfalse;
@ -109,6 +109,8 @@ import java.awt.GridLayout;
public final class create extends JFrame { public final class create extends JFrame {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
@ -284,19 +286,22 @@ public final class create extends JFrame {
if(nod!=null) { if(nod!=null) {
boolean nodeSetting = false; // boolean nodeSetting = false;
boolean nodeFormatageDirectePasDeTitrePasAddMenu = false; // boolean nodeFormatageDirectePasDeTitrePasAddMenu = false;
//
//
node nodStyleParent = nod.retourneParentAyantLAttribut("style:name"); // node nodStyleParent = nod.retourneParentAyantLAttribut("style:name");
if(nodStyleParent!=null) { // if(!nod.getNomElt().equals("page")) {
String nomDuStle = nodStyleParent.getAttributs().get("style:name"); // if(nodStyleParent!=null) {
Pattern p = Pattern.compile("^P[0-9]{1,}$|^T[0-9]{1,}$"); // String nomDuStle = nodStyleParent.getAttributs().get("style:name");
Matcher m = p.matcher(nomDuStle); // Pattern p = Pattern.compile("^P[0-9]{1,}$|^T[0-9]{1,}$");
if(m.find()) { // Matcher m = p.matcher(nomDuStle);
nodeFormatageDirectePasDeTitrePasAddMenu = true; // if(m.find()) {
} // nodeFormatageDirectePasDeTitrePasAddMenu = true;
} // }
// }
// }
@ -442,12 +447,11 @@ public final class create extends JFrame {
//Menu Représentation dans le feedback //Menu Représentation dans le feedback
JMenu mnPourFeedback = new JMenu("Pour représentation feedback"); JMenu mnPourFeedback = new JMenu("Pour représentation feedback");
mnPourFeedback.add(mnSaut); mnPourFeedback.add(mnSaut);
if(!nodeFormatageDirectePasDeTitrePasAddMenu) { mnPourFeedback.addSeparator();
mnPourFeedback.addSeparator(); mnPourFeedback.add(mnTitre);
mnPourFeedback.add(mnTitre); mnPourFeedback.addSeparator();
mnPourFeedback.addSeparator(); mnPourFeedback.add(mnAddMenuNiveauSup1);
mnPourFeedback.add(mnAddMenuNiveauSup1);
}
//*************************** //***************************
@ -469,9 +473,7 @@ public final class create extends JFrame {
//** La popupMenu qui s'affiche sur le tree *** //** La popupMenu qui s'affiche sur le tree ***
//********************************************* //*********************************************
JPopupMenu mnPopupTree = new JPopupMenu(); JPopupMenu mnPopupTree = new JPopupMenu();
if(!nodeSetting) { mnPopupTree.add(mnEvaluer);
mnPopupTree.add(mnEvaluer);
}
if(nod.getLevel()==1 ) { if(nod.getLevel()==1 ) {
mnPopupTree.addSeparator(); mnPopupTree.addSeparator();
mnPopupTree.add(mnNiveau1); mnPopupTree.add(mnNiveau1);
@ -577,15 +579,12 @@ public final class create extends JFrame {
mnuEdit.add( actUndo ); mnuEdit.add( actUndo );
mnuEdit.add( actRedo ); mnuEdit.add( actRedo );
mnuEdit.addSeparator(); mnuEdit.addSeparator();
mnuEdit.add( actCopy ); mnuEdit.add( new actCopy() );
mnuEdit.add( actCut ); mnuEdit.add( actCut );
mnuEdit.add( actPaste ); mnuEdit.add( new actPaste() );
menuBar.add(mnuEdit); menuBar.add(mnuEdit);
JMenu mnAffiche = new JMenu("Affichage");
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);
@ -789,28 +788,6 @@ public final class create extends JFrame {
} }
}; };
/**
*
*/
private AbstractAction actCopy = new AbstractAction() {
private static final long serialVersionUID = 1L;
{
putValue( Action.NAME, "Copier" );
putValue( Action.SMALL_ICON, new ImageIcon( getClass().getResource("/copy.png") ) );
putValue( Action.MNEMONIC_KEY, KeyEvent.VK_C );
putValue( Action.SHORT_DESCRIPTION, "Copier (CTRL+C)" );
putValue( Action.ACCELERATOR_KEY, KeyStroke.getKeyStroke(KeyEvent.VK_C, KeyEvent.CTRL_DOWN_MASK ) );
}
@Override public void actionPerformed( ActionEvent e ) {
System.out.println( "Copy" );
}
};
/** /**
@ -832,26 +809,6 @@ public final class create extends JFrame {
System.out.println( "Cut" ); System.out.println( "Cut" );
} }
}; };
/**
*
*/
private AbstractAction actPaste = new AbstractAction() {
private static final long serialVersionUID = 1L;
{
putValue( Action.NAME, "Coller" );
putValue( Action.SMALL_ICON, new ImageIcon( getClass().getResource("/paste.png") ) );
putValue( Action.MNEMONIC_KEY, KeyEvent.VK_P );
putValue( Action.SHORT_DESCRIPTION, "Coller (CTRL+V)" );
putValue( Action.ACCELERATOR_KEY, KeyStroke.getKeyStroke(KeyEvent.VK_V, KeyEvent.CTRL_DOWN_MASK ) );
}
@Override public void actionPerformed( ActionEvent e ) {
System.out.println( "Paste" );
}
};
public void closeWindows() { public void closeWindows() {
if(JOptionPane.showConfirmDialog(null,"Voulez-vous quitter analyseWriter?", "Quitter", JOptionPane.YES_NO_OPTION,JOptionPane.QUESTION_MESSAGE)==JOptionPane.YES_OPTION) { if(JOptionPane.showConfirmDialog(null,"Voulez-vous quitter analyseWriter?", "Quitter", JOptionPane.YES_NO_OPTION,JOptionPane.QUESTION_MESSAGE)==JOptionPane.YES_OPTION) {
@ -1019,6 +976,10 @@ public final class create extends JFrame {
} }
// void saySomething(String eventDescription, TreeExpansionEvent e) { // void saySomething(String eventDescription, TreeExpansionEvent e) {
// System.out.println(eventDescription + "; " + "path = " + e.getPath()); // System.out.println(eventDescription + "; " + "path = " + e.getPath());
// } // }

View File

@ -0,0 +1,45 @@
package fenetres.create_act;
import java.awt.Toolkit;
import java.awt.datatransfer.Clipboard;
import java.awt.datatransfer.StringSelection;
import java.awt.event.ActionEvent;
import java.awt.event.KeyEvent;
import javax.swing.AbstractAction;
import javax.swing.Action;
import javax.swing.ImageIcon;
import javax.swing.KeyStroke;
import cXML.Run;
import cXML.node;
import fenetres.baliseStyle;
public class actCopy extends AbstractAction{
/**
*
*/
private static final long serialVersionUID = 1L;
{
putValue( Action.NAME, "Copier" );
putValue( Action.SMALL_ICON, new ImageIcon( getClass().getResource("/copy.png") ) );
putValue( Action.SHORT_DESCRIPTION, "Copier (CTRL+C)" );
putValue( Action.ACCELERATOR_KEY, KeyStroke.getKeyStroke(KeyEvent.VK_C, KeyEvent.CTRL_DOWN_MASK ) );
}
@Override
public void actionPerformed(ActionEvent e) {
node nod = (node) fenetres.create.getSelectNode().getUserObject();
Clipboard cb = Toolkit.getDefaultToolkit().getSystemClipboard();
StringSelection texto = new StringSelection(Run.ecritureNode(nod, 0).toString());
cb.setContents(texto, texto);
fenetres.create.getTextNodeSelect().setText(baliseStyle.balise()+"<hr><h2>Le node est copié dans le presse papier.</h2><hr>");
}
}

View File

@ -0,0 +1,60 @@
package fenetres.create_act;
import java.awt.Toolkit;
import java.awt.datatransfer.Clipboard;
import java.awt.datatransfer.DataFlavor;
import java.awt.datatransfer.UnsupportedFlavorException;
import java.awt.event.ActionEvent;
import java.awt.event.InputEvent;
import java.awt.event.KeyEvent;
import java.io.IOException;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.AbstractAction;
import javax.swing.Action;
import javax.swing.ImageIcon;
import javax.swing.KeyStroke;
import cXML.Run;
import cXML.node;
public class actPaste extends AbstractAction{
/**
*
*/
private static final long serialVersionUID = 1L;
{
putValue( Action.NAME, "Coller" );
putValue( Action.SMALL_ICON, new ImageIcon( getClass().getResource("/paste.png") ) );
putValue( Action.MNEMONIC_KEY, KeyEvent.VK_V );
putValue( Action.SHORT_DESCRIPTION, "Coller (CTRL+V)" );
putValue( Action.ACCELERATOR_KEY, KeyStroke.getKeyStroke(KeyEvent.VK_V, InputEvent.CTRL_DOWN_MASK) );
}
@Override
public void actionPerformed(ActionEvent e) {
String initial = "";
try {
Clipboard c = Toolkit.getDefaultToolkit().getSystemClipboard();
String paste = c.getContents(null).getTransferData(DataFlavor.stringFlavor).toString();
if (!paste.equals(initial)) {
node nodCopy = Run.XMLContent(paste);
node nod = (node) fenetres.create.getSelectNode().getUserObject();
nod.getNodes().add(nodCopy);
fenetres.create.constructionTree();
initial = paste;
}
} catch (UnsupportedFlavorException | IOException ex) {
Logger.getLogger(actPaste.class.getName()).log(Level.SEVERE, null, ex);
}
try {
Thread.sleep(40);
} catch (InterruptedException ex) {
}
}
}

View File

@ -472,18 +472,8 @@ public class evaluate extends JFrame {
@Override @Override
public void actionPerformed(ActionEvent e) { public void actionPerformed(ActionEvent e) {
// JOptionPane.showMessageDialog(null, "chckbxnoFeedback.isSelected()=" + String.valueOf(chckbxnoFeedback.isSelected()));
Thread t2 = new Thread(new evaluerLesFichiersEtudiants(txtpnmessages)); Thread t2 = new Thread(new evaluerLesFichiersEtudiants(txtpnmessages));
t2.start(); t2.start();
// evaluerLesFichiersEtudiants A = new evaluerLesFichiersEtudiants(txtpnmessages);
// A.run();
// Thread t2 = new Thread(new evaluerLesFichiersEtudiants(chckbxfichiersEtudaints.isSelected(), chckbxZipfeedback.isSelected(),chckbxnoFeedback.isSelected(),
// chckbxNoNote.isSelected(), chckCSVNotes.isSelected(), chckbxNewLogo.isSelected(), chckbxNoLogo.isSelected(), chckbxVerif.isSelected(), txtpnmessages));
// t2.start();
} }
}; };

View File

@ -14,6 +14,7 @@ public class listeEvalNameNode {
if(nod.getNomElt().contains("meta:")) return true; if(nod.getNomElt().contains("meta:")) return true;
if(nod.getNomElt().contains("dc:")) return true; if(nod.getNomElt().contains("dc:")) return true;
if(nod.getNomElt().contains("text:")) return true; if(nod.getNomElt().contains("text:")) return true;
if(nod.getNomElt().contains("draw:")) return true;
return false; return false;
} }