summaryrefslogtreecommitdiff
path: root/data/org.gnome.SimpleScan.gschema.xml.in
blob: 2a6047fdc693550da37e4ef2b2f07677f07df1e1 (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
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
<schemalist>
  <enum id="org.gnome.SimpleScan.ScanDirection">
    <value value="0" nick="top-to-bottom"/>
    <value value="1" nick="left-to-right"/>
    <value value="2" nick="bottom-to-top"/>
    <value value="3" nick="right-to-left"/>
  </enum>
  <enum id="org.gnome.SimpleScan.PageSide">
    <value value="1" nick="front"/>
    <value value="2" nick="back"/>
    <value value="3" nick="both"/>
  </enum>

  <schema id="org.gnome.SimpleScan" path="/org/gnome/simple-scan/" gettext-domain="simple-scan">
    <key name="window-width" type="i">
      <default>600</default>
      <_summary>Window width in pixels</_summary>
    </key>
    <key name="window-height" type="i">
      <default>400</default>
      <_summary>Window height in pixels</_summary>
    </key>
    <key name="window-is-maximized" type="b">
      <default>false</default>
      <_summary>TRUE if the application window is maximized</_summary>
    </key>
    <key name="selected-device" type="s">
      <default>''</default>
      <_summary>Device to scan from</_summary>
      <_description>SANE device to acquire images from.</_description>
    </key>
    <key name="document-type" type="s">
      <default>'photo'</default>
      <choices>
        <choice value="text"/>
        <choice value="photo"/>
      </choices>
      <_summary>Type of document being scanned</_summary>
      <_description>Type of document being scanned. This setting decides on the scan resolution, colors and post-processing.</_description>
    </key>
    <key name="scan-direction" enum="org.gnome.SimpleScan.ScanDirection">
      <default>'top-to-bottom'</default>
      <_summary>Direction of scan</_summary>
      <_description>The direction of the scanner across the scanned page.</_description>
    </key>
    <key name="page-width" type="i">
      <default>595</default>
      <_summary>Width of scanned image in pixels</_summary>
      <_description>The width of scanned image in pixels.  This value is updated to what the last scanned page was.</_description>
    </key>
    <key name="page-height" type="i">
      <default>842</default>
      <_summary>Height of scanned image in pixels</_summary>
      <_description>The height of scanned image in pixels.  This value is updated to what the last scanned page was.</_description>
    </key>
    <key name="paper-width" type="i">
      <default>0</default>
      <_summary>Width of paper in tenths of a mm</_summary>
      <_description>The width of the paper in tenths of a mm (or 0 for automatic paper detection).</_description>
    </key>
    <key name="paper-height" type="i">
      <default>0</default>
      <_summary>Height of paper in tenths of a mm</_summary>
      <_description>The height of the paper in tenths of a mm (or 0 for automatic paper detection).</_description>
    </key>
    <key name="page-dpi" type="i">
      <default>72</default>
      <_summary>Resolution of last scanned image</_summary>
      <_description>The resolution in dots-per-inch of the previously scanned image.</_description>
    </key>
    <key name="text-dpi" type="i">
      <default>150</default>
      <_summary>Resolution for text scans</_summary>
      <_description>The resolution in dots-per-inch to use when scanning text.</_description>
    </key>
    <key name="photo-dpi" type="i">
      <default>300</default>
      <_summary>Resolution for photo scans</_summary>
      <_description>The resolution in dots-per-inch to use when scanning photos.</_description>
    </key>
    <key name="page-side" enum="org.gnome.SimpleScan.PageSide">
      <default>'both'</default>
      <_summary>Page side to scan</_summary>
      <_description>The page side to scan.</_description>
    </key>
    <key name="save-directory" type="s">
      <default>''</default>
      <_summary>Directory to save files to</_summary>
      <_description>The directory to save files to.  Defaults to the documents directory if unset.</_description>
    </key>
  </schema>
</schemalist>