[scribus] How to import SVG files using a script

José Antonio Rocha joseantoniorocha at gmail.com
Sun Jun 28 16:03:40 UTC 2015

2015-06-28 4:24 GMT-03:00 Tornóci László <
tornoci.laszlo at med.semmelweis-univ.hu>:

> I have a bunch of SVG files (actually QR codes produced with an external
> tool) that I want to import into my scribus document. It works perfectly
> well manually. However, it is very boring and error prone to do it that way
> (select the proper page, proper SVG file, position it, scale it for every
> page). How can I do this using a script?


placeSVG("filename", x, y)

Places the SVG "filename" onto the current page, x and y specify the
coordinate of the topleft corner of the SVG placed on the page

If loading was successful, the selection contains the imported SVG

[image: Meira]
nome: "José Antonio Meira da Rocha
email: joseantoniorocha at gmail.com
veículo: [ http://meiradarocha.jor.br ]
fones: [ 55-8448-3866  55-3744-2994 ]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scribus.net/pipermail/scribus/attachments/20150628/b0eb5969/attachment.html>

More information about the scribus mailing list