Statistics
| Revision:

svn-gvsig-desktop / tags / org.gvsig.desktop-2.0.157 / org.gvsig.desktop.compat.cdc / org.gvsig.fmap.dal / org.gvsig.fmap.dal.file / org.gvsig.fmap.dal.file.dbf / src / main / resources / org / gvsig / fmap / dal / store / dbf / DBFParameters.xml

History | View | Annotate | Download (5.53 KB)

1
<?xml version="1.0"?>
2
<!--
3

4
    gvSIG. Desktop Geographic Information System.
5

6
    Copyright (C) 2007-2013 gvSIG Association.
7

8
    This program is free software; you can redistribute it and/or
9
    modify it under the terms of the GNU General Public License
10
    as published by the Free Software Foundation; either version 3
11
    of the License, or (at your option) any later version.
12

13
    This program is distributed in the hope that it will be useful,
14
    but WITHOUT ANY WARRANTY; without even the implied warranty of
15
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
    GNU General Public License for more details.
17

18
    You should have received a copy of the GNU General Public License
19
    along with this program; if not, write to the Free Software
20
    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
21
    MA  02110-1301, USA.
22

23
    For any additional information, do not hesitate to contact us
24
    at info AT gvsig.com, or visit our website www.gvsig.com.
25

26
-->
27
<definitions>
28
  <version>1.0.0</version>
29
  <classes>
30
    <class name="DBFStoreParameters">
31
      <extends>
32
              <class namespace="dal" name="ProviderParameters"/>
33
      </extends>
34
      <tags>
35
          <value name="defaultGroup" value="Basic"/>
36
      </tags>
37
      <description>Store the parameters need to open a dbf file</description>
38
      <fields>
39
        <field name="DbfFile" label="DBF file" type="file" mandatory="true" group="Basic">
40
          <description>dbf file</description>
41
        </field>
42
        <field name="Encoding" type="string" mandatory="false" defaultValue="DEFAULT" group="Basic">
43
          <description>Encoding used in this file</description>
44
          <availableValues>
45
            <value label="Default (use dbf language)">DEFAULT</value>
46
            <value label="US-ASCII">US-ASCII</value>
47
            <value label="ISO-8859-1">ISO-8859-1</value>
48
            <value label="ISO-8859-15">ISO-8859-15</value>
49
            <value label="windows-1250">windows-1250</value>
50
            <value label="windows-1252">windows-1252</value>
51
            <value label="UTF-8">UTF-8</value>
52
            <value label="UTF-16">UTF-16</value>
53
            <value label="UTF-16BE">UTF-16BE</value>
54
            <value label="UTF-16LE">UTF-16LE</value>
55
          </availableValues>
56
        </field>
57

    
58

    
59
        <field order="10" name="locale" type="string" mandatory="true" defaultValue="DEFAULT" group="Advanced">
60
          <description>Locale used to parse dates (BCP47 language tag representing the locale)</description>
61
            <availableValues>
62
            <value label="Default (use system locale)">DEFAULT</value>
63
            <value label="Canada (english)">en-CA</value>
64
            <value label="Canada (french)">fr-CA</value>
65
            <value label="Chinese">zh</value>
66
            <value label="English">en</value>
67
            <value label="French">fr</value>
68
            <value label="German">de</value>
69
            <value label="Italian">it</value>
70
            <value label="Japanese">ja</value>
71
            <value label="Korea">ko</value>
72
            <value label="Spain">es</value>
73
            <value label="Uk">en-GB</value>
74
            <value label="Us">en-US</value>
75
          </availableValues>
76
        </field>
77
        <field order="30" name="dateFormat" label="Date format" type="string" mandatory="false" defaultValue="" group="Advanced">
78
          <description>Date format used to parse fields of type date.</description>
79
        </field>
80
        <field order="100" name="handleDatesAsStrings" label="Handle dates as strings" type="boolean" mandatory="false" defaultValue="false" group="Advanced">
81
          <description>If set handle fields of date types as strings.</description>
82
        </field>
83
        <field order="105" name="allowDuplicatedFieldNames" label="Allow duplicated field names" type="boolean" mandatory="false" defaultValue="false" group="Advanced">
84
          <description>If set allow duplicated field names. The layer will be read only.</description>
85
        </field>
86
      </fields>
87
    </class>
88

    
89
    <class name="DBFNewStoreParameters">
90
      <description>Store the parameters need to create a dbf file</description>
91
      <extends>
92
        <class>DBFStoreParameters</class>
93
        <class namespace="dal" name="NewProviderParameters"/>
94
      </extends>
95
      <fields>
96
        <field order="20" name="codePage" type="Integer" mandatory="false"  group="Advanced">
97
          <description>Code page used in this file</description>
98
          <availableValues>
99
            <value label="DOS USA">0x01</value>
100
            <value label="DOS Multilingual">0x02</value>
101
            <value label="Windows ANSI">0x03</value>
102
            <value label="Standard Macintosh">0x04</value>
103
            <value label="EE MS-DOS">0x64</value>
104
            <value label="Nordic MS-DOS">0x65</value>
105
            <value label="Russian MS-DOS">0x66</value>
106
            <value label="Icelandic MS-DOS">0x67</value>
107
            <value label="Kamenicky (Czech) MS-DOS">0x68</value>
108
            <value label="Mazovia (Polish) MS-DOS">0x69</value>
109
            <value label="Greek MS-DOS (437G)">0x6A</value>
110
            <value label="Turkish MS-DOS">0x6B</value>
111
            <value label="Russian Macintosh">0x96</value>
112
            <value label="Macintosh">0x97</value>
113
            <value label="Greek Macintosh">0x98</value>
114
            <value label="Windows EE">0xC8</value>
115
            <value label="Russian Windows">0xC9</value>
116
            <value label="Turkish Windows">0xCA</value>
117
            <value label="Greek Windows">0xCB</value>
118
          </availableValues>
119
        </field>
120
      </fields>
121
    </class>
122

    
123
  </classes>
124
</definitions>