ooxml

Hex Artifact Content
Login

Hex Artifact Content

Artifact 2e75521984e18f6ca39d7c637c37984c70e14ab453e97c977a9028c5999754bd:


0000: 23 21 2f 62 69 6e 2f 73 68 0a 23 5c 0a 65 78 65  #!/bin/sh.#\.exe
0010: 63 20 74 63 6c 73 68 38 2e 36 20 22 24 30 22 20  c tclsh8.6 "$0" 
0020: 22 24 40 22 0a 0a 23 70 61 63 6b 61 67 65 20 72  "$@"..#package r
0030: 65 71 75 69 72 65 20 6f 6f 78 6d 6c 0a 73 6f 75  equire ooxml.sou
0040: 72 63 65 20 2e 2e 2f 6f 6f 78 6d 6c 2e 74 63 6c  rce ../ooxml.tcl
0050: 0a 0a 73 65 74 20 73 70 72 65 61 64 73 68 65 65  ..set spreadshee
0060: 74 20 5b 3a 3a 6f 6f 78 6d 6c 3a 3a 78 6c 5f 77  t [::ooxml::xl_w
0070: 72 69 74 65 20 6e 65 77 20 2d 63 72 65 61 74 6f  rite new -creato
0080: 72 20 7b 41 6c 65 78 61 6e 64 65 72 20 53 63 68  r {Alexander Sch
0090: c3 b6 70 65 7d 5d 0a 69 66 20 7b 5b 73 65 74 20  öpe}].if {[set 
00a0: 73 68 65 65 74 20 5b 24 73 70 72 65 61 64 73 68  sheet [$spreadsh
00b0: 65 65 74 20 77 6f 72 6b 73 68 65 65 74 20 7b 42  eet worksheet {B
00c0: 6c 61 74 74 20 31 7d 5d 5d 20 3e 20 2d 31 7d 20  latt 1}]] > -1} 
00d0: 7b 0a 20 20 73 65 74 20 62 6f 6c 64 20 5b 24 73  {.  set bold [$s
00e0: 70 72 65 61 64 73 68 65 65 74 20 73 74 79 6c 65  preadsheet style
00f0: 20 2d 66 6f 6e 74 20 5b 24 73 70 72 65 61 64 73   -font [$spreads
0100: 68 65 65 74 20 66 6f 6e 74 20 2d 62 6f 6c 64 5d  heet font -bold]
0110: 5d 0a 20 20 73 65 74 20 69 74 61 6c 69 63 20 5b  ].  set italic [
0120: 24 73 70 72 65 61 64 73 68 65 65 74 20 73 74 79  $spreadsheet sty
0130: 6c 65 20 2d 66 6f 6e 74 20 5b 24 73 70 72 65 61  le -font [$sprea
0140: 64 73 68 65 65 74 20 66 6f 6e 74 20 2d 69 74 61  dsheet font -ita
0150: 6c 69 63 5d 5d 0a 20 20 73 65 74 20 75 6e 64 65  lic]].  set unde
0160: 72 6c 69 6e 65 20 5b 24 73 70 72 65 61 64 73 68  rline [$spreadsh
0170: 65 65 74 20 73 74 79 6c 65 20 2d 66 6f 6e 74 20  eet style -font 
0180: 5b 24 73 70 72 65 61 64 73 68 65 65 74 20 66 6f  [$spreadsheet fo
0190: 6e 74 20 2d 75 6e 64 65 72 6c 69 6e 65 5d 5d 0a  nt -underline]].
01a0: 0a 20 20 73 65 74 20 72 65 64 20 5b 24 73 70 72  .  set red [$spr
01b0: 65 61 64 73 68 65 65 74 20 73 74 79 6c 65 20 2d  eadsheet style -
01c0: 66 6f 6e 74 20 5b 24 73 70 72 65 61 64 73 68 65  font [$spreadshe
01d0: 65 74 20 66 6f 6e 74 20 2d 63 6f 6c 6f 72 20 52  et font -color R
01e0: 65 64 5d 5d 0a 0a 20 20 73 65 74 20 66 6f 6e 74  ed]]..  set font
01f0: 39 20 5b 24 73 70 72 65 61 64 73 68 65 65 74 20  9 [$spreadsheet 
0200: 73 74 79 6c 65 20 2d 66 6f 6e 74 20 5b 24 73 70  style -font [$sp
0210: 72 65 61 64 73 68 65 65 74 20 66 6f 6e 74 20 2d  readsheet font -
0220: 73 69 7a 65 20 39 5d 5d 0a 20 20 73 65 74 20 66  size 9]].  set f
0230: 6f 6e 74 31 38 20 5b 24 73 70 72 65 61 64 73 68  ont18 [$spreadsh
0240: 65 65 74 20 73 74 79 6c 65 20 2d 66 6f 6e 74 20  eet style -font 
0250: 5b 24 73 70 72 65 61 64 73 68 65 65 74 20 66 6f  [$spreadsheet fo
0260: 6e 74 20 2d 73 69 7a 65 20 31 38 5d 5d 0a 0a 20  nt -size 18]].. 
0270: 20 73 65 74 20 72 6f 74 61 74 65 39 30 20 5b 24   set rotate90 [$
0280: 73 70 72 65 61 64 73 68 65 65 74 20 73 74 79 6c  spreadsheet styl
0290: 65 20 2d 72 6f 74 61 74 65 20 39 30 20 2d 68 6f  e -rotate 90 -ho
02a0: 72 69 7a 6f 6e 74 61 6c 20 63 65 6e 74 65 72 5d  rizontal center]
02b0: 0a 20 20 73 65 74 20 72 6f 74 61 74 65 34 35 20  .  set rotate45 
02c0: 5b 24 73 70 72 65 61 64 73 68 65 65 74 20 73 74  [$spreadsheet st
02d0: 79 6c 65 20 2d 72 6f 74 61 74 65 20 34 35 5d 0a  yle -rotate 45].
02e0: 0a 20 20 73 65 74 20 6c 65 66 74 20 5b 24 73 70  .  set left [$sp
02f0: 72 65 61 64 73 68 65 65 74 20 73 74 79 6c 65 20  readsheet style 
0300: 2d 68 6f 72 69 7a 6f 6e 74 61 6c 20 6c 65 66 74  -horizontal left
0310: 5d 0a 20 20 73 65 74 20 63 65 6e 74 65 72 20 5b  ].  set center [
0320: 24 73 70 72 65 61 64 73 68 65 65 74 20 73 74 79  $spreadsheet sty
0330: 6c 65 20 2d 68 6f 72 69 7a 6f 6e 74 61 6c 20 63  le -horizontal c
0340: 65 6e 74 65 72 5d 0a 20 20 73 65 74 20 72 69 67  enter].  set rig
0350: 68 74 20 5b 24 73 70 72 65 61 64 73 68 65 65 74  ht [$spreadsheet
0360: 20 73 74 79 6c 65 20 2d 68 6f 72 69 7a 6f 6e 74   style -horizont
0370: 61 6c 20 72 69 67 68 74 5d 0a 20 20 73 65 74 20  al right].  set 
0380: 74 6f 70 20 5b 24 73 70 72 65 61 64 73 68 65 65  top [$spreadshee
0390: 74 20 73 74 79 6c 65 20 2d 76 65 72 74 69 63 61  t style -vertica
03a0: 6c 20 74 6f 70 5d 0a 20 20 73 65 74 20 76 63 65  l top].  set vce
03b0: 6e 74 65 72 20 5b 24 73 70 72 65 61 64 73 68 65  nter [$spreadshe
03c0: 65 74 20 73 74 79 6c 65 20 2d 76 65 72 74 69 63  et style -vertic
03d0: 61 6c 20 63 65 6e 74 65 72 5d 0a 20 20 73 65 74  al center].  set
03e0: 20 62 6f 74 74 6f 6d 20 5b 24 73 70 72 65 61 64   bottom [$spread
03f0: 73 68 65 65 74 20 73 74 79 6c 65 20 2d 76 65 72  sheet style -ver
0400: 74 69 63 61 6c 20 62 6f 74 74 6f 6d 5d 0a 20 20  tical bottom].  
0410: 73 65 74 20 68 76 63 65 6e 74 65 72 20 5b 24 73  set hvcenter [$s
0420: 70 72 65 61 64 73 68 65 65 74 20 73 74 79 6c 65  preadsheet style
0430: 20 2d 68 6f 72 69 7a 6f 6e 74 61 6c 20 63 65 6e   -horizontal cen
0440: 74 65 72 20 2d 76 65 72 74 69 63 61 6c 20 63 65  ter -vertical ce
0450: 6e 74 65 72 5d 0a 0a 20 20 73 65 74 20 79 65 6c  nter]..  set yel
0460: 6c 6f 77 20 5b 24 73 70 72 65 61 64 73 68 65 65  low [$spreadshee
0470: 74 20 73 74 79 6c 65 20 2d 66 69 6c 6c 20 5b 24  t style -fill [$
0480: 73 70 72 65 61 64 73 68 65 65 74 20 66 69 6c 6c  spreadsheet fill
0490: 20 2d 66 67 63 6f 6c 6f 72 20 46 46 46 46 46 46   -fgcolor FFFFFF
04a0: 30 30 20 2d 62 67 63 6f 6c 6f 72 20 36 34 20 2d  00 -bgcolor 64 -
04b0: 70 61 74 74 65 72 6e 74 79 70 65 20 73 6f 6c 69  patterntype soli
04c0: 64 5d 5d 0a 0a 20 20 73 65 74 20 62 4c 65 66 74  d]]..  set bLeft
04d0: 20 5b 24 73 70 72 65 61 64 73 68 65 65 74 20 73   [$spreadsheet s
04e0: 74 79 6c 65 20 2d 62 6f 72 64 65 72 20 5b 24 73  tyle -border [$s
04f0: 70 72 65 61 64 73 68 65 65 74 20 62 6f 72 64 65  preadsheet borde
0500: 72 20 2d 6c 65 66 74 73 74 79 6c 65 20 74 68 69  r -leftstyle thi
0510: 6e 5d 5d 0a 20 20 73 65 74 20 62 42 6f 74 74 6f  n]].  set bBotto
0520: 6d 20 5b 24 73 70 72 65 61 64 73 68 65 65 74 20  m [$spreadsheet 
0530: 73 74 79 6c 65 20 2d 62 6f 72 64 65 72 20 5b 24  style -border [$
0540: 73 70 72 65 61 64 73 68 65 65 74 20 62 6f 72 64  spreadsheet bord
0550: 65 72 20 2d 62 6f 74 74 6f 6d 73 74 79 6c 65 20  er -bottomstyle 
0560: 74 68 69 6e 5d 5d 0a 20 20 73 65 74 20 62 42 6f  thin]].  set bBo
0570: 74 74 6f 6d 32 20 5b 24 73 70 72 65 61 64 73 68  ttom2 [$spreadsh
0580: 65 65 74 20 73 74 79 6c 65 20 2d 62 6f 72 64 65  eet style -borde
0590: 72 20 5b 24 73 70 72 65 61 64 73 68 65 65 74 20  r [$spreadsheet 
05a0: 62 6f 72 64 65 72 20 2d 62 6f 74 74 6f 6d 73 74  border -bottomst
05b0: 79 6c 65 20 64 6f 75 62 6c 65 5d 5d 0a 20 20 73  yle double]].  s
05c0: 65 74 20 62 42 6f 74 74 6f 6d 42 20 5b 24 73 70  et bBottomB [$sp
05d0: 72 65 61 64 73 68 65 65 74 20 73 74 79 6c 65 20  readsheet style 
05e0: 2d 62 6f 72 64 65 72 20 5b 24 73 70 72 65 61 64  -border [$spread
05f0: 73 68 65 65 74 20 62 6f 72 64 65 72 20 2d 62 6f  sheet border -bo
0600: 74 74 6f 6d 73 74 79 6c 65 20 6d 65 64 69 75 6d  ttomstyle medium
0610: 5d 5d 0a 20 20 73 65 74 20 62 42 6f 74 74 6f 6d  ]].  set bBottom
0620: 44 20 5b 24 73 70 72 65 61 64 73 68 65 65 74 20  D [$spreadsheet 
0630: 73 74 79 6c 65 20 2d 62 6f 72 64 65 72 20 5b 24  style -border [$
0640: 73 70 72 65 61 64 73 68 65 65 74 20 62 6f 72 64  spreadsheet bord
0650: 65 72 20 2d 62 6f 74 74 6f 6d 73 74 79 6c 65 20  er -bottomstyle 
0660: 64 61 73 68 65 64 5d 5d 0a 20 20 73 65 74 20 62  dashed]].  set b
0670: 44 69 61 67 6f 6e 61 6c 20 5b 24 73 70 72 65 61  Diagonal [$sprea
0680: 64 73 68 65 65 74 20 73 74 79 6c 65 20 2d 62 6f  dsheet style -bo
0690: 72 64 65 72 20 5b 24 73 70 72 65 61 64 73 68 65  rder [$spreadshe
06a0: 65 74 20 62 6f 72 64 65 72 20 2d 64 69 61 67 6f  et border -diago
06b0: 6e 61 6c 73 74 79 6c 65 20 6d 65 64 69 75 6d 20  nalstyle medium 
06c0: 2d 64 69 61 67 6f 6e 61 6c 64 69 72 65 63 74 69  -diagonaldirecti
06d0: 6f 6e 20 75 70 5d 5d 0a 0a 20 20 73 65 74 20 64  on up]]..  set d
06e0: 65 63 32 20 5b 24 73 70 72 65 61 64 73 68 65 65  ec2 [$spreadshee
06f0: 74 20 73 74 79 6c 65 20 2d 6e 75 6d 66 6d 74 20  t style -numfmt 
0700: 5b 24 73 70 72 65 61 64 73 68 65 65 74 20 6e 75  [$spreadsheet nu
0710: 6d 62 65 72 66 6f 72 6d 61 74 20 2d 64 65 63 69  mberformat -deci
0720: 6d 61 6c 5d 5d 0a 20 20 73 65 74 20 64 65 63 32  mal]].  set dec2
0730: 74 20 5b 24 73 70 72 65 61 64 73 68 65 65 74 20  t [$spreadsheet 
0740: 73 74 79 6c 65 20 2d 6e 75 6d 66 6d 74 20 5b 24  style -numfmt [$
0750: 73 70 72 65 61 64 73 68 65 65 74 20 6e 75 6d 62  spreadsheet numb
0760: 65 72 66 6f 72 6d 61 74 20 2d 64 65 63 69 6d 61  erformat -decima
0770: 6c 20 2d 73 65 70 61 72 61 74 6f 72 5d 5d 0a 20  l -separator]]. 
0780: 20 73 65 74 20 64 65 63 33 20 5b 24 73 70 72 65   set dec3 [$spre
0790: 61 64 73 68 65 65 74 20 73 74 79 6c 65 20 2d 6e  adsheet style -n
07a0: 75 6d 66 6d 74 20 5b 24 73 70 72 65 61 64 73 68  umfmt [$spreadsh
07b0: 65 65 74 20 6e 75 6d 62 65 72 66 6f 72 6d 61 74  eet numberformat
07c0: 20 2d 66 6f 72 6d 61 74 20 7b 23 2c 23 23 30 2e   -format {#,##0.
07d0: 30 30 30 7d 5d 5d 0a 20 20 73 65 74 20 64 65 63  000}]].  set dec
07e0: 33 74 20 5b 24 73 70 72 65 61 64 73 68 65 65 74  3t [$spreadsheet
07f0: 20 73 74 79 6c 65 20 2d 6e 75 6d 66 6d 74 20 5b   style -numfmt [
0800: 24 73 70 72 65 61 64 73 68 65 65 74 20 6e 75 6d  $spreadsheet num
0810: 62 65 72 66 6f 72 6d 61 74 20 2d 66 6f 72 6d 61  berformat -forma
0820: 74 20 7b 23 2c 23 23 30 2e 30 30 30 5f 20 3b 5b  t {#,##0.000_ ;[
0830: 52 65 64 5d 5c 2d 23 2c 23 23 30 2e 30 30 30 5c  Red]\-#,##0.000\
0840: 20 7d 5d 5d 0a 20 20 73 65 74 20 63 75 72 72 65   }]].  set curre
0850: 6e 63 79 20 5b 24 73 70 72 65 61 64 73 68 65 65  ncy [$spreadshee
0860: 74 20 73 74 79 6c 65 20 2d 6e 75 6d 66 6d 74 20  t style -numfmt 
0870: 5b 24 73 70 72 65 61 64 73 68 65 65 74 20 6e 75  [$spreadsheet nu
0880: 6d 62 65 72 66 6f 72 6d 61 74 20 2d 66 6f 72 6d  mberformat -form
0890: 61 74 20 7b 23 2c 23 23 30 2e 30 30 5c 20 22 e2  at {#,##0.00\ "â
08a0: 82 ac 22 7d 5d 5d 0a 20 20 73 65 74 20 69 73 6f  ‚¬"}]].  set iso
08b0: 38 36 30 31 20 5b 24 73 70 72 65 61 64 73 68 65  8601 [$spreadshe
08c0: 65 74 20 73 74 79 6c 65 20 2d 6e 75 6d 66 6d 74  et style -numfmt
08d0: 20 5b 24 73 70 72 65 61 64 73 68 65 65 74 20 6e   [$spreadsheet n
08e0: 75 6d 62 65 72 66 6f 72 6d 61 74 20 2d 69 73 6f  umberformat -iso
08f0: 38 36 30 31 5d 5d 0a 20 20 73 65 74 20 64 61 74  8601]].  set dat
0900: 65 20 5b 24 73 70 72 65 61 64 73 68 65 65 74 20  e [$spreadsheet 
0910: 73 74 79 6c 65 20 2d 6e 75 6d 66 6d 74 20 5b 24  style -numfmt [$
0920: 73 70 72 65 61 64 73 68 65 65 74 20 6e 75 6d 62  spreadsheet numb
0930: 65 72 66 6f 72 6d 61 74 20 2d 64 61 74 65 5d 5d  erformat -date]]
0940: 0a 20 20 73 65 74 20 64 61 74 65 32 20 5b 24 73  .  set date2 [$s
0950: 70 72 65 61 64 73 68 65 65 74 20 73 74 79 6c 65  preadsheet style
0960: 20 2d 6e 75 6d 66 6d 74 20 5b 24 73 70 72 65 61   -numfmt [$sprea
0970: 64 73 68 65 65 74 20 6e 75 6d 62 65 72 66 6f 72  dsheet numberfor
0980: 6d 61 74 20 2d 66 6f 72 6d 61 74 20 7b 5b 24 2d  mat -format {[$-
0990: 46 38 30 30 5d 64 64 64 64 5c 2c 5c 20 6d 6d 6d  F800]dddd\,\ mmm
09a0: 6d 5c 20 64 64 5c 2c 5c 20 79 79 79 79 7d 5d 5d  m\ dd\,\ yyyy}]]
09b0: 0a 20 20 73 65 74 20 64 61 74 65 33 20 5b 24 73  .  set date3 [$s
09c0: 70 72 65 61 64 73 68 65 65 74 20 73 74 79 6c 65  preadsheet style
09d0: 20 2d 6e 75 6d 66 6d 74 20 5b 24 73 70 72 65 61   -numfmt [$sprea
09e0: 64 73 68 65 65 74 20 6e 75 6d 62 65 72 66 6f 72  dsheet numberfor
09f0: 6d 61 74 20 2d 66 6f 72 6d 61 74 20 7b 5b 24 2d  mat -format {[$-
0a00: 34 30 37 5d 64 2f 5c 20 6d 6d 6d 6d 5c 20 79 79  407]d/\ mmmm\ yy
0a10: 79 79 3b 40 7d 5d 5d 0a 20 20 73 65 74 20 64 61  yy;@}]].  set da
0a20: 74 65 34 20 5b 24 73 70 72 65 61 64 73 68 65 65  te4 [$spreadshee
0a30: 74 20 73 74 79 6c 65 20 2d 6e 75 6d 66 6d 74 20  t style -numfmt 
0a40: 5b 24 73 70 72 65 61 64 73 68 65 65 74 20 6e 75  [$spreadsheet nu
0a50: 6d 62 65 72 66 6f 72 6d 61 74 20 2d 66 6f 72 6d  mberformat -form
0a60: 61 74 20 7b 64 2f 6d 2f 79 79 5c 20 68 3a 6d 6d  at {d/m/yy\ h:mm
0a70: 3b 40 7d 5d 5d 0a 20 20 73 65 74 20 74 69 6d 65  ;@}]].  set time
0a80: 20 5b 24 73 70 72 65 61 64 73 68 65 65 74 20 73   [$spreadsheet s
0a90: 74 79 6c 65 20 2d 6e 75 6d 66 6d 74 20 5b 24 73  tyle -numfmt [$s
0aa0: 70 72 65 61 64 73 68 65 65 74 20 6e 75 6d 62 65  preadsheet numbe
0ab0: 72 66 6f 72 6d 61 74 20 2d 74 69 6d 65 5d 5d 0a  rformat -time]].
0ac0: 20 20 73 65 74 20 74 69 6d 65 32 20 5b 24 73 70    set time2 [$sp
0ad0: 72 65 61 64 73 68 65 65 74 20 73 74 79 6c 65 20  readsheet style 
0ae0: 2d 6e 75 6d 66 6d 74 20 5b 24 73 70 72 65 61 64  -numfmt [$spread
0af0: 73 68 65 65 74 20 6e 75 6d 62 65 72 66 6f 72 6d  sheet numberform
0b00: 61 74 20 2d 66 6f 72 6d 61 74 20 7b 5b 24 2d 46  at -format {[$-F
0b10: 34 30 30 5d 68 3a 6d 6d 3a 73 73 5c 20 41 4d 2f  400]h:mm:ss\ AM/
0b20: 50 4d 7d 5d 5d 0a 20 20 73 65 74 20 70 65 72 63  PM}]].  set perc
0b30: 65 6e 74 20 5b 24 73 70 72 65 61 64 73 68 65 65  ent [$spreadshee
0b40: 74 20 73 74 79 6c 65 20 2d 6e 75 6d 66 6d 74 20  t style -numfmt 
0b50: 5b 24 73 70 72 65 61 64 73 68 65 65 74 20 6e 75  [$spreadsheet nu
0b60: 6d 62 65 72 66 6f 72 6d 61 74 20 2d 70 65 72 63  mberformat -perc
0b70: 65 6e 74 5d 5d 0a 20 20 73 65 74 20 70 65 72 63  ent]].  set perc
0b80: 65 6e 74 32 20 5b 24 73 70 72 65 61 64 73 68 65  ent2 [$spreadshe
0b90: 65 74 20 73 74 79 6c 65 20 2d 6e 75 6d 66 6d 74  et style -numfmt
0ba0: 20 5b 24 73 70 72 65 61 64 73 68 65 65 74 20 6e   [$spreadsheet n
0bb0: 75 6d 62 65 72 66 6f 72 6d 61 74 20 2d 66 6f 72  umberformat -for
0bc0: 6d 61 74 20 7b 30 2e 30 30 25 7d 5d 5d 0a 20 20  mat {0.00%}]].  
0bd0: 73 65 74 20 73 63 69 65 6e 74 69 66 69 63 20 5b  set scientific [
0be0: 24 73 70 72 65 61 64 73 68 65 65 74 20 73 74 79  $spreadsheet sty
0bf0: 6c 65 20 2d 6e 75 6d 66 6d 74 20 5b 24 73 70 72  le -numfmt [$spr
0c00: 65 61 64 73 68 65 65 74 20 6e 75 6d 62 65 72 66  eadsheet numberf
0c10: 6f 72 6d 61 74 20 2d 73 63 69 65 6e 74 69 66 69  ormat -scientifi
0c20: 63 5d 5d 0a 20 20 73 65 74 20 66 72 61 63 74 69  c]].  set fracti
0c30: 6f 6e 20 5b 24 73 70 72 65 61 64 73 68 65 65 74  on [$spreadsheet
0c40: 20 73 74 79 6c 65 20 2d 6e 75 6d 66 6d 74 20 5b   style -numfmt [
0c50: 24 73 70 72 65 61 64 73 68 65 65 74 20 6e 75 6d  $spreadsheet num
0c60: 62 65 72 66 6f 72 6d 61 74 20 2d 66 72 61 63 74  berformat -fract
0c70: 69 6f 6e 5d 5d 0a 20 20 73 65 74 20 66 72 61 63  ion]].  set frac
0c80: 74 69 6f 6e 32 20 5b 24 73 70 72 65 61 64 73 68  tion2 [$spreadsh
0c90: 65 65 74 20 73 74 79 6c 65 20 2d 6e 75 6d 66 6d  eet style -numfm
0ca0: 74 20 5b 24 73 70 72 65 61 64 73 68 65 65 74 20  t [$spreadsheet 
0cb0: 6e 75 6d 62 65 72 66 6f 72 6d 61 74 20 2d 66 6f  numberformat -fo
0cc0: 72 6d 61 74 20 7b 23 20 3f 3f 2f 3f 3f 7d 5d 5d  rmat {# ??/??}]]
0cd0: 0a 20 20 73 65 74 20 74 65 78 74 20 5b 24 73 70  .  set text [$sp
0ce0: 72 65 61 64 73 68 65 65 74 20 73 74 79 6c 65 20  readsheet style 
0cf0: 2d 6e 75 6d 66 6d 74 20 5b 24 73 70 72 65 61 64  -numfmt [$spread
0d00: 73 68 65 65 74 20 6e 75 6d 62 65 72 66 6f 72 6d  sheet numberform
0d10: 61 74 20 2d 73 74 72 69 6e 67 5d 5d 0a 0a 20 20  at -string]]..  
0d20: 24 73 70 72 65 61 64 73 68 65 65 74 20 63 6f 6c  $spreadsheet col
0d30: 75 6d 6e 20 24 73 68 65 65 74 20 2d 69 6e 64 65  umn $sheet -inde
0d40: 78 20 30 20 2d 77 69 64 74 68 20 31 37 2e 33 33  x 0 -width 17.33
0d50: 32 30 33 31 32 35 20 2d 62 65 73 74 66 69 74 0a  203125 -bestfit.
0d60: 20 20 24 73 70 72 65 61 64 73 68 65 65 74 20 63    $spreadsheet c
0d70: 6f 6c 75 6d 6e 20 24 73 68 65 65 74 20 2d 69 6e  olumn $sheet -in
0d80: 64 65 78 20 31 20 2d 77 69 64 74 68 20 32 30 2e  dex 1 -width 20.
0d90: 35 20 2d 62 65 73 74 66 69 74 0a 20 20 24 73 70  5 -bestfit.  $sp
0da0: 72 65 61 64 73 68 65 65 74 20 63 6f 6c 75 6d 6e  readsheet column
0db0: 20 24 73 68 65 65 74 20 2d 69 6e 64 65 78 20 34   $sheet -index 4
0dc0: 20 2d 77 69 64 74 68 20 33 31 2e 31 36 34 30 36   -width 31.16406
0dd0: 32 35 20 2d 62 65 73 74 66 69 74 0a 20 20 24 73  25 -bestfit.  $s
0de0: 70 72 65 61 64 73 68 65 65 74 20 63 6f 6c 75 6d  preadsheet colum
0df0: 6e 20 24 73 68 65 65 74 20 2d 69 6e 64 65 78 20  n $sheet -index 
0e00: 37 20 2d 77 69 64 74 68 20 31 31 2e 31 36 34 30  7 -width 11.1640
0e10: 36 32 35 20 2d 62 65 73 74 66 69 74 20 3b 23 20  625 -bestfit ;# 
0e20: 2d 73 74 79 6c 65 20 31 39 0a 20 20 24 73 70 72  -style 19.  $spr
0e30: 65 61 64 73 68 65 65 74 20 63 6f 6c 75 6d 6e 20  eadsheet column 
0e40: 24 73 68 65 65 74 20 2d 69 6e 64 65 78 20 38 20  $sheet -index 8 
0e50: 3b 23 20 2d 73 74 79 6c 65 20 31 35 0a 0a 20 20  ;# -style 15..  
0e60: 24 73 70 72 65 61 64 73 68 65 65 74 20 63 65 6c  $spreadsheet cel
0e70: 6c 20 24 73 68 65 65 74 20 53 74 61 6e 64 61 72  l $sheet Standar
0e80: 64 20 2d 69 6e 64 65 78 20 30 2c 30 20 2d 73 74  d -index 0,0 -st
0e90: 72 69 6e 67 0a 20 20 24 73 70 72 65 61 64 73 68  ring.  $spreadsh
0ea0: 65 65 74 20 63 65 6c 6c 20 24 73 68 65 65 74 20  eet cell $sheet 
0eb0: 33 2e 31 34 31 35 20 2d 69 6e 64 65 78 20 30 2c  3.1415 -index 0,
0ec0: 31 0a 20 20 24 73 70 72 65 61 64 73 68 65 65 74  1.  $spreadsheet
0ed0: 20 63 65 6c 6c 20 24 73 68 65 65 74 20 31 20 2d   cell $sheet 1 -
0ee0: 69 6e 64 65 78 20 30 2c 38 20 3b 23 20 2d 73 74  index 0,8 ;# -st
0ef0: 79 6c 65 20 31 35 0a 0a 20 20 24 73 70 72 65 61  yle 15..  $sprea
0f00: 64 73 68 65 65 74 20 63 65 6c 6c 20 24 73 68 65  dsheet cell $she
0f10: 65 74 20 53 74 61 6e 64 61 72 64 20 2d 69 6e 64  et Standard -ind
0f20: 65 78 20 31 2c 30 20 2d 73 74 72 69 6e 67 0a 20  ex 1,0 -string. 
0f30: 20 24 73 70 72 65 61 64 73 68 65 65 74 20 63 65   $spreadsheet ce
0f40: 6c 6c 20 24 73 68 65 65 74 20 54 65 78 74 20 2d  ll $sheet Text -
0f50: 69 6e 64 65 78 20 31 2c 31 20 2d 73 74 72 69 6e  index 1,1 -strin
0f60: 67 0a 0a 20 20 24 73 70 72 65 61 64 73 68 65 65  g..  $spreadshee
0f70: 74 20 63 65 6c 6c 20 24 73 68 65 65 74 20 7b 5a  t cell $sheet {Z
0f80: 61 68 6c 20 32 7d 20 2d 69 6e 64 65 78 20 32 2c  ahl 2} -index 2,
0f90: 30 20 2d 73 74 72 69 6e 67 0a 20 20 24 73 70 72  0 -string.  $spr
0fa0: 65 61 64 73 68 65 65 74 20 63 65 6c 6c 20 24 73  eadsheet cell $s
0fb0: 68 65 65 74 20 33 2e 31 34 31 35 20 2d 69 6e 64  heet 3.1415 -ind
0fc0: 65 78 20 32 2c 31 20 2d 73 74 79 6c 65 20 24 64  ex 2,1 -style $d
0fd0: 65 63 32 0a 20 20 24 73 70 72 65 61 64 73 68 65  ec2.  $spreadshe
0fe0: 65 74 20 63 65 6c 6c 20 24 73 68 65 65 74 20 31  et cell $sheet 1
0ff0: 20 2d 69 6e 64 65 78 20 32 2c 32 0a 20 20 24 73   -index 2,2.  $s
1000: 70 72 65 61 64 73 68 65 65 74 20 63 65 6c 6c 20  preadsheet cell 
1010: 24 73 68 65 65 74 20 32 20 2d 69 6e 64 65 78 20  $sheet 2 -index 
1020: 32 2c 33 0a 20 20 24 73 70 72 65 61 64 73 68 65  2,3.  $spreadshe
1030: 65 74 20 63 65 6c 6c 20 24 73 68 65 65 74 20 30  et cell $sheet 0
1040: 2e 30 30 20 2d 69 6e 64 65 78 20 32 2c 34 20 2d  .00 -index 2,4 -
1050: 73 74 72 69 6e 67 20 3b 23 20 2d 73 74 79 6c 65  string ;# -style
1060: 20 31 35 0a 0a 20 20 24 73 70 72 65 61 64 73 68   15..  $spreadsh
1070: 65 65 74 20 63 65 6c 6c 20 24 73 68 65 65 74 20  eet cell $sheet 
1080: 7b 5a 61 68 6c 20 32 20 54 7d 20 2d 69 6e 64 65  {Zahl 2 T} -inde
1090: 78 20 33 2c 30 20 2d 73 74 72 69 6e 67 0a 20 20  x 3,0 -string.  
10a0: 24 73 70 72 65 61 64 73 68 65 65 74 20 63 65 6c  $spreadsheet cel
10b0: 6c 20 24 73 68 65 65 74 20 33 2e 31 34 31 35 20  l $sheet 3.1415 
10c0: 2d 69 6e 64 65 78 20 33 2c 31 20 2d 73 74 79 6c  -index 3,1 -styl
10d0: 65 20 24 64 65 63 32 74 0a 20 20 24 73 70 72 65  e $dec2t.  $spre
10e0: 61 64 73 68 65 65 74 20 63 65 6c 6c 20 24 73 68  adsheet cell $sh
10f0: 65 65 74 20 32 20 2d 69 6e 64 65 78 20 33 2c 32  eet 2 -index 3,2
1100: 0a 20 20 24 73 70 72 65 61 64 73 68 65 65 74 20  .  $spreadsheet 
1110: 63 65 6c 6c 20 24 73 68 65 65 74 20 34 20 2d 69  cell $sheet 4 -i
1120: 6e 64 65 78 20 33 2c 33 0a 20 20 24 73 70 72 65  ndex 3,3.  $spre
1130: 61 64 73 68 65 65 74 20 63 65 6c 6c 20 24 73 68  adsheet cell $sh
1140: 65 65 74 20 23 2c 23 23 30 2e 30 30 20 2d 69 6e  eet #,##0.00 -in
1150: 64 65 78 20 33 2c 34 20 2d 73 74 72 69 6e 67 0a  dex 3,4 -string.
1160: 20 20 24 73 70 72 65 61 64 73 68 65 65 74 20 63    $spreadsheet c
1170: 65 6c 6c 20 24 73 68 65 65 74 20 7b 32 30 31 38  ell $sheet {2018
1180: 2d 30 32 2d 30 39 20 31 36 3a 31 37 3a 30 30 7d  -02-09 16:17:00}
1190: 20 2d 69 6e 64 65 78 20 33 2c 37 20 2d 73 74 79   -index 3,7 -sty
11a0: 6c 65 20 24 64 61 74 65 34 0a 0a 20 20 24 73 70  le $date4..  $sp
11b0: 72 65 61 64 73 68 65 65 74 20 63 65 6c 6c 20 24  readsheet cell $
11c0: 73 68 65 65 74 20 7b 5a 61 68 6c 20 33 7d 20 2d  sheet {Zahl 3} -
11d0: 69 6e 64 65 78 20 34 2c 30 20 2d 73 74 72 69 6e  index 4,0 -strin
11e0: 67 0a 20 20 24 73 70 72 65 61 64 73 68 65 65 74  g.  $spreadsheet
11f0: 20 63 65 6c 6c 20 24 73 68 65 65 74 20 33 2e 31   cell $sheet 3.1
1200: 34 31 35 20 2d 69 6e 64 65 78 20 34 2c 31 20 2d  415 -index 4,1 -
1210: 73 74 79 6c 65 20 24 64 65 63 33 0a 20 20 24 73  style $dec3.  $s
1220: 70 72 65 61 64 73 68 65 65 74 20 63 65 6c 6c 20  preadsheet cell 
1230: 24 73 68 65 65 74 20 31 37 20 2d 69 6e 64 65 78  $sheet 17 -index
1240: 20 34 2c 32 0a 20 20 24 73 70 72 65 61 64 73 68   4,2.  $spreadsh
1250: 65 65 74 20 63 65 6c 6c 20 24 73 68 65 65 74 20  eet cell $sheet 
1260: 31 37 34 20 2d 69 6e 64 65 78 20 34 2c 33 0a 20  174 -index 4,3. 
1270: 20 24 73 70 72 65 61 64 73 68 65 65 74 20 63 65   $spreadsheet ce
1280: 6c 6c 20 24 73 68 65 65 74 20 23 2c 23 23 30 2e  ll $sheet #,##0.
1290: 30 30 30 20 2d 69 6e 64 65 78 20 34 2c 34 20 2d  000 -index 4,4 -
12a0: 73 74 72 69 6e 67 0a 0a 20 20 24 73 70 72 65 61  string..  $sprea
12b0: 64 73 68 65 65 74 20 63 65 6c 6c 20 24 73 68 65  dsheet cell $she
12c0: 65 74 20 7b 5a 61 68 6c 20 33 20 43 7d 20 2d 69  et {Zahl 3 C} -i
12d0: 6e 64 65 78 20 35 2c 30 20 2d 73 74 72 69 6e 67  ndex 5,0 -string
12e0: 0a 20 20 24 73 70 72 65 61 64 73 68 65 65 74 20  .  $spreadsheet 
12f0: 63 65 6c 6c 20 24 73 68 65 65 74 20 2d 33 2e 31  cell $sheet -3.1
1300: 34 31 35 20 2d 69 6e 64 65 78 20 35 2c 31 20 2d  415 -index 5,1 -
1310: 73 74 79 6c 65 20 24 64 65 63 33 74 0a 20 20 24  style $dec3t.  $
1320: 73 70 72 65 61 64 73 68 65 65 74 20 63 65 6c 6c  spreadsheet cell
1330: 20 24 73 68 65 65 74 20 31 36 20 2d 69 6e 64 65   $sheet 16 -inde
1340: 78 20 35 2c 32 0a 20 20 24 73 70 72 65 61 64 73  x 5,2.  $spreads
1350: 68 65 65 74 20 63 65 6c 6c 20 24 73 68 65 65 74  heet cell $sheet
1360: 20 31 37 33 20 2d 69 6e 64 65 78 20 35 2c 33 0a   173 -index 5,3.
1370: 20 20 24 73 70 72 65 61 64 73 68 65 65 74 20 63    $spreadsheet c
1380: 65 6c 6c 20 24 73 68 65 65 74 20 7b 23 2c 23 23  ell $sheet {#,##
1390: 30 2e 30 30 30 5f 20 3b 5b 52 65 64 5d 5c 2d 23  0.000_ ;[Red]\-#
13a0: 2c 23 23 30 2e 30 30 30 5c 20 7d 20 2d 69 6e 64  ,##0.000\ } -ind
13b0: 65 78 20 35 2c 34 20 2d 73 74 72 69 6e 67 0a 0a  ex 5,4 -string..
13c0: 20 20 24 73 70 72 65 61 64 73 68 65 65 74 20 63    $spreadsheet c
13d0: 65 6c 6c 20 24 73 68 65 65 74 20 57 c3 a4 68 72  ell $sheet Währ
13e0: 75 6e 67 20 2d 69 6e 64 65 78 20 36 2c 30 20 2d  ung -index 6,0 -
13f0: 73 74 72 69 6e 67 0a 20 20 24 73 70 72 65 61 64  string.  $spread
1400: 73 68 65 65 74 20 63 65 6c 6c 20 24 73 68 65 65  sheet cell $shee
1410: 74 20 33 2e 31 34 31 35 20 2d 69 6e 64 65 78 20  t 3.1415 -index 
1420: 36 2c 31 20 2d 73 74 79 6c 65 20 24 63 75 72 72  6,1 -style $curr
1430: 65 6e 63 79 0a 20 20 24 73 70 72 65 61 64 73 68  ency.  $spreadsh
1440: 65 65 74 20 63 65 6c 6c 20 24 73 68 65 65 74 20  eet cell $sheet 
1450: 33 20 2d 69 6e 64 65 78 20 36 2c 32 0a 20 20 24  3 -index 6,2.  $
1460: 73 70 72 65 61 64 73 68 65 65 74 20 63 65 6c 6c  spreadsheet cell
1470: 20 24 73 68 65 65 74 20 31 36 36 20 2d 69 6e 64   $sheet 166 -ind
1480: 65 78 20 36 2c 33 0a 20 20 24 73 70 72 65 61 64  ex 6,3.  $spread
1490: 73 68 65 65 74 20 63 65 6c 6c 20 24 73 68 65 65  sheet cell $shee
14a0: 74 20 7b 23 2c 23 23 30 2e 30 30 5c 20 22 e2 82  t {#,##0.00\ "â‚
14b0: ac 22 7d 20 2d 69 6e 64 65 78 20 36 2c 34 20 2d  ¬"} -index 6,4 -
14c0: 73 74 72 69 6e 67 0a 0a 20 20 24 73 70 72 65 61  string..  $sprea
14d0: 64 73 68 65 65 74 20 63 65 6c 6c 20 24 73 68 65  dsheet cell $she
14e0: 65 74 20 74 74 2e 6d 6d 2e 6a 6a 20 2d 69 6e 64  et tt.mm.jj -ind
14f0: 65 78 20 37 2c 30 20 2d 73 74 72 69 6e 67 0a 20  ex 7,0 -string. 
1500: 20 24 73 70 72 65 61 64 73 68 65 65 74 20 63 65   $spreadsheet ce
1510: 6c 6c 20 24 73 68 65 65 74 20 7b 32 30 31 38 2d  ll $sheet {2018-
1520: 30 32 2d 30 39 20 31 36 3a 31 37 3a 30 30 7d 20  02-09 16:17:00} 
1530: 2d 69 6e 64 65 78 20 37 2c 31 20 2d 73 74 79 6c  -index 7,1 -styl
1540: 65 20 24 64 61 74 65 0a 20 20 24 73 70 72 65 61  e $date.  $sprea
1550: 64 73 68 65 65 74 20 63 65 6c 6c 20 24 73 68 65  dsheet cell $she
1560: 65 74 20 34 20 2d 69 6e 64 65 78 20 37 2c 32 0a  et 4 -index 7,2.
1570: 20 20 24 73 70 72 65 61 64 73 68 65 65 74 20 63    $spreadsheet c
1580: 65 6c 6c 20 24 73 68 65 65 74 20 31 34 20 2d 69  ell $sheet 14 -i
1590: 6e 64 65 78 20 37 2c 33 0a 20 20 24 73 70 72 65  ndex 7,3.  $spre
15a0: 61 64 73 68 65 65 74 20 63 65 6c 6c 20 24 73 68  adsheet cell $sh
15b0: 65 65 74 20 6d 6d 2d 64 64 2d 79 79 20 2d 69 6e  eet mm-dd-yy -in
15c0: 64 65 78 20 37 2c 34 20 2d 73 74 72 69 6e 67 0a  dex 7,4 -string.
15d0: 0a 20 20 24 73 70 72 65 61 64 73 68 65 65 74 20  .  $spreadsheet 
15e0: 63 65 6c 6c 20 24 73 68 65 65 74 20 7b 74 74 74  cell $sheet {ttt
15f0: 74 2c 20 74 2e 6d 6d 6d 6d 2e 6a 6a 7d 20 2d 69  t, t.mmmm.jj} -i
1600: 6e 64 65 78 20 38 2c 30 20 2d 73 74 72 69 6e 67  ndex 8,0 -string
1610: 0a 20 20 24 73 70 72 65 61 64 73 68 65 65 74 20  .  $spreadsheet 
1620: 63 65 6c 6c 20 24 73 68 65 65 74 20 7b 32 30 31  cell $sheet {201
1630: 38 2d 30 32 2d 30 39 20 31 36 3a 31 37 3a 30 30  8-02-09 16:17:00
1640: 7d 20 2d 69 6e 64 65 78 20 38 2c 31 20 2d 73 74  } -index 8,1 -st
1650: 79 6c 65 20 24 64 61 74 65 32 0a 20 20 24 73 70  yle $date2.  $sp
1660: 72 65 61 64 73 68 65 65 74 20 63 65 6c 6c 20 24  readsheet cell $
1670: 73 68 65 65 74 20 35 20 2d 69 6e 64 65 78 20 38  sheet 5 -index 8
1680: 2c 32 0a 20 20 24 73 70 72 65 61 64 73 68 65 65  ,2.  $spreadshee
1690: 74 20 63 65 6c 6c 20 24 73 68 65 65 74 20 31 36  t cell $sheet 16
16a0: 37 20 2d 69 6e 64 65 78 20 38 2c 33 0a 20 20 24  7 -index 8,3.  $
16b0: 73 70 72 65 61 64 73 68 65 65 74 20 63 65 6c 6c  spreadsheet cell
16c0: 20 24 73 68 65 65 74 20 7b 5b 24 2d 46 38 30 30   $sheet {[$-F800
16d0: 5d 64 64 64 64 5c 2c 5c 20 6d 6d 6d 6d 5c 20 64  ]dddd\,\ mmmm\ d
16e0: 64 5c 2c 5c 20 79 79 79 79 7d 20 2d 69 6e 64 65  d\,\ yyyy} -inde
16f0: 78 20 38 2c 34 20 2d 73 74 72 69 6e 67 0a 0a 20  x 8,4 -string.. 
1700: 20 24 73 70 72 65 61 64 73 68 65 65 74 20 63 65   $spreadsheet ce
1710: 6c 6c 20 24 73 68 65 65 74 20 74 2e 6d 6d 6d 6d  ll $sheet t.mmmm
1720: 2e 6a 6a 6a 6a 20 2d 69 6e 64 65 78 20 39 2c 30  .jjjj -index 9,0
1730: 20 2d 73 74 72 69 6e 67 0a 20 20 24 73 70 72 65   -string.  $spre
1740: 61 64 73 68 65 65 74 20 63 65 6c 6c 20 24 73 68  adsheet cell $sh
1750: 65 65 74 20 7b 32 30 31 38 2d 30 32 2d 30 39 20  eet {2018-02-09 
1760: 31 36 3a 31 37 3a 30 30 7d 20 2d 69 6e 64 65 78  16:17:00} -index
1770: 20 39 2c 31 20 2d 73 74 79 6c 65 20 24 64 61 74   9,1 -style $dat
1780: 65 33 0a 20 20 24 73 70 72 65 61 64 73 68 65 65  e3.  $spreadshee
1790: 74 20 63 65 6c 6c 20 24 73 68 65 65 74 20 36 20  t cell $sheet 6 
17a0: 2d 69 6e 64 65 78 20 39 2c 32 0a 20 20 24 73 70  -index 9,2.  $sp
17b0: 72 65 61 64 73 68 65 65 74 20 63 65 6c 6c 20 24  readsheet cell $
17c0: 73 68 65 65 74 20 31 36 38 20 2d 69 6e 64 65 78  sheet 168 -index
17d0: 20 39 2c 33 0a 20 20 24 73 70 72 65 61 64 73 68   9,3.  $spreadsh
17e0: 65 65 74 20 63 65 6c 6c 20 24 73 68 65 65 74 20  eet cell $sheet 
17f0: 7b 5b 24 2d 34 30 37 5d 64 2f 5c 20 6d 6d 6d 6d  {[$-407]d/\ mmmm
1800: 5c 20 79 79 79 79 3b 40 7d 20 2d 69 6e 64 65 78  \ yyyy;@} -index
1810: 20 39 2c 34 20 2d 73 74 72 69 6e 67 0a 0a 20 20   9,4 -string..  
1820: 24 73 70 72 65 61 64 73 68 65 65 74 20 63 65 6c  $spreadsheet cel
1830: 6c 20 24 73 68 65 65 74 20 68 68 3a 6d 6d 3a 73  l $sheet hh:mm:s
1840: 73 20 2d 69 6e 64 65 78 20 31 30 2c 30 20 2d 73  s -index 10,0 -s
1850: 74 72 69 6e 67 0a 20 20 24 73 70 72 65 61 64 73  tring.  $spreads
1860: 68 65 65 74 20 63 65 6c 6c 20 24 73 68 65 65 74  heet cell $sheet
1870: 20 7b 32 30 31 38 2d 30 32 2d 30 39 20 31 36 3a   {2018-02-09 16:
1880: 31 37 3a 30 30 7d 20 2d 69 6e 64 65 78 20 31 30  17:00} -index 10
1890: 2c 31 20 2d 73 74 79 6c 65 20 24 74 69 6d 65 32  ,1 -style $time2
18a0: 0a 20 20 24 73 70 72 65 61 64 73 68 65 65 74 20  .  $spreadsheet 
18b0: 63 65 6c 6c 20 24 73 68 65 65 74 20 37 20 2d 69  cell $sheet 7 -i
18c0: 6e 64 65 78 20 31 30 2c 32 0a 20 20 24 73 70 72  ndex 10,2.  $spr
18d0: 65 61 64 73 68 65 65 74 20 63 65 6c 6c 20 24 73  eadsheet cell $s
18e0: 68 65 65 74 20 31 36 39 20 2d 69 6e 64 65 78 20  heet 169 -index 
18f0: 31 30 2c 33 0a 20 20 24 73 70 72 65 61 64 73 68  10,3.  $spreadsh
1900: 65 65 74 20 63 65 6c 6c 20 24 73 68 65 65 74 20  eet cell $sheet 
1910: 7b 5b 24 2d 46 34 30 30 5d 68 3a 6d 6d 3a 73 73  {[$-F400]h:mm:ss
1920: 5c 20 41 4d 2f 50 4d 7d 20 2d 69 6e 64 65 78 20  \ AM/PM} -index 
1930: 31 30 2c 34 20 2d 73 74 72 69 6e 67 0a 0a 20 20  10,4 -string..  
1940: 24 73 70 72 65 61 64 73 68 65 65 74 20 63 65 6c  $spreadsheet cel
1950: 6c 20 24 73 68 65 65 74 20 68 68 3a 6d 6d 20 2d  l $sheet hh:mm -
1960: 69 6e 64 65 78 20 31 31 2c 30 20 2d 73 74 72 69  index 11,0 -stri
1970: 6e 67 0a 20 20 24 73 70 72 65 61 64 73 68 65 65  ng.  $spreadshee
1980: 74 20 63 65 6c 6c 20 24 73 68 65 65 74 20 7b 32  t cell $sheet {2
1990: 30 31 38 2d 30 32 2d 30 39 20 31 36 3a 31 37 3a  018-02-09 16:17:
19a0: 30 30 7d 20 2d 69 6e 64 65 78 20 31 31 2c 31 20  00} -index 11,1 
19b0: 2d 73 74 79 6c 65 20 24 74 69 6d 65 0a 20 20 24  -style $time.  $
19c0: 73 70 72 65 61 64 73 68 65 65 74 20 63 65 6c 6c  spreadsheet cell
19d0: 20 24 73 68 65 65 74 20 38 20 2d 69 6e 64 65 78   $sheet 8 -index
19e0: 20 31 31 2c 32 0a 20 20 24 73 70 72 65 61 64 73   11,2.  $spreads
19f0: 68 65 65 74 20 63 65 6c 6c 20 24 73 68 65 65 74  heet cell $sheet
1a00: 20 31 37 30 20 2d 69 6e 64 65 78 20 31 31 2c 33   170 -index 11,3
1a10: 0a 20 20 24 73 70 72 65 61 64 73 68 65 65 74 20  .  $spreadsheet 
1a20: 63 65 6c 6c 20 24 73 68 65 65 74 20 7b 68 3a 6d  cell $sheet {h:m
1a30: 6d 3b 40 7d 20 2d 69 6e 64 65 78 20 31 31 2c 34  m;@} -index 11,4
1a40: 20 2d 73 74 72 69 6e 67 0a 0a 20 20 24 73 70 72   -string..  $spr
1a50: 65 61 64 73 68 65 65 74 20 63 65 6c 6c 20 24 73  eadsheet cell $s
1a60: 68 65 65 74 20 7b 6a 6a 6a 6a 2d 6d 6d 2d 74 74  heet {jjjj-mm-tt
1a70: 20 68 68 3a 6d 6d 3a 73 73 7d 20 2d 69 6e 64 65   hh:mm:ss} -inde
1a80: 78 20 31 32 2c 30 20 2d 73 74 72 69 6e 67 0a 20  x 12,0 -string. 
1a90: 20 24 73 70 72 65 61 64 73 68 65 65 74 20 63 65   $spreadsheet ce
1aa0: 6c 6c 20 24 73 68 65 65 74 20 7b 32 30 31 38 2d  ll $sheet {2018-
1ab0: 30 32 2d 30 39 20 31 36 3a 31 37 3a 30 30 7d 20  02-09 16:17:00} 
1ac0: 2d 69 6e 64 65 78 20 31 32 2c 31 20 2d 73 74 79  -index 12,1 -sty
1ad0: 6c 65 20 24 69 73 6f 38 36 30 31 0a 20 20 24 73  le $iso8601.  $s
1ae0: 70 72 65 61 64 73 68 65 65 74 20 63 65 6c 6c 20  preadsheet cell 
1af0: 24 73 68 65 65 74 20 39 20 2d 69 6e 64 65 78 20  $sheet 9 -index 
1b00: 31 32 2c 32 0a 20 20 24 73 70 72 65 61 64 73 68  12,2.  $spreadsh
1b10: 65 65 74 20 63 65 6c 6c 20 24 73 68 65 65 74 20  eet cell $sheet 
1b20: 31 37 31 20 2d 69 6e 64 65 78 20 31 32 2c 33 0a  171 -index 12,3.
1b30: 20 20 24 73 70 72 65 61 64 73 68 65 65 74 20 63    $spreadsheet c
1b40: 65 6c 6c 20 24 73 68 65 65 74 20 7b 79 79 79 79  ell $sheet {yyyy
1b50: 5c 2d 6d 6d 5c 2d 64 64 5c 20 68 68 3a 6d 6d 3a  \-mm\-dd\ hh:mm:
1b60: 73 73 3b 40 7d 20 2d 69 6e 64 65 78 20 31 32 2c  ss;@} -index 12,
1b70: 34 20 2d 73 74 72 69 6e 67 0a 0a 20 20 24 73 70  4 -string..  $sp
1b80: 72 65 61 64 73 68 65 65 74 20 63 65 6c 6c 20 24  readsheet cell $
1b90: 73 68 65 65 74 20 7b 50 72 6f 7a 65 6e 74 20 32  sheet {Prozent 2
1ba0: 7d 20 2d 69 6e 64 65 78 20 31 33 2c 30 20 2d 73  } -index 13,0 -s
1bb0: 74 72 69 6e 67 0a 20 20 24 73 70 72 65 61 64 73  tring.  $spreads
1bc0: 68 65 65 74 20 63 65 6c 6c 20 24 73 68 65 65 74  heet cell $sheet
1bd0: 20 33 2e 31 34 31 35 20 2d 69 6e 64 65 78 20 31   3.1415 -index 1
1be0: 33 2c 31 20 2d 73 74 79 6c 65 20 24 70 65 72 63  3,1 -style $perc
1bf0: 65 6e 74 32 0a 20 20 24 73 70 72 65 61 64 73 68  ent2.  $spreadsh
1c00: 65 65 74 20 63 65 6c 6c 20 24 73 68 65 65 74 20  eet cell $sheet 
1c10: 31 30 20 2d 69 6e 64 65 78 20 31 33 2c 32 0a 20  10 -index 13,2. 
1c20: 20 24 73 70 72 65 61 64 73 68 65 65 74 20 63 65   $spreadsheet ce
1c30: 6c 6c 20 24 73 68 65 65 74 20 31 30 20 2d 69 6e  ll $sheet 10 -in
1c40: 64 65 78 20 31 33 2c 33 0a 20 20 24 73 70 72 65  dex 13,3.  $spre
1c50: 61 64 73 68 65 65 74 20 63 65 6c 6c 20 24 73 68  adsheet cell $sh
1c60: 65 65 74 20 30 2e 30 30 25 20 2d 69 6e 64 65 78  eet 0.00% -index
1c70: 20 31 33 2c 34 20 2d 73 74 72 69 6e 67 0a 0a 20   13,4 -string.. 
1c80: 20 24 73 70 72 65 61 64 73 68 65 65 74 20 63 65   $spreadsheet ce
1c90: 6c 6c 20 24 73 68 65 65 74 20 7b 42 72 75 63 68  ll $sheet {Bruch
1ca0: 20 31 7d 20 2d 69 6e 64 65 78 20 31 34 2c 30 20   1} -index 14,0 
1cb0: 2d 73 74 72 69 6e 67 0a 20 20 24 73 70 72 65 61  -string.  $sprea
1cc0: 64 73 68 65 65 74 20 63 65 6c 6c 20 24 73 68 65  dsheet cell $she
1cd0: 65 74 20 33 2e 31 34 31 35 20 2d 69 6e 64 65 78  et 3.1415 -index
1ce0: 20 31 34 2c 31 20 2d 73 74 79 6c 65 20 24 66 72   14,1 -style $fr
1cf0: 61 63 74 69 6f 6e 0a 20 20 24 73 70 72 65 61 64  action.  $spread
1d00: 73 68 65 65 74 20 63 65 6c 6c 20 24 73 68 65 65  sheet cell $shee
1d10: 74 20 31 32 20 2d 69 6e 64 65 78 20 31 34 2c 32  t 12 -index 14,2
1d20: 0a 20 20 24 73 70 72 65 61 64 73 68 65 65 74 20  .  $spreadsheet 
1d30: 63 65 6c 6c 20 24 73 68 65 65 74 20 31 32 20 2d  cell $sheet 12 -
1d40: 69 6e 64 65 78 20 31 34 2c 33 0a 20 20 24 73 70  index 14,3.  $sp
1d50: 72 65 61 64 73 68 65 65 74 20 63 65 6c 6c 20 24  readsheet cell $
1d60: 73 68 65 65 74 20 7b 23 20 3f 2f 3f 7d 20 2d 69  sheet {# ?/?} -i
1d70: 6e 64 65 78 20 31 34 2c 34 20 2d 73 74 72 69 6e  ndex 14,4 -strin
1d80: 67 0a 0a 20 20 24 73 70 72 65 61 64 73 68 65 65  g..  $spreadshee
1d90: 74 20 63 65 6c 6c 20 24 73 68 65 65 74 20 7b 42  t cell $sheet {B
1da0: 72 75 63 68 20 32 7d 20 2d 69 6e 64 65 78 20 31  ruch 2} -index 1
1db0: 35 2c 30 20 2d 73 74 72 69 6e 67 0a 20 20 24 73  5,0 -string.  $s
1dc0: 70 72 65 61 64 73 68 65 65 74 20 63 65 6c 6c 20  preadsheet cell 
1dd0: 24 73 68 65 65 74 20 33 2e 31 34 31 35 20 2d 69  $sheet 3.1415 -i
1de0: 6e 64 65 78 20 31 35 2c 31 20 2d 73 74 79 6c 65  ndex 15,1 -style
1df0: 20 24 66 72 61 63 74 69 6f 6e 32 0a 20 20 24 73   $fraction2.  $s
1e00: 70 72 65 61 64 73 68 65 65 74 20 63 65 6c 6c 20  preadsheet cell 
1e10: 24 73 68 65 65 74 20 31 33 20 2d 69 6e 64 65 78  $sheet 13 -index
1e20: 20 31 35 2c 32 0a 20 20 24 73 70 72 65 61 64 73   15,2.  $spreads
1e30: 68 65 65 74 20 63 65 6c 6c 20 24 73 68 65 65 74  heet cell $sheet
1e40: 20 31 33 20 2d 69 6e 64 65 78 20 31 35 2c 33 0a   13 -index 15,3.
1e50: 20 20 24 73 70 72 65 61 64 73 68 65 65 74 20 63    $spreadsheet c
1e60: 65 6c 6c 20 24 73 68 65 65 74 20 7b 23 20 3f 3f  ell $sheet {# ??
1e70: 2f 3f 3f 7d 20 2d 69 6e 64 65 78 20 31 35 2c 34  /??} -index 15,4
1e80: 20 2d 73 74 72 69 6e 67 0a 0a 20 20 24 73 70 72   -string..  $spr
1e90: 65 61 64 73 68 65 65 74 20 63 65 6c 6c 20 24 73  eadsheet cell $s
1ea0: 68 65 65 74 20 7b 57 69 73 73 65 6e 73 63 68 61  heet {Wissenscha
1eb0: 66 74 6c 2e 20 32 7d 20 2d 69 6e 64 65 78 20 31  ftl. 2} -index 1
1ec0: 36 2c 30 20 2d 73 74 72 69 6e 67 0a 20 20 24 73  6,0 -string.  $s
1ed0: 70 72 65 61 64 73 68 65 65 74 20 63 65 6c 6c 20  preadsheet cell 
1ee0: 24 73 68 65 65 74 20 33 2e 31 34 31 35 20 2d 69  $sheet 3.1415 -i
1ef0: 6e 64 65 78 20 31 36 2c 31 20 2d 73 74 79 6c 65  ndex 16,1 -style
1f00: 20 24 73 63 69 65 6e 74 69 66 69 63 0a 20 20 24   $scientific.  $
1f10: 73 70 72 65 61 64 73 68 65 65 74 20 63 65 6c 6c  spreadsheet cell
1f20: 20 24 73 68 65 65 74 20 31 34 20 2d 69 6e 64 65   $sheet 14 -inde
1f30: 78 20 31 36 2c 32 0a 20 20 24 73 70 72 65 61 64  x 16,2.  $spread
1f40: 73 68 65 65 74 20 63 65 6c 6c 20 24 73 68 65 65  sheet cell $shee
1f50: 74 20 31 31 20 2d 69 6e 64 65 78 20 31 36 2c 33  t 11 -index 16,3
1f60: 0a 20 20 24 73 70 72 65 61 64 73 68 65 65 74 20  .  $spreadsheet 
1f70: 63 65 6c 6c 20 24 73 68 65 65 74 20 30 2e 30 30  cell $sheet 0.00
1f80: 45 2b 30 30 20 2d 69 6e 64 65 78 20 31 36 2c 34  E+00 -index 16,4
1f90: 20 2d 73 74 72 69 6e 67 0a 0a 20 20 24 73 70 72   -string..  $spr
1fa0: 65 61 64 73 68 65 65 74 20 63 65 6c 6c 20 24 73  eadsheet cell $s
1fb0: 68 65 65 74 20 54 65 78 74 20 2d 69 6e 64 65 78  heet Text -index
1fc0: 20 31 37 2c 30 20 2d 73 74 72 69 6e 67 0a 20 20   17,0 -string.  
1fd0: 24 73 70 72 65 61 64 73 68 65 65 74 20 63 65 6c  $spreadsheet cel
1fe0: 6c 20 24 73 68 65 65 74 20 33 2c 31 34 31 35 20  l $sheet 3,1415 
1ff0: 2d 69 6e 64 65 78 20 31 37 2c 31 20 2d 73 74 72  -index 17,1 -str
2000: 69 6e 67 20 2d 73 74 79 6c 65 20 24 74 65 78 74  ing -style $text
2010: 0a 20 20 24 73 70 72 65 61 64 73 68 65 65 74 20  .  $spreadsheet 
2020: 63 65 6c 6c 20 24 73 68 65 65 74 20 31 35 20 2d  cell $sheet 15 -
2030: 69 6e 64 65 78 20 31 37 2c 32 0a 20 20 24 73 70  index 17,2.  $sp
2040: 72 65 61 64 73 68 65 65 74 20 63 65 6c 6c 20 24  readsheet cell $
2050: 73 68 65 65 74 20 34 39 20 2d 69 6e 64 65 78 20  sheet 49 -index 
2060: 31 37 2c 33 0a 20 20 24 73 70 72 65 61 64 73 68  17,3.  $spreadsh
2070: 65 65 74 20 63 65 6c 6c 20 24 73 68 65 65 74 20  eet cell $sheet 
2080: 40 20 2d 69 6e 64 65 78 20 31 37 2c 34 20 2d 73  @ -index 17,4 -s
2090: 74 72 69 6e 67 0a 0a 20 20 24 73 70 72 65 61 64  tring..  $spread
20a0: 73 68 65 65 74 20 63 65 6c 6c 20 24 73 68 65 65  sheet cell $shee
20b0: 74 20 7b 46 69 6c 74 65 72 20 41 7d 20 2d 69 6e  t {Filter A} -in
20c0: 64 65 78 20 31 39 2c 35 20 2d 73 74 72 69 6e 67  dex 19,5 -string
20d0: 20 3b 23 20 2d 73 74 79 6c 65 20 31 39 0a 20 20   ;# -style 19.  
20e0: 24 73 70 72 65 61 64 73 68 65 65 74 20 63 65 6c  $spreadsheet cel
20f0: 6c 20 24 73 68 65 65 74 20 7b 46 69 6c 74 65 72  l $sheet {Filter
2100: 20 42 7d 20 2d 69 6e 64 65 78 20 31 39 2c 36 20   B} -index 19,6 
2110: 2d 73 74 72 69 6e 67 20 3b 23 20 2d 73 74 79 6c  -string ;# -styl
2120: 65 20 31 35 0a 0a 20 20 24 73 70 72 65 61 64 73  e 15..  $spreads
2130: 68 65 65 74 20 63 65 6c 6c 20 24 73 68 65 65 74  heet cell $sheet
2140: 20 75 6e 74 65 6e 20 2d 69 6e 64 65 78 20 32 30   unten -index 20
2150: 2c 30 20 2d 73 74 72 69 6e 67 0a 20 20 24 73 70  ,0 -string.  $sp
2160: 72 65 61 64 73 68 65 65 74 20 63 65 6c 6c 20 24  readsheet cell $
2170: 73 68 65 65 74 20 7b 7d 20 2d 69 6e 64 65 78 20  sheet {} -index 
2180: 32 30 2c 31 20 2d 73 74 79 6c 65 20 24 62 42 6f  20,1 -style $bBo
2190: 74 74 6f 6d 0a 0a 20 20 24 73 70 72 65 61 64 73  ttom..  $spreads
21a0: 68 65 65 74 20 63 65 6c 6c 20 24 73 68 65 65 74  heet cell $sheet
21b0: 20 6c 69 6e 6b 73 20 2d 69 6e 64 65 78 20 32 31   links -index 21
21c0: 2c 30 20 2d 73 74 72 69 6e 67 0a 20 20 24 73 70  ,0 -string.  $sp
21d0: 72 65 61 64 73 68 65 65 74 20 63 65 6c 6c 20 24  readsheet cell $
21e0: 73 68 65 65 74 20 7b 7d 20 2d 69 6e 64 65 78 20  sheet {} -index 
21f0: 32 31 2c 31 20 2d 73 74 79 6c 65 20 24 62 4c 65  21,1 -style $bLe
2200: 66 74 0a 20 20 24 73 70 72 65 61 64 73 68 65 65  ft.  $spreadshee
2210: 74 20 63 65 6c 6c 20 24 73 68 65 65 74 20 66 65  t cell $sheet fe
2220: 74 74 20 2d 69 6e 64 65 78 20 32 31 2c 34 20 2d  tt -index 21,4 -
2230: 73 74 72 69 6e 67 20 2d 73 74 79 6c 65 20 24 62  string -style $b
2240: 6f 6c 64 0a 0a 20 20 24 73 70 72 65 61 64 73 68  old..  $spreadsh
2250: 65 65 74 20 63 65 6c 6c 20 24 73 68 65 65 74 20  eet cell $sheet 
2260: 7b 75 6e 74 65 6e 20 64 6f 70 70 65 6c 74 7d 20  {unten doppelt} 
2270: 2d 69 6e 64 65 78 20 32 32 2c 30 20 2d 73 74 72  -index 22,0 -str
2280: 69 6e 67 0a 20 20 24 73 70 72 65 61 64 73 68 65  ing.  $spreadshe
2290: 65 74 20 63 65 6c 6c 20 24 73 68 65 65 74 20 7b  et cell $sheet {
22a0: 7d 20 2d 69 6e 64 65 78 20 32 32 2c 31 20 2d 73  } -index 22,1 -s
22b0: 74 79 6c 65 20 24 62 42 6f 74 74 6f 6d 32 0a 20  tyle $bBottom2. 
22c0: 20 24 73 70 72 65 61 64 73 68 65 65 74 20 63 65   $spreadsheet ce
22d0: 6c 6c 20 24 73 68 65 65 74 20 6b 75 72 73 69 76  ll $sheet kursiv
22e0: 20 2d 69 6e 64 65 78 20 32 32 2c 34 20 2d 73 74   -index 22,4 -st
22f0: 72 69 6e 67 20 2d 73 74 79 6c 65 20 24 69 74 61  ring -style $ita
2300: 6c 69 63 0a 0a 20 20 24 73 70 72 65 61 64 73 68  lic..  $spreadsh
2310: 65 65 74 20 63 65 6c 6c 20 24 73 68 65 65 74 20  eet cell $sheet 
2320: 7b 75 6e 74 65 6e 20 6d 69 74 74 65 6c 7d 20 2d  {unten mittel} -
2330: 69 6e 64 65 78 20 32 33 2c 30 20 2d 73 74 72 69  index 23,0 -stri
2340: 6e 67 0a 20 20 24 73 70 72 65 61 64 73 68 65 65  ng.  $spreadshee
2350: 74 20 63 65 6c 6c 20 24 73 68 65 65 74 20 7b 7d  t cell $sheet {}
2360: 20 2d 69 6e 64 65 78 20 32 33 2c 31 20 2d 73 74   -index 23,1 -st
2370: 79 6c 65 20 24 62 42 6f 74 74 6f 6d 42 0a 20 20  yle $bBottomB.  
2380: 24 73 70 72 65 61 64 73 68 65 65 74 20 63 65 6c  $spreadsheet cel
2390: 6c 20 24 73 68 65 65 74 20 75 6e 74 65 72 73 74  l $sheet unterst
23a0: 72 69 63 68 65 6e 20 2d 69 6e 64 65 78 20 32 33  richen -index 23
23b0: 2c 34 20 2d 73 74 72 69 6e 67 20 2d 73 74 79 6c  ,4 -string -styl
23c0: 65 20 24 75 6e 64 65 72 6c 69 6e 65 0a 0a 20 20  e $underline..  
23d0: 24 73 70 72 65 61 64 73 68 65 65 74 20 63 65 6c  $spreadsheet cel
23e0: 6c 20 24 73 68 65 65 74 20 7b 64 69 61 67 6f 6e  l $sheet {diagon
23f0: 61 6c 20 6d 69 74 74 65 6c 7d 20 2d 69 6e 64 65  al mittel} -inde
2400: 78 20 32 34 2c 30 20 2d 73 74 72 69 6e 67 0a 20  x 24,0 -string. 
2410: 20 24 73 70 72 65 61 64 73 68 65 65 74 20 63 65   $spreadsheet ce
2420: 6c 6c 20 24 73 68 65 65 74 20 7b 7d 20 2d 69 6e  ll $sheet {} -in
2430: 64 65 78 20 32 34 2c 31 20 2d 73 74 79 6c 65 20  dex 24,1 -style 
2440: 24 62 44 69 61 67 6f 6e 61 6c 0a 0a 20 20 24 73  $bDiagonal..  $s
2450: 70 72 65 61 64 73 68 65 65 74 20 63 65 6c 6c 20  preadsheet cell 
2460: 24 73 68 65 65 74 20 7b 75 6e 74 65 6e 20 67 65  $sheet {unten ge
2470: 73 74 72 69 63 68 65 6c 74 7d 20 2d 69 6e 64 65  strichelt} -inde
2480: 78 20 32 35 2c 30 20 2d 73 74 72 69 6e 67 0a 20  x 25,0 -string. 
2490: 20 24 73 70 72 65 61 64 73 68 65 65 74 20 63 65   $spreadsheet ce
24a0: 6c 6c 20 24 73 68 65 65 74 20 7b 7d 20 2d 69 6e  ll $sheet {} -in
24b0: 64 65 78 20 32 35 2c 31 20 2d 73 74 79 6c 65 20  dex 25,1 -style 
24c0: 24 62 42 6f 74 74 6f 6d 44 0a 0a 20 20 24 73 70  $bBottomD..  $sp
24d0: 72 65 61 64 73 68 65 65 74 20 63 65 6c 6c 20 24  readsheet cell $
24e0: 73 68 65 65 74 20 7b 76 6f 72 6e 65 20 72 6f 74  sheet {vorne rot
24f0: 7d 20 2d 69 6e 64 65 78 20 32 37 2c 30 20 2d 73  } -index 27,0 -s
2500: 74 72 69 6e 67 0a 20 20 24 73 70 72 65 61 64 73  tring.  $spreads
2510: 68 65 65 74 20 63 65 6c 6c 20 24 73 68 65 65 74  heet cell $sheet
2520: 20 72 6f 74 20 2d 69 6e 64 65 78 20 32 37 2c 31   rot -index 27,1
2530: 20 2d 73 74 72 69 6e 67 20 2d 73 74 79 6c 65 20   -string -style 
2540: 24 72 65 64 0a 0a 20 20 24 73 70 72 65 61 64 73  $red..  $spreads
2550: 68 65 65 74 20 63 65 6c 6c 20 24 73 68 65 65 74  heet cell $sheet
2560: 20 7b 68 69 6e 74 65 6e 20 67 65 6c 62 7d 20 2d   {hinten gelb} -
2570: 69 6e 64 65 78 20 32 38 2c 30 20 2d 73 74 72 69  index 28,0 -stri
2580: 6e 67 0a 20 20 24 73 70 72 65 61 64 73 68 65 65  ng.  $spreadshee
2590: 74 20 63 65 6c 6c 20 24 73 68 65 65 74 20 67 65  t cell $sheet ge
25a0: 6c 62 20 2d 69 6e 64 65 78 20 32 38 2c 31 20 2d  lb -index 28,1 -
25b0: 73 74 72 69 6e 67 20 2d 73 74 79 6c 65 20 24 79  string -style $y
25c0: 65 6c 6c 6f 77 0a 0a 20 20 24 73 70 72 65 61 64  ellow..  $spread
25d0: 73 68 65 65 74 20 63 65 6c 6c 20 24 73 68 65 65  sheet cell $shee
25e0: 74 20 6c 69 6e 6b 73 20 2d 69 6e 64 65 78 20 33  t links -index 3
25f0: 30 2c 30 20 2d 73 74 72 69 6e 67 0a 20 20 24 73  0,0 -string.  $s
2600: 70 72 65 61 64 73 68 65 65 74 20 63 65 6c 6c 20  preadsheet cell 
2610: 24 73 68 65 65 74 20 6c 69 6e 6b 73 20 2d 69 6e  $sheet links -in
2620: 64 65 78 20 33 30 2c 31 20 2d 73 74 72 69 6e 67  dex 30,1 -string
2630: 20 2d 73 74 79 6c 65 20 24 6c 65 66 74 0a 0a 20   -style $left.. 
2640: 20 24 73 70 72 65 61 64 73 68 65 65 74 20 63 65   $spreadsheet ce
2650: 6c 6c 20 24 73 68 65 65 74 20 6d 69 74 74 65 20  ll $sheet mitte 
2660: 2d 69 6e 64 65 78 20 33 31 2c 30 20 2d 73 74 72  -index 31,0 -str
2670: 69 6e 67 0a 20 20 24 73 70 72 65 61 64 73 68 65  ing.  $spreadshe
2680: 65 74 20 63 65 6c 6c 20 24 73 68 65 65 74 20 6d  et cell $sheet m
2690: 69 74 74 65 20 2d 69 6e 64 65 78 20 33 31 2c 31  itte -index 31,1
26a0: 20 2d 73 74 72 69 6e 67 20 2d 73 74 79 6c 65 20   -string -style 
26b0: 24 63 65 6e 74 65 72 0a 0a 20 20 24 73 70 72 65  $center..  $spre
26c0: 61 64 73 68 65 65 74 20 63 65 6c 6c 20 24 73 68  adsheet cell $sh
26d0: 65 65 74 20 72 65 63 68 74 73 20 2d 69 6e 64 65  eet rechts -inde
26e0: 78 20 33 32 2c 30 20 2d 73 74 72 69 6e 67 0a 20  x 32,0 -string. 
26f0: 20 24 73 70 72 65 61 64 73 68 65 65 74 20 63 65   $spreadsheet ce
2700: 6c 6c 20 24 73 68 65 65 74 20 72 65 63 68 74 73  ll $sheet rechts
2710: 20 2d 69 6e 64 65 78 20 33 32 2c 31 20 2d 73 74   -index 32,1 -st
2720: 72 69 6e 67 20 2d 73 74 79 6c 65 20 24 72 69 67  ring -style $rig
2730: 68 74 0a 0a 20 20 24 73 70 72 65 61 64 73 68 65  ht..  $spreadshe
2740: 65 74 20 63 65 6c 6c 20 24 73 68 65 65 74 20 6f  et cell $sheet o
2750: 62 65 6e 20 2d 69 6e 64 65 78 20 33 33 2c 30 20  ben -index 33,0 
2760: 2d 73 74 72 69 6e 67 0a 20 20 24 73 70 72 65 61  -string.  $sprea
2770: 64 73 68 65 65 74 20 63 65 6c 6c 20 24 73 68 65  dsheet cell $she
2780: 65 74 20 6f 62 65 6e 20 2d 69 6e 64 65 78 20 33  et oben -index 3
2790: 33 2c 31 20 2d 73 74 72 69 6e 67 20 2d 73 74 79  3,1 -string -sty
27a0: 6c 65 20 24 74 6f 70 0a 0a 20 20 24 73 70 72 65  le $top..  $spre
27b0: 61 64 73 68 65 65 74 20 63 65 6c 6c 20 24 73 68  adsheet cell $sh
27c0: 65 65 74 20 6d 69 74 74 65 20 2d 69 6e 64 65 78  eet mitte -index
27d0: 20 33 34 2c 30 20 2d 73 74 72 69 6e 67 0a 20 20   34,0 -string.  
27e0: 24 73 70 72 65 61 64 73 68 65 65 74 20 63 65 6c  $spreadsheet cel
27f0: 6c 20 24 73 68 65 65 74 20 6d 69 74 74 65 20 2d  l $sheet mitte -
2800: 69 6e 64 65 78 20 33 34 2c 31 20 2d 73 74 72 69  index 34,1 -stri
2810: 6e 67 20 2d 73 74 79 6c 65 20 24 76 63 65 6e 74  ng -style $vcent
2820: 65 72 0a 20 20 24 73 70 72 65 61 64 73 68 65 65  er.  $spreadshee
2830: 74 20 63 65 6c 6c 20 24 73 68 65 65 74 20 7b 43  t cell $sheet {C
2840: 61 6c 69 62 72 69 20 39 7d 20 2d 69 6e 64 65 78  alibri 9} -index
2850: 20 33 34 2c 34 20 2d 73 74 72 69 6e 67 20 2d 73   34,4 -string -s
2860: 74 79 6c 65 20 24 66 6f 6e 74 39 0a 0a 20 20 24  tyle $font9..  $
2870: 73 70 72 65 61 64 73 68 65 65 74 20 63 65 6c 6c  spreadsheet cell
2880: 20 24 73 68 65 65 74 20 75 6e 74 65 6e 20 2d 69   $sheet unten -i
2890: 6e 64 65 78 20 33 35 2c 30 20 2d 73 74 72 69 6e  ndex 35,0 -strin
28a0: 67 0a 20 20 24 73 70 72 65 61 64 73 68 65 65 74  g.  $spreadsheet
28b0: 20 63 65 6c 6c 20 24 73 68 65 65 74 20 75 6e 74   cell $sheet unt
28c0: 65 6e 20 2d 69 6e 64 65 78 20 33 35 2c 31 20 2d  en -index 35,1 -
28d0: 73 74 72 69 6e 67 20 2d 73 74 79 6c 65 20 24 62  string -style $b
28e0: 6f 74 74 6f 6d 0a 0a 20 20 24 73 70 72 65 61 64  ottom..  $spread
28f0: 73 68 65 65 74 20 63 65 6c 6c 20 24 73 68 65 65  sheet cell $shee
2900: 74 20 7b 54 65 78 74 20 39 30 7d 20 2d 69 6e 64  t {Text 90} -ind
2910: 65 78 20 33 38 2c 30 20 2d 73 74 72 69 6e 67 20  ex 38,0 -string 
2920: 2d 73 74 79 6c 65 20 24 72 6f 74 61 74 65 39 30  -style $rotate90
2930: 0a 20 20 24 73 70 72 65 61 64 73 68 65 65 74 20  .  $spreadsheet 
2940: 63 65 6c 6c 20 24 73 68 65 65 74 20 7b 54 65 78  cell $sheet {Tex
2950: 74 20 34 35 7d 20 2d 69 6e 64 65 78 20 33 38 2c  t 45} -index 38,
2960: 31 20 2d 73 74 72 69 6e 67 20 2d 73 74 79 6c 65  1 -string -style
2970: 20 24 72 6f 74 61 74 65 34 35 0a 20 20 24 73 70   $rotate45.  $sp
2980: 72 65 61 64 73 68 65 65 74 20 63 65 6c 6c 20 24  readsheet cell $
2990: 73 68 65 65 74 20 7b 43 61 6c 69 62 72 69 20 31  sheet {Calibri 1
29a0: 38 7d 20 2d 69 6e 64 65 78 20 33 38 2c 34 20 2d  8} -index 38,4 -
29b0: 73 74 72 69 6e 67 20 2d 73 74 79 6c 65 20 24 66  string -style $f
29c0: 6f 6e 74 31 38 0a 0a 20 20 24 73 70 72 65 61 64  ont18..  $spread
29d0: 73 68 65 65 74 20 63 65 6c 6c 20 24 73 68 65 65  sheet cell $shee
29e0: 74 20 7b 31 32 20 5a 65 6c 6c 65 6e 7d 20 2d 69  t {12 Zellen} -i
29f0: 6e 64 65 78 20 33 39 2c 33 20 2d 73 74 72 69 6e  ndex 39,3 -strin
2a00: 67 20 2d 73 74 79 6c 65 20 24 68 76 63 65 6e 74  g -style $hvcent
2a10: 65 72 0a 0a 20 20 24 73 70 72 65 61 64 73 68 65  er..  $spreadshe
2a20: 65 74 20 63 65 6c 6c 20 24 73 68 65 65 74 20 7b  et cell $sheet {
2a30: 33 20 53 70 61 6c 74 65 6e 7d 20 2d 69 6e 64 65  3 Spalten} -inde
2a40: 78 20 34 30 2c 30 20 2d 73 74 72 69 6e 67 0a 20  x 40,0 -string. 
2a50: 20 24 73 70 72 65 61 64 73 68 65 65 74 20 63 65   $spreadsheet ce
2a60: 6c 6c 20 24 73 68 65 65 74 20 7b 33 20 5a 65 69  ll $sheet {3 Zei
2a70: 6c 65 6e 7d 20 2d 69 6e 64 65 78 20 34 31 2c 31  len} -index 41,1
2a80: 20 2d 73 74 72 69 6e 67 0a 0a 20 20 24 73 70 72   -string..  $spr
2a90: 65 61 64 73 68 65 65 74 20 66 72 65 65 7a 65 20  eadsheet freeze 
2aa0: 24 73 68 65 65 74 20 32 30 2c 35 0a 0a 20 20 24  $sheet 20,5..  $
2ab0: 73 70 72 65 61 64 73 68 65 65 74 20 61 75 74 6f  spreadsheet auto
2ac0: 66 69 6c 74 65 72 20 24 73 68 65 65 74 20 31 39  filter $sheet 19
2ad0: 2c 35 20 31 39 2c 36 0a 0a 20 20 24 73 70 72 65  ,5 19,6..  $spre
2ae0: 61 64 73 68 65 65 74 20 72 6f 77 68 65 69 67 68  adsheet rowheigh
2af0: 74 20 24 73 68 65 65 74 20 33 33 20 32 30 0a 20  t $sheet 33 20. 
2b00: 20 24 73 70 72 65 61 64 73 68 65 65 74 20 72 6f   $spreadsheet ro
2b10: 77 68 65 69 67 68 74 20 24 73 68 65 65 74 20 33  wheight $sheet 3
2b20: 34 20 32 30 0a 20 20 24 73 70 72 65 61 64 73 68  4 20.  $spreadsh
2b30: 65 65 74 20 72 6f 77 68 65 69 67 68 74 20 24 73  eet rowheight $s
2b40: 68 65 65 74 20 33 35 20 32 30 0a 0a 20 20 24 73  heet 35 20..  $s
2b50: 70 72 65 61 64 73 68 65 65 74 20 6d 65 72 67 65  preadsheet merge
2b60: 20 24 73 68 65 65 74 20 34 30 2c 30 20 34 30 2c   $sheet 40,0 40,
2b70: 32 0a 20 20 24 73 70 72 65 61 64 73 68 65 65 74  2.  $spreadsheet
2b80: 20 6d 65 72 67 65 20 24 73 68 65 65 74 20 34 31   merge $sheet 41
2b90: 2c 31 20 34 33 2c 31 0a 20 20 24 73 70 72 65 61  ,1 43,1.  $sprea
2ba0: 64 73 68 65 65 74 20 6d 65 72 67 65 20 24 73 68  dsheet merge $sh
2bb0: 65 65 74 20 33 39 2c 33 20 34 32 2c 35 0a 0a 20  eet 39,3 42,5.. 
2bc0: 20 24 73 70 72 65 61 64 73 68 65 65 74 20 77 72   $spreadsheet wr
2bd0: 69 74 65 20 65 78 70 6f 72 74 36 2e 78 6c 73 78  ite export6.xlsx
2be0: 0a 7d 0a 24 73 70 72 65 61 64 73 68 65 65 74 20  .}.$spreadsheet 
2bf0: 64 65 73 74 72 6f 79 0a                          destroy.