-
Notifications
You must be signed in to change notification settings - Fork 21
/
datatool.cwl
180 lines (180 loc) · 5.59 KB
/
datatool.cwl
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
# autogenerated by txs
#include:datatool-base
#include:etex
#include:ifthen
#include:substr
#include:xfor
#include:xkeyval
\DTLaddcolumn{db%special}{dbkey}#
\DTLaddentryforrow{db%special}{assign list}{condition}{dbkey}{value}#
\DTLappendtorow{dbkey}{value}#
\DTLassign{db%special}{row index}{assign list}#*
\DTLassignfirstmatch{db%special}{dbkey}{value}{assign list}#*
\xDTLassignfirstmatch{db%special}{dbkey}{value}{assign list}#*
\DTLcleardb{db%special}#
\DTLcolumncount{db%special}#
\DTLcomputebounds{db%special}{x key}{y key}{minX%cmd}{minY%cmd}{maxX%cmd}{maxY%cmd}#*
\DTLcurrencytype#*
\DTLcurrentindex
\DTLdeletedb{db%special}#
\DTLdisplaydb[omit list]{db%special}#
\DTLdisplaylongdb[keyvals]{db%special}#
#keyvals:\DTLdisplaylongdb
caption
label
shortcaption
contcaption
omit
foot
lastfoot
#endkeyvals
\DTLfetch{db%special}{dbkey}{value}{dkey2}
\DTLforeach[condition]{db%special}{assign list}{text}
\DTLforeach*[condition]{db%special}{assign list}{text}
\DTLforeachkeyinrow{cmd}{text}
\DTLgcleardb{db%special}
\DTLgdeletedb{db%special}#
\DTLgetcolumnindex{cmd}{db%special}{dbkey}
\DTLgetdatatype{cmd}{db%special}{dbkey}
\DTLgetkeydata{dbkey}{db%special}{col cs%cmd}{type cs%cmd}{header cs%cmd}
\DTLgetkeyforcolumn{cmd}{db%special}{column index}
\DTLgetlocation{row cs%cmd}{column cs%cmd}{db%special}{value}#*
\DTLgetrowforkey{arg}{arg2}{arg3}{arg4}#S
\DTLgetrowindex{row cs%cmd}{db%special}{col idx}{value}#*
\DTLgetvalueforkey{cmd}{dbkey}{db%special}{ref key}{ref value}#*
\DTLgetvalue{cmd}{db%special}{row}{column}#*
\DTLgnewdb{db}#s#%db
\DTLifdbempty{db%special}{true case}{false case}#*
\DTLifdbexists{db%special}{true case}{false case}#*
\DTLiffirstrow{true case}{false case}#*
\DTLifhaskey{db%special}{dbkey}{true case}{false case}#*
\DTLiflastrow{true case}{false case}#*
\DTLifnull{cmd seq}{true case}{false case}#*
\DTLifnullorempty{cmd seq}{true case}{false case}#*
\DTLifoddrow{true case}{false case}#*
\DTLinttype#*
\DTLloaddb[keyvals]{db}{filename}#s#%db
#keyvals:\DTLloaddb
noheader#true,false
keys={%|}
headers={%|}
omitlines=
#endkeyvals
\DTLloadsbtex{cmd}{filename}#*
\DTLloadrawdb[options]{db}{filename}#s#%db
\DTLmaxforcolumn{db%special}{key list}{cmd}#
\DTLmaxforkeys[condition][assign list]{db%special}{key list}{cmd}#
\DTLmeanforcolumn{db%special}{key list}{cmd}#
\DTLmeanforkeys[condition][assign list]{db%special}{key list}{cmd}#
\DTLminforcolumn{db%special}{key list}{cmd}#
\DTLminforkeys[condition][assign list]{db%special}{key list}{cmd}#
\DTLnewdbentry{db%special}{dbkey}{value}#
\DTLnewdb{db%special}#s#%db
\DTLnewrow{db%special}#
\DTLnewdbonloadfalse#*
\DTLnewdbonloadtrue#*
\DTLnumbernull#*
\DTLrawmap{string}{replacement}#*
\DTLrealtype#*
\DTLremovecurrentrow#
\DTLremoveentryfromrow{dbkey}#
\DTLremoverow{db%special}{row index}
\DTLreplaceentryforrow{dbkey}{value}
\DTLrowcount{db%special}#*
\DTLsavedb{db%special}{filename}
\DTLsavelastrowcount{cmd}#*
\DTLsaverawdb{db%special}{filename}
\DTLprotectedsaverawdb{db%special}{filename}
\DTLsavetexdb{db%special}{filename}
\DTLsdforcolumn{db%special}{key list}{cmd}#
\DTLsdforkeys[condition][assign list]{db%special}{key list}{cmd}#
\DTLsetdelimiter{character}#*
\DTLsetheader{db%special}{dbkey}{header}#
\DTLsetseparator{character}#*
\DTLsettabseparator#*
\DTLsort{sort criteria}{db%special}
\DTLsort[replacement key list]{sort criteria}{db%special}
\DTLsort*[replacement key list]{sort criteria}{db%special}
\DTLstringnull#*
\DTLstringtype#*
\DTLsumcolumn{db%special}{key list}{cmd}#
\DTLsumforkeys[condition][assign list]{db%special}{key list}{cmd}#
\DTLswaprows{db%special}{row1 index}{row2 index}#*
\DTLunsettype#*
\DTLvarianceforcolumn{db%special}{key list}{cmd}#
\DTLvarianceforkeys[condition][assign list]{db%special}{key list}{cmd}#
\datatoolpersoncomma#*
\datatoolplacecomma#*
\datatoolsubjectcomma#*
\datatoolparenstart#*
\dtladdalign{arg1}{arg2}{arg3}{arg4}#S
\dtlaftercols#*
\dtlafterrow#*
\dtlappendentrytocurrentrow{dbkey}{value}#*
\dtlbeforecols#*
\dtlbeforerow#*
\dtlbetweencols#*
\dtlbreak#*
\dtlcolumnindex{db%special}{dbkey}#*
\dtlcurrencyalign#*
\dtlcurrencyformat{format}#*
\dtldefaultkey#*
\dtldbname#*
\dtldisplayafterhead#*
\dtldisplaycr#*
\dtldisplayendtab#*
\dtldisplaystartrow#*
\dtldisplaystarttab#*
\dtldisplayvalign#*
\dtlexpandnewvalue#*
\dtlforcolumn{cmd}{db%special}{dbkey}{body}#*
\dtlforcolumnidx{cmd}{db%special}{col index}{body}#*
\dtlforeachkey(key cs,col cs,type cs,header cs)#*
\in{db%special}#*
\do{body}#*
\dtlgetentryfromcurrentrow{cmd}{col idx}#*
\dtlgetentryfromrow{arg1}{arg2}{arg3}#S
\dtlgetrowforvalue{db%special}{col idx}{value}#*
\edtlgetrowforvalue{db%special}{col idx}{value}#*
\dtlgetrowindex{row cs%cmd}{db%special}{col idx}{value}#*
\dtlgetrow{db%special}{row idx}#*
\dtlheaderformat{format}#*
\dtlintalign#*
\dtlintformat{format}#*
\dtllastloadeddb#*
\dtlnoexpandnewvalue#*
\dtlnovalue#*
\dtlrealalign#*
\dtlrealformat{format}#*
\dtlrecombine#*
\dtlrecombineomitcurrent#*
\dtlremoveentryincurrentrow{col idx}#*
\dtlreplaceentryincurrentrow{new value}{col idx}#*
\dtlshowdbkeys{arg1}#S
\dtlshowdb{arg1}#S
\dtlshowtype{arg1}{arg2}#S
\dtlsort[replacement list]{sort criteria}{db%special}{handler}
\dtlsplitrow{arg1}{arg2}{arg3}{arg4}#S
\dtlstringalign#*
\dtlstringformat{arg1}#S
\dtlswapentriesincurrentrow{col1 idx}{col2 idx}#*
\dtlswaprows{arg1}{arg2}{arg3}#S
\dtlupdateentryincurrentrow{dbkey}{value}#*
\dtlwordindexcompare#*
\end{DTLenvforeach}#
\theDTLrow#*
\theDTLrowi#*
\theDTLrowii#*
\theDTLrowiii#*
\theHDTLrow#*
\theHDTLrowi#*
\theHDTLrowii#*
\theHDTLrowiii#*
\DTLgetvalue#S
\DTLpar#*
\begin{DTLenvforeach}[condition]{db%special}{assign list}
\begin{DTLenvforeach*}[condition]{db%special}{assign list}
\dtlshowdb#S
\end{DTLenvforeach*}
\ifdtlnoheader#S
\ifdtlverbose#S