Subversion Repositories wimsdev

Rev

Rev 16272 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
11651 bpr 1
Variables reserved for dynamic insertions
2
 
3
:ins_align
4
dynamic insertion
5
defines the manner in which the inline picture
6
  is aligned with respect to the line. Possible values: bottom, middle or top.
7
  Default is empty (which means bottom).
8
 
9
:ins_attr
10
dynamic insertion
11
is used to define miscallaneous attributes of a
12
  dynamic insertion. Examples:
16272 bpr 13
  <pre>  ins_attr = alt="meaning"</pre>
14
  or
11651 bpr 15
  <pre>  ins_attr = align=middle</pre>
16
  (aligns the middle of the image with the baseline for the current
17
  textline), or
18
  <pre>  ins_attr = ismap</pre>
19
  (coordinates of the click will be passed back to the server; if the link
20
  of the element is the wims server, the coordinates will be registered
21
  under the variable ``no_name''.)
22
  $resetyes
23
 
24
:ins_border
25
dynamic insertion
26
is used to define border width of the html
27
  element ``IMG '' resulted from the dynamic insertion. Its value should be a positive
28
  number.
29
  $resetyes
30
 
31
:ins_density
32
dynamic insertion
33
is used to define the density of the dynamic
34
  insertions. Default value: ``100x100 ''.
17228 bpr 35
  <br>
11651 bpr 36
  <span class="wims_warning">Avoid using this variable!</span> We are planning to
37
  suppress it. Will be replaced by a server-managed variable.
38
 
39
:ins_format
40
dynamic insertion
41
can be used to determine the format of the
42
  graphics file of the dynamic insertion: its value should be either $emph
43
  gif'' or ``jpg''. The default value of this variable is
44
  ``gif'' (which can be changed by modifying the file $emph
17228 bpr 45
  wims.conf''; but such change is not recommended). <br>
11651 bpr 46
  Some types of dynamic insertions may not be affected by this variable.
47
 
48
:ins_quality
49
dynamic insertion
50
 is used to define quality of the graphics
51
  convertion used in dynamic insertions. Its value should be between 0 and
52
  100. Affects only dynamic insertions whose graphics format is jpg.
53
 
54
:ins_tag
55
dynamic insertion
56
 is used for dynamic insertions within a form.
17228 bpr 57
  In this case define<br>
11651 bpr 58
  <span class="tt">ins_tag=form </span>``name''
59
  where ``name'' is the name of the html element ``IMG ''
60
  within the form (optional).
61
  $resetyes
62
 
63
:insdraw_size
64
dynamic insertion
65
 is the size in pixels for the dynamic insertion.
16272 bpr 66
  <span class="tt">ins_filename</span>
67
  is the name of the graphics file of the dynamic insertion
11651 bpr 68
  (generated by wims). It must be taken just after the command !insdraw
69
 
70
:ins_url
71
dynamic insertion
16272 bpr 72
 is the url of the graphics file of the dynamic insertion.
73
It must be taken just after the command !insdraw
11651 bpr 74
 
75
:insplot_data
76
dynamic insertion
77
 is ...
78
:insplot_font
79
dynamic insertion
80
 is ...
81
:insplot_set
82
dynamic insertion
83
 is ...
84
:insplot_split
85
dynamic insertion
86
 is ...
87
:insplot_transparent
88
dynamic insertion
89
 is used to define transparent color for insertions. Default is empty (no transparency).
90
 Usual value: 255,255,255(white is transparent).