parameter UI for import filter Extension
Hi,
I'm building an import filter extension for inkscape which needs some data for the import process. The wiki describes howto to write an INX file. There is a description how to define parameters for a UI dialog. Is this feature only supported for effects?
I tried the following example, but nothing happens.
<inkscape-extension> <_name>My Import filter</_name> <id>my.id</id> <dependency type="extension">org.inkscape.input.svg</dependency>
<param name="bounds-rule" gui-text="Choose View" type="enum"> <item>Modelspace</item> <item>Modelspace-Limits</item> <item>Paperspace</item> <item>Paperspace-Limits</item> </param>
<input> <extension>.foo</extension> <mimetype>image/x-svgz</mimetype> <_filetypename> foo</_filetypename> <_filetypetooltip>Import foo</_filetypetooltip> <output_extension>org.inkscape.output.svg</output_extension> </input> <script> <command reldir="extensions">myfoo</command> </script> </inkscape-extension>
Best Regards and many thanks, Simon
On Wed, 2008-02-27 at 18:28 +0100, Simon Mieth wrote:
I'm building an import filter extension for inkscape which needs some data for the import process. The wiki describes howto to write an INX file. There is a description how to define parameters for a UI dialog. Is this feature only supported for effects?
This works for me. What version of Inkscape are you using? I was using one of the 0.46 release candidates.
--Ted
Ted Gould schrieb:
On Wed, 2008-02-27 at 18:28 +0100, Simon Mieth wrote:
I'm building an import filter extension for inkscape which needs some data for the import process. The wiki describes howto to write an INX file. There is a description how to define parameters for a UI dialog. Is this feature only supported for effects?
This works for me. What version of Inkscape are you using? I was using one of the 0.46 release candidates.
--Ted
Hi Ted,
I have here version 0.45.1 (Fedora) and I was confused that it works with effect INX files and not with my import extension. But any fine that it will work with new version, I will tests with a 0.46 release candidate.
By the way were can I annotate an extension, is the right place?
Best Regards,
Simon
participants (2)
-
Simon Mieth
-
Ted Gould