aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/widgets/addresstypes.xml
blob: b8274a983f893eaf152b0cc016a3e0849ed86ec7 (plain) (blame)
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
<?xml version="1.0"?>
<filterdescription>
<partset>
 <part name="name">
  <title>Name</title>
   <input type="optionlist" name="name-type">
    <option value="contains">
        <title>contains</title>
    <code>(contains "full_name" ${name})</code>
    </option>
    <option value="not contains">
        <title>does not contain</title>
    <code>(not (contains "full_name" ${name}))</code>
    </option>
    <option value="is">
        <title>is</title>
    <code>(is "full_name" ${name})))</code>
    </option>
    <option value="is not">
        <title>is not</title>
    <code>(not (is "full_name" ${name}))</code>
    </option>
    <option value="begin">
        <title>begins with</title>
    <code>(beginswith "full_name" ${name})</code>
    </option>
    <option value="end">
        <title>ends in</title>
    <code>(endswith "full_name" ${name})</code>
    </option>
   </input>
   <input type="string" name="name"/>
 </part>
 <part name="email">
  <title>Email</title>
   <input type="optionlist" name="email-type">
    <option value="contains">
        <title>contains</title>
    <code>(contains "email" ${email})</code>
    </option>
    <option value="not contains">
        <title>does not contain</title>
    <code>(not (contains "email" ${email}))</code>
    </option>
    <option value="is">
        <title>is</title>
    <code>(is "email" ${email})</code>
    </option>
    <option value="is not">
        <title>is not</title>
    <code>(not (is "email" ${email}))</code>
    </option>
   </input>
   <input type="address" name="email"/>
 </part>
 <part name="category">
  <title>Category</title>
   <input type="optionlist" name="category-type">
    <option value="contains">
        <title>contains</title>
    <code>(contains "category_list" ${category})</code>
    </option>
    <option value="not contains">
        <title>does not contain</title>
    <code>(not (contains "category_list" ${category}))</code>
    </option>
    <option value="is">
        <title>is</title>
    <code>(is "category_list" ${category})</code>
    </option>
    <option value="is not">
        <title>is not</title>
    <code>(not (is "category_list" ${category}))</code>
    </option>
   </input>
   <input type="optionlist" name="category">
    <option value="Anniversary">
        <title>Anniversary</title>
    </option>
    <option value="Holiday">
        <title>Holiday</title>
    </option>
    <option value="Ideas">
        <title>Ideas</title>
    </option>
    <option value="Status">
        <title>Status</title>
    </option>
    <option value="Holiday Cards">
        <title>Holiday Cards</title>
    </option>
    <option value="Hot Contacts">
        <title>Hot Contacts</title>
    </option>
    <option value="International">
        <title>International</title>
    </option>
    <option value="Birthday">
        <title>Birthday</title>
    </option>
    <option value="VIP">
        <title>VIP</title>
    </option>
    <option value="Gifts">
        <title>Gifts</title>
    </option>
    <option value="Waiting">
        <title>Waiting</title>
    </option>
    <option value="Key Customer">
        <title>Key Customer</title>
    </option>
    <option value="Time &amp; Expenses">
        <title>Time &amp; Expenses </title>
    </option>
    <option value="Miscellaneous">
        <title>Miscellaneous</title>
    </option>
    <option value="Business">
        <title>Business</title>
    </option>
    <option value="Personal">
        <title>Personal</title>
    </option>
    <option value="Suppliers">
        <title>Suppliers</title>
    </option>
    <option value="Goals/Objectives">
        <title>Goals/Objectives</title>
    </option>
    <option value="Strategies">
        <title>Strategies</title>
    </option>
    <option value="Competition">
        <title>Competition</title>
    </option>
    <option value="Favourites">
        <title>Favourites</title>
    </option>
    <option value="Phone Calls">
        <title>Phone Calls</title>
    </option>
   </input>
 </part>
 <part name="sexp">
   <title>Expression</title>
   <input type="code" name="code"/>
  </part>
</partset>

  <ruleset>

    <rule grouping="any" source="demand">
      <_title>Name begins with</_title>
      <sources/>
    </rule>
    
    <rule grouping="any" source="demand">
      <_title>Email begins with</_title>
      <sources/>
    </rule>
    
    <rule grouping="any" source="demand">
      <_title>Any field contains</_title>
      <sources/>
    </rule>
 
  </ruleset>
</filterdescription>