If input SVG file has tag with attribute "$x" and input .ods file has diapason named "x" (with n cells), in output file this tag will be copied n times with corresponding value of its attribute.
Other functions (that not need .ods data):
"$x, y, z" - Array with values x, y, z;
"$x; y; z; n" - Arithmetic Progression
"$[x]^2+3" - Expression
Example:
Range x in .ods file:
[1, 2, 3, 4, 5]
Source
<svg>
<g attr="$x" attr1="$[1;1;5]" attr2="$1, 2, 3, 4" >
</svg>
Out:
<svg>
<g attr="1" attr1="1" attr2="1"></g>
<g attr="2" attr1="2" attr2="2"></g>
<g attr="3" attr1="3" attr2="3"></g>
<g attr="4" attr1="4" attr2="4"></g>
</svg>
Source: https://github.com/step-artur87/sinlin
Tutorial: https://sourceforge.net/projects/sinlin/files/sinlin_tutorial.pdf/download
Examples: https://www.dropbox.com/sh/6ottxnawy5nfils/AABQro2tTlVJhy3LIBmtt4gXa?dl=0
In early April I will suspend development of the program and go offline (probably to September)
sinlin
sinlin - SVG preprocessor, that can add data from .ods files to SVG
Brought to you by:
step-artur87
Downloads:
0 This Week