This file is indexed.

/usr/share/kde4/apps/sheets/functions/database.xml is in calligrasheets 1:2.4.0-0ubuntu2.1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
<!DOCTYPE KSpreadFunctions>
<KSpreadFunctions>

<Group>
    <GroupName>Database</GroupName>

    <Function>
        <Name>DSUM</Name>
        <Type>FLOAT</Type>
        <Parameter>
            <Comment>Range marking the database</Comment>
            <Type range="true">String</Type>
        </Parameter>
        <Parameter>
            <Comment>String marking the column in the database</Comment>
            <Type>String</Type>
        </Parameter>
        <Parameter>
            <Comment>Range marking the conditions</Comment>
            <Type range="true">String</Type>
        </Parameter>
        <Help>
            <Text>Sums up the numbers in a column of a database specified by a set of conditions.</Text>
            <Syntax>DSUM(Database; "Header"; Conditions)</Syntax>
            <Example>DSUM(A1:C5; "Salary"; A9:A11)</Example>
        </Help>
    </Function>

    <Function>
        <Name>DAVERAGE</Name>
        <Type>FLOAT</Type>
        <Parameter>
            <Comment>Range marking the database</Comment>
            <Type range="true">String</Type>
        </Parameter>
        <Parameter>
            <Comment>String marking the column in the database</Comment>
            <Type>String</Type>
        </Parameter>
        <Parameter>
            <Comment>Range marking the conditions</Comment>
            <Type range="true">String</Type>
        </Parameter>
        <Help>
            <Text>Calculates the average in a column of a database specified by a set of conditions for values that are numbers</Text>
            <Syntax>DAVERAGE(Database; "Header"; Conditions)</Syntax>
            <Example>DAVERAGE(A1:C5; "Salary"; A9:A11)</Example>
        </Help>
    </Function>

    <Function>
        <Name>DCOUNT</Name>
        <Type>FLOAT</Type>
        <Parameter>
            <Comment>Range marking the database</Comment>
            <Type range="true">String</Type>
        </Parameter>
        <Parameter>
            <Comment>String marking the column in the database</Comment>
            <Type>String</Type>
        </Parameter>
        <Parameter>
            <Comment>Range marking the conditions</Comment>
            <Type range="true">String</Type>
        </Parameter>
        <Help>
            <Text>Counts the cells containing numeric values in a column of a database specified by a set of conditions.</Text>
            <Syntax>DCOUNT(Database; "Header"; Conditions)</Syntax>
            <Example>DCOUNT(A1:C5; "Salary"; A9:A11)</Example>
            <Related>DCOUNTA</Related>
        </Help>
    </Function>

    <Function>
        <Name>DCOUNTA</Name>
        <Type>FLOAT</Type>
        <Parameter>
            <Comment>Range marking the database</Comment>
            <Type range="true">String</Type>
        </Parameter>
        <Parameter>
            <Comment>String marking the column in the database</Comment>
            <Type>String</Type>
        </Parameter>
        <Parameter>
            <Comment>Range marking the conditions</Comment>
            <Type range="true">String</Type>
        </Parameter>
        <Help>
            <Text>Counts the cells containing numeric or alphanumeric values in a column of a database specified by a set of conditions.</Text>
            <Syntax>DCOUNTA(Database; "Header"; Conditions)</Syntax>
            <Example>DCOUNTA(A1:C5; "Salary"; A9:A11)</Example>
            <Related>DCOUNT</Related>
        </Help>
    </Function>

    <Function>
        <Name>DGET</Name>
        <Type>FLOAT</Type>
        <Parameter>
            <Comment>Range marking the database</Comment>
            <Type range="true">String</Type>
        </Parameter>
        <Parameter>
            <Comment>String marking the column in the database</Comment>
            <Type>String</Type>
        </Parameter>
        <Parameter>
            <Comment>Range marking the conditions</Comment>
            <Type range="true">String</Type>
        </Parameter>
        <Help>
            <Text>Returns a single value from a column of a database specified by a set of conditions. This function returns an error if no value or more than one value exist.</Text>
            <Syntax>DGET(Database; "Header"; Conditions)</Syntax>
            <Example>DGET(A1:C5; "Salary"; A9:A11)</Example>
        </Help>
    </Function>

    <Function>
        <Name>DMAX</Name>
        <Type>FLOAT</Type>
        <Parameter>
            <Comment>Range marking the database</Comment>
            <Type range="true">String</Type>
        </Parameter>
        <Parameter>
            <Comment>String marking the column in the database</Comment>
            <Type>String</Type>
        </Parameter>
        <Parameter>
            <Comment>Range marking the conditions</Comment>
            <Type range="true">String</Type>
        </Parameter>
        <Help>
            <Text>Returns the largest value in a column of a database specified by a set of conditions.</Text>
            <Syntax>DMAX(Database; "Header"; Conditions)</Syntax>
            <Example>DMAX(A1:C5; "Salary"; A9:A11)</Example>
            <Related>DMIN</Related>
        </Help>
    </Function>

    <Function>
        <Name>DMIN</Name>
        <Type>FLOAT</Type>
        <Parameter>
            <Comment>Range marking the database</Comment>
            <Type range="true">String</Type>
        </Parameter>
        <Parameter>
            <Comment>String marking the column in the database</Comment>
            <Type>String</Type>
        </Parameter>
        <Parameter>
            <Comment>Range marking the conditions</Comment>
            <Type range="true">String</Type>
        </Parameter>
        <Help>
            <Text>Returns the smallest values in a column of a database specified by a set of conditions.</Text>
            <Syntax>DMIN(Database; "Header"; Conditions)</Syntax>
            <Example>DMIN(A1:C5; "Salary"; A9:A11)</Example>
            <Related>DMAX</Related>
        </Help>
    </Function>

    <Function>
        <Name>DPRODUCT</Name>
        <Type>FLOAT</Type>
        <Parameter>
            <Comment>Range marking the database</Comment>
            <Type range="true">String</Type>
        </Parameter>
        <Parameter>
            <Comment>String marking the column in the database</Comment>
            <Type>String</Type>
        </Parameter>
        <Parameter>
            <Comment>Range marking the conditions</Comment>
            <Type range="true">String</Type>
        </Parameter>
        <Help>
            <Text>Returns the product of all numeric  values in a column of a database specified by a set of conditions.</Text>
            <Syntax>DPRODUCT(Database; "Header"; Conditions)</Syntax>
            <Example>DPRODUCT(A1:C5; "Salary"; A9:A11)</Example>
        </Help>
    </Function>

    <Function>
        <Name>DSTDEV</Name>
        <Type>FLOAT</Type>
        <Parameter>
            <Comment>Range marking the database</Comment>
            <Type range="true">String</Type>
        </Parameter>
        <Parameter>
            <Comment>String marking the column in the database</Comment>
            <Type>String</Type>
        </Parameter>
        <Parameter>
            <Comment>Range marking the conditions</Comment>
            <Type range="true">String</Type>
        </Parameter>
        <Help>
            <Text>Returns the estimate of the standard deviation of a population based on a sample using all numeric values in a column of a database specified by a set of conditions.</Text>
            <Syntax>DSTDEV(Database; "Header"; Conditions)</Syntax>
            <Example>DSTDEV(A1:C5; "Salary"; A9:A11)</Example>
            <Related>DSTDEVP</Related>
        </Help>
    </Function>

    <Function>
        <Name>DSTDEVP</Name>
        <Type>FLOAT</Type>
        <Parameter>
            <Comment>Range marking the database</Comment>
            <Type range="true">String</Type>
        </Parameter>
        <Parameter>
            <Comment>String marking the column in the database</Comment>
            <Type>String</Type>
        </Parameter>
        <Parameter>
            <Comment>Range marking the conditions</Comment>
            <Type range="true">String</Type>
        </Parameter>
        <Help>
            <Text>Returns the standard deviation of a population based on the entire population using all numeric values in a column of a database specified by a set of conditions.</Text>
            <Syntax>DSTDEVP(Database; "Header"; Conditions)</Syntax>
            <Example>DSTDEVP(A1:C5; "Salary"; A9:A11)</Example>
            <Related>DSTDEV</Related>
        </Help>
    </Function>

    <Function>
        <Name>DVAR</Name>
        <Type>FLOAT</Type>
        <Parameter>
            <Comment>Range marking the database</Comment>
            <Type range="true">String</Type>
        </Parameter>
        <Parameter>
            <Comment>String marking the column in the database</Comment>
            <Type>String</Type>
        </Parameter>
        <Parameter>
            <Comment>Range marking the conditions</Comment>
            <Type range="true">String</Type>
        </Parameter>
        <Help>
            <Text>Returns the estimate of the variance of a population based on a sample using all numeric values in a column of a database specified by a set of conditions.</Text>
            <Syntax>DVAR(Database; "Header"; Conditions)</Syntax>
            <Example>DVAR(A1:C5; "Salary"; A9:A11)</Example>
            <Related>DVARP</Related>
        </Help>
    </Function>

    <Function>
        <Name>DVARP</Name>
        <Type>FLOAT</Type>
        <Parameter>
            <Comment>Range marking the database</Comment>
            <Type range="true">String</Type>
        </Parameter>
        <Parameter>
            <Comment>String marking the column in the database</Comment>
            <Type>String</Type>
        </Parameter>
        <Parameter>
            <Comment>Range marking the conditions</Comment>
            <Type range="true">String</Type>
        </Parameter>
        <Help>
            <Text>Returns the variance of a population based on the entire population using all numeric values in a column of a database specified by a set of conditions.</Text>
            <Syntax>DVARP(Database; "Header"; Conditions)</Syntax>
            <Example>DVARP(A1:C5; "Salary"; A9:A11)</Example>
            <Related>DVAR</Related>
        </Help>
    </Function>

    <Function>
        <Name>GETPIVOTDATA</Name>
        <Type>FLOAT</Type>
        <Parameter>
            <Type range="true">String</Type>
            <Comment>Range containing the pivot table</Comment>
        </Parameter>
        <Parameter>
            <Type>String</Type>
            <Comment>Name of the field of which you want the summary data</Comment>
        </Parameter>
        <Help>
            <Text>Fetches summary data from a pivot table.</Text>
            <Syntax>GETPIVOTDATA(Database; "Sales")</Syntax>
        </Help>
    </Function>

</Group>

</KSpreadFunctions>