annotate iReport.xml @ 3:4a6ebda2a3ae draft

fixed tool dependency issue
author saskia-hiltemann
date Tue, 30 Sep 2014 09:56:12 -0400
parents e8755431a0cd
children a4813532bbc6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
440f4aa3db97 Added option to dowload iReports
saskia-hiltemann
parents: 0
diff changeset
1 <tool id="iReport" name="iReport" version="1">
0
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
2 <description> create an HTML report </description>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
3
2
e8755431a0cd fixed missing dependencies
saskia-hiltemann
parents: 1
diff changeset
4 <requirements>
e8755431a0cd fixed missing dependencies
saskia-hiltemann
parents: 1
diff changeset
5 <requirement type="set_environment">REPOSITORY_PATH</requirement>
e8755431a0cd fixed missing dependencies
saskia-hiltemann
parents: 1
diff changeset
6 </requirements>
0
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
7 <command interpreter="bash">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
8
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
9 iReport.sh
2
e8755431a0cd fixed missing dependencies
saskia-hiltemann
parents: 1
diff changeset
10 --toolpath \$REPOSITORY_PATH
0
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
11 --galaxypath ${report.files_path}
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
12 --htmlout ${report}
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
13 --minwidth ${minwidth}
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
14 --coverimage "-${coverimage}"
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
15 #for $i, $t in enumerate($tabs)
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
16 --tab ${t.tabtitle}
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
17 #for $j, $u in enumerate($t.content)
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
18 #if $u.filetype.itemtype == "image"
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
19 --item "${t.tabtitle}:${u.filetype.itemtype}:${u.filetype.item}:${u.filetype.break}:${u.filetype.zoomlevel}:${u.filetype.zoomenable}:${u.filetype.align}"
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
20 #else if $u.filetype.itemtype == "table"
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
21 #if $u.filetype.collink.columnhyperlink == "Y"
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
22 --item "${t.tabtitle}:${u.filetype.itemtype}:${u.filetype.item}:${u.filetype.break}:${u.filetype.fancy}:Y:${u.filetype.collink.urlcol}:${u.filetype.collink.urlprefix}:${u.filetype.collink.urlsuffix}:${u.filetype.collink.urlitems}"
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
23 #else
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
24 --item "${t.tabtitle}:${u.filetype.itemtype}:${u.filetype.item}:${u.filetype.break}:${u.filetype.fancy}:N"
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
25 #end if
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
26 #else if $u.filetype.itemtype == "link"
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
27 --item "${t.tabtitle}:${u.filetype.itemtype}:${u.filetype.item}:${u.filetype.break}:${__app__.security.encode_id($u.filetype.item.id)}:${u.filetype.ireport}:${u.filetype.item2}"
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
28 #else if $u.filetype.itemtype == "weblink"
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
29 --item "${t.tabtitle}:${u.filetype.itemtype}:${u.filetype.item}:${u.filetype.break}:${u.filetype.item2}"
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
30 #else
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
31 --item "${t.tabtitle}:${u.filetype.itemtype}:${u.filetype.item}:${u.filetype.break}"
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
32 #end if
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
33 #end for
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
34 #end for
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
35 --label "${label}"
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
36 </command>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
37
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
38 <inputs>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
39 <param name="label" type="text" size="100" label="Name of Report" />
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
40 <param name="coverimage" type="text" size="100" label="Link to cover image" help="Optional. A default image will be used if not specified"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
41 <param name="minwidth" type="integer" min="0" max="5000" value="1200" label="Width of page (in pixels)" />
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
42 <repeat name="tabs" title="Tab" default="1" >
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
43 <param name="tabtitle" type="text" size="50" label="Enter tab name">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
44 <sanitizer>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
45 <valid initial="default">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
46 <add preset="string.printable"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
47 <remove value="&quot;"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
48 <remove value="\"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
49 <remove value="&#xA;"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
50 <remove value="&#xD;"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
51 <remove value="&amp;"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
52 <remove value=":"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
53 <remove value=" "/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
54 </valid>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
55 <mapping initial="none">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
56 <add source="\" target="\\"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
57 <add source="&quot;" target="==quote=="/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
58 <add source="&amp;" target="&amp;&amp;"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
59 <add source="&#xA;" target="&amp;n"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
60 <add source="&#xD;" target="&amp;r"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
61 <add source=":" target="==colon=="/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
62 <add source=" " target="_s_"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
63 </mapping>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
64 </sanitizer>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
65 </param>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
66 <repeat name="content" title="Content-Item" default="1">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
67 <conditional name="filetype">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
68 <param name="itemtype" type="select" label="Select Item Type" >
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
69 <option value="" > Please choose item type </option>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
70 <option value="text" > Text Field </option>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
71 <option value="textfile" > Text File from history </option>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
72 <option value="image"> Image </option>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
73 <option value="pdf" > PDF File </option>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
74 <option value="table"> Table </option>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
75 <option value="link" > Link to file </option>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
76 <option value="links"> Links to files in archive</option>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
77 <option value="weblink" > Web link </option>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
78 <validator type="empty_field" />
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
79 </param>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
80 <when value="text">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
81 <param name="item" type="text" area="true" size="10x100" label="Text to display." help="can explicitly add whitespace adding \n in your text for a newline or \t for a tab. HTML tags em, strong, b, i, h1-h6 tags" >
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
82 <sanitizer>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
83 <valid initial="default">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
84 <add preset="string.printable"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
85 <remove value="\"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
86 <remove value="/"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
87 <remove value=","/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
88 <remove value=":"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
89 <remove value="&lt;"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
90 <remove value="&gt;"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
91 <remove value="&apos;"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
92 <remove value="&quot;"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
93 <remove value="&#xA;"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
94 <remove value="&#xD;"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
95 <remove value="&amp;"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
96 <remove value="&#x3a;"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
97 <remove value=" "/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
98 </valid>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
99 <mapping initial="none">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
100 <add source="\" target="\\"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
101 <add source="/" target="==slash=="/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
102 <add source="&amp;" target="&amp;&amp;"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
103 <add source="&#xA;" target="&amp;n"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
104 <add source="&#xD;" target="&amp;r"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
105 <add source="&#x3a;" target="&amp;c"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
106 <add source=" " target="==space=="/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
107 <add source="," target="==comma=="/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
108 <add source="&lt;" target="==lt=="/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
109 <add source="&gt;" target="==gt=="/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
110 <add source="&apos;" target="==apos=="/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
111 <add source="&quot;" target="==quote=="/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
112 <add source=":" target="==colon=="/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
113 </mapping>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
114 </sanitizer>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
115 </param>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
116 <param name="break" type="boolean" checked="False" truevalue="Y" falsevalue="N" label="Insert break after item?"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
117 </when>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
118 <when value="textfile">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
119 <param name="item" type="data" label="Text File" help="Text file to display verbatim"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
120 <param name="break" type="boolean" checked="False" truevalue="Y" falsevalue="N" label="Insert break after item?" help="Insert a line break to force next item to appear below this one. If unchecked, the browser will decide layout"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
121 </when>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
122 <when value="image">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
123 <param name="item" type="data" label="Image File" format="png,svg,jpg,jpeg" help="Supported formats: png, jpg, svg. If image is scaled by choice of width, zoom-on-mousover effect is added."/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
124 <param name="zoomlevel" type="integer" min="0" max="5000" value="250" label="Width (in pixels)" help="enter 0 to keep original size" />
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
125 <param name="zoomenable" type="boolean" checked="True" truevalue="Y" falsevalue="N" label="Enable zoom-on-mouseover effect?" help="If checked and nonzero width, zoom-on-mousover effect added"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
126 <param name="align" type="select" label="Alignment of image (float)" help="Use left or right align to have images and text next to each other. Always specify image first (with alignment), then text, if you want to show them side by side." >
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
127 <option value="none" > default (recommended) </option>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
128 <option value="left" > left </option>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
129 <option value="right" > right </option>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
130 <option value="middle"> center </option>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
131 <!--<option value="top"> top </option>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
132 <option value="bottom"> bottom </option>-->
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
133 </param>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
134 <param name="break" type="boolean" checked="False" truevalue="Y" falsevalue="N" label="Insert break after item?" help="Insert a line break to force next item to appear below this one. If unchecked, the browser will decide layout"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
135 </when>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
136 <when value="table">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
137 <param name="item" type="data" label="Table File" help="must be a tab-delimited file with a 1-line header" />
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
138 <param name="fancy" type="boolean" checked="True" truevalue="Y" falsevalue="N" label="Fancy table?" help="If selected, will create, sortable, searchable, paginated table. Otherwise not (for small tables)"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
139 <conditional name="collink">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
140 <param name="columnhyperlink" type="select" label="create url links from one of the columns in your table?" help="For example: from column with gene names, link to genecards page">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
141 <option value="N"> No </option>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
142 <option value="Y"> Yes </option>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
143 </param>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
144 <when value="Y">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
145 <param name="urlcol" type="data_column" data_ref="item" multiple="False" label="Column to turn in to weblinks" />
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
146 <param name="urlprefix" type="text" size="75" label="URL prefix" help="this will be placed before value in column to form the weblink. e.g. for genecards use: http://www.genecards.org/cgi-bin/carddisp.pl?gene=">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
147 <sanitizer>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
148 <valid initial="default">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
149 <add preset="string.printable"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
150 <remove value="&amp;"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
151 <remove value=":"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
152 <remove value="/"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
153 <remove value=" "/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
154 </valid>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
155 <mapping initial="none">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
156 <add source="&amp;" target="==amp=="/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
157 <add source=":" target="==colon=="/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
158 <add source="/" target="//"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
159 <add source=" " target=""/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
160 </mapping>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
161 </sanitizer>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
162 </param>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
163 <param name="urlsuffix" type="text" size="75" label="URL suffix" help="this will be placed before value in column to form the weblink. e.g. For genecards, there is no suffix">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
164 <sanitizer>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
165 <valid initial="default">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
166 <add preset="string.printable"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
167 <remove value="&amp;"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
168 <remove value="/"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
169 <remove value=" "/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
170 </valid>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
171 <mapping initial="none">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
172 <add source="&amp;" target="&amp;&amp;"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
173 <add source="/" target="//"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
174 <add source=" " target=""/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
175 </mapping>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
176 </sanitizer>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
177 </param>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
178 <param name="urlitems" type="data" label="(Not yet implemented) Archive with files to link to" optional="true" help="Optional. Only if you want to link column entries to local files instead of websites" format="zip,gz,bz2,tar"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
179 </when>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
180 </conditional>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
181 <param name="break" type="boolean" checked="False" truevalue="Y" falsevalue="N" label="Insert break after item?" help="Insert a line break to force next item to appear below this one. If unchecked, the browser will decide layout"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
182 </when>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
183 <when value="pdf">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
184 <param name="item" type="data" label="PDF File" format="pdf"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
185 <param name="break" type="boolean" checked="False" truevalue="Y" falsevalue="N" label="Insert break after item?" help="Insert a line break to force next item to appear below this one. If unchecked, the browser will decide layout"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
186 </when>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
187 <when value="link">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
188 <param name="item" type="data" label="File to link to" />
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
189 <param name="item2" type="text" size="100" label="link text" help="text to display as a link"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
190 <param name="ireport" type="boolean" checked="False" truevalue="Y" falsevalue="N" label="is the link another iReport?"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
191 <param name="break" type="boolean" checked="False" truevalue="Y" falsevalue="N" label="Insert break after item?" help="Insert a line break to force next item to appear below this one. If unchecked, the browser will decide layout"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
192 </when>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
193 <when value="links">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
194 <param name="item" type="data" label="Archive with files to link to" help="links will be created to each file in the archive. Supported formats: zip, gz, tar, bz2"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
195 <param name="break" type="boolean" checked="False" truevalue="Y" falsevalue="N" label="Insert break after item?" help="Insert a line break to force next item to appear below this one. If unchecked, the browser will decide layout" />
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
196 </when>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
197 <when value="weblink">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
198 <param name="item" type="text" size="100" label="web location to link to " help="url to link to">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
199 <sanitizer>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
200 <valid initial="default">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
201 <add preset="string.printable"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
202 <remove value="&amp;"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
203 <remove value=":"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
204 </valid>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
205 <mapping initial="none">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
206 <add source="&amp;" target="==amp=="/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
207 <add source=":" target="==colon=="/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
208 </mapping>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
209 </sanitizer>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
210 </param>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
211 <param name="item2" type="text" size="100" label="link text" help="text to display as a link"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
212 <param name="break" type="boolean" checked="False" truevalue="Y" falsevalue="N" label="Insert break after item?" help="Insert a line break to force next item to appear below this one. If unchecked, the browser will decide layout"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
213 </when>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
214 </conditional>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
215 </repeat>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
216 </repeat>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
217
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
218
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
219
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
220 </inputs>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
221
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
222 <outputs>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
223 <data format="html" name="report" label="HTML report: ${label}"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
224 </outputs>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
225
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
226 <help>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
227 Description of tool for the users
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
228 </help>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
229 </tool>