-
Notifications
You must be signed in to change notification settings - Fork 28
/
countersheet.inx
103 lines (94 loc) · 4.02 KB
/
countersheet.inx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<inkscape-extension>
<_name>Create Countersheet</_name>
<id>pelles.effect.countersheet</id>
<param name="name" type="notebook">
<page name="page1" gui-text="Input">
<param type="path" name="data" gui-text="Data File (CSV)"
mode="file" filetypes="csv"/>
<param type="path" name="imagedir" gui-text="Image Path"
mode="folder"/>
<param name="textmarkup" type="boolean"
gui-text="Text Markup (*bold*, /italics/)">true</param>
<param name="onlyone" type="boolean"
gui-text="Only One of Each (Ignore First Column Numbers)">false</param>
</page>
<page name="page2" gui-text="Layout">
<param name="suffix" type="string"
gui-text="Suffix (layout name suffix)"></param>
<param name="oneside" type="boolean"
gui-text="One-Sided Sheets">false</param>
<param name="foldingline" type="boolean"
gui-text="Folding line in the middle">false</param>
<param name="backoffsetx" type="string"
gui-text="Back Side Horizontal Offset">0mm</param>
<param name="backoffsety" type="string"
gui-text="Back Side Vertical Offset">0mm</param>
<param name="rotatefronts" type="enum"
gui-text="Rotate Fronts">
<item value="0">0</item>
<item value="90">90</item>
<item value="180">180</item>
<item value="-90">-90</item>
</param>
<param name="rotatebacks" type="enum"
gui-text="Rotate Backs">
<item value="0">0</item>
<item value="90">90</item>
<item value="180">180</item>
<item value="-90">-90</item>
</param>
</page>
<page name="page3" gui-text="Style">
<param name="registrationmarkslen" type="string"
gui-text="Registration Marks Length (optional)">15mm</param>
<param name="registrationmarksdist" type="string"
gui-text="Registration Marks Distance (optional)">2mm</param>
<param name="fullregistrationmarks" type="boolean"
gui-text="Full Registration Marks">false</param>
<param name="registrationmarksbothsides" type="boolean"
gui-text="Registration Marks Both Sides">false</param>
<param name="outlinedist" type="string"
gui-text="Outline (Outset Distance)">10mm</param>
<param name="bleed" type="boolean"
gui-text="Bleed">false</param>
<param name="spacing" type="string"
gui-text="Spacing">0mm</param>
<param name="inlineimagesizepercent" type="int" min="1" max="1000"
gui-text="Inline Images Size (%)">200</param>
<param name="inlineimageplaceholder" type="string"
gui-text="Inline Image Placeholder">X</param>
<param name="inlineimageoffset" type="float"
min="-1.0" max="1.0" precision="2"
gui-text="Inline Image Offset">0.20</param>
</page>
<page name="page4" gui-text="Output">
<param name="bitmapw" type="int" gui-text="ID Bitmap Width" min="1"
max="10000">56</param>
<param name="bitmaph" type="int" gui-text="ID Bitmap Height" min="1"
max="10000">56</param>
<param name="bitmapsheetsdpi"
type="int"
gui-text="Export Complete Sheets Bitmaps DPI (0 to disable)"
min="0"
max="6000">0</param>
<param name="bitmapdir" type="string"
gui-text="Bitmap Output Directory (optional)"></param>
<param name="pdfdir" type="string"
gui-text="PDF Output Directory (optional)"></param>
</page>
<page name="page5" gui-text="Debug">
<param name="log" type="path" gui-text="Log File (optional)"
mode="file_new" filetypes="txt,log"></param>
</page>
</param>
<dependency type="executable" location="extensions">countersheet.py</dependency>
<effect>
<object-type>all</object-type>
<effects-menu>
<submenu _name="Boardgames"/>
</effects-menu>
</effect>
<script>
<command reldir="extensions" interpreter="python">countersheet.py</command>
</script>
</inkscape-extension>