File: printing_marks.inx

package info (click to toggle)
inkscape 1.4.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 402,900 kB
  • sloc: cpp: 547,256; python: 72,677; ansic: 63,355; javascript: 3,864; xml: 2,345; sh: 1,667; makefile: 824; perl: 614
file content (49 lines) | stat: -rw-r--r-- 2,536 bytes parent folder | download
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
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
  <name>Printing Marks</name>
  <id>org.inkscape.generate.printing_marks</id>

  <param name="tab" type="notebook">
    <page name="marks" gui-text="Marks">
      <param name="crop_marks"          type="bool"    gui-text="Crop Marks">true</param>
      <param name="bleed_marks"         type="bool"    gui-text="Bleed Marks">false</param>
      <param name="registration_marks"  type="bool"    gui-text="Registration Marks">true</param>
      <param name="star_target"         type="bool"    gui-text="Star Target">false</param>
      <param name="colour_bars"         type="bool"    gui-text="Color Bars">true</param>
      <param name="page_info"           type="bool"    gui-text="Page Information">false</param>
    </page>
    <page name="pos" gui-text="Positioning">
      <param name="where" type="optiongroup" appearance="combo" gui-text="Set crop marks to:">
        <option value="canvas">Canvas</option>
        <option value="selection">Selection</option>
      </param>
      <param name="unit" gui-text="Unit:" type="optiongroup" appearance="combo">
        <option translatable="no" value="px">px</option>
        <option translatable="no" value="pt">pt</option>
        <option translatable="no" value="in">in</option>
        <option translatable="no" value="cm">cm</option>
        <option translatable="no" value="mm">mm</option>
      </param>
      <param name="crop_offset"     type="float"  min="0.0"  max="9999.0" precision="3" gui-text="Offset:">5</param>
      <label appearance="header">Bleed Margin</label>
      <param name="bleed_top"       type="float"  indent="1" min="-9999.0"  max="9999.0"  precision="3" gui-text="Top:">5</param>
      <param name="bleed_bottom"    type="float"  indent="1" min="-9999.0"  max="9999.0"  precision="3" gui-text="Bottom:">5</param>
      <param name="bleed_left"      type="float"  indent="1" min="-9999.0"  max="9999.0"  precision="3" gui-text="Left:">5</param>
      <param name="bleed_right"     type="float"  indent="1" min="-9999.0"  max="9999.0"  precision="3" gui-text="Right:">5</param>
    </page>
  </param>

  <effect needs-live-preview="false">
    <object-type>all</object-type>
    <effects-menu>
      <submenu name="Document">
        <submenu name="Layout"/>
      </submenu>
    </effects-menu>
  </effect>

  <script>
    <command location="inx" interpreter="python">printing_marks.py</command>
  </script>

</inkscape-extension>