Von Version < 19.1 >
bearbeitet von XIMA Admin
am 05.03.2020, 21:22
Auf Version < 30.19 >
bearbeitet von gru
am 13.12.2021, 10:42
< >
Änderungskommentar: Es gibt keinen Kommentar für diese Version

Zusammenfassung

Details

Seiteneigenschaften
Titel
... ... @@ -1,1 +1,1 @@
1 -<1>.FORMCYCLE V6 Hilfe
1 +FORMCYCLE Hilfe
Dokument-Autor
... ... @@ -1,1 +1,1 @@
1 -XWiki.ximaadmin
1 +XWiki.gru
Inhalt
... ... @@ -1,98 +1,11 @@
1 -{{include reference="Help.Code.VelocityMacros"/}}
1 +{{velocity}}
2 +##{{info type="info"}}
3 +##Die {{formcycle/}} Version 6 verwendet eine Version von Log4j, welche die am 10.12.2021 bekannt gewordene Sicherheitslücke nicht enthält. Hinweise zur deren Auswirkungen auf die neueren {{formcycle/}} Versionen 7.0.0 bis 7.0.6 befinden sich auf der Seite [[Allgemeine Sicherheitsempfehlungen>>https://help7.formcycle.eu/xwiki/bin/view/Formcycle/SystemSettings/Sicherheit/]] in der Hilfe der Version 7.
4 +##{{/info}}
5 +{{/velocity}}
2 2  
3 -{{velocity output="false"}}
4 -#macro (MainMenuCard $data)
5 - #set ($documentationURL = $NULL)
6 - #if ($data.documentation)
7 - #set ($externalDocumentation = $data.documentation.contains('://'))
8 - #if ($externalDocumentation)
9 - #set ($documentationURL = $data.documentation)
10 - #else
11 - #set ($documentationURL = $xwiki.getURL($data.documentation))
12 - #end
13 - #end
14 - #set ($examplesURL = $NULL)
15 - #if ($data.examples)
16 - #if ($data.examples.startsWith('/'))
17 - ## Relative internal URL
18 - #set ($examplesURL = $data.examples)
19 - #else
20 - ## Page reference
21 - #set ($examplesURL = $xwiki.getURL($data.examples))
22 - #end
23 - #set ($url = $examplesURL)
24 - #else
25 - #set ($url = $documentationURL)
26 - #end
27 - <div class="well">
28 - #if ($data.icon)
29 - <span class="icon $data.icon" style="color:#504e4c"></span>
30 - #end
31 - #if ($data.iconfc)
32 - ##{{ficon name="$data.iconfc" size="1em"/}} title="$title"
33 - <span class="ico-fc-$data.iconfc" style="font-size:3em"></span>
34 - #end
35 - <h6>
36 - <a href="$!url">
37 - $escapetool.xml($data.title)
38 - </a>
39 - </h6>
40 - #if ($data.description)
41 - <p class="noitems" style="height:4em">
42 - $data.description
43 - </p>
44 - #end
45 - #if (($data.examples && $data.documentation) || !$data.thumbnail)
46 - <ul class="noitems">
47 - #if ($data.examples)
48 - <li>
49 - <a href="$examplesURL">$services.localization.render('help.example.label')</a>
50 - </li>
51 - #end
52 - #if ($data.documentation)
53 - <li>
54 - <a href="$documentationURL"#if ($externalDocumentation) class="wikiexternallink"#end>
55 - ##ervices.localization.render('help.more.label')
56 - Mehr erfahren
57 - </a>
58 - </li>
59 - #end
60 - </ul>
61 - #end
62 - #if ($data.thumbnail)
63 - <a href="$!url">
64 - #set ($attachmentReference = $services.model.resolveAttachment($data.thumbnail))
65 - <img src="$xwiki.getURL($attachmentReference)" class="thumbnail"
66 - alt="$escapetool.xml($attachmentReference.name)" />
67 - </a>
68 - #end
69 - </div>
70 -#end
71 -
72 -#macro (display4Cards $cards)
73 - <div class="row">
74 - #foreach ($card in $cards)
75 - ## See http://getbootstrap.com/css/#grid-responsive-resets .
76 - #if ($foreach.index > 0 && $foreach.index % 2 == 0)
77 - <div class="clearfix visible-sm-block "></div>
78 - #end
79 - #if ($foreach.index > 0 && $foreach.index % 3 == 0)
80 - <div class="clearfix visible-md-block"></div>
81 - #end
82 - #if ($foreach.index > 0 && $foreach.index % 4 == 0)
83 - <div class="clearfix visible-lg-block"></div>
84 - #end
85 - <div class="col-xs-12 col-sm-6 col-md-4 col-lg-3 card-main">
86 - #MainMenuCard($card)
87 - ##helpExampleCard($card)
88 - </div>
89 - #end
90 - </div>
91 -#end
92 -
93 -##'icon': 'fa fa-support',
94 -##square-edit-outline
95 -#set ($howToCards = [{
7 +{{velocity}}
8 +#set ($mainCards = [{
96 96   'iconfc': 'square-edit-outline',
97 97   'title': 'Formulardesigner',
98 98   'description': 'Arbeiten mit dem Formulardesigner',
... ... @@ -112,11 +112,792 @@
112 112   'title': 'Workflow',
113 113   'description': 'Formulardaten verarbeiten',
114 114   'documentation': 'Formcycle.UserInterface.MyForms.WorkflowProcessing'
28 +}, {
29 + 'icon': 'fa fa-download',
30 + 'title': 'Installation',
31 + 'description': 'FORMCYCLE installieren oder aktualisieren',
32 + 'documentation': 'Formcycle.Installation'
33 +}, {
34 + 'iconfc': 'form',
35 + 'title': 'Beispiele',
36 + 'description': 'Beispiele für Formulareinbindungen und Formulare',
37 + 'documentation': 'doc:Examples.WebHome'
115 115  }])
39 +
40 +## 'icon': 'fa fa-play-circle',
41 +## 'title': 'Einführungsvideos',
42 +## 'description': 'Kurze Videos zum Vorstellen einzelner FORMCYCLE-Funktionen; ggf. Titel "Schnelleinstieg"',
43 +## 'documentation': 'https://formcycle.eu/de/features'
44 +##}, {
45 +## 'iconfc': 'puzzle',
46 +## 'title': 'Anwendungsfälle',
47 +## 'description': 'Formulardaten verarbeiten',
48 +## 'documentation': 'doc:Anwendungsfälle.WebHome'
49 +##}, {
50 +
51 +#set ($smallCards = [{
52 + 'iconfc': 'information-outline',
53 + 'title': 'Workshops',
54 + 'description': 'Workshops zu verschiedenen Themen rund um FORMCYCLE',
55 + 'documentation': 'doc:Workshops.WebHome'
56 +}, {
57 + 'icon': 'fa fa-cloud',
58 + 'title': 'FORM.​CLOUD',
59 + 'description': 'Informationen zur XIMA FORM.CLOUD',
60 + 'documentation': 'doc:FORMCLOUD.WebHome'
61 +}, {
62 + 'iconfc': 'action-change-status',
63 + 'title': 'Einbindung externer Systeme',
64 + 'description': 'Einbindung von FORMCYCLE in CMS/DMS-Systeme',
65 + 'documentation': 'Formcycle.CMSExtension'
66 +}, {
67 + 'iconfc': 'puzzle',
68 + 'title': 'Plugin-Dokumen­tation',
69 + 'description': 'Dokumentation der für FORMCYCLE verfügbaren Plugins',
70 + 'documentation': 'Formcycle.PluginDocumentation'
71 +}, {
72 + 'icon': 'fa fa-list',
73 + 'title': 'Release Notes',
74 + 'description': 'Release Notes und Download der aktuellen Version',
75 + 'documentation': 'doc:Blog.WebHome'
76 +}, {
77 + 'iconfc': 'comment-faq-outline',
78 + 'title': 'Häufig gestellte Fragen',
79 + 'description': 'Häufig gestellte Fragen',
80 + 'documentation': "https://faq.formcycle.eu/"
81 +}])
82 +
83 +## 'icon': 'fa fa-share-square',
84 +## 'title': 'Daten extern weiterverarbeiten',
85 +## 'description': 'Mit FORMCYCLE erfasste Daten an andere Systeme weiterleiten',
86 +## 'documentation': 'Formcycle.UserInterface.MyForms.WorkflowProcessing'
87 +##}, {
88 +
89 +
90 +
91 +{{html}}
92 +##$jsontool.serialize(${mainCards})<br>
93 +##$jsontool.serialize($mainCards)<br>
94 +{{/html}}
95 +
96 +{{MainMenuTiles cards='$jsontool.serialize($mainCards)' /}}
97 +
98 +{{MainMenuTiles cards='$jsontool.serialize($smallCards)' type="small" /}}
99 +
116 116  {{/velocity}}
117 117  
118 118  {{velocity}}
119 -{{html clean="false"}}
120 -#display4Cards($howToCards)
103 +{{html wiki="false" clean="false"}}
104 +
105 +
106 +
107 +<style>
108 +.jqcloud{font:10px Helvetica,Arial,sans-serif;line-height:normal;overflow:hidden;position:relative}.jqcloud-word{margin:0;padding:0}.jqcloud-word.w1{color:#aab5f0;font-size:100%}.jqcloud-word.w2{color:#9ce;font-size:150%}.jqcloud-word.w3{color:#a0ddff;font-size:200%}.jqcloud-word.w4{color:#90c5f0;font-size:250%}.jqcloud-word.w5{color:#90a0dd;font-size:300%}.jqcloud-word.w6{color:#90c5f0;font-size:350%}.jqcloud-word.w7{color:#39d;font-size:400%}.jqcloud-word.w8{color:#0cf;font-size:450%}.jqcloud-word.w9{color:#0cf;font-size:500%}.jqcloud-word.w10{color:#0cf;font-size:550%}.jqcloud-word a{color:inherit;font-size:inherit;text-decoration:none}.jqcloud-word a:hover{color:#0cf}
109 +.jqcloud span {
110 + -moz-user-select: -moz-none;
111 + -khtml-user-select: none;
112 + -webkit-user-select: none;
113 + -ms-user-select: none;
114 + user-select: none;
115 + background-color: #eaeaef;
116 + border-radius: 10px;
117 + padding: 0px 4px 0px 4px;
118 +}
119 +.jqcloud span.jqHighlight {
120 + color: #0cf !important;
121 +}
122 +.jQButton {
123 + color: #fff;
124 + background-color: #3480AD;/*#f0f0f3*/
125 + text-align: center;
126 + display: inline-block;
127 + border-radius: 4px;
128 + padding: 4px 10px 4px 22px;
129 + font-size: 15px
130 + margin: auto;
131 + margin-bottom: 5px;
132 + -moz-user-select: -moz-none;
133 + -khtml-user-select: none;
134 + -webkit-user-select: none;
135 + -ms-user-select: none;
136 + user-select: none;
137 +}
138 +.jQButton[active=false] {
139 + background-color: #a7a7a7;
140 +}
141 +.jQButton:hover {
142 + background-color: #0cf;
143 +}
144 +.jQButton[active=false]:hover {
145 + background-color: #676767;
146 +}
147 +.jQButton .jQButton-icon::before {
148 + font-family: "FontAwesome";
149 + font-size: 14px;
150 + font-weight: 400;
151 + content: "\f046";
152 +}
153 +.jQButton[active=false] .jQButton-icon::before {
154 + content: "\f096";
155 +}
156 +.jQButton-icon {
157 + position: absolute;
158 + margin-left: -11px;
159 +}
160 +</style>
161 +
162 +<script>
163 +require(['jquery'],function(XjQ) {
164 +'use strict';
165 +
166 +/*
167 + * Plugin class
168 + */
169 +var jQCloud = function(element, word_array, options) {
170 + this.Xelement = XjQ(element);
171 +
172 + this.word_array = word_array || [];
173 + this.options = options;
174 +
175 + this.sizeGenerator = null;
176 + this.colorGenerator = null;
177 +
178 + // Data used internally
179 + this.data = {
180 + placed_words: [],
181 + timeouts: {},
182 + namespace: null,
183 + step: null,
184 + angle: null,
185 + aspect_ratio: null,
186 + max_weight: null,
187 + min_weight: null,
188 + sizes: [],
189 + colors: []
190 + };
191 +
192 + this.initialize();
193 +};
194 +
195 +jQCloud.DEFAULTS = {
196 + width: 100,
197 + height: 100,
198 + center: { x: 0.5, y: 0.5 },
199 + steps: 10,
200 + delay: null,
201 + shape: 'elliptic',
202 + classPattern: 'w{n}',
203 + encodeURI: true,
204 + removeOverflowing: true,
205 + afterCloudRender: null,
206 + autoResize: false,
207 + colors: null,
208 + fontSize: null,
209 + template: null
210 +};
211 +
212 +jQCloud.prototype = {
213 + initialize: function() {
214 + // Set/Get dimensions
215 + if (this.options.width) {
216 + this.Xelement.width(this.options.width);
217 + }
218 + else {
219 + this.options.width = this.Xelement.width();
220 + }
221 + if (this.options.height) {
222 + this.Xelement.height(this.options.height);
223 + }
224 + else {
225 + this.options.height = this.Xelement.height();
226 + }
227 +
228 + // Default options value
229 + this.options = XjQ.extend(true, {}, jQCloud.DEFAULTS, this.options);
230 +
231 + // Ensure delay
232 + if (this.options.delay === null) {
233 + this.options.delay = this.word_array.length > 50 ? 10 : 0;
234 + }
235 +
236 + // Backward compatibility
237 + if (this.options.center.x > 1) {
238 + this.options.center.x = this.options.center.x / this.options.width;
239 + this.options.center.y = this.options.center.y / this.options.height;
240 + }
241 +
242 + // Create colorGenerator function from options
243 + // Direct function
244 + if (typeof this.options.colors == 'function') {
245 + this.colorGenerator = this.options.colors;
246 + }
247 + // Array of sizes
248 + else if (XjQ.isArray(this.options.colors)) {
249 + var cl = this.options.colors.length;
250 + if (cl > 0) {
251 + // Fill the sizes array to X items
252 + if (cl < this.options.steps) {
253 + for (var i = cl; i < this.options.steps; i++) {
254 + this.options.colors[i] = this.options.colors[cl - 1];
255 + }
256 + }
257 +
258 + this.colorGenerator = function(weight) {
259 + return this.options.colors[this.options.steps - weight];
260 + };
261 + }
262 + }
263 +
264 + // Create sizeGenerator function from options
265 + // Direct function
266 + if (typeof this.options.fontSize == 'function') {
267 + this.sizeGenerator = this.options.fontSize;
268 + }
269 + // Object with 'from' and 'to'
270 + else if (XjQ.isPlainObject(this.options.fontSize)) {
271 + this.sizeGenerator = function(width, height, weight) {
272 + var max = width * this.options.fontSize.from,
273 + min = width * this.options.fontSize.to;
274 + return Math.round(min + (max - min) * 1.0 / (this.options.steps - 1) * (weight - 1)) + 'px';
275 + };
276 + }
277 + // Array of sizes
278 + else if (XjQ.isArray(this.options.fontSize)) {
279 + var sl = this.options.fontSize.length;
280 + if (sl > 0) {
281 + // Fill the sizes array to X items
282 + if (sl < this.options.steps) {
283 + for (var j = sl; j < this.options.steps; j++) {
284 + this.options.fontSize[j] = this.options.fontSize[sl - 1];
285 + }
286 + }
287 +
288 + this.sizeGenerator = function(width, height, weight) {
289 + return this.options.fontSize[this.options.steps - weight];
290 + };
291 + }
292 + }
293 +
294 + this.data.angle = Math.random() * 6.28;
295 + this.data.step = (this.options.shape === 'rectangular') ? 18.0 : 2.0;
296 + this.data.aspect_ratio = this.options.width / this.options.height;
297 + this.clearTimeouts();
298 +
299 + // Namespace word ids to avoid collisions between multiple clouds
300 + this.data.namespace = (this.Xelement.attr('id') || Math.floor((Math.random() * 1000000)).toString(36)) + '_word_';
301 +
302 + this.Xelement.addClass('jqcloud');
303 +
304 + // Container's CSS position cannot be 'static'
305 + if (this.Xelement.css('position') === 'static') {
306 + this.Xelement.css('position', 'relative');
307 + }
308 +
309 + // Delay execution so that the browser can render the page before the computatively intensive word cloud drawing
310 + this.createTimeout(XjQ.proxy(this.drawWordCloud, this), 10);
311 +
312 + // Attach window resize event
313 + if (this.options.autoResize) {
314 + XjQ(window).on('resize.' + this.data.namespace, throttle(this.resize, 50, this));
315 + }
316 + },
317 +
318 + // Helper function to keep track of timeouts so they can be destroyed
319 + createTimeout: function(callback, time) {
320 + var timeout = setTimeout(XjQ.proxy(function() {
321 + delete this.data.timeouts[timeout];
322 + callback();
323 + }, this), time);
324 + this.data.timeouts[timeout] = true;
325 + },
326 +
327 + // Destroy all timeouts
328 + clearTimeouts: function() {
329 + XjQ.each(this.data.timeouts, function(key) {
330 + clearTimeout(key);
331 + });
332 + this.data.timeouts = {};
333 + },
334 +
335 + // Pairwise overlap detection
336 + overlapping: function(a, b) {
337 + if (Math.abs(2.0 * a.left + a.width - 2.0 * b.left - b.width) < a.width + b.width) {
338 + if (Math.abs(2.0 * a.top + a.height - 2.0 * b.top - b.height) < a.height + b.height) {
339 + return true;
340 + }
341 + }
342 + return false;
343 + },
344 +
345 + // Helper function to test if an element overlaps others
346 + hitTest: function(elem) {
347 + // Check elements for overlap one by one, stop and return false as soon as an overlap is found
348 + for (var i = 0, l = this.data.placed_words.length; i < l; i++) {
349 + if (this.overlapping(elem, this.data.placed_words[i])) {
350 + return true;
351 + }
352 + }
353 + return false;
354 + },
355 +
356 + // Initialize the drawing of the whole cloud
357 + drawWordCloud: function() {
358 + var i, l;
359 +
360 + this.Xelement.children('[id^="' + this.data.namespace + '"]').remove();
361 +
362 + if (this.word_array.length === 0) {
363 + return;
364 + }
365 +
366 + // Make sure every weight is a number before sorting
367 + for (i = 0, l = this.word_array.length; i < l; i++) {
368 + this.word_array[i].weight = parseFloat(this.word_array[i].weight, 10);
369 + }
370 +
371 + // Sort word_array from the word with the highest weight to the one with the lowest
372 + this.word_array.sort(function(a, b) {
373 + return b.weight - a.weight;
374 + });
375 +
376 + // Kepp trace of bounds
377 + this.data.max_weight = this.word_array[0].weight;
378 + this.data.min_weight = this.word_array[this.word_array.length - 1].weight;
379 +
380 + // Generate colors
381 + this.data.colors = [];
382 + if (this.colorGenerator) {
383 + for (i = 0; i < this.options.steps; i++) {
384 + this.data.colors.push(this.colorGenerator(i + 1));
385 + }
386 + }
387 +
388 + // Generate font sizes
389 + this.data.sizes = [];
390 + if (this.sizeGenerator) {
391 + for (i = 0; i < this.options.steps; i++) {
392 + this.data.sizes.push(this.sizeGenerator(this.options.width, this.options.height, i + 1));
393 + }
394 + }
395 +
396 + // Iterate drawOneWord on every word, immediately or with delay
397 + if (this.options.delay > 0) {
398 + this.drawOneWordDelayed();
399 + }
400 + else {
401 + for (i = 0, l = this.word_array.length; i < l; i++) {
402 + this.drawOneWord(i, this.word_array[i]);
403 + }
404 +
405 + if (typeof this.options.afterCloudRender === 'function') {
406 + this.options.afterCloudRender.call(this.Xelement);
407 + }
408 + }
409 + },
410 +
411 + // Function to draw a word, by moving it in spiral until it finds a suitable empty place
412 + drawOneWord: function(index, word) {
413 + var word_id = this.data.namespace + index,
414 + word_selector = '#' + word_id,
415 +
416 + // option.shape == 'elliptic'
417 + angle = this.data.angle,
418 + radius = 0.0,
419 +
420 + // option.shape == 'rectangular'
421 + steps_in_direction = 0.0,
422 + quarter_turns = 0.0,
423 +
424 + weight = Math.floor(this.options.steps / 2),
425 + word_span,
426 + word_size,
427 + word_style;
428 +
429 + // Create word attr object
430 + //word.attr = XjQ.extend({}, word.html, { id: word_id });
431 + word.attr = XjQ.extend({}, word.html, { id: word_id, group: (word.group ? word.group : "") });
432 +
433 + // Linearly map the original weight to a discrete scale from 1 to 10
434 + // Only if weights are different
435 + if (this.data.max_weight != this.data.min_weight) {
436 + weight = Math.round((word.weight - this.data.min_weight) * 1.0 * (this.options.steps - 1) / (this.data.max_weight - this.data.min_weight)) + 1;
437 + }
438 + word_span = XjQ('<span>').attr(word.attr);
439 +
440 + word_span.addClass('jqcloud-word');
441 +
442 + // Apply class
443 + if (this.options.classPattern) {
444 + word_span.addClass(this.options.classPattern.replace('{n}', weight));
445 + }
446 +
447 + // Apply color
448 + if (this.data.colors.length) {
449 + word_span.css('color', this.data.colors[weight - 1]);
450 + }
451 +
452 + // Apply color from word property
453 + if (word.color) {
454 + word_span.css('color', word.color);
455 + }
456 +
457 + // Apply size
458 + if (this.data.sizes.length) {
459 + word_span.css('font-size', this.data.sizes[weight - 1]);
460 + }
461 +
462 + //Render using template function if provided.
463 + if (this.options.template) {
464 + word_span.html(this.options.template(word));
465 + } else if (word.link) {
466 + // Append link if word.link attribute was set
467 + // If link is a string, then use it as the link href
468 + if (typeof word.link === 'string') {
469 + word.link = { href: word.link };
470 + }
471 +
472 + if (this.options.encodeURI) {
473 + word.link.href = encodeURI(word.link.href).replace(/'/g, '%27');
474 + }
475 +
476 + word_span.append(XjQ('<a>').attr(word.link).text(word.text));
477 + }
478 + else {
479 + word_span.text(word.text);
480 + }
481 +
482 + // Bind handlers to words
483 + if (word.handlers) {
484 + word_span.on(word.handlers);
485 + }
486 +
487 + this.Xelement.append(word_span);
488 +
489 + word_size = {
490 + width: word_span.outerWidth(),
491 + height: word_span.outerHeight()
492 + };
493 + word_size.left = this.options.center.x * this.options.width - word_size.width / 2.0;
494 + word_size.top = this.options.center.y * this.options.height - word_size.height / 2.0;
495 +
496 + // Save a reference to the style property, for better performance
497 + word_style = word_span[0].style;
498 + word_style.position = 'absolute';
499 + word_style.left = word_size.left + 'px';
500 + word_style.top = word_size.top + 'px';
501 +
502 + while (this.hitTest(word_size)) {
503 + // option shape is 'rectangular' so move the word in a rectangular spiral
504 + if (this.options.shape === 'rectangular') {
505 + steps_in_direction++;
506 +
507 + if (steps_in_direction * this.data.step > (1 + Math.floor(quarter_turns / 2.0)) * this.data.step * ((quarter_turns % 4 % 2) === 0 ? 1 : this.data.aspect_ratio)) {
508 + steps_in_direction = 0.0;
509 + quarter_turns++;
510 + }
511 +
512 + switch (quarter_turns % 4) {
513 + case 1:
514 + word_size.left += this.data.step * this.data.aspect_ratio + Math.random() * 2.0;
515 + break;
516 + case 2:
517 + word_size.top -= this.data.step + Math.random() * 2.0;
518 + break;
519 + case 3:
520 + word_size.left -= this.data.step * this.data.aspect_ratio + Math.random() * 2.0;
521 + break;
522 + case 0:
523 + word_size.top += this.data.step + Math.random() * 2.0;
524 + break;
525 + }
526 + }
527 + // Default settings: elliptic spiral shape
528 + else {
529 + radius += this.data.step;
530 + angle += (index % 2 === 0 ? 1 : -1) * this.data.step;
531 +
532 + word_size.left = this.options.center.x * this.options.width - (word_size.width / 2.0) + (radius * Math.cos(angle)) * this.data.aspect_ratio;
533 + word_size.top = this.options.center.y * this.options.height + radius * Math.sin(angle) - (word_size.height / 2.0);
534 + }
535 + word_style.left = word_size.left + 'px';
536 + word_style.top = word_size.top + 'px';
537 + }
538 +
539 + // Don't render word if part of it would be outside the container
540 + if (this.options.removeOverflowing && (
541 + word_size.left < 0 || word_size.top < 0 ||
542 + (word_size.left + word_size.width) > this.options.width ||
543 + (word_size.top + word_size.height) > this.options.height
544 + )
545 + ) {
546 + word_span.remove();
547 + return;
548 + }
549 +
550 + // Save position for further usage
551 + this.data.placed_words.push(word_size);
552 +
553 + if (typeof word.afterWordRender === 'function') {
554 + word.afterWordRender.call(word_span);
555 + }
556 + },
557 +
558 + // Draw one word then recall the function after a delay
559 + drawOneWordDelayed: function(index) {
560 + index = index || 0;
561 +
562 + // if not visible then do not attempt to draw
563 + if (!this.Xelement.is(':visible')) {
564 + this.createTimeout(XjQ.proxy(function() {
565 + this.drawOneWordDelayed(index);
566 + }, this), 10);
567 +
568 + return;
569 + }
570 +
571 + if (index < this.word_array.length) {
572 + this.drawOneWord(index, this.word_array[index]);
573 +
574 + this.createTimeout(XjQ.proxy(function() {
575 + this.drawOneWordDelayed(index + 1);
576 + }, this), this.options.delay);
577 + }
578 + else {
579 + if (typeof this.options.afterCloudRender == 'function') {
580 + this.options.afterCloudRender.call(this.Xelement);
581 + }
582 + }
583 + },
584 +
585 + // Destroy any data and objects added by the plugin
586 + destroy: function() {
587 + if (this.options.autoResize) {
588 + XjQ(window).off('resize.' + this.data.namespace);
589 + }
590 +
591 + this.clearTimeouts();
592 + this.Xelement.removeClass('jqcloud');
593 + this.Xelement.removeData('jqcloud');
594 + this.Xelement.children('[id^="' + this.data.namespace + '"]').remove();
595 + },
596 +
597 + // Update the list of words
598 + update: function(word_array) {
599 + this.word_array = word_array;
600 + this.data.placed_words = [];
601 +
602 + this.clearTimeouts();
603 + this.drawWordCloud();
604 + },
605 +
606 + resize: function() {
607 + var new_size = {
608 + width: this.Xelement.width(),
609 + height: this.Xelement.height()
610 + };
611 +
612 + if (new_size.width != this.options.width || new_size.height != this.options.height) {
613 + this.options.width = new_size.width;
614 + this.options.height = new_size.height;
615 + this.data.aspect_ratio = this.options.width / this.options.height;
616 +
617 + this.update(this.word_array);
618 + }
619 + },
620 +};
621 +
622 +/*
623 + * Apply throttling to a callback
624 + * @param callback {function}
625 + * @param delay {int} milliseconds
626 + * @param context {object|null}
627 + * @return {function}
628 + */
629 +function throttle(callback, delay, context) {
630 + var state = {
631 + pid: null,
632 + last: 0
633 + };
634 +
635 + return function() {
636 + var elapsed = new Date().getTime() - state.last,
637 + args = arguments,
638 + that = this;
639 +
640 + function exec() {
641 + state.last = new Date().getTime();
642 + return callback.apply(context || that, Array.prototype.slice.call(args));
643 + }
644 +
645 + if (elapsed > delay) {
646 + return exec();
647 + }
648 + else {
649 + clearTimeout(state.pid);
650 + state.pid = setTimeout(exec, delay - elapsed);
651 + }
652 + };
653 +}
654 +
655 +/*
656 + * jQuery plugin
657 + */
658 +XjQ.fn.jQCloud = function(word_array, option) {
659 + var args = arguments;
660 +
661 + return this.each(function() {
662 + var Xthis = XjQ(this),
663 + data = Xthis.data('jqcloud');
664 +
665 + if (!data && word_array === 'destroy') {
666 + // Don't even try to initialize when called with 'destroy'
667 + return;
668 + }
669 + if (!data) {
670 + var options = typeof option === 'object' ? option : {};
671 + Xthis.data('jqcloud', (data = new jQCloud(this, word_array, options)));
672 + }
673 + else if (typeof word_array === 'string') {
674 + data[word_array].apply(data, Array.prototype.slice.call(args, 1));
675 + }
676 + });
677 +};
678 +
679 +XjQ.fn.jQCloud.defaults = {
680 + set: function(options) {
681 + XjQ.extend(true, jQCloud.DEFAULTS, options);
682 + },
683 + get: function(key) {
684 + var options = jQCloud.DEFAULTS;
685 + if (key) {
686 + options = options[key];
687 + }
688 + return XjQ.extend(true, {}, options);
689 + }
690 +};
691 +
692 +var jQwords = [
693 + {text: "Druckvorschau", weight: 9, group: 'Designer', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
694 + {text: "Link im Formular", weight: 6, group: 'Designer', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
695 + {text: "Kalenderwidget anpassen", weight: 8, group: 'Designer', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
696 + {text: "Optionale Daten einer Auswahl mitspeichern (col Attribute)", weight: 4, group: 'Designer', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
697 + {text: "Aktion vor Absenden ausführen", weight: 5, group: 'Designer', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
698 + {text: "Absenden ohne Speichern", weight: 9, group: 'Designer', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
699 + {text: "Eigene Formularfeld-Validatoren (Regex)", weight: 10, group: 'Designer', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
700 + {text: "Wiederholende Felder (dynamic) im JS adressieren", weight: 10, group: 'Designer', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
701 + {text: "Events an dynamic Felder anhängen", weight: 9, group: 'Designer', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
702 + {text: "[Richtext-Editor (Ticket #4227)]", weight: 3, group: 'Designer', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
703 + {text: "Vorbelegung von Daten im Formular (extern)", weight: 9, group: 'Designer', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
704 + {text: "intiale Vorbelegung von Daten in Feldern", weight: 9, group: 'Designer', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
705 + {text: "Formularfelder mit LDAP-Daten vorbelegen (Ticket 3701)", weight: 3, group: 'Designer', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
706 + {text: "Formulareingaben zurücksetzen", weight: 7, group: 'Designer', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
707 + {text: "Formulardaten lokal speichern und später wieder laden (Ticket #3964)", weight: 8, group: 'Designer', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
708 + {text: "Formular zwischenspeichern", weight: 9, group: 'Designer', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
709 + {text: "Labeltext zur Laufzeit manipulieren (Ticket #3493)", weight: 5, group: 'Designer', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
710 + {text: "Mehrfachbedingungen im Designer", weight: 7, group: 'Designer', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
711 + {text: "zusätzliches JS und CSS in allen Formularen", weight: 8, group: 'Designer', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
712 + {text: "mehrseitige Formulare", weight: 9, group: 'Designer', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
713 + {text: "responive / mobile Ansicht", weight: 10, group: 'Designer', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
714 + {text: "andere Schriftart einbinden / Design ändern", weight: 9, group: 'Designer', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
715 + {text: "Java-Script API", weight: 8, group: 'Designer', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
716 +
717 + {text: "Datenquellen für Auswahllisten hinterlegen", weight: 8, group: 'Datenquellen', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
718 + {text: "Datenquellen in Auswahllisten anhand von Parametern hinterlegen", weight: 6, group: 'Datenquellen', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
719 + {text: "Leerer erster Eintrag bei SQL-Datenquelle (Ticket #4068)", weight: 5, group: 'Datenquellen', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
720 +
721 + {text: "Mehrfachbedingungen im Workflow", weight: 8, group: 'Statusverarbeitung', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
722 + {text: "Automatisiertes Löschen nach bestimmten Zeitraum", weight: 9, group: 'Statusverarbeitung', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
723 + {text: "Exportmöglichkeiten von Daten", weight: 6, group: 'Statusverarbeitung', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
724 + {text: "E-Mail Aktionen abhängig von Eingaben (Bedingungen) durchführen", weight: 8, group: 'Statusverarbeitung', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
725 + {text: "Bedingtes Einblenden von Elementen", weight: 7, group: 'Statusverarbeitung', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
726 + {text: "Mehrstufigen Workflow (Beispiel)", weight: 8, group: 'Statusverarbeitung', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
727 + {text: "Statuswechsel", weight: 10, group: 'Statusverarbeitung', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
728 + {text: "Vorgangs-ID im Druck (Word-Fill) anzeigen (Ticket #3813)", weight: 5, group: 'Statusverarbeitung', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
729 + {text: "iCal Datei erzeugen", weight: 3, group: 'Statusverarbeitung', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
730 + {text: "aktuelles Datum in der Verarbeitung", weight: 6, group: 'Statusverarbeitung', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
731 + {text: "Laufende Nummer aus Nummernkreis erzeugen (Ticket #3249)", weight: 3, group: 'Statusverarbeitung', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
732 + {text: "E-Mail-Versand", weight: 10, group: 'Statusverarbeitung', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
733 +
734 + {text: "Migrationsmöglichkeiten in Webseite", weight: 6, group: 'Abschlusseite', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
735 + {text: "Abschlussseite in Webseite anzeigen (inline)", weight: 5, group: 'Abschlusseite', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
736 + {text: "Generierte Dateien auf Abschlussseite anzeigen", weight: 7, group: 'Abschlusseite', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
737 + {text: "Benutzerdefinierte Abschlussseite", weight: 9, group: 'Abschlusseite', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
738 + {text: "Referenznummer (Ticket #3866)", weight: 5, group: 'Abschlusseite', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
739 +
740 + {text: "Vorgänge löschen", weight: 9, group: 'Posteingang', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
741 + {text: "Filtermöglichkeiten", weight: 8, group: 'Posteingang', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
742 + {text: "Stauswechsel im Postfach ermöglichen (notwendige Einstellungen)", weight: 6.5, group: 'Posteingang', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
743 + {text: "Postfach exportieren", weight: 7, group: 'Posteingang', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
744 + {text: "Berechtigungen/Sichtbarkeiten für Benutzer festlegen", weight: 6, group: 'Posteingang', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
745 +
746 + {text: "Update FORMCYCLE", weight: 4, group: 'Anderes', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
747 + {text: "Zugriffseinschränkung - Möglichkeiten", weight: 3, group: 'Anderes', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
748 + {text: "I-Frame automatisch Höhe anpassen", weight: 5, group: 'Anderes', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
749 + {text: "Daten aus Formular werden nicht gespeichert (Disablede Felder)", weight: 6, group: 'Anderes', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
750 + {text: "Double Opt-In", weight: 7, group: 'Anderes', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/UserInterface/MyForms/DoubleOptIn/'},
751 + {text: "[Übersicht von Lösungen bei Problemen mit z.B. DB (Ticket #3714, #3057)]", weight: 6, group: 'Anderes', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
752 + {text: "[Tomcat Zugriff HTTPS - Zertifikat-Einrichtung (Ticket #3295)]", weight: 5, group: 'Anderes', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
753 + {text: "Beispiele für Print CSS / Erläuterung was das PDF Print Plugin macht", weight: 7, group: 'Anderes', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
754 +];
755 +##http://mistic100.github.io/jQCloud/demo.html#handlers
756 +/*XjQ('#jQArea').jQCloud(jQwords, {
757 + classPattern: null,
758 + colors: ["#176694", "#3480AD", "#5398c1", "#76b2d6", "#7ca2b9", "#889fad", "#8e979c", "#929596", "#babbbb"],
759 + fontSize: ['16px','15px','15px','14px','14px','13px','13px','12px','12px'],
760 + //width: 500,
761 + height: 500
762 +});*/
763 +
764 +var jQButtons = XjQ('.jQButton');
765 +
766 +jQButtons.click(function() {
767 + if (XjQ(this).attr('active') == 'true') {
768 + XjQ('#jQArea').children('span[group="'+XjQ(this).attr('group')+'"]').each(jQTagInvisible);
769 + XjQ(this).attr('active', 'false');
770 + } else {
771 + XjQ('#jQArea').children('span[group="'+XjQ(this).attr('group')+'"]').each(jQTagVisible);
772 + XjQ(this).attr('active', 'true');
773 + }
774 +});
775 +function jQTagVisible() {
776 + XjQ(this).css('display', 'block');
777 +}
778 +function jQTagInvisible() {
779 + XjQ(this).css('display', 'none');
780 +}
781 +
782 +jQButtons.hover(function() {
783 + console.log("hover",XjQ(this));
784 + XjQ('#jQArea').children('span[group="'+XjQ(this).attr('group')+'"]').each(jQTagHighlighted);
785 +}, function() {
786 + console.log("unhover",XjQ(this));
787 + XjQ('#jQArea').children('span[group="'+XjQ(this).attr('group')+'"]').each(jQTagNotHighlighted);
788 +});
789 +function jQTagHighlighted() {
790 + XjQ(this).addClass('jqHighlight');
791 +}
792 +function jQTagNotHighlighted() {
793 + XjQ(this).removeClass('jqHighlight');
794 +}
795 +});
796 +</script>
797 +<!--
798 +<div class="row">
799 + <div class="d-none d-md-block col-lg-12 card-main">
800 + <div class="well" >
801 + <div id="jQButtons">
802 + <div id="jQBtn1" class="jQButton" group="Designer" active="true"><span class="jQButton-icon"></span>&nbsp;&nbsp;Designer</div>
803 + <div id="jQBtn1" class="jQButton" group="Datenquellen" active="true"><span class="jQButton-icon"></span>&nbsp;&nbsp;Datenquellen</div>
804 + <div id="jQBtn1" class="jQButton" group="Statusverarbeitung" active="true"><span class="jQButton-icon"></span>&nbsp;&nbsp;Statusverarbeitung</div>
805 + <div id="jQBtn1" class="jQButton" group="Abschlusseite" active="true"><span class="jQButton-icon"></span>&nbsp;&nbsp;Abschlusseite</div>
806 + <div id="jQBtn1" class="jQButton" group="Posteingang" active="true"><span class="jQButton-icon"></span>&nbsp;&nbsp;Posteingang</div>
807 + <div id="jQBtn1" class="jQButton" group="Anderes" active="true"><span class="jQButton-icon"></span>&nbsp;&nbsp;Anderes</div>
808 + </div>
809 + <div id="jQArea">
810 + </div>
811 + </div>
812 + </div>
813 +</div>
814 +-->
121 121  {{/html}}
122 122  {{/velocity}}
XWiki.XWikiRights[0]
Ebenen
... ... @@ -1,1 +1,1 @@
1 -view
1 +view,script
XWiki.XWikiRights[1]
Ebenen
... ... @@ -1,1 +1,1 @@
1 -view
1 +view,script
XWiki.XWikiRights[2]
Ebenen
... ... @@ -1,1 +1,1 @@
1 -view
1 +view,comment,edit,script,delete
Copyright 2000-2024