summaryrefslogtreecommitdiffstats
path: root/share/extensions/dpiswitcher.inx
blob: a4f487c976a18dc127ff501b59ba5b1d30a34397 (plain)
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
<?xml version="1.0" encoding="utf-8"?>  
    <inkscape-extension xmlns=  
       "http://www.inkscape.org/namespace/inkscape/extension">  
      <_name>DPI Switcher</_name>  
      <id>org.inkscape.dpiswitcher</id> 
      <dependency type="executable" location="extensions">dpiswitcher.py</dependency>
      <dependency type="executable" location="extensions">inkex.py</dependency>
      <param name="action" type="notebook">
        <page name="dpi_swicher" _gui-text="Switch DPI">
            <param name="switcher" type="enum" _gui-text="Type of convert:">
                    <_item value="0">DPI Switch from 90 to 96</_item>
                    <_item value="1">DPI Switch from 96 to 90</_item>
            </param>
        </page>
        <page name="page_info" _gui-text="Show page info">
            <_param name="d" type="description">Choose this tab if you would like to see page info previously to apply DPI Switcher.</_param>
        </page>
    </param>
      
      <effect needs-live-preview="false" needs-document="no">  
        <object-type>all</object-type>  
        <effects-menu>  
          <submenu _name="Document"/>  
        </effects-menu>  
      </effect>  
      <script>  
        <command reldir="extensions" interpreter="python">dpiswitcher.py</command> 
      </script>  
</inkscape-extension>