scribusproject / scribus

Community mirror of the official Scribus SVN svn://scribus.net. Please submit PRs & Bugs to https://bugs.scribus.net .
https://scribus.net
Other
412 stars 109 forks source link

Since the IDML import works, how about a Python wrapper for it? #112

Closed t56k closed 5 years ago

t56k commented 5 years ago

I desperately want to be able to import IDML/IDMS files through Python. How hard would it be to write a wrapper around the plugin to provide basic importing?

t56k commented 5 years ago

Nevermind, placeSVG works for .idms files.

aoloe commented 5 years ago

i guess that placeSVG might need to be renamed then...

i've opened a ticket in the official bug tracker

https://bugs.scribus.net/view.php?id=15609

and for your question: it's rather easy to add new commands to the scripter, it just takes some time to grok how other did the same thing in the past and then tweak the right files.

it's mostly copy paste and you can look at older commits to see what is needed...