fix pages copute

This commit is contained in:
2024-09-01 20:59:38 +02:00
parent 71f62f910a
commit 4099fd4b91
3 changed files with 18 additions and 18 deletions

1
.~lock.example.xlsx# Normal file
View File

@@ -0,0 +1 @@
,andrea,elena-thinkpad,01.09.2024 14:58,file:///home/andrea/.config/libreoffice/4;

View File

@@ -23,9 +23,9 @@
inkscape:pagecheckerboard="0" inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1" inkscape:deskcolor="#d1d1d1"
inkscape:document-units="mm" inkscape:document-units="mm"
inkscape:zoom="1.3001718" inkscape:zoom="0.45968013"
inkscape:cx="481.47485" inkscape:cx="1070.3095"
inkscape:cy="343.0316" inkscape:cy="417.68174"
inkscape:window-width="1366" inkscape:window-width="1366"
inkscape:window-height="709" inkscape:window-height="709"
inkscape:window-x="0" inkscape:window-x="0"
@@ -318,63 +318,62 @@
id="tspan30">{{affiliazione}}</tspan></text> id="tspan30">{{affiliazione}}</tspan></text>
</g> </g>
<g <g
id="g7" id="g11">
transform="translate(0,48.101781)">
<rect <rect
style="fill:#003280;fill-opacity:0.99215686;stroke-width:0.79375" style="fill:#003280;fill-opacity:0.992157;stroke-width:0.79375"
id="rect3" id="rect3"
width="77.67379" width="77.67379"
height="48.101791" height="48.101791"
x="16.001205" x="16.001205"
y="64.031319" /> y="112.1331" />
<rect <rect
style="fill:#f9f9f9;fill-opacity:0.99;stroke-width:0.479651" style="fill:#f9f9f9;fill-opacity:0.99;stroke-width:0.479651"
id="rect4" id="rect4"
width="63.0187" width="63.0187"
height="39.026112" height="39.026112"
x="16.001205" x="16.001205"
y="73.106995" y="121.20878"
ry="0" /> ry="0" />
<text <text
xml:space="preserve" xml:space="preserve"
style="font-size:5.19872px;line-height:normal;font-family:Helvetica;-inkscape-font-specification:Helvetica;text-align:center;text-decoration-color:#000000;text-anchor:middle;fill:#1a1a1a;fill-opacity:0.99;stroke-width:0.899777" style="font-size:5.19872px;line-height:normal;font-family:Helvetica;-inkscape-font-specification:Helvetica;text-align:center;text-decoration-color:#000000;text-anchor:middle;fill:#1a1a1a;fill-opacity:0.99;stroke-width:0.899777"
x="48.434498" x="48.434498"
y="85.615204" y="133.71698"
id="text5"><tspan id="text5"><tspan
sodipodi:role="line" sodipodi:role="line"
style="font-size:7.19821px;fill:#1a1a1a;stroke-width:0.899777" style="font-size:7.19821px;fill:#1a1a1a;stroke-width:0.899777"
x="48.434498" x="48.434498"
y="85.615204" y="133.71698"
id="tspan4">{{nome}}</tspan><tspan id="tspan4">{{nome}}</tspan><tspan
sodipodi:role="line" sodipodi:role="line"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:5.19872px;font-family:'Droid Sans';-inkscape-font-specification:'Droid Sans Bold';fill:#1a1a1a;stroke-width:0.899777" style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:5.19872px;font-family:'Droid Sans';-inkscape-font-specification:'Droid Sans Bold';fill:#1a1a1a;stroke-width:0.899777"
x="48.434498" x="48.434498"
y="93.072014" y="141.1738"
id="tspan5">{{cognome}}</tspan></text> id="tspan5">{{cognome}}</tspan></text>
<text <text
xml:space="preserve" xml:space="preserve"
style="font-size:7.4238px;line-height:normal;font-family:Helvetica;-inkscape-font-specification:Helvetica;text-align:center;text-decoration-color:#000000;text-anchor:middle;fill:#ffffff;fill-opacity:0.99;stroke-width:0.759254" style="font-size:7.4238px;line-height:normal;font-family:Helvetica;-inkscape-font-specification:Helvetica;text-align:center;text-decoration-color:#000000;text-anchor:middle;fill:#ffffff;fill-opacity:0.99;stroke-width:0.759254"
x="-88.101959" x="-136.20374"
y="88.750298" y="88.750298"
id="text6" id="text6"
transform="rotate(-90)"><tspan transform="rotate(-90)"><tspan
sodipodi:role="line" sodipodi:role="line"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:7.4238px;font-family:'Droid Sans';-inkscape-font-specification:'Droid Sans Bold';fill:#ffffff;stroke-width:0.759254" style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:7.4238px;font-family:'Droid Sans';-inkscape-font-specification:'Droid Sans Bold';fill:#ffffff;stroke-width:0.759254"
x="-88.101959" x="-136.20374"
y="88.750298" y="88.750298"
id="tspan6">{{ruolo}}</tspan></text> id="tspan6">{{ruolo}}</tspan></text>
<path <path
id="path6" id="path6"
style="fill:#e6e6e6;filter:url(#filter414)" style="fill:#e6e6e6;filter:url(#filter414)"
d="m 100.53906,50.353516 c -1.111684,0.134501 -1.683061,1.246294 -2.472178,1.913403 -0.982007,1.072679 -2.114732,2.022467 -2.982898,3.190112 -0.498647,0.684812 -0.08422,1.670251 0.729634,1.84217 0.423512,0.178196 1.041103,0.119572 0.418804,0.548455 -0.407836,0.764147 0.599986,1.165055 1.178152,1.325992 0.03629,0.139322 -0.611848,0.518583 -0.391043,0.922055 0.09111,0.610063 0.8575,0.927441 1.390625,0.65625 0.274787,0.386465 0.847553,0.277835 1.16211,0.533203 0.205046,0.996978 1.441944,0.915528 2.171874,0.59375 0.5556,-0.178658 1.3848,-0.644629 0.99024,-1.333984 -0.18654,-0.246169 0.56389,-0.242038 0.75,-0.353516 0.24451,0.118859 0.54075,0.655884 0.99837,0.521984 0.48071,0.04677 0.9052,-0.42568 0.81803,-0.848156 0.60402,0.07023 1.47945,-0.474745 1.01563,-1.128906 -0.44281,-0.725971 -1.57628,-0.808549 -2.12305,-0.207031 -0.72293,-0.361206 0.42123,-0.380257 0.66907,-0.571727 0.88063,-0.275896 2.10837,-0.851657 1.86999,-1.977101 -0.44823,-1.052442 -1.49937,-1.68815 -2.20801,-2.556445 -0.98911,-0.953669 -1.86761,-2.045782 -2.95996,-2.879102 -0.31258,-0.166294 -0.67437,-0.224838 -1.02539,-0.191406 z" d="m 100.53906,50.353516 c -1.111684,0.134501 -1.683061,1.246294 -2.472178,1.913403 -0.982007,1.072679 -2.114732,2.022467 -2.982898,3.190112 -0.498647,0.684812 -0.08422,1.670251 0.729634,1.84217 0.423512,0.178196 1.041103,0.119572 0.418804,0.548455 -0.407836,0.764147 0.599986,1.165055 1.178152,1.325992 0.03629,0.139322 -0.611848,0.518583 -0.391043,0.922055 0.09111,0.610063 0.8575,0.927441 1.390625,0.65625 0.274787,0.386465 0.847553,0.277835 1.16211,0.533203 0.205046,0.996978 1.441944,0.915528 2.171874,0.59375 0.5556,-0.178658 1.3848,-0.644629 0.99024,-1.333984 -0.18654,-0.246169 0.56389,-0.242038 0.75,-0.353516 0.24451,0.118859 0.54075,0.655884 0.99837,0.521984 0.48071,0.04677 0.9052,-0.42568 0.81803,-0.848156 0.60402,0.07023 1.47945,-0.474745 1.01563,-1.128906 -0.44281,-0.725971 -1.57628,-0.808549 -2.12305,-0.207031 -0.72293,-0.361206 0.42123,-0.380257 0.66907,-0.571727 0.88063,-0.275896 2.10837,-0.851657 1.86999,-1.977101 -0.44823,-1.052442 -1.49937,-1.68815 -2.20801,-2.556445 -0.98911,-0.953669 -1.86761,-2.045782 -2.95996,-2.879102 -0.31258,-0.166294 -0.67437,-0.224838 -1.02539,-0.191406 z"
transform="matrix(1.13358,0,0,1.13358,-90.499861,9.036843)" /> transform="matrix(1.13358,0,0,1.13358,-90.499861,57.138624)" />
<path <path
style="fill:#000000;stroke-width:1.13358" style="fill:#000000;stroke-width:1.13358"
d="m 23.296091,78.793105 c -0.161807,-0.0598 -0.248775,-0.16401 -0.309784,-0.37115 -0.06643,-0.22567 -0.165638,-0.38249 -0.299854,-0.47414 -0.127573,-0.0871 -0.265643,-0.13225 -0.606669,-0.19833 -0.309813,-0.06 -0.524309,-0.15829 -0.593598,-0.27193 -0.09464,-0.15523 -0.04784,-0.26496 0.250947,-0.58826 0.227049,-0.24567 0.279239,-0.32825 0.279239,-0.4418 0,-0.19132 -0.387932,-0.39335 -1.395849,-0.72694 -0.84359,-0.2792 -1.156077,-0.40056 -1.343692,-0.52182 -0.17453,-0.1128 -0.212003,-0.17003 -0.172994,-0.26421 0.0396,-0.0956 0.11194,-0.14182 0.622295,-0.39759 0.465364,-0.23323 0.58153,-0.31936 0.58153,-0.43117 0,-0.0295 -0.01354,-0.0713 -0.03009,-0.0927 -0.04336,-0.0562 -0.545391,-0.21743 -0.992735,-0.31886 -0.995832,-0.22581 -1.368963,-0.38153 -1.544885,-0.64477 -0.138565,-0.20733 -0.130638,-0.4296 0.0269,-0.75417 0.176051,-0.36272 0.111895,-0.29415 3.813687,-4.07648 0.602386,-0.61549 1.149938,-1.1613 1.216785,-1.2129 0.407986,-0.31496 1.006334,-0.38933 1.474695,-0.18329 0.293211,0.12899 0.345753,0.17942 2.798442,2.68618 1.335253,1.36469 2.482843,2.54514 2.550188,2.62322 0.06733,0.0781 0.162737,0.22263 0.211968,0.32122 0.08241,0.16492 0.08955,0.19569 0.08955,0.38506 0,0.18322 -0.0079,0.21998 -0.07153,0.3349 -0.138342,0.24977 -0.450937,0.48671 -0.950279,0.72031 -0.282748,0.13227 -0.501268,0.21224 -1.360792,0.49801 -0.8807,0.29281 -1.219198,0.42876 -1.320982,0.53054 -0.06076,0.0607 -0.0475,0.16804 0.03174,0.25829 0.03877,0.0441 0.214734,0.15979 0.391074,0.25703 0.514565,0.28372 0.645527,0.40083 0.645527,0.57724 0,0.11121 -0.112451,0.33196 -0.227815,0.44735 -0.136347,0.13635 -0.308005,0.21428 -0.662645,0.30083 -0.535423,0.13067 -0.715673,0.20179 -1.010777,0.39883 -0.176521,0.11787 -0.396333,0.33287 -0.419379,0.41022 -0.02188,0.0735 0.0806,0.18553 0.237689,0.25985 0.266277,0.12597 0.334439,0.2359 0.223802,0.36096 -0.142411,0.16098 -0.703079,0.42612 -1.177266,0.55674 -0.292679,0.0806 -0.792655,0.10352 -0.954405,0.0437 z m 0.610965,-3.78863 c 0.112224,-0.0772 0.162737,-0.18102 0.105309,-0.21648 -0.01757,-0.0109 -0.162589,-0.0436 -0.32214,-0.0726 -0.449996,-0.082 -1.589129,-0.32505 -1.855475,-0.39598 -0.29259,-0.0779 -0.332305,-0.082 -0.341828,-0.0354 -0.02345,0.1149 1.087133,0.57762 1.762814,0.73446 0.132357,0.0307 0.309104,0.0566 0.392751,0.0575 0.131608,0.002 0.166432,-0.008 0.258512,-0.0715 z m 0.02029,-4.80043 0.590379,-0.37324 0.371689,0.19373 0.3717,0.19373 0.01372,-0.0672 c 0.0079,-0.0369 0.04704,-0.26719 0.08762,-0.51167 0.04058,-0.24448 0.0781,-0.44869 0.0832,-0.45381 0.0045,-0.005 0.205291,0.14924 0.444827,0.34302 l 0.435544,0.35233 0.03525,-0.0843 c 0.04557,-0.10905 0.04455,-0.21823 -0.0034,-0.35868 -0.03333,-0.098 -0.171544,-0.24681 -1.040874,-1.1213 -1.100149,-1.10668 -1.094946,-1.10249 -1.441356,-1.16114 -0.138229,-0.0234 -0.205404,-0.0233 -0.324895,4.6e-4 -0.312459,0.0621 -0.385553,0.11635 -1.082102,0.8026 -0.842442,0.82998 -1.317119,1.33406 -1.400474,1.48721 -0.128478,0.23605 -0.109118,0.47594 0.0484,0.59985 0.06063,0.0477 0.09245,0.0503 0.623255,0.0503 h 0.559367 l 0.308708,-0.54171 c 0.179899,-0.31567 0.31527,-0.52907 0.32443,-0.51141 0.0091,0.0167 0.09976,0.36873 0.202548,0.78237 0.102702,0.41364 0.190248,0.75207 0.194397,0.75207 0.0045,0 0.273238,-0.16796 0.597951,-0.37324 z m -3.469936,7.20442 c -0.111148,-0.0196 -0.193976,-0.0702 -0.303544,-0.18554 -0.0518,-0.0545 -0.07253,-0.1037 -0.08104,-0.19221 -0.01077,-0.11253 -0.0061,-0.12473 0.08772,-0.2265 0.203636,-0.22091 0.662325,-0.34121 0.977444,-0.25634 0.125356,0.0338 0.276763,0.13767 0.276763,0.18994 0,0.0226 -0.04154,0.10508 -0.09233,0.18324 -0.220451,0.33932 -0.574189,0.53864 -0.865015,0.48742 z m 7.187121,-0.19266 c -0.09828,-0.057 -0.189126,-0.19874 -0.189126,-0.29507 0,-0.0862 0.05124,-0.20231 0.130803,-0.29671 0.07255,-0.086 0.100435,-0.0864 0.294436,-0.004 0.214393,0.0911 0.41778,0.3532 0.382662,0.49309 -0.03662,0.14576 -0.431474,0.21127 -0.618775,0.10267 z m 0.869783,-0.92714 c -0.288552,-0.0298 -0.586751,-0.11695 -0.629929,-0.18398 -0.04908,-0.0763 0.251121,-0.41269 0.443399,-0.49688 0.265688,-0.11633 0.573205,-0.11268 0.822808,0.01 0.132764,0.0651 0.334666,0.25041 0.390574,0.35844 0.0314,0.0606 0.03083,0.0746 -0.0045,0.1286 -0.09749,0.14871 -0.559637,0.23193 -1.022363,0.18406 z" d="m 23.296091,126.89489 c -0.161807,-0.0598 -0.248775,-0.16401 -0.309784,-0.37115 -0.06643,-0.22567 -0.165638,-0.38249 -0.299854,-0.47414 -0.127573,-0.0871 -0.265643,-0.13225 -0.606669,-0.19833 -0.309813,-0.06 -0.524309,-0.15829 -0.593598,-0.27193 -0.09464,-0.15523 -0.04784,-0.26496 0.250947,-0.58826 0.227049,-0.24567 0.279239,-0.32825 0.279239,-0.4418 0,-0.19132 -0.387932,-0.39335 -1.395849,-0.72694 -0.84359,-0.2792 -1.156077,-0.40056 -1.343692,-0.52182 -0.17453,-0.1128 -0.212003,-0.17003 -0.172994,-0.26421 0.0396,-0.0956 0.11194,-0.14182 0.622295,-0.39759 0.465364,-0.23323 0.58153,-0.31936 0.58153,-0.43117 0,-0.0295 -0.01354,-0.0713 -0.03009,-0.0927 -0.04336,-0.0562 -0.545391,-0.21743 -0.992735,-0.31886 -0.995832,-0.22581 -1.368963,-0.38153 -1.544885,-0.64477 -0.138565,-0.20733 -0.130638,-0.4296 0.0269,-0.75417 0.176051,-0.36272 0.111895,-0.29415 3.813687,-4.07648 0.602386,-0.61549 1.149938,-1.1613 1.216785,-1.2129 0.407986,-0.31496 1.006334,-0.38933 1.474695,-0.18329 0.293211,0.12899 0.345753,0.17942 2.798442,2.68618 1.335253,1.36469 2.482843,2.54514 2.550188,2.62322 0.06733,0.0781 0.162737,0.22263 0.211968,0.32122 0.08241,0.16492 0.08955,0.19569 0.08955,0.38506 0,0.18322 -0.0079,0.21998 -0.07153,0.3349 -0.138342,0.24977 -0.450937,0.48671 -0.950279,0.72031 -0.282748,0.13227 -0.501268,0.21224 -1.360792,0.49801 -0.8807,0.29281 -1.219198,0.42876 -1.320982,0.53054 -0.06076,0.0607 -0.0475,0.16804 0.03174,0.25829 0.03877,0.0441 0.214734,0.15979 0.391074,0.25703 0.514565,0.28372 0.645527,0.40083 0.645527,0.57724 0,0.11121 -0.112451,0.33196 -0.227815,0.44735 -0.136347,0.13635 -0.308005,0.21428 -0.662645,0.30083 -0.535423,0.13067 -0.715673,0.20179 -1.010777,0.39883 -0.176521,0.11787 -0.396333,0.33287 -0.419379,0.41022 -0.02188,0.0735 0.0806,0.18553 0.237689,0.25985 0.266277,0.12597 0.334439,0.2359 0.223802,0.36096 -0.142411,0.16098 -0.703079,0.42612 -1.177266,0.55674 -0.292679,0.0806 -0.792655,0.10352 -0.954405,0.0437 z m 0.610965,-3.78863 c 0.112224,-0.0772 0.162737,-0.18102 0.105309,-0.21648 -0.01757,-0.0109 -0.162589,-0.0436 -0.32214,-0.0726 -0.449996,-0.082 -1.589129,-0.32505 -1.855475,-0.39598 -0.29259,-0.0779 -0.332305,-0.082 -0.341828,-0.0354 -0.02345,0.1149 1.087133,0.57762 1.762814,0.73446 0.132357,0.0307 0.309104,0.0566 0.392751,0.0575 0.131608,0.002 0.166432,-0.008 0.258512,-0.0715 z m 0.02029,-4.80043 0.590379,-0.37324 0.371689,0.19373 0.3717,0.19373 0.01372,-0.0672 c 0.0079,-0.0369 0.04704,-0.26719 0.08762,-0.51167 0.04058,-0.24448 0.0781,-0.44869 0.0832,-0.45381 0.0045,-0.005 0.205291,0.14924 0.444827,0.34302 l 0.435544,0.35233 0.03525,-0.0843 c 0.04557,-0.10905 0.04455,-0.21823 -0.0034,-0.35868 -0.03333,-0.098 -0.171544,-0.24681 -1.040874,-1.1213 -1.100149,-1.10668 -1.094946,-1.10249 -1.441356,-1.16114 -0.138229,-0.0234 -0.205404,-0.0233 -0.324895,4.6e-4 -0.312459,0.0621 -0.385553,0.11635 -1.082102,0.8026 -0.842442,0.82998 -1.317119,1.33406 -1.400474,1.48721 -0.128478,0.23605 -0.109118,0.47594 0.0484,0.59985 0.06063,0.0477 0.09245,0.0503 0.623255,0.0503 h 0.559367 l 0.308708,-0.54171 c 0.179899,-0.31567 0.31527,-0.52907 0.32443,-0.51141 0.0091,0.0167 0.09976,0.36873 0.202548,0.78237 0.102702,0.41364 0.190248,0.75207 0.194397,0.75207 0.0045,0 0.273238,-0.16796 0.597951,-0.37324 z m -3.469936,7.20442 c -0.111148,-0.0196 -0.193976,-0.0702 -0.303544,-0.18554 -0.0518,-0.0545 -0.07253,-0.1037 -0.08104,-0.19221 -0.01077,-0.11253 -0.0061,-0.12473 0.08772,-0.2265 0.203636,-0.22091 0.662325,-0.34121 0.977444,-0.25634 0.125356,0.0338 0.276763,0.13767 0.276763,0.18994 0,0.0226 -0.04154,0.10508 -0.09233,0.18324 -0.220451,0.33932 -0.574189,0.53864 -0.865015,0.48742 z m 7.187121,-0.19266 c -0.09828,-0.057 -0.189126,-0.19874 -0.189126,-0.29507 0,-0.0862 0.05124,-0.20231 0.130803,-0.29671 0.07255,-0.086 0.100435,-0.0864 0.294436,-0.004 0.214393,0.0911 0.41778,0.3532 0.382662,0.49309 -0.03662,0.14576 -0.431474,0.21127 -0.618775,0.10267 z m 0.869783,-0.92714 c -0.288552,-0.0298 -0.586751,-0.11695 -0.629929,-0.18398 -0.04908,-0.0763 0.251121,-0.41269 0.443399,-0.49688 0.265688,-0.11633 0.573205,-0.11268 0.822808,0.01 0.132764,0.0651 0.334666,0.25041 0.390574,0.35844 0.0314,0.0606 0.03083,0.0746 -0.0045,0.1286 -0.09749,0.14871 -0.559637,0.23193 -1.022363,0.18406 z"
id="path7" /> id="path7" />
<text <text
xml:space="preserve" xml:space="preserve"
transform="scale(0.26458333)" transform="matrix(0.26458333,0,0,0.26458333,0,48.101781)"
id="text7" id="text7"
style="font-size:10.6667px;line-height:normal;font-family:'URW Gothic';-inkscape-font-specification:'URW Gothic';text-align:center;text-decoration-color:#000000;white-space:pre;shape-inside:url(#rect7);shape-padding:8.48145;fill:#1a1a1a;fill-opacity:0.99;stroke-width:3"><tspan style="font-size:10.6667px;line-height:normal;font-family:'URW Gothic';-inkscape-font-specification:'URW Gothic';text-align:center;text-decoration-color:#000000;white-space:pre;shape-inside:url(#rect7);shape-padding:8.48145;fill:#1a1a1a;fill-opacity:0.99;stroke-width:3"><tspan
x="145.1246" x="145.1246"

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

View File

@@ -151,12 +151,12 @@ class InkscapeUprint(inkex.Effect):
if (tag is None or _tag(node.tag) == tag) and (exclude is None or _tag(node.tag) != exclude): if (tag is None or _tag(node.tag) == tag) and (exclude is None or _tag(node.tag) != exclude):
l.append(node) l.append(node)
for child in node.getchildren(): for child in node.getchildren():
l.extend(self.svg_traverse_node(child, tag=tag, exclude=exclude)) l.extend(self.svg_traverse_node(child))
elif isinstance(node, etree._Comment): elif isinstance(node, etree._Comment):
pass pass
elif isinstance(node, list): elif isinstance(node, list):
for child in node: for child in node:
l.extend(self.svg_traverse_node(child, tag=tag, exclude=exclude)) l.extend(self.svg_traverse_node(child))
return l return l
def replace_text(self, selected, substs): def replace_text(self, selected, substs):