diff options
Diffstat (limited to 'templates/zip.xml')
| -rw-r--r-- | templates/zip.xml | 35 |
1 files changed, 26 insertions, 9 deletions
diff --git a/templates/zip.xml b/templates/zip.xml index 0018cb19..86be0e65 100644 --- a/templates/zip.xml +++ b/templates/zip.xml @@ -5,18 +5,35 @@ <output> <extension>.zip</extension> <mimetype>application/zip</mimetype> - <filetypename>Ink/Stitch: ZIP export multiple formats (.zip)</filetypename> + <filetypename>Ink/Stitch: ZIP export multiple formats and extra options (.zip)</filetypename> <filetypetooltip>Create a ZIP with multiple embroidery file formats using Ink/Stitch</filetypetooltip> <dataloss>true</dataloss> </output> - {%- for format, description, mimetype, category in formats %} - {%- if category != "vector" and category != "debug" %} - <param name="format-{{ format }}" type="boolean" _gui-text=".{{ format | upper }}: {{ description }}">false</param> - {%- endif %} - {%- endfor %} - <param name="format-threadlist" type="boolean" gui-text=".TXT: Threadlist [COLOR]">false</param> - <param name="format-svg" type="boolean" gui-text=".SVG: Scalable Vector Graphic">false</param> - <param name="extension" type="string" gui-hidden="true">zip</param> + <param name="notebook" type="notebook"> + <page name="file-formats" gui-text="File Formats"> + <label>Output formats:</label> + {%- for format, description, mimetype, category in formats %} + {%- if category != "vector" and category != "debug" %} + <param name="format-{{ format }}" type="boolean" _gui-text=".{{ format | upper }}: {{ description }}">false</param> + {%- endif %} + {%- endfor %} + <param name="format-threadlist" type="boolean" gui-text=".TXT: Threadlist [COLOR]">false</param> + <param name="format-svg" type="boolean" gui-text=".SVG: Scalable Vector Graphic">false</param> + <param name="extension" type="string" gui-hidden="true">zip</param> + </page> + <page name="panelization" gui-text="Panelization Options"> + <label>For single design set horizontal and vertical repeats to 1</label> + <spacer /> + <param name="x-repeats" type="int" min="1" max="20" gui-text="Horizontal repeats">1</param> + <param name="x-spacing" type="float" min="-1000" max="1000" gui-text="Horizontal spacing (mm)">100</param> + <param name="y-repeats" type="int" min="1" max="20" gui-text="Vertical repeats">1</param> + <param name="y-spacing" type="float" min="-1000" max="1000" gui-text="Vertical spacing (mm)">100</param> + </page> + <page name="output-options" gui-text="Output Options"> + <param name="custom-file-name" type="string" gui-text="Custom file name" + gui-description="Defines the file names inside the zip archive. Leave empty for default file name."></param> + </page> + </param> <script> {{ command_tag | safe }} </script> |
